-
Notifications
You must be signed in to change notification settings - Fork 1
/
CodeFragmentMgr.a
5179 lines (5113 loc) · 204 KB
/
CodeFragmentMgr.a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.ascii "Joy!"
.ascii "peff"
.ascii "pwpc"
.int 0x00000001
.int 0xBE5E1054,0x00000000,0x00000000,0x00000000
.int 0x00040003,0x00000000,0xFFFFFFFF,0x00000000
.int 0x0000F30C,0x0000F30C,0x0000F30C,0x000000A0
.int 0x00010200,0xFFFFFFFF,0x00000000,0x00000AF0
.int 0x000009F0,0x00000533,0x0000F3B0,0x02040300
.int 0xFFFFFFFF,0x00000000,0x000002DA,0x000002DA
.int 0x000002DA,0x0000F8F0,0x03010300,0xFFFFFFFF
.int 0x00000000,0x00000000,0x00000000,0x00000A78
.int 0x0000FBD0,0x04010000,0x00000000,0x00000000
sub_0:
mflr %r0
stmw %r27,-0x14(%sp)
stw %r0,8(%sp)
stwu %sp,-0xd0(%sp)
li %r27,0
mr %r31,%r3
lha %r29,0xa(%r31)
bl j_GetDrvQHdr
lwz %rtoc,0x14(%sp)
lwz %r30,2(%r3)
cmpwi %r30,0
beq .L84
.L30:
lha %r3,6(%r30)
addi %r4,%r31,0x0c
addi %r5,%r31,0x0a
addi %r6,%sp,0x38
bl j_GetVInfo
lwz %rtoc,0x14(%sp)
cmpwi %r3,0
bne .La0
lha %r28,0xa(%r31)
cmpw %r29,%r28
bne .La0
addi %r3,%sp,0x3c
li %r4,0x7a
bl j_sub_4f74
lwz %rtoc,0x14(%sp)
sth %r28,0x52(%sp)
addi %r3,%sp,0x3c
bl j_sub_e930
lwz %rtoc,0x14(%sp)
cmpwi %r3,0
beq .L94
.L84:
sth %r27,0xa(%r31)
stb %r27,0xc(%r31)
stw %r27,0x2c(%r31)
b .Lb0
.L94:
lwz %r30,0x5a(%sp)
stw %r30,0x2c(%r31)
b .Lb0
.La0:
lwz %r30,0(%r30)
cmpwi %r30,0
bne .L30
b .L84
.Lb0:
addi %sp,%sp,0xd0
lwz %r0,8(%sp)
mtlr %r0
lmw %r27,-0x14(%sp)
blr
sub_c4:
lwz %r12,0(%r3)
clrlwi %r4,%r4,24
lwz %r11,4(%r3)
cmpwi %r12,0
bne .Ldc
blr
.Ldc:
cmpwi %r6,0
bne .L128
lwz %r10,0(%r5)
cmpwi %r10,0
bne .Lfc
stw %r12,0(%r5)
stw %r11,4(%r5)
blr
.Lfc:
cmpwi %r4,0
beq .L114
stw %r10,0(%r11)
stw %r11,4(%r10)
stw %r12,0(%r5)
blr
.L114:
lwz %r10,4(%r5)
stw %r10,4(%r12)
stw %r12,0(%r10)
stw %r11,4(%r5)
blr
.L128:
cmpwi %r4,0
beq .L15c
lwz %r3,0(%r5)
lwz %r10,4(%r6)
cmpw %r6,%r3
stw %r6,0(%r11)
stw %r11,4(%r6)
bne .L150
stw %r12,0(%r5)
blr
.L150:
stw %r12,0(%r10)
stw %r10,4(%r12)
blr
.L15c:
lwz %r4,4(%r5)
lwz %r10,0(%r6)
cmpw %r6,%r4
stw %r6,4(%r12)
stw %r12,0(%r6)
bne .L17c
stw %r11,4(%r5)
blr
.L17c:
stw %r11,4(%r10)
stw %r10,0(%r11)
blr
sub_188:
cmpwi %r3,0
blt .L198
li %r3,0
blr
.L198:
mflr %r0
stmw %r26,-0x18(%sp)
stw %r0,8(%sp)
stwu %sp,-0x60(%sp)
addi %r26,%rtoc,0x30c
mr %r30,%r3
lwz %r4,0(%r26)
li %r27,0
lwz %r31,0x1c(%r4)
cmpwi %r31,0
beq .L200
lha %r5,0xa(%r31)
cmpw %r5,%r30
bge .L1ec
.L1d0:
lwz %r3,0x30(%r31)
lwz %r31,0(%r3)
cmpwi %r31,0
beq .L200
lha %r4,0xa(%r31)
cmpw %r4,%r30
blt .L1d0
.L1ec:
cmpwi %r31,0
beq .L200
lha %r3,0xa(%r31)
cmpw %r3,%r30
beq .L290
.L200:
li %r3,0x50
mr %r28,%r31
bl sub_dba4
nop
mr %r31,%r3
mr %r29,%r31
cmpwi %r29,0
beq .L290
stb %r27,8(%r29)
mr %r3,%r29
sth %r30,0xa(%r29)
stw %r29,0x30(%r29)
bl sub_0
lha %r0,0xa(%r29)
cmpwi %r0,0
bne .L254
li %r31,0
mr %r3,%r29
bl sub_dbb0
nop
b .L290
.L254:
lwz %r12,0(%r26)
cmpwi %r28,0
stw %r31,0x38(%sp)
addi %r5,%r12,0x1c
stw %r31,0x3c(%sp)
bne .L280
addi %r3,%sp,0x38
li %r4,0
li %r6,0
.L278:
bl sub_c4
b .L290
.L280:
addi %r3,%sp,0x38
mr %r6,%r28
li %r4,1
bl sub_c4
.L290:
mr %r3,%r31
addi %sp,%sp,0x60
lwz %r0,8(%sp)
mtlr %r0
lmw %r26,-0x18(%sp)
blr
sub_2a8:
lwz %r11,0x30(%r3)
clrlwi %r4,%r4,24
lwz %r12,0(%r3)
extsh %r7,%r7
lwz %r11,0(%r11)
cmpw %r12,%r11
beq .L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bge .L2ec
.L2d0:
mr %r3,%r12
lwz %r12,0(%r12)
cmpw %r12,%r11
beq .L40c
lwz %r10,0x2c(%r12)
cmpw %r10,%r5
blt .L2d0
.L2ec:
cmplw cr6,%r12,%r11
beq cr6,.L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bne .L334
lbz %r10,8(%r12)
cmpw %r10,%r4
bge .L334
.L30c:
mr %r3,%r12
lwz %r12,0(%r12)
cmplw cr6,%r12,%r11
beq cr6,.L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bne .L334
lbz %r10,8(%r12)
cmpw %r10,%r4
blt .L30c
.L334:
beq cr6,.L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bne .L390
lbz %r10,8(%r12)
cmpw %r10,%r4
bne .L390
lwz %r9,0x30(%r12)
cmpw %r9,%r6
bge .L390
.L35c:
mr %r3,%r12
lwz %r12,0(%r12)
cmplw cr6,%r12,%r11
beq cr6,.L40c
lwz %r10,0x2c(%r12)
cmpw %r10,%r5
bne .L390
lbz %r9,8(%r12)
cmpw %r9,%r4
bne .L390
lwz %r10,0x30(%r12)
cmpw %r10,%r6
blt .L35c
.L390:
beq cr6,.L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bne .L40c
lbz %r10,8(%r12)
cmpw %r10,%r4
bne .L40c
lwz %r9,0x30(%r12)
cmpw %r9,%r6
bne .L40c
lbz %r10,9(%r12)
extsb %r10,%r10
cmpw %r10,%r7
beq .L40c
.L3c8:
mr %r3,%r12
lwz %r12,0(%r12)
cmpw %r12,%r11
beq .L40c
lwz %r9,0x2c(%r12)
cmpw %r9,%r5
bne .L40c
lbz %r10,8(%r12)
cmpw %r10,%r4
bne .L40c
lwz %r9,0x30(%r12)
cmpw %r9,%r6
bne .L40c
lbz %r10,9(%r12)
extsb %r10,%r10
cmpw %r10,%r7
bne .L3c8
.L40c:
stw %r3,0(%r8)
cmpw %r12,%r11
beq .L44c
lwz %r9,0x2c(%r12)
.L41c:
cmpw %r9,%r5
bne .L44c
lbz %r3,8(%r12)
cmpw %r3,%r4
bne .L44c
lwz %r5,0x30(%r12)
cmpw %r5,%r6
bne .L44c
lbz %r3,9(%r12)
extsb %r3,%r3
cmpw %r3,%r7
beq .L454
.L44c:
li %r12,0
b .L458
.L454:
li %r12,1
.L458:
clrlwi %r3,%r12,24
blr
sub_460:
lwz %r10,0(%r3)
li %r8,0
lwz %r9,4(%r3)
cmpwi %r10,0
bne .L478
blr
.L478:
lwz %r0,0(%r4)
lwz %r12,4(%r10)
cmpw %r10,%r0
lwz %r11,0(%r9)
bne .L494
stw %r11,0(%r4)
b .L498
.L494:
stw %r11,0(%r12)
.L498:
lwz %r3,4(%r4)
cmpw %r9,%r3
bne .L4ac
stw %r12,4(%r4)
b .L4b0
.L4ac:
stw %r12,4(%r11)
.L4b0:
stw %r8,4(%r10)
stw %r8,0(%r9)
blr
sub_4bc:
mflr %r0
stmw %r29,-12(%r1)
stw %r0,8(%r1)
stwu %r1,-80(%r1)
mr %r31,%r3
lha %r3,22(%r31)
extsh %r29,%r4
bl sub_188
mr %r30,%r3
cmpwi %r30,0
bne .L4f0
li %r3,-50
b .L580
.L4f0:
lbz %r4,30(%r31)
mr %r7,%r29
lwz %r5,100(%r31)
rlwinm %r4,%r4,0,27,27
lwz %r6,48(%r31)
cntlzw %r4,%r4
addi %r8,%r1,56
rlwinm %r4,%r4,27,5,31
addi %r4,%r4,1
bl sub_2a8
cmpwi cr1,%r3,0
bne cr1,.L528
li %r31,-2804
b .L57c
.L528:
lwz %r9,56(%r1)
li %r31,0
lwz %r3,0(%r9)
stw %r3,60(%r1)
stw %r3,64(%r1)
lwz %r4,48(%r30)
cmpw %r3,%r4
bne .L54c
stw %r9,48(%r30)
.L54c:
lwz %r5,-180(%r2)
addi %r3,%r1,60
lwz %r4,0(%r5)
addi %r4,%r4,28
bl sub_460
lwz %r3,60(%r1)
addi %r3,%r3,52
bl sub_7ff0
nop
lwz %r3,60(%r1)
bl sub_dbb0
nop
.L57c:
mr %r3,%r31
.L580:
addi %r1,%r1,80
lwz %r0,8(%r1)
mtlr %r0
lmw %r29,-12(%r1)
blr
sub_594:
extsh %r6,%r4
cmpwi %r6,-129
bgt .L5a8
li %r3,-50
blr
.L5a8:
mflr %r0
stmw %r25,-28(%r1)
stw %r0,8(%r1)
stwu %r1,-96(%r1)
mr %r28,%r6
clrlwi %r26,%r5,24
extsh %r0,%r28
cmpwi %r0,128
mr %r30,%r3
blt .L678
li %r3,-50
b .L7e4
.L678:
cmpwi %r26,2
blt .L688
li %r3,-50
b .L7e4
.L688:
lha %r3,22(%r30)
bl sub_188
mr %r29,%r3
cmpwi %r29,0
bne .L6a4
li %r3,-50
b .L7e4
.L6a4:
li %r3,80
bl sub_dba4
nop
.int 0x7C7F1B78,0x2C1F0000,0x4082000C,0x3860F507
.int 0x48000124,0xAB7E0016,0x389F000C,0x833E0064
.int 0xB37F000A,0x933F002C,0x807E0012,0x88A30000
.int 0x38A50001,0x4800E6B5,0x80410014,0x881E001E
.int 0x837E0030,0x540006F7,0x7F66DB78,0x41820014
.int 0x9B5F0044,0x38800001,0x3BC00000,0x48000010
.int 0x83DE0012,0x38800002,0x7F3BCB78,0x9B9F0009
.int 0x7FA3EB78,0x989F0008,0x7F25CB78,0x39010038
.int 0x7F87E378,0x90DF0030,0x4BFFFC11,0x2C830000
.int 0x41860018,0x7FE3FB78,0x4800D509,0x60000000
.int 0x3860F50B,0x48000090,0x93E1003C,0x3861003C
.int 0x3982030C,0x38800000,0x80AC0000,0x93E10040
.int 0x38A5001C,0x80C10038,0x4BFFF9ED,0x80FD0030
.int 0x81010038,0x7C883800,0x40860008,0x93FD0030
.int 0x891F0009,0x7FC7F378,0xA89F000A,0x7F65DB78
.int 0x387F0034,0x7F46D378,0x7D080774,0x48007949
.int 0x60000000,0x7C7E1B78,0x2C1E0000,0x41820024
.int 0x839D0030,0x7C1FE000,0x4082000C,0x80610038
.int 0x907D0030,0x7FE3FB78,0x4800D479,0x60000000
.int 0x7FC3F378
.L7e4:
.int 0x38210060,0x80010008,0x7C0803A6
.int 0xBB21FFE4
blr
mflr %r0
.int 0xBF21FFE4
stw %r0,8(%r1)
.int 0x9421FF10,0x38000000,0x7C7C1B78
.int 0x90010038,0x3BC00000,0x809C0000,0x8362FF4C
.int 0x3C84FFFF,0x2C040001,0x41820008,0x480000F8
.int 0x80BC0004,0x3BA00000,0x28050000,0x3B40FFFF
.int 0x408100E4,0x3BFC0008,0x887F0000,0x2C030001
.int 0x418100C0,0x893F0001,0x55240631,0x41820018
.int 0x807B0000,0x80830278,0x7C840734,0x7C9E0734
.int 0x48000024,0x55250673,0x4182001C,0x807B0000
.int 0x8083027C,0xA9040002,0x2C080000,0x41820008
.int 0x7D1E4378,0x809F0004,0x552507FE,0x38C1003C
.int 0x7FC3F378,0x38E10038,0x4800E641,0x80410014
.int 0x2C030000,0x4082005C,0x38610040,0x3880006C
.int 0x3B2100B0,0x4800E3CD,0x80410014,0x80010038
.int 0x38610040,0xB3C10056,0x90010070,0xB341005C
.int 0x93210052,0x4800E3F5,0x80410014,0x2C030000
.int 0x40820020,0x38610040,0x38800000,0x4BFFFC61
.int 0x88BF0000,0x38610040,0x38800000,0x4BFFFD29
.int 0x801C0004,0x3BBD0001,0x7C1D0040,0x3BFF0008
.int 0x4180FF28,0x382100F0,0x80010008,0x7C0803A6
.int 0xBB21FFE4
blr
mflr %r0
.int 0xBF81FFF0
stw %r0,8(%r1)
.int 0x9421FFB0,0x83E2FF4C,0x3880746E
.int 0x38C10038,0x38E1003C,0x38608000,0x3C846578
.int 0x38A00000,0x4800E585,0x80410014,0x813F0000
.int 0x2C030000,0x41820014,0x80090278,0x540000C2
.int 0x90090278,0x48000104,0x80690278,0x3B807266
.int 0xA8810038,0x3F9C6366,0x5083043E,0x90690278
.int 0x38607266,0x80BF0000,0x3C636366,0x80C1003C
.int 0x90C50274,0x80FF0000,0x81470278,0x654A2000
.int 0x91470278,0x4800E53D,0x80410014,0x813F0000
.int 0x2C030000,0x81090278,0x40820010,0x651E4000
.int 0x93C90278,0x480000A4,0x3BA00000,0x55030080
.int 0x90690278,0x809F0000,0x38640044,0x80A40044
.int 0x2C050000,0x4182000C,0x48007689,0x60000000
.int 0x3BBD0001,0x7F83E378,0x7FA40734,0x4800E4FD
.int 0x80410014,0x7C7F1B78,0x7FFEFB78,0x2C1E0000
.int 0x41820058,0x801E0000,0x2C000000,0x4082001C
.int 0x7FC3F378,0x4800E3B5,0x80410014,0x801E0000
.int 0x2C000000,0x41820024,0x7FE3FB78,0x4800E4D5
.int 0x80410014,0x807F0000,0x4BFFFD91,0x7FE3FB78
.int 0x4800E4D9,0x80410014,0x7FE3FB78,0x4800E395
.int 0x80410014,0x4BFFFF8C,0x38210050,0x80010008
.int 0x7C0803A6,0xBB81FFF0
blr
mflr %r0
.int 0xBF41FFE8
stw %r0,8(%r1)
.int 0x9421FF40,0x3B82030C
.int 0x7C9F2378,0x813C0000,0x7C7E0734,0x3BA00000
.int 0x81090278,0x55051FFF,0x40820010,0x4BFFFE6D
.int 0x813C0000,0x81090278,0x550017FF,0x4182007C
.int 0x7D030734,0x7C03F000,0x40820070,0x80890274
.int 0x7C04F800,0x4082000C,0x3BA00001,0x480000E8
.int 0x80090278,0x38610038,0x7C1B0734,0x3880006C
.int 0x3B40FFFF,0x4800E17D,0x80410014,0xB361004E
.int 0x38610038,0x93E10068,0xB3410054,0x4800E1AD
.int 0x80410014,0x813C0000,0x2C030000,0x4082001C
.int 0x80090274,0x8061009C,0x7C001800,0x4082000C
.int 0x3BA00001,0x48000090,0x8109001C,0x2C080000
.int 0x41820084,0x88880008,0x2C040001,0x4082006C
.int 0xA868000A,0x7C03F000,0x40820060,0x80880030
.int 0x7C04F800,0x4082000C,0x3BA00001,0x48000058
.int 0x88680044,0x2C030000,0x40810040,0x81280034
.int 0x2C090000,0x41820034,0xA089000A,0x3C84FFFF
.int 0x2C04FFFF,0x40820018,0x8069000C,0x7C03F800
.int 0x4082000C,0x3BA00001,0x4800001C,0x81290000
.int 0x2C090000,0x4082FFD4,0x81080000,0x2C080000
.int 0x4082FF84,0x7FA3EB78,0x382100C0,0x80010008
.int 0x7C0803A6,0xBB41FFE8
blr
.int 0x3882030C
.int 0x80640000,0x2C030000,0x4C820020
mflr %r0
.int 0x93E1FFFC
stw %r0,8(%r1)
.int 0x9421FFC0,0x38600284
.int 0x7C9F2378,0x4800E265,0x80410014,0x907F0000
.int 0x2C030000,0x4082000C,0x38600000,0x48000054
.int 0x39808001,0x3C0C0115,0x90030008,0x38606000
.int 0x4800CC2D,0x60000000,0x2C030000,0x4182000C
.int 0x38600000,0x4800002C,0x4800E1F1,0x80410014
.int 0x38A00000,0x7C641B78,0x38610038,0x38C00000
.int 0x38E00000,0x4800DEA5,0x80410014,0x807F0000
.int 0x38210040,0x80010008,0x7C0803A6,0x83E1FFFC
blr
.int 0x81850000,0x5484063E,0x2C0C0000
.int 0x40820010,0x90650000,0x90650004
blr
.int 0x2C040000,0x40820018,0x81850004,0x91830004
.int 0x906C0000,0x90650004
blr
.int 0x91830000
.int 0x906C0004,0x90650000
blr
.int 0x7D800026
mflr %r0
.int 0xBF41FFE8,0x91810004
stw %r0,8(%r1)
.int 0x9421FFB0,0x3B42030C,0x38600000,0x819A0000
.int 0x3B800000,0x83AC001C,0x3B600000,0x906C001C
.int 0x2C1D0000,0x809A0000,0x90640020,0x41820084
.int 0x38600050,0x7FBFEB78,0x83BF0000,0x4800CF09
.int 0x60000000,0x7C7E1B78,0x2C1E0000,0x4182007C
.int 0x38A00044,0x7FE3FB78,0x291D0000,0x7FC4F378
.int 0x4800E039,0x80410014,0x881F0008,0x2C000000
.int 0x40820010,0x837F0030,0x7FDCF378,0x48000010
.int 0x7C1FD800,0x40820008,0x93DC0030,0x80BA0000
.int 0x7FC3F378,0x38A5001C,0x38800000,0x4BFFFF09
.int 0x7FE3FB78,0x4800CEAD,0x60000000,0x408AFF84
.int 0x38600000,0x819A0000,0x808C0278,0x64841000
.int 0x908C0278,0x4800000C,0x3860F507,0x4BFFFFE8
.int 0x38210050,0x80010008,0x81810004,0x7C0803A6
.int 0xBB41FFE8,0x7D838120
blr
mflr %r0
.int 0xBFA1FFF4
stw %r0,8(%r1)
.int 0x9421FFB0,0x83A2FF4C
.int 0x7C7F1B78,0x38600001,0x549E063E,0x38810038
.int 0x48000131,0x2C1F0000,0x4082000C,0x3860FFCE
.int 0x4800004C,0x801D0000,0x2C000000,0x4082000C
.int 0xA8610038,0x48000038,0x3860000C,0x4800CE09
.int 0x60000000,0x2C030000,0x4082000C,0x3860F507
.int 0x4800001C,0x93E30008,0x7FC4F378,0x80BD0000
.int 0x38A50034,0x4BFFFE41,0x38600000,0x38210050
.int 0x80010008,0x7C0803A6,0xBBA1FFF4
blr
sub_de0:
mflr %r0
stw %r31,-4(%sp)
stw %r0,8(%r1)
stwu %sp,-80(%sp)
.int 0x3860225F,0xB061003A,0x38807001,0xB081003C
.int 0x3BE0205F,0xB3E10038,0x38A02280,0xB0A1003E
.int 0x38C0588F,0xB0C10040,0x38E04ED0,0xB0E10042
.int 0x3860000C,0x38800000,0x4800CC71,0x60000000
.int 0x7C7F1B78,0x2C1F0000,0x4082000C,0x3860FF94
.int 0x4800004C,0x38610038,0x7FE4FB78,0x38A0000C
.int 0x4800DFB1,0x80410014,0x38607267,0x7FE4FB78
.int 0x3C636366,0x4800DFB5,0x80410014,0x2C03EA50
.int 0x4082001C,0x38607267,0x7FE4FB78,0x38A10048
.int 0x3C636366,0x4800DFAD,0x80410014,0x38210050
.int 0x80010008,0x7C0803A6,0x83E1FFFC
blr
mflr %r0
.int 0xBF41FFE8
stw %r0,8(%r1)
.int 0x9421FFA0
.int 0x3BC2030C,0x7C9D2378,0x38000000,0x7C7C1B78
.int 0xB01D0000,0x3B600000,0x80BE0000,0x2C050000
.int 0x40820024,0x4BFFFC89,0x907E0000,0x2C030000
.int 0x40820014,0x3BE0F510,0xB3FD0000,0x38600000
.int 0x48000380,0x811E0000,0x8888000C,0x2C040000
.int 0x41820254,0x81280008,0x3C69000F,0x2C03A5E7
.int 0x41820030,0x38808002,0x3C840115,0x7C092040
.int 0x41800020,0x3860F4FE,0xB07D0000,0x38600000
.int 0x809E0000,0x80A2FFF4,0x90A40270,0x48000334
.int 0x83E8027C,0x3B400024,0x2C1F0000,0x41820010
.int 0xA0DF0000,0x28060023,0x4181006C,0x38600024
.int 0x4800CC45,0x60000000,0x819E0000,0x906C027C
.int 0x819E0000,0x808C027C,0x2C040000,0x40820014
.int 0x3800F4FE,0xB01D0000,0x38600000,0x480002E4
.int 0x2C1F0000,0x41820028,0xA0BF0000,0x7FE3FB78
.int 0x4800DD59,0x80410014,0x7FE3FB78,0x4800CC05
.int 0x60000000,0x819E0000,0x808C027C,0xB3440000
.int 0x811E0000,0x83E80024,0x2C1F0000,0x41820048
.int 0x813F006C,0x2C090000,0x40820070,0x3860001C
.int 0x4800CBC5,0x60000000,0x907F006C,0x2C030000
.int 0x41820048,0x80030000,0x38800001,0x5080C00E
.int 0x90030000,0x83FF0000,0x2C1F0000,0x4082FFC4
.int 0x811E0000,0x80A80278,0x54A327FF,0x4082004C
.int 0x4BFFFC2D,0xB07D0000,0x2C030000,0x4182003C
.int 0x38600000,0x4800023C,0x3BE0F4FE,0xB3FD0000
.int 0x38600000,0x4800022C,0x80890000,0x5483463E
.int 0x28030000,0x4181FFB0,0x38A0F4FE,0xB0BD0000
.int 0x38600000,0x4800020C,0x38610038,0x38800000
.int 0x38A00000,0x38C00000,0x38E00000,0x39000000
.int 0x39200000,0x39400000,0x4800B61D,0x60000000
.int 0x811E0000,0x38C00000,0x38E00000,0x7FE83A14
.int 0x813F0170,0x2C090000,0x41820034,0x39006666
.int 0x3D087065,0x80690044,0x80830004,0x7C044000
.int 0x40820164,0x80A10038,0x90A90044,0x81290000
.int 0x2C090000,0x4082FFE0,0x811E0000,0x38C60001
.int 0x38E70004,0x2C060040,0x4180FFB4,0x80680034
.int 0x4800CAC1,0x60000000,0x819E0000,0x936C0034
.int 0x819E0000,0x936C0038,0x819E0000,0x806C003C
.int 0x4800CAA1,0x60000000,0x819E0000,0x936C003C
.int 0x819E0000,0x936C0040,0x813E0000,0x80690000
.int 0x2C030000,0x41820018,0x4800CA79,0x60000000
.int 0x819E0000,0x936C0000,0x813E0000,0x9B69000C
.int 0x811E0000,0x8BE8000D,0x2C1F0000,0x408200D8
.int 0x38800001,0x9888000D,0x8062FF50,0x4800D97D
.int 0x80410014,0x3861003C,0x38800000,0x38A00000
.int 0x38C00000,0x38E00000,0x39000000,0x39200000
.int 0x39400000,0x4800B511,0x60000000,0x8061003C
.int 0x38800001,0x4800DA05,0x80410014,0x3861003C
.int 0x38800000,0x38A00000,0x38C00000,0x38E00000
.int 0x39000000,0x39200000,0x39400000,0x4800C465
.int 0x60000000,0x8061003C,0x38800000,0x4800D9CD
.int 0x80410014,0x83FE0000,0x837F0278,0x677B8000
.int 0x937F0278,0x4BFFFBED,0xB07D0000,0x2C030000
.int 0x41820034,0x3800F4FE,0xB01D0000,0x8062FFF4
.int 0x809E0000,0x38630035,0x90640270,0x38600000
.int 0x48000050,0x38A0F4FE,0xB0BD0000,0x38600000
.int 0x48000040,0x809E0000,0x83E40024,0x2C1F0000
.int 0x4182001C,0x807F0008,0x7C03E000,0x41820010
.int 0x83FF0000,0x2C1F0000,0x4082FFEC,0x2C1F0000
.int 0x4082000C,0x3880F510,0xB09D0000,0x7FE3FB78
.int 0x38210060,0x80010008,0x7C0803A6,0xBB41FFE8
blr
mflr %r0
.int 0xBFA1FFF4
stw %r0,8(%r1)
.int 0x9421FFB0,0x3BA0003A,0x7C7F1B78,0x893F0000
.int 0x7C9E2378,0x7CA9F8AE,0x2C05003A,0x4082000C
.int 0x893FFFFF,0x3BFFFFFF,0x2C090000,0x41820034
.int 0x88DF0001,0x387F0001,0x2C06003A,0x41820024
.int 0x88BF0000,0x38850001,0x989F0000,0x389F0002
.int 0x4800DA19,0x80410014,0x9BBF0001,0x893F0000
.int 0x88BE0000,0x389F0001,0x7C844A14,0x387E0001
.int 0x4800D9F9,0x80410014,0x881E0000,0x899F0000
.int 0x7C006214,0x981F0000,0x38210050,0x80010008
.int 0x7C0803A6,0xBBA1FFF4
blr
mflr %r0
.int 0xBFC1FFF8
stw %r0,8(%r1)
.int 0x9421FF70,0xA3C30028
.int 0x57DE0421,0x4082000C,0x38600000,0x48000098
.int 0x38C10038,0x7C7F1B78,0xA87F0016,0x3BC00000
.int 0x809F0064,0x80BF0012,0x4800D8A1,0x80410014
.int 0x2C030000,0x41820008,0x4800006C,0x3982033C
.int 0x38610038,0x818C0000,0x38A10080,0x38C10081
.int 0x38800001,0x38E00001,0x4800DF61,0x80410014
.int 0x2C030000,0x41820008,0x4800003C,0x8981003E
.int 0x3861003E,0x809F0012,0x38AC0001,0x4800D93D
.int 0x80410014,0xA8010038,0x7FE3FB78,0xB01F0016
.int 0x8001003A,0x901F0030,0xB3DF001C,0x4800D85D
.int 0x80410014,0x38210090,0x80010008,0x7C0803A6
.int 0xBBC1FFF8
blr
mflr %r0
.int 0xBF21FFE4
.int 0x90010008,0x9421FF00,0x3B610039,0x7C7E1B78
.int 0x3B5E000D,0x3BA00000,0x3B800000,0x3B200000
.int 0x4800DB49,0x80410014,0x83E30002,0x2C1F0000
.int 0x418200A4,0xA87F0006,0x38810038,0x38A10058
.int 0x38C1005C,0x4800DB3D,0x80410014,0x2C030000
.int 0x40820078,0x38610060,0x3880007A,0x4800D795
.int 0x80410014,0xA8010058,0x38610060,0xB0010076
.int 0x4800D7E1,0x80410014,0x2C030000,0x40820058
.int 0x801E002C,0x8061007E,0x7C001800,0x4082003C
.int 0x88BE000C,0x7FFDFB78,0x88810038,0xAB810058
.int 0x7C042800,0x40820024,0x7F63DB78,0x7F44D378
.int 0x480036E5,0x60000000,0x2C030000,0x4182000C
.int 0x3B200001,0x48000010,0x83FF0000,0x2C1F0000
.int 0x4082FF64,0xB39E000A,0x2C190000,0x40820024
.int 0x2C1D0000,0x4182001C,0xA87D0006,0x389E000C
.int 0x38A10058,0x38C1005C,0x4800DA89,0x80410014
.int 0x38210100,0x80010008,0x7C0803A6,0xBB21FFE4
blr
.int 0x7D800026
mflr %r0
.int 0xBF01FFE0
.int 0x91810004,0x90010008,0x9421FF10,0x3B42030C
.int 0x3B600000,0x819A0000,0x3B200000,0x83AC001C
.int 0x2C1D0000,0x418200DC,0x807D0030,0x3880007A
.int 0x83C30000,0x38610038,0x4800D699,0x80410014
.int 0xABFD000A,0x38610038,0xB3E1004E,0x4800D6E5
.int 0x80410014,0x2D030000,0x408A0014,0x839D002C
.int 0x80610056,0x7C1C1800,0x41820080,0x7FA3EB78
.int 0x637B0001,0x4BFFFE65,0x83FD0000,0xAB9D000A
.int 0x7C1FF000,0x41820064,0xB39F000A,0x387F0034
.int 0x7C781B78,0x48006A3D,0x60000000,0x881F0008
.int 0x2C000001,0x7F03C378,0x40820010,0x80BF0030
.int 0x38E00000,0x4800000C,0x80BF002C,0x38FF000C
.int 0x891F0009,0x38C00000,0xA89F000A,0x7D080774
.int 0x48006A65,0x60000000,0x83FF0000,0x7C1FF000
.int 0x4082FFA8,0x2D030000,0x408A000C,0x8001005A
.int 0x901D0034,0x7FDDF378,0x2C1D0000,0x4082FF2C
.int 0x2C1B0000,0x418200D0,0x807A0000,0x38A100B8
.int 0x3883001C,0x80C40000,0x90C50000,0x80C40004
.int 0x90C50004,0x9323001C,0x80FA0000,0x93270020
.int 0x83A100B8,0x2C1D0000,0x4182009C,0x811D0030
.int 0x388100B8,0x83C80000,0x93A100C0,0x807D0030
.int 0x906100C4,0x386100C0,0x4BFFEDE9,0x811A0000
.int 0x80C8001C,0x2C860000,0x41860030,0xA93D000A
.int 0xA8E6000A,0x7C074800,0x40800020,0x80660030
.int 0x80C30000,0x2C060000,0x41820018,0xA886000A
.int 0x7C044800,0x4180FFE8,0x2C060000,0x4082001C
.int 0x38A8001C,0x386100C0,0x38800000,0x38C00000
.int 0x4BFFE9F5,0x48000014,0x38A8001C,0x386100C0
.int 0x38800001,0x4BFFE9E1,0x7FDDF378,0x2C1D0000
.int 0x4082FF6C,0x382100F0,0x80010008,0x81810004
.int 0x7C0803A6,0xBB01FFE0,0x7D838120
blr
.int 0x2C030000,0x4082000C,0x3860FFCE
blr
mflr %r0
.int 0xBFC1FFF8,0x90010008,0x9421FF10
.int 0x7C691B78,0xA9090000,0x2C080000,0x54BE063E
.int 0x7C9F0734,0x40800028,0x80090002,0x2C000000
.int 0x4081001C,0x88E90006,0x38690006,0x2C070000
.int 0x4182000C,0x2C070040,0x4180000C,0x3860FFCE
.int 0x480000A0,0xB101004E,0x38A00000,0x80890002
.int 0x38C100A8,0x90810068,0x388100A8,0xB0A10054
.int 0x90C1004A,0x88A90006,0x38A50001,0x4800D55D
.int 0x80410014,0x38610038,0x4800D491,0x80410014
.int 0x2C030000,0x41820008,0x48000058,0x880100A8
.int 0x2C000020,0x4180000C,0x3860F4FD,0x48000044
.int 0x38610038,0x4BFFFB59,0x2C030000,0x41820008
.int 0x48000030,0x4BFFFD31,0x2C1E0000,0x41820014
.int 0x38610038,0x7FE4FB78,0x4BFFECC5,0x48000014
.int 0x38610038,0x7FE4FB78,0x38A00000,0x4BFFED89
.int 0x382100F0,0x80010008,0x7C0803A6,0xBBC1FFF8
blr
mflr %r0
.int 0x90010008,0x9421FFC0
.int 0x5485063E,0x38800000,0x4800D341,0x80410014
.int 0x38210040,0x80010008,0x7C0803A6
blr
.int 0x38000008,0x3980001C,0x7C0903A6,0x7C656430
.int 0x7C8A2378,0x388A0001,0x54AB073E,0x2C0B000A
.int 0x41800010,0x38CB0037,0x54CB063E,0x4800000C
.int 0x38AB0030,0x54AB063E,0x996A0000,0x398CFFFC
.int 0x4200FFCC,0x38C00000,0x98C40000
blr
.int 0x80630054,0x2C030000,0x4D820020,0x81830014
.int 0x2C0C0000,0x41800020,0x5580103A,0x7CA30214
.int 0x80C50020,0x80E60024,0x7C043800,0x40820008
blr
.int 0x80630000,0x2C030000,0x4082FFD0
blr
blr
FragPrepare:
mfcr %r12
mflr %r0
stmw %r16,-64(%r1)
stw %r12,4(%r1)
stw %r0,8(%r1)
stwu %r1,-608(%r1)
.int 0x8322FF4C,0x7D575378,0x83610298,0x7D364B78
.int 0x7D1A4378,0x7CF03B78,0x7CD53378,0x7CBE2B78
.int 0x7C9D2378,0x83E2FF54,0x38800000,0x989F0000
.int 0x2C1A0000,0x3B00FFFF,0x3A800000,0x3A600000
.int 0x3A400000,0x3B800000,0x40820008,0x3B410038
.int 0x2C160000,0x40820008,0x3AC1003C,0x2C170000
.int 0x40820008,0x3AE10040,0x2C1B0000,0x40820008
.int 0x8362FF58,0x939A0000,0x38810042,0x93960000
.int 0x3A200001,0x9B9B0000,0x9B9B0001,0x4BFFF515
.int 0x7C7F1B78,0x2C1F0000,0x4182038C,0x2D1D0000
.int 0x408A0040,0x2C1E0000,0x40820040,0x8182FFF4
.int 0x7F64DB78,0x80B90000,0x380C0074,0x90050270
.int 0x80D90000,0x80660270,0x88A30000,0x38A50001
.int 0x4800D329,0x80410014,0x3860FFCE,0x48000360
.int 0x2C1E0000,0x41820044,0x881E0000,0x2C000040
.int 0x41800038,0x8062FFF4,0x7F64DB78,0x80B90000
.int 0x38630098,0x90650270,0x80D90000,0x80660270
.int 0x88A30000,0x38A50001,0x4800D2E1,0x80410014
.int 0x3860FFCE,0x48000318,0x38610044,0x3880002C
.int 0x4800D1C1,0x80410014,0x418A0018,0x2C1E0000
.int 0x4182000C,0x93C10048,0x3BC00000,0x831D0000
.int 0x2C180001,0x41820014,0x2C180002,0x4182000C
.int 0x2C180006,0x40820150,0x813D0004,0xA8690000
.int 0x2C030000,0x41820010,0x80890002,0x2C040000
.int 0x40820038,0x8182FFF4,0x7F64DB78,0x80B90000
.int 0x380C00BB,0x90050270,0x80D90000,0x80660270
.int 0x88A30000,0x38A50001,0x4800D251,0x80410014
.int 0x3860FFCE,0x48000288,0x56A00673,0x418200A8
.int 0x38A90006,0x807F006C,0x90BF005C,0x80830000
.int 0x54864FFF,0x40820010,0x7FE3FB78,0x4800C209
.int 0x60000000,0x819D0004,0x38C10074,0xA86C0000
.int 0x38AC0006,0x808C0002,0x4800912D,0x60000000
.int 0x2C030000,0x418200B0,0x88A1007A,0x3861007A
.int 0x38A50001,0x388100BC,0x4800D1E1,0x80410014
.int 0x8082FFF4,0x386100BC,0x388400DB,0x4BFFF759
.int 0xA8610074,0x38A100BC,0x80810076,0x38C101BC
.int 0x4800D0C9,0x80410014,0x2C030000,0x40820068
.int 0x386101BC,0x38800000,0x4800D009,0x80410014
.int 0x48000054,0xA81F001A,0x7C001800,0x40820010
.int 0x80BF0020,0x7C052000,0x4182003C,0xAA7F0018
.int 0x3A800001,0x825F001C,0x4BFFEE75,0x2C030000
.int 0x4182000C,0xB39F0018,0x4800001C,0x819D0004
.int 0xA86C0000,0xB07F0018,0x809D0004,0x80A40002
.int 0x90BF001C,0x2C9E0000,0x56A60673,0x4D800000
.int 0x4186001C,0x887E0000,0x2C030000,0x41820010
.int 0x93C10044,0x93C10048,0x48000030,0x2C180000
.int 0x40820028,0x38800009,0x98810204,0x3860005E
.int 0x98610205,0x38810206,0x807D0004,0x38E10204
.int 0x4BFFFC51,0x90E10044,0x418A005C,0x9A210066
.int 0x3901004C,0x807D0000,0x90680000,0x807D0004
.int 0x90680004,0x807D0008,0x90680008,0x807D000C
.int 0x9068000C,0x813D0000,0x2C090001,0x41820014
.int 0x2C090002,0x4182000C,0x2C090006,0x40820010
.int 0x809D0004,0x38840006,0x90810044,0x9A210064
.int 0x48000014,0x3860FFFF,0x9B810066,0x90610068
.int 0x9061006C,0x9201005C,0x7FE3FB78,0x38A10044
.int 0x7F44D378,0x7EC6B378,0x7EE7BB78,0x7EA8AB78
.int 0x7F69DB78,0x48005625,0x60000000,0xB0610042
.int 0x2C140000,0x4182000C,0xB27F0018,0x925F001C
.int 0x418E0030,0x813F0024,0x939F005C,0x2C090000
.int 0x41820020,0x83C90014,0x57DE103A,0x7C69F214
.int 0x80830020,0x80A4000C,0x80C5000C,0x90DF005C
.int 0xA8610042,0x2C030000,0x40820054,0x88F70000
.int 0x2C070000,0x40820030,0x56A30739,0x41820028
.int 0x809A0000,0x7FE3FB78,0x4BFFFB99,0x2C830000
.int 0x4086000C,0x3860F50F,0x48000024,0x81230008
.int 0x913A0000,0xA8610042,0x2C030000,0x40820010
.int 0x80990000,0x93840270,0xA8610042,0x38210260
.int 0x80010008,0x81810004,0x7C0803A6,0xBA01FFC0
.int 0x7D838120
blr
.int 0x80630054,0x2C030000
.int 0x4182001C,0x80030008,0x7C002000,0x41820010
.int 0x80630000,0x2C030000,0x4082FFEC,0x2C030000
.int 0x4C820020,0x38C0F50F,0xB0C50000
blr
.int 0x8063004C,0x2C030000,0x4182001C,0x80030024
.int 0x7C002000,0x41820010,0x80630000,0x2C030000
.int 0x4082FFEC,0x2C030000,0x4C820020,0x38C0F50F
.int 0xB0C50000
blr
.int 0x7D800026
mflr %r0
.int 0xBF61FFEC,0x91810004,0x90010008,0x9421FF80
.int 0x7CDB3378,0x2C1B0000,0x7D1D4378,0x7CFC3B78
.int 0x7CBE2B78,0x7C9F2378,0x40820008,0x3B610038
.int 0x2C1C0000,0x40820008,0x3B81003C,0x2C1D0000
.int 0x40820008,0x3BA10040,0x38810044,0x4BFFF085
.int 0x7C691B78,0x2C090000,0x4082000C,0xA8610044
.int 0x48000164,0x38A10044,0x7FE4FB78,0x4BFFFF1D
.int 0x2C830000,0x41860018,0x81230014,0x2C090000
.int 0x40800030,0x3860F50F,0x4800013C,0x38A10044
.int 0x7FE4FB78,0x7D234B78,0x4BFFFF29,0x7C7F1B78
.int 0x2C9F0000,0x40860018,0xA8610044,0x48000118
.int 0x5527103A,0x7C871A14,0x83E40020,0x291E0000
.int 0x418A0034,0x88BE0000,0x2C050000,0x41820028
.int 0x389E0001,0x7FE3FB78,0x7F66DB78,0x7F87E378
.int 0x7FA8EB78,0x480043B5,0x60000000,0xB0610044
.int 0x480000D0,0x809C0000,0x2F1F0000,0x419A0040
.int 0x819F000C,0x806C0074,0x7C041800,0x4180002C
.int 0x80BF000C,0x83FF0034,0x80650074,0x2F1F0000
.int 0x7C832050,0x419A0018,0x80DF000C,0x80660074
.int 0x7C041800,0x4080FFDC,0x409A000C,0x3860F50E
.int 0x48000084,0x80BF000C,0x80650044,0x81830024
.int 0x80650048,0x38A10048,0x4800D3D1,0x80410014
.int 0xB0610044,0x418A003C,0x83810050,0x38E000FF
.int 0x579C843E,0x38600000,0x7D27E010,0x38C00000
.int 0x7D061910,0x80610054,0x7D054838,0x389E0001
.int 0x38A500FF,0x4800CD95,0x80410014,0x9B9E0000
.int 0x88010058,0x7FE3FB78,0x981B0000,0x7FA5EB78
.int 0x38810048,0x4800398D,0x60000000,0xB0610044
.int 0xA8610044,0x38210080,0x80010008,0x81810004
.int 0x7C0803A6,0xBB61FFEC,0x7D838120
blr
mflr %r0
.int 0xBF81FFF0,0x90010008,0x9421FFA0
.int 0x3BC2030C,0x7C9F2378,0x813E0000,0x7C7D1B78
.int 0x3B820314,0x39000000,0x80E90278,0x54E02FFF