
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "gmp_randalg_t": Some values do not have unique names */

void randget_lc(__gmp_randstate_struct *rstate,mp_ptr rp,ulong nbits)

{
  mp_ptr rp_00;
  uint *puVar1;
  __gmp_randstate_struct *p_Var2;
  mp_limb_t mVar3;
  code *pcVar4;
  undefined *puVar5;
  mp_ptr rp_01;
  undefined **ppuVar6;
  undefined4 uVar7;
  int iVar8;
  uint uVar9;
  uint uVar10;
  undefined1 *puVar11;
  int iVar12;
  int in_GS_OFFSET;
  undefined1 auStack_5c [8];
  undefined **local_54;
  uint local_50 [2];
  undefined *local_48;
  int local_44;
  uint local_40;
  __gmp_randstate_struct *local_3c;
  mp_ptr local_38;
  mp_ptr local_34;
  uint local_30;
  tmp_reentrant_t *__tmp_marker;
  int local_20;
  
  local_54 = &_GLOBAL_OFFSET_TABLE_;
  local_3c = rstate;
  local_38 = rp;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1;
  __tmp_marker = (tmp_reentrant_t *)0x0;
  local_44 = (int)(local_30 + 0x1f) >> 5;
  local_50[0] = local_44 * 4;
  if (local_50[0] < 0x7f01) {
    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);
    puVar11 = auStack_5c + iVar12;
    local_34 = (mp_ptr)((int)local_50 + iVar12);
  }
  else {
    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);
    puVar11 = auStack_5c;
  }
  local_48 = local_54[-0x9b];
  local_50[1] = local_30 & 0x1f;
  uVar10 = 0;
  rp_01 = local_34;
  for (uVar9 = local_30; local_34 = rp_01, uVar9 <= nbits; uVar9 = local_30 + uVar9) {
    rp_00 = local_38 + (uVar10 >> 5);
    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;
    uVar10 = uVar10 & 0x1f;
    if (uVar10 == 0) {
      *(undefined4 *)(puVar11 + -4) = 0x79409;
      lc(rp_00,p_Var2);
    }
    else {
      *(undefined4 *)(puVar11 + -4) = 0x7939e;
      lc(rp_01,p_Var2);
      puVar5 = local_48;
      mVar3 = *rp_00;
      *(uint *)(puVar11 + -4) = uVar10;
      *(int *)(puVar11 + -8) = local_44;
      *(mp_ptr *)(puVar11 + -0xc) = local_34;
      *(mp_ptr *)(puVar11 + -0x10) = rp_00;
      pcVar4 = *(code **)(puVar5 + 0x38);
      local_40 = mVar3;
      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;
      uVar7 = (*pcVar4)();
      *rp_00 = *rp_00 | local_40;
      if (0x20 < uVar10 + local_50[1]) {
        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;
      }
    }
    uVar10 = uVar9;
    rp_01 = local_34;
  }
  if (uVar10 != nbits) {
    puVar1 = local_38 + (uVar10 >> 5);
    iVar8 = (nbits - uVar10) + 0x1f;
    iVar12 = (nbits - uVar10) + 0x3e;
    if (-1 < iVar8) {
      iVar12 = iVar8;
    }
    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;
    iVar12 = iVar12 >> 5;
    *(undefined4 *)(puVar11 + -4) = 0x7943a;
    lc(rp_01,p_Var2);
    ppuVar6 = local_54;
    uVar9 = uVar10 & 0x1f;
    if (uVar9 == 0) {
      *(int *)(puVar11 + -8) = iVar12;
      *(mp_ptr *)(puVar11 + -0xc) = local_34;
      puVar5 = ppuVar6[-0x9b];
      *(uint **)(puVar11 + -0x10) = puVar1;
      pcVar4 = *(code **)(puVar5 + 0x28);
      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;
      (*pcVar4)();
    }
    else {
      p_Var2 = (__gmp_randstate_struct *)*puVar1;
      local_30 = uVar9;
      *(uint *)(puVar11 + -4) = uVar9;
      puVar5 = ppuVar6[-0x9b];
      *(int *)(puVar11 + -8) = iVar12;
      local_3c = p_Var2;
      *(mp_ptr *)(puVar11 + -0xc) = local_34;
      *(uint **)(puVar11 + -0x10) = puVar1;
      pcVar4 = *(code **)(puVar5 + 0x38);
      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;
      uVar9 = (*pcVar4)();
      *puVar1 = *puVar1 | (uint)local_3c;
      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {
        puVar1[iVar12] = uVar9;
      }
    }
    if ((nbits & 0x1f) != 0) {
      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));
    }
  }
  if (__tmp_marker != (tmp_reentrant_t *)0x0) {
    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;
    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;
    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar11 + -4) = &UNK_00079502;
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000792f0(uint param_1,int param_2,uint param_3)

{
  uint *puVar1;
  uint uVar2;
  code *pcVar3;
  undefined *puVar4;
  undefined **ppuVar5;
  undefined4 uVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined1 *puVar10;
  int iVar11;
  int in_GS_OFFSET;
  undefined1 auStack_5c [8];
  undefined **local_54;
  uint local_50;
  uint local_4c;
  undefined *local_48;
  int local_44;
  uint local_40;
  uint local_3c;
  int local_38;
  int local_34;
  uint local_30;
  int local_24;
  int local_20;
  
  local_54 = &__DT_PLTGOT;
  local_3c = param_1;
  local_38 = param_2;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;
  local_24 = 0;
  local_44 = (int)(local_30 + 0x1f) >> 5;
  local_50 = local_44 * 4;
  if (local_50 < 0x7f01) {
    local_34 = -(local_50 + 0x1b & 0xfffffff0);
    puVar10 = auStack_5c + local_34;
    local_34 = (int)&local_50 + local_34;
  }
  else {
    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);
    puVar10 = auStack_5c;
  }
  local_48 = local_54[-0x9b];
  local_4c = local_30 & 0x1f;
  uVar9 = 0;
  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {
    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);
    uVar9 = uVar9 & 0x1f;
    if (uVar9 == 0) {
      *(undefined4 *)(puVar10 + -4) = 0x79409;
      FUN_00079080();
    }
    else {
      *(undefined4 *)(puVar10 + -4) = 0x7939e;
      FUN_00079080();
      puVar4 = local_48;
      uVar2 = *puVar1;
      *(uint *)(puVar10 + -4) = uVar9;
      *(int *)(puVar10 + -8) = local_44;
      *(int *)(puVar10 + -0xc) = local_34;
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x38);
      local_40 = uVar2;
      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;
      uVar6 = (*pcVar3)();
      *puVar1 = *puVar1 | local_40;
      if (0x20 < uVar9 + local_4c) {
        *(undefined4 *)((int)puVar1 + local_50) = uVar6;
      }
    }
    uVar9 = uVar8;
  }
  if (uVar9 != param_3) {
    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);
    iVar7 = (param_3 - uVar9) + 0x1f;
    iVar11 = (param_3 - uVar9) + 0x3e;
    if (-1 < iVar7) {
      iVar11 = iVar7;
    }
    iVar11 = iVar11 >> 5;
    *(undefined4 *)(puVar10 + -4) = 0x7943a;
    FUN_00079080();
    ppuVar5 = local_54;
    uVar8 = uVar9 & 0x1f;
    if (uVar8 == 0) {
      *(int *)(puVar10 + -8) = iVar11;
      *(int *)(puVar10 + -0xc) = local_34;
      puVar4 = ppuVar5[-0x9b];
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x28);
      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;
      (*pcVar3)();
    }
    else {
      uVar2 = *puVar1;
      local_30 = uVar8;
      *(uint *)(puVar10 + -4) = uVar8;
      puVar4 = ppuVar5[-0x9b];
      *(int *)(puVar10 + -8) = iVar11;
      local_3c = uVar2;
      *(int *)(puVar10 + -0xc) = local_34;
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x38);
      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;
      uVar8 = (*pcVar3)();
      *puVar1 = *puVar1 | local_3c;
      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {
        puVar1[iVar11] = uVar8;
      }
    }
    if ((param_3 & 0x1f) != 0) {
      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);
      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));
    }
  }
  if (local_24 != 0) {
    *(int *)(puVar10 + -0x10) = local_24;
    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;
    __gmp_tmp_reentrant_free();
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar10 + -4) = &UNK_00079502;
  FUN_00079d30();
}


CALL 0x0001c5b1
ADD EAX,0x1fd0b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV dword ptr [EBP + -0x50],EAX
MOV EAX,dword ptr [EBP + 0x8]
MOV EDI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x38],EAX
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x34],EDI
MOV ESI,dword ptr [EAX + 0x20]
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [EBP + -0x1c],ECX
XOR ECX,ECX
SHR ESI,0x1
MOV dword ptr [EBP + -0x20],0x0
LEA EAX,[ESI + 0x1f]
MOV dword ptr [EBP + -0x2c],ESI
SAR EAX,0x5
MOV dword ptr [EBP + -0x40],EAX
SHL EAX,0x2
MOV dword ptr [EBP + -0x4c],EAX
CMP EAX,0x7f00
JA 0x000794e0
ADD EAX,0x1b
AND EAX,0xfffffff0
SUB ESP,EAX
LEA EAX,[ESP + 0xf]
AND EAX,0xfffffff0
MOV dword ptr [EBP + -0x30],EAX
MOV EAX,dword ptr [EBP + -0x50]
XOR EBX,EBX
MOV EAX,dword ptr [EAX + 0xfffffd94]
MOV dword ptr [EBP + -0x44],EAX
MOV EAX,dword ptr [EBP + -0x2c]
AND EAX,0x1f
MOV dword ptr [EBP + -0x48],EAX
MOV EAX,dword ptr [EBP + -0x2c]
LEA EDI,[EAX + EBX*0x1]
CMP EDI,dword ptr [EBP + 0x10]
JA 0x000793d4
NOP
MOV EAX,EBX
MOV ECX,dword ptr [EBP + -0x34]
SHR EAX,0x5
LEA ESI,[ECX + EAX*0x4]
MOV EAX,dword ptr [EBP + -0x38]
MOV EDX,dword ptr [EAX + 0x8]
AND EBX,0x1f
JZ 0x00079400
MOV EAX,dword ptr [EBP + -0x30]
CALL 0x00079080
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [EBP + -0x44]
PUSH EBX
PUSH dword ptr [EBP + -0x40]
PUSH dword ptr [EBP + -0x30]
PUSH ESI
MOV dword ptr [EBP + -0x3c],EDX
CALL dword ptr [EAX + 0x38]
ADD EBX,dword ptr [EBP + -0x48]
MOV EDX,dword ptr [EBP + -0x3c]
ADD ESP,0x10
OR dword ptr [ESI],EDX
CMP EBX,0x20
JBE 0x000793c7
MOV ECX,dword ptr [EBP + -0x4c]
MOV dword ptr [ESI + ECX*0x1],EAX
MOV EBX,EDI
MOV EAX,dword ptr [EBP + -0x2c]
LEA EDI,[EAX + EBX*0x1]
CMP EDI,dword ptr [EBP + 0x10]
JBE 0x00079380
CMP EBX,dword ptr [EBP + 0x10]
JNZ 0x00079410
MOV EAX,dword ptr [EBP + -0x20]
TEST EAX,EAX
JNZ 0x000794a0
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000794fd
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
MOV EBX,EDI
CALL 0x00079080
JMP 0x000793c9
MOV EDI,dword ptr [EBP + -0x34]
MOV EAX,EBX
SHR EAX,0x5
LEA ESI,[EDI + EAX*0x4]
MOV EAX,dword ptr [EBP + 0x10]
SUB EAX,EBX
LEA EDI,[EAX + 0x3e]
ADD EAX,0x1f
CMOVNS EDI,EAX
MOV EAX,dword ptr [EBP + -0x38]
MOV EDX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EBP + -0x30]
SAR EDI,0x5
CALL 0x00079080
MOV EDX,EBX
AND EDX,0x1f
JZ 0x000794b8
MOV EAX,dword ptr [EBP + -0x50]
MOV ECX,dword ptr [ESI]
MOV dword ptr [EBP + -0x2c],EDX
PUSH EDX
MOV EAX,dword ptr [EAX + 0xfffffd94]
PUSH EDI
MOV dword ptr [EBP + -0x38],ECX
PUSH dword ptr [EBP + -0x30]
PUSH ESI
CALL dword ptr [EAX + 0x38]
MOV EDX,dword ptr [EBP + -0x2c]
MOV ECX,dword ptr [EBP + -0x38]
OR dword ptr [ESI],ECX
SUB EBX,EDX
MOV EDX,EDI
ADD ESP,0x10
SHL EDX,0x5
ADD EBX,EDX
CMP EBX,dword ptr [EBP + 0x10]
JC 0x000794d8
MOV ECX,dword ptr [EBP + 0x10]
AND ECX,0x1f
JZ 0x000793d9
MOV EDX,dword ptr [EBP + 0x10]
MOV EAX,0xffffffff
SHL EAX,CL
MOV ECX,dword ptr [EBP + -0x34]
SHR EDX,0x5
NOT EAX
AND dword ptr [ECX + EDX*0x4],EAX
MOV EAX,dword ptr [EBP + -0x20]
TEST EAX,EAX
JZ 0x000793e4
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x50]
PUSH EAX
CALL 0x0001b050
ADD ESP,0x10
JMP 0x000793e4
SUB ESP,0x4
MOV EAX,dword ptr [EBP + -0x50]
PUSH EDI
PUSH dword ptr [EBP + -0x30]
MOV EAX,dword ptr [EAX + 0xfffffd94]
PUSH ESI
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
JMP 0x00079474
MOV dword ptr [ESI + EDI*0x4],EAX
JMP 0x00079474
SUB ESP,0x8
LEA EAX,[EBP + -0x20]
PUSH dword ptr [EBP + -0x4c]
MOV EBX,dword ptr [EBP + -0x50]
PUSH EAX
CALL 0x0001baf0
ADD ESP,0x10
MOV dword ptr [EBP + -0x30],EAX
JMP 0x0007935c
CALL 0x00079d30
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000792f0(uint param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}\n\n" comment (function_definition "void FUN_000792f0(uint param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" primitive_type (function_declarator "FUN_000792f0(uint param_1,int param_2,uint param_3)" identifier (parameter_list "(uint param_1,int param_2,uint param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_5c [8];" type_identifier (array_declarator "auStack_5c [8]" identifier [ number_literal ]) ;) (declaration "undefined **local_54;" type_identifier (pointer_declarator "**local_54" * (pointer_declarator "*local_54" * identifier)) ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "undefined *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_54 = &__DT_PLTGOT;" (assignment_expression "local_54 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_1;" (assignment_expression "local_3c = param_1" identifier = identifier) ;) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" identifier = identifier) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;" (assignment_expression "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" identifier = (binary_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" (pointer_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20)" * (cast_expression "(uint *)(*(int *)(param_1 + 8) + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" ( (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) >> number_literal)) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_44 = (int)(local_30 + 0x1f) >> 5;" (assignment_expression "local_44 = (int)(local_30 + 0x1f) >> 5" identifier = (binary_expression "(int)(local_30 + 0x1f) >> 5" (cast_expression "(int)(local_30 + 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_30 + 0x1f)" ( (binary_expression "local_30 + 0x1f" identifier + number_literal) ))) >> number_literal)) ;) (expression_statement "local_50 = local_44 * 4;" (assignment_expression "local_50 = local_44 * 4" identifier = (binary_expression "local_44 * 4" identifier * number_literal)) ;) (if_statement "if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" if (parenthesized_expression "(local_50 < 0x7f01)" ( (binary_expression "local_50 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }" { (expression_statement "local_34 = -(local_50 + 0x1b & 0xfffffff0);" (assignment_expression "local_34 = -(local_50 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(local_50 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(local_50 + 0x1b & 0xfffffff0)" ( (binary_expression "local_50 + 0x1b & 0xfffffff0" (binary_expression "local_50 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_5c + local_34;" (assignment_expression "puVar10 = auStack_5c + local_34" identifier = (binary_expression "auStack_5c + local_34" identifier + identifier)) ;) (expression_statement "local_34 = (int)&local_50 + local_34;" (assignment_expression "local_34 = (int)&local_50 + local_34" identifier = (binary_expression "(int)&local_50 + local_34" (cast_expression "(int)&local_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_50" & identifier)) + identifier)) ;) }) (else_clause "else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" else (compound_statement "{\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" { (expression_statement "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);" (assignment_expression "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50)" identifier = (call_expression "__gmp_tmp_reentrant_alloc(&local_24,local_50)" identifier (argument_list "(&local_24,local_50)" ( (pointer_expression "&local_24" & identifier) , identifier )))) ;) (expression_statement "puVar10 = auStack_5c;" (assignment_expression "puVar10 = auStack_5c" identifier = identifier) ;) }))) (expression_statement "local_48 = local_54[-0x9b];" (assignment_expression "local_48 = local_54[-0x9b]" identifier = (subscript_expression "local_54[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "local_4c = local_30 & 0x1f;" (assignment_expression "local_4c = local_30 & 0x1f" identifier = (binary_expression "local_30 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (for_statement "for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" for ( (assignment_expression "uVar8 = local_30" identifier = identifier) ; (binary_expression "uVar8 <= param_3" identifier <= identifier) ; (assignment_expression "uVar8 = local_30 + uVar8" identifier = (binary_expression "local_30 + uVar8" identifier + identifier)) ) (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" { (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" ( (binary_expression "local_38 + (uVar9 >> 5) * 4" identifier + (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" ( (binary_expression "uVar9 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar9 = uVar9 & 0x1f;" (assignment_expression "uVar9 = uVar9 & 0x1f" identifier = (binary_expression "uVar9 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }" { (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x79409;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x79409" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" else (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" { (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7939e;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7939e" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" identifier = identifier) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(uint *)(puVar10 + -4) = uVar9;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar9" (pointer_expression "*(uint *)(puVar10 + -4)" * (cast_expression "(uint *)(puVar10 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -8) = local_44;" (assignment_expression "*(int *)(puVar10 + -8) = local_44" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" identifier = (pointer_expression "*(code **)(puVar4 + 0x38)" * (cast_expression "(code **)(puVar4 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x38)" ( (binary_expression "puVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_40 = uVar2;" (assignment_expression "local_40 = uVar2" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x793b1;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x793b1" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = (*pcVar3)();" (assignment_expression "uVar6 = (*pcVar3)()" identifier = (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = *puVar1 | local_40;" (assignment_expression "*puVar1 = *puVar1 | local_40" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | local_40" (pointer_expression "*puVar1" * identifier) | identifier)) ;) (if_statement "if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" if (parenthesized_expression "(0x20 < uVar9 + local_4c)" ( (binary_expression "0x20 < uVar9 + local_4c" number_literal < (binary_expression "uVar9 + local_4c" identifier + identifier)) )) (compound_statement "{\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" { (expression_statement "*(undefined4 *)((int)puVar1 + local_50) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar1 + local_50) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar1 + local_50)" * (cast_expression "(undefined4 *)((int)puVar1 + local_50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + local_50)" ( (binary_expression "(int)puVar1 + local_50" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) })) }))) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) })) (if_statement "if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" if (parenthesized_expression "(uVar9 != param_3)" ( (binary_expression "uVar9 != param_3" identifier != identifier) )) (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" { (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" ( (binary_expression "local_38 + (uVar9 >> 5) * 4" identifier + (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" ( (binary_expression "uVar9 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar7 = (param_3 - uVar9) + 0x1f;" (assignment_expression "iVar7 = (param_3 - uVar9) + 0x1f" identifier = (binary_expression "(param_3 - uVar9) + 0x1f" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar11 = (param_3 - uVar9) + 0x3e;" (assignment_expression "iVar11 = (param_3 - uVar9) + 0x3e" identifier = (binary_expression "(param_3 - uVar9) + 0x3e" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) + number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      iVar11 = iVar7;\n    }" { (expression_statement "iVar11 = iVar7;" (assignment_expression "iVar11 = iVar7" identifier = identifier) ;) })) (expression_statement "iVar11 = iVar11 >> 5;" (assignment_expression "iVar11 = iVar11 >> 5" identifier = (binary_expression "iVar11 >> 5" identifier >> number_literal)) ;) (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7943a;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7943a" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar5 = local_54;" (assignment_expression "ppuVar5 = local_54" identifier = identifier) ;) (expression_statement "uVar8 = uVar9 & 0x1f;" (assignment_expression "uVar8 = uVar9 & 0x1f" identifier = (binary_expression "uVar9 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }" { (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" identifier = (subscript_expression "ppuVar5[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x28);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x28)" identifier = (pointer_expression "*(code **)(puVar4 + 0x28)" * (cast_expression "(code **)(puVar4 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x28)" ( (binary_expression "puVar4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794cc;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794cc" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" else (compound_statement "{\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" { (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "local_30 = uVar8;" (assignment_expression "local_30 = uVar8" identifier = identifier) ;) (expression_statement "*(uint *)(puVar10 + -4) = uVar8;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar8" (pointer_expression "*(uint *)(puVar10 + -4)" * (cast_expression "(uint *)(puVar10 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" identifier = (subscript_expression "ppuVar5[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" identifier = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" identifier = (pointer_expression "*(code **)(puVar4 + 0x38)" * (cast_expression "(code **)(puVar4 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x38)" ( (binary_expression "puVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x7945b;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x7945b" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar8 = (*pcVar3)();" (assignment_expression "uVar8 = (*pcVar3)()" identifier = (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = *puVar1 | local_3c;" (assignment_expression "*puVar1 = *puVar1 | local_3c" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | local_3c" (pointer_expression "*puVar1" * identifier) | identifier)) ;) (if_statement "if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }" if (parenthesized_expression "((uVar9 - local_30) + iVar11 * 0x20 < param_3)" ( (binary_expression "(uVar9 - local_30) + iVar11 * 0x20 < param_3" (binary_expression "(uVar9 - local_30) + iVar11 * 0x20" (parenthesized_expression "(uVar9 - local_30)" ( (binary_expression "uVar9 - local_30" identifier - identifier) )) + (binary_expression "iVar11 * 0x20" identifier * number_literal)) < identifier) )) (compound_statement "{\n        puVar1[iVar11] = uVar8;\n      }" { (expression_statement "puVar1[iVar11] = uVar8;" (assignment_expression "puVar1[iVar11] = uVar8" (subscript_expression "puVar1[iVar11]" identifier [ identifier ]) = identifier) ;) })) }))) (if_statement "if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" { (expression_statement "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (param_3 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (param_3 >> 5) * 4)" ( (binary_expression "local_38 + (param_3 >> 5) * 4" identifier + (binary_expression "(param_3 >> 5) * 4" (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));" (assignment_expression "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" * identifier) & (unary_expression "~(-1 << (sbyte)(param_3 & 0x1f))" ~ (parenthesized_expression "(-1 << (sbyte)(param_3 & 0x1f))" ( (binary_expression "-1 << (sbyte)(param_3 & 0x1f)" number_literal << (call_expression "(sbyte)(param_3 & 0x1f)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )))) ))))) ;) })) })) (if_statement "if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar10 + -0x10) = local_24;" (assignment_expression "*(int *)(puVar10 + -0x10) = local_24" (pointer_expression "*(int *)(puVar10 + -0x10)" * (cast_expression "(int *)(puVar10 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794ac;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794ac" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar10 + -4) = &UNK_00079502;" (assignment_expression "*(undefined **)(puVar10 + -4) = &UNK_00079502" (pointer_expression "*(undefined **)(puVar10 + -4)" * (cast_expression "(undefined **)(puVar10 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079502" & identifier)) ;) (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "gmp_randalg_t": Some values do not have unique names */\n\nvoid randget_lc(__gmp_randstate_struct *rstate,mp_ptr rp,ulong nbits)\n\n{\n  mp_ptr rp_00;\n  uint *puVar1;\n  __gmp_randstate_struct *p_Var2;\n  mp_limb_t mVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  mp_ptr rp_01;\n  undefined **ppuVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50 [2];\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  __gmp_randstate_struct *local_3c;\n  mp_ptr local_38;\n  mp_ptr local_34;\n  uint local_30;\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  \n  local_54 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = rstate;\n  local_38 = rp;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1;\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50[0] = local_44 * 4;\n  if (local_50[0] < 0x7f01) {\n    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);\n    puVar11 = auStack_5c + iVar12;\n    local_34 = (mp_ptr)((int)local_50 + iVar12);\n  }\n  else {\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_50[1] = local_30 & 0x1f;\n  uVar10 = 0;\n  rp_01 = local_34;\n  for (uVar9 = local_30; local_34 = rp_01, uVar9 <= nbits; uVar9 = local_30 + uVar9) {\n    rp_00 = local_38 + (uVar10 >> 5);\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    uVar10 = uVar10 & 0x1f;\n    if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }\n    uVar10 = uVar9;\n    rp_01 = local_34;\n  }\n  if (uVar10 != nbits) {\n    puVar1 = local_38 + (uVar10 >> 5);\n    iVar8 = (nbits - uVar10) + 0x1f;\n    iVar12 = (nbits - uVar10) + 0x3e;\n    if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    iVar12 = iVar12 >> 5;\n    *(undefined4 *)(puVar11 + -4) = 0x7943a;\n    lc(rp_01,p_Var2);\n    ppuVar6 = local_54;\n    uVar9 = uVar10 & 0x1f;\n    if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }\n    if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar11 + -4) = &UNK_00079502;\n  __stack_chk_fail_local();\n}\n\n" comment comment comment (function_definition "void randget_lc(__gmp_randstate_struct *rstate,mp_ptr rp,ulong nbits)\n\n{\n  mp_ptr rp_00;\n  uint *puVar1;\n  __gmp_randstate_struct *p_Var2;\n  mp_limb_t mVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  mp_ptr rp_01;\n  undefined **ppuVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50 [2];\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  __gmp_randstate_struct *local_3c;\n  mp_ptr local_38;\n  mp_ptr local_34;\n  uint local_30;\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  \n  local_54 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = rstate;\n  local_38 = rp;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1;\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50[0] = local_44 * 4;\n  if (local_50[0] < 0x7f01) {\n    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);\n    puVar11 = auStack_5c + iVar12;\n    local_34 = (mp_ptr)((int)local_50 + iVar12);\n  }\n  else {\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_50[1] = local_30 & 0x1f;\n  uVar10 = 0;\n  rp_01 = local_34;\n  for (uVar9 = local_30; local_34 = rp_01, uVar9 <= nbits; uVar9 = local_30 + uVar9) {\n    rp_00 = local_38 + (uVar10 >> 5);\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    uVar10 = uVar10 & 0x1f;\n    if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }\n    uVar10 = uVar9;\n    rp_01 = local_34;\n  }\n  if (uVar10 != nbits) {\n    puVar1 = local_38 + (uVar10 >> 5);\n    iVar8 = (nbits - uVar10) + 0x1f;\n    iVar12 = (nbits - uVar10) + 0x3e;\n    if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    iVar12 = iVar12 >> 5;\n    *(undefined4 *)(puVar11 + -4) = 0x7943a;\n    lc(rp_01,p_Var2);\n    ppuVar6 = local_54;\n    uVar9 = uVar10 & 0x1f;\n    if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }\n    if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar11 + -4) = &UNK_00079502;\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "randget_lc(__gmp_randstate_struct *rstate,mp_ptr rp,ulong nbits)" identifier (parameter_list "(__gmp_randstate_struct *rstate,mp_ptr rp,ulong nbits)" ( (parameter_declaration "__gmp_randstate_struct *rstate" type_identifier (pointer_declarator "*rstate" * identifier)) , (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "ulong nbits" type_identifier identifier) ))) (compound_statement "{\n  mp_ptr rp_00;\n  uint *puVar1;\n  __gmp_randstate_struct *p_Var2;\n  mp_limb_t mVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  mp_ptr rp_01;\n  undefined **ppuVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  undefined1 *puVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50 [2];\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  __gmp_randstate_struct *local_3c;\n  mp_ptr local_38;\n  mp_ptr local_34;\n  uint local_30;\n  tmp_reentrant_t *__tmp_marker;\n  int local_20;\n  \n  local_54 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = rstate;\n  local_38 = rp;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1;\n  __tmp_marker = (tmp_reentrant_t *)0x0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50[0] = local_44 * 4;\n  if (local_50[0] < 0x7f01) {\n    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);\n    puVar11 = auStack_5c + iVar12;\n    local_34 = (mp_ptr)((int)local_50 + iVar12);\n  }\n  else {\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_50[1] = local_30 & 0x1f;\n  uVar10 = 0;\n  rp_01 = local_34;\n  for (uVar9 = local_30; local_34 = rp_01, uVar9 <= nbits; uVar9 = local_30 + uVar9) {\n    rp_00 = local_38 + (uVar10 >> 5);\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    uVar10 = uVar10 & 0x1f;\n    if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }\n    uVar10 = uVar9;\n    rp_01 = local_34;\n  }\n  if (uVar10 != nbits) {\n    puVar1 = local_38 + (uVar10 >> 5);\n    iVar8 = (nbits - uVar10) + 0x1f;\n    iVar12 = (nbits - uVar10) + 0x3e;\n    if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    iVar12 = iVar12 >> 5;\n    *(undefined4 *)(puVar11 + -4) = 0x7943a;\n    lc(rp_01,p_Var2);\n    ppuVar6 = local_54;\n    uVar9 = uVar10 & 0x1f;\n    if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }\n    if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }\n  }\n  if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar11 + -4) = &UNK_00079502;\n  __stack_chk_fail_local();\n}" { (declaration "mp_ptr rp_00;" type_identifier identifier ;) (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "__gmp_randstate_struct *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "mp_limb_t mVar3;" type_identifier identifier ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "mp_ptr rp_01;" type_identifier identifier ;) (declaration "undefined **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined1 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_5c [8];" type_identifier (array_declarator "auStack_5c [8]" identifier [ number_literal ]) ;) (declaration "undefined **local_54;" type_identifier (pointer_declarator "**local_54" * (pointer_declarator "*local_54" * identifier)) ;) (declaration "uint local_50 [2];" type_identifier (array_declarator "local_50 [2]" identifier [ number_literal ]) ;) (declaration "undefined *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "__gmp_randstate_struct *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "mp_ptr local_38;" type_identifier identifier ;) (declaration "mp_ptr local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_54 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "local_54 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "local_3c = rstate;" (assignment_expression "local_3c = rstate" identifier = identifier) ;) (expression_statement "local_38 = rp;" (assignment_expression "local_38 = rp" identifier = identifier) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1;" (assignment_expression "local_30 = rstate->_mp_seed[0]._mp_d[8] >> 1" identifier = (binary_expression "rstate->_mp_seed[0]._mp_d[8] >> 1" (subscript_expression "rstate->_mp_seed[0]._mp_d[8]" (field_expression "rstate->_mp_seed[0]._mp_d" (subscript_expression "rstate->_mp_seed[0]" (field_expression "rstate->_mp_seed" identifier -> field_identifier) [ number_literal ]) . field_identifier) [ number_literal ]) >> number_literal)) ;) (expression_statement "__tmp_marker = (tmp_reentrant_t *)0x0;" (assignment_expression "__tmp_marker = (tmp_reentrant_t *)0x0" identifier = (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = (int)(local_30 + 0x1f) >> 5;" (assignment_expression "local_44 = (int)(local_30 + 0x1f) >> 5" identifier = (binary_expression "(int)(local_30 + 0x1f) >> 5" (cast_expression "(int)(local_30 + 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_30 + 0x1f)" ( (binary_expression "local_30 + 0x1f" identifier + number_literal) ))) >> number_literal)) ;) (expression_statement "local_50[0] = local_44 * 4;" (assignment_expression "local_50[0] = local_44 * 4" (subscript_expression "local_50[0]" identifier [ number_literal ]) = (binary_expression "local_44 * 4" identifier * number_literal)) ;) (if_statement "if (local_50[0] < 0x7f01) {\n    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);\n    puVar11 = auStack_5c + iVar12;\n    local_34 = (mp_ptr)((int)local_50 + iVar12);\n  }\n  else {\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }" if (parenthesized_expression "(local_50[0] < 0x7f01)" ( (binary_expression "local_50[0] < 0x7f01" (subscript_expression "local_50[0]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n    iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);\n    puVar11 = auStack_5c + iVar12;\n    local_34 = (mp_ptr)((int)local_50 + iVar12);\n  }" { (expression_statement "iVar12 = -(local_50[0] + 0x1b & 0xfffffff0);" (assignment_expression "iVar12 = -(local_50[0] + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(local_50[0] + 0x1b & 0xfffffff0)" - (parenthesized_expression "(local_50[0] + 0x1b & 0xfffffff0)" ( (binary_expression "local_50[0] + 0x1b & 0xfffffff0" (binary_expression "local_50[0] + 0x1b" (subscript_expression "local_50[0]" identifier [ number_literal ]) + number_literal) & number_literal) )))) ;) (expression_statement "puVar11 = auStack_5c + iVar12;" (assignment_expression "puVar11 = auStack_5c + iVar12" identifier = (binary_expression "auStack_5c + iVar12" identifier + identifier)) ;) (expression_statement "local_34 = (mp_ptr)((int)local_50 + iVar12);" (assignment_expression "local_34 = (mp_ptr)((int)local_50 + iVar12)" identifier = (call_expression "(mp_ptr)((int)local_50 + iVar12)" (parenthesized_expression "(mp_ptr)" ( identifier )) (argument_list "((int)local_50 + iVar12)" ( (binary_expression "(int)local_50 + iVar12" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) (else_clause "else {\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }" else (compound_statement "{\n    local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);\n    puVar11 = auStack_5c;\n  }" { (expression_statement "local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0]);" (assignment_expression "local_34 = (mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0])" identifier = (cast_expression "(mp_ptr)__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0])" ( (type_descriptor "mp_ptr" type_identifier) ) (call_expression "__gmp_tmp_reentrant_alloc(&__tmp_marker,local_50[0])" identifier (argument_list "(&__tmp_marker,local_50[0])" ( (pointer_expression "&__tmp_marker" & identifier) , (subscript_expression "local_50[0]" identifier [ number_literal ]) ))))) ;) (expression_statement "puVar11 = auStack_5c;" (assignment_expression "puVar11 = auStack_5c" identifier = identifier) ;) }))) (expression_statement "local_48 = local_54[-0x9b];" (assignment_expression "local_48 = local_54[-0x9b]" identifier = (subscript_expression "local_54[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "local_50[1] = local_30 & 0x1f;" (assignment_expression "local_50[1] = local_30 & 0x1f" (subscript_expression "local_50[1]" identifier [ number_literal ]) = (binary_expression "local_30 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "rp_01 = local_34;" (assignment_expression "rp_01 = local_34" identifier = identifier) ;) (for_statement "for (uVar9 = local_30; local_34 = rp_01, uVar9 <= nbits; uVar9 = local_30 + uVar9) {\n    rp_00 = local_38 + (uVar10 >> 5);\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    uVar10 = uVar10 & 0x1f;\n    if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }\n    uVar10 = uVar9;\n    rp_01 = local_34;\n  }" for ( (assignment_expression "uVar9 = local_30" identifier = identifier) ; (comma_expression "local_34 = rp_01, uVar9 <= nbits" (assignment_expression "local_34 = rp_01" identifier = identifier) , (binary_expression "uVar9 <= nbits" identifier <= identifier)) ; (assignment_expression "uVar9 = local_30 + uVar9" identifier = (binary_expression "local_30 + uVar9" identifier + identifier)) ) (compound_statement "{\n    rp_00 = local_38 + (uVar10 >> 5);\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    uVar10 = uVar10 & 0x1f;\n    if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }\n    uVar10 = uVar9;\n    rp_01 = local_34;\n  }" { (expression_statement "rp_00 = local_38 + (uVar10 >> 5);" (assignment_expression "rp_00 = local_38 + (uVar10 >> 5)" identifier = (binary_expression "local_38 + (uVar10 >> 5)" identifier + (parenthesized_expression "(uVar10 >> 5)" ( (binary_expression "uVar10 >> 5" identifier >> number_literal) )))) ;) (expression_statement "p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;" (assignment_expression "p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d" identifier = (cast_expression "(__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d" ( (type_descriptor "__gmp_randstate_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_3c->_mp_seed[0]._mp_d" (subscript_expression "local_3c->_mp_seed[0]" (field_expression "local_3c->_mp_seed" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (expression_statement "uVar10 = uVar10 & 0x1f;" (assignment_expression "uVar10 = uVar10 & 0x1f" identifier = (binary_expression "uVar10 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar10 == 0) {\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }\n    else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar11 + -4) = 0x79409;\n      lc(rp_00,p_Var2);\n    }" { (expression_statement "*(undefined4 *)(puVar11 + -4) = 0x79409;" (assignment_expression "*(undefined4 *)(puVar11 + -4) = 0x79409" (pointer_expression "*(undefined4 *)(puVar11 + -4)" * (cast_expression "(undefined4 *)(puVar11 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lc(rp_00,p_Var2);" (call_expression "lc(rp_00,p_Var2)" identifier (argument_list "(rp_00,p_Var2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }" else (compound_statement "{\n      *(undefined4 *)(puVar11 + -4) = 0x7939e;\n      lc(rp_01,p_Var2);\n      puVar5 = local_48;\n      mVar3 = *rp_00;\n      *(uint *)(puVar11 + -4) = uVar10;\n      *(int *)(puVar11 + -8) = local_44;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(mp_ptr *)(puVar11 + -0x10) = rp_00;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      local_40 = mVar3;\n      *(undefined4 *)(puVar11 + -0x14) = 0x793b1;\n      uVar7 = (*pcVar4)();\n      *rp_00 = *rp_00 | local_40;\n      if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }\n    }" { (expression_statement "*(undefined4 *)(puVar11 + -4) = 0x7939e;" (assignment_expression "*(undefined4 *)(puVar11 + -4) = 0x7939e" (pointer_expression "*(undefined4 *)(puVar11 + -4)" * (cast_expression "(undefined4 *)(puVar11 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lc(rp_01,p_Var2);" (call_expression "lc(rp_01,p_Var2)" identifier (argument_list "(rp_01,p_Var2)" ( identifier , identifier ))) ;) (expression_statement "puVar5 = local_48;" (assignment_expression "puVar5 = local_48" identifier = identifier) ;) (expression_statement "mVar3 = *rp_00;" (assignment_expression "mVar3 = *rp_00" identifier = (pointer_expression "*rp_00" * identifier)) ;) (expression_statement "*(uint *)(puVar11 + -4) = uVar10;" (assignment_expression "*(uint *)(puVar11 + -4) = uVar10" (pointer_expression "*(uint *)(puVar11 + -4)" * (cast_expression "(uint *)(puVar11 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar11 + -8) = local_44;" (assignment_expression "*(int *)(puVar11 + -8) = local_44" (pointer_expression "*(int *)(puVar11 + -8)" * (cast_expression "(int *)(puVar11 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -8)" ( (binary_expression "puVar11 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar11 + -0xc) = local_34;" (assignment_expression "*(mp_ptr *)(puVar11 + -0xc) = local_34" (pointer_expression "*(mp_ptr *)(puVar11 + -0xc)" * (cast_expression "(mp_ptr *)(puVar11 + -0xc)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0xc)" ( (binary_expression "puVar11 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar11 + -0x10) = rp_00;" (assignment_expression "*(mp_ptr *)(puVar11 + -0x10) = rp_00" (pointer_expression "*(mp_ptr *)(puVar11 + -0x10)" * (cast_expression "(mp_ptr *)(puVar11 + -0x10)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0x10)" ( (binary_expression "puVar11 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar4 = *(code **)(puVar5 + 0x38);" (assignment_expression "pcVar4 = *(code **)(puVar5 + 0x38)" identifier = (pointer_expression "*(code **)(puVar5 + 0x38)" * (cast_expression "(code **)(puVar5 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x38)" ( (binary_expression "puVar5 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_40 = mVar3;" (assignment_expression "local_40 = mVar3" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar11 + -0x14) = 0x793b1;" (assignment_expression "*(undefined4 *)(puVar11 + -0x14) = 0x793b1" (pointer_expression "*(undefined4 *)(puVar11 + -0x14)" * (cast_expression "(undefined4 *)(puVar11 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0x14)" ( (binary_expression "puVar11 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar7 = (*pcVar4)();" (assignment_expression "uVar7 = (*pcVar4)()" identifier = (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*rp_00 = *rp_00 | local_40;" (assignment_expression "*rp_00 = *rp_00 | local_40" (pointer_expression "*rp_00" * identifier) = (binary_expression "*rp_00 | local_40" (pointer_expression "*rp_00" * identifier) | identifier)) ;) (if_statement "if (0x20 < uVar10 + local_50[1]) {\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }" if (parenthesized_expression "(0x20 < uVar10 + local_50[1])" ( (binary_expression "0x20 < uVar10 + local_50[1]" number_literal < (binary_expression "uVar10 + local_50[1]" identifier + (subscript_expression "local_50[1]" identifier [ number_literal ]))) )) (compound_statement "{\n        *(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;\n      }" { (expression_statement "*(undefined4 *)((int)rp_00 + local_50[0]) = uVar7;" (assignment_expression "*(undefined4 *)((int)rp_00 + local_50[0]) = uVar7" (pointer_expression "*(undefined4 *)((int)rp_00 + local_50[0])" * (cast_expression "(undefined4 *)((int)rp_00 + local_50[0])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)rp_00 + local_50[0])" ( (binary_expression "(int)rp_00 + local_50[0]" (cast_expression "(int)rp_00" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "local_50[0]" identifier [ number_literal ])) )))) = identifier) ;) })) }))) (expression_statement "uVar10 = uVar9;" (assignment_expression "uVar10 = uVar9" identifier = identifier) ;) (expression_statement "rp_01 = local_34;" (assignment_expression "rp_01 = local_34" identifier = identifier) ;) })) (if_statement "if (uVar10 != nbits) {\n    puVar1 = local_38 + (uVar10 >> 5);\n    iVar8 = (nbits - uVar10) + 0x1f;\n    iVar12 = (nbits - uVar10) + 0x3e;\n    if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    iVar12 = iVar12 >> 5;\n    *(undefined4 *)(puVar11 + -4) = 0x7943a;\n    lc(rp_01,p_Var2);\n    ppuVar6 = local_54;\n    uVar9 = uVar10 & 0x1f;\n    if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }\n    if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }\n  }" if (parenthesized_expression "(uVar10 != nbits)" ( (binary_expression "uVar10 != nbits" identifier != identifier) )) (compound_statement "{\n    puVar1 = local_38 + (uVar10 >> 5);\n    iVar8 = (nbits - uVar10) + 0x1f;\n    iVar12 = (nbits - uVar10) + 0x3e;\n    if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }\n    p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;\n    iVar12 = iVar12 >> 5;\n    *(undefined4 *)(puVar11 + -4) = 0x7943a;\n    lc(rp_01,p_Var2);\n    ppuVar6 = local_54;\n    uVar9 = uVar10 & 0x1f;\n    if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }\n    if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }\n  }" { (expression_statement "puVar1 = local_38 + (uVar10 >> 5);" (assignment_expression "puVar1 = local_38 + (uVar10 >> 5)" identifier = (binary_expression "local_38 + (uVar10 >> 5)" identifier + (parenthesized_expression "(uVar10 >> 5)" ( (binary_expression "uVar10 >> 5" identifier >> number_literal) )))) ;) (expression_statement "iVar8 = (nbits - uVar10) + 0x1f;" (assignment_expression "iVar8 = (nbits - uVar10) + 0x1f" identifier = (binary_expression "(nbits - uVar10) + 0x1f" (parenthesized_expression "(nbits - uVar10)" ( (binary_expression "nbits - uVar10" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar12 = (nbits - uVar10) + 0x3e;" (assignment_expression "iVar12 = (nbits - uVar10) + 0x3e" identifier = (binary_expression "(nbits - uVar10) + 0x3e" (parenthesized_expression "(nbits - uVar10)" ( (binary_expression "nbits - uVar10" identifier - identifier) )) + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n      iVar12 = iVar8;\n    }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n      iVar12 = iVar8;\n    }" { (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) })) (expression_statement "p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d;" (assignment_expression "p_Var2 = (__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d" identifier = (cast_expression "(__gmp_randstate_struct *)local_3c->_mp_seed[0]._mp_d" ( (type_descriptor "__gmp_randstate_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_3c->_mp_seed[0]._mp_d" (subscript_expression "local_3c->_mp_seed[0]" (field_expression "local_3c->_mp_seed" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (expression_statement "iVar12 = iVar12 >> 5;" (assignment_expression "iVar12 = iVar12 >> 5" identifier = (binary_expression "iVar12 >> 5" identifier >> number_literal)) ;) (expression_statement "*(undefined4 *)(puVar11 + -4) = 0x7943a;" (assignment_expression "*(undefined4 *)(puVar11 + -4) = 0x7943a" (pointer_expression "*(undefined4 *)(puVar11 + -4)" * (cast_expression "(undefined4 *)(puVar11 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lc(rp_01,p_Var2);" (call_expression "lc(rp_01,p_Var2)" identifier (argument_list "(rp_01,p_Var2)" ( identifier , identifier ))) ;) (expression_statement "ppuVar6 = local_54;" (assignment_expression "ppuVar6 = local_54" identifier = identifier) ;) (expression_statement "uVar9 = uVar10 & 0x1f;" (assignment_expression "uVar9 = uVar10 & 0x1f" identifier = (binary_expression "uVar10 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar9 == 0) {\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }\n    else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar11 + -8) = iVar12;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      puVar5 = ppuVar6[-0x9b];\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x28);\n      *(undefined4 *)(puVar11 + -0x14) = 0x794cc;\n      (*pcVar4)();\n    }" { (expression_statement "*(int *)(puVar11 + -8) = iVar12;" (assignment_expression "*(int *)(puVar11 + -8) = iVar12" (pointer_expression "*(int *)(puVar11 + -8)" * (cast_expression "(int *)(puVar11 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -8)" ( (binary_expression "puVar11 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar11 + -0xc) = local_34;" (assignment_expression "*(mp_ptr *)(puVar11 + -0xc) = local_34" (pointer_expression "*(mp_ptr *)(puVar11 + -0xc)" * (cast_expression "(mp_ptr *)(puVar11 + -0xc)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0xc)" ( (binary_expression "puVar11 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar5 = ppuVar6[-0x9b];" (assignment_expression "puVar5 = ppuVar6[-0x9b]" identifier = (subscript_expression "ppuVar6[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(puVar11 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar11 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar11 + -0x10)" * (cast_expression "(uint **)(puVar11 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + -0x10)" ( (binary_expression "puVar11 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar4 = *(code **)(puVar5 + 0x28);" (assignment_expression "pcVar4 = *(code **)(puVar5 + 0x28)" identifier = (pointer_expression "*(code **)(puVar5 + 0x28)" * (cast_expression "(code **)(puVar5 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x28)" ( (binary_expression "puVar5 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar11 + -0x14) = 0x794cc;" (assignment_expression "*(undefined4 *)(puVar11 + -0x14) = 0x794cc" (pointer_expression "*(undefined4 *)(puVar11 + -0x14)" * (cast_expression "(undefined4 *)(puVar11 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0x14)" ( (binary_expression "puVar11 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar4)();" (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }" else (compound_statement "{\n      p_Var2 = (__gmp_randstate_struct *)*puVar1;\n      local_30 = uVar9;\n      *(uint *)(puVar11 + -4) = uVar9;\n      puVar5 = ppuVar6[-0x9b];\n      *(int *)(puVar11 + -8) = iVar12;\n      local_3c = p_Var2;\n      *(mp_ptr *)(puVar11 + -0xc) = local_34;\n      *(uint **)(puVar11 + -0x10) = puVar1;\n      pcVar4 = *(code **)(puVar5 + 0x38);\n      *(undefined4 *)(puVar11 + -0x14) = 0x7945b;\n      uVar9 = (*pcVar4)();\n      *puVar1 = *puVar1 | (uint)local_3c;\n      if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }\n    }" { (expression_statement "p_Var2 = (__gmp_randstate_struct *)*puVar1;" (assignment_expression "p_Var2 = (__gmp_randstate_struct *)*puVar1" identifier = (cast_expression "(__gmp_randstate_struct *)*puVar1" ( (type_descriptor "__gmp_randstate_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "local_30 = uVar9;" (assignment_expression "local_30 = uVar9" identifier = identifier) ;) (expression_statement "*(uint *)(puVar11 + -4) = uVar9;" (assignment_expression "*(uint *)(puVar11 + -4) = uVar9" (pointer_expression "*(uint *)(puVar11 + -4)" * (cast_expression "(uint *)(puVar11 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar5 = ppuVar6[-0x9b];" (assignment_expression "puVar5 = ppuVar6[-0x9b]" identifier = (subscript_expression "ppuVar6[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(puVar11 + -8) = iVar12;" (assignment_expression "*(int *)(puVar11 + -8) = iVar12" (pointer_expression "*(int *)(puVar11 + -8)" * (cast_expression "(int *)(puVar11 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -8)" ( (binary_expression "puVar11 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_3c = p_Var2;" (assignment_expression "local_3c = p_Var2" identifier = identifier) ;) (expression_statement "*(mp_ptr *)(puVar11 + -0xc) = local_34;" (assignment_expression "*(mp_ptr *)(puVar11 + -0xc) = local_34" (pointer_expression "*(mp_ptr *)(puVar11 + -0xc)" * (cast_expression "(mp_ptr *)(puVar11 + -0xc)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0xc)" ( (binary_expression "puVar11 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar11 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar11 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar11 + -0x10)" * (cast_expression "(uint **)(puVar11 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + -0x10)" ( (binary_expression "puVar11 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar4 = *(code **)(puVar5 + 0x38);" (assignment_expression "pcVar4 = *(code **)(puVar5 + 0x38)" identifier = (pointer_expression "*(code **)(puVar5 + 0x38)" * (cast_expression "(code **)(puVar5 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x38)" ( (binary_expression "puVar5 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar11 + -0x14) = 0x7945b;" (assignment_expression "*(undefined4 *)(puVar11 + -0x14) = 0x7945b" (pointer_expression "*(undefined4 *)(puVar11 + -0x14)" * (cast_expression "(undefined4 *)(puVar11 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0x14)" ( (binary_expression "puVar11 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar9 = (*pcVar4)();" (assignment_expression "uVar9 = (*pcVar4)()" identifier = (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = *puVar1 | (uint)local_3c;" (assignment_expression "*puVar1 = *puVar1 | (uint)local_3c" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | (uint)local_3c" (pointer_expression "*puVar1" * identifier) | (cast_expression "(uint)local_3c" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar10 - local_30) + iVar12 * 0x20 < nbits) {\n        puVar1[iVar12] = uVar9;\n      }" if (parenthesized_expression "((uVar10 - local_30) + iVar12 * 0x20 < nbits)" ( (binary_expression "(uVar10 - local_30) + iVar12 * 0x20 < nbits" (binary_expression "(uVar10 - local_30) + iVar12 * 0x20" (parenthesized_expression "(uVar10 - local_30)" ( (binary_expression "uVar10 - local_30" identifier - identifier) )) + (binary_expression "iVar12 * 0x20" identifier * number_literal)) < identifier) )) (compound_statement "{\n        puVar1[iVar12] = uVar9;\n      }" { (expression_statement "puVar1[iVar12] = uVar9;" (assignment_expression "puVar1[iVar12] = uVar9" (subscript_expression "puVar1[iVar12]" identifier [ identifier ]) = identifier) ;) })) }))) (if_statement "if ((nbits & 0x1f) != 0) {\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }" if (parenthesized_expression "((nbits & 0x1f) != 0)" ( (binary_expression "(nbits & 0x1f) != 0" (parenthesized_expression "(nbits & 0x1f)" ( (binary_expression "nbits & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));\n    }" { (expression_statement "local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f));" (assignment_expression "local_38[nbits >> 5] = local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f))" (subscript_expression "local_38[nbits >> 5]" identifier [ (binary_expression "nbits >> 5" identifier >> number_literal) ]) = (binary_expression "local_38[nbits >> 5] & ~(-1 << (sbyte)(nbits & 0x1f))" (subscript_expression "local_38[nbits >> 5]" identifier [ (binary_expression "nbits >> 5" identifier >> number_literal) ]) & (unary_expression "~(-1 << (sbyte)(nbits & 0x1f))" ~ (parenthesized_expression "(-1 << (sbyte)(nbits & 0x1f))" ( (binary_expression "-1 << (sbyte)(nbits & 0x1f)" number_literal << (call_expression "(sbyte)(nbits & 0x1f)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "(nbits & 0x1f)" ( (binary_expression "nbits & 0x1f" identifier & number_literal) )))) ))))) ;) })) })) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));\n  }" if (parenthesized_expression "(__tmp_marker != (tmp_reentrant_t *)0x0)" ( (binary_expression "__tmp_marker != (tmp_reentrant_t *)0x0" identifier != (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;\n    *(undefined4 *)(puVar11 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));\n  }" { (expression_statement "*(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker;" (assignment_expression "*(tmp_reentrant_t **)(puVar11 + -0x10) = __tmp_marker" (pointer_expression "*(tmp_reentrant_t **)(puVar11 + -0x10)" * (cast_expression "(tmp_reentrant_t **)(puVar11 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + -0x10)" ( (binary_expression "puVar11 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar11 + -0x14) = 0x794ac;" (assignment_expression "*(undefined4 *)(puVar11 + -0x14) = 0x794ac" (pointer_expression "*(undefined4 *)(puVar11 + -0x14)" * (cast_expression "(undefined4 *)(puVar11 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + -0x14)" ( (binary_expression "puVar11 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10));" (call_expression "__gmp_tmp_reentrant_free(*(tmp_reentrant_t **)(puVar11 + -0x10))" identifier (argument_list "(*(tmp_reentrant_t **)(puVar11 + -0x10))" ( (pointer_expression "*(tmp_reentrant_t **)(puVar11 + -0x10)" * (cast_expression "(tmp_reentrant_t **)(puVar11 + -0x10)" ( (type_descriptor "tmp_reentrant_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + -0x10)" ( (binary_expression "puVar11 + -0x10" identifier + number_literal) )))) ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar11 + -4) = &UNK_00079502;" (assignment_expression "*(undefined **)(puVar11 + -4) = &UNK_00079502" (pointer_expression "*(undefined **)(puVar11 + -4)" * (cast_expression "(undefined **)(puVar11 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + -4)" ( (binary_expression "puVar11 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079502" & identifier)) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_000792f0(uint param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}\n\n" (function_definition "void FUN_000792f0(uint param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" primitive_type (function_declarator "FUN_000792f0(uint param_1,int param_2,uint param_3)" identifier (parameter_list "(uint param_1,int param_2,uint param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 auStack_5c [8];" type_identifier (array_declarator "auStack_5c [8]" identifier [ number_literal ]) ;) (declaration "undefined **local_54;" type_identifier (pointer_declarator "**local_54" * (pointer_declarator "*local_54" * identifier)) ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "undefined *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_54 = &__DT_PLTGOT;" (assignment_expression "local_54 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_1;" (assignment_expression "local_3c = param_1" identifier = identifier) ;) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" identifier = identifier) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;" (assignment_expression "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" identifier = (binary_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" (pointer_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20)" * (cast_expression "(uint *)(*(int *)(param_1 + 8) + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" ( (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) >> number_literal)) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_44 = (int)(local_30 + 0x1f) >> 5;" (assignment_expression "local_44 = (int)(local_30 + 0x1f) >> 5" identifier = (binary_expression "(int)(local_30 + 0x1f) >> 5" (cast_expression "(int)(local_30 + 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_30 + 0x1f)" ( (binary_expression "local_30 + 0x1f" identifier + number_literal) ))) >> number_literal)) ;) (expression_statement "local_50 = local_44 * 4;" (assignment_expression "local_50 = local_44 * 4" identifier = (binary_expression "local_44 * 4" identifier * number_literal)) ;) (if_statement "if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" if (parenthesized_expression "(local_50 < 0x7f01)" ( (binary_expression "local_50 < 0x7f01" identifier < number_literal) )) (compound_statement "{\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }" { (expression_statement "local_34 = -(local_50 + 0x1b & 0xfffffff0);" (assignment_expression "local_34 = -(local_50 + 0x1b & 0xfffffff0)" identifier = (unary_expression "-(local_50 + 0x1b & 0xfffffff0)" - (parenthesized_expression "(local_50 + 0x1b & 0xfffffff0)" ( (binary_expression "local_50 + 0x1b & 0xfffffff0" (binary_expression "local_50 + 0x1b" identifier + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_5c + local_34;" (assignment_expression "puVar10 = auStack_5c + local_34" identifier = (binary_expression "auStack_5c + local_34" identifier + identifier)) ;) (expression_statement "local_34 = (int)&local_50 + local_34;" (assignment_expression "local_34 = (int)&local_50 + local_34" identifier = (binary_expression "(int)&local_50 + local_34" (cast_expression "(int)&local_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_50" & identifier)) + identifier)) ;) }) (else_clause "else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" else (compound_statement "{\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" { (expression_statement "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);" (assignment_expression "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50)" identifier = (call_expression "__gmp_tmp_reentrant_alloc(&local_24,local_50)" identifier (argument_list "(&local_24,local_50)" ( (pointer_expression "&local_24" & identifier) , identifier )))) ;) (expression_statement "puVar10 = auStack_5c;" (assignment_expression "puVar10 = auStack_5c" identifier = identifier) ;) }))) (expression_statement "local_48 = local_54[-0x9b];" (assignment_expression "local_48 = local_54[-0x9b]" identifier = (subscript_expression "local_54[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "local_4c = local_30 & 0x1f;" (assignment_expression "local_4c = local_30 & 0x1f" identifier = (binary_expression "local_30 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (for_statement "for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" for ( (assignment_expression "uVar8 = local_30" identifier = identifier) ; (binary_expression "uVar8 <= param_3" identifier <= identifier) ; (assignment_expression "uVar8 = local_30 + uVar8" identifier = (binary_expression "local_30 + uVar8" identifier + identifier)) ) (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" { (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" ( (binary_expression "local_38 + (uVar9 >> 5) * 4" identifier + (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" ( (binary_expression "uVar9 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar9 = uVar9 & 0x1f;" (assignment_expression "uVar9 = uVar9 & 0x1f" identifier = (binary_expression "uVar9 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }" { (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x79409;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x79409" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" else (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" { (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7939e;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7939e" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" identifier = identifier) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(uint *)(puVar10 + -4) = uVar9;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar9" (pointer_expression "*(uint *)(puVar10 + -4)" * (cast_expression "(uint *)(puVar10 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -8) = local_44;" (assignment_expression "*(int *)(puVar10 + -8) = local_44" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" identifier = (pointer_expression "*(code **)(puVar4 + 0x38)" * (cast_expression "(code **)(puVar4 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x38)" ( (binary_expression "puVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_40 = uVar2;" (assignment_expression "local_40 = uVar2" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x793b1;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x793b1" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = (*pcVar3)();" (assignment_expression "uVar6 = (*pcVar3)()" identifier = (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = *puVar1 | local_40;" (assignment_expression "*puVar1 = *puVar1 | local_40" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | local_40" (pointer_expression "*puVar1" * identifier) | identifier)) ;) (if_statement "if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" if (parenthesized_expression "(0x20 < uVar9 + local_4c)" ( (binary_expression "0x20 < uVar9 + local_4c" number_literal < (binary_expression "uVar9 + local_4c" identifier + identifier)) )) (compound_statement "{\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" { (expression_statement "*(undefined4 *)((int)puVar1 + local_50) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar1 + local_50) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar1 + local_50)" * (cast_expression "(undefined4 *)((int)puVar1 + local_50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + local_50)" ( (binary_expression "(int)puVar1 + local_50" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) })) }))) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) })) (if_statement "if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" if (parenthesized_expression "(uVar9 != param_3)" ( (binary_expression "uVar9 != param_3" identifier != identifier) )) (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" { (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" ( (binary_expression "local_38 + (uVar9 >> 5) * 4" identifier + (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" ( (binary_expression "uVar9 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar7 = (param_3 - uVar9) + 0x1f;" (assignment_expression "iVar7 = (param_3 - uVar9) + 0x1f" identifier = (binary_expression "(param_3 - uVar9) + 0x1f" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar11 = (param_3 - uVar9) + 0x3e;" (assignment_expression "iVar11 = (param_3 - uVar9) + 0x3e" identifier = (binary_expression "(param_3 - uVar9) + 0x3e" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) + number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      iVar11 = iVar7;\n    }" { (expression_statement "iVar11 = iVar7;" (assignment_expression "iVar11 = iVar7" identifier = identifier) ;) })) (expression_statement "iVar11 = iVar11 >> 5;" (assignment_expression "iVar11 = iVar11 >> 5" identifier = (binary_expression "iVar11 >> 5" identifier >> number_literal)) ;) (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7943a;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7943a" (pointer_expression "*(undefined4 *)(puVar10 + -4)" * (cast_expression "(undefined4 *)(puVar10 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar5 = local_54;" (assignment_expression "ppuVar5 = local_54" identifier = identifier) ;) (expression_statement "uVar8 = uVar9 & 0x1f;" (assignment_expression "uVar8 = uVar9 & 0x1f" identifier = (binary_expression "uVar9 & 0x1f" identifier & number_literal)) ;) (if_statement "if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }" { (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" identifier = (subscript_expression "ppuVar5[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x28);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x28)" identifier = (pointer_expression "*(code **)(puVar4 + 0x28)" * (cast_expression "(code **)(puVar4 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x28)" ( (binary_expression "puVar4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794cc;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794cc" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" else (compound_statement "{\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" { (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "local_30 = uVar8;" (assignment_expression "local_30 = uVar8" identifier = identifier) ;) (expression_statement "*(uint *)(puVar10 + -4) = uVar8;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar8" (pointer_expression "*(uint *)(puVar10 + -4)" * (cast_expression "(uint *)(puVar10 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" identifier = (subscript_expression "ppuVar5[-0x9b]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" * (cast_expression "(int *)(puVar10 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -8)" ( (binary_expression "puVar10 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" identifier = identifier) ;) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" * (cast_expression "(int *)(puVar10 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0xc)" ( (binary_expression "puVar10 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" * (cast_expression "(uint **)(puVar10 + -0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" identifier = (pointer_expression "*(code **)(puVar4 + 0x38)" * (cast_expression "(code **)(puVar4 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x38)" ( (binary_expression "puVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x7945b;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x7945b" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar8 = (*pcVar3)();" (assignment_expression "uVar8 = (*pcVar3)()" identifier = (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = *puVar1 | local_3c;" (assignment_expression "*puVar1 = *puVar1 | local_3c" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | local_3c" (pointer_expression "*puVar1" * identifier) | identifier)) ;) (if_statement "if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }" if (parenthesized_expression "((uVar9 - local_30) + iVar11 * 0x20 < param_3)" ( (binary_expression "(uVar9 - local_30) + iVar11 * 0x20 < param_3" (binary_expression "(uVar9 - local_30) + iVar11 * 0x20" (parenthesized_expression "(uVar9 - local_30)" ( (binary_expression "uVar9 - local_30" identifier - identifier) )) + (binary_expression "iVar11 * 0x20" identifier * number_literal)) < identifier) )) (compound_statement "{\n        puVar1[iVar11] = uVar8;\n      }" { (expression_statement "puVar1[iVar11] = uVar8;" (assignment_expression "puVar1[iVar11] = uVar8" (subscript_expression "puVar1[iVar11]" identifier [ identifier ]) = identifier) ;) })) }))) (if_statement "if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" if (parenthesized_expression "((param_3 & 0x1f) != 0)" ( (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" { (expression_statement "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4)" identifier = (cast_expression "(uint *)(local_38 + (param_3 >> 5) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + (param_3 >> 5) * 4)" ( (binary_expression "local_38 + (param_3 >> 5) * 4" identifier + (binary_expression "(param_3 >> 5) * 4" (parenthesized_expression "(param_3 >> 5)" ( (binary_expression "param_3 >> 5" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));" (assignment_expression "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" * identifier) & (unary_expression "~(-1 << (sbyte)(param_3 & 0x1f))" ~ (parenthesized_expression "(-1 << (sbyte)(param_3 & 0x1f))" ( (binary_expression "-1 << (sbyte)(param_3 & 0x1f)" number_literal << (call_expression "(sbyte)(param_3 & 0x1f)" (parenthesized_expression "(sbyte)" ( identifier )) (argument_list "(param_3 & 0x1f)" ( (binary_expression "param_3 & 0x1f" identifier & number_literal) )))) ))))) ;) })) })) (if_statement "if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" { (expression_statement "*(int *)(puVar10 + -0x10) = local_24;" (assignment_expression "*(int *)(puVar10 + -0x10) = local_24" (pointer_expression "*(int *)(puVar10 + -0x10)" * (cast_expression "(int *)(puVar10 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x10)" ( (binary_expression "puVar10 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794ac;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794ac" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" * (cast_expression "(undefined4 *)(puVar10 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + -0x14)" ( (binary_expression "puVar10 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined **)(puVar10 + -4) = &UNK_00079502;" (assignment_expression "*(undefined **)(puVar10 + -4) = &UNK_00079502" (pointer_expression "*(undefined **)(puVar10 + -4)" * (cast_expression "(undefined **)(puVar10 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + -4)" ( (binary_expression "puVar10 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_00079502" & identifier)) ;) (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT <= IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = IDENT) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + (binary_expression IDENT * LIT)) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & (unary_expression ~ (parenthesized_expression ( (binary_expression LIT << (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT & LIT) )))) ))))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_000792f0(uint param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" (primitive_type "void") (function_declarator "FUN_000792f0(uint param_1,int param_2,uint param_3)" (identifier "FUN_000792f0") (parameter_list "(uint param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  code *pcVar3;\n  undefined *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined1 *puVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  undefined1 auStack_5c [8];\n  undefined **local_54;\n  uint local_50;\n  uint local_4c;\n  undefined *local_48;\n  int local_44;\n  uint local_40;\n  uint local_3c;\n  int local_38;\n  int local_34;\n  uint local_30;\n  int local_24;\n  int local_20;\n  \n  local_54 = &__DT_PLTGOT;\n  local_3c = param_1;\n  local_38 = param_2;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;\n  local_24 = 0;\n  local_44 = (int)(local_30 + 0x1f) >> 5;\n  local_50 = local_44 * 4;\n  if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }\n  local_48 = local_54[-0x9b];\n  local_4c = local_30 & 0x1f;\n  uVar9 = 0;\n  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }\n  if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }\n  if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar10 + -4) = &UNK_00079502;\n  FUN_00079d30();\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined **ppuVar5;" (type_identifier "undefined") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined1 *puVar10;" (type_identifier "undefined1") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 auStack_5c [8];" (type_identifier "undefined1") (array_declarator "auStack_5c [8]" (identifier "auStack_5c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined **local_54;" (type_identifier "undefined") (pointer_declarator "**local_54" (* "*") (pointer_declarator "*local_54" (* "*") (identifier "local_54"))) (; ";")) (declaration "uint local_50;" (type_identifier "uint") (identifier "local_50") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "undefined *local_48;" (type_identifier "undefined") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "uint local_3c;" (type_identifier "uint") (identifier "local_3c") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "local_54 = &__DT_PLTGOT;" (assignment_expression "local_54 = &__DT_PLTGOT" (identifier "local_54") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "local_3c = param_1;" (assignment_expression "local_3c = param_1" (identifier "local_3c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" (identifier "local_38") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;" (assignment_expression "local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" (identifier "local_30") (= "=") (binary_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1" (pointer_expression "*(uint *)(*(int *)(param_1 + 8) + 0x20)" (* "*") (cast_expression "(uint *)(*(int *)(param_1 + 8) + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x20" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = (int)(local_30 + 0x1f) >> 5;" (assignment_expression "local_44 = (int)(local_30 + 0x1f) >> 5" (identifier "local_44") (= "=") (binary_expression "(int)(local_30 + 0x1f) >> 5" (cast_expression "(int)(local_30 + 0x1f)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_30 + 0x1f)" (( "(") (binary_expression "local_30 + 0x1f" (identifier "local_30") (+ "+") (number_literal "0x1f")) () ")"))) (>> ">>") (number_literal "5"))) (; ";")) (expression_statement "local_50 = local_44 * 4;" (assignment_expression "local_50 = local_44 * 4" (identifier "local_50") (= "=") (binary_expression "local_44 * 4" (identifier "local_44") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (local_50 < 0x7f01) {\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }\n  else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" (if "if") (parenthesized_expression "(local_50 < 0x7f01)" (( "(") (binary_expression "local_50 < 0x7f01" (identifier "local_50") (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n    local_34 = -(local_50 + 0x1b & 0xfffffff0);\n    puVar10 = auStack_5c + local_34;\n    local_34 = (int)&local_50 + local_34;\n  }" ({ "{") (expression_statement "local_34 = -(local_50 + 0x1b & 0xfffffff0);" (assignment_expression "local_34 = -(local_50 + 0x1b & 0xfffffff0)" (identifier "local_34") (= "=") (unary_expression "-(local_50 + 0x1b & 0xfffffff0)" (- "-") (parenthesized_expression "(local_50 + 0x1b & 0xfffffff0)" (( "(") (binary_expression "local_50 + 0x1b & 0xfffffff0" (binary_expression "local_50 + 0x1b" (identifier "local_50") (+ "+") (number_literal "0x1b")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar10 = auStack_5c + local_34;" (assignment_expression "puVar10 = auStack_5c + local_34" (identifier "puVar10") (= "=") (binary_expression "auStack_5c + local_34" (identifier "auStack_5c") (+ "+") (identifier "local_34"))) (; ";")) (expression_statement "local_34 = (int)&local_50 + local_34;" (assignment_expression "local_34 = (int)&local_50 + local_34" (identifier "local_34") (= "=") (binary_expression "(int)&local_50 + local_34" (cast_expression "(int)&local_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_50" (& "&") (identifier "local_50"))) (+ "+") (identifier "local_34"))) (; ";")) (} "}")) (else_clause "else {\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" (else "else") (compound_statement "{\n    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);\n    puVar10 = auStack_5c;\n  }" ({ "{") (expression_statement "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);" (assignment_expression "local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50)" (identifier "local_34") (= "=") (call_expression "__gmp_tmp_reentrant_alloc(&local_24,local_50)" (identifier "__gmp_tmp_reentrant_alloc") (argument_list "(&local_24,local_50)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "local_50") () ")")))) (; ";")) (expression_statement "puVar10 = auStack_5c;" (assignment_expression "puVar10 = auStack_5c" (identifier "puVar10") (= "=") (identifier "auStack_5c")) (; ";")) (} "}")))) (expression_statement "local_48 = local_54[-0x9b];" (assignment_expression "local_48 = local_54[-0x9b]" (identifier "local_48") (= "=") (subscript_expression "local_54[-0x9b]" (identifier "local_54") ([ "[") (number_literal "-0x9b") (] "]"))) (; ";")) (expression_statement "local_4c = local_30 & 0x1f;" (assignment_expression "local_4c = local_30 & 0x1f" (identifier "local_4c") (= "=") (binary_expression "local_30 & 0x1f" (identifier "local_30") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (for_statement "for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" (for "for") (( "(") (assignment_expression "uVar8 = local_30" (identifier "uVar8") (= "=") (identifier "local_30")) (; ";") (binary_expression "uVar8 <= param_3" (identifier "uVar8") (<= "<=") (identifier "param_3")) (; ";") (assignment_expression "uVar8 = local_30 + uVar8" (identifier "uVar8") (= "=") (binary_expression "local_30 + uVar8" (identifier "local_30") (+ "+") (identifier "uVar8"))) () ")") (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    uVar9 = uVar9 & 0x1f;\n    if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }\n    uVar9 = uVar8;\n  }" ({ "{") (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" (( "(") (binary_expression "local_38 + (uVar9 >> 5) * 4" (identifier "local_38") (+ "+") (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" (( "(") (binary_expression "uVar9 >> 5" (identifier "uVar9") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar9 = uVar9 & 0x1f;" (assignment_expression "uVar9 = uVar9 & 0x1f" (identifier "uVar9") (= "=") (binary_expression "uVar9 & 0x1f" (identifier "uVar9") (& "&") (number_literal "0x1f"))) (; ";")) (if_statement "if (uVar9 == 0) {\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }\n    else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x79409;\n      FUN_00079080();\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x79409;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x79409" (pointer_expression "*(undefined4 *)(puVar10 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x79409")) (; ";")) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" (identifier "FUN_00079080") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(puVar10 + -4) = 0x7939e;\n      FUN_00079080();\n      puVar4 = local_48;\n      uVar2 = *puVar1;\n      *(uint *)(puVar10 + -4) = uVar9;\n      *(int *)(puVar10 + -8) = local_44;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      local_40 = uVar2;\n      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;\n      uVar6 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_40;\n      if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7939e;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7939e" (pointer_expression "*(undefined4 *)(puVar10 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x7939e")) (; ";")) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" (identifier "FUN_00079080") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" (identifier "puVar4") (= "=") (identifier "local_48")) (; ";")) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*(uint *)(puVar10 + -4) = uVar9;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar9" (pointer_expression "*(uint *)(puVar10 + -4)" (* "*") (cast_expression "(uint *)(puVar10 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*(int *)(puVar10 + -8) = local_44;" (assignment_expression "*(int *)(puVar10 + -8) = local_44" (pointer_expression "*(int *)(puVar10 + -8)" (* "*") (cast_expression "(int *)(puVar10 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -8)" (( "(") (binary_expression "puVar10 + -8" (identifier "puVar10") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" (* "*") (cast_expression "(int *)(puVar10 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0xc)" (( "(") (binary_expression "puVar10 + -0xc" (identifier "puVar10") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" (* "*") (cast_expression "(uint **)(puVar10 + -0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + -0x10)" (( "(") (binary_expression "puVar10 + -0x10" (identifier "puVar10") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar4 + 0x38)" (* "*") (cast_expression "(code **)(puVar4 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x38)" (( "(") (binary_expression "puVar4 + 0x38" (identifier "puVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "local_40 = uVar2;" (assignment_expression "local_40 = uVar2" (identifier "local_40") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x793b1;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x793b1" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0x14)" (( "(") (binary_expression "puVar10 + -0x14" (identifier "puVar10") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x793b1")) (; ";")) (expression_statement "uVar6 = (*pcVar3)();" (assignment_expression "uVar6 = (*pcVar3)()" (identifier "uVar6") (= "=") (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | local_40;" (assignment_expression "*puVar1 = *puVar1 | local_40" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | local_40" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (identifier "local_40"))) (; ";")) (if_statement "if (0x20 < uVar9 + local_4c) {\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" (if "if") (parenthesized_expression "(0x20 < uVar9 + local_4c)" (( "(") (binary_expression "0x20 < uVar9 + local_4c" (number_literal "0x20") (< "<") (binary_expression "uVar9 + local_4c" (identifier "uVar9") (+ "+") (identifier "local_4c"))) () ")")) (compound_statement "{\n        *(undefined4 *)((int)puVar1 + local_50) = uVar6;\n      }" ({ "{") (expression_statement "*(undefined4 *)((int)puVar1 + local_50) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar1 + local_50) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar1 + local_50)" (* "*") (cast_expression "(undefined4 *)((int)puVar1 + local_50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + local_50)" (( "(") (binary_expression "(int)puVar1 + local_50" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (identifier "local_50")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" (identifier "uVar9") (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (if_statement "if (uVar9 != param_3) {\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" (if "if") (parenthesized_expression "(uVar9 != param_3)" (( "(") (binary_expression "uVar9 != param_3" (identifier "uVar9") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);\n    iVar7 = (param_3 - uVar9) + 0x1f;\n    iVar11 = (param_3 - uVar9) + 0x3e;\n    if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }\n    iVar11 = iVar11 >> 5;\n    *(undefined4 *)(puVar10 + -4) = 0x7943a;\n    FUN_00079080();\n    ppuVar5 = local_54;\n    uVar8 = uVar9 & 0x1f;\n    if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }\n    if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }\n  }" ({ "{") (expression_statement "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(local_38 + (uVar9 >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_38 + (uVar9 >> 5) * 4)" (( "(") (binary_expression "local_38 + (uVar9 >> 5) * 4" (identifier "local_38") (+ "+") (binary_expression "(uVar9 >> 5) * 4" (parenthesized_expression "(uVar9 >> 5)" (( "(") (binary_expression "uVar9 >> 5" (identifier "uVar9") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar7 = (param_3 - uVar9) + 0x1f;" (assignment_expression "iVar7 = (param_3 - uVar9) + 0x1f" (identifier "iVar7") (= "=") (binary_expression "(param_3 - uVar9) + 0x1f" (parenthesized_expression "(param_3 - uVar9)" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) () ")")) (+ "+") (number_literal "0x1f"))) (; ";")) (expression_statement "iVar11 = (param_3 - uVar9) + 0x3e;" (assignment_expression "iVar11 = (param_3 - uVar9) + 0x3e" (identifier "iVar11") (= "=") (binary_expression "(param_3 - uVar9) + 0x3e" (parenthesized_expression "(param_3 - uVar9)" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) () ")")) (+ "+") (number_literal "0x3e"))) (; ";")) (if_statement "if (-1 < iVar7) {\n      iVar11 = iVar7;\n    }" (if "if") (parenthesized_expression "(-1 < iVar7)" (( "(") (binary_expression "-1 < iVar7" (number_literal "-1") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n      iVar11 = iVar7;\n    }" ({ "{") (expression_statement "iVar11 = iVar7;" (assignment_expression "iVar11 = iVar7" (identifier "iVar11") (= "=") (identifier "iVar7")) (; ";")) (} "}"))) (expression_statement "iVar11 = iVar11 >> 5;" (assignment_expression "iVar11 = iVar11 >> 5" (identifier "iVar11") (= "=") (binary_expression "iVar11 >> 5" (identifier "iVar11") (>> ">>") (number_literal "5"))) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + -4) = 0x7943a;" (assignment_expression "*(undefined4 *)(puVar10 + -4) = 0x7943a" (pointer_expression "*(undefined4 *)(puVar10 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x7943a")) (; ";")) (expression_statement "FUN_00079080();" (call_expression "FUN_00079080()" (identifier "FUN_00079080") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "ppuVar5 = local_54;" (assignment_expression "ppuVar5 = local_54" (identifier "ppuVar5") (= "=") (identifier "local_54")) (; ";")) (expression_statement "uVar8 = uVar9 & 0x1f;" (assignment_expression "uVar8 = uVar9 & 0x1f" (identifier "uVar8") (= "=") (binary_expression "uVar9 & 0x1f" (identifier "uVar9") (& "&") (number_literal "0x1f"))) (; ";")) (if_statement "if (uVar8 == 0) {\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }\n    else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(int *)(puVar10 + -8) = iVar11;\n      *(int *)(puVar10 + -0xc) = local_34;\n      puVar4 = ppuVar5[-0x9b];\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x28);\n      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;\n      (*pcVar3)();\n    }" ({ "{") (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" (* "*") (cast_expression "(int *)(puVar10 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -8)" (( "(") (binary_expression "puVar10 + -8" (identifier "puVar10") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" (* "*") (cast_expression "(int *)(puVar10 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0xc)" (( "(") (binary_expression "puVar10 + -0xc" (identifier "puVar10") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" (identifier "puVar4") (= "=") (subscript_expression "ppuVar5[-0x9b]" (identifier "ppuVar5") ([ "[") (number_literal "-0x9b") (] "]"))) (; ";")) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" (* "*") (cast_expression "(uint **)(puVar10 + -0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + -0x10)" (( "(") (binary_expression "puVar10 + -0x10" (identifier "puVar10") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x28);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x28)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar4 + 0x28)" (* "*") (cast_expression "(code **)(puVar4 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x28)" (( "(") (binary_expression "puVar4 + 0x28" (identifier "puVar4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794cc;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794cc" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0x14)" (( "(") (binary_expression "puVar10 + -0x14" (identifier "puVar10") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x794cc")) (; ";")) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" (else "else") (compound_statement "{\n      uVar2 = *puVar1;\n      local_30 = uVar8;\n      *(uint *)(puVar10 + -4) = uVar8;\n      puVar4 = ppuVar5[-0x9b];\n      *(int *)(puVar10 + -8) = iVar11;\n      local_3c = uVar2;\n      *(int *)(puVar10 + -0xc) = local_34;\n      *(uint **)(puVar10 + -0x10) = puVar1;\n      pcVar3 = *(code **)(puVar4 + 0x38);\n      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;\n      uVar8 = (*pcVar3)();\n      *puVar1 = *puVar1 | local_3c;\n      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }\n    }" ({ "{") (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "local_30 = uVar8;" (assignment_expression "local_30 = uVar8" (identifier "local_30") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "*(uint *)(puVar10 + -4) = uVar8;" (assignment_expression "*(uint *)(puVar10 + -4) = uVar8" (pointer_expression "*(uint *)(puVar10 + -4)" (* "*") (cast_expression "(uint *)(puVar10 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar4 = ppuVar5[-0x9b];" (assignment_expression "puVar4 = ppuVar5[-0x9b]" (identifier "puVar4") (= "=") (subscript_expression "ppuVar5[-0x9b]" (identifier "ppuVar5") ([ "[") (number_literal "-0x9b") (] "]"))) (; ";")) (expression_statement "*(int *)(puVar10 + -8) = iVar11;" (assignment_expression "*(int *)(puVar10 + -8) = iVar11" (pointer_expression "*(int *)(puVar10 + -8)" (* "*") (cast_expression "(int *)(puVar10 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -8)" (( "(") (binary_expression "puVar10 + -8" (identifier "puVar10") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "local_3c = uVar2;" (assignment_expression "local_3c = uVar2" (identifier "local_3c") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(int *)(puVar10 + -0xc) = local_34;" (assignment_expression "*(int *)(puVar10 + -0xc) = local_34" (pointer_expression "*(int *)(puVar10 + -0xc)" (* "*") (cast_expression "(int *)(puVar10 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0xc)" (( "(") (binary_expression "puVar10 + -0xc" (identifier "puVar10") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(uint **)(puVar10 + -0x10) = puVar1;" (assignment_expression "*(uint **)(puVar10 + -0x10) = puVar1" (pointer_expression "*(uint **)(puVar10 + -0x10)" (* "*") (cast_expression "(uint **)(puVar10 + -0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + -0x10)" (( "(") (binary_expression "puVar10 + -0x10" (identifier "puVar10") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "pcVar3 = *(code **)(puVar4 + 0x38);" (assignment_expression "pcVar3 = *(code **)(puVar4 + 0x38)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar4 + 0x38)" (* "*") (cast_expression "(code **)(puVar4 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x38)" (( "(") (binary_expression "puVar4 + 0x38" (identifier "puVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x7945b;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x7945b" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0x14)" (( "(") (binary_expression "puVar10 + -0x14" (identifier "puVar10") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x7945b")) (; ";")) (expression_statement "uVar8 = (*pcVar3)();" (assignment_expression "uVar8 = (*pcVar3)()" (identifier "uVar8") (= "=") (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 | local_3c;" (assignment_expression "*puVar1 = *puVar1 | local_3c" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 | local_3c" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (| "|") (identifier "local_3c"))) (; ";")) (if_statement "if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {\n        puVar1[iVar11] = uVar8;\n      }" (if "if") (parenthesized_expression "((uVar9 - local_30) + iVar11 * 0x20 < param_3)" (( "(") (binary_expression "(uVar9 - local_30) + iVar11 * 0x20 < param_3" (binary_expression "(uVar9 - local_30) + iVar11 * 0x20" (parenthesized_expression "(uVar9 - local_30)" (( "(") (binary_expression "uVar9 - local_30" (identifier "uVar9") (- "-") (identifier "local_30")) () ")")) (+ "+") (binary_expression "iVar11 * 0x20" (identifier "iVar11") (* "*") (number_literal "0x20"))) (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n        puVar1[iVar11] = uVar8;\n      }" ({ "{") (expression_statement "puVar1[iVar11] = uVar8;" (assignment_expression "puVar1[iVar11] = uVar8" (subscript_expression "puVar1[iVar11]" (identifier "puVar1") ([ "[") (identifier "iVar11") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((param_3 & 0x1f) != 0) {\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" (if "if") (parenthesized_expression "((param_3 & 0x1f) != 0)" (( "(") (binary_expression "(param_3 & 0x1f) != 0" (parenthesized_expression "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);\n      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));\n    }" ({ "{") (expression_statement "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);" (assignment_expression "puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(local_38 + (param_3 >> 5) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_38 + (param_3 >> 5) * 4)" (( "(") (binary_expression "local_38 + (param_3 >> 5) * 4" (identifier "local_38") (+ "+") (binary_expression "(param_3 >> 5) * 4" (parenthesized_expression "(param_3 >> 5)" (( "(") (binary_expression "param_3 >> 5" (identifier "param_3") (>> ">>") (number_literal "5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));" (assignment_expression "*puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f))" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (& "&") (unary_expression "~(-1 << (sbyte)(param_3 & 0x1f))" (~ "~") (parenthesized_expression "(-1 << (sbyte)(param_3 & 0x1f))" (( "(") (binary_expression "-1 << (sbyte)(param_3 & 0x1f)" (number_literal "-1") (<< "<<") (call_expression "(sbyte)(param_3 & 0x1f)" (parenthesized_expression "(sbyte)" (( "(") (identifier "sbyte") () ")")) (argument_list "(param_3 & 0x1f)" (( "(") (binary_expression "param_3 & 0x1f" (identifier "param_3") (& "&") (number_literal "0x1f")) () ")")))) () ")"))))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (local_24 != 0) {\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(puVar10 + -0x10) = local_24;\n    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;\n    __gmp_tmp_reentrant_free();\n  }" ({ "{") (expression_statement "*(int *)(puVar10 + -0x10) = local_24;" (assignment_expression "*(int *)(puVar10 + -0x10) = local_24" (pointer_expression "*(int *)(puVar10 + -0x10)" (* "*") (cast_expression "(int *)(puVar10 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0x10)" (( "(") (binary_expression "puVar10 + -0x10" (identifier "puVar10") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + -0x14) = 0x794ac;" (assignment_expression "*(undefined4 *)(puVar10 + -0x14) = 0x794ac" (pointer_expression "*(undefined4 *)(puVar10 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar10 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + -0x14)" (( "(") (binary_expression "puVar10 + -0x14" (identifier "puVar10") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x794ac")) (; ";")) (expression_statement "__gmp_tmp_reentrant_free();" (call_expression "__gmp_tmp_reentrant_free()" (identifier "__gmp_tmp_reentrant_free") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined **)(puVar10 + -4) = &UNK_00079502;" (assignment_expression "*(undefined **)(puVar10 + -4) = &UNK_00079502" (pointer_expression "*(undefined **)(puVar10 + -4)" (* "*") (cast_expression "(undefined **)(puVar10 + -4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + -4)" (( "(") (binary_expression "puVar10 + -4" (identifier "puVar10") (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "&UNK_00079502" (& "&") (identifier "UNK_00079502"))) (; ";")) (expression_statement "FUN_00079d30();" (call_expression "FUN_00079d30()" (identifier "FUN_00079d30") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "gmp_randalg_t": Some values do not have unique names */

void function_1(type_1 *rstate,type_2 rp,type_3 var_8)

{
  type_2 rp_00;
  type_4 *puVar1;
  type_1 *p_Var2;
  type_5 mVar3;
  type_6 *pcVar4;
  type_7 *var_13;
  type_2 rp_01;
  type_7 **ppuVar6;
  type_8 uVar7;
  int var_15;
  type_4 var_7;
  type_4 var_10;
  type_9 *var_11;
  int var_5;
  int var_1;
  type_9 var_4 [8];
  type_7 **local_54;
  type_4 local_50 [2];
  type_7 *local_48;
  int var_3;
  type_4 var_14;
  type_1 *local_3c;
  type_2 var_9;
  type_2 local_34;
  type_4 var_2;
  type_10 *var_16;
  int var_18;
  
  local_54 = &_GLOBAL_OFFSET_TABLE_;
  local_3c = rstate;
  var_9 = rp;
  var_18 = *(int *)(var_1 + 0x14);
  var_2 = rstate->_mp_seed[0]._mp_d[8] >> 1;
  var_16 = (type_10 *)0x0;
  var_3 = (int)(var_2 + 0x1f) >> 5;
  local_50[0] = var_3 * 4;
  if (local_50[0] < 0x7f01) {
    var_5 = -(local_50[0] + 0x1b & 0xfffffff0);
    var_11 = var_4 + var_5;
    local_34 = (type_2)((int)local_50 + var_5);
  }
  else {
    local_34 = (type_2)var_6(&var_16,local_50[0]);
    var_11 = var_4;
  }
  local_48 = local_54[-0x9b];
  local_50[1] = var_2 & 0x1f;
  var_10 = 0;
  rp_01 = local_34;
  for (var_7 = var_2; local_34 = rp_01, var_7 <= var_8; var_7 = var_2 + var_7) {
    rp_00 = var_9 + (var_10 >> 5);
    p_Var2 = (type_1 *)local_3c->_mp_seed[0]._mp_d;
    var_10 = var_10 & 0x1f;
    if (var_10 == 0) {
      *(type_8 *)(var_11 + -4) = 0x79409;
      var_12(rp_00,p_Var2);
    }
    else {
      *(type_8 *)(var_11 + -4) = 0x7939e;
      var_12(rp_01,p_Var2);
      var_13 = local_48;
      mVar3 = *rp_00;
      *(type_4 *)(var_11 + -4) = var_10;
      *(int *)(var_11 + -8) = var_3;
      *(type_2 *)(var_11 + -0xc) = local_34;
      *(type_2 *)(var_11 + -0x10) = rp_00;
      pcVar4 = *(type_6 **)(var_13 + 0x38);
      var_14 = mVar3;
      *(type_8 *)(var_11 + -0x14) = 0x793b1;
      uVar7 = (*pcVar4)();
      *rp_00 = *rp_00 | var_14;
      if (0x20 < var_10 + local_50[1]) {
        *(type_8 *)((int)rp_00 + local_50[0]) = uVar7;
      }
    }
    var_10 = var_7;
    rp_01 = local_34;
  }
  if (var_10 != var_8) {
    puVar1 = var_9 + (var_10 >> 5);
    var_15 = (var_8 - var_10) + 0x1f;
    var_5 = (var_8 - var_10) + 0x3e;
    if (-1 < var_15) {
      var_5 = var_15;
    }
    p_Var2 = (type_1 *)local_3c->_mp_seed[0]._mp_d;
    var_5 = var_5 >> 5;
    *(type_8 *)(var_11 + -4) = 0x7943a;
    var_12(rp_01,p_Var2);
    ppuVar6 = local_54;
    var_7 = var_10 & 0x1f;
    if (var_7 == 0) {
      *(int *)(var_11 + -8) = var_5;
      *(type_2 *)(var_11 + -0xc) = local_34;
      var_13 = ppuVar6[-0x9b];
      *(type_4 **)(var_11 + -0x10) = puVar1;
      pcVar4 = *(type_6 **)(var_13 + 0x28);
      *(type_8 *)(var_11 + -0x14) = 0x794cc;
      (*pcVar4)();
    }
    else {
      p_Var2 = (type_1 *)*puVar1;
      var_2 = var_7;
      *(type_4 *)(var_11 + -4) = var_7;
      var_13 = ppuVar6[-0x9b];
      *(int *)(var_11 + -8) = var_5;
      local_3c = p_Var2;
      *(type_2 *)(var_11 + -0xc) = local_34;
      *(type_4 **)(var_11 + -0x10) = puVar1;
      pcVar4 = *(type_6 **)(var_13 + 0x38);
      *(type_8 *)(var_11 + -0x14) = 0x7945b;
      var_7 = (*pcVar4)();
      *puVar1 = *puVar1 | (type_4)local_3c;
      if ((var_10 - var_2) + var_5 * 0x20 < var_8) {
        puVar1[var_5] = var_7;
      }
    }
    if ((var_8 & 0x1f) != 0) {
      var_9[var_8 >> 5] = var_9[var_8 >> 5] & ~(-1 << (sbyte)(var_8 & 0x1f));
    }
  }
  if (var_16 != (type_10 *)0x0) {
    *(type_10 **)(var_11 + -0x10) = var_16;
    *(type_8 *)(var_11 + -0x14) = 0x794ac;
    var_17(*(type_10 **)(var_11 + -0x10));
  }
  if (var_18 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(type_7 **)(var_11 + -4) = &UNK_00079502;
  var_19();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (identifier)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  uint *puVar1;
  uint uVar2;
  code *pcVar3;
  undefined *puVar4;
  undefined **ppuVar5;
  undefined4 uVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined1 *puVar10;
  int iVar11;
  int in_GS_OFFSET;
  undefined1 auStack_5c [8];
  undefined **local_54;
  uint local_50;
  uint local_4c;
  undefined *local_48;
  int local_44;
  uint local_40;
  uint local_3c;
  int local_38;
  int local_34;
  uint local_30;
  int local_24;
  int local_20;
  
  local_54 = &__DT_PLTGOT;
  local_3c = param_1;
  local_38 = param_2;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_30 = *(uint *)(*(int *)(param_1 + 8) + 0x20) >> 1;
  local_24 = 0;
  local_44 = (int)(local_30 + 0x1f) >> 5;
  local_50 = local_44 * 4;
  if (local_50 < 0x7f01) {
    local_34 = -(local_50 + 0x1b & 0xfffffff0);
    puVar10 = auStack_5c + local_34;
    local_34 = (int)&local_50 + local_34;
  }
  else {
    local_34 = __gmp_tmp_reentrant_alloc(&local_24,local_50);
    puVar10 = auStack_5c;
  }
  local_48 = local_54[-0x9b];
  local_4c = local_30 & 0x1f;
  uVar9 = 0;
  for (uVar8 = local_30; uVar8 <= param_3; uVar8 = local_30 + uVar8) {
    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);
    uVar9 = uVar9 & 0x1f;
    if (uVar9 == 0) {
      *(undefined4 *)(puVar10 + -4) = 0x79409;
      FUN_00079080();
    }
    else {
      *(undefined4 *)(puVar10 + -4) = 0x7939e;
      FUN_00079080();
      puVar4 = local_48;
      uVar2 = *puVar1;
      *(uint *)(puVar10 + -4) = uVar9;
      *(int *)(puVar10 + -8) = local_44;
      *(int *)(puVar10 + -0xc) = local_34;
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x38);
      local_40 = uVar2;
      *(undefined4 *)(puVar10 + -0x14) = 0x793b1;
      uVar6 = (*pcVar3)();
      *puVar1 = *puVar1 | local_40;
      if (0x20 < uVar9 + local_4c) {
        *(undefined4 *)((int)puVar1 + local_50) = uVar6;
      }
    }
    uVar9 = uVar8;
  }
  if (uVar9 != param_3) {
    puVar1 = (uint *)(local_38 + (uVar9 >> 5) * 4);
    iVar7 = (param_3 - uVar9) + 0x1f;
    iVar11 = (param_3 - uVar9) + 0x3e;
    if (-1 < iVar7) {
      iVar11 = iVar7;
    }
    iVar11 = iVar11 >> 5;
    *(undefined4 *)(puVar10 + -4) = 0x7943a;
    FUN_00079080();
    ppuVar5 = local_54;
    uVar8 = uVar9 & 0x1f;
    if (uVar8 == 0) {
      *(int *)(puVar10 + -8) = iVar11;
      *(int *)(puVar10 + -0xc) = local_34;
      puVar4 = ppuVar5[-0x9b];
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x28);
      *(undefined4 *)(puVar10 + -0x14) = 0x794cc;
      (*pcVar3)();
    }
    else {
      uVar2 = *puVar1;
      local_30 = uVar8;
      *(uint *)(puVar10 + -4) = uVar8;
      puVar4 = ppuVar5[-0x9b];
      *(int *)(puVar10 + -8) = iVar11;
      local_3c = uVar2;
      *(int *)(puVar10 + -0xc) = local_34;
      *(uint **)(puVar10 + -0x10) = puVar1;
      pcVar3 = *(code **)(puVar4 + 0x38);
      *(undefined4 *)(puVar10 + -0x14) = 0x7945b;
      uVar8 = (*pcVar3)();
      *puVar1 = *puVar1 | local_3c;
      if ((uVar9 - local_30) + iVar11 * 0x20 < param_3) {
        puVar1[iVar11] = uVar8;
      }
    }
    if ((param_3 & 0x1f) != 0) {
      puVar1 = (uint *)(local_38 + (param_3 >> 5) * 4);
      *puVar1 = *puVar1 & ~(-1 << (sbyte)(param_3 & 0x1f));
    }
  }
  if (local_24 != 0) {
    *(int *)(puVar10 + -0x10) = local_24;
    *(undefined4 *)(puVar10 + -0x14) = 0x794ac;
    __gmp_tmp_reentrant_free();
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar10 + -4) = &UNK_00079502;
  FUN_00079d30();
}

