
void des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)

{
  undefined *puVar1;
  int iVar2;
  code *pcVar3;
  uint uVar4;
  uint uVar5;
  word32 wVar6;
  word32 wVar7;
  uint uVar8;
  uint uVar9;
  word32 wVar10;
  uint unaff_s8;
  word32 out [2];
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c;
  if ((len & 7) == 0) {
    uVar9 = sched->iv0;
    wVar6 = sched->iv1;
    if (len != 0) {
      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);
      uVar8 = 0;
      wVar7 = wVar6;
      wVar10 = uVar9;
      uVar9 = unaff_s8;
      do {
        uVar4 = (uint)blk & 3;
        wVar6 = *(word32 *)(blk + 4);
        uVar8 = uVar8 + 8;
        uVar5 = (uint)(blk + 3) & 3;
        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &
                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;
        (*pcVar3)(out,uVar9,wVar6,sched);
        uVar5 = wVar10 ^ out[0];
        blk[3] = (uchar)uVar5;
        uVar4 = wVar7 ^ out[1];
        *blk = (uchar)(uVar5 >> 0x18);
        blk[7] = (uchar)uVar4;
        blk[1] = (uchar)(uVar5 >> 0x10);
        blk[4] = (uchar)(uVar4 >> 0x18);
        blk[2] = (uchar)(uVar5 >> 8);
        blk[5] = (uchar)(uVar4 >> 0x10);
        blk[6] = (uchar)(uVar4 >> 8);
        blk = blk + 8;
        wVar7 = wVar6;
        wVar10 = uVar9;
      } while (uVar8 < len);
    }
    sched->iv0 = uVar9;
    sched->iv1 = wVar6;
    if (iVar2 == *(int *)puVar1) {
      return;
    }
    (*(code *)PTR___stack_chk_fail_000b0c70)();
  }
  (*(code *)PTR___assert_fail_000b0ac0)
            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)
  ;
  return;
}



void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)

{
  uint uVar1;
  uint uVar2;
  undefined *puVar3;
  code *pcVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint unaff_s8;
  uint local_34;
  uint local_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_000b0c9c;
  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;
  if ((param_2 & 7) == 0) {
    uVar9 = *(uint *)(param_3 + 0x80);
    uVar7 = *(uint *)(param_3 + 0x84);
    if (param_2 != 0) {
      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);
      uVar8 = 0;
      uVar5 = uVar7;
      uVar6 = uVar9;
      uVar9 = unaff_s8;
      do {
        uVar1 = (uint)param_1 & 3;
        uVar7 = *(uint *)(param_1 + 4);
        uVar8 = uVar8 + 8;
        uVar2 = (uint)(param_1 + 3) & 3;
        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &
                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;
        (*pcVar4)(&local_34,uVar9,uVar7,param_3);
        uVar6 = uVar6 ^ local_34;
        param_1[3] = (char)uVar6;
        uVar5 = uVar5 ^ local_30;
        *param_1 = (char)(uVar6 >> 0x18);
        param_1[7] = (char)uVar5;
        param_1[1] = (char)(uVar6 >> 0x10);
        param_1[4] = (char)(uVar5 >> 0x18);
        param_1[2] = (char)(uVar6 >> 8);
        param_1[5] = (char)(uVar5 >> 0x10);
        param_1[6] = (char)(uVar5 >> 8);
        param_1 = param_1 + 8;
        uVar5 = uVar7;
        uVar6 = uVar9;
      } while (uVar8 < param_2);
    }
    *(uint *)(param_3 + 0x80) = uVar9;
    *(uint *)(param_3 + 0x84) = uVar7;
    if (local_2c == *(int *)puVar3) {
      return;
    }
    (*(code *)PTR___stack_chk_fail_000b0c70)();
  }
  (*(code *)PTR___assert_fail_000b0ac0)
            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)
  ;
  return;
}


lui gp,0x6
addiu gp,gp,-0x60a4
addu gp,gp,t9
lw v0,-0x74b4(gp)
addiu sp,sp,-0x58
sw v0,0x1c(sp)
sw s4,0x40(sp)
andi s4,a1,0x7
sw gp,0x10(sp)
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
lw v0,0x0(v0)
sw v0,0x2c(sp)
bne s4,zero,0x0005e35c
_or s3,a1,zero
lw s6,0x80(a2)
or s2,a2,zero
beq a1,zero,0x0005e344
_lw s1,0x84(a2)
lw v0,-0x78f0(gp)
addiu s5,sp,0x24
or s0,a0,zero
addiu v0,v0,-0x306c
sw v0,0x18(sp)
lwl s8,0x0(s0)
or a0,s5,zero
lwl s7,0x4(s0)
or a3,s2,zero
lw t9,0x18(sp)
addiu s4,s4,0x8
lwr s8,0x3(s0)
lwr s7,0x7(s0)
addiu s0,s0,0x8
or a1,s8,zero
jalr t9
_or a2,s7,zero
sltu a0,s4,s3
lw v1,0x24(sp)
lw v0,0x28(sp)
lw gp,0x10(sp)
xor v1,s6,v1
srl a2,v1,0x18
sb v1,-0x5(s0)
srl a1,v1,0x10
xor v0,s1,v0
sb a2,-0x8(s0)
sb v0,-0x1(s0)
srl a2,v0,0x18
srl v1,v1,0x8
sb a1,-0x7(s0)
srl a1,v0,0x10
sb a2,-0x4(s0)
srl v0,v0,0x8
sb v1,-0x6(s0)
sb a1,-0x3(s0)
or s6,s8,zero
sb v0,-0x2(s0)
bne a0,zero,0x0005e270
_or s1,s7,zero
lw v0,0x1c(sp)
lw v1,0x2c(sp)
sw s8,0x80(s2)
sw s7,0x84(s2)
lw v0,0x0(v0)
bne v1,v0,0x0005e350
_lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
or s7,s1,zero
b 0x0005e2fc
_or s8,s6,zero
lw t9,-0x74e0(gp)
jalr t9
_nop
lw a3,-0x7f80(gp)
li a2,0x279
lw a1,-0x7f80(gp)
lw a0,-0x7f80(gp)
lw t9,-0x7690(gp)
addiu a3,a3,-0x668c
addiu a1,a1,-0x6750
jalr t9
_addiu a0,a0,-0x7f94
(translation_unit "void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}\n\n" (function_definition "void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" primitive_type (function_declarator "FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)" identifier (parameter_list "(undefined1 *param_1,uint param_2,int param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint unaff_s8;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" if (parenthesized_expression "((param_2 & 7) == 0)" ( (binary_expression "(param_2 & 7) == 0" (parenthesized_expression "(param_2 & 7)" ( (binary_expression "param_2 & 7" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" { (expression_statement "uVar9 = *(uint *)(param_3 + 0x80);" (assignment_expression "uVar9 = *(uint *)(param_3 + 0x80)" identifier = (pointer_expression "*(uint *)(param_3 + 0x80)" * (cast_expression "(uint *)(param_3 + 0x80)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(param_3 + 0x84);" (assignment_expression "uVar7 = *(uint *)(param_3 + 0x84)" identifier = (pointer_expression "*(uint *)(param_3 + 0x84)" * (cast_expression "(uint *)(param_3 + 0x84)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" { (expression_statement "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c)" identifier = (cast_expression "(code *)(PTR_LAB_000b0860 + -0x306c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b0860 + -0x306c)" ( (binary_expression "PTR_LAB_000b0860 + -0x306c" identifier + number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = unaff_s8;" (assignment_expression "uVar9 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);" do (compound_statement "{\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      }" { (expression_statement "uVar1 = (uint)param_1 & 3;" (assignment_expression "uVar1 = (uint)param_1 & 3" identifier = (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar7 = *(uint *)(param_1 + 4);" (assignment_expression "uVar7 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = uVar8 + 8;" (assignment_expression "uVar8 = uVar8 + 8" identifier = (binary_expression "uVar8 + 8" identifier + number_literal)) ;) (expression_statement "uVar2 = (uint)(param_1 + 3) & 3;" (assignment_expression "uVar2 = (uint)(param_1 + 3) & 3" identifier = (binary_expression "(uint)(param_1 + 3) & 3" (call_expression "(uint)(param_1 + 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) & number_literal)) ;) (expression_statement "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;" (assignment_expression "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" identifier = (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8" (parenthesized_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8)" ( (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8" (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8" (pointer_expression "*(int *)(param_1 + -uVar1)" * (cast_expression "(int *)(param_1 + -uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -uVar1)" ( (binary_expression "param_1 + -uVar1" identifier + (unary_expression "-uVar1" - identifier)) )))) << (binary_expression "uVar1 * 8" identifier * number_literal)) | (binary_expression "uVar9 & 0xffffffffU >> (4 - uVar1) * 8" identifier & (binary_expression "0xffffffffU >> (4 - uVar1) * 8" number_literal >> (binary_expression "(4 - uVar1) * 8" (parenthesized_expression "(4 - uVar1)" ( (binary_expression "4 - uVar1" number_literal - identifier) )) * number_literal)))) )) & (binary_expression "-1 << (uVar2 + 1) * 8" number_literal << (binary_expression "(uVar2 + 1) * 8" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) | (binary_expression "*(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (pointer_expression "*(uint *)(param_1 + 3 + -uVar2)" * (cast_expression "(uint *)(param_1 + 3 + -uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3 + -uVar2)" ( (binary_expression "param_1 + 3 + -uVar2" (binary_expression "param_1 + 3" identifier + number_literal) + (unary_expression "-uVar2" - identifier)) )))) >> (binary_expression "(3 - uVar2) * 8" (parenthesized_expression "(3 - uVar2)" ( (binary_expression "3 - uVar2" number_literal - identifier) )) * number_literal)))) ;) (expression_statement "(*pcVar4)(&local_34,uVar9,uVar7,param_3);" (call_expression "(*pcVar4)(&local_34,uVar9,uVar7,param_3)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(&local_34,uVar9,uVar7,param_3)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = uVar6 ^ local_34;" (assignment_expression "uVar6 = uVar6 ^ local_34" identifier = (binary_expression "uVar6 ^ local_34" identifier ^ identifier)) ;) (expression_statement "param_1[3] = (char)uVar6;" (assignment_expression "param_1[3] = (char)uVar6" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar5 = uVar5 ^ local_30;" (assignment_expression "uVar5 = uVar5 ^ local_30" identifier = (binary_expression "uVar5 ^ local_30" identifier ^ identifier)) ;) (expression_statement "*param_1 = (char)(uVar6 >> 0x18);" (assignment_expression "*param_1 = (char)(uVar6 >> 0x18)" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)(uVar6 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x18)" ( (binary_expression "uVar6 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "param_1[7] = (char)uVar5;" (assignment_expression "param_1[7] = (char)uVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (char)(uVar6 >> 0x10);" (assignment_expression "param_1[1] = (char)(uVar6 >> 0x10)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_1[4] = (char)(uVar5 >> 0x18);" (assignment_expression "param_1[4] = (char)(uVar5 >> 0x18)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x18)" ( (binary_expression "uVar5 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "param_1[2] = (char)(uVar6 >> 8);" (assignment_expression "param_1[2] = (char)(uVar6 >> 8)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_1[5] = (char)(uVar5 >> 0x10);" (assignment_expression "param_1[5] = (char)(uVar5 >> 0x10)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_1[6] = (char)(uVar5 >> 8);" (assignment_expression "param_1[6] = (char)(uVar5 >> 8)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 8)" ( (binary_expression "uVar5 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_1 = param_1 + 8;" (assignment_expression "param_1 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < param_2)" ( (binary_expression "uVar8 < param_2" identifier < identifier) )) ;) })) (expression_statement "*(uint *)(param_3 + 0x80) = uVar9;" (assignment_expression "*(uint *)(param_3 + 0x80) = uVar9" (pointer_expression "*(uint *)(param_3 + 0x80)" * (cast_expression "(uint *)(param_3 + 0x80)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 0x84) = uVar7;" (assignment_expression "*(uint *)(param_3 + 0x84) = uVar7" (pointer_expression "*(uint *)(param_3 + 0x84)" * (cast_expression "(uint *)(param_3 + 0x84)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_2c == *(int *)puVar3) {\n      return;\n    }" if (parenthesized_expression "(local_2c == *(int *)puVar3)" ( (binary_expression "local_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" ( (binary_expression "PTR_DAT_000b01d0 + -0x7f94" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x6750" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x668c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  uint uVar4;\n  uint uVar5;\n  word32 wVar6;\n  word32 wVar7;\n  uint uVar8;\n  uint uVar9;\n  word32 wVar10;\n  uint unaff_s8;\n  word32 out [2];\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((len & 7) == 0) {\n    uVar9 = sched->iv0;\n    wVar6 = sched->iv1;\n    if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }\n    sched->iv0 = uVar9;\n    sched->iv1 = wVar6;\n    if (iVar2 == *(int *)puVar1) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}\n\n" (function_definition "void des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  uint uVar4;\n  uint uVar5;\n  word32 wVar6;\n  word32 wVar7;\n  uint uVar8;\n  uint uVar9;\n  word32 wVar10;\n  uint unaff_s8;\n  word32 out [2];\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((len & 7) == 0) {\n    uVar9 = sched->iv0;\n    wVar6 = sched->iv1;\n    if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }\n    sched->iv0 = uVar9;\n    sched->iv1 = wVar6;\n    if (iVar2 == *(int *)puVar1) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" primitive_type (function_declarator "des_cbc_decrypt(uchar *blk,uint len,DESContext *sched)" identifier (parameter_list "(uchar *blk,uint len,DESContext *sched)" ( (parameter_declaration "uchar *blk" type_identifier (pointer_declarator "*blk" * identifier)) , (parameter_declaration "uint len" type_identifier identifier) , (parameter_declaration "DESContext *sched" type_identifier (pointer_declarator "*sched" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  uint uVar4;\n  uint uVar5;\n  word32 wVar6;\n  word32 wVar7;\n  uint uVar8;\n  uint uVar9;\n  word32 wVar10;\n  uint unaff_s8;\n  word32 out [2];\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((len & 7) == 0) {\n    uVar9 = sched->iv0;\n    wVar6 = sched->iv1;\n    if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }\n    sched->iv0 = uVar9;\n    sched->iv1 = wVar6;\n    if (iVar2 == *(int *)puVar1) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "word32 wVar6;" type_identifier identifier ;) (declaration "word32 wVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "word32 wVar10;" type_identifier identifier ;) (declaration "uint unaff_s8;" type_identifier identifier ;) (declaration "word32 out [2];" type_identifier (array_declarator "out [2]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((len & 7) == 0) {\n    uVar9 = sched->iv0;\n    wVar6 = sched->iv1;\n    if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }\n    sched->iv0 = uVar9;\n    sched->iv1 = wVar6;\n    if (iVar2 == *(int *)puVar1) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" if (parenthesized_expression "((len & 7) == 0)" ( (binary_expression "(len & 7) == 0" (parenthesized_expression "(len & 7)" ( (binary_expression "len & 7" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar9 = sched->iv0;\n    wVar6 = sched->iv1;\n    if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }\n    sched->iv0 = uVar9;\n    sched->iv1 = wVar6;\n    if (iVar2 == *(int *)puVar1) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" { (expression_statement "uVar9 = sched->iv0;" (assignment_expression "uVar9 = sched->iv0" identifier = (field_expression "sched->iv0" identifier -> field_identifier)) ;) (expression_statement "wVar6 = sched->iv1;" (assignment_expression "wVar6 = sched->iv1" identifier = (field_expression "sched->iv1" identifier -> field_identifier)) ;) (if_statement "if (len != 0) {\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      wVar7 = wVar6;\n      wVar10 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);\n    }" { (expression_statement "pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000b0860 + -0x306c)" identifier = (cast_expression "(code *)(PTR_LAB_000b0860 + -0x306c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b0860 + -0x306c)" ( (binary_expression "PTR_LAB_000b0860 + -0x306c" identifier + number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "wVar7 = wVar6;" (assignment_expression "wVar7 = wVar6" identifier = identifier) ;) (expression_statement "wVar10 = uVar9;" (assignment_expression "wVar10 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = unaff_s8;" (assignment_expression "uVar9 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      } while (uVar8 < len);" do (compound_statement "{\n        uVar4 = (uint)blk & 3;\n        wVar6 = *(word32 *)(blk + 4);\n        uVar8 = uVar8 + 8;\n        uVar5 = (uint)(blk + 3) & 3;\n        uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;\n        (*pcVar3)(out,uVar9,wVar6,sched);\n        uVar5 = wVar10 ^ out[0];\n        blk[3] = (uchar)uVar5;\n        uVar4 = wVar7 ^ out[1];\n        *blk = (uchar)(uVar5 >> 0x18);\n        blk[7] = (uchar)uVar4;\n        blk[1] = (uchar)(uVar5 >> 0x10);\n        blk[4] = (uchar)(uVar4 >> 0x18);\n        blk[2] = (uchar)(uVar5 >> 8);\n        blk[5] = (uchar)(uVar4 >> 0x10);\n        blk[6] = (uchar)(uVar4 >> 8);\n        blk = blk + 8;\n        wVar7 = wVar6;\n        wVar10 = uVar9;\n      }" { (expression_statement "uVar4 = (uint)blk & 3;" (assignment_expression "uVar4 = (uint)blk & 3" identifier = (binary_expression "(uint)blk & 3" (cast_expression "(uint)blk" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "wVar6 = *(word32 *)(blk + 4);" (assignment_expression "wVar6 = *(word32 *)(blk + 4)" identifier = (pointer_expression "*(word32 *)(blk + 4)" * (cast_expression "(word32 *)(blk + 4)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(blk + 4)" ( (binary_expression "blk + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = uVar8 + 8;" (assignment_expression "uVar8 = uVar8 + 8" identifier = (binary_expression "uVar8 + 8" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)(blk + 3) & 3;" (assignment_expression "uVar5 = (uint)(blk + 3) & 3" identifier = (binary_expression "(uint)(blk + 3) & 3" (call_expression "(uint)(blk + 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(blk + 3)" ( (binary_expression "blk + 3" identifier + number_literal) ))) & number_literal)) ;) (expression_statement "uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8;" (assignment_expression "uVar9 = (*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8" identifier = (binary_expression "(*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8 | *(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8" (binary_expression "(*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8) &\n                -1 << (uVar5 + 1) * 8" (parenthesized_expression "(*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8)" ( (binary_expression "*(int *)(blk + -uVar4) << uVar4 * 8 | uVar9 & 0xffffffffU >> (4 - uVar4) * 8" (binary_expression "*(int *)(blk + -uVar4) << uVar4 * 8" (pointer_expression "*(int *)(blk + -uVar4)" * (cast_expression "(int *)(blk + -uVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(blk + -uVar4)" ( (binary_expression "blk + -uVar4" identifier + (unary_expression "-uVar4" - identifier)) )))) << (binary_expression "uVar4 * 8" identifier * number_literal)) | (binary_expression "uVar9 & 0xffffffffU >> (4 - uVar4) * 8" identifier & (binary_expression "0xffffffffU >> (4 - uVar4) * 8" number_literal >> (binary_expression "(4 - uVar4) * 8" (parenthesized_expression "(4 - uVar4)" ( (binary_expression "4 - uVar4" number_literal - identifier) )) * number_literal)))) )) & (binary_expression "-1 << (uVar5 + 1) * 8" number_literal << (binary_expression "(uVar5 + 1) * 8" (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) )) * number_literal))) | (binary_expression "*(uint *)(blk + 3 + -uVar5) >> (3 - uVar5) * 8" (pointer_expression "*(uint *)(blk + 3 + -uVar5)" * (cast_expression "(uint *)(blk + 3 + -uVar5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(blk + 3 + -uVar5)" ( (binary_expression "blk + 3 + -uVar5" (binary_expression "blk + 3" identifier + number_literal) + (unary_expression "-uVar5" - identifier)) )))) >> (binary_expression "(3 - uVar5) * 8" (parenthesized_expression "(3 - uVar5)" ( (binary_expression "3 - uVar5" number_literal - identifier) )) * number_literal)))) ;) (expression_statement "(*pcVar3)(out,uVar9,wVar6,sched);" (call_expression "(*pcVar3)(out,uVar9,wVar6,sched)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(out,uVar9,wVar6,sched)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "uVar5 = wVar10 ^ out[0];" (assignment_expression "uVar5 = wVar10 ^ out[0]" identifier = (binary_expression "wVar10 ^ out[0]" identifier ^ (subscript_expression "out[0]" identifier [ number_literal ]))) ;) (expression_statement "blk[3] = (uchar)uVar5;" (assignment_expression "blk[3] = (uchar)uVar5" (subscript_expression "blk[3]" identifier [ number_literal ]) = (cast_expression "(uchar)uVar5" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = wVar7 ^ out[1];" (assignment_expression "uVar4 = wVar7 ^ out[1]" identifier = (binary_expression "wVar7 ^ out[1]" identifier ^ (subscript_expression "out[1]" identifier [ number_literal ]))) ;) (expression_statement "*blk = (uchar)(uVar5 >> 0x18);" (assignment_expression "*blk = (uchar)(uVar5 >> 0x18)" (pointer_expression "*blk" * identifier) = (call_expression "(uchar)(uVar5 >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar5 >> 0x18)" ( (binary_expression "uVar5 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "blk[7] = (uchar)uVar4;" (assignment_expression "blk[7] = (uchar)uVar4" (subscript_expression "blk[7]" identifier [ number_literal ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "blk[1] = (uchar)(uVar5 >> 0x10);" (assignment_expression "blk[1] = (uchar)(uVar5 >> 0x10)" (subscript_expression "blk[1]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar5 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "blk[4] = (uchar)(uVar4 >> 0x18);" (assignment_expression "blk[4] = (uchar)(uVar4 >> 0x18)" (subscript_expression "blk[4]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar4 >> 0x18)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar4 >> 0x18)" ( (binary_expression "uVar4 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "blk[2] = (uchar)(uVar5 >> 8);" (assignment_expression "blk[2] = (uchar)(uVar5 >> 8)" (subscript_expression "blk[2]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar5 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar5 >> 8)" ( (binary_expression "uVar5 >> 8" identifier >> number_literal) )))) ;) (expression_statement "blk[5] = (uchar)(uVar4 >> 0x10);" (assignment_expression "blk[5] = (uchar)(uVar4 >> 0x10)" (subscript_expression "blk[5]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar4 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar4 >> 0x10)" ( (binary_expression "uVar4 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "blk[6] = (uchar)(uVar4 >> 8);" (assignment_expression "blk[6] = (uchar)(uVar4 >> 8)" (subscript_expression "blk[6]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar4 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar4 >> 8)" ( (binary_expression "uVar4 >> 8" identifier >> number_literal) )))) ;) (expression_statement "blk = blk + 8;" (assignment_expression "blk = blk + 8" identifier = (binary_expression "blk + 8" identifier + number_literal)) ;) (expression_statement "wVar7 = wVar6;" (assignment_expression "wVar7 = wVar6" identifier = identifier) ;) (expression_statement "wVar10 = uVar9;" (assignment_expression "wVar10 = uVar9" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < len)" ( (binary_expression "uVar8 < len" identifier < identifier) )) ;) })) (expression_statement "sched->iv0 = uVar9;" (assignment_expression "sched->iv0 = uVar9" (field_expression "sched->iv0" identifier -> field_identifier) = identifier) ;) (expression_statement "sched->iv1 = wVar6;" (assignment_expression "sched->iv1 = wVar6" (field_expression "sched->iv1" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n      return;\n    }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" ( (binary_expression "PTR_DAT_000b01d0 + -0x7f94" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x6750" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x668c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}\n\n" (function_definition "void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" primitive_type (function_declarator "FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)" identifier (parameter_list "(undefined1 *param_1,uint param_2,int param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint unaff_s8;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" if (parenthesized_expression "((param_2 & 7) == 0)" ( (binary_expression "(param_2 & 7) == 0" (parenthesized_expression "(param_2 & 7)" ( (binary_expression "param_2 & 7" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" { (expression_statement "uVar9 = *(uint *)(param_3 + 0x80);" (assignment_expression "uVar9 = *(uint *)(param_3 + 0x80)" identifier = (pointer_expression "*(uint *)(param_3 + 0x80)" * (cast_expression "(uint *)(param_3 + 0x80)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *(uint *)(param_3 + 0x84);" (assignment_expression "uVar7 = *(uint *)(param_3 + 0x84)" identifier = (pointer_expression "*(uint *)(param_3 + 0x84)" * (cast_expression "(uint *)(param_3 + 0x84)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" { (expression_statement "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c)" identifier = (cast_expression "(code *)(PTR_LAB_000b0860 + -0x306c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b0860 + -0x306c)" ( (binary_expression "PTR_LAB_000b0860 + -0x306c" identifier + number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" identifier = identifier) ;) (expression_statement "uVar9 = unaff_s8;" (assignment_expression "uVar9 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);" do (compound_statement "{\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      }" { (expression_statement "uVar1 = (uint)param_1 & 3;" (assignment_expression "uVar1 = (uint)param_1 & 3" identifier = (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "uVar7 = *(uint *)(param_1 + 4);" (assignment_expression "uVar7 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = uVar8 + 8;" (assignment_expression "uVar8 = uVar8 + 8" identifier = (binary_expression "uVar8 + 8" identifier + number_literal)) ;) (expression_statement "uVar2 = (uint)(param_1 + 3) & 3;" (assignment_expression "uVar2 = (uint)(param_1 + 3) & 3" identifier = (binary_expression "(uint)(param_1 + 3) & 3" (call_expression "(uint)(param_1 + 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) & number_literal)) ;) (expression_statement "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;" (assignment_expression "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" identifier = (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8" (parenthesized_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8)" ( (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8" (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8" (pointer_expression "*(int *)(param_1 + -uVar1)" * (cast_expression "(int *)(param_1 + -uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -uVar1)" ( (binary_expression "param_1 + -uVar1" identifier + (unary_expression "-uVar1" - identifier)) )))) << (binary_expression "uVar1 * 8" identifier * number_literal)) | (binary_expression "uVar9 & 0xffffffffU >> (4 - uVar1) * 8" identifier & (binary_expression "0xffffffffU >> (4 - uVar1) * 8" number_literal >> (binary_expression "(4 - uVar1) * 8" (parenthesized_expression "(4 - uVar1)" ( (binary_expression "4 - uVar1" number_literal - identifier) )) * number_literal)))) )) & (binary_expression "-1 << (uVar2 + 1) * 8" number_literal << (binary_expression "(uVar2 + 1) * 8" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * number_literal))) | (binary_expression "*(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (pointer_expression "*(uint *)(param_1 + 3 + -uVar2)" * (cast_expression "(uint *)(param_1 + 3 + -uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3 + -uVar2)" ( (binary_expression "param_1 + 3 + -uVar2" (binary_expression "param_1 + 3" identifier + number_literal) + (unary_expression "-uVar2" - identifier)) )))) >> (binary_expression "(3 - uVar2) * 8" (parenthesized_expression "(3 - uVar2)" ( (binary_expression "3 - uVar2" number_literal - identifier) )) * number_literal)))) ;) (expression_statement "(*pcVar4)(&local_34,uVar9,uVar7,param_3);" (call_expression "(*pcVar4)(&local_34,uVar9,uVar7,param_3)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(&local_34,uVar9,uVar7,param_3)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = uVar6 ^ local_34;" (assignment_expression "uVar6 = uVar6 ^ local_34" identifier = (binary_expression "uVar6 ^ local_34" identifier ^ identifier)) ;) (expression_statement "param_1[3] = (char)uVar6;" (assignment_expression "param_1[3] = (char)uVar6" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar5 = uVar5 ^ local_30;" (assignment_expression "uVar5 = uVar5 ^ local_30" identifier = (binary_expression "uVar5 ^ local_30" identifier ^ identifier)) ;) (expression_statement "*param_1 = (char)(uVar6 >> 0x18);" (assignment_expression "*param_1 = (char)(uVar6 >> 0x18)" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)(uVar6 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x18)" ( (binary_expression "uVar6 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "param_1[7] = (char)uVar5;" (assignment_expression "param_1[7] = (char)uVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (char)(uVar6 >> 0x10);" (assignment_expression "param_1[1] = (char)(uVar6 >> 0x10)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_1[4] = (char)(uVar5 >> 0x18);" (assignment_expression "param_1[4] = (char)(uVar5 >> 0x18)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x18)" ( (binary_expression "uVar5 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "param_1[2] = (char)(uVar6 >> 8);" (assignment_expression "param_1[2] = (char)(uVar6 >> 8)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_1[5] = (char)(uVar5 >> 0x10);" (assignment_expression "param_1[5] = (char)(uVar5 >> 0x10)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_1[6] = (char)(uVar5 >> 8);" (assignment_expression "param_1[6] = (char)(uVar5 >> 8)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 8)" ( (binary_expression "uVar5 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_1 = param_1 + 8;" (assignment_expression "param_1 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 < param_2)" ( (binary_expression "uVar8 < param_2" identifier < identifier) )) ;) })) (expression_statement "*(uint *)(param_3 + 0x80) = uVar9;" (assignment_expression "*(uint *)(param_3 + 0x80) = uVar9" (pointer_expression "*(uint *)(param_3 + 0x80)" * (cast_expression "(uint *)(param_3 + 0x80)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 0x84) = uVar7;" (assignment_expression "*(uint *)(param_3 + 0x84) = uVar7" (pointer_expression "*(uint *)(param_3 + 0x84)" * (cast_expression "(uint *)(param_3 + 0x84)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_2c == *(int *)puVar3) {\n      return;\n    }" if (parenthesized_expression "(local_2c == *(int *)puVar3)" ( (binary_expression "local_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" ( (binary_expression "PTR_DAT_000b01d0 + -0x7f94" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x6750" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x668c" identifier + 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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (unary_expression - IDENT)) )))) << (binary_expression IDENT * LIT)) | (binary_expression IDENT & (binary_expression LIT >> (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT)))) )) & (binary_expression LIT << (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT))) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (unary_expression - IDENT)) )))) >> (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT)))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005e1f4(undefined1 *param_1,uint param_2,int param_3)" (identifier "FUN_0005e1f4") (parameter_list "(undefined1 *param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint unaff_s8;\n  uint local_34;\n  uint local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }\n  (*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint unaff_s8;" (type_identifier "uint") (identifier "unaff_s8") (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000b0c9c" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_000b0c9c")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b0c9c")))) (; ";")) (if_statement "if ((param_2 & 7) == 0) {\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" (if "if") (parenthesized_expression "((param_2 & 7) == 0)" (( "(") (binary_expression "(param_2 & 7) == 0" (parenthesized_expression "(param_2 & 7)" (( "(") (binary_expression "param_2 & 7" (identifier "param_2") (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar9 = *(uint *)(param_3 + 0x80);\n    uVar7 = *(uint *)(param_3 + 0x84);\n    if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }\n    *(uint *)(param_3 + 0x80) = uVar9;\n    *(uint *)(param_3 + 0x84) = uVar7;\n    if (local_2c == *(int *)puVar3) {\n      return;\n    }\n    (*(code *)PTR___stack_chk_fail_000b0c70)();\n  }" ({ "{") (expression_statement "uVar9 = *(uint *)(param_3 + 0x80);" (assignment_expression "uVar9 = *(uint *)(param_3 + 0x80)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)(param_3 + 0x80)" (* "*") (cast_expression "(uint *)(param_3 + 0x80)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x80)" (( "(") (binary_expression "param_3 + 0x80" (identifier "param_3") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (expression_statement "uVar7 = *(uint *)(param_3 + 0x84);" (assignment_expression "uVar7 = *(uint *)(param_3 + 0x84)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(param_3 + 0x84)" (* "*") (cast_expression "(uint *)(param_3 + 0x84)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x84)" (( "(") (binary_expression "param_3 + 0x84" (identifier "param_3") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if (param_2 != 0) {\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);\n      uVar8 = 0;\n      uVar5 = uVar7;\n      uVar6 = uVar9;\n      uVar9 = unaff_s8;\n      do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);\n    }" ({ "{") (expression_statement "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_LAB_000b0860 + -0x306c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b0860 + -0x306c)" (( "(") (binary_expression "PTR_LAB_000b0860 + -0x306c" (identifier "PTR_LAB_000b0860") (+ "+") (number_literal "-0x306c")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" (identifier "uVar6") (= "=") (identifier "uVar9")) (; ";")) (expression_statement "uVar9 = unaff_s8;" (assignment_expression "uVar9 = unaff_s8" (identifier "uVar9") (= "=") (identifier "unaff_s8")) (; ";")) (do_statement "do {\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      } while (uVar8 < param_2);" (do "do") (compound_statement "{\n        uVar1 = (uint)param_1 & 3;\n        uVar7 = *(uint *)(param_1 + 4);\n        uVar8 = uVar8 + 8;\n        uVar2 = (uint)(param_1 + 3) & 3;\n        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;\n        (*pcVar4)(&local_34,uVar9,uVar7,param_3);\n        uVar6 = uVar6 ^ local_34;\n        param_1[3] = (char)uVar6;\n        uVar5 = uVar5 ^ local_30;\n        *param_1 = (char)(uVar6 >> 0x18);\n        param_1[7] = (char)uVar5;\n        param_1[1] = (char)(uVar6 >> 0x10);\n        param_1[4] = (char)(uVar5 >> 0x18);\n        param_1[2] = (char)(uVar6 >> 8);\n        param_1[5] = (char)(uVar5 >> 0x10);\n        param_1[6] = (char)(uVar5 >> 8);\n        param_1 = param_1 + 8;\n        uVar5 = uVar7;\n        uVar6 = uVar9;\n      }" ({ "{") (expression_statement "uVar1 = (uint)param_1 & 3;" (assignment_expression "uVar1 = (uint)param_1 & 3" (identifier "uVar1") (= "=") (binary_expression "(uint)param_1 & 3" (cast_expression "(uint)param_1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_1")) (& "&") (number_literal "3"))) (; ";")) (expression_statement "uVar7 = *(uint *)(param_1 + 4);" (assignment_expression "uVar7 = *(uint *)(param_1 + 4)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar8 = uVar8 + 8;" (assignment_expression "uVar8 = uVar8 + 8" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 8" (identifier "uVar8") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar2 = (uint)(param_1 + 3) & 3;" (assignment_expression "uVar2 = (uint)(param_1 + 3) & 3" (identifier "uVar2") (= "=") (binary_expression "(uint)(param_1 + 3) & 3" (call_expression "(uint)(param_1 + 3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))) (& "&") (number_literal "3"))) (; ";")) (expression_statement "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;" (assignment_expression "uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (identifier "uVar9") (= "=") (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (binary_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &\n                -1 << (uVar2 + 1) * 8" (parenthesized_expression "(*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8)" (( "(") (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8" (binary_expression "*(int *)(param_1 + -uVar1) << uVar1 * 8" (pointer_expression "*(int *)(param_1 + -uVar1)" (* "*") (cast_expression "(int *)(param_1 + -uVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -uVar1)" (( "(") (binary_expression "param_1 + -uVar1" (identifier "param_1") (+ "+") (unary_expression "-uVar1" (- "-") (identifier "uVar1"))) () ")")))) (<< "<<") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) (| "|") (binary_expression "uVar9 & 0xffffffffU >> (4 - uVar1) * 8" (identifier "uVar9") (& "&") (binary_expression "0xffffffffU >> (4 - uVar1) * 8" (number_literal "0xffffffffU") (>> ">>") (binary_expression "(4 - uVar1) * 8" (parenthesized_expression "(4 - uVar1)" (( "(") (binary_expression "4 - uVar1" (number_literal "4") (- "-") (identifier "uVar1")) () ")")) (* "*") (number_literal "8"))))) () ")")) (& "&") (binary_expression "-1 << (uVar2 + 1) * 8" (number_literal "-1") (<< "<<") (binary_expression "(uVar2 + 1) * 8" (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "8")))) (| "|") (binary_expression "*(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8" (pointer_expression "*(uint *)(param_1 + 3 + -uVar2)" (* "*") (cast_expression "(uint *)(param_1 + 3 + -uVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3 + -uVar2)" (( "(") (binary_expression "param_1 + 3 + -uVar2" (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) (+ "+") (unary_expression "-uVar2" (- "-") (identifier "uVar2"))) () ")")))) (>> ">>") (binary_expression "(3 - uVar2) * 8" (parenthesized_expression "(3 - uVar2)" (( "(") (binary_expression "3 - uVar2" (number_literal "3") (- "-") (identifier "uVar2")) () ")")) (* "*") (number_literal "8"))))) (; ";")) (expression_statement "(*pcVar4)(&local_34,uVar9,uVar7,param_3);" (call_expression "(*pcVar4)(&local_34,uVar9,uVar7,param_3)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(&local_34,uVar9,uVar7,param_3)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "uVar9") (, ",") (identifier "uVar7") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar6 = uVar6 ^ local_34;" (assignment_expression "uVar6 = uVar6 ^ local_34" (identifier "uVar6") (= "=") (binary_expression "uVar6 ^ local_34" (identifier "uVar6") (^ "^") (identifier "local_34"))) (; ";")) (expression_statement "param_1[3] = (char)uVar6;" (assignment_expression "param_1[3] = (char)uVar6" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "uVar5 = uVar5 ^ local_30;" (assignment_expression "uVar5 = uVar5 ^ local_30" (identifier "uVar5") (= "=") (binary_expression "uVar5 ^ local_30" (identifier "uVar5") (^ "^") (identifier "local_30"))) (; ";")) (expression_statement "*param_1 = (char)(uVar6 >> 0x18);" (assignment_expression "*param_1 = (char)(uVar6 >> 0x18)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(char)(uVar6 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x18)" (( "(") (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "param_1[7] = (char)uVar5;" (assignment_expression "param_1[7] = (char)uVar5" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (cast_expression "(char)uVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar5"))) (; ";")) (expression_statement "param_1[1] = (char)(uVar6 >> 0x10);" (assignment_expression "param_1[1] = (char)(uVar6 >> 0x10)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_1[4] = (char)(uVar5 >> 0x18);" (assignment_expression "param_1[4] = (char)(uVar5 >> 0x18)" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(char)(uVar5 >> 0x18)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar5 >> 0x18)" (( "(") (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "param_1[2] = (char)(uVar6 >> 8);" (assignment_expression "param_1[2] = (char)(uVar6 >> 8)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_1[5] = (char)(uVar5 >> 0x10);" (assignment_expression "param_1[5] = (char)(uVar5 >> 0x10)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(char)(uVar5 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar5 >> 0x10)" (( "(") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_1[6] = (char)(uVar5 >> 8);" (assignment_expression "param_1[6] = (char)(uVar5 >> 8)" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (cast_expression "(char)(uVar5 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar5 >> 8)" (( "(") (binary_expression "uVar5 >> 8" (identifier "uVar5") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_1 = param_1 + 8;" (assignment_expression "param_1 = param_1 + 8" (identifier "param_1") (= "=") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar6 = uVar9;" (assignment_expression "uVar6 = uVar9" (identifier "uVar6") (= "=") (identifier "uVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 < param_2)" (( "(") (binary_expression "uVar8 < param_2" (identifier "uVar8") (< "<") (identifier "param_2")) () ")")) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_3 + 0x80) = uVar9;" (assignment_expression "*(uint *)(param_3 + 0x80) = uVar9" (pointer_expression "*(uint *)(param_3 + 0x80)" (* "*") (cast_expression "(uint *)(param_3 + 0x80)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x80)" (( "(") (binary_expression "param_3 + 0x80" (identifier "param_3") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*(uint *)(param_3 + 0x84) = uVar7;" (assignment_expression "*(uint *)(param_3 + 0x84) = uVar7" (pointer_expression "*(uint *)(param_3 + 0x84)" (* "*") (cast_expression "(uint *)(param_3 + 0x84)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x84)" (( "(") (binary_expression "param_3 + 0x84" (identifier "param_3") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (local_2c == *(int *)puVar3) {\n      return;\n    }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar3)" (( "(") (binary_expression "local_2c == *(int *)puVar3" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b0c70"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)\n  ;" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" (* "*") (cast_expression "(code *)PTR___assert_fail_000b0ac0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000b0ac0"))) () ")")) (argument_list "(PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)" (( "(") (binary_expression "PTR_DAT_000b01d0 + -0x7f94" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x7f94")) (, ",") (binary_expression "PTR_DAT_000b01d0 + -0x6750" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x6750")) (, ",") (number_literal "0x279") (, ",") (binary_expression "PTR_DAT_000b01d0 + -0x668c" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x668c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_3,type_2 var_1,type_3 *sched)

{
  type_4 *puVar1;
  int var_10;
  type_5 *pcVar3;
  type_2 var_5;
  type_2 var_7;
  type_6 wVar6;
  type_6 var_9;
  type_2 var_4;
  type_2 var_6;
  type_6 var_8;
  type_2 unaff_s8;
  type_6 out [2];
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  var_10 = *(int *)PTR___stack_chk_guard_000b0c9c;
  if ((var_1 & 7) == 0) {
    var_6 = sched->iv0;
    wVar6 = sched->iv1;
    if (var_1 != 0) {
      pcVar3 = (type_5 *)(var_2 + -0x306c);
      var_4 = 0;
      var_9 = wVar6;
      var_8 = var_6;
      var_6 = unaff_s8;
      do {
        var_5 = (type_2)var_3 & 3;
        wVar6 = *(type_6 *)(var_3 + 4);
        var_4 = var_4 + 8;
        var_7 = (type_2)(var_3 + 3) & 3;
        var_6 = (*(int *)(var_3 + -var_5) << var_5 * 8 | var_6 & 0xffffffffU >> (4 - var_5) * 8) &
                -1 << (var_7 + 1) * 8 | *(type_2 *)(var_3 + 3 + -var_7) >> (3 - var_7) * 8;
        (*pcVar3)(out,var_6,wVar6,sched);
        var_7 = var_8 ^ out[0];
        var_3[3] = (type_1)var_7;
        var_5 = var_9 ^ out[1];
        *var_3 = (type_1)(var_7 >> 0x18);
        var_3[7] = (type_1)var_5;
        var_3[1] = (type_1)(var_7 >> 0x10);
        var_3[4] = (type_1)(var_5 >> 0x18);
        var_3[2] = (type_1)(var_7 >> 8);
        var_3[5] = (type_1)(var_5 >> 0x10);
        var_3[6] = (type_1)(var_5 >> 8);
        var_3 = var_3 + 8;
        var_9 = wVar6;
        var_8 = var_6;
      } while (var_4 < var_1);
    }
    sched->iv0 = var_6;
    sched->iv1 = wVar6;
    if (var_10 == *(int *)puVar1) {
      return;
    }
    (*(type_5 *)PTR___stack_chk_fail_000b0c70)();
  }
  (*(type_5 *)PTR___assert_fail_000b0ac0)
            (var_11 + -0x7f94,var_11 + -0x6750,0x279,var_11 + -0x668c)
  ;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (unary_expression argument: (identifier)))))) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)))))) right: (binary_expression left: (number_literal) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (unary_expression argument: (identifier)))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined1 *param_1,uint param_2,int param_3)

{
  uint uVar1;
  uint uVar2;
  undefined *puVar3;
  code *pcVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint unaff_s8;
  uint local_34;
  uint local_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_000b0c9c;
  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;
  if ((param_2 & 7) == 0) {
    uVar9 = *(uint *)(param_3 + 0x80);
    uVar7 = *(uint *)(param_3 + 0x84);
    if (param_2 != 0) {
      pcVar4 = (code *)(PTR_LAB_000b0860 + -0x306c);
      uVar8 = 0;
      uVar5 = uVar7;
      uVar6 = uVar9;
      uVar9 = unaff_s8;
      do {
        uVar1 = (uint)param_1 & 3;
        uVar7 = *(uint *)(param_1 + 4);
        uVar8 = uVar8 + 8;
        uVar2 = (uint)(param_1 + 3) & 3;
        uVar9 = (*(int *)(param_1 + -uVar1) << uVar1 * 8 | uVar9 & 0xffffffffU >> (4 - uVar1) * 8) &
                -1 << (uVar2 + 1) * 8 | *(uint *)(param_1 + 3 + -uVar2) >> (3 - uVar2) * 8;
        (*pcVar4)(&local_34,uVar9,uVar7,param_3);
        uVar6 = uVar6 ^ local_34;
        param_1[3] = (char)uVar6;
        uVar5 = uVar5 ^ local_30;
        *param_1 = (char)(uVar6 >> 0x18);
        param_1[7] = (char)uVar5;
        param_1[1] = (char)(uVar6 >> 0x10);
        param_1[4] = (char)(uVar5 >> 0x18);
        param_1[2] = (char)(uVar6 >> 8);
        param_1[5] = (char)(uVar5 >> 0x10);
        param_1[6] = (char)(uVar5 >> 8);
        param_1 = param_1 + 8;
        uVar5 = uVar7;
        uVar6 = uVar9;
      } while (uVar8 < param_2);
    }
    *(uint *)(param_3 + 0x80) = uVar9;
    *(uint *)(param_3 + 0x84) = uVar7;
    if (local_2c == *(int *)puVar3) {
      return;
    }
    (*(code *)PTR___stack_chk_fail_000b0c70)();
  }
  (*(code *)PTR___assert_fail_000b0ac0)
            (PTR_DAT_000b01d0 + -0x7f94,PTR_DAT_000b01d0 + -0x6750,0x279,PTR_DAT_000b01d0 + -0x668c)
  ;
  return;
}

