
void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  word32 *pwVar4;
  uint uVar5;
  BlowfishContext *pBVar6;
  uchar *key_00;
  undefined2 in_register_00000018;
  word32 *pwVar7;
  uint uVar8;
  int iVar9;
  int local_3c;
  word32 str [2];
  uchar dummysalt [1];
  short keybytes_00;
  
  iVar9 = CONCAT22(in_register_00000018,keybytes);
  local_3c = (int)saltbytes;
  iVar1 = *(int *)PTR___stack_chk_guard_000bccd8;
  if (salt == (uchar *)0x0) {
    dummysalt[0] = '\0';
    local_3c = 1;
    salt = dummysalt;
  }
  pwVar7 = ctx->P;
  iVar2 = 0;
  pwVar4 = pwVar7;
  do {
    if (iVar9 == 0) {
      trap(7);
    }
    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;
    *pwVar4 = uVar8;
    if (iVar9 == 0) {
      trap(7);
    }
    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;
    *pwVar4 = uVar8;
    if (iVar9 == 0) {
      trap(7);
    }
    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;
    *pwVar4 = uVar8;
    if (iVar9 == 0) {
      trap(7);
    }
    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;
    iVar2 = iVar2 + 4;
    pwVar4 = pwVar4 + 1;
  } while (iVar2 != 0x48);
  str[1] = 0;
  str[0] = 0;
  iVar9 = 0;
  do {
    uVar8 = 0;
    do {
      uVar5 = uVar8;
      if ((int)uVar8 < 0) {
        uVar5 = uVar8 + 3;
      }
      iVar2 = iVar9 + uVar8;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar8 & 0x80000003;
      uVar8 = uVar8 + 1;
      str[(int)uVar5 >> 2] =
           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];
    } while (uVar8 != 8);
    iVar9 = iVar9 + 8;
    blowfish_encrypt(str[0],str[1],str,ctx);
    *pwVar7 = str[0];
    pwVar7[1] = str[1];
    pwVar7 = pwVar7 + 2;
  } while (iVar9 != 0x48);
  iVar9 = 0x48;
  pBVar6 = ctx;
  do {
    uVar8 = 0;
    do {
      uVar5 = uVar8;
      if ((int)uVar8 < 0) {
        uVar5 = uVar8 + 3;
      }
      iVar2 = uVar8 + iVar9;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar8 & 0x80000003;
      uVar8 = uVar8 + 1;
      str[(int)uVar5 >> 2] =
           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];
    } while (uVar8 != 8);
    iVar9 = iVar9 + 8;
    blowfish_encrypt(str[0],str[1],str,ctx);
    pBVar6->S0[0] = str[0];
    pBVar6->S0[1] = str[1];
    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);
  } while (iVar9 != 0x448);
  pwVar4 = ctx->S1;
  iVar9 = 0x448;
  do {
    uVar8 = 0;
    do {
      uVar5 = uVar8;
      if ((int)uVar8 < 0) {
        uVar5 = uVar8 + 3;
      }
      iVar2 = iVar9 + uVar8;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar8 & 0x80000003;
      uVar8 = uVar8 + 1;
      str[(int)uVar5 >> 2] =
           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];
    } while (uVar8 != 8);
    iVar9 = iVar9 + 8;
    blowfish_encrypt(str[0],str[1],str,ctx);
    *pwVar4 = str[0];
    pwVar4[1] = str[1];
    pwVar4 = pwVar4 + 2;
  } while (iVar9 != 0x848);
  pwVar4 = ctx->S2;
  iVar9 = 0x848;
  do {
    uVar8 = 0;
    do {
      uVar5 = uVar8;
      if ((int)uVar8 < 0) {
        uVar5 = uVar8 + 3;
      }
      iVar2 = iVar9 + uVar8;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar8 & 0x80000003;
      if ((int)uVar3 < 0) {
        FUN_0005c080();
        return;
      }
      uVar8 = uVar8 + 1;
      str[(int)uVar5 >> 2] =
           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];
    } while (uVar8 != 8);
    iVar9 = iVar9 + 8;
    blowfish_encrypt(str[0],str[1],str,ctx);
    *pwVar4 = str[0];
    pwVar4[1] = str[1];
    pwVar4 = pwVar4 + 2;
    if (iVar9 == 0xc48) {
      pwVar4 = ctx->S3;
      iVar9 = 0xc48;
      do {
        uVar8 = 0;
        do {
          uVar5 = uVar8;
          if ((int)uVar8 < 0) {
            uVar5 = uVar8 + 3;
          }
          iVar2 = iVar9 + uVar8;
          if (local_3c == 0) {
            trap(7);
          }
          uVar3 = uVar8 & 0x80000003;
          if ((int)uVar3 < 0) {
            FUN_0005c190();
            return;
          }
          uVar8 = uVar8 + 1;
          str[(int)uVar5 >> 2] =
               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];
        } while (uVar8 != 8);
        iVar9 = iVar9 + 8;
        pBVar6 = (BlowfishContext *)str[0];
        key_00 = (uchar *)str[1];
        pwVar7 = str;
        blowfish_encrypt(str[0],str[1],str,ctx);
        keybytes_00 = (short)pwVar7;
        *pwVar4 = str[0];
        pwVar4[1] = str[1];
        pwVar4 = pwVar4 + 2;
        if (iVar9 == 0x1048) {
          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {
            return;
          }
          (*(code *)PTR___stack_chk_fail_000bccb0)();
          blowfish_initkey(pBVar6);
          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);
          return;
        }
      } while( true );
    }
  } while( true );
}



void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint *puVar4;
  uint uVar5;
  uint *puVar6;
  uint uVar7;
  int local_3c;
  uint local_38 [2];
  undefined1 local_30 [4];
  int local_2c;
  
  local_3c = (int)param_5;
  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;
  if (param_4 == (undefined1 *)0x0) {
    local_30[0] = 0;
    local_3c = 1;
    param_4 = local_30;
  }
  puVar6 = param_1 + 0x400;
  iVar1 = 0;
  puVar4 = puVar6;
  do {
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;
    iVar1 = iVar1 + 4;
    puVar4 = puVar4 + 1;
  } while (iVar1 != 0x48);
  local_38[1] = 0;
  local_38[0] = 0;
  iVar1 = 0;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar6 = local_38[0];
    puVar6[1] = local_38[1];
    puVar6 = puVar6 + 2;
  } while (iVar1 != 0x48);
  iVar1 = 0x48;
  puVar4 = param_1;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = uVar7 + iVar1;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x448);
  puVar4 = param_1 + 0x100;
  iVar1 = 0x448;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x848);
  puVar4 = param_1 + 0x200;
  iVar1 = 0x848;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0xc48);
  puVar4 = param_1 + 0x300;
  iVar1 = 0xc48;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    uVar7 = local_38[0];
    uVar5 = local_38[1];
    puVar6 = local_38;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x1048);
  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_000bccb0)();
  blowfish_initkey();
  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);
  return;
}


lui gp,0x7
addiu gp,gp,-0x7b34
addu gp,gp,t9
addiu sp,sp,-0x58
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
sw gp,0x10(sp)
or s3,a0,zero
or s2,a3,zero
lh v0,0x6a(sp)
sw v0,0x1c(sp)
lw v0,-0x7478(gp)
lw v0,0x0(v0)
sw v0,0x2c(sp)
beq a3,zero,0x0005bdb4
_li v0,0x1
addiu s5,s3,0x1000
or v1,s5,zero
or v0,zero,zero
li t0,0x48
teq a2,zero
div v0,a2
mfhi a0
addu a0,a1,a0
lbu a3,0x0(a0)
sll a3,a3,0x18
lw a0,0x0(v1)
xor a3,a3,a0
sw a3,0x0(v1)
addiu a0,v0,0x1
teq a2,zero
div a0,a2
mfhi a0
addu a0,a1,a0
lbu a0,0x0(a0)
sll a0,a0,0x10
xor a3,a0,a3
sw a3,0x0(v1)
addiu a0,v0,0x2
teq a2,zero
div a0,a2
mfhi a0
addu a0,a1,a0
lbu a0,0x0(a0)
sll a0,a0,0x8
xor a0,a0,a3
sw a0,0x0(v1)
addiu a3,v0,0x3
teq a2,zero
div a3,a2
mfhi a3
addu a3,a1,a3
lbu a3,0x0(a3)
xor a0,a3,a0
sw a0,0x0(v1)
addiu v0,v0,0x4
bne v0,t0,0x0005bcf4
_addiu v1,v1,0x4
sw zero,0x24(sp)
sw zero,0x20(sp)
or s1,zero,zero
lui s4,0x8000
addiu s4,s4,0x3
li s6,-0x4
addiu s8,sp,0x20
lw s7,-0x7950(gp)
b 0x0005be84
_addiu s7,s7,-0x5aa0
sb zero,0x28(sp)
sw v0,0x1c(sp)
b 0x0005bce4
_addiu s2,sp,0x28
b 0x0005be00
_addiu v1,a0,0x3
subu v0,t0,v0
sll v0,v0,0x3
sllv v0,a1,v0
sll v1,v1,0x2
addiu a1,sp,0x30
addu v1,a1,v1
lw v1,-0x10(v1)
xor v0,v0,v1
addiu a0,a0,0x1
beq a0,a3,0x0005be44
_sw v0,-0x10(a2)
bltz a0,0x0005bdc4
_or v1,a0,zero
sra v1,v1,0x2
sll a2,v1,0x2
addiu v0,sp,0x30
addu a2,v0,a2
addu v0,s1,a0
teq s0,zero
div v0,s0
mfhi v0
addu v0,s2,v0
lbu a1,0x0(v0)
and v0,a0,s4
bgez v0,0x0005bdcc
_nop
addiu v0,v0,-0x1
or v0,v0,s6
b 0x0005bdcc
_addiu v0,v0,0x1
addiu s1,s1,0x8
or a3,s3,zero
or a2,s8,zero
lw a1,0x24(sp)
lw a0,0x20(sp)
or t9,s7,zero
bal 0x0005a560
_nop
lw gp,0x10(sp)
lw v0,0x20(sp)
sw v0,0x0(s5)
lw v0,0x24(sp)
sw v0,0x4(s5)
li v0,0x48
beq s1,v0,0x0005bf88
_addiu s5,s5,0x8
or a0,zero,zero
lw s0,0x1c(sp)
li t0,0x3
b 0x0005bdf8
_li a3,0x8
b 0x0005bed4
_addiu v1,a0,0x3
subu v0,t0,v0
sll v0,v0,0x3
sllv v0,a1,v0
sll v1,v1,0x2
addiu a1,sp,0x30
addu v1,a1,v1
lw v1,-0x10(v1)
xor v0,v0,v1
addiu a0,a0,0x1
beq a0,a3,0x0005bf18
_sw v0,-0x10(a2)
bltz a0,0x0005be98
_or v1,a0,zero
sra v1,v1,0x2
sll a2,v1,0x2
addiu v0,sp,0x30
addu a2,v0,a2
addu v0,a0,s1
teq s0,zero
div v0,s0
mfhi v0
addu v0,s2,v0
lbu a1,0x0(v0)
and v0,a0,s4
bgez v0,0x0005bea0
_nop
addiu v0,v0,-0x1
or v0,v0,s6
b 0x0005bea0
_addiu v0,v0,0x1
addiu s1,s1,0x8
or a3,s3,zero
or a2,s8,zero
lw a1,0x24(sp)
lw a0,0x20(sp)
or t9,s7,zero
bal 0x0005a560
_nop
lw gp,0x10(sp)
lw v0,0x20(sp)
sw v0,0x0(s5)
lw v0,0x24(sp)
sw v0,0x4(s5)
li v0,0x448
beq s1,v0,0x0005bf68
_addiu s5,s5,0x8
or a0,zero,zero
li t0,0x3
b 0x0005becc
_li a3,0x8
addiu s5,s3,0x400
lui s4,0x8000
addiu s4,s4,0x3
li s6,-0x4
addiu s8,sp,0x20
lw s7,-0x7950(gp)
b 0x0005c068
_addiu s7,s7,-0x5aa0
or s5,s3,zero
lui s4,0x8000
addiu s4,s4,0x3
li s6,-0x4
addiu s8,sp,0x20
lw s7,-0x7950(gp)
b 0x0005bf58
_addiu s7,s7,-0x5aa0
b 0x0005bfe4
_addiu v1,a0,0x3
subu v0,t0,v0
sll v0,v0,0x3
sllv v0,a1,v0
sll v1,v1,0x2
addiu a1,sp,0x30
addu v1,a1,v1
lw v1,-0x10(v1)
xor v0,v0,v1
addiu a0,a0,0x1
beq a0,a3,0x0005c028
_sw v0,-0x10(a2)
bltz a0,0x0005bfa8
_or v1,a0,zero
sra v1,v1,0x2
sll a2,v1,0x2
addiu v0,sp,0x30
addu a2,v0,a2
addu v0,s1,a0
teq s0,zero
div v0,s0
mfhi v0
addu v0,s2,v0
lbu a1,0x0(v0)
and v0,a0,s4
bgez v0,0x0005bfb0
_nop
addiu v0,v0,-0x1
or v0,v0,s6
b 0x0005bfb0
_addiu v0,v0,0x1
addiu s1,s1,0x8
or a3,s3,zero
or a2,s8,zero
lw a1,0x24(sp)
lw a0,0x20(sp)
or t9,s7,zero
bal 0x0005a560
_nop
lw gp,0x10(sp)
lw v0,0x20(sp)
sw v0,0x0(s5)
lw v0,0x24(sp)
sw v0,0x4(s5)
li v0,0x848
beq s1,v0,0x0005c168
_addiu s5,s5,0x8
or a0,zero,zero
li t0,0x3
b 0x0005bfdc
_li a3,0x8
b 0x0005c0b4
_addiu v1,a0,0x3
subu v0,t0,v0
sll v0,v0,0x3
sllv v0,a1,v0
sll v1,v1,0x2
addiu a1,sp,0x30
addu v1,a1,v1
lw v1,-0x10(v1)
xor v0,v0,v1
addiu a0,a0,0x1
beq a0,a3,0x0005c0f8
_sw v0,-0x10(a2)
bltz a0,0x0005c078
_or v1,a0,zero
sra v1,v1,0x2
sll a2,v1,0x2
addiu v0,sp,0x30
addu a2,v0,a2
addu v0,s1,a0
teq s0,zero
div v0,s0
mfhi v0
addu v0,s2,v0
lbu a1,0x0(v0)
and v0,a0,s4
bgez v0,0x0005c080
_nop
addiu v0,v0,-0x1
or v0,v0,s6
b 0x0005c080
_addiu v0,v0,0x1
addiu s1,s1,0x8
or a3,s3,zero
or a2,s8,zero
lw a1,0x24(sp)
lw a0,0x20(sp)
or t9,s7,zero
bal 0x0005a560
_nop
lw gp,0x10(sp)
lw v0,0x20(sp)
sw v0,0x0(s5)
lw v0,0x24(sp)
sw v0,0x4(s5)
li v0,0xc48
beq s1,v0,0x0005c148
_addiu s5,s5,0x8
or a0,zero,zero
li t0,0x3
b 0x0005c0ac
_li a3,0x8
addiu s5,s3,0xc00
lui s4,0x8000
addiu s4,s4,0x3
li s6,-0x4
addiu s8,sp,0x20
lw s7,-0x7950(gp)
b 0x0005c248
_addiu s7,s7,-0x5aa0
addiu s5,s3,0x800
lui s4,0x8000
addiu s4,s4,0x3
li s6,-0x4
addiu s8,sp,0x20
lw s7,-0x7950(gp)
b 0x0005c138
_addiu s7,s7,-0x5aa0
b 0x0005c1c4
_addiu v1,a0,0x3
subu v0,t0,v0
sll v0,v0,0x3
sllv v0,a1,v0
sll v1,v1,0x2
addiu a1,sp,0x30
addu v1,a1,v1
lw v1,-0x10(v1)
xor v0,v0,v1
addiu a0,a0,0x1
beq a0,a3,0x0005c208
_sw v0,-0x10(a2)
bltz a0,0x0005c188
_or v1,a0,zero
sra v1,v1,0x2
sll a2,v1,0x2
addiu v0,sp,0x30
addu a2,v0,a2
addu v0,s1,a0
teq s0,zero
div v0,s0
mfhi v0
addu v0,s2,v0
lbu a1,0x0(v0)
and v0,a0,s4
bgez v0,0x0005c190
_nop
addiu v0,v0,-0x1
or v0,v0,s6
b 0x0005c190
_addiu v0,v0,0x1
addiu s1,s1,0x8
or a3,s3,zero
or a2,s8,zero
lw a1,0x24(sp)
lw a0,0x20(sp)
or t9,s7,zero
bal 0x0005a560
_nop
lw gp,0x10(sp)
lw v0,0x20(sp)
sw v0,0x0(s5)
lw v0,0x24(sp)
sw v0,0x4(s5)
li v0,0x1048
beq s1,v0,0x0005c258
_addiu s5,s5,0x8
or a0,zero,zero
li t0,0x3
b 0x0005c1bc
_li a3,0x8
lw v1,0x2c(sp)
lw v0,-0x7478(gp)
lw v0,0x0(v0)
bne v1,v0,0x0005c298
_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
lw t9,-0x74a0(gp)
jalr t9
_nop
(translation_unit "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}\n\n" (function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" primitive_type (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" identifier (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "short param_5" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "uint local_38 [2];" type_identifier (array_declarator "local_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_3c = (int)param_5;" (assignment_expression "local_3c = (int)param_5" identifier = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000bccd8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000bccd8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" if (parenthesized_expression "(param_4 == (undefined1 *)0x0)" ( (binary_expression "param_4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" { (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" identifier = identifier) ;) })) (expression_statement "puVar6 = param_1 + 0x400;" (assignment_expression "puVar6 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  }" { (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar1 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 % param_3)" ( (binary_expression "param_2 + iVar1 % param_3" identifier + (binary_expression "iVar1 % param_3" identifier % identifier)) )))) << number_literal) ^ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" identifier = (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + (iVar1 + 1) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 1) % param_3)" ( (binary_expression "param_2 + (iVar1 + 1) % param_3" identifier + (binary_expression "(iVar1 + 1) % param_3" (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )) % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" identifier = (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + (iVar1 + 2) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 2) % param_3)" ( (binary_expression "param_2 + (iVar1 + 2) % param_3" identifier + (binary_expression "(iVar1 + 2) % param_3" (parenthesized_expression "(iVar1 + 2)" ( (binary_expression "iVar1 + 2" identifier + number_literal) )) % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;" (assignment_expression "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*puVar4" * identifier) = (binary_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3)" * (cast_expression "(byte *)(param_2 + (iVar1 + 3) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 3) % param_3)" ( (binary_expression "param_2 + (iVar1 + 3) % param_3" identifier + (binary_expression "(iVar1 + 3) % param_3" (parenthesized_expression "(iVar1 + 3)" ( (binary_expression "iVar1 + 3" identifier + number_literal) )) % identifier)) )))) ^ identifier)) ;) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar6 = local_38[0];" (assignment_expression "*puVar6 = local_38[0]" (pointer_expression "*puVar6" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = local_38[1];" (assignment_expression "puVar6[1] = local_38[1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = uVar7 + iVar1;" (assignment_expression "iVar2 = uVar7 + iVar1" identifier = (binary_expression "uVar7 + iVar1" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x448)" ( (binary_expression "iVar1 != 0x448" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" identifier = (binary_expression "param_1 + 0x100" identifier + number_literal)) ;) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x848)" ( (binary_expression "iVar1 != 0x848" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" identifier = (binary_expression "param_1 + 0x200" identifier + number_literal)) ;) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0xc48)" ( (binary_expression "iVar1 != 0xc48" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" identifier = (binary_expression "param_1 + 0x300" identifier + number_literal)) ;) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "uVar7 = local_38[0];" (assignment_expression "uVar7 = local_38[0]" identifier = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = local_38[1];" (assignment_expression "uVar5 = local_38[1]" identifier = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = local_38;" (assignment_expression "puVar6 = local_38" identifier = identifier) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x1048)" ( (binary_expression "iVar1 != 0x1048" identifier != number_literal) )) ;) (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_000bccd8)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_000bccd8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (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_000bccb0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bccb0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bccb0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bccb0" * (cast_expression "(code *)PTR___stack_chk_fail_000bccb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "blowfish_initkey();" (call_expression "blowfish_initkey()" identifier (argument_list "()" ( ))) ;) (expression_statement "blowfish_expandkey(uVar7,uVar5,puVar6,0,0);" (call_expression "blowfish_expandkey(uVar7,uVar5,puVar6,0,0)" identifier (argument_list "(uVar7,uVar5,puVar6,0,0)" ( identifier , identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  word32 *pwVar4;\n  uint uVar5;\n  BlowfishContext *pBVar6;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  word32 *pwVar7;\n  uint uVar8;\n  int iVar9;\n  int local_3c;\n  word32 str [2];\n  uchar dummysalt [1];\n  short keybytes_00;\n  \n  iVar9 = CONCAT22(in_register_00000018,keybytes);\n  local_3c = (int)saltbytes;\n  iVar1 = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    local_3c = 1;\n    salt = dummysalt;\n  }\n  pwVar7 = ctx->P;\n  iVar2 = 0;\n  pwVar4 = pwVar7;\n  do {\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;\n    iVar2 = iVar2 + 4;\n    pwVar4 = pwVar4 + 1;\n  } while (iVar2 != 0x48);\n  str[1] = 0;\n  str[0] = 0;\n  iVar9 = 0;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar7 = str[0];\n    pwVar7[1] = str[1];\n    pwVar7 = pwVar7 + 2;\n  } while (iVar9 != 0x48);\n  iVar9 = 0x48;\n  pBVar6 = ctx;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    pBVar6->S0[0] = str[0];\n    pBVar6->S0[1] = str[1];\n    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);\n  } while (iVar9 != 0x448);\n  pwVar4 = ctx->S1;\n  iVar9 = 0x448;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n  } while (iVar9 != 0x848);\n  pwVar4 = ctx->S2;\n  iVar9 = 0x848;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n    if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }\n  } while( true );\n}\n\n" (function_definition "void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  word32 *pwVar4;\n  uint uVar5;\n  BlowfishContext *pBVar6;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  word32 *pwVar7;\n  uint uVar8;\n  int iVar9;\n  int local_3c;\n  word32 str [2];\n  uchar dummysalt [1];\n  short keybytes_00;\n  \n  iVar9 = CONCAT22(in_register_00000018,keybytes);\n  local_3c = (int)saltbytes;\n  iVar1 = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    local_3c = 1;\n    salt = dummysalt;\n  }\n  pwVar7 = ctx->P;\n  iVar2 = 0;\n  pwVar4 = pwVar7;\n  do {\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;\n    iVar2 = iVar2 + 4;\n    pwVar4 = pwVar4 + 1;\n  } while (iVar2 != 0x48);\n  str[1] = 0;\n  str[0] = 0;\n  iVar9 = 0;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar7 = str[0];\n    pwVar7[1] = str[1];\n    pwVar7 = pwVar7 + 2;\n  } while (iVar9 != 0x48);\n  iVar9 = 0x48;\n  pBVar6 = ctx;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    pBVar6->S0[0] = str[0];\n    pBVar6->S0[1] = str[1];\n    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);\n  } while (iVar9 != 0x448);\n  pwVar4 = ctx->S1;\n  iVar9 = 0x448;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n  } while (iVar9 != 0x848);\n  pwVar4 = ctx->S2;\n  iVar9 = 0x848;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n    if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }\n  } while( true );\n}" primitive_type (function_declarator "blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)" identifier (parameter_list "(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)" ( (parameter_declaration "BlowfishContext *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "short keybytes" (sized_type_specifier "short" short) identifier) , (parameter_declaration "uchar *salt" type_identifier (pointer_declarator "*salt" * identifier)) , (parameter_declaration "short saltbytes" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  word32 *pwVar4;\n  uint uVar5;\n  BlowfishContext *pBVar6;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  word32 *pwVar7;\n  uint uVar8;\n  int iVar9;\n  int local_3c;\n  word32 str [2];\n  uchar dummysalt [1];\n  short keybytes_00;\n  \n  iVar9 = CONCAT22(in_register_00000018,keybytes);\n  local_3c = (int)saltbytes;\n  iVar1 = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    local_3c = 1;\n    salt = dummysalt;\n  }\n  pwVar7 = ctx->P;\n  iVar2 = 0;\n  pwVar4 = pwVar7;\n  do {\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;\n    iVar2 = iVar2 + 4;\n    pwVar4 = pwVar4 + 1;\n  } while (iVar2 != 0x48);\n  str[1] = 0;\n  str[0] = 0;\n  iVar9 = 0;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar7 = str[0];\n    pwVar7[1] = str[1];\n    pwVar7 = pwVar7 + 2;\n  } while (iVar9 != 0x48);\n  iVar9 = 0x48;\n  pBVar6 = ctx;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    pBVar6->S0[0] = str[0];\n    pBVar6->S0[1] = str[1];\n    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);\n  } while (iVar9 != 0x448);\n  pwVar4 = ctx->S1;\n  iVar9 = 0x448;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n  } while (iVar9 != 0x848);\n  pwVar4 = ctx->S2;\n  iVar9 = 0x848;\n  do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n    if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "word32 *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "BlowfishContext *pBVar6;" type_identifier (pointer_declarator "*pBVar6" * identifier) ;) (declaration "uchar *key_00;" type_identifier (pointer_declarator "*key_00" * identifier) ;) (declaration "undefined2 in_register_00000018;" type_identifier identifier ;) (declaration "word32 *pwVar7;" type_identifier (pointer_declarator "*pwVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "word32 str [2];" type_identifier (array_declarator "str [2]" identifier [ number_literal ]) ;) (declaration "uchar dummysalt [1];" type_identifier (array_declarator "dummysalt [1]" identifier [ number_literal ]) ;) (declaration "short keybytes_00;" (sized_type_specifier "short" short) identifier ;) (expression_statement "iVar9 = CONCAT22(in_register_00000018,keybytes);" (assignment_expression "iVar9 = CONCAT22(in_register_00000018,keybytes)" identifier = (call_expression "CONCAT22(in_register_00000018,keybytes)" identifier (argument_list "(in_register_00000018,keybytes)" ( identifier , identifier )))) ;) (expression_statement "local_3c = (int)saltbytes;" (assignment_expression "local_3c = (int)saltbytes" identifier = (cast_expression "(int)saltbytes" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000bccd8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000bccd8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    local_3c = 1;\n    salt = dummysalt;\n  }" if (parenthesized_expression "(salt == (uchar *)0x0)" ( (binary_expression "salt == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dummysalt[0] = '\0';\n    local_3c = 1;\n    salt = dummysalt;\n  }" { (expression_statement "dummysalt[0] = '\0';" (assignment_expression "dummysalt[0] = '\0'" (subscript_expression "dummysalt[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "salt = dummysalt;" (assignment_expression "salt = dummysalt" identifier = identifier) ;) })) (expression_statement "pwVar7 = ctx->P;" (assignment_expression "pwVar7 = ctx->P" identifier = (field_expression "ctx->P" identifier -> field_identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pwVar4 = pwVar7;" (assignment_expression "pwVar4 = pwVar7" identifier = identifier) ;) (do_statement "do {\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;\n    iVar2 = iVar2 + 4;\n    pwVar4 = pwVar4 + 1;\n  } while (iVar2 != 0x48);" do (compound_statement "{\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;\n    *pwVar4 = uVar8;\n    if (iVar9 == 0) {\n      trap(7);\n    }\n    *pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;\n    iVar2 = iVar2 + 4;\n    pwVar4 = pwVar4 + 1;\n  }" { (if_statement "if (iVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4;" (assignment_expression "uVar8 = (uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4" identifier = (binary_expression "(uint)key[iVar2 % iVar9] << 0x18 ^ *pwVar4" (binary_expression "(uint)key[iVar2 % iVar9] << 0x18" (cast_expression "(uint)key[iVar2 % iVar9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[iVar2 % iVar9]" identifier [ (binary_expression "iVar2 % iVar9" identifier % identifier) ])) << number_literal) ^ (pointer_expression "*pwVar4" * identifier))) ;) (expression_statement "*pwVar4 = uVar8;" (assignment_expression "*pwVar4 = uVar8" (pointer_expression "*pwVar4" * identifier) = identifier) ;) (if_statement "if (iVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8;" (assignment_expression "uVar8 = (uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8" identifier = (binary_expression "(uint)key[(iVar2 + 1) % iVar9] << 0x10 ^ uVar8" (binary_expression "(uint)key[(iVar2 + 1) % iVar9] << 0x10" (cast_expression "(uint)key[(iVar2 + 1) % iVar9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[(iVar2 + 1) % iVar9]" identifier [ (binary_expression "(iVar2 + 1) % iVar9" (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )) % identifier) ])) << number_literal) ^ identifier)) ;) (expression_statement "*pwVar4 = uVar8;" (assignment_expression "*pwVar4 = uVar8" (pointer_expression "*pwVar4" * identifier) = identifier) ;) (if_statement "if (iVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8;" (assignment_expression "uVar8 = (uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8" identifier = (binary_expression "(uint)key[(iVar2 + 2) % iVar9] << 8 ^ uVar8" (binary_expression "(uint)key[(iVar2 + 2) % iVar9] << 8" (cast_expression "(uint)key[(iVar2 + 2) % iVar9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[(iVar2 + 2) % iVar9]" identifier [ (binary_expression "(iVar2 + 2) % iVar9" (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) )) % identifier) ])) << number_literal) ^ identifier)) ;) (expression_statement "*pwVar4 = uVar8;" (assignment_expression "*pwVar4 = uVar8" (pointer_expression "*pwVar4" * identifier) = identifier) ;) (if_statement "if (iVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "*pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8;" (assignment_expression "*pwVar4 = key[(iVar2 + 3) % iVar9] ^ uVar8" (pointer_expression "*pwVar4" * identifier) = (binary_expression "key[(iVar2 + 3) % iVar9] ^ uVar8" (subscript_expression "key[(iVar2 + 3) % iVar9]" identifier [ (binary_expression "(iVar2 + 3) % iVar9" (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) )) % identifier) ]) ^ identifier)) ;) (expression_statement "iVar2 = iVar2 + 4;" (assignment_expression "iVar2 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" identifier = (binary_expression "pwVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x48)" ( (binary_expression "iVar2 != 0x48" identifier != number_literal) )) ;) (expression_statement "str[1] = 0;" (assignment_expression "str[1] = 0" (subscript_expression "str[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "str[0] = 0;" (assignment_expression "str[0] = 0" (subscript_expression "str[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar7 = str[0];\n    pwVar7[1] = str[1];\n    pwVar7 = pwVar7 + 2;\n  } while (iVar9 != 0x48);" do (compound_statement "{\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar7 = str[0];\n    pwVar7[1] = str[1];\n    pwVar7 = pwVar7 + 2;\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);" do (compound_statement "{\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (if_statement "if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar8 + 3;\n      }" { (expression_statement "uVar5 = uVar8 + 3;" (assignment_expression "uVar5 = uVar8 + 3" identifier = (binary_expression "uVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar9 + uVar8;" (assignment_expression "iVar2 = iVar9 + uVar8" identifier = (binary_expression "iVar9 + uVar8" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar8 & 0x80000003;" (assignment_expression "uVar3 = uVar8 & 0x80000003" identifier = (binary_expression "uVar8 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];" (assignment_expression "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)salt[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ])) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar8 != 8)" ( (binary_expression "uVar8 != 8" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 + 8;" (assignment_expression "iVar9 = iVar9 + 8" identifier = (binary_expression "iVar9 + 8" identifier + number_literal)) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*pwVar7 = str[0];" (assignment_expression "*pwVar7 = str[0]" (pointer_expression "*pwVar7" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar7[1] = str[1];" (assignment_expression "pwVar7[1] = str[1]" (subscript_expression "pwVar7[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar7 = pwVar7 + 2;" (assignment_expression "pwVar7 = pwVar7 + 2" identifier = (binary_expression "pwVar7 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != 0x48)" ( (binary_expression "iVar9 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar9 = 0x48;" (assignment_expression "iVar9 = 0x48" identifier = number_literal) ;) (expression_statement "pBVar6 = ctx;" (assignment_expression "pBVar6 = ctx" identifier = identifier) ;) (do_statement "do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    pBVar6->S0[0] = str[0];\n    pBVar6->S0[1] = str[1];\n    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);\n  } while (iVar9 != 0x448);" do (compound_statement "{\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    pBVar6->S0[0] = str[0];\n    pBVar6->S0[1] = str[1];\n    pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);" do (compound_statement "{\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = uVar8 + iVar9;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (if_statement "if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar8 + 3;\n      }" { (expression_statement "uVar5 = uVar8 + 3;" (assignment_expression "uVar5 = uVar8 + 3" identifier = (binary_expression "uVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = uVar8 + iVar9;" (assignment_expression "iVar2 = uVar8 + iVar9" identifier = (binary_expression "uVar8 + iVar9" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar8 & 0x80000003;" (assignment_expression "uVar3 = uVar8 & 0x80000003" identifier = (binary_expression "uVar8 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];" (assignment_expression "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)salt[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ])) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar8 != 8)" ( (binary_expression "uVar8 != 8" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 + 8;" (assignment_expression "iVar9 = iVar9 + 8" identifier = (binary_expression "iVar9 + 8" identifier + number_literal)) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "pBVar6->S0[0] = str[0];" (assignment_expression "pBVar6->S0[0] = str[0]" (subscript_expression "pBVar6->S0[0]" (field_expression "pBVar6->S0" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pBVar6->S0[1] = str[1];" (assignment_expression "pBVar6->S0[1] = str[1]" (subscript_expression "pBVar6->S0[1]" (field_expression "pBVar6->S0" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2);" (assignment_expression "pBVar6 = (BlowfishContext *)(pBVar6->S0 + 2)" identifier = (cast_expression "(BlowfishContext *)(pBVar6->S0 + 2)" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pBVar6->S0 + 2)" ( (binary_expression "pBVar6->S0 + 2" (field_expression "pBVar6->S0" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(iVar9 != 0x448)" ( (binary_expression "iVar9 != 0x448" identifier != number_literal) )) ;) (expression_statement "pwVar4 = ctx->S1;" (assignment_expression "pwVar4 = ctx->S1" identifier = (field_expression "ctx->S1" identifier -> field_identifier)) ;) (expression_statement "iVar9 = 0x448;" (assignment_expression "iVar9 = 0x448" identifier = number_literal) ;) (do_statement "do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n  } while (iVar9 != 0x848);" do (compound_statement "{\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);" do (compound_statement "{\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (if_statement "if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar8 + 3;\n      }" { (expression_statement "uVar5 = uVar8 + 3;" (assignment_expression "uVar5 = uVar8 + 3" identifier = (binary_expression "uVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar9 + uVar8;" (assignment_expression "iVar2 = iVar9 + uVar8" identifier = (binary_expression "iVar9 + uVar8" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar8 & 0x80000003;" (assignment_expression "uVar3 = uVar8 & 0x80000003" identifier = (binary_expression "uVar8 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];" (assignment_expression "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)salt[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ])) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar8 != 8)" ( (binary_expression "uVar8 != 8" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 + 8;" (assignment_expression "iVar9 = iVar9 + 8" identifier = (binary_expression "iVar9 + 8" identifier + number_literal)) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*pwVar4 = str[0];" (assignment_expression "*pwVar4 = str[0]" (pointer_expression "*pwVar4" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar4[1] = str[1];" (assignment_expression "pwVar4[1] = str[1]" (subscript_expression "pwVar4[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar4 = pwVar4 + 2;" (assignment_expression "pwVar4 = pwVar4 + 2" identifier = (binary_expression "pwVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != 0x848)" ( (binary_expression "iVar9 != 0x848" identifier != number_literal) )) ;) (expression_statement "pwVar4 = ctx->S2;" (assignment_expression "pwVar4 = ctx->S2" identifier = (field_expression "ctx->S2" identifier -> field_identifier)) ;) (expression_statement "iVar9 = 0x848;" (assignment_expression "iVar9 = 0x848" identifier = number_literal) ;) (do_statement "do {\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n    if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }\n  } while( true );" do (compound_statement "{\n    uVar8 = 0;\n    do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);\n    iVar9 = iVar9 + 8;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    *pwVar4 = str[0];\n    pwVar4[1] = str[1];\n    pwVar4 = pwVar4 + 2;\n    if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    } while (uVar8 != 8);" do (compound_statement "{\n      uVar5 = uVar8;\n      if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }\n      iVar2 = iVar9 + uVar8;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar8 & 0x80000003;\n      if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }\n      uVar8 = uVar8 + 1;\n      str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (if_statement "if ((int)uVar8 < 0) {\n        uVar5 = uVar8 + 3;\n      }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar8 + 3;\n      }" { (expression_statement "uVar5 = uVar8 + 3;" (assignment_expression "uVar5 = uVar8 + 3" identifier = (binary_expression "uVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar9 + uVar8;" (assignment_expression "iVar2 = iVar9 + uVar8" identifier = (binary_expression "iVar9 + uVar8" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar8 & 0x80000003;" (assignment_expression "uVar3 = uVar8 & 0x80000003" identifier = (binary_expression "uVar8 & 0x80000003" identifier & number_literal)) ;) (if_statement "if ((int)uVar3 < 0) {\n        FUN_0005c080();\n        return;\n      }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        FUN_0005c080();\n        return;\n      }" { (expression_statement "FUN_0005c080();" (call_expression "FUN_0005c080()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];" (assignment_expression "str[(int)uVar5 >> 2] =\n           (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)salt[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ])) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar8 != 8)" ( (binary_expression "uVar8 != 8" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 + 8;" (assignment_expression "iVar9 = iVar9 + 8" identifier = (binary_expression "iVar9 + 8" identifier + number_literal)) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*pwVar4 = str[0];" (assignment_expression "*pwVar4 = str[0]" (pointer_expression "*pwVar4" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar4[1] = str[1];" (assignment_expression "pwVar4[1] = str[1]" (subscript_expression "pwVar4[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar4 = pwVar4 + 2;" (assignment_expression "pwVar4 = pwVar4 + 2" identifier = (binary_expression "pwVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0xc48) {\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }" if (parenthesized_expression "(iVar9 == 0xc48)" ( (binary_expression "iVar9 == 0xc48" identifier == number_literal) )) (compound_statement "{\n      pwVar4 = ctx->S3;\n      iVar9 = 0xc48;\n      do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );\n    }" { (expression_statement "pwVar4 = ctx->S3;" (assignment_expression "pwVar4 = ctx->S3" identifier = (field_expression "ctx->S3" identifier -> field_identifier)) ;) (expression_statement "iVar9 = 0xc48;" (assignment_expression "iVar9 = 0xc48" identifier = number_literal) ;) (do_statement "do {\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      } while( true );" do (compound_statement "{\n        uVar8 = 0;\n        do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);\n        iVar9 = iVar9 + 8;\n        pBVar6 = (BlowfishContext *)str[0];\n        key_00 = (uchar *)str[1];\n        pwVar7 = str;\n        blowfish_encrypt(str[0],str[1],str,ctx);\n        keybytes_00 = (short)pwVar7;\n        *pwVar4 = str[0];\n        pwVar4[1] = str[1];\n        pwVar4 = pwVar4 + 2;\n        if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }\n      }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        } while (uVar8 != 8);" do (compound_statement "{\n          uVar5 = uVar8;\n          if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }\n          iVar2 = iVar9 + uVar8;\n          if (local_3c == 0) {\n            trap(7);\n          }\n          uVar3 = uVar8 & 0x80000003;\n          if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }\n          uVar8 = uVar8 + 1;\n          str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];\n        }" { (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (if_statement "if ((int)uVar8 < 0) {\n            uVar5 = uVar8 + 3;\n          }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar5 = uVar8 + 3;\n          }" { (expression_statement "uVar5 = uVar8 + 3;" (assignment_expression "uVar5 = uVar8 + 3" identifier = (binary_expression "uVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar9 + uVar8;" (assignment_expression "iVar2 = iVar9 + uVar8" identifier = (binary_expression "iVar9 + uVar8" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n            trap(7);\n          }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n            trap(7);\n          }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar8 & 0x80000003;" (assignment_expression "uVar3 = uVar8 & 0x80000003" identifier = (binary_expression "uVar8 & 0x80000003" identifier & number_literal)) ;) (if_statement "if ((int)uVar3 < 0) {\n            FUN_0005c190();\n            return;\n          }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            FUN_0005c190();\n            return;\n          }" { (expression_statement "FUN_0005c190();" (call_expression "FUN_0005c190()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2];" (assignment_expression "str[(int)uVar5 >> 2] =\n               (uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^ str[(int)uVar5 >> 2]" (binary_expression "(uint)salt[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)salt[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ])) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "str[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar8 != 8)" ( (binary_expression "uVar8 != 8" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 + 8;" (assignment_expression "iVar9 = iVar9 + 8" identifier = (binary_expression "iVar9 + 8" identifier + number_literal)) ;) (expression_statement "pBVar6 = (BlowfishContext *)str[0];" (assignment_expression "pBVar6 = (BlowfishContext *)str[0]" identifier = (cast_expression "(BlowfishContext *)str[0]" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "str[0]" identifier [ number_literal ]))) ;) (expression_statement "key_00 = (uchar *)str[1];" (assignment_expression "key_00 = (uchar *)str[1]" identifier = (cast_expression "(uchar *)str[1]" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "str[1]" identifier [ number_literal ]))) ;) (expression_statement "pwVar7 = str;" (assignment_expression "pwVar7 = str" identifier = identifier) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "keybytes_00 = (short)pwVar7;" (assignment_expression "keybytes_00 = (short)pwVar7" identifier = (cast_expression "(short)pwVar7" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "*pwVar4 = str[0];" (assignment_expression "*pwVar4 = str[0]" (pointer_expression "*pwVar4" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar4[1] = str[1];" (assignment_expression "pwVar4[1] = str[1]" (subscript_expression "pwVar4[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar4 = pwVar4 + 2;" (assignment_expression "pwVar4 = pwVar4 + 2" identifier = (binary_expression "pwVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0x1048) {\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }" if (parenthesized_expression "(iVar9 == 0x1048)" ( (binary_expression "iVar9 == 0x1048" identifier == number_literal) )) (compound_statement "{\n          if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }\n          (*(code *)PTR___stack_chk_fail_000bccb0)();\n          blowfish_initkey(pBVar6);\n          blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);\n          return;\n        }" { (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_000bccd8) {\n            return;\n          }" if (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_000bccd8)" ( (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_000bccd8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (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_000bccb0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bccb0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bccb0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bccb0" * (cast_expression "(code *)PTR___stack_chk_fail_000bccb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "blowfish_initkey(pBVar6);" (call_expression "blowfish_initkey(pBVar6)" identifier (argument_list "(pBVar6)" ( identifier ))) ;) (expression_statement "blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0);" (call_expression "blowfish_expandkey(pBVar6,key_00,keybytes_00,(uchar *)0x0,0)" identifier (argument_list "(pBVar6,key_00,keybytes_00,(uchar *)0x0,0)" ( identifier , identifier , identifier , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}\n\n" (function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" primitive_type (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" identifier (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "short param_5" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "uint local_38 [2];" type_identifier (array_declarator "local_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_3c = (int)param_5;" (assignment_expression "local_3c = (int)param_5" identifier = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000bccd8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000bccd8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" if (parenthesized_expression "(param_4 == (undefined1 *)0x0)" ( (binary_expression "param_4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" { (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" identifier = number_literal) ;) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" identifier = identifier) ;) })) (expression_statement "puVar6 = param_1 + 0x400;" (assignment_expression "puVar6 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  }" { (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar1 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 % param_3)" ( (binary_expression "param_2 + iVar1 % param_3" identifier + (binary_expression "iVar1 % param_3" identifier % identifier)) )))) << number_literal) ^ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" identifier = (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + (iVar1 + 1) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 1) % param_3)" ( (binary_expression "param_2 + (iVar1 + 1) % param_3" identifier + (binary_expression "(iVar1 + 1) % param_3" (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )) % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" identifier = (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + (iVar1 + 2) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 2) % param_3)" ( (binary_expression "param_2 + (iVar1 + 2) % param_3" identifier + (binary_expression "(iVar1 + 2) % param_3" (parenthesized_expression "(iVar1 + 2)" ( (binary_expression "iVar1 + 2" identifier + number_literal) )) % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;" (assignment_expression "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*puVar4" * identifier) = (binary_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3)" * (cast_expression "(byte *)(param_2 + (iVar1 + 3) % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (iVar1 + 3) % param_3)" ( (binary_expression "param_2 + (iVar1 + 3) % param_3" identifier + (binary_expression "(iVar1 + 3) % param_3" (parenthesized_expression "(iVar1 + 3)" ( (binary_expression "iVar1 + 3" identifier + number_literal) )) % identifier)) )))) ^ identifier)) ;) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar6 = local_38[0];" (assignment_expression "*puVar6 = local_38[0]" (pointer_expression "*puVar6" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = local_38[1];" (assignment_expression "puVar6[1] = local_38[1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = uVar7 + iVar1;" (assignment_expression "iVar2 = uVar7 + iVar1" identifier = (binary_expression "uVar7 + iVar1" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x448)" ( (binary_expression "iVar1 != 0x448" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" identifier = (binary_expression "param_1 + 0x100" identifier + number_literal)) ;) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x848)" ( (binary_expression "iVar1 != 0x848" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" identifier = (binary_expression "param_1 + 0x200" identifier + number_literal)) ;) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0xc48)" ( (binary_expression "iVar1 != 0xc48" identifier != number_literal) )) ;) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" identifier = (binary_expression "param_1 + 0x300" identifier + number_literal)) ;) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" identifier = number_literal) ;) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" do (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" do (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" { (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" { (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) })) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" identifier = (binary_expression "iVar1 + uVar7" identifier + identifier)) ;) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" identifier = (binary_expression "uVar7 & 0x80000003" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]) = (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar2 % local_3c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar2 % local_3c]" identifier [ (binary_expression "iVar2 % local_3c" identifier % identifier) ]))) << (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" ( (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" ( (binary_expression "3 - uVar3" number_literal - identifier) )) * number_literal) & number_literal) ))) ^ (subscript_expression "local_38[(int)uVar5 >> 2]" identifier [ (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ]))) ;) }) while (parenthesized_expression "(uVar7 != 8)" ( (binary_expression "uVar7 != 8" identifier != number_literal) )) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "uVar7 = local_38[0];" (assignment_expression "uVar7 = local_38[0]" identifier = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = local_38[1];" (assignment_expression "uVar5 = local_38[1]" identifier = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = local_38;" (assignment_expression "puVar6 = local_38" identifier = identifier) ;) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" identifier (argument_list "(local_38[0],local_38[1],local_38,param_1)" ( (subscript_expression "local_38[0]" identifier [ number_literal ]) , (subscript_expression "local_38[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x1048)" ( (binary_expression "iVar1 != 0x1048" identifier != number_literal) )) ;) (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_000bccd8)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_000bccd8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" * (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" ( (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_000bccb0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bccb0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bccb0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bccb0" * (cast_expression "(code *)PTR___stack_chk_fail_000bccb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "blowfish_initkey();" (call_expression "blowfish_initkey()" identifier (argument_list "()" ( ))) ;) (expression_statement "blowfish_expandkey(uVar7,uVar5,puVar6,0,0);" (call_expression "blowfish_expandkey(uVar7,uVar5,puVar6,0,0)" identifier (argument_list "(uVar7,uVar5,puVar6,0,0)" ( identifier , identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier short) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT % IDENT)) )))) << LIT) ^ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) % IDENT)) )))) << LIT) ^ IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) % IDENT)) )))) << LIT) ^ IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) % IDENT)) )))) ^ IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT) & LIT) ))) ^ (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT) & LIT) ))) ^ (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT) & LIT) ))) ^ (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT) & LIT) ))) ^ (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - IDENT) )) * LIT) & LIT) ))) ^ (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (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 IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" (primitive_type "void") (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" (identifier "blowfish_expandkey") (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined1 *param_4" (type_identifier "undefined1") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "short param_5" (sized_type_specifier "short" (short "short")) (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint *puVar6;\n  uint uVar7;\n  int local_3c;\n  uint local_38 [2];\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  local_3c = (int)param_5;\n  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }\n  puVar6 = param_1 + 0x400;\n  iVar1 = 0;\n  puVar4 = puVar6;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  local_38[1] = 0;\n  local_38[0] = 0;\n  iVar1 = 0;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  puVar4 = param_1 + 0x100;\n  iVar1 = 0x448;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  puVar4 = param_1 + 0x200;\n  iVar1 = 0x848;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  puVar4 = param_1 + 0x300;\n  iVar1 = 0xc48;\n  do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000bccb0)();\n  blowfish_initkey();\n  blowfish_expandkey(uVar7,uVar5,puVar6,0,0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "uint local_38 [2];" (type_identifier "uint") (array_declarator "local_38 [2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined1 local_30 [4];" (type_identifier "undefined1") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "local_3c = (int)param_5;" (assignment_expression "local_3c = (int)param_5" (identifier "local_3c") (= "=") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000bccd8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000bccd8" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bccd8")))) (; ";")) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" (if "if") (parenthesized_expression "(param_4 == (undefined1 *)0x0)" (( "(") (binary_expression "param_4 == (undefined1 *)0x0" (identifier "param_4") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_30[0] = 0;\n    local_3c = 1;\n    param_4 = local_30;\n  }" ({ "{") (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 1;" (assignment_expression "local_3c = 1" (identifier "local_3c") (= "=") (number_literal "1")) (; ";")) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" (identifier "param_4") (= "=") (identifier "local_30")) (; ";")) (} "}"))) (expression_statement "puVar6 = param_1 + 0x400;" (assignment_expression "puVar6 = param_1 + 0x400" (identifier "puVar6") (= "=") (binary_expression "param_1 + 0x400" (identifier "param_1") (+ "+") (number_literal "0x400"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" (do "do") (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;\n    *puVar4 = uVar7;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;\n    iVar1 = iVar1 + 4;\n    puVar4 = puVar4 + 1;\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" (identifier "uVar7") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar1 % param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar1 % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 % param_3)" (( "(") (binary_expression "param_2 + iVar1 % param_3" (identifier "param_2") (+ "+") (binary_expression "iVar1 % param_3" (identifier "iVar1") (% "%") (identifier "param_3"))) () ")")))) (<< "<<") (number_literal "0x18")) (^ "^") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" (identifier "uVar7") (= "=") (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 1) % param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + (iVar1 + 1) % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (iVar1 + 1) % param_3)" (( "(") (binary_expression "param_2 + (iVar1 + 1) % param_3" (identifier "param_2") (+ "+") (binary_expression "(iVar1 + 1) % param_3" (parenthesized_expression "(iVar1 + 1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) () ")")) (% "%") (identifier "param_3"))) () ")")))) (<< "<<") (number_literal "0x10")) (^ "^") (identifier "uVar7"))) (; ";")) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;" (assignment_expression "uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" (identifier "uVar7") (= "=") (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + (iVar1 + 2) % param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + (iVar1 + 2) % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (iVar1 + 2) % param_3)" (( "(") (binary_expression "param_2 + (iVar1 + 2) % param_3" (identifier "param_2") (+ "+") (binary_expression "(iVar1 + 2) % param_3" (parenthesized_expression "(iVar1 + 2)" (( "(") (binary_expression "iVar1 + 2" (identifier "iVar1") (+ "+") (number_literal "2")) () ")")) (% "%") (identifier "param_3"))) () ")")))) (<< "<<") (number_literal "8")) (^ "^") (identifier "uVar7"))) (; ";")) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;" (assignment_expression "*puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (binary_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7" (pointer_expression "*(byte *)(param_2 + (iVar1 + 3) % param_3)" (* "*") (cast_expression "(byte *)(param_2 + (iVar1 + 3) % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (iVar1 + 3) % param_3)" (( "(") (binary_expression "param_2 + (iVar1 + 3) % param_3" (identifier "param_2") (+ "+") (binary_expression "(iVar1 + 3) % param_3" (parenthesized_expression "(iVar1 + 3)" (( "(") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3")) () ")")) (% "%") (identifier "param_3"))) () ")")))) (^ "^") (identifier "uVar7"))) (; ";")) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x48)" (( "(") (binary_expression "iVar1 != 0x48" (identifier "iVar1") (!= "!=") (number_literal "0x48")) () ")")) (; ";")) (expression_statement "local_38[1] = 0;" (assignment_expression "local_38[1] = 0" (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38[0] = 0;" (assignment_expression "local_38[0] = 0" (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  } while (iVar1 != 0x48);" (do "do") (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar6 = local_38[0];\n    puVar6[1] = local_38[1];\n    puVar6 = puVar6 + 2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" (do "do") (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" ({ "{") (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" (if "if") (parenthesized_expression "((int)uVar7 < 0)" (( "(") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" ({ "{") (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" (identifier "uVar5") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" (identifier "iVar2") (= "=") (binary_expression "iVar1 + uVar7" (identifier "iVar1") (+ "+") (identifier "uVar7"))) (; ";")) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x80000003" (identifier "uVar7") (& "&") (number_literal "0x80000003"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")) (= "=") (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar2 % local_3c]" (identifier "param_4") ([ "[") (binary_expression "iVar2 % local_3c" (identifier "iVar2") (% "%") (identifier "local_3c")) (] "]")))) (<< "<<") (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" (( "(") (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" (( "(") (binary_expression "3 - uVar3" (number_literal "3") (- "-") (identifier "uVar3")) () ")")) (* "*") (number_literal "8")) (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 8)" (( "(") (binary_expression "uVar7 != 8" (identifier "uVar7") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" (identifier "FUN_0005a560") (argument_list "(local_38[0],local_38[1],local_38,param_1)" (( "(") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (, ",") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*puVar6 = local_38[0];" (assignment_expression "*puVar6 = local_38[0]" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar6[1] = local_38[1];" (assignment_expression "puVar6[1] = local_38[1]" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x48)" (( "(") (binary_expression "iVar1 != 0x48" (identifier "iVar1") (!= "!=") (number_literal "0x48")) () ")")) (; ";")) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" (identifier "iVar1") (= "=") (number_literal "0x48")) (; ";")) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" (do "do") (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" (do "do") (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = uVar7 + iVar1;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" ({ "{") (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" (if "if") (parenthesized_expression "((int)uVar7 < 0)" (( "(") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" ({ "{") (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" (identifier "uVar5") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "iVar2 = uVar7 + iVar1;" (assignment_expression "iVar2 = uVar7 + iVar1" (identifier "iVar2") (= "=") (binary_expression "uVar7 + iVar1" (identifier "uVar7") (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x80000003" (identifier "uVar7") (& "&") (number_literal "0x80000003"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")) (= "=") (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar2 % local_3c]" (identifier "param_4") ([ "[") (binary_expression "iVar2 % local_3c" (identifier "iVar2") (% "%") (identifier "local_3c")) (] "]")))) (<< "<<") (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" (( "(") (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" (( "(") (binary_expression "3 - uVar3" (number_literal "3") (- "-") (identifier "uVar3")) () ")")) (* "*") (number_literal "8")) (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 8)" (( "(") (binary_expression "uVar7 != 8" (identifier "uVar7") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" (identifier "FUN_0005a560") (argument_list "(local_38[0],local_38[1],local_38,param_1)" (( "(") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (, ",") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x448)" (( "(") (binary_expression "iVar1 != 0x448" (identifier "iVar1") (!= "!=") (number_literal "0x448")) () ")")) (; ";")) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100"))) (; ";")) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" (identifier "iVar1") (= "=") (number_literal "0x448")) (; ";")) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" (do "do") (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" (do "do") (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" ({ "{") (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" (if "if") (parenthesized_expression "((int)uVar7 < 0)" (( "(") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" ({ "{") (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" (identifier "uVar5") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" (identifier "iVar2") (= "=") (binary_expression "iVar1 + uVar7" (identifier "iVar1") (+ "+") (identifier "uVar7"))) (; ";")) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x80000003" (identifier "uVar7") (& "&") (number_literal "0x80000003"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")) (= "=") (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar2 % local_3c]" (identifier "param_4") ([ "[") (binary_expression "iVar2 % local_3c" (identifier "iVar2") (% "%") (identifier "local_3c")) (] "]")))) (<< "<<") (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" (( "(") (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" (( "(") (binary_expression "3 - uVar3" (number_literal "3") (- "-") (identifier "uVar3")) () ")")) (* "*") (number_literal "8")) (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 8)" (( "(") (binary_expression "uVar7 != 8" (identifier "uVar7") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" (identifier "FUN_0005a560") (argument_list "(local_38[0],local_38[1],local_38,param_1)" (( "(") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (, ",") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x848)" (( "(") (binary_expression "iVar1 != 0x848" (identifier "iVar1") (!= "!=") (number_literal "0x848")) () ")")) (; ";")) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200"))) (; ";")) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" (identifier "iVar1") (= "=") (number_literal "0x848")) (; ";")) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" (do "do") (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" (do "do") (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" ({ "{") (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" (if "if") (parenthesized_expression "((int)uVar7 < 0)" (( "(") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" ({ "{") (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" (identifier "uVar5") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" (identifier "iVar2") (= "=") (binary_expression "iVar1 + uVar7" (identifier "iVar1") (+ "+") (identifier "uVar7"))) (; ";")) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x80000003" (identifier "uVar7") (& "&") (number_literal "0x80000003"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")) (= "=") (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar2 % local_3c]" (identifier "param_4") ([ "[") (binary_expression "iVar2 % local_3c" (identifier "iVar2") (% "%") (identifier "local_3c")) (] "]")))) (<< "<<") (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" (( "(") (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" (( "(") (binary_expression "3 - uVar3" (number_literal "3") (- "-") (identifier "uVar3")) () ")")) (* "*") (number_literal "8")) (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 8)" (( "(") (binary_expression "uVar7 != 8" (identifier "uVar7") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" (identifier "FUN_0005a560") (argument_list "(local_38[0],local_38[1],local_38,param_1)" (( "(") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (, ",") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0xc48)" (( "(") (binary_expression "iVar1 != 0xc48" (identifier "iVar1") (!= "!=") (number_literal "0xc48")) () ")")) (; ";")) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x300" (identifier "param_1") (+ "+") (number_literal "0x300"))) (; ";")) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" (identifier "iVar1") (= "=") (number_literal "0xc48")) (; ";")) (do_statement "do {\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" (do "do") (compound_statement "{\n    uVar7 = 0;\n    do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);\n    iVar1 = iVar1 + 8;\n    uVar7 = local_38[0];\n    uVar5 = local_38[1];\n    puVar6 = local_38;\n    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);\n    *puVar4 = local_38[0];\n    puVar4[1] = local_38[1];\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    } while (uVar7 != 8);" (do "do") (compound_statement "{\n      uVar5 = uVar7;\n      if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }\n      iVar2 = iVar1 + uVar7;\n      if (local_3c == 0) {\n        trap(7);\n      }\n      uVar3 = uVar7 & 0x80000003;\n      uVar7 = uVar7 + 1;\n      local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];\n    }" ({ "{") (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" (identifier "uVar5") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar7 < 0) {\n        uVar5 = uVar7 + 3;\n      }" (if "if") (parenthesized_expression "((int)uVar7 < 0)" (( "(") (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = uVar7 + 3;\n      }" ({ "{") (expression_statement "uVar5 = uVar7 + 3;" (assignment_expression "uVar5 = uVar7 + 3" (identifier "uVar5") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar1 + uVar7;" (assignment_expression "iVar2 = iVar1 + uVar7" (identifier "iVar2") (= "=") (binary_expression "iVar1 + uVar7" (identifier "iVar1") (+ "+") (identifier "uVar7"))) (; ";")) (if_statement "if (local_3c == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar7 & 0x80000003;" (assignment_expression "uVar3 = uVar7 & 0x80000003" (identifier "uVar3") (= "=") (binary_expression "uVar7 & 0x80000003" (identifier "uVar7") (& "&") (number_literal "0x80000003"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2];" (assignment_expression "local_38[(int)uVar5 >> 2] =\n           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")) (= "=") (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^\n           local_38[(int)uVar5 >> 2]" (binary_expression "(uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f)" (cast_expression "(uint)(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar2 % local_3c]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar2 % local_3c]" (identifier "param_4") ([ "[") (binary_expression "iVar2 % local_3c" (identifier "iVar2") (% "%") (identifier "local_3c")) (] "]")))) (<< "<<") (parenthesized_expression "((3 - uVar3) * 8 & 0x1f)" (( "(") (binary_expression "(3 - uVar3) * 8 & 0x1f" (binary_expression "(3 - uVar3) * 8" (parenthesized_expression "(3 - uVar3)" (( "(") (binary_expression "3 - uVar3" (number_literal "3") (- "-") (identifier "uVar3")) () ")")) (* "*") (number_literal "8")) (& "&") (number_literal "0x1f")) () ")"))) (^ "^") (subscript_expression "local_38[(int)uVar5 >> 2]" (identifier "local_38") ([ "[") (binary_expression "(int)uVar5 >> 2" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "2")) (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 8)" (( "(") (binary_expression "uVar7 != 8" (identifier "uVar7") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar7 = local_38[0];" (assignment_expression "uVar7 = local_38[0]" (identifier "uVar7") (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "uVar5 = local_38[1];" (assignment_expression "uVar5 = local_38[1]" (identifier "uVar5") (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6 = local_38;" (assignment_expression "puVar6 = local_38" (identifier "puVar6") (= "=") (identifier "local_38")) (; ";")) (expression_statement "FUN_0005a560(local_38[0],local_38[1],local_38,param_1);" (call_expression "FUN_0005a560(local_38[0],local_38[1],local_38,param_1)" (identifier "FUN_0005a560") (argument_list "(local_38[0],local_38[1],local_38,param_1)" (( "(") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (, ",") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "local_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*puVar4 = local_38[0];" (assignment_expression "*puVar4 = local_38[0]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar4[1] = local_38[1];" (assignment_expression "puVar4[1] = local_38[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x1048)" (( "(") (binary_expression "iVar1 != 0x1048" (identifier "iVar1") (!= "!=") (number_literal "0x1048")) () ")")) (; ";")) (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_000bccd8)" (( "(") (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_000bccd8" (identifier "local_2c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_000bccd8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bccd8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bccd8")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_000bccb0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bccb0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bccb0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000bccb0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000bccb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000bccb0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "blowfish_initkey();" (call_expression "blowfish_initkey()" (identifier "blowfish_initkey") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "blowfish_expandkey(uVar7,uVar5,puVar6,0,0);" (call_expression "blowfish_expandkey(uVar7,uVar5,puVar6,0,0)" (identifier "blowfish_expandkey") (argument_list "(uVar7,uVar5,puVar6,0,0)" (( "(") (identifier "uVar7") (, ",") (identifier "uVar5") (, ",") (identifier "puVar6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) right: (number_literal)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (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: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (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: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (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: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (number_literal)) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (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: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal)))) (return_statement))))

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

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint *puVar4;
  uint uVar5;
  uint *puVar6;
  uint uVar7;
  int local_3c;
  uint local_38 [2];
  undefined1 local_30 [4];
  int local_2c;
  
  local_3c = (int)param_5;
  local_2c = *(int *)PTR___stack_chk_guard_000bccd8;
  if (param_4 == (undefined1 *)0x0) {
    local_30[0] = 0;
    local_3c = 1;
    param_4 = local_30;
  }
  puVar6 = param_1 + 0x400;
  iVar1 = 0;
  puVar4 = puVar6;
  do {
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + iVar1 % param_3) << 0x18 ^ *puVar4;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 1) % param_3) << 0x10 ^ uVar7;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    uVar7 = (uint)*(byte *)(param_2 + (iVar1 + 2) % param_3) << 8 ^ uVar7;
    *puVar4 = uVar7;
    if (param_3 == 0) {
      trap(7);
    }
    *puVar4 = *(byte *)(param_2 + (iVar1 + 3) % param_3) ^ uVar7;
    iVar1 = iVar1 + 4;
    puVar4 = puVar4 + 1;
  } while (iVar1 != 0x48);
  local_38[1] = 0;
  local_38[0] = 0;
  iVar1 = 0;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar6 = local_38[0];
    puVar6[1] = local_38[1];
    puVar6 = puVar6 + 2;
  } while (iVar1 != 0x48);
  iVar1 = 0x48;
  puVar4 = param_1;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = uVar7 + iVar1;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x448);
  puVar4 = param_1 + 0x100;
  iVar1 = 0x448;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x848);
  puVar4 = param_1 + 0x200;
  iVar1 = 0x848;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0xc48);
  puVar4 = param_1 + 0x300;
  iVar1 = 0xc48;
  do {
    uVar7 = 0;
    do {
      uVar5 = uVar7;
      if ((int)uVar7 < 0) {
        uVar5 = uVar7 + 3;
      }
      iVar2 = iVar1 + uVar7;
      if (local_3c == 0) {
        trap(7);
      }
      uVar3 = uVar7 & 0x80000003;
      uVar7 = uVar7 + 1;
      local_38[(int)uVar5 >> 2] =
           (uint)(byte)param_4[iVar2 % local_3c] << ((3 - uVar3) * 8 & 0x1f) ^
           local_38[(int)uVar5 >> 2];
    } while (uVar7 != 8);
    iVar1 = iVar1 + 8;
    uVar7 = local_38[0];
    uVar5 = local_38[1];
    puVar6 = local_38;
    FUN_0005a560(local_38[0],local_38[1],local_38,param_1);
    *puVar4 = local_38[0];
    puVar4[1] = local_38[1];
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x1048);
  if (local_2c == *(int *)PTR___stack_chk_guard_000bccd8) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_000bccb0)();
  blowfish_initkey();
  MASKED(uVar7,uVar5,puVar6,0,0);
  return;
}

