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

void urh_from_fdset(MHD_UpgradeResponseHandle *urh,fd_set *rs,fd_set *ws,fd_set *es)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  int in_t9;
  code *pcVar6;
  
  uVar3 = (urh->mhd).socket;
  uVar5 = urh->connection->socket_fd;
  (urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);
  (urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);
  if (uVar5 != 0xffffffff) {
    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);
    if ((int)uVar5 < 0) {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & rs->fds_bits[iVar1];
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    else {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & rs->fds_bits[iVar1];
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    if (uVar2 != 0) {
      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    iVar1 = (*pcVar6)(uVar5);
    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {
      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;
    }
    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);
    if ((uVar4 & es->fds_bits[iVar1]) != 0) {
      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;
    }
  }
  if (uVar3 != 0xffffffff) {
    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);
    if ((int)uVar3 < 0) {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & rs->fds_bits[iVar1];
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    else {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & rs->fds_bits[iVar1];
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    if (uVar4 != 0) {
      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;
      pcVar6 = *(code **)(in_t9 + 0x26e8c);
    }
    iVar1 = (*pcVar6)(uVar3);
    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {
      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;
    }
    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);
    if ((uVar5 & es->fds_bits[iVar1]) != 0) {
      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;
    }
  }
  return;
}



void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  
  uVar3 = param_1[0x10];
  uVar5 = *(uint *)(*param_1 + 0xa4);
  param_1[0xe] = param_1[0xe] & 0xfffffffc;
  param_1[0x11] = param_1[0x11] & 0xfffffffc;
  if (uVar5 != 0xffffffff) {
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((int)uVar5 < 0) {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);
    }
    else {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);
    }
    if (uVar2 != 0) {
      param_1[0xe] = param_1[0xe] | 1;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {
      param_1[0xe] = param_1[0xe] | 2;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {
      param_1[0xe] = param_1[0xe] | 0x80;
    }
  }
  if (uVar3 != 0xffffffff) {
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((int)uVar3 < 0) {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);
    }
    else {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);
    }
    if (uVar4 != 0) {
      param_1[0x11] = param_1[0x11] | 1;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {
      param_1[0x11] = param_1[0x11] | 2;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {
      param_1[0x11] = param_1[0x11] | 0x80;
    }
  }
  return;
}


lui gp,0x3
addiu gp,gp,-0x13f0
addu gp,gp,t9
addiu sp,sp,-0x38
li t0,-0x1
sw s0,0x18(sp)
or s0,a0,zero
sw s4,0x28(sp)
li a0,-0x4
sw s3,0x24(sp)
or s4,a2,zero
sw s2,0x20(sp)
or s3,a1,zero
sw gp,0x10(sp)
or s2,a3,zero
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s1,0x1c(sp)
lw t1,0x0(s0)
lw v1,0x38(s0)
lw v0,0x44(s0)
lw s1,0x40(s0)
lw s6,0xa4(t1)
and v1,v1,a0
and v0,v0,a0
sw v1,0x38(s0)
beq s6,t0,0x00018540
_sw v0,0x44(s0)
lw t9,-0x7d84(gp)
jalr t9
_or a0,s6,zero
lui v1,0x8000
addiu v1,v1,0x1f
and v1,s6,v1
bltz v1,0x00018654
_lw gp,0x10(sp)
sll v0,v0,0x2
li s5,0x1
addu v0,s3,v0
sllv s5,s5,v1
lw v0,0x0(v0)
and v0,s5,v0
beq v0,zero,0x000184e4
_lw t9,-0x7d84(gp)
lw v0,0x38(s0)
ori v0,v0,0x1
sw v0,0x38(s0)
lw t9,-0x7d84(gp)
jalr t9
_or a0,s6,zero
sll v0,v0,0x2
addu v0,s4,v0
lw v0,0x0(v0)
and v0,s5,v0
beq v0,zero,0x00018510
_lw gp,0x10(sp)
lw v0,0x38(s0)
ori v0,v0,0x2
sw v0,0x38(s0)
lw t9,-0x7d84(gp)
jalr t9
_or a0,s6,zero
sll v0,v0,0x2
addu v0,s2,v0
lw v1,0x0(v0)
and v1,s5,v1
beq v1,zero,0x00018540
_lw gp,0x10(sp)
lw v0,0x38(s0)
ori v0,v0,0x80
sw v0,0x38(s0)
li v0,-0x1
beq s1,v0,0x000185f4
_lw t9,-0x7d84(gp)
jalr t9
_or a0,s1,zero
lui v1,0x8000
addiu v1,v1,0x1f
and v1,s1,v1
bltz v1,0x0001861c
_lw gp,0x10(sp)
sll v0,v0,0x2
li s5,0x1
addu s3,s3,v0
sllv s5,s5,v1
lw v0,0x0(s3)
and v0,s5,v0
beq v0,zero,0x00018598
_lw t9,-0x7d84(gp)
lw v0,0x44(s0)
ori v0,v0,0x1
sw v0,0x44(s0)
lw t9,-0x7d84(gp)
jalr t9
_or a0,s1,zero
sll v0,v0,0x2
addu s4,s4,v0
lw v0,0x0(s4)
and v0,s5,v0
beq v0,zero,0x000185c4
_lw gp,0x10(sp)
lw v0,0x44(s0)
ori v0,v0,0x2
sw v0,0x44(s0)
lw t9,-0x7d84(gp)
jalr t9
_or a0,s1,zero
sll v0,v0,0x2
addu s2,s2,v0
lw v1,0x0(s2)
and v1,s5,v1
beq v1,zero,0x000185f8
_lw ra,0x34(sp)
lw v0,0x44(s0)
ori v0,v0,0x80
sw v0,0x44(s0)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
sll v0,v0,0x2
addiu v1,v1,-0x1
li a0,-0x20
addu s3,s3,v0
or v1,v1,a0
addiu v1,v1,0x1
li s5,0x1
lw v0,0x0(s3)
sllv s5,s5,v1
and v0,s5,v0
bne v0,zero,0x00018588
_lw t9,-0x7d84(gp)
b 0x00018598
_nop
sll v0,v0,0x2
addiu v1,v1,-0x1
li a0,-0x20
addu v0,s3,v0
or v1,v1,a0
addiu v1,v1,0x1
li s5,0x1
lw v0,0x0(v0)
sllv s5,s5,v1
and v0,s5,v0
bne v0,zero,0x000184d4
_lw t9,-0x7d84(gp)
b 0x000184e4
_nop
(translation_unit "void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018420(int *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar3 = param_1[0x10];" (assignment_expression "uVar3 = param_1[0x10]" identifier = (subscript_expression "param_1[0x10]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = *(uint *)(*param_1 + 0xa4);" (assignment_expression "uVar5 = *(uint *)(*param_1 + 0xa4)" identifier = (pointer_expression "*(uint *)(*param_1 + 0xa4)" * (cast_expression "(uint *)(*param_1 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xa4)" ( (binary_expression "*param_1 + 0xa4" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "param_1[0xe] = param_1[0xe] & 0xfffffffc;" (assignment_expression "param_1[0xe] = param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "param_1[0x11] = param_1[0x11] & 0xfffffffc;" (assignment_expression "param_1[0x11] = param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) & number_literal)) ;) (if_statement "if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }) (else_clause "else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" else (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }))) (if_statement "if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 1;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 1;" (assignment_expression "param_1[0xe] = param_1[0xe] | 1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }" if (parenthesized_expression "((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4))" ( (binary_expression "uVar4 & *(uint *)(param_3 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" * (cast_expression "(uint *)(param_3 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1 * 4)" ( (binary_expression "param_3 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 2;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 2;" (assignment_expression "param_1[0xe] = param_1[0xe] | 2" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 2" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" if (parenthesized_expression "((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4))" ( (binary_expression "uVar4 & *(uint *)(param_4 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" * (cast_expression "(uint *)(param_4 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar1 * 4)" ( (binary_expression "param_4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 0x80;" (assignment_expression "param_1[0xe] = param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) })) (if_statement "if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }) (else_clause "else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" else (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }))) (if_statement "if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 1;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 1;" (assignment_expression "param_1[0x11] = param_1[0x11] | 1" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 1" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }" if (parenthesized_expression "((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4))" ( (binary_expression "uVar5 & *(uint *)(param_3 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" * (cast_expression "(uint *)(param_3 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1 * 4)" ( (binary_expression "param_3 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 2;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 2;" (assignment_expression "param_1[0x11] = param_1[0x11] | 2" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 2" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" if (parenthesized_expression "((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4))" ( (binary_expression "uVar5 & *(uint *)(param_4 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" * (cast_expression "(uint *)(param_4 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar1 * 4)" ( (binary_expression "param_4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 0x80;" (assignment_expression "param_1[0x11] = param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */\n/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */\n\nvoid urh_from_fdset(MHD_UpgradeResponseHandle *urh,fd_set *rs,fd_set *ws,fd_set *es)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  uVar3 = (urh->mhd).socket;\n  uVar5 = urh->connection->socket_fd;\n  (urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  (urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar5);\n    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar3);\n    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void urh_from_fdset(MHD_UpgradeResponseHandle *urh,fd_set *rs,fd_set *ws,fd_set *es)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  uVar3 = (urh->mhd).socket;\n  uVar5 = urh->connection->socket_fd;\n  (urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  (urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar5);\n    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar3);\n    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "urh_from_fdset(MHD_UpgradeResponseHandle *urh,fd_set *rs,fd_set *ws,fd_set *es)" identifier (parameter_list "(MHD_UpgradeResponseHandle *urh,fd_set *rs,fd_set *ws,fd_set *es)" ( (parameter_declaration "MHD_UpgradeResponseHandle *urh" type_identifier (pointer_declarator "*urh" * identifier)) , (parameter_declaration "fd_set *rs" type_identifier (pointer_declarator "*rs" * identifier)) , (parameter_declaration "fd_set *ws" type_identifier (pointer_declarator "*ws" * identifier)) , (parameter_declaration "fd_set *es" type_identifier (pointer_declarator "*es" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int in_t9;\n  code *pcVar6;\n  \n  uVar3 = (urh->mhd).socket;\n  uVar5 = urh->connection->socket_fd;\n  (urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  (urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar5);\n    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar3);\n    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "uVar3 = (urh->mhd).socket;" (assignment_expression "uVar3 = (urh->mhd).socket" identifier = (field_expression "(urh->mhd).socket" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar5 = urh->connection->socket_fd;" (assignment_expression "uVar5 = urh->connection->socket_fd" identifier = (field_expression "urh->connection->socket_fd" (field_expression "urh->connection" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "(urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);" (assignment_expression "(urh->app).celi = (urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->app).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) & (unary_expression "~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" ~ (parenthesized_expression "(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" ( (binary_expression "MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY" identifier | identifier) ))))) ;) (expression_statement "(urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY);" (assignment_expression "(urh->mhd).celi = (urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->mhd).celi & ~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) & (unary_expression "~(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" ~ (parenthesized_expression "(MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY)" ( (binary_expression "MHD_EPOLL_STATE_WRITE_READY|MHD_EPOLL_STATE_READ_READY" identifier | identifier) ))))) ;) (if_statement "if (uVar5 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar5);\n    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar5);\n    if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);\n    if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5)" identifier = (call_expression "(**(code **)(in_t9 + 0x26e8c))(uVar5)" (parenthesized_expression "(**(code **)(in_t9 + 0x26e8c))" ( (pointer_expression "**(code **)(in_t9 + 0x26e8c)" * (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & rs->fds_bits[iVar1];" (assignment_expression "uVar2 = uVar4 & rs->fds_bits[iVar1]" identifier = (binary_expression "uVar4 & rs->fds_bits[iVar1]" identifier & (subscript_expression "rs->fds_bits[iVar1]" (field_expression "rs->fds_bits" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" else (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & rs->fds_bits[iVar1];" (assignment_expression "uVar2 = uVar4 & rs->fds_bits[iVar1]" identifier = (binary_expression "uVar4 & rs->fds_bits[iVar1]" identifier & (subscript_expression "rs->fds_bits[iVar1]" (field_expression "rs->fds_bits" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar2 != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY;" (assignment_expression "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_READ_READY" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->app).celi | MHD_EPOLL_STATE_READ_READY" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (*pcVar6)(uVar5);" (assignment_expression "iVar1 = (*pcVar6)(uVar5)" identifier = (call_expression "(*pcVar6)(uVar5)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & ws->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }" if (parenthesized_expression "((uVar4 & ws->fds_bits[iVar1]) != 0)" ( (binary_expression "(uVar4 & ws->fds_bits[iVar1]) != 0" (parenthesized_expression "(uVar4 & ws->fds_bits[iVar1])" ( (binary_expression "uVar4 & ws->fds_bits[iVar1]" identifier & (subscript_expression "ws->fds_bits[iVar1]" (field_expression "ws->fds_bits" identifier -> field_identifier) [ identifier ])) )) != number_literal) )) (compound_statement "{\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }" { (expression_statement "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY;" (assignment_expression "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_WRITE_READY" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->app).celi | MHD_EPOLL_STATE_WRITE_READY" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar5)" identifier = (call_expression "(**(code **)(in_t9 + 0x26e8c))(uVar5)" (parenthesized_expression "(**(code **)(in_t9 + 0x26e8c))" ( (pointer_expression "**(code **)(in_t9 + 0x26e8c)" * (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & es->fds_bits[iVar1]) != 0) {\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }" if (parenthesized_expression "((uVar4 & es->fds_bits[iVar1]) != 0)" ( (binary_expression "(uVar4 & es->fds_bits[iVar1]) != 0" (parenthesized_expression "(uVar4 & es->fds_bits[iVar1])" ( (binary_expression "uVar4 & es->fds_bits[iVar1]" identifier & (subscript_expression "es->fds_bits[iVar1]" (field_expression "es->fds_bits" identifier -> field_identifier) [ identifier ])) )) != number_literal) )) (compound_statement "{\n      (urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;\n    }" { (expression_statement "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR;" (assignment_expression "(urh->app).celi = (urh->app).celi | MHD_EPOLL_STATE_ERROR" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->app).celi | MHD_EPOLL_STATE_ERROR" (field_expression "(urh->app).celi" (parenthesized_expression "(urh->app)" ( (field_expression "urh->app" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) })) })) (if_statement "if (uVar3 != 0xffffffff) {\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar3);\n    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    iVar1 = (*pcVar6)(uVar3);\n    if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }\n    iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);\n    if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3)" identifier = (call_expression "(**(code **)(in_t9 + 0x26e8c))(uVar3)" (parenthesized_expression "(**(code **)(in_t9 + 0x26e8c))" ( (pointer_expression "**(code **)(in_t9 + 0x26e8c)" * (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & rs->fds_bits[iVar1];" (assignment_expression "uVar4 = uVar5 & rs->fds_bits[iVar1]" identifier = (binary_expression "uVar5 & rs->fds_bits[iVar1]" identifier & (subscript_expression "rs->fds_bits[iVar1]" (field_expression "rs->fds_bits" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" else (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & rs->fds_bits[iVar1];\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & rs->fds_bits[iVar1];" (assignment_expression "uVar4 = uVar5 & rs->fds_bits[iVar1]" identifier = (binary_expression "uVar5 & rs->fds_bits[iVar1]" identifier & (subscript_expression "rs->fds_bits[iVar1]" (field_expression "rs->fds_bits" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar4 != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;\n      pcVar6 = *(code **)(in_t9 + 0x26e8c);\n    }" { (expression_statement "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY;" (assignment_expression "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_READ_READY" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->mhd).celi | MHD_EPOLL_STATE_READ_READY" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) (expression_statement "pcVar6 = *(code **)(in_t9 + 0x26e8c);" (assignment_expression "pcVar6 = *(code **)(in_t9 + 0x26e8c)" identifier = (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (*pcVar6)(uVar3);" (assignment_expression "iVar1 = (*pcVar6)(uVar3)" identifier = (call_expression "(*pcVar6)(uVar3)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & ws->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }" if (parenthesized_expression "((uVar5 & ws->fds_bits[iVar1]) != 0)" ( (binary_expression "(uVar5 & ws->fds_bits[iVar1]) != 0" (parenthesized_expression "(uVar5 & ws->fds_bits[iVar1])" ( (binary_expression "uVar5 & ws->fds_bits[iVar1]" identifier & (subscript_expression "ws->fds_bits[iVar1]" (field_expression "ws->fds_bits" identifier -> field_identifier) [ identifier ])) )) != number_literal) )) (compound_statement "{\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;\n    }" { (expression_statement "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY;" (assignment_expression "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->mhd).celi | MHD_EPOLL_STATE_WRITE_READY" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x26e8c))(uVar3)" identifier = (call_expression "(**(code **)(in_t9 + 0x26e8c))(uVar3)" (parenthesized_expression "(**(code **)(in_t9 + 0x26e8c))" ( (pointer_expression "**(code **)(in_t9 + 0x26e8c)" * (pointer_expression "*(code **)(in_t9 + 0x26e8c)" * (cast_expression "(code **)(in_t9 + 0x26e8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x26e8c)" ( (binary_expression "in_t9 + 0x26e8c" identifier + number_literal) ))))) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & es->fds_bits[iVar1]) != 0) {\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }" if (parenthesized_expression "((uVar5 & es->fds_bits[iVar1]) != 0)" ( (binary_expression "(uVar5 & es->fds_bits[iVar1]) != 0" (parenthesized_expression "(uVar5 & es->fds_bits[iVar1])" ( (binary_expression "uVar5 & es->fds_bits[iVar1]" identifier & (subscript_expression "es->fds_bits[iVar1]" (field_expression "es->fds_bits" identifier -> field_identifier) [ identifier ])) )) != number_literal) )) (compound_statement "{\n      (urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;\n    }" { (expression_statement "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR;" (assignment_expression "(urh->mhd).celi = (urh->mhd).celi | MHD_EPOLL_STATE_ERROR" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(urh->mhd).celi | MHD_EPOLL_STATE_ERROR" (field_expression "(urh->mhd).celi" (parenthesized_expression "(urh->mhd)" ( (field_expression "urh->mhd" identifier -> field_identifier) )) . field_identifier) | identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018420(int *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar3 = param_1[0x10];" (assignment_expression "uVar3 = param_1[0x10]" identifier = (subscript_expression "param_1[0x10]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = *(uint *)(*param_1 + 0xa4);" (assignment_expression "uVar5 = *(uint *)(*param_1 + 0xa4)" identifier = (pointer_expression "*(uint *)(*param_1 + 0xa4)" * (cast_expression "(uint *)(*param_1 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xa4)" ( (binary_expression "*param_1 + 0xa4" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "param_1[0xe] = param_1[0xe] & 0xfffffffc;" (assignment_expression "param_1[0xe] = param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "param_1[0x11] = param_1[0x11] & 0xfffffffc;" (assignment_expression "param_1[0x11] = param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) & number_literal)) ;) (if_statement "if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }) (else_clause "else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" else (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" identifier = (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }))) (if_statement "if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 1;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 1;" (assignment_expression "param_1[0xe] = param_1[0xe] | 1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }" if (parenthesized_expression "((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4))" ( (binary_expression "uVar4 & *(uint *)(param_3 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" * (cast_expression "(uint *)(param_3 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1 * 4)" ( (binary_expression "param_3 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 2;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 2;" (assignment_expression "param_1[0xe] = param_1[0xe] | 2" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 2" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" if (parenthesized_expression "((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4))" ( (binary_expression "uVar4 & *(uint *)(param_4 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" * (cast_expression "(uint *)(param_4 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar1 * 4)" ( (binary_expression "param_4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" { (expression_statement "param_1[0xe] = param_1[0xe] | 0x80;" (assignment_expression "param_1[0xe] = param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = (binary_expression "param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) | number_literal)) ;) })) })) (if_statement "if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }) (else_clause "else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" else (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" { (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" identifier = (binary_expression "1 << (uVar3 & 0x1f)" number_literal << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier = (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" * (cast_expression "(uint *)(param_2 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 4)" ( (binary_expression "param_2 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))))) ;) }))) (if_statement "if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 1;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 1;" (assignment_expression "param_1[0x11] = param_1[0x11] | 1" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 1" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }" if (parenthesized_expression "((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4))" ( (binary_expression "uVar5 & *(uint *)(param_3 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" * (cast_expression "(uint *)(param_3 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1 * 4)" ( (binary_expression "param_3 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 2;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 2;" (assignment_expression "param_1[0x11] = param_1[0x11] | 2" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 2" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" identifier = (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" ( (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" * (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar3)" ( identifier )))) ;) (if_statement "if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" if (parenthesized_expression "((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0)" ( (binary_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4))" ( (binary_expression "uVar5 & *(uint *)(param_4 + iVar1 * 4)" identifier & (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" * (cast_expression "(uint *)(param_4 + iVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar1 * 4)" ( (binary_expression "param_4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) )) != number_literal) )) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" { (expression_statement "param_1[0x11] = param_1[0x11] | 0x80;" (assignment_expression "param_1[0x11] = param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) | number_literal)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) & 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00018420(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00018420(int *param_1,int param_2,int param_3,int param_4)" (identifier "FUN_00018420") (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar3 = param_1[0x10];\n  uVar5 = *(uint *)(*param_1 + 0xa4);\n  param_1[0xe] = param_1[0xe] & 0xfffffffc;\n  param_1[0x11] = param_1[0x11] & 0xfffffffc;\n  if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }\n  if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "uVar3 = param_1[0x10];" (assignment_expression "uVar3 = param_1[0x10]" (identifier "uVar3") (= "=") (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]"))) (; ";")) (expression_statement "uVar5 = *(uint *)(*param_1 + 0xa4);" (assignment_expression "uVar5 = *(uint *)(*param_1 + 0xa4)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(*param_1 + 0xa4)" (* "*") (cast_expression "(uint *)(*param_1 + 0xa4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xa4)" (( "(") (binary_expression "*param_1 + 0xa4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xa4")) () ")"))))) (; ";")) (expression_statement "param_1[0xe] = param_1[0xe] & 0xfffffffc;" (assignment_expression "param_1[0xe] = param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (binary_expression "param_1[0xe] & 0xfffffffc" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "param_1[0x11] = param_1[0x11] & 0xfffffffc;" (assignment_expression "param_1[0x11] = param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (binary_expression "param_1[0x11] & 0xfffffffc" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (uVar5 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" (if "if") (parenthesized_expression "(uVar5 != 0xffffffff)" (( "(") (binary_expression "uVar5 != 0xffffffff" (identifier "uVar5") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);\n    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((int)uVar5 < 0) {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" (if "if") (parenthesized_expression "((int)uVar5 < 0)" (( "(") (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" ({ "{") (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" (identifier "uVar4") (= "=") (binary_expression "1 << (uVar5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar5 & 0x1f)" (( "(") (binary_expression "uVar5 & 0x1f" (identifier "uVar5") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar2") (= "=") (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar4") (& "&") (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_2 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 * 4)" (( "(") (binary_expression "param_2 + iVar1 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" (else "else") (compound_statement "{\n      uVar4 = 1 << (uVar5 & 0x1f);\n      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);\n    }" ({ "{") (expression_statement "uVar4 = 1 << (uVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << (uVar5 & 0x1f)" (identifier "uVar4") (= "=") (binary_expression "1 << (uVar5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar5 & 0x1f)" (( "(") (binary_expression "uVar5 & 0x1f" (identifier "uVar5") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar2") (= "=") (binary_expression "uVar4 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar4") (& "&") (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_2 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 * 4)" (( "(") (binary_expression "param_2 + iVar1 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}")))) (if_statement "if (uVar2 != 0) {\n      param_1[0xe] = param_1[0xe] | 1;\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 1;\n    }" ({ "{") (expression_statement "param_1[0xe] = param_1[0xe] | 1;" (assignment_expression "param_1[0xe] = param_1[0xe] | 1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (binary_expression "param_1[0xe] | 1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 2;\n    }" (if "if") (parenthesized_expression "((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0)" (( "(") (binary_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_3 + iVar1 * 4))" (( "(") (binary_expression "uVar4 & *(uint *)(param_3 + iVar1 * 4)" (identifier "uVar4") (& "&") (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_3 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + iVar1 * 4)" (( "(") (binary_expression "param_3 + iVar1 * 4" (identifier "param_3") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 2;\n    }" ({ "{") (expression_statement "param_1[0xe] = param_1[0xe] | 2;" (assignment_expression "param_1[0xe] = param_1[0xe] | 2" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (binary_expression "param_1[0xe] | 2" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar5)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" (if "if") (parenthesized_expression "((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0)" (( "(") (binary_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar4 & *(uint *)(param_4 + iVar1 * 4))" (( "(") (binary_expression "uVar4 & *(uint *)(param_4 + iVar1 * 4)" (identifier "uVar4") (& "&") (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_4 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + iVar1 * 4)" (( "(") (binary_expression "param_4 + iVar1 * 4" (identifier "param_4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0xe] = param_1[0xe] | 0x80;\n    }" ({ "{") (expression_statement "param_1[0xe] = param_1[0xe] | 0x80;" (assignment_expression "param_1[0xe] = param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (binary_expression "param_1[0xe] | 0x80" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (| "|") (number_literal "0x80"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar3 != 0xffffffff) {\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 != 0xffffffff)" (( "(") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }\n    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);\n    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if ((int)uVar3 < 0) {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }\n    else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" (if "if") (parenthesized_expression "((int)uVar3 < 0)" (( "(") (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" ({ "{") (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" (identifier "uVar5") (= "=") (binary_expression "1 << (uVar3 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar4") (= "=") (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar5") (& "&") (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_2 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 * 4)" (( "(") (binary_expression "param_2 + iVar1 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" (else "else") (compound_statement "{\n      uVar5 = 1 << (uVar3 & 0x1f);\n      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);\n    }" ({ "{") (expression_statement "uVar5 = 1 << (uVar3 & 0x1f);" (assignment_expression "uVar5 = 1 << (uVar3 & 0x1f)" (identifier "uVar5") (= "=") (binary_expression "1 << (uVar3 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);" (assignment_expression "uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar4") (= "=") (binary_expression "uVar5 & *(uint *)(param_2 + iVar1 * 4)" (identifier "uVar5") (& "&") (pointer_expression "*(uint *)(param_2 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_2 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 * 4)" (( "(") (binary_expression "param_2 + iVar1 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}")))) (if_statement "if (uVar4 != 0) {\n      param_1[0x11] = param_1[0x11] | 1;\n    }" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 1;\n    }" ({ "{") (expression_statement "param_1[0x11] = param_1[0x11] | 1;" (assignment_expression "param_1[0x11] = param_1[0x11] | 1" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (binary_expression "param_1[0x11] | 1" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 2;\n    }" (if "if") (parenthesized_expression "((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0)" (( "(") (binary_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_3 + iVar1 * 4))" (( "(") (binary_expression "uVar5 & *(uint *)(param_3 + iVar1 * 4)" (identifier "uVar5") (& "&") (pointer_expression "*(uint *)(param_3 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_3 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + iVar1 * 4)" (( "(") (binary_expression "param_3 + iVar1 * 4" (identifier "param_3") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 2;\n    }" ({ "{") (expression_statement "param_1[0x11] = param_1[0x11] | 2;" (assignment_expression "param_1[0x11] = param_1[0x11] | 2" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (binary_expression "param_1[0x11] | 2" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);" (assignment_expression "iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___fdelt_chk_0003f2ac)(uVar3)" (parenthesized_expression "(*(code *)PTR___fdelt_chk_0003f2ac)" (( "(") (pointer_expression "*(code *)PTR___fdelt_chk_0003f2ac" (* "*") (cast_expression "(code *)PTR___fdelt_chk_0003f2ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fdelt_chk_0003f2ac"))) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" (if "if") (parenthesized_expression "((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0)" (( "(") (binary_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0" (parenthesized_expression "(uVar5 & *(uint *)(param_4 + iVar1 * 4))" (( "(") (binary_expression "uVar5 & *(uint *)(param_4 + iVar1 * 4)" (identifier "uVar5") (& "&") (pointer_expression "*(uint *)(param_4 + iVar1 * 4)" (* "*") (cast_expression "(uint *)(param_4 + iVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + iVar1 * 4)" (( "(") (binary_expression "param_4 + iVar1 * 4" (identifier "param_4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0x11] = param_1[0x11] | 0x80;\n    }" ({ "{") (expression_statement "param_1[0x11] = param_1[0x11] | 0x80;" (assignment_expression "param_1[0x11] = param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (binary_expression "param_1[0x11] | 0x80" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (| "|") (number_literal "0x80"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))) (return_statement))))

void MASKED(int *param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  
  uVar3 = param_1[0x10];
  uVar5 = *(uint *)(*param_1 + 0xa4);
  param_1[0xe] = param_1[0xe] & 0xfffffffc;
  param_1[0x11] = param_1[0x11] & 0xfffffffc;
  if (uVar5 != 0xffffffff) {
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((int)uVar5 < 0) {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);
    }
    else {
      uVar4 = 1 << (uVar5 & 0x1f);
      uVar2 = uVar4 & *(uint *)(param_2 + iVar1 * 4);
    }
    if (uVar2 != 0) {
      param_1[0xe] = param_1[0xe] | 1;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((uVar4 & *(uint *)(param_3 + iVar1 * 4)) != 0) {
      param_1[0xe] = param_1[0xe] | 2;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar5);
    if ((uVar4 & *(uint *)(param_4 + iVar1 * 4)) != 0) {
      param_1[0xe] = param_1[0xe] | 0x80;
    }
  }
  if (uVar3 != 0xffffffff) {
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((int)uVar3 < 0) {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);
    }
    else {
      uVar5 = 1 << (uVar3 & 0x1f);
      uVar4 = uVar5 & *(uint *)(param_2 + iVar1 * 4);
    }
    if (uVar4 != 0) {
      param_1[0x11] = param_1[0x11] | 1;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((uVar5 & *(uint *)(param_3 + iVar1 * 4)) != 0) {
      param_1[0x11] = param_1[0x11] | 2;
    }
    iVar1 = (*(code *)PTR___fdelt_chk_0003f2ac)(uVar3);
    if ((uVar5 & *(uint *)(param_4 + iVar1 * 4)) != 0) {
      param_1[0x11] = param_1[0x11] | 0x80;
    }
  }
  return;
}

