mirror of https://github.com/zeldaret/tp.git
129 lines
6.4 KiB
ArmAsm
129 lines
6.4 KiB
ArmAsm
/* 80270178 0026D0B8 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 8027017C 0026D0BC 7C 08 02 A6 */ mflr r0
|
|
/* 80270180 0026D0C0 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80270184 0026D0C4 DB E1 00 60 */ stfd f31, 0x60(r1)
|
|
/* 80270188 0026D0C8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, 0
|
|
/* 8027018C 0026D0CC DB C1 00 50 */ stfd f30, 0x50(r1)
|
|
/* 80270190 0026D0D0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, 0
|
|
/* 80270194 0026D0D4 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
/* 80270198 0026D0D8 93 C1 00 48 */ stw r30, 0x48(r1)
|
|
/* 8027019C 0026D0DC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802701A0 0026D0E0 7C 9F 23 78 */ mr r31, r4
|
|
/* 802701A4 0026D0E4 FF C0 08 90 */ fmr f30, f1
|
|
/* 802701A8 0026D0E8 FF E0 10 90 */ fmr f31, f2
|
|
/* 802701AC 0026D0EC 4B FF 6E C1 */ bl __ne__4cXyzCFRC3Vec
|
|
/* 802701B0 0026D0F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802701B4 0026D0F4 41 82 01 74 */ beq lbl_80270328
|
|
/* 802701B8 0026D0F8 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 802701BC 0026D0FC 7F C4 F3 78 */ mr r4, r30
|
|
/* 802701C0 0026D100 7F E5 FB 78 */ mr r5, r31
|
|
/* 802701C4 0026D104 4B FF 69 71 */ bl __mi__4cXyzCFRC3Vec
|
|
/* 802701C8 0026D108 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 802701CC 0026D10C 38 81 00 24 */ addi r4, r1, 0x24
|
|
/* 802701D0 0026D110 FC 20 F0 90 */ fmr f1, f30
|
|
/* 802701D4 0026D114 4B FF 69 B1 */ bl __ml__4cXyzCFf
|
|
/* 802701D8 0026D118 C0 01 00 18 */ lfs f0, 0x18(r1)
|
|
/* 802701DC 0026D11C D0 01 00 30 */ stfs f0, 0x30(r1)
|
|
/* 802701E0 0026D120 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 802701E4 0026D124 D0 01 00 34 */ stfs f0, 0x34(r1)
|
|
/* 802701E8 0026D128 C0 01 00 20 */ lfs f0, 0x20(r1)
|
|
/* 802701EC 0026D12C D0 01 00 38 */ stfs f0, 0x38(r1)
|
|
/* 802701F0 0026D130 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 802701F4 0026D134 48 0D 6F 45 */ bl PSVECSquareMag
|
|
/* 802701F8 0026D138 C0 02 B7 E0 */ lfs f0, lbl_804551E0-_SDA2_BASE_(r2)
|
|
/* 802701FC 0026D13C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80270200 0026D140 40 81 00 58 */ ble lbl_80270258
|
|
/* 80270204 0026D144 FC 00 08 34 */ frsqrte f0, f1
|
|
/* 80270208 0026D148 C8 82 B7 E8 */ lfd f4, lbl_804551E8-_SDA2_BASE_(r2)
|
|
/* 8027020C 0026D14C FC 44 00 32 */ fmul f2, f4, f0
|
|
/* 80270210 0026D150 C8 62 B7 F0 */ lfd f3, lbl_804551F0-_SDA2_BASE_(r2)
|
|
/* 80270214 0026D154 FC 00 00 32 */ fmul f0, f0, f0
|
|
/* 80270218 0026D158 FC 01 00 32 */ fmul f0, f1, f0
|
|
/* 8027021C 0026D15C FC 03 00 28 */ fsub f0, f3, f0
|
|
/* 80270220 0026D160 FC 02 00 32 */ fmul f0, f2, f0
|
|
/* 80270224 0026D164 FC 44 00 32 */ fmul f2, f4, f0
|
|
/* 80270228 0026D168 FC 00 00 32 */ fmul f0, f0, f0
|
|
/* 8027022C 0026D16C FC 01 00 32 */ fmul f0, f1, f0
|
|
/* 80270230 0026D170 FC 03 00 28 */ fsub f0, f3, f0
|
|
/* 80270234 0026D174 FC 02 00 32 */ fmul f0, f2, f0
|
|
/* 80270238 0026D178 FC 44 00 32 */ fmul f2, f4, f0
|
|
/* 8027023C 0026D17C FC 00 00 32 */ fmul f0, f0, f0
|
|
/* 80270240 0026D180 FC 01 00 32 */ fmul f0, f1, f0
|
|
/* 80270244 0026D184 FC 03 00 28 */ fsub f0, f3, f0
|
|
/* 80270248 0026D188 FC 02 00 32 */ fmul f0, f2, f0
|
|
/* 8027024C 0026D18C FC 21 00 32 */ fmul f1, f1, f0
|
|
/* 80270250 0026D190 FC 20 08 18 */ frsp f1, f1
|
|
/* 80270254 0026D194 48 00 00 88 */ b lbl_802702DC
|
|
lbl_80270258:
|
|
/* 80270258 0026D198 C8 02 B7 F8 */ lfd f0, lbl_804551F8-_SDA2_BASE_(r2)
|
|
/* 8027025C 0026D19C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80270260 0026D1A0 40 80 00 10 */ bge lbl_80270270
|
|
/* 80270264 0026D1A4 3C 60 80 45 */ lis r3, lbl_80450AE0@ha
|
|
/* 80270268 0026D1A8 C0 23 0A E0 */ lfs f1, lbl_80450AE0@l(r3)
|
|
/* 8027026C 0026D1AC 48 00 00 70 */ b lbl_802702DC
|
|
lbl_80270270:
|
|
/* 80270270 0026D1B0 D0 21 00 08 */ stfs f1, 8(r1)
|
|
/* 80270274 0026D1B4 80 81 00 08 */ lwz r4, 8(r1)
|
|
/* 80270278 0026D1B8 54 83 00 50 */ rlwinm r3, r4, 0, 1, 8
|
|
/* 8027027C 0026D1BC 3C 00 7F 80 */ lis r0, 0x7f80
|
|
/* 80270280 0026D1C0 7C 03 00 00 */ cmpw r3, r0
|
|
/* 80270284 0026D1C4 41 82 00 14 */ beq lbl_80270298
|
|
/* 80270288 0026D1C8 40 80 00 40 */ bge lbl_802702C8
|
|
/* 8027028C 0026D1CC 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80270290 0026D1D0 41 82 00 20 */ beq lbl_802702B0
|
|
/* 80270294 0026D1D4 48 00 00 34 */ b lbl_802702C8
|
|
lbl_80270298:
|
|
/* 80270298 0026D1D8 54 80 02 7F */ clrlwi. r0, r4, 9
|
|
/* 8027029C 0026D1DC 41 82 00 0C */ beq lbl_802702A8
|
|
/* 802702A0 0026D1E0 38 00 00 01 */ li r0, 1
|
|
/* 802702A4 0026D1E4 48 00 00 28 */ b lbl_802702CC
|
|
lbl_802702A8:
|
|
/* 802702A8 0026D1E8 38 00 00 02 */ li r0, 2
|
|
/* 802702AC 0026D1EC 48 00 00 20 */ b lbl_802702CC
|
|
lbl_802702B0:
|
|
/* 802702B0 0026D1F0 54 80 02 7F */ clrlwi. r0, r4, 9
|
|
/* 802702B4 0026D1F4 41 82 00 0C */ beq lbl_802702C0
|
|
/* 802702B8 0026D1F8 38 00 00 05 */ li r0, 5
|
|
/* 802702BC 0026D1FC 48 00 00 10 */ b lbl_802702CC
|
|
lbl_802702C0:
|
|
/* 802702C0 0026D200 38 00 00 03 */ li r0, 3
|
|
/* 802702C4 0026D204 48 00 00 08 */ b lbl_802702CC
|
|
lbl_802702C8:
|
|
/* 802702C8 0026D208 38 00 00 04 */ li r0, 4
|
|
lbl_802702CC:
|
|
/* 802702CC 0026D20C 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 802702D0 0026D210 40 82 00 0C */ bne lbl_802702DC
|
|
/* 802702D4 0026D214 3C 60 80 45 */ lis r3, lbl_80450AE0@ha
|
|
/* 802702D8 0026D218 C0 23 0A E0 */ lfs f1, lbl_80450AE0@l(r3)
|
|
lbl_802702DC:
|
|
/* 802702DC 0026D21C FC 01 F8 40 */ fcmpo cr0, f1, f31
|
|
/* 802702E0 0026D220 40 81 00 38 */ ble lbl_80270318
|
|
/* 802702E4 0026D224 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 802702E8 0026D228 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 802702EC 0026D22C 4B FF 6A 45 */ bl normZP__4cXyzCFv
|
|
/* 802702F0 0026D230 C0 01 00 0C */ lfs f0, 0xc(r1)
|
|
/* 802702F4 0026D234 D0 01 00 30 */ stfs f0, 0x30(r1)
|
|
/* 802702F8 0026D238 C0 01 00 10 */ lfs f0, 0x10(r1)
|
|
/* 802702FC 0026D23C D0 01 00 34 */ stfs f0, 0x34(r1)
|
|
/* 80270300 0026D240 C0 01 00 14 */ lfs f0, 0x14(r1)
|
|
/* 80270304 0026D244 D0 01 00 38 */ stfs f0, 0x38(r1)
|
|
/* 80270308 0026D248 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 8027030C 0026D24C 7C 64 1B 78 */ mr r4, r3
|
|
/* 80270310 0026D250 FC 20 F8 90 */ fmr f1, f31
|
|
/* 80270314 0026D254 48 0D 6D C5 */ bl PSVECScale
|
|
lbl_80270318:
|
|
/* 80270318 0026D258 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027031C 0026D25C 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 80270320 0026D260 7F C5 F3 78 */ mr r5, r30
|
|
/* 80270324 0026D264 48 0D 6D 91 */ bl PSVECSubtract
|
|
lbl_80270328:
|
|
/* 80270328 0026D268 E3 E1 00 68 */ psq_l f31, 104(r1), 0, 0
|
|
/* 8027032C 0026D26C CB E1 00 60 */ lfd f31, 0x60(r1)
|
|
/* 80270330 0026D270 E3 C1 00 58 */ psq_l f30, 88(r1), 0, 0
|
|
/* 80270334 0026D274 CB C1 00 50 */ lfd f30, 0x50(r1)
|
|
/* 80270338 0026D278 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
/* 8027033C 0026D27C 83 C1 00 48 */ lwz r30, 0x48(r1)
|
|
/* 80270340 0026D280 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 80270344 0026D284 7C 08 03 A6 */ mtlr r0
|
|
/* 80270348 0026D288 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 8027034C 0026D28C 4E 80 00 20 */ blr |