Files
PSPRecomp/profiles/vcs/generated/generated_unit_0012.cpp
Jessica_Natalia 96405fbb47 otimizaçoes round 20
otimizaçoes round 20
2026-08-28 01:47:51 -03:00

9593 lines
488 KiB
C++

#include "psprecomp/runtime.hpp"
#include "generated_units.hpp"
#include "vcs_resident_regions.hpp"
#include <bit>
#include <cmath>
#include <cstdint>
#include <limits>
namespace psprecomp {
// PSPRECOMP_V811_COMPACT_DISPATCH: 64-slot occupancy masks + per-group base id.
static constexpr std::uint64_t kEntryMasks_recomp_unit_0012[64] = {
0xA200040102000001ull, 0x5100020081000000ull, 0x1440008102000000ull, 0x0001000000500841ull,
0x0002000020288001ull, 0x2108404068004002ull, 0x2400000410055544ull, 0x0002800000500012ull,
0x4880010000001500ull, 0x5012A0540A895411ull, 0x4100000208020AA0ull, 0x0500111022000800ull,
0x0910205495204920ull, 0x4000204440910244ull, 0x0408000800044000ull, 0x8810100810040808ull,
0x0080420001012888ull, 0x1000080000000012ull, 0x02800154800000A0ull, 0x9348A00041A241A2ull,
0x48B2CB2CA080928Aull, 0x8004400001000020ull, 0x0000011000089102ull, 0x400050C811409088ull,
0x0002200012004212ull, 0x1021100008000008ull, 0x0902A09608002202ull, 0x90122AC082022450ull,
0x0008000004000111ull, 0x0200008804A04110ull, 0xA254084400020000ull, 0x4884004002004000ull,
0x2000000410088040ull, 0x8800040001040000ull, 0x0000002080440250ull, 0x4000200008200001ull,
0x4081414005084184ull, 0x0200008A04140830ull, 0x0010A81088000400ull, 0x4000080000052000ull,
0x02808C2000240800ull, 0x8424040804805010ull, 0x9000011000000200ull, 0x080002041002082Aull,
0x0040000204040400ull, 0x00002000402A4080ull, 0x8808101010080004ull, 0x0442010112020810ull,
0x2280814042080011ull, 0x8209104008208208ull, 0x8A8B8080AA104094ull, 0x0021000000006810ull,
0x0000100400040000ull, 0x0A80108104108008ull, 0x0042440000404401ull, 0x08B808001400042Aull,
0x0000001104000000ull, 0x0000005144040010ull, 0x8800001000080800ull, 0xA900000040001080ull,
0xA5208450A5214A54ull, 0x1040085020824089ull, 0x9512028815511000ull, 0x148152954A555112ull,
};
static constexpr std::uint16_t kEntryBases_recomp_unit_0012[64] = {
1u, 8u, 14u, 20u, 26u, 32u, 42u, 54u, 60u, 67u, 86u, 95u, 103u, 119u, 130u, 135u,
144u, 153u, 157u, 166u, 184u, 207u, 212u, 219u, 232u, 240u, 246u, 259u, 275u, 280u, 289u, 299u,
306u, 312u, 317u, 324u, 329u, 342u, 352u, 360u, 365u, 374u, 385u, 390u, 399u, 404u, 411u, 419u,
429u, 440u, 451u, 469u, 475u, 478u, 488u, 496u, 508u, 511u, 518u, 523u, 530u, 551u, 563u, 579u,
};
void recomp_unit_0012_entry(Runtime &rt, AllegrexContext &ctx, std::uint16_t direct_entry_id, GuestMemory::AotFastView &aot_mem) {
// PSPRECOMP_AOT_REGCACHE_BEGIN
// PSPRECOMP_AOT_REGCACHE_META gprs=4,5,29,6,31,18 fprs=12,13,20,14 gpr_occ=3540 fpr_occ=1390 gpr_total=4803 fpr_total=1796
std::uint32_t aot_gpr_4 = ctx.gpr[4];
std::uint32_t aot_gpr_5 = ctx.gpr[5];
std::uint32_t aot_gpr_29 = ctx.gpr[29];
std::uint32_t aot_gpr_6 = ctx.gpr[6];
std::uint32_t aot_gpr_31 = ctx.gpr[31];
std::uint32_t aot_gpr_18 = ctx.gpr[18];
float aot_fpr_12 = ctx.fpr[12];
float aot_fpr_13 = ctx.fpr[13];
float aot_fpr_20 = ctx.fpr[20];
float aot_fpr_14 = ctx.fpr[14];
bool aot_regcache_valid = true;
#define AOT_REGCACHE_SYNC_OUT() do { if (aot_regcache_valid) { ctx.gpr[4] = aot_gpr_4; ctx.gpr[5] = aot_gpr_5; ctx.gpr[29] = aot_gpr_29; ctx.gpr[6] = aot_gpr_6; ctx.gpr[31] = aot_gpr_31; ctx.gpr[18] = aot_gpr_18; ctx.fpr[12] = aot_fpr_12; ctx.fpr[13] = aot_fpr_13; ctx.fpr[20] = aot_fpr_20; ctx.fpr[14] = aot_fpr_14; } } while (false)
#define AOT_REGCACHE_SYNC_IN() do { if (aot_regcache_valid) { aot_gpr_4 = ctx.gpr[4]; aot_gpr_5 = ctx.gpr[5]; aot_gpr_29 = ctx.gpr[29]; aot_gpr_6 = ctx.gpr[6]; aot_gpr_31 = ctx.gpr[31]; aot_gpr_18 = ctx.gpr[18]; aot_fpr_12 = ctx.fpr[12]; aot_fpr_13 = ctx.fpr[13]; aot_fpr_20 = ctx.fpr[20]; aot_fpr_14 = ctx.fpr[14]; } } while (false)
// PSPRECOMP_AOT_REGCACHE_END
std::uint32_t jump_target = 0u;
std::uint32_t local_transfers = 0u;
std::uint32_t local_redispatch_rounds = 0u;
std::uint32_t local_pc = ctx.pc;
std::uint32_t entry_id = direct_entry_id;
LOCAL_DISPATCH:
{
if (entry_id == 0u) {
const std::uint32_t entry_delta = local_pc - 0x08834000u;
entry_id = 0u;
if (entry_delta < 16372u && (entry_delta & 3u) == 0u) {
const std::uint32_t entry_slot = entry_delta >> 2u;
const std::uint32_t entry_group = entry_slot >> 6u;
const std::uint64_t entry_mask = kEntryMasks_recomp_unit_0012[entry_group];
const std::uint64_t entry_bit = 1ull << (entry_slot & 63u);
if ((entry_mask & entry_bit) != 0u) {
entry_id = static_cast<std::uint16_t>(
kEntryBases_recomp_unit_0012[entry_group] +
std::popcount(entry_mask & (entry_bit - 1ull)));
}
}
}
switch (entry_id) {
case 1u: goto L_08834000;
case 2u: goto L_08834064;
case 3u: goto L_08834080;
case 4u: goto L_088340A8;
case 5u: goto L_088340E4;
case 6u: goto L_088340F4;
case 7u: goto L_088340FC;
case 8u: goto L_08834160;
case 9u: goto L_0883417C;
case 10u: goto L_088341A4;
case 11u: goto L_088341E0;
case 12u: goto L_088341F0;
case 13u: goto L_088341F8;
case 14u: goto L_08834264;
case 15u: goto L_08834280;
case 16u: goto L_0883429C;
case 17u: goto L_088342D8;
case 18u: goto L_088342E8;
case 19u: goto L_088342F0;
case 20u: goto L_08834300;
case 21u: goto L_08834318;
case 22u: goto L_0883432C;
case 23u: goto L_08834350;
case 24u: goto L_08834358;
case 25u: goto L_088343C0;
case 26u: goto L_08834400;
case 27u: goto L_0883443C;
case 28u: goto L_0883444C;
case 29u: goto L_08834454;
case 30u: goto L_08834474;
case 31u: goto L_088344C4;
case 32u: goto L_08834504;
case 33u: goto L_08834538;
case 34u: goto L_0883456C;
case 35u: goto L_08834574;
case 36u: goto L_08834578;
case 37u: goto L_08834598;
case 38u: goto L_088345B8;
case 39u: goto L_088345CC;
case 40u: goto L_088345E0;
case 41u: goto L_088345F4;
case 42u: goto L_08834608;
case 43u: goto L_08834618;
case 44u: goto L_08834620;
case 45u: goto L_08834628;
case 46u: goto L_08834630;
case 47u: goto L_08834638;
case 48u: goto L_08834640;
case 49u: goto L_08834648;
case 50u: goto L_08834670;
case 51u: goto L_08834688;
case 52u: goto L_088346E8;
case 53u: goto L_088346F4;
case 54u: goto L_08834704;
case 55u: goto L_08834710;
case 56u: goto L_08834750;
case 57u: goto L_08834758;
case 58u: goto L_088347BC;
case 59u: goto L_088347C4;
case 60u: goto L_08834820;
case 61u: goto L_08834828;
case 62u: goto L_08834830;
case 63u: goto L_088348A0;
case 64u: goto L_088348DC;
case 65u: goto L_088348EC;
case 66u: goto L_088348F8;
case 67u: goto L_08834900;
case 68u: goto L_08834910;
case 69u: goto L_08834928;
case 70u: goto L_08834930;
case 71u: goto L_08834938;
case 72u: goto L_08834940;
case 73u: goto L_0883494C;
case 74u: goto L_0883495C;
case 75u: goto L_08834964;
case 76u: goto L_0883496C;
case 77u: goto L_08834988;
case 78u: goto L_08834990;
case 79u: goto L_08834998;
case 80u: goto L_088349B4;
case 81u: goto L_088349BC;
case 82u: goto L_088349C4;
case 83u: goto L_088349D0;
case 84u: goto L_088349F0;
case 85u: goto L_088349F8;
case 86u: goto L_08834A14;
case 87u: goto L_08834A1C;
case 88u: goto L_08834A24;
case 89u: goto L_08834A2C;
case 90u: goto L_08834A44;
case 91u: goto L_08834A6C;
case 92u: goto L_08834A84;
case 93u: goto L_08834AE0;
case 94u: goto L_08834AF8;
case 95u: goto L_08834B2C;
case 96u: goto L_08834B64;
case 97u: goto L_08834B74;
case 98u: goto L_08834B90;
case 99u: goto L_08834BA0;
case 100u: goto L_08834BB0;
case 101u: goto L_08834BE0;
case 102u: goto L_08834BE8;
case 103u: goto L_08834C14;
case 104u: goto L_08834C20;
case 105u: goto L_08834C2C;
case 106u: goto L_08834C38;
case 107u: goto L_08834C54;
case 108u: goto L_08834C60;
case 109u: goto L_08834C68;
case 110u: goto L_08834C70;
case 111u: goto L_08834C7C;
case 112u: goto L_08834C88;
case 113u: goto L_08834C90;
case 114u: goto L_08834C98;
case 115u: goto L_08834CB4;
case 116u: goto L_08834CD0;
case 117u: goto L_08834CE0;
case 118u: goto L_08834CEC;
case 119u: goto L_08834D08;
case 120u: goto L_08834D18;
case 121u: goto L_08834D24;
case 122u: goto L_08834D40;
case 123u: goto L_08834D50;
case 124u: goto L_08834D5C;
case 125u: goto L_08834D78;
case 126u: goto L_08834D88;
case 127u: goto L_08834D98;
case 128u: goto L_08834DB4;
case 129u: goto L_08834DF8;
case 130u: goto L_08834E38;
case 131u: goto L_08834E48;
case 132u: goto L_08834E8C;
case 133u: goto L_08834ECC;
case 134u: goto L_08834EE8;
case 135u: goto L_08834F0C;
case 136u: goto L_08834F2C;
case 137u: goto L_08834F48;
case 138u: goto L_08834F70;
case 139u: goto L_08834F8C;
case 140u: goto L_08834FB0;
case 141u: goto L_08834FD0;
case 142u: goto L_08834FEC;
case 143u: goto L_08834FFC;
case 144u: goto L_0883500C;
case 145u: goto L_0883501C;
case 146u: goto L_0883502C;
case 147u: goto L_08835034;
case 148u: goto L_08835040;
case 149u: goto L_08835060;
case 150u: goto L_088350A4;
case 151u: goto L_088350B8;
case 152u: goto L_088350DC;
case 153u: goto L_08835104;
case 154u: goto L_08835110;
case 155u: goto L_088351AC;
case 156u: goto L_088351F0;
case 157u: goto L_08835214;
case 158u: goto L_0883521C;
case 159u: goto L_0883527C;
case 160u: goto L_08835288;
case 161u: goto L_08835290;
case 162u: goto L_08835298;
case 163u: goto L_088352A0;
case 164u: goto L_088352DC;
case 165u: goto L_088352E4;
case 166u: goto L_08835304;
case 167u: goto L_08835314;
case 168u: goto L_0883531C;
case 169u: goto L_08835320;
case 170u: goto L_08835338;
case 171u: goto L_08835344;
case 172u: goto L_08835354;
case 173u: goto L_0883535C;
case 174u: goto L_08835360;
case 175u: goto L_08835378;
case 176u: goto L_088353B4;
case 177u: goto L_088353BC;
case 178u: goto L_088353CC;
case 179u: goto L_088353D8;
case 180u: goto L_088353E0;
case 181u: goto L_088353E4;
case 182u: goto L_088353F0;
case 183u: goto L_088353FC;
case 184u: goto L_08835404;
case 185u: goto L_0883540C;
case 186u: goto L_0883541C;
case 187u: goto L_08835424;
case 188u: goto L_08835430;
case 189u: goto L_0883543C;
case 190u: goto L_0883545C;
case 191u: goto L_08835474;
case 192u: goto L_0883547C;
case 193u: goto L_08835488;
case 194u: goto L_0883548C;
case 195u: goto L_08835494;
case 196u: goto L_088354A0;
case 197u: goto L_088354A4;
case 198u: goto L_088354AC;
case 199u: goto L_088354B8;
case 200u: goto L_088354BC;
case 201u: goto L_088354C4;
case 202u: goto L_088354D0;
case 203u: goto L_088354D4;
case 204u: goto L_088354DC;
case 205u: goto L_088354EC;
case 206u: goto L_088354F8;
case 207u: goto L_08835514;
case 208u: goto L_08835560;
case 209u: goto L_088355B8;
case 210u: goto L_088355C8;
case 211u: goto L_088355FC;
case 212u: goto L_08835604;
case 213u: goto L_08835620;
case 214u: goto L_08835630;
case 215u: goto L_0883563C;
case 216u: goto L_0883564C;
case 217u: goto L_08835690;
case 218u: goto L_088356A0;
case 219u: goto L_0883570C;
case 220u: goto L_0883571C;
case 221u: goto L_08835730;
case 222u: goto L_0883573C;
case 223u: goto L_08835758;
case 224u: goto L_08835760;
case 225u: goto L_08835770;
case 226u: goto L_0883578C;
case 227u: goto L_08835798;
case 228u: goto L_0883579C;
case 229u: goto L_088357B0;
case 230u: goto L_088357B8;
case 231u: goto L_088357F8;
case 232u: goto L_08835804;
case 233u: goto L_08835810;
case 234u: goto L_08835824;
case 235u: goto L_08835838;
case 236u: goto L_08835864;
case 237u: goto L_08835870;
case 238u: goto L_088358B4;
case 239u: goto L_088358C4;
case 240u: goto L_0883590C;
case 241u: goto L_0883596C;
case 242u: goto L_088359B0;
case 243u: goto L_088359C0;
case 244u: goto L_088359D4;
case 245u: goto L_088359F0;
case 246u: goto L_08835A04;
case 247u: goto L_08835A24;
case 248u: goto L_08835A34;
case 249u: goto L_08835A6C;
case 250u: goto L_08835A84;
case 251u: goto L_08835A88;
case 252u: goto L_08835A90;
case 253u: goto L_08835A9C;
case 254u: goto L_08835AB4;
case 255u: goto L_08835ABC;
case 256u: goto L_08835AC4;
case 257u: goto L_08835AE0;
case 258u: goto L_08835AEC;
case 259u: goto L_08835B10;
case 260u: goto L_08835B18;
case 261u: goto L_08835B28;
case 262u: goto L_08835B34;
case 263u: goto L_08835B44;
case 264u: goto L_08835B64;
case 265u: goto L_08835B7C;
case 266u: goto L_08835B98;
case 267u: goto L_08835B9C;
case 268u: goto L_08835BA4;
case 269u: goto L_08835BAC;
case 270u: goto L_08835BB4;
case 271u: goto L_08835BC4;
case 272u: goto L_08835BD0;
case 273u: goto L_08835BF0;
case 274u: goto L_08835BFC;
case 275u: goto L_08835C00;
case 276u: goto L_08835C10;
case 277u: goto L_08835C20;
case 278u: goto L_08835C68;
case 279u: goto L_08835CCC;
case 280u: goto L_08835D10;
case 281u: goto L_08835D20;
case 282u: goto L_08835D38;
case 283u: goto L_08835D54;
case 284u: goto L_08835D5C;
case 285u: goto L_08835D68;
case 286u: goto L_08835D8C;
case 287u: goto L_08835D9C;
case 288u: goto L_08835DE4;
case 289u: goto L_08835E44;
case 290u: goto L_08835E88;
case 291u: goto L_08835E98;
case 292u: goto L_08835EAC;
case 293u: goto L_08835EC8;
case 294u: goto L_08835ED0;
case 295u: goto L_08835ED8;
case 296u: goto L_08835EE4;
case 297u: goto L_08835EF4;
case 298u: goto L_08835EFC;
case 299u: goto L_08835F38;
case 300u: goto L_08835F64;
case 301u: goto L_08835F98;
case 302u: goto L_08835FC8;
case 303u: goto L_08835FDC;
case 304u: goto L_08835FEC;
case 305u: goto L_08835FF8;
case 306u: goto L_08836018;
case 307u: goto L_0883603C;
case 308u: goto L_0883604C;
case 309u: goto L_08836070;
case 310u: goto L_08836088;
case 311u: goto L_088360F4;
case 312u: goto L_08836148;
case 313u: goto L_08836160;
case 314u: goto L_088361A8;
case 315u: goto L_088361EC;
case 316u: goto L_088361FC;
case 317u: goto L_08836210;
case 318u: goto L_08836218;
case 319u: goto L_08836224;
case 320u: goto L_08836248;
case 321u: goto L_08836258;
case 322u: goto L_0883627C;
case 323u: goto L_08836294;
case 324u: goto L_08836300;
case 325u: goto L_08836354;
case 326u: goto L_0883636C;
case 327u: goto L_088363B4;
case 328u: goto L_088363F8;
case 329u: goto L_08836408;
case 330u: goto L_0883641C;
case 331u: goto L_08836420;
case 332u: goto L_08836438;
case 333u: goto L_0883644C;
case 334u: goto L_08836460;
case 335u: goto L_08836468;
case 336u: goto L_08836498;
case 337u: goto L_088364A0;
case 338u: goto L_088364B8;
case 339u: goto L_088364C0;
case 340u: goto L_088364DC;
case 341u: goto L_088364F8;
case 342u: goto L_08836510;
case 343u: goto L_08836514;
case 344u: goto L_0883652C;
case 345u: goto L_08836548;
case 346u: goto L_08836550;
case 347u: goto L_08836568;
case 348u: goto L_08836584;
case 349u: goto L_0883658C;
case 350u: goto L_0883659C;
case 351u: goto L_088365E4;
case 352u: goto L_08836628;
case 353u: goto L_0883666C;
case 354u: goto L_0883667C;
case 355u: goto L_08836690;
case 356u: goto L_088366AC;
case 357u: goto L_088366B4;
case 358u: goto L_088366BC;
case 359u: goto L_088366D0;
case 360u: goto L_08836734;
case 361u: goto L_08836740;
case 362u: goto L_08836748;
case 363u: goto L_088367AC;
case 364u: goto L_088367F8;
case 365u: goto L_0883682C;
case 366u: goto L_08836848;
case 367u: goto L_08836854;
case 368u: goto L_08836894;
case 369u: goto L_088368A8;
case 370u: goto L_088368AC;
case 371u: goto L_088368BC;
case 372u: goto L_088368DC;
case 373u: goto L_088368E4;
case 374u: goto L_08836910;
case 375u: goto L_08836930;
case 376u: goto L_08836938;
case 377u: goto L_0883695C;
case 378u: goto L_08836968;
case 379u: goto L_0883698C;
case 380u: goto L_088369A8;
case 381u: goto L_088369C8;
case 382u: goto L_088369D4;
case 383u: goto L_088369E8;
case 384u: goto L_088369FC;
case 385u: goto L_08836A24;
case 386u: goto L_08836A90;
case 387u: goto L_08836AA0;
case 388u: goto L_08836AF0;
case 389u: goto L_08836AFC;
case 390u: goto L_08836B04;
case 391u: goto L_08836B0C;
case 392u: goto L_08836B14;
case 393u: goto L_08836B2C;
case 394u: goto L_08836B44;
case 395u: goto L_08836B70;
case 396u: goto L_08836B88;
case 397u: goto L_08836BA4;
case 398u: goto L_08836BEC;
case 399u: goto L_08836C28;
case 400u: goto L_08836C48;
case 401u: goto L_08836C68;
case 402u: goto L_08836C84;
case 403u: goto L_08836CD8;
case 404u: goto L_08836D1C;
case 405u: goto L_08836D38;
case 406u: goto L_08836D44;
case 407u: goto L_08836D4C;
case 408u: goto L_08836D54;
case 409u: goto L_08836D78;
case 410u: goto L_08836DB4;
case 411u: goto L_08836E08;
case 412u: goto L_08836E4C;
case 413u: goto L_08836E70;
case 414u: goto L_08836E90;
case 415u: goto L_08836EB0;
case 416u: goto L_08836ECC;
case 417u: goto L_08836EEC;
case 418u: goto L_08836EFC;
case 419u: goto L_08836F10;
case 420u: goto L_08836F2C;
case 421u: goto L_08836F44;
case 422u: goto L_08836F64;
case 423u: goto L_08836F70;
case 424u: goto L_08836F80;
case 425u: goto L_08836FA0;
case 426u: goto L_08836FC4;
case 427u: goto L_08836FD8;
case 428u: goto L_08836FE8;
case 429u: goto L_08837000;
case 430u: goto L_08837010;
case 431u: goto L_0883704C;
case 432u: goto L_08837064;
case 433u: goto L_08837078;
case 434u: goto L_08837098;
case 435u: goto L_088370A0;
case 436u: goto L_088370BC;
case 437u: goto L_088370DC;
case 438u: goto L_088370E4;
case 439u: goto L_088370F4;
case 440u: goto L_0883710C;
case 441u: goto L_08837124;
case 442u: goto L_0883713C;
case 443u: goto L_08837154;
case 444u: goto L_0883716C;
case 445u: goto L_08837198;
case 446u: goto L_088371B0;
case 447u: goto L_088371C0;
case 448u: goto L_088371CC;
case 449u: goto L_088371E4;
case 450u: goto L_088371FC;
case 451u: goto L_08837208;
case 452u: goto L_08837210;
case 453u: goto L_0883721C;
case 454u: goto L_08837238;
case 455u: goto L_08837250;
case 456u: goto L_08837264;
case 457u: goto L_0883726C;
case 458u: goto L_08837274;
case 459u: goto L_0883727C;
case 460u: goto L_0883729C;
case 461u: goto L_088372BC;
case 462u: goto L_088372C0;
case 463u: goto L_088372C4;
case 464u: goto L_088372CC;
case 465u: goto L_088372DC;
case 466u: goto L_088372E4;
case 467u: goto L_088372EC;
case 468u: goto L_088372FC;
case 469u: goto L_08837310;
case 470u: goto L_0883732C;
case 471u: goto L_08837334;
case 472u: goto L_08837338;
case 473u: goto L_088373C0;
case 474u: goto L_088373D4;
case 475u: goto L_08837448;
case 476u: goto L_08837488;
case 477u: goto L_088374B0;
case 478u: goto L_0883750C;
case 479u: goto L_0883753C;
case 480u: goto L_08837550;
case 481u: goto L_08837568;
case 482u: goto L_08837580;
case 483u: goto L_0883759C;
case 484u: goto L_088375B0;
case 485u: goto L_088375DC;
case 486u: goto L_088375E4;
case 487u: goto L_088375EC;
case 488u: goto L_08837600;
case 489u: goto L_08837628;
case 490u: goto L_08837638;
case 491u: goto L_08837658;
case 492u: goto L_088376A8;
case 493u: goto L_088376B8;
case 494u: goto L_088376C4;
case 495u: goto L_088376D8;
case 496u: goto L_08837704;
case 497u: goto L_0883770C;
case 498u: goto L_08837714;
case 499u: goto L_08837728;
case 500u: goto L_08837768;
case 501u: goto L_08837770;
case 502u: goto L_088377AC;
case 503u: goto L_088377CC;
case 504u: goto L_088377D0;
case 505u: goto L_088377D4;
case 506u: goto L_088377DC;
case 507u: goto L_088377EC;
case 508u: goto L_08837868;
case 509u: goto L_08837880;
case 510u: goto L_08837890;
case 511u: goto L_08837910;
case 512u: goto L_08837948;
case 513u: goto L_08837968;
case 514u: goto L_08837978;
case 515u: goto L_08837980;
case 516u: goto L_08837990;
case 517u: goto L_08837998;
case 518u: goto L_08837A2C;
case 519u: goto L_08837A4C;
case 520u: goto L_08837A90;
case 521u: goto L_08837AEC;
case 522u: goto L_08837AFC;
case 523u: goto L_08837B1C;
case 524u: goto L_08837B30;
case 525u: goto L_08837B78;
case 526u: goto L_08837BE0;
case 527u: goto L_08837BEC;
case 528u: goto L_08837BF4;
case 529u: goto L_08837BFC;
case 530u: goto L_08837C08;
case 531u: goto L_08837C10;
case 532u: goto L_08837C18;
case 533u: goto L_08837C24;
case 534u: goto L_08837C2C;
case 535u: goto L_08837C38;
case 536u: goto L_08837C40;
case 537u: goto L_08837C54;
case 538u: goto L_08837C60;
case 539u: goto L_08837C68;
case 540u: goto L_08837C74;
case 541u: goto L_08837C7C;
case 542u: goto L_08837C90;
case 543u: goto L_08837C98;
case 544u: goto L_08837CA8;
case 545u: goto L_08837CBC;
case 546u: goto L_08837CD4;
case 547u: goto L_08837CE0;
case 548u: goto L_08837CE8;
case 549u: goto L_08837CF4;
case 550u: goto L_08837CFC;
case 551u: goto L_08837D00;
case 552u: goto L_08837D0C;
case 553u: goto L_08837D1C;
case 554u: goto L_08837D38;
case 555u: goto L_08837D44;
case 556u: goto L_08837D5C;
case 557u: goto L_08837D74;
case 558u: goto L_08837D90;
case 559u: goto L_08837D98;
case 560u: goto L_08837DAC;
case 561u: goto L_08837DD8;
case 562u: goto L_08837DF0;
case 563u: goto L_08837E30;
case 564u: goto L_08837E40;
case 565u: goto L_08837E50;
case 566u: goto L_08837E58;
case 567u: goto L_08837E60;
case 568u: goto L_08837E68;
case 569u: goto L_08837E70;
case 570u: goto L_08837E8C;
case 571u: goto L_08837E9C;
case 572u: goto L_08837EA4;
case 573u: goto L_08837EC4;
case 574u: goto L_08837ED0;
case 575u: goto L_08837EE0;
case 576u: goto L_08837EE8;
case 577u: goto L_08837EF0;
case 578u: goto L_08837EFC;
case 579u: goto L_08837F04;
case 580u: goto L_08837F10;
case 581u: goto L_08837F20;
case 582u: goto L_08837F30;
case 583u: goto L_08837F38;
case 584u: goto L_08837F40;
case 585u: goto L_08837F48;
case 586u: goto L_08837F50;
case 587u: goto L_08837F58;
case 588u: goto L_08837F64;
case 589u: goto L_08837F6C;
case 590u: goto L_08837F78;
case 591u: goto L_08837F80;
case 592u: goto L_08837F88;
case 593u: goto L_08837F90;
case 594u: goto L_08837F9C;
case 595u: goto L_08837FA4;
case 596u: goto L_08837FB0;
case 597u: goto L_08837FB8;
case 598u: goto L_08837FC0;
case 599u: goto L_08837FDC;
case 600u: goto L_08837FE8;
case 601u: goto L_08837FF0;
default:
if (local_transfers == 0u) rt.unsupported(ctx.pc, 0u, "invalid internal function entry");
else ctx.pc = local_pc;
AOT_REGCACHE_SYNC_OUT(); return;
}
}
// PSPRECOMP_V813_SHARED_JR_DISPATCH: one dynamic-JR reject/redispatch path per unit.
LOCAL_JR_DISPATCH:
{
const std::uint32_t local_delta_v813 = jump_target - 0x08834000u;
if (local_delta_v813 >= 16372u || (local_delta_v813 & 3u) != 0u) {
ctx.pc = jump_target;
AOT_REGCACHE_SYNC_OUT();
// PSPRECOMP_V814_CONTINUATION_RETURN
Runtime::AotTailContinuation aot_cont_v814{};
if (rt.take_aot_tail_continuation(jump_target, aot_cont_v814)) {
#if defined(__clang__) && defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
[[clang::musttail]] return aot_cont_v814.function(
rt, ctx, aot_cont_v814.entry_id, aot_mem);
#else
aot_cont_v814.function(rt, ctx, aot_cont_v814.entry_id, aot_mem); return;
#endif
}
return;
}
}
local_pc = jump_target;
entry_id = 0u;
goto LOCAL_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_BLOCK: one scheduler-exact slow boundary per unit.
LOCAL_SCHED_BOUNDARY:
ctx.pc = jump_target;
AOT_REGCACHE_SYNC_OUT();
if (local_redispatch_rounds < 7u && rt.continue_generated_local_dispatch(ctx)) {
++local_redispatch_rounds;
AOT_REGCACHE_SYNC_IN();
local_transfers = 0u;
local_pc = ctx.pc;
entry_id = 0u;
goto LOCAL_DISPATCH;
}
return;
L_08834000:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(20), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(320)));
aot_gpr_4 = (48460u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(32), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(324)));
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(36), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 110u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(48), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 138u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(49), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 50u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(50), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 255u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(51), static_cast<std::uint8_t>(aot_gpr_4));
ctx.gpr[17] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088340F4;
}
goto L_08834064;
}
L_08834064:
aot_gpr_4 = (15523u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_gpr_31 = (0x08834080u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834080u) goto L_08834080;
AOT_REGCACHE_SYNC_OUT(); return;
L_08834080:
aot_fpr_12 = ctx.fpr[22] - aot_fpr_20;
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_20 = aot_fpr_20 + aot_fpr_12;
aot_gpr_4 = (15605u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15733u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
aot_gpr_31 = (0x088340A8u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088340A8u) goto L_088340A8;
AOT_REGCACHE_SYNC_OUT(); return;
L_088340A8:
aot_fpr_12 = ctx.fpr[22] - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(40), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(32));
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(48));
aot_gpr_4 = (0u | 3u);
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x088340E4u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 5u, 0x088340E4u, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088340E4u) goto L_088340E4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088340E4:
ctx.gpr[17] = (ctx.gpr[17] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08834064;
}
goto L_088340F4;
}
L_088340F4:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 0u);
if (branch_taken) {
goto L_08834578;
}
goto L_088340FC;
}
L_088340FC:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(0)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(64), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(68), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(320)));
aot_gpr_4 = (48460u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(324)));
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(84), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 64u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(96), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(97), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(98), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 255u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(99), static_cast<std::uint8_t>(aot_gpr_4));
ctx.gpr[17] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088341F0;
}
goto L_08834160;
}
L_08834160:
aot_gpr_4 = (15651u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15800u << 16u);
aot_gpr_4 = (aot_gpr_4 | 20972u);
aot_gpr_31 = (0x0883417Cu);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883417Cu) goto L_0883417C;
AOT_REGCACHE_SYNC_OUT(); return;
L_0883417C:
aot_fpr_12 = ctx.fpr[22] - aot_fpr_20;
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_20 = aot_fpr_20 + aot_fpr_12;
aot_gpr_4 = (15605u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15733u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
aot_gpr_31 = (0x088341A4u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088341A4u) goto L_088341A4;
AOT_REGCACHE_SYNC_OUT(); return;
L_088341A4:
aot_fpr_12 = ctx.fpr[22] - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(88), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(64));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(80));
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(96));
aot_gpr_4 = (0u | 3u);
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x088341E0u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 11u, 0x088341E0u, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088341E0u) goto L_088341E0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088341E0:
ctx.gpr[17] = (ctx.gpr[17] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08834160;
}
goto L_088341F0;
}
L_088341F0:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 1u);
if (branch_taken) {
goto L_08834578;
}
goto L_088341F8;
}
L_088341F8:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(0)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(112), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(116), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(120), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(320)));
aot_gpr_4 = (48460u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(128), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(324)));
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(132), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 64u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(144), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 32u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(145), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 16u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(146), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 255u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(147), static_cast<std::uint8_t>(aot_gpr_4));
ctx.gpr[17] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088342E8;
}
goto L_08834264;
}
L_08834264:
aot_gpr_4 = (15523u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15733u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
aot_gpr_31 = (0x08834280u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834280u) goto L_08834280;
AOT_REGCACHE_SYNC_OUT(); return;
L_08834280:
aot_fpr_12 = ctx.fpr[22] - aot_fpr_20;
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_20 = aot_fpr_20 + aot_fpr_12;
aot_gpr_4 = (15605u << 16u);
aot_gpr_4 = (aot_gpr_4 | 49807u);
aot_gpr_31 = (0x0883429Cu);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883429Cu) goto L_0883429C;
AOT_REGCACHE_SYNC_OUT(); return;
L_0883429C:
aot_fpr_13 = ctx.fpr[22] - ctx.fpr[24];
{ const float fs = aot_fpr_13; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_13 = ctx.fpr[24] + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(136), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(112));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(128));
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(144));
aot_gpr_4 = (0u | 3u);
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x088342D8u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 17u, 0x088342D8u, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088342D8u) goto L_088342D8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088342D8:
ctx.gpr[17] = (ctx.gpr[17] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08834264;
}
goto L_088342E8;
}
L_088342E8:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 0u);
if (branch_taken) {
goto L_08834578;
}
goto L_088342F0;
}
L_088342F0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7764)));
aot_gpr_4 = (aot_gpr_4 & 2u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_0883444C;
}
goto L_08834300;
}
L_08834300:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7888)));
aot_fpr_13 = std::bit_cast<float>(0u);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834358;
}
goto L_08834318;
}
L_08834318:
aot_fpr_20 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7888)));
aot_gpr_4 = (16257u << 16u);
aot_gpr_4 = (aot_gpr_4 | 18350u);
aot_gpr_31 = (0x0883432Cu);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883432Cu) goto L_0883432C;
AOT_REGCACHE_SYNC_OUT(); return;
L_0883432C:
aot_fpr_12 = ctx.fpr[22] - aot_fpr_20;
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = aot_fpr_20 + aot_fpr_12;
aot_gpr_4 = (16128u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834358;
}
goto L_08834350;
}
L_08834350:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 0u);
if (branch_taken) {
goto L_08834578;
}
goto L_08834358;
}
L_08834358:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(0)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(160), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(164), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(168), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(320)));
aot_gpr_4 = (16128u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(176), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(324)));
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(180), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 170u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(192), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 165u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(193), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 140u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(194), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 255u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(195), static_cast<std::uint8_t>(aot_gpr_4));
ctx.gpr[16] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[16]) < 1 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_0883444C;
}
goto L_088343C0;
}
L_088343C0:
aot_gpr_4 = (ctx.gpr[17] + static_cast<std::uint32_t>(320));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 22u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (16384u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
aot_gpr_4 = (15523u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15713u << 16u);
aot_gpr_4 = (aot_gpr_4 | 18350u);
aot_gpr_31 = (0x08834400u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834400u) goto L_08834400;
AOT_REGCACHE_SYNC_OUT(); return;
L_08834400:
aot_fpr_12 = ctx.fpr[24] - ctx.fpr[22];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[22] + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(184), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(160));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(176));
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(192));
aot_gpr_4 = (0u | 4u);
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x0883443Cu);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 27u, 0x0883443Cu, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883443Cu) goto L_0883443C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883443C:
ctx.gpr[16] = (ctx.gpr[16] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[16]) < 1 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088343C0;
}
goto L_0883444C;
}
L_0883444C:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 0u);
if (branch_taken) {
goto L_08834578;
}
goto L_08834454;
}
L_08834454:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7888)));
aot_gpr_4 = (15395u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834574;
}
goto L_08834474;
}
L_08834474:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(0)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(208), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(212), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(216), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (16000u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(216), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 48u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(224), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(225), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 64u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(226), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(227), static_cast<std::uint8_t>(0u));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7764)));
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_0883456C;
}
goto L_088344C4;
}
L_088344C4:
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(208));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.gpr[16] = (aot_gpr_29 + static_cast<std::uint32_t>(240));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(248)));
aot_gpr_4 = (16000u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(248), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (15267u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15651u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_gpr_31 = (0x08834504u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834504u) goto L_08834504;
AOT_REGCACHE_SYNC_OUT(); return;
L_08834504:
aot_fpr_12 = ctx.fpr[22] - aot_fpr_20;
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = aot_fpr_20 + aot_fpr_12;
aot_fpr_13 = std::bit_cast<float>(0u);
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(aot_fpr_12)};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(256), aot_run_words); }
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (16128u << 16u);
aot_gpr_31 = (0x08834538u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834538u) goto L_08834538;
AOT_REGCACHE_SYNC_OUT(); return;
L_08834538:
aot_fpr_12 = ctx.fpr[22] - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(224));
aot_gpr_4 = (0u | 39u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(256));
ctx.gpr[7] = (0u | 0u);
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x0883456Cu);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 34u, 0x0883456Cu, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883456Cu) goto L_0883456C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883456C:
{ const bool branch_taken = 0u == 0u;
ctx.gpr[2] = (0u | 0u);
if (branch_taken) {
goto L_08834578;
}
goto L_08834574;
}
L_08834574:
ctx.gpr[2] = (0u | 1u);
goto L_08834578;
L_08834578:
{ std::uint32_t aot_run_words[6]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(272), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[22] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[24] = std::bit_cast<float>(aot_run_words[2]);
ctx.gpr[16] = aot_run_words[3];
ctx.gpr[17] = aot_run_words[4];
aot_gpr_31 = aot_run_words[5];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(304));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08834598:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-384));
{ const std::uint32_t aot_run_words[4]{std::bit_cast<std::uint32_t>(aot_fpr_20), ctx.gpr[16], ctx.gpr[17], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(368), aot_run_words); }
aot_gpr_5 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(-7080)));
{ const bool branch_taken = aot_gpr_5 != 0u;
ctx.gpr[16] = (aot_gpr_4 | 0u);
if (branch_taken) {
goto L_08834638;
}
goto L_088345B8;
}
L_088345B8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(236)));
aot_gpr_5 = (32768u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08834630;
}
goto L_088345CC;
}
L_088345CC:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(236)));
aot_gpr_5 = (16384u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08834630;
}
goto L_088345E0;
}
L_088345E0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(72)));
aot_gpr_4 = (aot_gpr_4 & 496u);
aot_gpr_5 = (0u | 64u);
{ const bool branch_taken = aot_gpr_4 == aot_gpr_5;
if (branch_taken) {
goto L_08834628;
}
goto L_088345F4;
}
L_088345F4:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(72)));
aot_gpr_4 = (aot_gpr_4 & 496u);
aot_gpr_5 = (0u | 80u);
{ const bool branch_taken = aot_gpr_4 == aot_gpr_5;
if (branch_taken) {
goto L_08834628;
}
goto L_08834608;
}
L_08834608:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(533))))));
aot_gpr_5 = (0u | 11u);
{ const bool branch_taken = aot_gpr_4 == aot_gpr_5;
aot_gpr_5 = (0u | 7u);
if (branch_taken) {
goto L_08834620;
}
goto L_08834618;
}
L_08834618:
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_08834640;
}
goto L_08834620;
}
L_08834620:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834628;
}
L_08834628:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834630;
}
L_08834630:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834638;
}
L_08834638:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834640;
}
L_08834640:
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834620;
}
goto L_08834648;
}
L_08834648:
aot_fpr_20 = std::bit_cast<float>(0u);
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20)};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(32), aot_run_words); }
aot_gpr_4 = (16256u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834670;
}
L_08834670:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(384));
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(32));
aot_gpr_5 = (ctx.gpr[17] | 0u);
aot_gpr_31 = (0x08834688u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0118.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 51u, 0x08834688u, 0x089DCE98u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0118_entry(rt, ctx, 156u, aot_mem);
#else
recomp_unit_0118_entry(rt, ctx, 156u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0118_entry, 118u, 156u, 0x089DCE98u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834688u) goto L_08834688;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834688:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(48));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(86))))));
aot_gpr_4 = (aot_gpr_4 << 2u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_gpr_5 + aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(20)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(12)));
aot_gpr_4 = (16320u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(48));
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(52));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (0u | 1u);
ctx.gpr[7] = (0u | 2u);
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 1u);
ctx.gpr[11] = (0u | 1u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
aot_gpr_31 = (0x088346E8u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(4), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0037.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 52u, 0x088346E8u, 0x0889A004u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0037_entry(rt, ctx, 365u, aot_mem);
#else
recomp_unit_0037_entry(rt, ctx, 365u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0037_entry, 37u, 365u, 0x0889A004u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088346E8u) goto L_088346E8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088346E8:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(aot_gpr_29 + static_cast<std::uint32_t>(48))))));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834710;
}
goto L_088346F4;
}
L_088346F4:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(aot_gpr_29 + static_cast<std::uint32_t>(48))))));
aot_gpr_5 = (0u | 1u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_08834A44;
}
goto L_08834704;
}
L_08834704:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(52)));
{ const bool branch_taken = aot_gpr_4 != ctx.gpr[16];
if (branch_taken) {
goto L_08834A44;
}
goto L_08834710;
}
L_08834710:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(48));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(64));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(80));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(80), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_12), std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(aot_fpr_14)};
aot_mem.aot_direct_store32_block(ctx.gpr[16] + static_cast<std::uint32_t>(48), aot_run_words); }
aot_gpr_31 = (0x08834750u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0001.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 56u, 0x08834750u, 0x08809984u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0001_entry(rt, ctx, 323u, aot_mem);
#else
recomp_unit_0001_entry(rt, ctx, 323u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0001_entry, 1u, 323u, 0x08809984u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834750u) goto L_08834750;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834750:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08834A2C;
}
goto L_08834758;
}
L_08834758:
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(80), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_4 = (16448u << 16u);
ctx.fpr[15] = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[15] = aot_fpr_14 + ctx.fpr[15];
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_12), std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(ctx.fpr[15])};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(128), aot_run_words); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(128));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(144), 0u);
aot_gpr_5 = (16544u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_5);
aot_fpr_12 = aot_fpr_14 - aot_fpr_12;
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(96));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(144));
ctx.gpr[7] = (0u | 1u);
ctx.gpr[8] = (0u | 0u);
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(4), 0u);
aot_gpr_31 = (0x088347BCu);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(8), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0035.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 58u, 0x088347BCu, 0x08891DD4u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0035_entry(rt, ctx, 287u, aot_mem);
#else
recomp_unit_0035_entry(rt, ctx, 287u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0035_entry, 35u, 287u, 0x08891DD4u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088347BCu) goto L_088347BC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088347BC:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08834900;
}
goto L_088347C4;
}
L_088347C4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(112)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(160), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(116)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(164), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(120)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(168), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(176), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(180), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(184), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(160));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(176));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 1u, 3u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_20) || std::isnan(aot_fpr_12)) && aot_fpr_20 == aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834828;
}
goto L_08834820;
}
L_08834820:
aot_gpr_4 = (16256u << 16u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
goto L_08834828;
L_08834828:
aot_gpr_31 = (0x08834830u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0179.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 62u, 0x08834830u, 0x08AD0AE4u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0179_entry(rt, ctx, 160u, aot_mem);
#else
recomp_unit_0179_entry(rt, ctx, 160u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0179_entry, 179u, 160u, 0x08AD0AE4u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834830u) goto L_08834830;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834830:
aot_fpr_12 = ctx.fpr[0] / aot_fpr_20;
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(96)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(192), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(100)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(196), std::bit_cast<std::uint32_t>(aot_fpr_14));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(104)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(200), std::bit_cast<std::uint32_t>(ctx.fpr[15]));
aot_fpr_12 = ctx.fpr[15] + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(200), std::bit_cast<std::uint32_t>(aot_fpr_12));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(aot_fpr_14), std::bit_cast<std::uint32_t>(aot_fpr_12)};
aot_mem.aot_direct_store32_block(ctx.gpr[16] + static_cast<std::uint32_t>(48), aot_run_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(112)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(160), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(116)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(164), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(120)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(168), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(160));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<2u, 4u>(vfpu_value); }
ctx.execute_vfpu_cross_quat_ct<0u, 1u, 2u, 3u>();
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(208));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(224));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_31 = (0x088348A0u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0022.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 63u, 0x088348A0u, 0x0885F828u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0022_entry(rt, ctx, 912u, aot_mem);
#else
recomp_unit_0022_entry(rt, ctx, 912u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0022_entry, 22u, 912u, 0x0885F828u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088348A0u) goto L_088348A0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088348A0:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(208)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(240), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(112)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(256), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(212)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(244), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(116)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(260), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(216)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(248), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(120)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(264), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x088348DCu);
aot_gpr_5 = (ctx.gpr[17] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0023.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 64u, 0x088348DCu, 0x08860358u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0023_entry(rt, ctx, 7u, aot_mem);
#else
recomp_unit_0023_entry(rt, ctx, 7u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0023_entry, 23u, 7u, 0x08860358u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088348DCu) goto L_088348DC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088348DC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(296)));
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834900;
}
goto L_088348EC;
}
L_088348EC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(288)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834900;
}
goto L_088348F8;
}
L_088348F8:
aot_gpr_31 = (0x08834900u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(288)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0117.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 67u, 0x08834900u, 0x089D89E0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0117_entry(rt, ctx, 129u, aot_mem);
#else
recomp_unit_0117_entry(rt, ctx, 129u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0117_entry, 117u, 129u, 0x089D89E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834900u) goto L_08834900;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834900:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(533))))));
aot_gpr_5 = (aot_gpr_4 < static_cast<std::uint32_t>(23) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834A24;
}
goto L_08834910;
}
L_08834910:
aot_gpr_4 = (aot_gpr_4 << 2u);
ctx.gpr[1] = (2231u << 16u);
ctx.gpr[1] = (ctx.gpr[1] + aot_gpr_4);
ctx.gpr[1] = (aot_mem.aot_direct_load32(ctx.gpr[1] + static_cast<std::uint32_t>(18384)));
jump_target = ctx.gpr[1];
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08834928:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A6C;
}
goto L_08834930;
}
L_08834930:
aot_gpr_31 = (0x08834938u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 71u, 0x08834938u, 0x08B41694u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 374u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 374u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 374u, 0x08B41694u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834938u) goto L_08834938;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834938:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834940;
}
L_08834940:
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(304));
aot_gpr_31 = (0x0883494Cu);
aot_gpr_4 = (ctx.gpr[17] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0087.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 73u, 0x0883494Cu, 0x08960154u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0087_entry(rt, ctx, 16u, aot_mem);
#else
recomp_unit_0087_entry(rt, ctx, 16u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0087_entry, 87u, 16u, 0x08960154u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883494Cu) goto L_0883494C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883494C:
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_5 = (ctx.gpr[17] | 0u);
aot_gpr_31 = (0x0883495Cu);
aot_gpr_6 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 74u, 0x0883495Cu, 0x08B4196Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 391u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 391u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 391u, 0x08B4196Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883495Cu) goto L_0883495C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883495C:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834964;
}
L_08834964:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_0883496C;
}
L_0883496C:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(448));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(304));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x08834988u);
aot_gpr_6 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 77u, 0x08834988u, 0x08B4196Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 391u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 391u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 391u, 0x08B4196Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834988u) goto L_08834988;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834988:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834990;
}
L_08834990:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834998;
}
L_08834998:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(448));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(304));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x088349B4u);
aot_gpr_6 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 80u, 0x088349B4u, 0x08B4196Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 391u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 391u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 391u, 0x08B4196Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088349B4u) goto L_088349B4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088349B4:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_088349BC;
}
L_088349BC:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_088349C4;
}
L_088349C4:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(440)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088349F8;
}
goto L_088349D0;
}
L_088349D0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(440)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(48));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(320));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x088349F0u);
aot_gpr_6 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 84u, 0x088349F0u, 0x08B4196Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 391u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 391u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 391u, 0x08B4196Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088349F0u) goto L_088349F0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088349F0:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834A14;
}
goto L_088349F8;
}
L_088349F8:
aot_gpr_4 = (ctx.gpr[16] + static_cast<std::uint32_t>(448));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(336));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x08834A14u);
aot_gpr_6 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0207.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 86u, 0x08834A14u, 0x08B4196Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0207_entry(rt, ctx, 391u, aot_mem);
#else
recomp_unit_0207_entry(rt, ctx, 391u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0207_entry, 207u, 391u, 0x08B4196Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834A14u) goto L_08834A14;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834A14:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834A1C;
}
L_08834A1C:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834A24;
}
L_08834A24:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08834928;
}
goto L_08834A2C;
}
L_08834A2C:
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(64), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_12), std::bit_cast<std::uint32_t>(aot_fpr_13), std::bit_cast<std::uint32_t>(aot_fpr_14)};
aot_mem.aot_direct_store32_block(ctx.gpr[16] + static_cast<std::uint32_t>(48), aot_run_words); }
goto L_08834A44;
L_08834A44:
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_20 = aot_fpr_20 + aot_fpr_12;
aot_gpr_4 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08834670;
}
goto L_08834A6C;
}
L_08834A6C:
{ std::uint32_t aot_run_words[4]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(368), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.gpr[16] = aot_run_words[1];
ctx.gpr[17] = aot_run_words[2];
aot_gpr_31 = aot_run_words[3];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(384));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08834A84:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-256));
{ const std::uint32_t aot_run_words[15]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(ctx.fpr[22]), std::bit_cast<std::uint32_t>(ctx.fpr[24]), std::bit_cast<std::uint32_t>(ctx.fpr[26]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), ctx.gpr[16], ctx.gpr[17], aot_gpr_18, ctx.gpr[19], ctx.gpr[20], ctx.gpr[21], ctx.gpr[22], ctx.gpr[23], ctx.gpr[30], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(196), aot_run_words); }
ctx.gpr[22] = (aot_gpr_5 | 0u);
aot_gpr_18 = (aot_gpr_4 | 0u);
aot_gpr_5 = (aot_gpr_6 & 255u);
aot_gpr_4 = (ctx.gpr[7] & 255u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(192), aot_gpr_4);
aot_gpr_31 = (0x08834AE0u);
aot_gpr_4 = (aot_gpr_18 | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0191.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 93u, 0x08834AE0u, 0x08B03834u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0191_entry(rt, ctx, 959u, aot_mem);
#else
recomp_unit_0191_entry(rt, ctx, 959u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0191_entry, 191u, 959u, 0x08B03834u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834AE0u) goto L_08834AE0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834AE0:
aot_gpr_4 = (2234u << 16u);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(20000));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(92), aot_gpr_4);
ctx.gpr[19] = (aot_gpr_18 + static_cast<std::uint32_t>(944));
aot_gpr_31 = (0x08834AF8u);
aot_gpr_4 = (ctx.gpr[19] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0194.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 94u, 0x08834AF8u, 0x08B0D814u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0194_entry(rt, ctx, 366u, aot_mem);
#else
recomp_unit_0194_entry(rt, ctx, 366u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0194_entry, 194u, 366u, 0x08B0D814u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834AF8u) goto L_08834AF8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834AF8:
aot_gpr_4 = (16166u << 16u);
aot_gpr_4 = (aot_gpr_4 | 26214u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(944), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(948), static_cast<std::uint8_t>(0u));
aot_gpr_4 = (0u | 1u);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(968), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_gpr_18 + static_cast<std::uint32_t>(976));
ctx.gpr[7] = (2179u << 16u);
ctx.gpr[7] = (ctx.gpr[7] + static_cast<std::uint32_t>(3736));
aot_gpr_5 = (0u | 6u);
aot_gpr_31 = (0x08834B2Cu);
aot_gpr_6 = (0u | 48u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0215.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 95u, 0x08834B2Cu, 0x08B60C7Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0215_entry(rt, ctx, 158u, aot_mem);
#else
recomp_unit_0215_entry(rt, ctx, 158u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0215_entry, 215u, 158u, 0x08B60C7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834B2Cu) goto L_08834B2C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834B2C:
ctx.gpr[23] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7656)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[22]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
aot_fpr_20 = std::bit_cast<float>(0u);
ctx.gpr[21] = (0u + static_cast<std::uint32_t>(-2));
ctx.gpr[20] = (0u + static_cast<std::uint32_t>(-33));
ctx.gpr[30] = (0u + static_cast<std::uint32_t>(-3));
ctx.gpr[16] = (128u << 16u);
aot_gpr_5 = (15692u << 16u);
aot_gpr_5 = (aot_gpr_5 | 52429u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_5);
aot_gpr_5 = (16256u << 16u);
{ const bool branch_taken = aot_gpr_4 == 0u;
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_5);
if (branch_taken) {
goto L_08834B74;
}
goto L_08834B64;
}
L_08834B64:
aot_gpr_4 = (ctx.gpr[22] << 2u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_gpr_5 + aot_gpr_4);
ctx.gpr[23] = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
goto L_08834B74;
L_08834B74:
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(852), 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(856), 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1752), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store16(aot_gpr_18 + static_cast<std::uint32_t>(1660), static_cast<std::uint16_t>(0u));
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(-29776)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834BA0;
}
goto L_08834B90;
}
L_08834B90:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_4 = (aot_gpr_4 | 8u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
if (branch_taken) {
goto L_08834BB0;
}
goto L_08834BA0;
}
L_08834BA0:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-9));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
goto L_08834BB0;
L_08834BB0:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(616))))));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[21]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(616), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[20]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(618))))));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[30]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(618), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_gpr_18 | 0u);
aot_gpr_31 = (0x08834BE0u);
aot_gpr_5 = (ctx.gpr[22] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 101u, 0x08834BE0u, 0x08833730u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 764u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 764u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 764u, 0x08833730u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834BE0u) goto L_08834BE0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834BE0:
aot_gpr_31 = (0x08834BE8u);
aot_gpr_4 = (aot_gpr_18 | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0191.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 102u, 0x08834BE8u, 0x08B021F0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0191_entry(rt, ctx, 565u, aot_mem);
#else
recomp_unit_0191_entry(rt, ctx, 565u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0191_entry, 191u, 565u, 0x08B021F0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834BE8u) goto L_08834BE8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834BE8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[23] + static_cast<std::uint32_t>(56)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(352), aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[23] + static_cast<std::uint32_t>(64)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(356), aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[16]);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08834C98;
}
goto L_08834C14;
}
L_08834C14:
ctx.gpr[17] = (0u | 0u);
aot_gpr_31 = (0x08834C20u);
aot_gpr_4 = (0u | 388u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0174.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 104u, 0x08834C20u, 0x08ABE278u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0174_entry(rt, ctx, 466u, aot_mem);
#else
recomp_unit_0174_entry(rt, ctx, 466u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0174_entry, 174u, 466u, 0x08ABE278u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834C20u) goto L_08834C20;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834C20:
aot_gpr_4 = (ctx.gpr[2] | 0u);
if (aot_gpr_4 == 0u) {
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(716), ctx.gpr[17]);
goto L_08834C38;
}
goto L_08834C2C;
L_08834C2C:
aot_mem.aot_direct_store16(aot_gpr_4 + static_cast<std::uint32_t>(0), static_cast<std::uint16_t>(0u));
ctx.gpr[17] = (aot_gpr_4 | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(716), ctx.gpr[17]);
goto L_08834C38;
L_08834C38:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[23] + static_cast<std::uint32_t>(68)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(360), aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[23] + static_cast<std::uint32_t>(76)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(364), aot_gpr_4);
ctx.gpr[17] = (0u | 0u);
aot_gpr_31 = (0x08834C54u);
aot_gpr_4 = (0u | 1888u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0174.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 107u, 0x08834C54u, 0x08ABE278u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0174_entry(rt, ctx, 466u, aot_mem);
#else
recomp_unit_0174_entry(rt, ctx, 466u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0174_entry, 174u, 466u, 0x08ABE278u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834C54u) goto L_08834C54;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834C54:
ctx.gpr[16] = (ctx.gpr[2] | 0u);
if (ctx.gpr[16] == 0u) {
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(368), ctx.gpr[17]);
goto L_08834C70;
}
goto L_08834C60;
L_08834C60:
aot_gpr_31 = (0x08834C68u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0129.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 109u, 0x08834C68u, 0x08A0B7C8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0129_entry(rt, ctx, 577u, aot_mem);
#else
recomp_unit_0129_entry(rt, ctx, 577u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0129_entry, 129u, 577u, 0x08A0B7C8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834C68u) goto L_08834C68;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834C68:
ctx.gpr[17] = (ctx.gpr[16] | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(368), ctx.gpr[17]);
goto L_08834C70;
L_08834C70:
ctx.gpr[17] = (0u | 0u);
aot_gpr_31 = (0x08834C7Cu);
aot_gpr_4 = (0u | 1888u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0174.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 111u, 0x08834C7Cu, 0x08ABE278u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0174_entry(rt, ctx, 466u, aot_mem);
#else
recomp_unit_0174_entry(rt, ctx, 466u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0174_entry, 174u, 466u, 0x08ABE278u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834C7Cu) goto L_08834C7C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834C7C:
ctx.gpr[16] = (ctx.gpr[2] | 0u);
if (ctx.gpr[16] == 0u) {
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(372), ctx.gpr[17]);
goto L_08834C98;
}
goto L_08834C88;
L_08834C88:
aot_gpr_31 = (0x08834C90u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0129.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 113u, 0x08834C90u, 0x08A0B7C8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0129_entry(rt, ctx, 577u, aot_mem);
#else
recomp_unit_0129_entry(rt, ctx, 577u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0129_entry, 129u, 577u, 0x08A0B7C8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834C90u) goto L_08834C90;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834C90:
ctx.gpr[17] = (ctx.gpr[16] | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(372), ctx.gpr[17]);
goto L_08834C98;
L_08834C98:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29900)));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_12), std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20)};
aot_mem.aot_direct_store32_block(aot_gpr_18 + static_cast<std::uint32_t>(1568), aot_run_words); }
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1652), static_cast<std::uint8_t>(0u));
aot_gpr_31 = (0x08834CB4u);
aot_gpr_4 = (aot_gpr_18 | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0190.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 115u, 0x08834CB4u, 0x08AFFDDCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0190_entry(rt, ctx, 933u, aot_mem);
#else
recomp_unit_0190_entry(rt, ctx, 933u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0190_entry, 190u, 933u, 0x08AFFDDCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834CB4u) goto L_08834CB4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834CB4:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(208)));
aot_gpr_4 = (aot_gpr_4 & 1u);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_gpr_4 = (0u | 1u);
if (branch_taken) {
goto L_08834CE0;
}
goto L_08834CD0;
}
L_08834CD0:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 | 1u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834CEC;
}
goto L_08834CE0;
}
L_08834CE0:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 & ctx.gpr[21]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834CEC;
L_08834CEC:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 8u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
if (branch_taken) {
goto L_08834D18;
}
goto L_08834D08;
}
L_08834D08:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 | 4u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834D24;
}
goto L_08834D18;
}
L_08834D18:
aot_gpr_6 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_6 & aot_gpr_5);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834D24;
L_08834D24:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 2u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834D50;
}
goto L_08834D40;
}
L_08834D40:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 | 2u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834D5C;
}
goto L_08834D50;
}
L_08834D50:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 & ctx.gpr[30]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834D5C;
L_08834D5C:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 4u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834D88;
}
goto L_08834D78;
}
L_08834D78:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 | 8u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834D98;
}
goto L_08834D88;
}
L_08834D88:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-9));
aot_gpr_5 = (aot_gpr_5 & aot_gpr_6);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834D98;
L_08834D98:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(619))))));
aot_gpr_5 = (aot_gpr_5 & ctx.gpr[20]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(619), static_cast<std::uint8_t>(aot_gpr_5));
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 & 2u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834DF8;
}
goto L_08834DB4;
}
L_08834DB4:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (0u | 2u);
ctx.gpr[7] = (49097u << 16u);
ctx.gpr[7] = (ctx.gpr[7] | 4059u);
aot_fpr_12 = std::bit_cast<float>(ctx.gpr[7]);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1108), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1104), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1112), static_cast<std::uint8_t>(aot_gpr_5));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1113), static_cast<std::uint8_t>(aot_gpr_6));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1156), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_5 = (16329u << 16u);
aot_gpr_5 = (aot_gpr_5 | 4059u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1152), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1160), static_cast<std::uint8_t>(aot_gpr_4));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1161), static_cast<std::uint8_t>(aot_gpr_6));
if (branch_taken) {
goto L_08834E38;
}
goto L_08834DF8;
}
L_08834DF8:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (0u | 2u);
ctx.gpr[7] = (49056u << 16u);
ctx.gpr[7] = (ctx.gpr[7] | 55676u);
aot_fpr_12 = std::bit_cast<float>(ctx.gpr[7]);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1108), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1104), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1112), static_cast<std::uint8_t>(aot_gpr_5));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1113), static_cast<std::uint8_t>(aot_gpr_6));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1156), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_5 = (16288u << 16u);
aot_gpr_5 = (aot_gpr_5 | 55676u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1152), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1160), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1161), static_cast<std::uint8_t>(aot_gpr_6));
goto L_08834E38;
L_08834E38:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (aot_gpr_5 & 1u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834E8C;
}
goto L_08834E48;
}
L_08834E48:
aot_gpr_5 = (0u | 2u);
aot_gpr_6 = (49097u << 16u);
aot_gpr_6 = (aot_gpr_6 | 4059u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1204), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1200), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1208), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1209), static_cast<std::uint8_t>(aot_gpr_5));
aot_gpr_6 = (0u | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1252), std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[7] = (16329u << 16u);
ctx.gpr[7] = (ctx.gpr[7] | 4059u);
aot_fpr_12 = std::bit_cast<float>(ctx.gpr[7]);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1248), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1256), static_cast<std::uint8_t>(aot_gpr_6));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1257), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834ECC;
}
goto L_08834E8C;
}
L_08834E8C:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (0u | 2u);
ctx.gpr[7] = (49056u << 16u);
ctx.gpr[7] = (ctx.gpr[7] | 55676u);
aot_fpr_12 = std::bit_cast<float>(ctx.gpr[7]);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1204), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1200), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1208), static_cast<std::uint8_t>(aot_gpr_5));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1209), static_cast<std::uint8_t>(aot_gpr_6));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1252), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_5 = (16288u << 16u);
aot_gpr_5 = (aot_gpr_5 | 55676u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1248), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1256), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1257), static_cast<std::uint8_t>(aot_gpr_6));
goto L_08834ECC;
L_08834ECC:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 16u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834F0C;
}
goto L_08834EE8;
}
L_08834EE8:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (49009u << 16u);
aot_gpr_6 = (aot_gpr_6 | 17979u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1012), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1008), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1016), static_cast<std::uint8_t>(aot_gpr_4));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1017), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834F2C;
}
goto L_08834F0C;
}
L_08834F0C:
aot_gpr_5 = (0u | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1012), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_6 = (16241u << 16u);
aot_gpr_6 = (aot_gpr_6 | 17979u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1008), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1016), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1017), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834F2C;
L_08834F2C:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 32u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834F70;
}
goto L_08834F48;
}
L_08834F48:
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (49056u << 16u);
aot_gpr_6 = (aot_gpr_6 | 55676u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1060), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1056), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1064), static_cast<std::uint8_t>(aot_gpr_4));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1065), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834FD0;
}
goto L_08834F70;
}
L_08834F70:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (aot_gpr_5 & 64u);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08834FB0;
}
goto L_08834F8C;
}
L_08834F8C:
aot_gpr_5 = (0u | 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1060), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_6 = (16329u << 16u);
aot_gpr_6 = (aot_gpr_6 | 4059u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1056), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1064), static_cast<std::uint8_t>(aot_gpr_4));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1065), static_cast<std::uint8_t>(aot_gpr_5));
if (branch_taken) {
goto L_08834FD0;
}
goto L_08834FB0;
}
L_08834FB0:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (49009u << 16u);
aot_gpr_6 = (aot_gpr_6 | 17979u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1060), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1056), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1064), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1065), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08834FD0;
L_08834FD0:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(208)));
aot_gpr_4 = (aot_gpr_4 & 256u);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_0883502C;
}
goto L_08834FEC;
}
L_08834FEC:
aot_gpr_4 = (ctx.gpr[19] | 0u);
aot_gpr_5 = (0u | 2u);
aot_gpr_31 = (0x08834FFCu);
aot_gpr_6 = (0u | 3u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0194.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 143u, 0x08834FFCu, 0x08B0D904u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0194_entry(rt, ctx, 377u, aot_mem);
#else
recomp_unit_0194_entry(rt, ctx, 377u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0194_entry, 194u, 377u, 0x08B0D904u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08834FFCu) goto L_08834FFC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08834FFC:
aot_gpr_4 = (ctx.gpr[19] | 0u);
aot_gpr_5 = (0u | 3u);
aot_gpr_31 = (0x0883500Cu);
aot_gpr_6 = (0u | 3u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0194.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 144u, 0x0883500Cu, 0x08B0D904u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0194_entry(rt, ctx, 377u, aot_mem);
#else
recomp_unit_0194_entry(rt, ctx, 377u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0194_entry, 194u, 377u, 0x08B0D904u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883500Cu) goto L_0883500C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883500C:
aot_gpr_4 = (ctx.gpr[19] | 0u);
aot_gpr_5 = (0u | 4u);
aot_gpr_31 = (0x0883501Cu);
aot_gpr_6 = (0u | 3u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0194.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 145u, 0x0883501Cu, 0x08B0D904u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0194_entry(rt, ctx, 377u, aot_mem);
#else
recomp_unit_0194_entry(rt, ctx, 377u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0194_entry, 194u, 377u, 0x08B0D904u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883501Cu) goto L_0883501C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883501C:
aot_gpr_4 = (ctx.gpr[19] | 0u);
aot_gpr_5 = (0u | 5u);
aot_gpr_31 = (0x0883502Cu);
aot_gpr_6 = (0u | 3u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0194.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 146u, 0x0883502Cu, 0x08B0D904u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0194_entry(rt, ctx, 377u, aot_mem);
#else
recomp_unit_0194_entry(rt, ctx, 377u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0194_entry, 194u, 377u, 0x08B0D904u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883502Cu) goto L_0883502C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883502C:
ctx.gpr[17] = (0u | 0u);
ctx.gpr[16] = (aot_gpr_18 | 0u);
goto L_08835034;
L_08835034:
ctx.fpr[26] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29896)));
aot_gpr_31 = (0x08835040u);
ctx.fpr[28] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]) ^ 0x80000000u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835040u) goto L_08835040;
AOT_REGCACHE_SYNC_OUT(); return;
L_08835040:
aot_fpr_12 = ctx.fpr[26] - ctx.fpr[28];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[28] + aot_fpr_12;
aot_mem.aot_direct_store32(ctx.gpr[16] + static_cast<std::uint32_t>(1728), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[17] = (ctx.gpr[17] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 6 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
ctx.gpr[16] = (ctx.gpr[16] + static_cast<std::uint32_t>(4));
if (branch_taken) {
goto L_08835034;
}
goto L_08835060;
}
L_08835060:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(188)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(208), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(192)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(212), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(160));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_18 + static_cast<std::uint32_t>(192));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (128u << 16u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088350B8;
}
goto L_088350A4;
}
L_088350A4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(196)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(364)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(196), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_088350B8;
L_088350B8:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(152)));
aot_gpr_4 = (15395u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835104;
}
goto L_088350DC;
}
L_088350DC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(152)));
aot_gpr_4 = (16128u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_4 = (17530u << 16u);
aot_fpr_14 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(220), std::bit_cast<std::uint32_t>(aot_fpr_12));
if (branch_taken) {
goto L_08835110;
}
goto L_08835104;
}
L_08835104:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(152)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(220), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835110;
L_08835110:
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(224), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(180)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(344), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1720), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1716), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1664), 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1668), 0u);
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20)};
aot_mem.aot_direct_store32_block(aot_gpr_18 + static_cast<std::uint32_t>(600), aot_run_words); }
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1840), 0u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1888), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-65));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(618))))));
aot_gpr_4 = (aot_gpr_5 & aot_gpr_4);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(618), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_4 = (aot_gpr_4 | 128u);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1654))))));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[21]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1654), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1654))))));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[30]);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1654), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1872), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1724), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store16(aot_gpr_18 + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(0u));
ctx.gpr[30] = (0u | 0u);
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(aot_fpr_20)};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(0), aot_run_words); }
aot_gpr_4 = (aot_gpr_18 | 0u);
aot_gpr_5 = (aot_gpr_18 + static_cast<std::uint32_t>(1776));
goto L_088351AC;
L_088351AC:
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1756), 0u);
{ const std::uint32_t vfpu_address = aot_gpr_29 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1536), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1552), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1604), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1636), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1892), 0u);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1580), 0u);
aot_gpr_6 = (aot_gpr_18 + ctx.gpr[30]);
aot_mem.aot_direct_store8(aot_gpr_6 + static_cast<std::uint32_t>(1596), static_cast<std::uint8_t>(0u));
ctx.gpr[30] = (ctx.gpr[30] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(4));
aot_gpr_6 = (static_cast<std::int32_t>(ctx.gpr[30]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_6 != 0u;
aot_gpr_5 = (aot_gpr_5 + static_cast<std::uint32_t>(16));
if (branch_taken) {
goto L_088351AC;
}
goto L_088351F0;
}
L_088351F0:
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1884), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1885), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1886), static_cast<std::uint8_t>(0u));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(ctx.fpr[24]), std::bit_cast<std::uint32_t>(ctx.fpr[24])};
aot_mem.aot_direct_store32_block(aot_gpr_18 + static_cast<std::uint32_t>(1704), aot_run_words); }
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(192)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_0883521C;
}
goto L_08835214;
}
L_08835214:
aot_gpr_31 = (0x0883521Cu);
aot_gpr_4 = (aot_gpr_18 | 0u);
goto L_08836628;
L_0883521C:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(72)));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-497));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (aot_gpr_4 | 32u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(72), aot_gpr_4);
aot_gpr_5 = (65535u << 16u);
aot_gpr_5 = (aot_gpr_5 + static_cast<std::uint32_t>(-1));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_5 = (1u << 16u);
aot_gpr_4 = (aot_gpr_4 | aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(72), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-8));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(1653))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-17));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(1653), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1656), 0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(680)));
aot_gpr_5 = (0u | 1u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_088352A0;
}
goto L_0883527C;
}
L_0883527C:
aot_gpr_4 = (0u | 207u);
{ const bool branch_taken = ctx.gpr[22] == aot_gpr_4;
aot_gpr_4 = (0u | 234u);
if (branch_taken) {
goto L_08835298;
}
goto L_08835288;
}
L_08835288:
{ const bool branch_taken = ctx.gpr[22] == aot_gpr_4;
aot_gpr_4 = (0u | 246u);
if (branch_taken) {
goto L_08835298;
}
goto L_08835290;
}
L_08835290:
{ const bool branch_taken = ctx.gpr[22] != aot_gpr_4;
if (branch_taken) {
goto L_088352A0;
}
goto L_08835298;
}
L_08835298:
aot_gpr_4 = (0u | 5u);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(680), aot_gpr_4);
goto L_088352A0;
L_088352A0:
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1852), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1856), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1876), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_4 = (49024u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.gpr[19] = (0u + static_cast<std::uint32_t>(-1));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(aot_fpr_12), ctx.gpr[19], std::bit_cast<std::uint32_t>(aot_fpr_20)};
aot_mem.aot_direct_store32_block(aot_gpr_18 + static_cast<std::uint32_t>(1860), aot_run_words); }
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1848), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(1844), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(aot_gpr_18 + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-950));
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_0883540C;
}
goto L_088352DC;
}
L_088352DC:
aot_gpr_31 = (0x088352E4u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1284)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 165u, 0x088352E4u, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088352E4u) goto L_088352E4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088352E4:
aot_mem.aot_direct_store8(ctx.gpr[2] + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), 0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[21]);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(88), aot_gpr_4);
ctx.gpr[16] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
{ const bool branch_taken = 0u == 0u;
ctx.gpr[17] = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1272)));
if (branch_taken) {
goto L_0883531C;
}
goto L_08835304;
}
L_08835304:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
aot_gpr_4 = (ctx.gpr[17] + static_cast<std::uint32_t>(16));
if (branch_taken) {
goto L_08835320;
}
goto L_08835314;
}
L_08835314:
aot_gpr_31 = (0x0883531Cu);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(80)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0117.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 168u, 0x0883531Cu, 0x089D89E0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0117_entry(rt, ctx, 129u, aot_mem);
#else
recomp_unit_0117_entry(rt, ctx, 129u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0117_entry, 117u, 129u, 0x089D89E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883531Cu) goto L_0883531C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883531C:
aot_gpr_4 = (ctx.gpr[17] + static_cast<std::uint32_t>(16));
goto L_08835320;
L_08835320:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[21]);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(88), aot_gpr_4);
aot_gpr_31 = (0x08835338u);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0022.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 170u, 0x08835338u, 0x0885FF48u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0022_entry(rt, ctx, 939u, aot_mem);
#else
recomp_unit_0022_entry(rt, ctx, 939u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0022_entry, 22u, 939u, 0x0885FF48u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835338u) goto L_08835338;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835338:
ctx.gpr[17] = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1284)));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(160), 0u);
if (branch_taken) {
goto L_0883535C;
}
goto L_08835344;
}
L_08835344:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(168)));
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
aot_gpr_4 = (ctx.gpr[17] + static_cast<std::uint32_t>(16));
if (branch_taken) {
goto L_08835360;
}
goto L_08835354;
}
L_08835354:
aot_gpr_31 = (0x0883535Cu);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(160)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0117.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 173u, 0x0883535Cu, 0x089D89E0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0117_entry(rt, ctx, 129u, aot_mem);
#else
recomp_unit_0117_entry(rt, ctx, 129u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0117_entry, 117u, 129u, 0x089D89E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883535Cu) goto L_0883535C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883535C:
aot_gpr_4 = (ctx.gpr[17] + static_cast<std::uint32_t>(16));
goto L_08835360;
L_08835360:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(160), aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(168)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[21]);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(168), aot_gpr_4);
aot_gpr_31 = (0x08835378u);
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(96));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0022.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 175u, 0x08835378u, 0x0885FF48u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0022_entry(rt, ctx, 939u, aot_mem);
#else
recomp_unit_0022_entry(rt, ctx, 939u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0022_entry, 22u, 939u, 0x0885FF48u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835378u) goto L_08835378;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835378:
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(144));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(176));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(180), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(176)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(176), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(184)));
aot_gpr_4 = (ctx.gpr[16] | 0u);
aot_gpr_31 = (0x088353B4u);
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0023.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 176u, 0x088353B4u, 0x08860094u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0023_entry(rt, ctx, 4u, aot_mem);
#else
recomp_unit_0023_entry(rt, ctx, 4u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0023_entry, 23u, 4u, 0x08860094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088353B4u) goto L_088353B4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088353B4:
aot_gpr_31 = (0x088353BCu);
aot_gpr_4 = (ctx.gpr[16] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0022.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 177u, 0x088353BCu, 0x0885FF14u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0022_entry(rt, ctx, 936u, aot_mem);
#else
recomp_unit_0022_entry(rt, ctx, 936u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0022_entry, 22u, 936u, 0x0885FF14u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088353BCu) goto L_088353BC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088353BC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(168)));
aot_gpr_4 = (aot_gpr_4 & 1u);
if (aot_gpr_4 == 0u) {
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
goto L_088353E4;
}
goto L_088353CC;
L_088353CC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(160)));
if (aot_gpr_4 == 0u) {
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
goto L_088353E4;
}
goto L_088353D8;
L_088353D8:
aot_gpr_31 = (0x088353E0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(160)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0117.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 180u, 0x088353E0u, 0x089D89E0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0117_entry(rt, ctx, 129u, aot_mem);
#else
recomp_unit_0117_entry(rt, ctx, 129u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0117_entry, 117u, 129u, 0x089D89E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088353E0u) goto L_088353E0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088353E0:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(88)));
goto L_088353E4;
L_088353E4:
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835404;
}
goto L_088353F0;
}
L_088353F0:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(80)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835404;
}
goto L_088353FC;
}
L_088353FC:
aot_gpr_31 = (0x08835404u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(80)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0117.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 184u, 0x08835404u, 0x089D89E0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0117_entry(rt, ctx, 129u, aot_mem);
#else
recomp_unit_0117_entry(rt, ctx, 129u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0117_entry, 117u, 129u, 0x089D89E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835404u) goto L_08835404;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835404:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08835514;
}
goto L_0883540C;
}
L_0883540C:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(aot_gpr_18 + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (0u | 275u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_0883543C;
}
goto L_0883541C;
}
L_0883541C:
aot_gpr_31 = (0x08835424u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1292)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 187u, 0x08835424u, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835424u) goto L_08835424;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835424:
aot_mem.aot_direct_store8(ctx.gpr[2] + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
aot_gpr_31 = (0x08835430u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1280)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 188u, 0x08835430u, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835430u) goto L_08835430;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835430:
aot_mem.aot_direct_store8(ctx.gpr[2] + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08835514;
}
goto L_0883543C;
}
L_0883543C:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (512u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835474;
}
goto L_0883545C;
}
L_0883545C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[23] + static_cast<std::uint32_t>(636)));
aot_gpr_4 = (aot_gpr_4 & 64u);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088354DC;
}
goto L_08835474;
}
L_08835474:
aot_gpr_31 = (0x0883547Cu);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1284)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 192u, 0x0883547Cu, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883547Cu) goto L_0883547C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883547C:
aot_gpr_4 = (ctx.gpr[2] | 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_0883548C;
}
goto L_08835488;
}
L_08835488:
aot_mem.aot_direct_store8(aot_gpr_4 + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
goto L_0883548C;
L_0883548C:
aot_gpr_31 = (0x08835494u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1272)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 195u, 0x08835494u, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835494u) goto L_08835494;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835494:
aot_gpr_4 = (ctx.gpr[2] | 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088354A4;
}
goto L_088354A0;
}
L_088354A0:
aot_mem.aot_direct_store8(aot_gpr_4 + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
goto L_088354A4;
L_088354A4:
aot_gpr_31 = (0x088354ACu);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1292)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 198u, 0x088354ACu, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088354ACu) goto L_088354AC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088354AC:
aot_gpr_4 = (ctx.gpr[2] | 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088354BC;
}
goto L_088354B8;
}
L_088354B8:
aot_mem.aot_direct_store8(aot_gpr_4 + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
goto L_088354BC;
L_088354BC:
aot_gpr_31 = (0x088354C4u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(1280)));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0038.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 201u, 0x088354C4u, 0x0889E930u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0038_entry(rt, ctx, 598u, aot_mem);
#else
recomp_unit_0038_entry(rt, ctx, 598u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0038_entry, 38u, 598u, 0x0889E930u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088354C4u) goto L_088354C4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088354C4:
aot_gpr_4 = (ctx.gpr[2] | 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088354D4;
}
goto L_088354D0;
}
L_088354D0:
aot_mem.aot_direct_store8(aot_gpr_4 + static_cast<std::uint32_t>(2), static_cast<std::uint8_t>(0u));
goto L_088354D4;
L_088354D4:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08835514;
}
goto L_088354DC;
}
L_088354DC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(aot_gpr_18 + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (0u | 246u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_08835514;
}
goto L_088354EC;
}
L_088354EC:
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(-7080)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835514;
}
goto L_088354F8;
}
L_088354F8:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(72)));
aot_gpr_5 = (4u << 16u);
aot_gpr_4 = (aot_gpr_4 | aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(72), aot_gpr_4);
aot_gpr_5 = (1024u << 16u);
aot_gpr_4 = (aot_gpr_4 | aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(72), aot_gpr_4);
goto L_08835514;
L_08835514:
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(698), static_cast<std::uint8_t>(ctx.gpr[19]));
ctx.gpr[2] = (aot_gpr_18 | 0u);
{ std::uint32_t aot_run_words[15]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(196), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[22] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[24] = std::bit_cast<float>(aot_run_words[2]);
ctx.fpr[26] = std::bit_cast<float>(aot_run_words[3]);
ctx.fpr[28] = std::bit_cast<float>(aot_run_words[4]);
ctx.gpr[16] = aot_run_words[5];
ctx.gpr[17] = aot_run_words[6];
aot_gpr_18 = aot_run_words[7];
ctx.gpr[19] = aot_run_words[8];
ctx.gpr[20] = aot_run_words[9];
ctx.gpr[21] = aot_run_words[10];
ctx.gpr[22] = aot_run_words[11];
ctx.gpr[23] = aot_run_words[12];
ctx.gpr[30] = aot_run_words[13];
aot_gpr_31 = aot_run_words[14];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(256));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08835560:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-144));
{ const std::uint32_t aot_run_words[15]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(ctx.fpr[22]), std::bit_cast<std::uint32_t>(ctx.fpr[24]), std::bit_cast<std::uint32_t>(ctx.fpr[26]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[30]), ctx.gpr[16], ctx.gpr[17], aot_gpr_18, ctx.gpr[19], ctx.gpr[20], ctx.gpr[21], ctx.gpr[22], ctx.gpr[23], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(84), aot_run_words); }
ctx.gpr[16] = (aot_gpr_4 | 0u);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7656)));
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < static_cast<std::int32_t>(aot_gpr_5) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 == 0u;
ctx.gpr[17] = (0u | 0u);
if (branch_taken) {
goto L_088355C8;
}
goto L_088355B8;
}
L_088355B8:
aot_gpr_4 = (aot_gpr_4 << 2u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_gpr_5 + aot_gpr_4);
ctx.gpr[17] = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
goto L_088355C8;
L_088355C8:
aot_gpr_18 = (aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(20)));
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(7800)));
aot_gpr_5 = (aot_gpr_4 << 8u);
aot_gpr_6 = (aot_gpr_4 + aot_gpr_4);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_6);
aot_gpr_4 = (aot_gpr_4 << 5u);
ctx.gpr[19] = (aot_gpr_5 + aot_gpr_4);
aot_gpr_4 = (2238u << 16u);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(-6992));
ctx.gpr[19] = (ctx.gpr[19] + aot_gpr_4);
aot_gpr_4 = (0u | 1u);
if (aot_gpr_4 == 0u) {
ctx.fpr[30] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(92)));
goto L_08835604;
}
goto L_088355FC;
L_088355FC:
{ const bool branch_taken = 0u == 0u;
ctx.fpr[30] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(88)));
if (branch_taken) {
goto L_08835604;
}
goto L_08835604;
}
L_08835604:
aot_gpr_4 = (16128u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = ctx.fpr[30]; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[30] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[30] = fs * ft; }
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(72)));
aot_gpr_4 = (aot_gpr_4 & 496u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088357B8;
}
goto L_08835620;
}
L_08835620:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(615))))));
aot_gpr_4 = (aot_gpr_4 & 128u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088357B0;
}
goto L_08835630;
}
L_08835630:
aot_gpr_4 = (ctx.gpr[19] + static_cast<std::uint32_t>(16));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835690;
}
goto L_0883563C;
}
L_0883563C:
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (static_cast<std::int32_t>(aot_gpr_5) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_6 == 0u;
if (branch_taken) {
goto L_08835690;
}
goto L_0883564C;
}
L_0883564C:
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(60)));
ctx.gpr[7] = (aot_gpr_5 << 5u);
aot_gpr_6 = (aot_gpr_6 + ctx.gpr[7]);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(8)));
aot_gpr_6 = (aot_gpr_5 << 2u);
ctx.gpr[7] = (ctx.gpr[16] + aot_gpr_6);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(1520)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_6 = (aot_gpr_29 + aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_6 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (aot_gpr_5 + static_cast<std::uint32_t>(1));
aot_gpr_5 = (aot_gpr_5 & 65535u);
aot_gpr_6 = (static_cast<std::int32_t>(aot_gpr_5) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_6 != 0u;
if (branch_taken) {
goto L_0883564C;
}
goto L_08835690;
}
L_08835690:
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08835730;
}
goto L_088356A0;
}
L_088356A0:
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(124)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(128)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_5 = (aot_gpr_4 << 2u);
aot_gpr_6 = (ctx.gpr[16] + aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_6 + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[7] = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
ctx.gpr[8] = (aot_gpr_4 << 5u);
ctx.gpr[7] = (ctx.gpr[7] + ctx.gpr[8]);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(8)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_6 + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[7] = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
ctx.gpr[7] = (ctx.gpr[7] + ctx.gpr[8]);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(8)));
aot_gpr_5 = (aot_gpr_29 + aot_gpr_5);
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_14 = aot_fpr_14 - ctx.fpr[15];
aot_fpr_12 = aot_fpr_14 / aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_6 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883571C;
}
goto L_0883570C;
}
L_0883570C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_5 = (aot_gpr_4 << 2u);
aot_gpr_5 = (ctx.gpr[16] + aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_0883571C;
L_0883571C:
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_gpr_4 & 65535u);
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 != 0u;
if (branch_taken) {
goto L_088356A0;
}
goto L_08835730;
}
L_08835730:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835760;
}
goto L_0883573C;
}
L_0883573C:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08835758u);
aot_gpr_6 = (0u | 20u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 223u, 0x08835758u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835758u) goto L_08835758;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835758:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_0883578C;
}
goto L_08835760;
}
L_08835760:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 100 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_0883578C;
}
goto L_08835770;
}
L_08835770:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x0883578Cu);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 226u, 0x0883578Cu, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883578Cu) goto L_0883578C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883578C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(96)));
{ const bool branch_taken = aot_gpr_4 != ctx.gpr[16];
if (branch_taken) {
goto L_0883579C;
}
goto L_08835798;
}
L_08835798:
aot_mem.aot_direct_store32(ctx.gpr[19] + static_cast<std::uint32_t>(96), 0u);
goto L_0883579C;
L_0883579C:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(615))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-129));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(ctx.gpr[16] + static_cast<std::uint32_t>(615), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(0u));
goto L_088357B0;
L_088357B0:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088365E4;
}
goto L_088357B8;
}
L_088357B8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
ctx.fpr[26] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(124)));
ctx.fpr[24] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(128)));
ctx.fpr[28] = ctx.fpr[26] - ctx.fpr[24];
aot_gpr_4 = (15948u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[22] = ctx.fpr[26] - aot_fpr_20;
aot_fpr_20 = ctx.fpr[24] - aot_fpr_20;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(76), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
ctx.fpr[22] = ctx.fpr[22] - aot_fpr_20;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(68), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(615))))));
aot_gpr_4 = (aot_gpr_4 & 128u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835A90;
}
goto L_088357F8;
}
L_088357F8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(96)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835824;
}
goto L_08835804;
}
L_08835804:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(96)));
{ const bool branch_taken = aot_gpr_4 == ctx.gpr[16];
if (branch_taken) {
goto L_08835824;
}
goto L_08835810;
}
L_08835810:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(96)));
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_4 + static_cast<std::uint32_t>(615))))));
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-129));
aot_gpr_5 = (aot_gpr_5 & aot_gpr_6);
aot_mem.aot_direct_store8(aot_gpr_4 + static_cast<std::uint32_t>(615), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08835824;
L_08835824:
aot_mem.aot_direct_store32(ctx.gpr[19] + static_cast<std::uint32_t>(96), ctx.gpr[16]);
ctx.gpr[19] = (ctx.gpr[19] + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[19] | 0u);
aot_gpr_31 = (0x08835838u);
aot_gpr_5 = (aot_gpr_18 | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0099.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 235u, 0x08835838u, 0x089904DCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0099_entry(rt, ctx, 76u, aot_mem);
#else
recomp_unit_0099_entry(rt, ctx, 76u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0099_entry, 99u, 76u, 0x089904DCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835838u) goto L_08835838;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835838:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[16] + static_cast<std::uint32_t>(615))))));
aot_gpr_4 = (aot_gpr_4 | 128u);
aot_mem.aot_direct_store8(ctx.gpr[16] + static_cast<std::uint32_t>(615), static_cast<std::uint8_t>(aot_gpr_4));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1724)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835870;
}
goto L_08835864;
}
L_08835864:
aot_gpr_4 = (0u | 20u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
if (branch_taken) {
goto L_088358B4;
}
goto L_08835870;
}
L_08835870:
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(0u));
aot_gpr_4 = (48675u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[26] = ctx.fpr[26] + aot_fpr_12;
aot_gpr_4 = (15907u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[28] = ctx.fpr[24] + aot_fpr_13;
ctx.fpr[28] = ctx.fpr[26] - ctx.fpr[28];
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x088358B4u);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 238u, 0x088358B4u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088358B4u) goto L_088358B4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088358B4:
ctx.gpr[20] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088359D4;
}
goto L_088358C4;
}
L_088358C4:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
ctx.gpr[21] = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
ctx.gpr[22] = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1520)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[23] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (ctx.gpr[23] | 0u);
aot_gpr_31 = (0x0883590Cu);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 240u, 0x0883590Cu, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883590Cu) goto L_0883590C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883590C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[26];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
{ const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_13 = ctx.fpr[28] + ctx.fpr[30];
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(ctx.gpr[22] + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
aot_mem.aot_direct_store32(ctx.gpr[22] + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088359C0;
}
goto L_0883596C;
}
L_0883596C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088359C0;
}
goto L_088359B0;
}
L_088359B0:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_088359C0;
L_088359C0:
ctx.gpr[20] = (ctx.gpr[20] + static_cast<std::uint32_t>(1));
ctx.gpr[20] = (ctx.gpr[20] & 65535u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088358C4;
}
goto L_088359D4;
}
L_088359D4:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x088359F0u);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 245u, 0x088359F0u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088359F0u) goto L_088359F0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088359F0:
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (0u | 0u);
aot_gpr_31 = (0x08835A04u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 246u, 0x08835A04u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835A04u) goto L_08835A04;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835A04:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + aot_fpr_20;
aot_fpr_12 = aot_fpr_12 - ctx.fpr[30];
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(24)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835A34;
}
goto L_08835A24;
}
L_08835A24:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + aot_fpr_20;
aot_fpr_12 = aot_fpr_12 - ctx.fpr[30];
aot_mem.aot_direct_store32(ctx.gpr[19] + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835A34;
L_08835A34:
aot_gpr_4 = (ctx.gpr[19] + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (ctx.gpr[19] + static_cast<std::uint32_t>(32));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835A6C;
}
goto L_08835A6C;
L_08835A6C:
aot_fpr_13 = std::sqrt(aot_fpr_13);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(12)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835A88;
}
goto L_08835A84;
}
L_08835A84:
aot_mem.aot_direct_store32(ctx.gpr[19] + static_cast<std::uint32_t>(12), std::bit_cast<std::uint32_t>(aot_fpr_13));
goto L_08835A88;
L_08835A88:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088365E4;
}
goto L_08835A90;
}
L_08835A90:
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[19] + static_cast<std::uint32_t>(208)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835ABC;
}
goto L_08835A9C;
}
L_08835A9C:
ctx.gpr[19] = (ctx.gpr[19] + static_cast<std::uint32_t>(16));
aot_gpr_18 = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 20 ? 1u : 0u);
if (aot_gpr_4 != 0u) {
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1724)));
goto L_08835AC4;
}
goto L_08835AB4;
L_08835AB4:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08835B28;
}
goto L_08835ABC;
}
L_08835ABC:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088365E4;
}
goto L_08835AC4;
}
L_08835AC4:
aot_gpr_4 = (15948u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835B28;
}
goto L_08835AE0;
}
L_08835AE0:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835B18;
}
goto L_08835AEC;
}
L_08835AEC:
aot_gpr_4 = (0u | 20u);
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08835B10u);
aot_gpr_6 = (0u | 20u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 259u, 0x08835B10u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835B10u) goto L_08835B10;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835B10:
{ const bool branch_taken = 0u == 0u;
aot_gpr_18 = (0u | 1u);
if (branch_taken) {
goto L_08835B98;
}
goto L_08835B18;
}
L_08835B18:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
if (branch_taken) {
goto L_08835B98;
}
goto L_08835B28;
}
L_08835B28:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
if (static_cast<std::int32_t>(aot_gpr_4) <= 0) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08835B9C;
}
goto L_08835B34;
L_08835B34:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 21 ? 1u : 0u);
if (aot_gpr_4 == 0u) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08835B9C;
}
goto L_08835B44;
L_08835B44:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1724)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08835B9C;
}
goto L_08835B64;
L_08835B64:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(-1));
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
aot_gpr_4 = (aot_gpr_4 & 65535u);
if (aot_gpr_4 != 0u) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08835B9C;
}
goto L_08835B7C;
L_08835B7C:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08835B98u);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 266u, 0x08835B98u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835B98u) goto L_08835B98;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835B98:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(72), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08835B9C;
L_08835B9C:
aot_gpr_31 = (0x08835BA4u);
aot_gpr_4 = (0u | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_0898B428, 97u, 0x0898B428u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835BA4u) goto L_08835BA4;
AOT_REGCACHE_SYNC_OUT(); return;
L_08835BA4:
aot_gpr_31 = (0x08835BACu);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0098.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 269u, 0x08835BACu, 0x0898CF00u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0098_entry(rt, ctx, 333u, aot_mem);
#else
recomp_unit_0098_entry(rt, ctx, 333u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0098_entry, 98u, 333u, 0x0898CF00u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835BACu) goto L_08835BAC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835BAC:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08835ED0;
}
goto L_08835BB4;
}
L_08835BB4:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 100 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835BD0;
}
goto L_08835BC4;
}
L_08835BC4:
aot_gpr_4 = (0u | 100u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
if (branch_taken) {
goto L_08835C00;
}
goto L_08835BD0;
}
L_08835BD0:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1724)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835BFC;
}
goto L_08835BF0;
}
L_08835BF0:
aot_gpr_4 = (0u | 20u);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
if (branch_taken) {
goto L_08835C00;
}
goto L_08835BFC;
}
L_08835BFC:
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(0u));
goto L_08835C00;
L_08835C00:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 100 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835D5C;
}
goto L_08835C10;
}
L_08835C10:
ctx.gpr[20] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835D38;
}
goto L_08835C20;
}
L_08835C20:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_18 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_18);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
ctx.gpr[21] = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1520)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (ctx.gpr[22] | 0u);
aot_gpr_31 = (0x08835C68u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 278u, 0x08835C68u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835C68u) goto L_08835C68;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835C68:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(76)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_13 + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + aot_gpr_18);
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_14 = ctx.fpr[22] + ctx.fpr[30];
aot_fpr_12 = aot_fpr_12 - aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + aot_gpr_18);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(ctx.fpr[22]));
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_14));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835D20;
}
goto L_08835CCC;
}
L_08835CCC:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835D20;
}
goto L_08835D10;
}
L_08835D10:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835D20;
L_08835D20:
aot_gpr_18 = (0u | 1u);
ctx.gpr[20] = (ctx.gpr[20] + static_cast<std::uint32_t>(1));
ctx.gpr[20] = (ctx.gpr[20] & 65535u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835C20;
}
goto L_08835D38;
}
L_08835D38:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08835D54u);
aot_gpr_6 = (0u | 20u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 283u, 0x08835D54u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835D54u) goto L_08835D54;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835D54:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08836584;
}
goto L_08835D5C;
}
L_08835D5C:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835D8C;
}
goto L_08835D68;
}
L_08835D68:
aot_gpr_4 = (48675u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[26] = ctx.fpr[26] + aot_fpr_12;
aot_gpr_4 = (15907u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[28] = ctx.fpr[24] + aot_fpr_13;
ctx.fpr[28] = ctx.fpr[26] - ctx.fpr[28];
goto L_08835D8C;
L_08835D8C:
ctx.gpr[20] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835EAC;
}
goto L_08835D9C;
}
L_08835D9C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
ctx.gpr[21] = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
ctx.gpr[22] = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1520)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[23] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (ctx.gpr[23] | 0u);
aot_gpr_31 = (0x08835DE4u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 288u, 0x08835DE4u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835DE4u) goto L_08835DE4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835DE4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[26];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
{ const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_13 = ctx.fpr[28] + ctx.fpr[30];
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(ctx.gpr[22] + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
aot_mem.aot_direct_store32(ctx.gpr[22] + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835E98;
}
goto L_08835E44;
}
L_08835E44:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08835E98;
}
goto L_08835E88;
}
L_08835E88:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835E98;
L_08835E98:
ctx.gpr[20] = (ctx.gpr[20] + static_cast<std::uint32_t>(1));
ctx.gpr[20] = (ctx.gpr[20] & 65535u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08835D9C;
}
goto L_08835EAC;
}
L_08835EAC:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08835EC8u);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 293u, 0x08835EC8u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835EC8u) goto L_08835EC8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835EC8:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08836584;
}
goto L_08835ED0;
}
L_08835ED0:
aot_gpr_31 = (0x08835ED8u);
aot_gpr_4 = (0u | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_0898B428, 97u, 0x0898B428u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835ED8u) goto L_08835ED8;
AOT_REGCACHE_SYNC_OUT(); return;
L_08835ED8:
aot_gpr_4 = (ctx.gpr[2] | 0u);
aot_gpr_31 = (0x08835EE4u);
aot_gpr_5 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0098.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 296u, 0x08835EE4u, 0x0898C2B4u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0098_entry(rt, ctx, 73u, aot_mem);
#else
recomp_unit_0098_entry(rt, ctx, 73u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0098_entry, 98u, 73u, 0x0898C2B4u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835EE4u) goto L_08835EE4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835EE4:
aot_fpr_20 = std::bit_cast<float>(ctx.gpr[2]);
aot_fpr_20 = static_cast<float>(static_cast<std::int32_t>(std::bit_cast<std::uint32_t>(aot_fpr_20)));
aot_gpr_31 = (0x08835EF4u);
aot_gpr_4 = (0u | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_0898B428, 97u, 0x0898B428u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835EF4u) goto L_08835EF4;
AOT_REGCACHE_SYNC_OUT(); return;
L_08835EF4:
aot_gpr_31 = (0x08835EFCu);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0098.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 298u, 0x08835EFCu, 0x0898C3A8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0098_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0098_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0098_entry, 98u, 90u, 0x0898C3A8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08835EFCu) goto L_08835EFC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08835EFC:
aot_fpr_12 = std::bit_cast<float>(ctx.gpr[2]);
aot_fpr_12 = static_cast<float>(static_cast<std::int32_t>(std::bit_cast<std::uint32_t>(aot_fpr_12)));
ctx.fpr[22] = std::bit_cast<float>(0u);
aot_fpr_14 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]));
aot_gpr_4 = (48128u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_gpr_4 = (15360u << 16u);
ctx.fpr[15] = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_20; const float ft = ctx.fpr[15]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
aot_fpr_13 = aot_fpr_13 - ctx.fpr[15];
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_14 <= aot_fpr_13)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_14));
goto L_08835F38;
}
goto L_08835F38;
L_08835F38:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(48), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_14 = std::bit_cast<float>(0u);
aot_gpr_4 = (15360u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
{ const float fs = aot_fpr_20; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_13 = ctx.fpr[15] - aot_fpr_13;
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_13 < aot_fpr_14)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_14));
goto L_08835F64;
}
goto L_08835F64;
L_08835F64:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(52), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_14 = std::bit_cast<float>(0u);
aot_gpr_4 = (48128u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_gpr_4 = (15360u << 16u);
ctx.fpr[15] = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_20; const float ft = ctx.fpr[15]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
aot_fpr_13 = aot_fpr_13 + ctx.fpr[15];
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_13 < aot_fpr_14)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_14));
goto L_08835F98;
}
goto L_08835F98;
L_08835F98:
aot_fpr_14 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(56), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_4 = (15360u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_14; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
{ const float fs = aot_fpr_20; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_13 = aot_fpr_14 + aot_fpr_13;
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_13 < aot_fpr_12)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08835FC8;
}
goto L_08835FC8;
L_08835FC8:
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(60), std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 100 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08836218;
}
goto L_08835FDC;
}
L_08835FDC:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (static_cast<std::int32_t>(aot_gpr_4) < 104 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08835FF8;
}
goto L_08835FEC;
}
L_08835FEC:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
aot_mem.aot_direct_store16(ctx.gpr[16] + static_cast<std::uint32_t>(1662), static_cast<std::uint16_t>(aot_gpr_4));
goto L_08835FF8;
L_08835FF8:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1724)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883603C;
}
goto L_08836018;
}
L_08836018:
aot_gpr_4 = (48675u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[26] = ctx.fpr[26] + aot_fpr_12;
aot_gpr_4 = (15907u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[24] = ctx.fpr[24] + aot_fpr_13;
ctx.fpr[28] = ctx.fpr[26] - ctx.fpr[24];
goto L_0883603C;
L_0883603C:
ctx.gpr[20] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
if (aot_gpr_4 == 0u) {
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(68)));
goto L_08836420;
}
goto L_0883604C;
L_0883604C:
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(48)));
aot_gpr_4 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
goto L_08836088;
}
goto L_08836070;
L_08836070:
aot_gpr_4 = (16256u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(48), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
goto L_08836088;
L_08836088:
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(76)));
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(48)));
aot_fpr_14 = ctx.fpr[26] - aot_fpr_12;
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
ctx.fpr[24] = aot_fpr_12 + aot_fpr_14;
aot_fpr_20 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(72)));
ctx.fpr[15] = ctx.fpr[28] - aot_fpr_20;
{ const float fs = aot_fpr_13; const float ft = ctx.fpr[15]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_20 = aot_fpr_20 + aot_fpr_13;
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
ctx.gpr[21] = (ctx.gpr[20] << 5u);
aot_gpr_6 = (aot_gpr_6 + ctx.gpr[21]);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_14; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (ctx.gpr[22] | 0u);
aot_gpr_31 = (0x088360F4u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 311u, 0x088360F4u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088360F4u) goto L_088360F4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088360F4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[24];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_13 = aot_fpr_20 + ctx.fpr[30];
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_14;
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12) & 0x7FFFFFFFu);
ctx.fpr[15] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]) & 0x7FFFFFFFu);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
ctx.fpr[24] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(80)));
if (branch_taken) {
goto L_08836160;
}
goto L_08836148;
}
L_08836148:
ctx.fpr[22] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
ctx.fpr[22] = ctx.fpr[22] - aot_fpr_12;
goto L_08836160;
L_08836160:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(16));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_fpr_12 = aot_fpr_20 + ctx.fpr[30];
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088361FC;
}
goto L_088361A8;
}
L_088361A8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088361FC;
}
goto L_088361EC;
}
L_088361EC:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_088361FC;
L_088361FC:
ctx.gpr[20] = (ctx.gpr[20] + static_cast<std::uint32_t>(1));
ctx.gpr[20] = (ctx.gpr[20] & 65535u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_0883604C;
}
goto L_08836210;
}
L_08836210:
{ const bool branch_taken = 0u == 0u;
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(68)));
if (branch_taken) {
goto L_08836420;
}
goto L_08836218;
}
L_08836218:
aot_gpr_4 = (aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(1662)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08836248;
}
goto L_08836224;
}
L_08836224:
aot_gpr_4 = (48675u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[26] = ctx.fpr[26] + aot_fpr_12;
aot_gpr_4 = (15907u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55050u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[24] = ctx.fpr[24] + aot_fpr_13;
ctx.fpr[28] = ctx.fpr[26] - ctx.fpr[24];
goto L_08836248;
L_08836248:
ctx.gpr[20] = (0u | 0u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
if (aot_gpr_4 == 0u) {
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(68)));
goto L_08836420;
}
goto L_08836258;
L_08836258:
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(48)));
aot_gpr_4 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
goto L_08836294;
}
goto L_0883627C;
L_0883627C:
aot_gpr_4 = (16256u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (aot_gpr_29 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(48), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(80), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
goto L_08836294;
L_08836294:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
ctx.gpr[21] = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_gpr_5 = (ctx.gpr[20] << 2u);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(76)));
aot_gpr_6 = (aot_gpr_29 + aot_gpr_5);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(48)));
aot_fpr_12 = aot_fpr_12 - ctx.fpr[26];
{ const float fs = aot_fpr_13; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
ctx.fpr[24] = ctx.fpr[26] + aot_fpr_12;
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(72)));
aot_fpr_14 = aot_fpr_14 - ctx.fpr[28];
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
aot_fpr_20 = ctx.fpr[28] + aot_fpr_20;
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1520)));
ctx.fpr[16] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[16]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[15] - aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_6 + static_cast<std::uint32_t>(0), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (ctx.gpr[22] | 0u);
aot_gpr_31 = (0x08836300u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 324u, 0x08836300u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836300u) goto L_08836300;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836300:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[24];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_fpr_13 = aot_fpr_20 + ctx.fpr[30];
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_4 = (aot_gpr_4 + ctx.gpr[21]);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_14;
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12) & 0x7FFFFFFFu);
ctx.fpr[15] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]) & 0x7FFFFFFFu);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
ctx.fpr[24] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(80)));
if (branch_taken) {
goto L_0883636C;
}
goto L_08836354;
}
L_08836354:
ctx.fpr[22] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
ctx.fpr[22] = ctx.fpr[22] - aot_fpr_12;
goto L_0883636C;
L_0883636C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(16));
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_fpr_12 = aot_fpr_20 + ctx.fpr[30];
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836408;
}
goto L_088363B4;
}
L_088363B4:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[19] + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[20] << 5u);
aot_gpr_4 = (aot_gpr_4 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_5 = (aot_gpr_29 + aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(0)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836408;
}
goto L_088363F8;
}
L_088363F8:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
aot_gpr_4 = (ctx.gpr[20] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1520), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08836408;
L_08836408:
ctx.gpr[20] = (ctx.gpr[20] + static_cast<std::uint32_t>(1));
ctx.gpr[20] = (ctx.gpr[20] & 65535u);
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[20]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08836258;
}
goto L_0883641C;
}
L_0883641C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(68)));
goto L_08836420;
L_08836420:
aot_fpr_13 = aot_fpr_12 - ctx.fpr[24];
aot_fpr_14 = std::bit_cast<float>(0u);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_13) || std::isnan(aot_fpr_14)) && aot_fpr_13 == aot_fpr_14)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836584;
}
goto L_08836438;
}
L_08836438:
aot_fpr_12 = aot_fpr_12 - ctx.fpr[24];
aot_fpr_12 = ctx.fpr[22] / aot_fpr_12;
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12) & 0x7FFFFFFFu);
aot_gpr_31 = (0x0883644Cu);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B61B60, 215u, 341u, 0x08B61B60u>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], ctx.gpr[3], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], aot_gpr_29, aot_gpr_31, aot_fpr_12); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0215_entry, 215u, 341u, 0x08B61B60u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883644Cu) goto L_0883644C;
AOT_REGCACHE_SYNC_OUT(); return;
L_0883644C:
ctx.gpr[7] = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29708)));
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29712)));
aot_gpr_5 = (ctx.gpr[3] | 0u);
aot_gpr_31 = (0x08836460u);
aot_gpr_4 = (ctx.gpr[2] | 0u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B6256C, 215u, 478u, 0x08B6256Cu>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], ctx.gpr[3], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[8], ctx.gpr[9], ctx.gpr[10], ctx.gpr[16], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0215_entry, 215u, 478u, 0x08B6256Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836460u) goto L_08836460;
AOT_REGCACHE_SYNC_OUT(); return;
L_08836460:
{ const bool branch_taken = static_cast<std::int32_t>(ctx.gpr[2]) <= 0;
if (branch_taken) {
goto L_08836584;
}
goto L_08836468;
}
L_08836468:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(68)));
aot_fpr_12 = aot_fpr_12 - ctx.fpr[24];
aot_fpr_13 = aot_fpr_12 + ctx.fpr[22];
aot_gpr_4 = (16128u << 16u);
aot_fpr_14 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[22] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[22] = fs * ft; }
ctx.fpr[22] = ctx.fpr[22] / aot_fpr_12;
ctx.fpr[15] = std::bit_cast<float>(0u);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] < ctx.fpr[15])) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088364A0;
}
goto L_08836498;
}
L_08836498:
{ const bool branch_taken = 0u == 0u;
ctx.fpr[22] = std::bit_cast<float>(0u);
if (branch_taken) {
goto L_088364C0;
}
goto L_088364A0;
}
L_088364A0:
aot_gpr_4 = (16256u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088364C0;
}
goto L_088364B8;
}
L_088364B8:
aot_gpr_4 = (16256u << 16u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
goto L_088364C0;
L_088364C0:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_6 = (0u | 22u);
aot_gpr_31 = (0x088364DCu);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 340u, 0x088364DCu, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088364DCu) goto L_088364DC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088364DC:
aot_gpr_4 = (16076u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_4 = (16153u << 16u);
if (branch_taken) {
goto L_08836510;
}
goto L_088364F8;
}
L_088364F8:
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836514;
}
goto L_08836510;
}
L_08836510:
aot_gpr_18 = (0u | 1u);
goto L_08836514;
L_08836514:
aot_gpr_4 = (16000u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836550;
}
goto L_0883652C;
}
L_0883652C:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08836548u);
aot_gpr_6 = (0u | 21u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 345u, 0x08836548u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836548u) goto L_08836548;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836548:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08836584;
}
goto L_08836550;
}
L_08836550:
aot_gpr_4 = (16192u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836584;
}
goto L_08836568;
}
L_08836568:
aot_gpr_4 = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(96)));
aot_fpr_12 = std::bit_cast<float>(0u);
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08836584u);
aot_gpr_6 = (0u | 20u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 348u, 0x08836584u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836584u) goto L_08836584;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836584:
{ const bool branch_taken = aot_gpr_18 == 0u;
if (branch_taken) {
goto L_088365E4;
}
goto L_0883658C;
}
L_0883658C:
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_088365E4;
}
goto L_0883659C;
}
L_0883659C:
aot_gpr_5 = (aot_gpr_4 << 2u);
aot_gpr_5 = (ctx.gpr[16] + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(1672)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(1688)));
aot_fpr_12 = aot_fpr_12 / aot_fpr_13;
aot_gpr_6 = (16256u << 16u);
aot_fpr_14 = std::bit_cast<float>(aot_gpr_6);
aot_fpr_12 = aot_fpr_14 - aot_fpr_12;
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(1520)));
ctx.fpr[15] = ctx.fpr[15] - aot_fpr_12;
aot_fpr_12 = aot_fpr_14 - aot_fpr_12;
aot_fpr_12 = ctx.fpr[15] / aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(1536), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_gpr_4 & 65535u);
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 != 0u;
if (branch_taken) {
goto L_0883659C;
}
goto L_088365E4;
}
L_088365E4:
{ std::uint32_t aot_run_words[15]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(84), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[22] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[24] = std::bit_cast<float>(aot_run_words[2]);
ctx.fpr[26] = std::bit_cast<float>(aot_run_words[3]);
ctx.fpr[28] = std::bit_cast<float>(aot_run_words[4]);
ctx.fpr[30] = std::bit_cast<float>(aot_run_words[5]);
ctx.gpr[16] = aot_run_words[6];
ctx.gpr[17] = aot_run_words[7];
aot_gpr_18 = aot_run_words[8];
ctx.gpr[19] = aot_run_words[9];
ctx.gpr[20] = aot_run_words[10];
ctx.gpr[21] = aot_run_words[11];
ctx.gpr[22] = aot_run_words[12];
ctx.gpr[23] = aot_run_words[13];
aot_gpr_31 = aot_run_words[14];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(144));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08836628:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-80));
{ const std::uint32_t aot_run_words[8]{std::bit_cast<std::uint32_t>(aot_fpr_20), ctx.gpr[16], ctx.gpr[17], aot_gpr_18, ctx.gpr[19], ctx.gpr[20], ctx.gpr[21], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(36), aot_run_words); }
ctx.gpr[16] = (aot_gpr_4 | 0u);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(86))))));
ctx.gpr[17] = (0u | 0u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7656)));
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < static_cast<std::int32_t>(aot_gpr_5) ? 1u : 0u);
aot_gpr_6 = (16128u << 16u);
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_fpr_20 = std::bit_cast<float>(aot_gpr_6);
if (branch_taken) {
goto L_0883667C;
}
goto L_0883666C;
}
L_0883666C:
aot_gpr_4 = (aot_gpr_4 << 2u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_gpr_5 + aot_gpr_4);
ctx.gpr[17] = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
goto L_0883667C;
L_0883667C:
aot_gpr_18 = (aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(20)));
ctx.gpr[19] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088366B4;
}
goto L_08836690;
}
L_08836690:
aot_gpr_4 = (0u | 4u);
aot_mem.aot_direct_store8(aot_gpr_18 + static_cast<std::uint32_t>(53), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (0u | 4u);
aot_gpr_6 = (0u | 32u);
aot_gpr_31 = (0x088366ACu);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0215.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 356u, 0x088366ACu, 0x08B60C7Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0215_entry(rt, ctx, 158u, aot_mem);
#else
recomp_unit_0215_entry(rt, ctx, 158u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0215_entry, 215u, 158u, 0x08B60C7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088366ACu) goto L_088366AC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088366AC:
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(60), ctx.gpr[2]);
ctx.gpr[19] = (0u | 1u);
goto L_088366B4;
L_088366B4:
ctx.gpr[21] = (0u | 0u);
ctx.gpr[20] = (aot_gpr_29 + static_cast<std::uint32_t>(16));
goto L_088366BC;
L_088366BC:
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_5 = (ctx.gpr[21] | 0u);
aot_gpr_6 = (ctx.gpr[20] | 0u);
aot_gpr_31 = (0x088366D0u);
ctx.gpr[7] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0167.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 359u, 0x088366D0u, 0x08AA1844u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0167_entry(rt, ctx, 384u, aot_mem);
#else
recomp_unit_0167_entry(rt, ctx, 384u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0167_entry, 167u, 384u, 0x08AA1844u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088366D0u) goto L_088366D0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088366D0:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (ctx.gpr[21] << 2u);
aot_gpr_4 = (ctx.gpr[16] + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1620), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(124)));
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (ctx.gpr[21] << 5u);
aot_gpr_6 = (aot_gpr_6 + aot_gpr_5);
{ const std::uint32_t vfpu_address = ctx.gpr[20] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_6 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(24)));
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(128)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(124)));
aot_gpr_6 = (ctx.gpr[21] < static_cast<std::uint32_t>(1) ? 1u : 0u);
ctx.gpr[7] = (ctx.gpr[21] ^ 2u);
ctx.gpr[7] = (ctx.gpr[7] < static_cast<std::uint32_t>(1) ? 1u : 0u);
aot_gpr_6 = (aot_gpr_6 | ctx.gpr[7]);
aot_gpr_6 = (aot_gpr_6 & 255u);
aot_gpr_6 = (aot_gpr_6 & 255u);
{ const bool branch_taken = aot_gpr_6 == 0u;
aot_fpr_13 = aot_fpr_13 - aot_fpr_14;
if (branch_taken) {
goto L_08836740;
}
goto L_08836734;
}
L_08836734:
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(88)));
{ const bool branch_taken = 0u == 0u;
{ const float fs = aot_fpr_14; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
if (branch_taken) {
goto L_08836748;
}
goto L_08836740;
}
L_08836740:
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(92)));
{ const float fs = aot_fpr_14; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
goto L_08836748;
L_08836748:
aot_fpr_13 = aot_fpr_13 - aot_fpr_14;
aot_fpr_12 = aot_fpr_12 + aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_gpr_6 = (aot_gpr_6 + aot_gpr_5);
aot_gpr_6 = (aot_gpr_6 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = ctx.gpr[20] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_6 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(124)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(128)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1672), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_gpr_5 = (aot_gpr_6 + aot_gpr_5);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(8)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(24)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(1688), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(1));
ctx.gpr[21] = (aot_gpr_4 << 16u);
ctx.gpr[21] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(ctx.gpr[21]) >> 16u));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[21]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088366BC;
}
goto L_088367AC;
}
L_088367AC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1672)));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(116)));
aot_gpr_4 = (16512u << 16u);
ctx.fpr[15] = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_14; const float ft = ctx.fpr[15]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
aot_gpr_4 = (16256u << 16u);
ctx.fpr[16] = std::bit_cast<float>(aot_gpr_4);
aot_fpr_14 = ctx.fpr[16] / aot_fpr_14;
aot_fpr_14 = ctx.fpr[16] - aot_fpr_14;
{ const float fs = aot_fpr_13; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_12 = aot_fpr_13 - aot_fpr_12;
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(88)));
{ const float fs = ctx.fpr[15]; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
aot_fpr_12 = aot_fpr_12 + ctx.fpr[15];
aot_mem.aot_direct_store32(ctx.gpr[16] + static_cast<std::uint32_t>(1704), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 0u);
goto L_088367F8;
L_088367F8:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[17] + static_cast<std::uint32_t>(88)));
{ const float fs = aot_fpr_12; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1704)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
aot_gpr_5 = (aot_gpr_4 << 2u);
aot_gpr_5 = (ctx.gpr[16] + aot_gpr_5);
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(1620), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_gpr_4 << 16u);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(aot_gpr_4) >> 16u));
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 != 0u;
if (branch_taken) {
goto L_088367F8;
}
goto L_0883682C;
}
L_0883682C:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(24)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836854;
}
goto L_08836848;
}
L_08836848:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(60)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(24)));
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(24), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08836854;
L_08836854:
aot_gpr_4 = (aot_gpr_18 + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 22u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (aot_gpr_18 + static_cast<std::uint32_t>(32));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 22u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_13 <= aot_fpr_12)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_13));
goto L_08836894;
}
goto L_08836894;
L_08836894:
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(12)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_13 < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088368AC;
}
goto L_088368A8;
}
L_088368A8:
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(12), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_088368AC;
L_088368AC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[16] + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-943));
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_08836910;
}
goto L_088368BC;
}
L_088368BC:
aot_gpr_4 = (16384u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_18 + static_cast<std::uint32_t>(12), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(52)));
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < static_cast<std::int32_t>(aot_gpr_5) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_gpr_5 = (16025u << 16u);
if (branch_taken) {
goto L_08836910;
}
goto L_088368DC;
}
L_088368DC:
aot_gpr_5 = (aot_gpr_5 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_5);
goto L_088368E4;
L_088368E4:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_6 = (aot_gpr_4 << 5u);
aot_gpr_5 = (aot_gpr_5 + aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(12), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_gpr_4 << 16u);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(aot_gpr_4) >> 16u));
aot_gpr_5 = (aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(52)));
aot_gpr_5 = (static_cast<std::int32_t>(aot_gpr_4) < static_cast<std::int32_t>(aot_gpr_5) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 != 0u;
if (branch_taken) {
goto L_088368E4;
}
goto L_08836910;
}
L_08836910:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_5 = (4096u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088369FC;
}
goto L_08836930;
}
L_08836930:
{ const bool branch_taken = ctx.gpr[19] == 0u;
if (branch_taken) {
goto L_088369FC;
}
goto L_08836938;
}
L_08836938:
aot_gpr_4 = (16000u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[16] + static_cast<std::uint32_t>(1704)));
aot_fpr_12 = aot_fpr_12 - aot_fpr_13;
ctx.gpr[16] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(52)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[16]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
aot_gpr_4 = (16076u << 16u);
if (branch_taken) {
goto L_088369FC;
}
goto L_0883695C;
}
L_0883695C:
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (0u | 0u);
goto L_08836968;
L_08836968:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_5 = (aot_gpr_5 + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(8)));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(12)));
aot_fpr_14 = aot_fpr_14 - ctx.fpr[15];
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_14 < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088369E8;
}
goto L_0883698C;
}
L_0883698C:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_5 = (aot_gpr_5 + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(12)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_14 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088369D4;
}
goto L_088369A8;
}
L_088369A8:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_5 = (aot_gpr_5 + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(8)));
aot_fpr_14 = aot_fpr_14 - aot_fpr_12;
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_14 < aot_fpr_13)) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_14 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_13));
goto L_088369C8;
}
goto L_088369C8;
L_088369C8:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_5 = (aot_gpr_5 + aot_gpr_4);
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(12), std::bit_cast<std::uint32_t>(aot_fpr_14));
goto L_088369D4;
L_088369D4:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_18 + static_cast<std::uint32_t>(56)));
aot_gpr_5 = (aot_gpr_5 + aot_gpr_4);
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(12)));
aot_fpr_14 = aot_fpr_12 + aot_fpr_14;
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(8), std::bit_cast<std::uint32_t>(aot_fpr_14));
goto L_088369E8;
L_088369E8:
ctx.gpr[16] = (ctx.gpr[16] + static_cast<std::uint32_t>(1));
aot_gpr_5 = (aot_mem.aot_direct_load8(aot_gpr_18 + static_cast<std::uint32_t>(52)));
aot_gpr_5 = (static_cast<std::int32_t>(ctx.gpr[16]) < static_cast<std::int32_t>(aot_gpr_5) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_5 != 0u;
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(32));
if (branch_taken) {
goto L_08836968;
}
goto L_088369FC;
}
L_088369FC:
{ std::uint32_t aot_run_words[8]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(36), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.gpr[16] = aot_run_words[1];
ctx.gpr[17] = aot_run_words[2];
aot_gpr_18 = aot_run_words[3];
ctx.gpr[19] = aot_run_words[4];
ctx.gpr[20] = aot_run_words[5];
ctx.gpr[21] = aot_run_words[6];
aot_gpr_31 = aot_run_words[7];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(80));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08836A24:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-1056));
{ const std::uint32_t aot_run_words[16]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(ctx.fpr[22]), std::bit_cast<std::uint32_t>(ctx.fpr[24]), std::bit_cast<std::uint32_t>(ctx.fpr[26]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[30]), ctx.gpr[16], ctx.gpr[17], aot_gpr_18, ctx.gpr[19], ctx.gpr[20], ctx.gpr[21], ctx.gpr[22], ctx.gpr[23], ctx.gpr[30], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(992), aot_run_words); }
ctx.gpr[21] = (aot_gpr_4 | 0u);
aot_gpr_4 = (2238u << 16u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(976), ctx.gpr[21]);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(14064));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(344)));
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(16));
aot_gpr_18 = (aot_gpr_29 + static_cast<std::uint32_t>(32));
aot_gpr_5 = (ctx.gpr[21] | 0u);
aot_gpr_31 = (0x08836A90u);
ctx.gpr[7] = (aot_gpr_18 | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0162.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 386u, 0x08836A90u, 0x08A8F64Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0162_entry(rt, ctx, 644u, aot_mem);
#else
recomp_unit_0162_entry(rt, ctx, 644u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0162_entry, 162u, 644u, 0x08A8F64Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836A90u) goto L_08836A90;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836A90:
ctx.fpr[28] = std::bit_cast<float>(0u);
aot_gpr_4 = (16256u << 16u);
{ const bool branch_taken = ctx.gpr[2] == 0u;
ctx.fpr[26] = std::bit_cast<float>(aot_gpr_4);
if (branch_taken) {
goto L_08837770;
}
goto L_08836AA0;
}
L_08836AA0:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(619))))));
aot_gpr_4 = (aot_gpr_4 | 32u);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(619), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
ctx.gpr[19] = (128u << 16u);
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[19]);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
ctx.gpr[20] = (1024u << 16u);
aot_gpr_5 = (16128u << 16u);
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_5);
aot_gpr_5 = (15363u << 16u);
aot_gpr_5 = (aot_gpr_5 | 4719u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_5);
aot_gpr_5 = (15692u << 16u);
aot_gpr_5 = (aot_gpr_5 | 52429u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_5);
{ const bool branch_taken = aot_gpr_4 == 0u;
ctx.gpr[16] = (ctx.gpr[21] + static_cast<std::uint32_t>(320));
if (branch_taken) {
goto L_08836B14;
}
goto L_08836AF0;
}
L_08836AF0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08836B14;
}
goto L_08836AFC;
}
L_08836AFC:
aot_gpr_31 = (0x08836B04u);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_0890D44C, 66u, 315u, 0x0890D44Cu>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], aot_gpr_4, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0066_entry, 66u, 315u, 0x0890D44Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836B04u) goto L_08836B04;
AOT_REGCACHE_SYNC_OUT(); return;
L_08836B04:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08836B14;
}
goto L_08836B0C;
}
L_08836B0C:
aot_gpr_31 = (0x08836B14u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0017.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 392u, 0x08836B14u, 0x0884B918u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0017_entry(rt, ctx, 629u, aot_mem);
#else
recomp_unit_0017_entry(rt, ctx, 629u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0017_entry, 17u, 629u, 0x0884B918u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836B14u) goto L_08836B14;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836B14:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | ctx.gpr[20]);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (aot_gpr_4 & 1u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08836B70;
}
goto L_08836B2C;
}
L_08836B2C:
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(40)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7676)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_12)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08836B44;
}
goto L_08836B44;
L_08836B44:
aot_fpr_14 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(208)));
aot_gpr_4 = (16448u << 16u);
ctx.fpr[16] = std::bit_cast<float>(aot_gpr_4);
ctx.fpr[15] = ctx.fpr[15] / ctx.fpr[16];
{ const float fs = ctx.fpr[15]; const float ft = ctx.fpr[24]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
{ const float fs = ctx.fpr[15]; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
aot_fpr_20 = aot_fpr_13 / aot_fpr_20;
{ const float fs = aot_fpr_20; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
{ const bool branch_taken = 0u == 0u;
aot_fpr_12 = ctx.fpr[26] - aot_fpr_12;
if (branch_taken) {
goto L_08836BA4;
}
goto L_08836B70;
}
L_08836B70:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(40)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7676)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_13)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[22]));
goto L_08836B88;
}
goto L_08836B88;
L_08836B88:
aot_fpr_14 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(208)));
{ const float fs = ctx.fpr[15]; const float ft = ctx.fpr[24]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
{ const float fs = ctx.fpr[15]; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
aot_fpr_20 = aot_fpr_12 / aot_fpr_20;
{ const float fs = aot_fpr_20; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[26] - aot_fpr_12;
goto L_08836BA4;
L_08836BA4:
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7676)));
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_5 = (std::bit_cast<std::uint32_t>(aot_fpr_13));
ctx.set_vfpu_scalar_bits_ct<0u>(aot_gpr_4);
ctx.set_vfpu_scalar_bits_ct<32u>(aot_gpr_5);
ctx.execute_vfpu_unary_ct<64u, 0u, 1u, 21u>();
ctx.execute_vfpu_vec3_ct<0u, 32u, 64u, 1u, 2u>();
ctx.execute_vfpu_unary_ct<32u, 0u, 1u, 20u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<32u>());
ctx.fpr[30] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[30]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(48));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_31 = (0x08836BECu);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 398u, 0x08836BECu, 0x08A666C0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 538u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 538u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 538u, 0x08A666C0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836BECu) goto L_08836BEC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836BEC:
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[30]));
ctx.set_vfpu_scalar_bits_ct<1u>(aot_gpr_4);
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(112));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 1u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
ctx.gpr[17] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(208)));
aot_gpr_5 = (512u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08836E70;
}
goto L_08836C28;
}
L_08836C28:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1640)));
aot_gpr_4 = (15897u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836E70;
}
goto L_08836C48;
}
L_08836C48:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_5 = (8u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08836D54;
}
goto L_08836C68;
}
L_08836C68:
aot_gpr_4 = (16640u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_20; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[26] <= aot_fpr_12)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
goto L_08836C84;
}
goto L_08836C84;
L_08836C84:
ctx.fpr[24] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (49152u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_13));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(128));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[24]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 16u>();
{ const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(112));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(112), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836CD8u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 403u, 0x08836CD8u, 0x08A66CD8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 600u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 600u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 600u, 0x08A66CD8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836CD8u) goto L_08836CD8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836CD8:
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_unary_ct<0u, 0u, 3u, 2u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[24]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 16u>();
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(128), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(16), aot_run_words);
ctx.fpr[15] = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[16] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[17] = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836D1Cu);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 404u, 0x08836D1Cu, 0x08A66E08u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 611u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 611u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 611u, 0x08A66E08u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836D1Cu) goto L_08836D1C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836D1C:
aot_gpr_4 = (16230u << 16u);
aot_gpr_4 = (aot_gpr_4 | 26214u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836D44;
}
goto L_08836D38;
}
L_08836D38:
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(1640), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
{ const bool branch_taken = 0u == 0u;
ctx.gpr[17] = (0u | 1u);
if (branch_taken) {
goto L_08836D4C;
}
goto L_08836D44;
}
L_08836D44:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08837B30;
}
goto L_08836D4C;
}
L_08836D4C:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08836E70;
}
goto L_08836D54;
}
L_08836D54:
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(32));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (16179u << 16u);
aot_gpr_4 = (aot_gpr_4 | 13107u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836E70;
}
goto L_08836D78;
}
L_08836D78:
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(1640), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
ctx.gpr[17] = (0u | 1u);
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | 256u);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_4 = (aot_gpr_4 | 4u);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (16640u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_20; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[26] <= aot_fpr_12)) ? 0x00800000u : 0u);
if (!((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
goto L_08836DB4;
}
goto L_08836DB4;
L_08836DB4:
ctx.fpr[30] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (49152u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_13));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(176));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[30]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 16u>();
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
ctx.gpr[23] = (aot_gpr_29 + static_cast<std::uint32_t>(160));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(160), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836E08u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 411u, 0x08836E08u, 0x08A66CD8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 600u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 600u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 600u, 0x08A66CD8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836E08u) goto L_08836E08;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836E08:
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_unary_ct<0u, 0u, 3u, 2u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[30]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 16u>();
{ const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(176), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(16), aot_run_words);
ctx.fpr[15] = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[16] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[17] = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836E4Cu);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 412u, 0x08836E4Cu, 0x08A66E08u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 611u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 611u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 611u, 0x08A66E08u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836E4Cu) goto L_08836E4C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836E4C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(208)));
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[24]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_4 = (17096u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_4 = (17008u << 16u);
aot_fpr_14 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_12 / aot_fpr_14;
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(344), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08836E70;
L_08836E70:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | ctx.gpr[20]);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(32), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836E90u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 414u, 0x08836E90u, 0x08A66CD8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 600u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 600u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 600u, 0x08A66CD8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836E90u) goto L_08836E90;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836E90:
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(32), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(16), aot_run_words);
ctx.fpr[15] = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[16] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[17] = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_31 = (0x08836EB0u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 415u, 0x08836EB0u, 0x08A66E08u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 611u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 611u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 611u, 0x08A66E08u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08836EB0u) goto L_08836EB0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08836EB0:
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_18 = (aot_gpr_29 + static_cast<std::uint32_t>(64));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (48588u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
{ const bool branch_taken = ctx.gpr[17] != 0u;
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
if (branch_taken) {
goto L_08836F64;
}
goto L_08836ECC;
}
L_08836ECC:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_5 = (8u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08836F64;
}
goto L_08836EEC;
}
L_08836EEC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_4 = (aot_gpr_4 & 4u);
{ const bool branch_taken = aot_gpr_4 != 0u;
aot_gpr_4 = (16448u << 16u);
if (branch_taken) {
goto L_08836F64;
}
goto L_08836EFC;
}
L_08836EFC:
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(32));
if (branch_taken) {
goto L_08836F64;
}
goto L_08836F10;
}
L_08836F10:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (48896u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_4 = (16153u << 16u);
if (branch_taken) {
goto L_08836F44;
}
goto L_08836F2C;
}
L_08836F2C:
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836F64;
}
goto L_08836F44;
}
L_08836F44:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | 256u);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
if (branch_taken) {
goto L_088372FC;
}
goto L_08836F64;
}
L_08836F64:
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(1782)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08836FC4;
}
goto L_08836F70;
}
L_08836F70:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(72)));
aot_gpr_4 = (aot_gpr_4 & 496u);
{ const bool branch_taken = aot_gpr_4 != 0u;
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(32));
if (branch_taken) {
goto L_08836FC4;
}
goto L_08836F80;
}
L_08836F80:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (15820u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08836FC4;
}
goto L_08836FA0;
}
L_08836FA0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-257));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
{ const bool branch_taken = 0u == 0u;
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
if (branch_taken) {
goto L_088372FC;
}
goto L_08836FC4;
}
L_08836FC4:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[21] + static_cast<std::uint32_t>(86))))));
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7656)));
aot_gpr_6 = (static_cast<std::int32_t>(aot_gpr_4) < static_cast<std::int32_t>(aot_gpr_6) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_6 == 0u;
aot_gpr_5 = (0u | 0u);
if (branch_taken) {
goto L_08836FE8;
}
goto L_08836FD8;
}
L_08836FD8:
aot_gpr_4 = (aot_gpr_4 << 2u);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
aot_gpr_4 = (aot_gpr_5 + aot_gpr_4);
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
goto L_08836FE8;
L_08836FE8:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(636)));
aot_gpr_4 = (aot_gpr_4 & 64u);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08837010;
}
goto L_08837000;
}
L_08837000:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[21] + static_cast<std::uint32_t>(86))))));
aot_gpr_5 = (0u | 170u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_088370A0;
}
goto L_08837010;
}
L_08837010:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | 256u);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(32));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(8)));
aot_gpr_4 = (48896u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088372FC;
}
goto L_0883704C;
}
L_0883704C:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_4 = (aot_gpr_4 | 4u);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088372FC;
}
goto L_08837064;
}
L_08837064:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(2196)));
aot_gpr_5 = (0u | 16u);
{ const bool branch_taken = aot_gpr_4 == aot_gpr_5;
if (branch_taken) {
goto L_088372FC;
}
goto L_08837078;
}
L_08837078:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7676)));
aot_gpr_5 = (0u | 0u);
aot_gpr_6 = (0u | 46u);
ctx.gpr[7] = (0u | 0u);
ctx.gpr[8] = (0u | 0u);
aot_gpr_31 = (0x08837098u);
ctx.gpr[9] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0057.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 434u, 0x08837098u, 0x088EB674u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0057_entry(rt, ctx, 692u, aot_mem);
#else
recomp_unit_0057_entry(rt, ctx, 692u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0057_entry, 57u, 692u, 0x088EB674u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837098u) goto L_08837098;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837098:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088372FC;
}
goto L_088370A0;
}
L_088370A0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[19]);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_0883727C;
}
goto L_088370BC;
}
L_088370BC:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(204)));
aot_gpr_5 = (8u << 16u);
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_0883727C;
}
goto L_088370DC;
}
L_088370DC:
{ const bool branch_taken = ctx.gpr[17] != 0u;
if (branch_taken) {
goto L_0883716C;
}
goto L_088370E4;
}
L_088370E4:
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 <= ctx.fpr[26])) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_4 = (16153u << 16u);
if (branch_taken) {
goto L_0883716C;
}
goto L_088370F4;
}
L_088370F4:
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883727C;
}
goto L_0883710C;
}
L_0883710C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_12) || std::isnan(aot_fpr_13)) && aot_fpr_12 == aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883716C;
}
goto L_08837124;
}
L_08837124:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1524)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_12) || std::isnan(aot_fpr_13)) && aot_fpr_12 == aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883716C;
}
goto L_0883713C;
}
L_0883713C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1528)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_12) || std::isnan(aot_fpr_13)) && aot_fpr_12 == aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883716C;
}
goto L_08837154;
}
L_08837154:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(1532)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_12) || std::isnan(aot_fpr_13)) && aot_fpr_12 == aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_0883727C;
}
goto L_0883716C;
}
L_0883716C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_4 = (aot_gpr_4 | 256u);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_4 = (aot_gpr_4 | 4u);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(328)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < ctx.fpr[24])) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088371B0;
}
goto L_08837198;
}
L_08837198:
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(192));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(200), std::bit_cast<std::uint32_t>(ctx.fpr[24]));
aot_gpr_31 = (0x088371B0u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 446u, 0x088371B0u, 0x08A666C0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 538u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 538u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 538u, 0x08A666C0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088371B0u) goto L_088371B0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088371B0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(852)));
aot_gpr_5 = (0u | 9u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_0883726C;
}
goto L_088371C0;
}
L_088371C0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088371E4;
}
goto L_088371CC;
}
L_088371CC:
ctx.gpr[7] = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(900)));
aot_gpr_4 = (ctx.gpr[21] | 0u);
aot_gpr_5 = (0u | 46u);
aot_gpr_6 = (0u | 0u);
aot_gpr_31 = (0x088371E4u);
ctx.gpr[8] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0192.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 449u, 0x088371E4u, 0x08B04D14u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0192_entry(rt, ctx, 212u, aot_mem);
#else
recomp_unit_0192_entry(rt, ctx, 212u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0192_entry, 192u, 212u, 0x08B04D14u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088371E4u) goto L_088371E4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088371E4:
ctx.gpr[21] = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
ctx.gpr[19] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(565)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[19]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837264;
}
goto L_088371FC;
}
L_088371FC:
aot_gpr_4 = (ctx.gpr[21] | 0u);
aot_gpr_31 = (0x08837208u);
aot_gpr_5 = (ctx.gpr[19] | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08AFEF7C, 190u, 0x08AFEF7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837208u) goto L_08837208;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837208:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08837250;
}
goto L_08837210;
}
L_08837210:
aot_gpr_4 = (ctx.gpr[21] | 0u);
aot_gpr_31 = (0x0883721Cu);
aot_gpr_5 = (ctx.gpr[19] | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08AFEF7C, 190u, 0x08AFEF7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883721Cu) goto L_0883721C;
AOT_REGCACHE_SYNC_OUT(); return;
L_0883721C:
aot_gpr_4 = (ctx.gpr[2] + static_cast<std::uint32_t>(236));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(0)));
aot_gpr_5 = (aot_gpr_5 | ctx.gpr[20]);
aot_mem.aot_direct_store32(aot_gpr_4 + static_cast<std::uint32_t>(0), aot_gpr_5);
aot_gpr_4 = (ctx.gpr[21] | 0u);
aot_gpr_31 = (0x08837238u);
aot_gpr_5 = (ctx.gpr[19] | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08AFEF7C, 190u, 0x08AFEF7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837238u) goto L_08837238;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837238:
aot_gpr_4 = (ctx.gpr[21] | 0u);
aot_gpr_5 = (0u | 46u);
aot_gpr_6 = (0u | 0u);
ctx.gpr[7] = (ctx.gpr[2] | 0u);
aot_gpr_31 = (0x08837250u);
ctx.gpr[8] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0192.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 455u, 0x08837250u, 0x08B04D14u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0192_entry(rt, ctx, 212u, aot_mem);
#else
recomp_unit_0192_entry(rt, ctx, 212u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0192_entry, 192u, 212u, 0x08B04D14u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837250u) goto L_08837250;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837250:
ctx.gpr[19] = (ctx.gpr[19] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(565)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[19]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088371FC;
}
goto L_08837264;
}
L_08837264:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088372FC;
}
goto L_0883726C;
}
L_0883726C:
aot_gpr_31 = (0x08837274u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 458u, 0x08837274u, 0x0883376Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 769u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 769u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 769u, 0x0883376Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837274u) goto L_08837274;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837274:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088372FC;
}
goto L_0883727C;
}
L_0883727C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(236)));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-257));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store32(ctx.gpr[21] + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(852)));
aot_gpr_6 = (0u | 4u);
{ const bool branch_taken = aot_gpr_5 != aot_gpr_6;
aot_gpr_4 = (0u | 0u);
if (branch_taken) {
goto L_088372C0;
}
goto L_0883729C;
}
L_0883729C:
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(352)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(204)));
aot_gpr_6 = (8u << 16u);
aot_gpr_5 = (aot_gpr_5 & aot_gpr_6);
aot_gpr_5 = (0u < aot_gpr_5 ? 1u : 0u);
aot_gpr_5 = (aot_gpr_5 & 255u);
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_gpr_4 = (aot_gpr_4 & 255u);
if (branch_taken) {
goto L_088372C4;
}
goto L_088372BC;
}
L_088372BC:
aot_gpr_4 = (0u | 1u);
goto L_088372C0;
L_088372C0:
aot_gpr_4 = (aot_gpr_4 & 255u);
goto L_088372C4;
L_088372C4:
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088372EC;
}
goto L_088372CC;
}
L_088372CC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_4 = (aot_gpr_4 & 4u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088372EC;
}
goto L_088372DC;
}
L_088372DC:
aot_gpr_31 = (0x088372E4u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 466u, 0x088372E4u, 0x0883376Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 769u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 769u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 769u, 0x0883376Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088372E4u) goto L_088372E4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088372E4:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_088372FC;
}
goto L_088372EC;
}
L_088372EC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(617))))));
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(ctx.gpr[21] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
goto L_088372FC;
L_088372FC:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(72)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < ctx.fpr[24])) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
ctx.gpr[21] = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
if (branch_taken) {
goto L_0883732C;
}
goto L_08837310;
}
L_08837310:
aot_gpr_4 = (16025u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
ctx.gpr[22] = (ctx.gpr[17] | 0u);
if (branch_taken) {
goto L_08837338;
}
goto L_0883732C;
}
L_0883732C:
{ const bool branch_taken = ctx.gpr[17] == 0u;
if (branch_taken) {
goto L_08837580;
}
goto L_08837334;
}
L_08837334:
ctx.gpr[22] = (ctx.gpr[17] | 0u);
goto L_08837338;
L_08837338:
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(208), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(209), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(210), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(211), static_cast<std::uint8_t>(0u));
aot_gpr_4 = (16102u << 16u);
aot_gpr_4 = (aot_gpr_4 | 26214u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (17279u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = aot_fpr_20; const float ft = aot_fpr_12; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-23440)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11020)));
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11056)));
{ const float fs = aot_fpr_14; const float ft = ctx.fpr[22]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
aot_fpr_13 = aot_fpr_13 + aot_fpr_14;
{ const float fs = aot_fpr_12; const float ft = aot_fpr_13; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_13 = std::bit_cast<float>(ctx.fpu_float_to_word_ct<1u>(aot_fpr_13));
ctx.gpr[17] = (std::bit_cast<std::uint32_t>(aot_fpr_13));
ctx.fpr[15] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11024)));
ctx.fpr[16] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11060)));
{ const float fs = ctx.fpr[16]; const float ft = ctx.fpr[22]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[16] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[16] = fs * ft; }
aot_fpr_14 = ctx.fpr[15] + ctx.fpr[16];
{ const float fs = aot_fpr_12; const float ft = aot_fpr_14; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_14 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_14 = fs * ft; }
aot_fpr_13 = std::bit_cast<float>(ctx.fpu_float_to_word_ct<1u>(aot_fpr_14));
ctx.gpr[19] = (std::bit_cast<std::uint32_t>(aot_fpr_13));
ctx.fpr[17] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11028)));
ctx.fpr[18] = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(11064)));
{ const float fs = ctx.fpr[18]; const float ft = ctx.fpr[22]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) ctx.fpr[15] = std::bit_cast<float>(0x7FC00000u); else ctx.fpr[15] = fs * ft; }
ctx.fpr[15] = ctx.fpr[17] + ctx.fpr[15];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[15]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = std::bit_cast<float>(ctx.fpu_float_to_word_ct<1u>(aot_fpr_12));
ctx.gpr[20] = (std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_31 = (0x088373C0u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20934, 199u, 110u, 0x08B20934u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 110u, 0x08B20934u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088373C0u) goto L_088373C0;
AOT_REGCACHE_SYNC_OUT(); return;
L_088373C0:
aot_gpr_4 = (ctx.gpr[2] | 0u);
aot_gpr_5 = (0u | 0u);
ctx.gpr[7] = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29692)));
aot_gpr_31 = (0x088373D4u);
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29696)));
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B60E5C, 215u, 177u, 0x08B60E5Cu>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], ctx.gpr[3], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[9], ctx.gpr[10], aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0215_entry, 215u, 177u, 0x08B60E5Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088373D4u) goto L_088373D4;
AOT_REGCACHE_SYNC_OUT(); return;
L_088373D4:
ctx.gpr[1] = (ctx.gpr[3] << 1u);
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(ctx.gpr[3]) >> 31u));
aot_gpr_4 = (ctx.gpr[2] >> 31u);
aot_gpr_4 = (ctx.gpr[1] | aot_gpr_4);
ctx.gpr[7] = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29684)));
aot_gpr_6 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29688)));
ctx.gpr[8] = (aot_gpr_4 + aot_gpr_6);
ctx.gpr[9] = (ctx.gpr[8] < aot_gpr_6 ? 1u : 0u);
aot_gpr_4 = (ctx.gpr[9] + aot_gpr_5);
aot_gpr_5 = (aot_gpr_4 + ctx.gpr[7]);
aot_gpr_4 = (ctx.gpr[8] | 0u);
aot_gpr_4 = (aot_gpr_4 | 0u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(212), static_cast<std::uint8_t>(ctx.gpr[17]));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(213), static_cast<std::uint8_t>(ctx.gpr[19]));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(214), static_cast<std::uint8_t>(ctx.gpr[20]));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(215), static_cast<std::uint8_t>(aot_gpr_4));
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
ctx.execute_vfpu_unary_ct<28u, 28u, 1u, 22u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(48));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_18 = (aot_gpr_29 + static_cast<std::uint32_t>(224));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (15897u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_gpr_31 = (0x08837448u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837448u) goto L_08837448;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837448:
aot_fpr_12 = aot_fpr_20 - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(aot_fpr_12)};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(240), aot_run_words); }
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(240));
ctx.gpr[19] = (aot_gpr_29 + static_cast<std::uint32_t>(212));
aot_gpr_4 = (0u | 7u);
aot_gpr_5 = (aot_gpr_18 | 0u);
aot_gpr_6 = (ctx.gpr[17] | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[28]));
ctx.gpr[7] = (0u | 75u);
ctx.gpr[8] = (ctx.gpr[19] | 0u);
aot_gpr_31 = (0x08837488u);
ctx.gpr[9] = (0u | 1u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0079.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 476u, 0x08837488u, 0x089421CCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0079_entry(rt, ctx, 352u, aot_mem);
#else
recomp_unit_0079_entry(rt, ctx, 352u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0079_entry, 79u, 352u, 0x089421CCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837488u) goto L_08837488;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837488:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7660)));
aot_gpr_5 = (aot_gpr_4 + static_cast<std::uint32_t>(300));
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(-29704), aot_gpr_5);
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(60));
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(-29700), aot_gpr_4);
aot_gpr_4 = (48716u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
{ const bool branch_taken = ctx.gpr[22] == 0u;
ctx.gpr[20] = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
if (branch_taken) {
goto L_0883753C;
}
goto L_088374B0;
}
L_088374B0:
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[26])};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(256), aot_run_words); }
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(16));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(256));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<2u, 4u>(vfpu_value); }
ctx.execute_vfpu_cross_quat_ct<0u, 1u, 2u, 3u>();
ctx.gpr[22] = (aot_gpr_29 + static_cast<std::uint32_t>(288));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 0u>();
ctx.gpr[23] = (aot_gpr_29 + static_cast<std::uint32_t>(272));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (0u | 7u);
aot_gpr_5 = (ctx.gpr[23] | 0u);
aot_gpr_6 = (ctx.gpr[17] | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[28]));
ctx.gpr[7] = (0u | 75u);
ctx.gpr[8] = (ctx.gpr[19] | 0u);
aot_gpr_31 = (0x0883750Cu);
ctx.gpr[9] = (0u | 1u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0079.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 478u, 0x0883750Cu, 0x089421CCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0079_entry(rt, ctx, 352u, aot_mem);
#else
recomp_unit_0079_entry(rt, ctx, 352u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0079_entry, 79u, 352u, 0x089421CCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883750Cu) goto L_0883750C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883750C:
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[22] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 1u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[23] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (0u | 7u);
aot_gpr_5 = (ctx.gpr[23] | 0u);
aot_gpr_6 = (ctx.gpr[17] | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[28]));
ctx.gpr[7] = (0u | 75u);
ctx.gpr[8] = (ctx.gpr[19] | 0u);
aot_gpr_31 = (0x0883753Cu);
ctx.gpr[9] = (0u | 1u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0079.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 479u, 0x0883753Cu, 0x089421CCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0079_entry(rt, ctx, 352u, aot_mem);
#else
recomp_unit_0079_entry(rt, ctx, 352u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0079_entry, 79u, 352u, 0x089421CCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x0883753Cu) goto L_0883753C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_0883753C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(328)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_20)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08837568;
}
goto L_08837550;
}
L_08837550:
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
aot_gpr_5 = (aot_gpr_29 + static_cast<std::uint32_t>(304));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(312), std::bit_cast<std::uint32_t>(aot_fpr_20));
aot_gpr_31 = (0x08837568u);
aot_gpr_4 = (ctx.gpr[21] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0152.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 481u, 0x08837568u, 0x08A666C0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0152_entry(rt, ctx, 538u, aot_mem);
#else
recomp_unit_0152_entry(rt, ctx, 538u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0152_entry, 152u, 538u, 0x08A666C0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837568u) goto L_08837568;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837568:
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(96)));
aot_gpr_4 = (ctx.gpr[20] | 0u);
aot_gpr_6 = (0u | 165u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[28]));
aot_gpr_31 = (0x08837580u);
aot_fpr_13 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 482u, 0x08837580u, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837580u) goto L_08837580;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837580:
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(80), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(81), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(82), static_cast<std::uint8_t>(0u));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(83), static_cast<std::uint8_t>(0u));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29700)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_088376B8;
}
goto L_0883759C;
}
L_0883759C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7660)));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29700)));
aot_gpr_4 = (aot_gpr_4 < aot_gpr_5 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088376B8;
}
goto L_088375B0;
}
L_088375B0:
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(48));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.gpr[16] = (aot_gpr_29 + static_cast<std::uint32_t>(320));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(336), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(320), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(336));
aot_gpr_31 = (0x088375DCu);
aot_gpr_5 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0189.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 485u, 0x088375DCu, 0x08AF8668u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0189_entry(rt, ctx, 115u, aot_mem);
#else
recomp_unit_0189_entry(rt, ctx, 115u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0189_entry, 189u, 115u, 0x08AF8668u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088375DCu) goto L_088375DC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088375DC:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_088375EC;
}
goto L_088375E4;
}
L_088375E4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(336)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(328), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_088375EC;
L_088375EC:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(328)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((!(std::isnan(aot_fpr_12) || std::isnan(ctx.fpr[28])) && aot_fpr_12 == ctx.fpr[28])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_088376B8;
}
goto L_08837600;
}
L_08837600:
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(-29700), 0u);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(328)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[26];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(328), std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.gpr[17] = (0u | 0u);
aot_gpr_4 = (16416u << 16u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_18 = (aot_gpr_29 + static_cast<std::uint32_t>(368));
ctx.gpr[19] = (aot_gpr_29 + static_cast<std::uint32_t>(352));
ctx.gpr[20] = (aot_gpr_29 + static_cast<std::uint32_t>(80));
goto L_08837628;
L_08837628:
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_31 = (0x08837638u);
ctx.fpr[24] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20) ^ 0x80000000u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837638u) goto L_08837638;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837638:
aot_fpr_12 = aot_fpr_20 - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(368)));
aot_fpr_12 = aot_fpr_13 + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(368), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_31 = (0x08837658u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837658u) goto L_08837658;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837658:
aot_fpr_12 = aot_fpr_20 - ctx.fpr[24];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[24] + aot_fpr_12;
aot_fpr_14 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(372)));
aot_fpr_12 = aot_fpr_14 + aot_fpr_12;
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(372), std::bit_cast<std::uint32_t>(aot_fpr_12));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28])};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(352), aot_run_words); }
aot_gpr_4 = (0u | 37u);
aot_gpr_5 = (aot_gpr_18 | 0u);
aot_gpr_6 = (ctx.gpr[19] | 0u);
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[28]));
ctx.gpr[8] = (ctx.gpr[20] | 0u);
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x088376A8u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 492u, 0x088376A8u, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x088376A8u) goto L_088376A8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_088376A8:
ctx.gpr[17] = (ctx.gpr[17] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[17]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08837628;
}
goto L_088376B8;
}
L_088376B8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29704)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837768;
}
goto L_088376C4;
}
L_088376C4:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7660)));
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29704)));
aot_gpr_4 = (aot_gpr_4 < aot_gpr_5 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08837768;
}
goto L_088376D8;
}
L_088376D8:
aot_gpr_4 = (ctx.gpr[21] + static_cast<std::uint32_t>(48));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.gpr[16] = (aot_gpr_29 + static_cast<std::uint32_t>(384));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(400), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
{ std::uint32_t aot_run_words[3]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(384), aot_run_words);
aot_fpr_12 = std::bit_cast<float>(aot_run_words[0]);
aot_fpr_13 = std::bit_cast<float>(aot_run_words[1]);
aot_fpr_14 = std::bit_cast<float>(aot_run_words[2]);
}
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(400));
aot_gpr_31 = (0x08837704u);
aot_gpr_5 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0189.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 496u, 0x08837704u, 0x08AF8668u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0189_entry(rt, ctx, 115u, aot_mem);
#else
recomp_unit_0189_entry(rt, ctx, 115u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0189_entry, 189u, 115u, 0x08AF8668u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837704u) goto L_08837704;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837704:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08837714;
}
goto L_0883770C;
}
L_0883770C:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(400)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(392), std::bit_cast<std::uint32_t>(aot_fpr_12));
goto L_08837714;
L_08837714:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(392)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < ctx.fpr[28])) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08837768;
}
goto L_08837728;
}
L_08837728:
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(-29704), 0u);
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(392)));
aot_fpr_12 = aot_fpr_12 + ctx.fpr[22];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(392), std::bit_cast<std::uint32_t>(aot_fpr_12));
{ const std::uint32_t aot_run_words[3]{std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[28])};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(416), aot_run_words); }
aot_gpr_6 = (aot_gpr_29 + static_cast<std::uint32_t>(416));
aot_gpr_4 = (16592u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(80));
aot_gpr_4 = (0u | 9u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
ctx.gpr[7] = (0u | 2500u);
aot_gpr_31 = (0x08837768u);
ctx.gpr[9] = (0u | 1u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0079.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 500u, 0x08837768u, 0x089421CCu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0079_entry(rt, ctx, 352u, aot_mem);
#else
recomp_unit_0079_entry(rt, ctx, 352u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0079_entry, 79u, 352u, 0x089421CCu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837768u) goto L_08837768;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837768:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08837B30;
}
goto L_08837770;
}
L_08837770:
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_5 + static_cast<std::uint32_t>(619))))));
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-33));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_6);
aot_mem.aot_direct_store8(aot_gpr_5 + static_cast<std::uint32_t>(619), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(236)));
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-257));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_6);
aot_mem.aot_direct_store32(aot_gpr_5 + static_cast<std::uint32_t>(236), aot_gpr_4);
aot_gpr_4 = (0u | 0u);
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(852)));
ctx.gpr[7] = (0u | 4u);
ctx.gpr[8] = (ctx.gpr[28] + static_cast<std::uint32_t>(7768));
{ const bool branch_taken = aot_gpr_6 != ctx.gpr[7];
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(984), ctx.gpr[8]);
if (branch_taken) {
goto L_088377D0;
}
goto L_088377AC;
}
L_088377AC:
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_5 + static_cast<std::uint32_t>(352)));
aot_gpr_6 = (aot_mem.aot_direct_load32(aot_gpr_6 + static_cast<std::uint32_t>(204)));
ctx.gpr[7] = (8u << 16u);
aot_gpr_6 = (aot_gpr_6 & ctx.gpr[7]);
aot_gpr_6 = (0u < aot_gpr_6 ? 1u : 0u);
aot_gpr_6 = (aot_gpr_6 & 255u);
{ const bool branch_taken = aot_gpr_6 == 0u;
aot_gpr_4 = (aot_gpr_4 & 255u);
if (branch_taken) {
goto L_088377D4;
}
goto L_088377CC;
}
L_088377CC:
aot_gpr_4 = (0u | 1u);
goto L_088377D0;
L_088377D0:
aot_gpr_4 = (aot_gpr_4 & 255u);
goto L_088377D4;
L_088377D4:
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_088377EC;
}
goto L_088377DC;
}
L_088377DC:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(aot_gpr_5 + static_cast<std::uint32_t>(617))))));
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_6);
aot_mem.aot_direct_store8(aot_gpr_5 + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
goto L_088377EC;
L_088377EC:
aot_gpr_4 = (0u | 155u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(432), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(433), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 185u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(434), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 196u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(435), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 255u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(436), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(437), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(438), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(439), static_cast<std::uint8_t>(aot_gpr_4));
ctx.gpr[23] = (0u | 0u);
aot_gpr_4 = (aot_gpr_5 + static_cast<std::uint32_t>(32));
ctx.gpr[20] = (aot_gpr_29 + static_cast<std::uint32_t>(528));
ctx.gpr[30] = (aot_gpr_5 + static_cast<std::uint32_t>(48));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(980), aot_gpr_4);
ctx.gpr[19] = (aot_gpr_29 + static_cast<std::uint32_t>(464));
aot_gpr_18 = (aot_gpr_29 + static_cast<std::uint32_t>(448));
aot_gpr_4 = (16153u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
ctx.fpr[26] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15948u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
ctx.fpr[24] = std::bit_cast<float>(aot_gpr_4);
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(592));
ctx.gpr[16] = (aot_gpr_29 + static_cast<std::uint32_t>(576));
aot_gpr_4 = (17658u << 16u);
ctx.fpr[30] = std::bit_cast<float>(aot_gpr_4);
ctx.gpr[22] = (aot_gpr_5 | 0u);
ctx.gpr[21] = (aot_gpr_5 + static_cast<std::uint32_t>(1392));
goto L_08837868;
L_08837868:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[22] + static_cast<std::uint32_t>(1520)));
aot_fpr_13 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(-29904)));
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 < aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
if (branch_taken) {
goto L_08837B1C;
}
goto L_08837880;
}
L_08837880:
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[21] + static_cast<std::uint32_t>(30)));
aot_gpr_6 = (0u | 19u);
{ const bool branch_taken = aot_gpr_4 != aot_gpr_6;
if (branch_taken) {
goto L_08837B1C;
}
goto L_08837890;
}
L_08837890:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(0)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(512), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(4)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(516), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[21] + static_cast<std::uint32_t>(8)));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(520), std::bit_cast<std::uint32_t>(aot_fpr_12));
aot_gpr_4 = (16025u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(980)));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[20] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(512));
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[20] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 0u>();
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(496));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[30] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 1u>();
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(480));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[19] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (aot_gpr_5 | 0u);
aot_gpr_5 = (ctx.gpr[20] | 0u);
aot_gpr_31 = (0x08837910u);
aot_gpr_6 = (ctx.gpr[19] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 511u, 0x08837910u, 0x08830C0Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 158u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 158u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 158u, 0x08830C0Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837910u) goto L_08837910;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837910:
{ const std::uint32_t vfpu_address = ctx.gpr[20] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(456), std::bit_cast<std::uint32_t>(ctx.fpr[28]));
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vdot_ct<28u, 0u, 0u, 3u>();
aot_gpr_4 = (ctx.vfpu_scalar_bits_ct<28u>());
ctx.fpr[22] = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (15139u << 16u);
aot_gpr_4 = (aot_gpr_4 | 55051u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] <= aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08837B1C;
}
goto L_08837948;
}
L_08837948:
ctx.fpr[22] = std::sqrt(ctx.fpr[22]);
aot_gpr_4 = (15897u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[22] < aot_fpr_12)) ? 0x00800000u : 0u);
{ const bool branch_taken = !((ctx.fcr31 & 0x00800000u) != 0u);
aot_gpr_4 = (16192u << 16u);
if (branch_taken) {
goto L_08837978;
}
goto L_08837968;
}
L_08837968:
aot_gpr_4 = (16000u << 16u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
{ const bool branch_taken = 0u == 0u;
{ const float fs = ctx.fpr[22]; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
if (branch_taken) {
goto L_08837980;
}
goto L_08837978;
}
L_08837978:
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
{ const float fs = ctx.fpr[22]; const float ft = aot_fpr_20; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_20 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_20 = fs * ft; }
goto L_08837980;
L_08837980:
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_20 <= ctx.fpr[26])) ? 0x00800000u : 0u);
if (((ctx.fcr31 & 0x00800000u) != 0u)) {
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(988), ctx.gpr[20]);
goto L_08837998;
}
goto L_08837990;
L_08837990:
aot_fpr_20 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(988), ctx.gpr[20]);
goto L_08837998;
L_08837998:
aot_gpr_4 = (std::bit_cast<std::uint32_t>(ctx.fpr[24]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(560));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_5 = (std::bit_cast<std::uint32_t>(ctx.fpr[24]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_5);
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
{ const std::uint32_t vfpu_address = aot_gpr_5 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_5 = (std::bit_cast<std::uint32_t>(ctx.fpr[22]));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_5);
{ const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 0u>();
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(544));
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = aot_gpr_4 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
{ const std::uint32_t vfpu_address = ctx.gpr[19] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[30] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 0u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (48896u << 16u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_31 = (0x08837A2Cu);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837A2Cu) goto L_08837A2C;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837A2C:
aot_gpr_4 = (16672u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_12 = aot_fpr_13 - ctx.fpr[28];
{ const float fs = aot_fpr_12; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_fpr_12 = ctx.fpr[28] + aot_fpr_12;
aot_fpr_12 = std::bit_cast<float>(ctx.fpu_float_to_word_ct<1u>(aot_fpr_12));
aot_gpr_31 = (0x08837A4Cu);
ctx.gpr[20] = (std::bit_cast<std::uint32_t>(aot_fpr_12));
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08B20998, 199u, 113u, 0x08B20998u>(ctx, &aot_mem, ctx.pc, ctx.hi, ctx.lo, ctx.gpr[2], aot_gpr_4, aot_gpr_5, aot_gpr_6, ctx.gpr[7], ctx.gpr[28], aot_gpr_29, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0199_entry, 199u, 113u, 0x08B20998u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837A4Cu) goto L_08837A4C;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837A4C:
aot_gpr_4 = (17076u << 16u);
aot_fpr_14 = std::bit_cast<float>(aot_gpr_4);
aot_fpr_13 = aot_fpr_14 - ctx.fpr[28];
{ const float fs = aot_fpr_13; const float ft = ctx.fpr[0]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_13 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_13 = fs * ft; }
aot_fpr_13 = ctx.fpr[28] + aot_fpr_13;
aot_fpr_13 = std::bit_cast<float>(ctx.fpu_float_to_word_ct<1u>(aot_fpr_13));
ctx.gpr[10] = (std::bit_cast<std::uint32_t>(aot_fpr_13));
aot_gpr_4 = (0u | 50u);
aot_gpr_5 = (ctx.gpr[17] | 0u);
aot_gpr_6 = (ctx.gpr[16] | 0u);
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(432));
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (ctx.gpr[20] | 0u);
ctx.gpr[11] = (0u | 1u);
aot_gpr_31 = (0x08837A90u);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 520u, 0x08837A90u, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837A90u) goto L_08837A90;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837A90:
{ const std::uint32_t vfpu_address = ctx.gpr[19] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
{ const std::uint32_t vfpu_address = ctx.gpr[30] + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<1u, 4u>(vfpu_value); }
ctx.execute_vfpu_vec3_ct<0u, 0u, 1u, 3u, 0u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[17] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (48921u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
aot_gpr_4 = (std::bit_cast<std::uint32_t>(aot_fpr_12));
ctx.set_vfpu_scalar_bits_ct<28u>(aot_gpr_4);
{ const std::uint32_t vfpu_address = aot_gpr_18 + static_cast<std::uint32_t>(0);
std::uint32_t vfpu_words[4]{};
aot_mem.aot_direct_load32_block(vfpu_address, vfpu_words);
float vfpu_value[4]{
std::bit_cast<float>(vfpu_words[0]),
std::bit_cast<float>(vfpu_words[1]),
std::bit_cast<float>(vfpu_words[2]),
std::bit_cast<float>(vfpu_words[3])};
ctx.write_vfpu_vector_ct<0u, 4u>(vfpu_value); }
ctx.execute_vfpu_vscl_ct<0u, 0u, 28u, 3u>();
{ float vfpu_value[4]{}; ctx.read_vfpu_vector_ct<0u, 4u>(vfpu_value);
const std::uint32_t vfpu_address = ctx.gpr[16] + static_cast<std::uint32_t>(0);
const std::uint32_t vfpu_words[4]{std::bit_cast<std::uint32_t>(vfpu_value[0]), std::bit_cast<std::uint32_t>(vfpu_value[1]), std::bit_cast<std::uint32_t>(vfpu_value[2]), std::bit_cast<std::uint32_t>(vfpu_value[3])};
aot_mem.aot_direct_store32_block(vfpu_address, vfpu_words); }
aot_gpr_4 = (0u | 66u);
aot_gpr_5 = (ctx.gpr[17] | 0u);
aot_gpr_6 = (ctx.gpr[16] | 0u);
ctx.gpr[8] = (aot_gpr_29 + static_cast<std::uint32_t>(436));
ctx.gpr[7] = (0u | 0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(aot_fpr_20));
ctx.gpr[9] = (0u | 0u);
ctx.gpr[10] = (0u | 0u);
ctx.gpr[11] = (0u | 0u);
aot_gpr_31 = (0x08837AECu);
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(0), 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0063.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 521u, 0x08837AECu, 0x0890043Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0063_entry(rt, ctx, 90u, aot_mem);
#else
recomp_unit_0063_entry(rt, ctx, 90u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0063_entry, 63u, 90u, 0x0890043Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837AECu) goto L_08837AEC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837AEC:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(7764)));
aot_gpr_4 = (aot_gpr_4 & 15u);
{ const bool branch_taken = aot_gpr_4 != 0u;
ctx.gpr[20] = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(988)));
if (branch_taken) {
goto L_08837B1C;
}
goto L_08837AFC;
}
L_08837AFC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(976)));
aot_gpr_5 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(96)));
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(984)));
{ const float fs = ctx.fpr[22]; const float ft = ctx.fpr[30]; if ((std::isinf(fs) && ft == 0.0f) || (std::isinf(ft) && fs == 0.0f)) aot_fpr_12 = std::bit_cast<float>(0x7FC00000u); else aot_fpr_12 = fs * ft; }
aot_gpr_6 = (16256u << 16u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_6);
aot_gpr_31 = (0x08837B1Cu);
aot_gpr_6 = (0u | 24u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0128.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 523u, 0x08837B1Cu, 0x08A05F80u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0128_entry(rt, ctx, 503u, aot_mem);
#else
recomp_unit_0128_entry(rt, ctx, 503u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0128_entry, 128u, 503u, 0x08A05F80u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837B1Cu) goto L_08837B1C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837B1C:
ctx.gpr[23] = (ctx.gpr[23] + static_cast<std::uint32_t>(1));
ctx.gpr[22] = (ctx.gpr[22] + static_cast<std::uint32_t>(4));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[23]) < 4 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
ctx.gpr[21] = (ctx.gpr[21] + static_cast<std::uint32_t>(32));
if (branch_taken) {
goto L_08837868;
}
goto L_08837B30;
}
L_08837B30:
{ std::uint32_t aot_run_words[16]{};
aot_mem.aot_direct_load32_block(aot_gpr_29 + static_cast<std::uint32_t>(992), aot_run_words);
aot_fpr_20 = std::bit_cast<float>(aot_run_words[0]);
ctx.fpr[22] = std::bit_cast<float>(aot_run_words[1]);
ctx.fpr[24] = std::bit_cast<float>(aot_run_words[2]);
ctx.fpr[26] = std::bit_cast<float>(aot_run_words[3]);
ctx.fpr[28] = std::bit_cast<float>(aot_run_words[4]);
ctx.fpr[30] = std::bit_cast<float>(aot_run_words[5]);
ctx.gpr[16] = aot_run_words[6];
ctx.gpr[17] = aot_run_words[7];
aot_gpr_18 = aot_run_words[8];
ctx.gpr[19] = aot_run_words[9];
ctx.gpr[20] = aot_run_words[10];
ctx.gpr[21] = aot_run_words[11];
ctx.gpr[22] = aot_run_words[12];
ctx.gpr[23] = aot_run_words[13];
ctx.gpr[30] = aot_run_words[14];
aot_gpr_31 = aot_run_words[15];
}
jump_target = aot_gpr_31;
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(1056));
// PSPRECOMP_V813_JR_FAST_EXIT: preserve the exact 256-transfer boundary; common JR path is shared.
if (++local_transfers < 256u) goto LOCAL_JR_DISPATCH;
// PSPRECOMP_V812_SHARED_SCHED_JUMP
goto LOCAL_SCHED_BOUNDARY;
L_08837B78:
aot_gpr_29 = (aot_gpr_29 + static_cast<std::uint32_t>(-1920));
{ const std::uint32_t aot_run_words[16]{std::bit_cast<std::uint32_t>(aot_fpr_20), std::bit_cast<std::uint32_t>(ctx.fpr[22]), std::bit_cast<std::uint32_t>(ctx.fpr[24]), std::bit_cast<std::uint32_t>(ctx.fpr[26]), std::bit_cast<std::uint32_t>(ctx.fpr[28]), std::bit_cast<std::uint32_t>(ctx.fpr[30]), ctx.gpr[16], ctx.gpr[17], aot_gpr_18, ctx.gpr[19], ctx.gpr[20], ctx.gpr[21], ctx.gpr[22], ctx.gpr[23], ctx.gpr[30], aot_gpr_31};
aot_mem.aot_direct_store32_block(aot_gpr_29 + static_cast<std::uint32_t>(1856), aot_run_words); }
aot_gpr_5 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(-7080)));
aot_gpr_6 = (2236u << 16u);
aot_gpr_6 = (aot_gpr_6 + static_cast<std::uint32_t>(32304));
ctx.fpr[26] = std::bit_cast<float>(0u);
ctx.gpr[20] = (aot_gpr_4 + static_cast<std::uint32_t>(384));
aot_mem.aot_direct_store32(aot_gpr_29 + static_cast<std::uint32_t>(1792), aot_gpr_6);
ctx.gpr[21] = (0u | 4u);
{ const bool branch_taken = aot_gpr_5 == 0u;
ctx.gpr[30] = (aot_gpr_4 | 0u);
if (branch_taken) {
goto L_08837C2C;
}
goto L_08837BE0;
}
L_08837BE0:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(900)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837C2C;
}
goto L_08837BEC;
}
L_08837BEC:
aot_gpr_31 = (0x08837BF4u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_0890D44C, 66u, 315u, 0x0890D44Cu>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], aot_gpr_4, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0066_entry, 66u, 315u, 0x0890D44Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837BF4u) goto L_08837BF4;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837BF4:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08837C2C;
}
goto L_08837BFC;
}
L_08837BFC:
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(4203)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837C2C;
}
goto L_08837C08;
}
L_08837C08:
aot_gpr_31 = (0x08837C10u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08960424, 87u, 0x08960424u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C10u) goto L_08837C10;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837C10:
aot_gpr_31 = (0x08837C18u);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0080.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 532u, 0x08837C18u, 0x08946B3Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0080_entry(rt, ctx, 519u, aot_mem);
#else
recomp_unit_0080_entry(rt, ctx, 519u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0080_entry, 80u, 519u, 0x08946B3Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C18u) goto L_08837C18;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837C18:
aot_gpr_4 = (ctx.gpr[2] | 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837C2C;
}
goto L_08837C24;
}
L_08837C24:
aot_gpr_31 = (0x08837C2Cu);
aot_gpr_5 = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0097.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 534u, 0x08837C2Cu, 0x0898BA34u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0097_entry(rt, ctx, 941u, aot_mem);
#else
recomp_unit_0097_entry(rt, ctx, 941u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0097_entry, 97u, 941u, 0x0898BA34u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C2Cu) goto L_08837C2C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837C2C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(900)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837C40;
}
goto L_08837C38;
}
L_08837C38:
aot_gpr_31 = (0x08837C40u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0067.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 536u, 0x08837C40u, 0x08912A70u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0067_entry(rt, ctx, 672u, aot_mem);
#else
recomp_unit_0067_entry(rt, ctx, 672u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0067_entry, 67u, 672u, 0x08912A70u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C40u) goto L_08837C40;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837C40:
ctx.gpr[16] = (0u | 0u);
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(565)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[16]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837C90;
}
goto L_08837C54;
}
L_08837C54:
aot_gpr_4 = (ctx.gpr[30] | 0u);
aot_gpr_31 = (0x08837C60u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08AFEF7C, 190u, 0x08AFEF7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C60u) goto L_08837C60;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837C60:
{ const bool branch_taken = ctx.gpr[2] == 0u;
if (branch_taken) {
goto L_08837C7C;
}
goto L_08837C68;
}
L_08837C68:
aot_gpr_4 = (ctx.gpr[30] | 0u);
aot_gpr_31 = (0x08837C74u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08AFEF7C, 190u, 0x08AFEF7Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C74u) goto L_08837C74;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837C74:
aot_gpr_31 = (0x08837C7Cu);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0067.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 541u, 0x08837C7Cu, 0x08912A70u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0067_entry(rt, ctx, 672u, aot_mem);
#else
recomp_unit_0067_entry(rt, ctx, 672u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0067_entry, 67u, 672u, 0x08912A70u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C7Cu) goto L_08837C7C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837C7C:
ctx.gpr[16] = (ctx.gpr[16] + static_cast<std::uint32_t>(1));
aot_gpr_4 = (aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(565)));
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[16]) < static_cast<std::int32_t>(aot_gpr_4) ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
goto L_08837C54;
}
goto L_08837C90;
}
L_08837C90:
aot_gpr_31 = (0x08837C98u);
aot_gpr_4 = (ctx.gpr[30] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0191.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 543u, 0x08837C98u, 0x08B020D0u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0191_entry(rt, ctx, 546u, aot_mem);
#else
recomp_unit_0191_entry(rt, ctx, 546u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0191_entry, 191u, 546u, 0x08B020D0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837C98u) goto L_08837C98;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837C98:
ctx.gpr[19] = (ctx.gpr[2] | 0u);
ctx.gpr[16] = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(864)));
{ const bool branch_taken = ctx.gpr[16] == 0u;
if (branch_taken) {
goto L_08837CD4;
}
goto L_08837CA8;
}
L_08837CA8:
ctx.gpr[17] = (aot_gpr_29 + static_cast<std::uint32_t>(320));
aot_gpr_6 = (ctx.gpr[30] + static_cast<std::uint32_t>(880));
aot_gpr_4 = (ctx.gpr[17] | 0u);
aot_gpr_31 = (0x08837CBCu);
aot_gpr_5 = (ctx.gpr[30] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 545u, 0x08837CBCu, 0x08830288u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 39u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 39u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 39u, 0x08830288u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837CBCu) goto L_08837CBC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837CBC:
aot_gpr_4 = (ctx.gpr[30] | 0u);
aot_gpr_5 = (ctx.gpr[16] | 0u);
aot_gpr_6 = (ctx.gpr[17] | 0u);
ctx.gpr[7] = (ctx.gpr[30] | 0u);
aot_gpr_31 = (0x08837CD4u);
ctx.gpr[8] = (0u | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0078.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 546u, 0x08837CD4u, 0x0893FA88u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0078_entry(rt, ctx, 828u, aot_mem);
#else
recomp_unit_0078_entry(rt, ctx, 828u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0078_entry, 78u, 828u, 0x0893FA88u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837CD4u) goto L_08837CD4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837CD4:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(368)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837CE8;
}
goto L_08837CE0;
}
L_08837CE0:
aot_gpr_31 = (0x08837CE8u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0129.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 548u, 0x08837CE8u, 0x08A0BA78u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0129_entry(rt, ctx, 595u, aot_mem);
#else
recomp_unit_0129_entry(rt, ctx, 595u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0129_entry, 129u, 595u, 0x08A0BA78u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837CE8u) goto L_08837CE8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837CE8:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(372)));
if (aot_gpr_4 == 0u) {
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(1792)));
goto L_08837D00;
}
goto L_08837CF4;
L_08837CF4:
aot_gpr_31 = (0x08837CFCu);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0129.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 550u, 0x08837CFCu, 0x08A0BA78u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0129_entry(rt, ctx, 595u, aot_mem);
#else
recomp_unit_0129_entry(rt, ctx, 595u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0129_entry, 129u, 595u, 0x08A0BA78u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837CFCu) goto L_08837CFC;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837CFC:
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_29 + static_cast<std::uint32_t>(1792)));
goto L_08837D00;
L_08837D00:
aot_gpr_4 = (aot_mem.aot_direct_load8(aot_gpr_4 + static_cast<std::uint32_t>(2052)));
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837D5C;
}
goto L_08837D0C;
}
L_08837D0C:
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(613))))));
aot_gpr_5 = (aot_gpr_4 & 2u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08837D38;
}
goto L_08837D1C;
}
L_08837D1C:
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-3));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(613), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(5452)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(-1));
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(5452), aot_gpr_4);
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(613))))));
goto L_08837D38;
L_08837D38:
aot_gpr_5 = (aot_gpr_4 & 4u);
{ const bool branch_taken = aot_gpr_5 == 0u;
if (branch_taken) {
goto L_08837D5C;
}
goto L_08837D44;
}
L_08837D44:
aot_gpr_5 = (0u + static_cast<std::uint32_t>(-5));
aot_gpr_4 = (aot_gpr_4 & aot_gpr_5);
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(613), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(5456)));
aot_gpr_4 = (aot_gpr_4 + static_cast<std::uint32_t>(-1));
aot_mem.aot_direct_store32(ctx.gpr[28] + static_cast<std::uint32_t>(5456), aot_gpr_4);
goto L_08837D5C;
L_08837D5C:
ctx.gpr[8] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(698))))));
ctx.gpr[7] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(615))))));
aot_gpr_4 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(614))))));
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(1654))))));
{ const bool branch_taken = static_cast<std::int32_t>(ctx.gpr[8]) < 0;
aot_gpr_6 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(617))))));
if (branch_taken) {
goto L_08837D98;
}
goto L_08837D74;
}
L_08837D74:
ctx.gpr[8] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int8_t>(aot_mem.aot_direct_load8(ctx.gpr[30] + static_cast<std::uint32_t>(699))))));
ctx.gpr[8] = (ctx.gpr[8] + static_cast<std::uint32_t>(-1));
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(699), static_cast<std::uint8_t>(ctx.gpr[8]));
ctx.gpr[8] = (ctx.gpr[8] << 24u);
ctx.gpr[8] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(ctx.gpr[8]) >> 24u));
{ const bool branch_taken = ctx.gpr[8] != 0u;
if (branch_taken) {
goto L_08837D98;
}
goto L_08837D90;
}
L_08837D90:
ctx.gpr[8] = (0u + static_cast<std::uint32_t>(-1));
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(698), static_cast<std::uint8_t>(ctx.gpr[8]));
goto L_08837D98;
L_08837D98:
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(1872), static_cast<std::uint8_t>(0u));
ctx.fpr[30] = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
ctx.gpr[7] = (ctx.gpr[7] & 128u);
{ const bool branch_taken = ctx.gpr[7] == 0u;
if (branch_taken) {
goto L_08837DD8;
}
goto L_08837DAC;
}
L_08837DAC:
ctx.gpr[7] = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(7800)));
ctx.gpr[8] = (ctx.gpr[7] << 8u);
ctx.gpr[9] = (ctx.gpr[7] + ctx.gpr[7]);
ctx.gpr[7] = (ctx.gpr[7] + ctx.gpr[9]);
ctx.gpr[7] = (ctx.gpr[7] << 5u);
ctx.gpr[22] = (ctx.gpr[8] + ctx.gpr[7]);
ctx.gpr[7] = (2238u << 16u);
ctx.gpr[7] = (ctx.gpr[7] + static_cast<std::uint32_t>(-6992));
ctx.gpr[7] = (ctx.gpr[7] + static_cast<std::uint32_t>(16));
{ const bool branch_taken = 0u == 0u;
ctx.gpr[22] = (ctx.gpr[22] + ctx.gpr[7]);
if (branch_taken) {
goto L_08837DF0;
}
goto L_08837DD8;
}
L_08837DD8:
ctx.gpr[7] = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[30] + static_cast<std::uint32_t>(86))))));
ctx.gpr[7] = (ctx.gpr[7] << 2u);
ctx.gpr[8] = (aot_mem.aot_direct_load32(ctx.gpr[28] + static_cast<std::uint32_t>(24)));
ctx.gpr[7] = (ctx.gpr[8] + ctx.gpr[7]);
ctx.gpr[7] = (aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(0)));
ctx.gpr[22] = (aot_mem.aot_direct_load32(ctx.gpr[7] + static_cast<std::uint32_t>(20)));
goto L_08837DF0;
L_08837DF0:
ctx.gpr[7] = (0u + static_cast<std::uint32_t>(-33));
ctx.gpr[8] = (0u | 0u);
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[7]);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(1813), static_cast<std::uint8_t>(ctx.gpr[8]));
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(614), static_cast<std::uint8_t>(aot_gpr_4));
aot_mem.aot_direct_store16(ctx.gpr[30] + static_cast<std::uint32_t>(1660), static_cast<std::uint16_t>(0u));
aot_gpr_4 = (0u + static_cast<std::uint32_t>(-2));
aot_gpr_4 = (aot_gpr_5 & aot_gpr_4);
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(1654), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (aot_gpr_6 & ctx.gpr[7]);
aot_mem.aot_direct_store8(ctx.gpr[30] + static_cast<std::uint32_t>(617), static_cast<std::uint8_t>(aot_gpr_4));
aot_gpr_4 = (0u | 0u);
aot_gpr_5 = (aot_mem.aot_direct_load8(ctx.gpr[28] + static_cast<std::uint32_t>(1781)));
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(1816), static_cast<std::uint8_t>(aot_gpr_4));
{ const bool branch_taken = aot_gpr_5 == 0u;
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(352)));
if (branch_taken) {
goto L_08837E70;
}
goto L_08837E30;
}
L_08837E30:
aot_gpr_5 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(72)));
aot_gpr_5 = (aot_gpr_5 & 496u);
{ const bool branch_taken = aot_gpr_5 != 0u;
if (branch_taken) {
goto L_08837E70;
}
goto L_08837E40;
}
L_08837E40:
aot_gpr_5 = (static_cast<std::uint32_t>(static_cast<std::int32_t>(static_cast<std::int16_t>(aot_mem.aot_direct_load16(ctx.gpr[30] + static_cast<std::uint32_t>(86))))));
aot_gpr_6 = (0u | 226u);
{ const bool branch_taken = aot_gpr_5 == aot_gpr_6;
aot_gpr_6 = (0u | 183u);
if (branch_taken) {
goto L_08837E68;
}
goto L_08837E50;
}
L_08837E50:
{ const bool branch_taken = aot_gpr_5 == aot_gpr_6;
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-959));
if (branch_taken) {
goto L_08837E68;
}
goto L_08837E58;
}
L_08837E58:
{ const bool branch_taken = aot_gpr_5 == aot_gpr_6;
aot_gpr_6 = (0u + static_cast<std::uint32_t>(-937));
if (branch_taken) {
goto L_08837E68;
}
goto L_08837E60;
}
L_08837E60:
{ const bool branch_taken = aot_gpr_5 != aot_gpr_6;
if (branch_taken) {
goto L_08837E70;
}
goto L_08837E68;
}
L_08837E68:
aot_gpr_5 = (0u | 1u);
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(1816), static_cast<std::uint8_t>(aot_gpr_5));
goto L_08837E70;
L_08837E70:
ctx.gpr[23] = (512u << 16u);
aot_gpr_4 = (aot_mem.aot_direct_load32(aot_gpr_4 + static_cast<std::uint32_t>(208)));
aot_gpr_4 = (aot_gpr_4 & ctx.gpr[23]);
aot_gpr_4 = (0u < aot_gpr_4 ? 1u : 0u);
aot_gpr_4 = (aot_gpr_4 & 255u);
{ const bool branch_taken = aot_gpr_4 == 0u;
if (branch_taken) {
goto L_08837F20;
}
goto L_08837E8C;
}
L_08837E8C:
aot_gpr_4 = (aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(72)));
aot_gpr_4 = (aot_gpr_4 & 496u);
{ const bool branch_taken = aot_gpr_4 == 0u;
aot_gpr_5 = (0u | 48u);
if (branch_taken) {
goto L_08837EA4;
}
goto L_08837E9C;
}
L_08837E9C:
{ const bool branch_taken = aot_gpr_4 != aot_gpr_5;
if (branch_taken) {
goto L_08837EE8;
}
goto L_08837EA4;
}
L_08837EA4:
aot_fpr_12 = std::bit_cast<float>(aot_mem.aot_direct_load32(ctx.gpr[30] + static_cast<std::uint32_t>(1640)));
aot_gpr_4 = (15769u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_13 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((aot_fpr_12 <= aot_fpr_13)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
goto L_08837EE8;
}
goto L_08837EC4;
}
L_08837EC4:
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(336));
aot_gpr_31 = (0x08837ED0u);
aot_gpr_5 = (ctx.gpr[30] + static_cast<std::uint32_t>(48));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 574u, 0x08837ED0u, 0x08830460u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 63u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 63u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 63u, 0x08830460u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837ED0u) goto L_08837ED0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837ED0:
aot_gpr_4 = (ctx.gpr[2] | 0u);
aot_gpr_5 = (0u | 1u);
aot_gpr_31 = (0x08837EE0u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0118.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 575u, 0x08837EE0u, 0x089DD3C4u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0118_entry(rt, ctx, 193u, aot_mem);
#else
recomp_unit_0118_entry(rt, ctx, 193u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0118_entry, 118u, 193u, 0x089DD3C4u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837EE0u) goto L_08837EE0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837EE0:
{ const bool branch_taken = 0u == 0u;
if (branch_taken) {
goto L_08837F20;
}
goto L_08837EE8;
}
L_08837EE8:
aot_gpr_31 = (0x08837EF0u);
aot_gpr_4 = (ctx.gpr[30] | 0u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_08830934, 11u, 128u, 0x08830934u>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], aot_gpr_4, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0011_entry, 11u, 128u, 0x08830934u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837EF0u) goto L_08837EF0;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837EF0:
aot_gpr_4 = (0u | 2u);
{ const bool branch_taken = ctx.gpr[2] != aot_gpr_4;
if (branch_taken) {
goto L_08837F20;
}
goto L_08837EFC;
}
L_08837EFC:
aot_gpr_31 = (0x08837F04u);
aot_gpr_4 = (ctx.gpr[30] | 0u);
if (([&]() { /*PSPRECOMP_RESIDENT_SCHED_SAFE*/ if (rt.resident_generated_leaf_fast_allowed()) return rt.invoke_resident_generated_leaf<&vcs_resident_region_088307E0, 11u, 108u, 0x088307E0u>(ctx, &aot_mem, ctx.pc, ctx.gpr[2], aot_gpr_4, aot_gpr_31); AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_resident_scheduler_fallback<&recomp_unit_0011_entry, 11u, 108u, 0x088307E0u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F04u) goto L_08837F04;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837F04:
aot_gpr_4 = (aot_gpr_29 + static_cast<std::uint32_t>(352));
aot_gpr_31 = (0x08837F10u);
aot_gpr_5 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 580u, 0x08837F10u, 0x08830460u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 63u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 63u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 63u, 0x08830460u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F10u) goto L_08837F10;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F10:
aot_gpr_4 = (ctx.gpr[2] | 0u);
aot_gpr_5 = (0u | 1u);
aot_gpr_31 = (0x08837F20u);
aot_fpr_12 = std::bit_cast<float>(std::bit_cast<std::uint32_t>(ctx.fpr[26]));
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0118.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 581u, 0x08837F20u, 0x089DD3C4u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0118_entry(rt, ctx, 193u, aot_mem);
#else
recomp_unit_0118_entry(rt, ctx, 193u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0118_entry, 118u, 193u, 0x089DD3C4u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F20u) goto L_08837F20;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F20:
ctx.gpr[16] = (0u | 0u);
aot_gpr_18 = (0u | 0u);
aot_gpr_31 = (0x08837F30u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0087.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 582u, 0x08837F30u, 0x089602C8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0087_entry(rt, ctx, 28u, aot_mem);
#else
recomp_unit_0087_entry(rt, ctx, 28u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0087_entry, 87u, 28u, 0x089602C8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F30u) goto L_08837F30;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F30:
{ const bool branch_taken = ctx.gpr[2] == 0u;
aot_mem.aot_direct_store8(aot_gpr_29 + static_cast<std::uint32_t>(1815), static_cast<std::uint8_t>(ctx.gpr[16]));
if (branch_taken) {
(void)([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0013_entry, 13u, 13u, 0x08838094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()); AOT_REGCACHE_SYNC_OUT(); return;
}
goto L_08837F38;
}
L_08837F38:
aot_gpr_31 = (0x08837F40u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0087.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 584u, 0x08837F40u, 0x089602C8u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0087_entry(rt, ctx, 28u, aot_mem);
#else
recomp_unit_0087_entry(rt, ctx, 28u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0087_entry, 87u, 28u, 0x089602C8u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F40u) goto L_08837F40;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F40:
{ const bool branch_taken = ctx.gpr[30] == ctx.gpr[2];
if (branch_taken) {
(void)([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0013_entry, 13u, 13u, 0x08838094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()); AOT_REGCACHE_SYNC_OUT(); return;
}
goto L_08837F48;
}
L_08837F48:
aot_gpr_31 = (0x08837F50u);
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_compact_generated_leaf<&vcs_compact_leaf_08960424, 87u, 0x08960424u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F50u) goto L_08837F50;
AOT_REGCACHE_SYNC_OUT(); return;
L_08837F50:
aot_gpr_31 = (0x08837F58u);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 587u, 0x08837F58u, 0x08833F54u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 857u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 857u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 857u, 0x08833F54u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F58u) goto L_08837F58;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F58:
aot_gpr_4 = (static_cast<std::int32_t>(ctx.gpr[2]) < 3 ? 1u : 0u);
{ const bool branch_taken = aot_gpr_4 != 0u;
if (branch_taken) {
(void)([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0013_entry, 13u, 13u, 0x08838094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()); AOT_REGCACHE_SYNC_OUT(); return;
}
goto L_08837F64;
}
L_08837F64:
aot_gpr_31 = (0x08837F6Cu);
aot_gpr_4 = (ctx.gpr[20] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 589u, 0x08837F6Cu, 0x08830D4Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 178u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 178u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 178u, 0x08830D4Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F6Cu) goto L_08837F6C;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F6C:
aot_gpr_4 = (0u | 2u);
{ const bool branch_taken = ctx.gpr[2] == aot_gpr_4;
if (branch_taken) {
goto L_08837FB0;
}
goto L_08837F78;
}
L_08837F78:
aot_gpr_31 = (0x08837F80u);
aot_gpr_4 = (ctx.gpr[20] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 591u, 0x08837F80u, 0x08830D4Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 178u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 178u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 178u, 0x08830D4Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F80u) goto L_08837F80;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F80:
{ const bool branch_taken = ctx.gpr[2] == ctx.gpr[21];
if (branch_taken) {
goto L_08837FB0;
}
goto L_08837F88;
}
L_08837F88:
aot_gpr_31 = (0x08837F90u);
aot_gpr_4 = (ctx.gpr[20] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 593u, 0x08837F90u, 0x08830D4Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 178u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 178u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 178u, 0x08830D4Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837F90u) goto L_08837F90;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837F90:
aot_gpr_4 = (0u | 3u);
{ const bool branch_taken = ctx.gpr[2] == aot_gpr_4;
if (branch_taken) {
goto L_08837FB0;
}
goto L_08837F9C;
}
L_08837F9C:
aot_gpr_31 = (0x08837FA4u);
aot_gpr_4 = (ctx.gpr[20] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 595u, 0x08837FA4u, 0x08830D4Cu)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 178u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 178u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 178u, 0x08830D4Cu>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837FA4u) goto L_08837FA4;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837FA4:
aot_gpr_4 = (0u | 5u);
{ const bool branch_taken = ctx.gpr[2] != aot_gpr_4;
if (branch_taken) {
(void)([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0013_entry, 13u, 13u, 0x08838094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()); AOT_REGCACHE_SYNC_OUT(); return;
}
goto L_08837FB0;
}
L_08837FB0:
aot_gpr_31 = (0x08837FB8u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0087.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 597u, 0x08837FB8u, 0x08960240u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0087_entry(rt, ctx, 22u, aot_mem);
#else
recomp_unit_0087_entry(rt, ctx, 22u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0087_entry, 87u, 22u, 0x08960240u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837FB8u) goto L_08837FB8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837FB8:
aot_gpr_31 = (0x08837FC0u);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 598u, 0x08837FC0u, 0x08830634u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 82u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 82u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 82u, 0x08830634u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837FC0u) goto L_08837FC0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837FC0:
aot_gpr_4 = (16025u << 16u);
aot_gpr_4 = (aot_gpr_4 | 39322u);
aot_fpr_20 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[0] <= aot_fpr_20)) ? 0x00800000u : 0u);
{ const bool branch_taken = ((ctx.fcr31 & 0x00800000u) != 0u);
if (branch_taken) {
(void)([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0013_entry, 13u, 13u, 0x08838094u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()); AOT_REGCACHE_SYNC_OUT(); return;
}
goto L_08837FDC;
}
L_08837FDC:
aot_gpr_18 = (0u | 1u);
aot_gpr_31 = (0x08837FE8u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0087.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 600u, 0x08837FE8u, 0x08960240u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0087_entry(rt, ctx, 22u, aot_mem);
#else
recomp_unit_0087_entry(rt, ctx, 22u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0087_entry, 87u, 22u, 0x08960240u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837FE8u) goto L_08837FE8;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837FE8:
aot_gpr_31 = (0x08837FF0u);
aot_gpr_4 = (ctx.gpr[2] | 0u);
// PSPRECOMP_V814_LINKED_CALL: non-recursive generated call 0012->0011.
#if defined(PSPRECOMP_AOT_PRODUCTION_FASTPATHS)
AOT_REGCACHE_SYNC_OUT();
if (rt.prepare_aot_linked_call(ctx, &recomp_unit_0012_entry, 601u, 0x08837FF0u, 0x08830634u)) {
#if defined(__clang__)
[[clang::musttail]] return recomp_unit_0011_entry(rt, ctx, 82u, aot_mem);
#else
recomp_unit_0011_entry(rt, ctx, 82u, aot_mem); return;
#endif
}
return;
#else
if (([&]() { AOT_REGCACHE_SYNC_OUT(); const bool aot_regcache_same_ = (rt.invoke_chained_trusted_direct<&recomp_unit_0011_entry, 11u, 82u, 0x08830634u>(ctx, &aot_mem)); if (aot_regcache_same_) AOT_REGCACHE_SYNC_IN(); else aot_regcache_valid = false; return aot_regcache_same_; }()) && ctx.pc == 0x08837FF0u) goto L_08837FF0;
AOT_REGCACHE_SYNC_OUT(); return;
#endif
L_08837FF0:
aot_gpr_4 = (16076u << 16u);
aot_gpr_4 = (aot_gpr_4 | 52429u);
aot_fpr_12 = std::bit_cast<float>(aot_gpr_4);
ctx.fcr31 = (ctx.fcr31 & ~0x00800000u) | (((ctx.fpr[0] <= aot_fpr_12)) ? 0x00800000u : 0u);
ctx.pc = 0x08838000u; AOT_REGCACHE_SYNC_OUT(); return;
}
#undef AOT_REGCACHE_SYNC_IN
#undef AOT_REGCACHE_SYNC_OUT
void recomp_unit_0012(Runtime &rt, AllegrexContext &ctx) {
auto aot_mem = rt.memory().aot_fast_view();
recomp_unit_0012_entry(rt, ctx, 0u, aot_mem);
}
void register_generated_unit_12(Runtime &runtime) {
runtime.register_generated_unit(12u, 0x08834000u, 16384u, &recomp_unit_0012, &recomp_unit_0012_entry);
// PSPRECOMP_V812_COMPACT_REGISTRATION: same entry set, looped once in Runtime instead of source-expanded calls.
runtime.register_generated_entry_mask(0x08834000u, &recomp_unit_0012, "recomp_unit_0012",
kEntryMasks_recomp_unit_0012, 64u);
}
} // namespace psprecomp