ROM:00000000 # Processor : PPC ROM:00000000 # Target assembler: GNU Assembler ROM:00000000 # Byte sex : Big endian ROM:00000000 # SIMD Instructions: AltiVec ROM:00000000 # Processor Profile: Server ROM:00000000 ROM:00000000 #include "ppc-asm.h" ROM:00000000 .set r1, 1; .set r2, 2 ROM:00000000 .set lt, 0; .set gt, 1; .set eq, 2; .set so, 3 ROM:00000000 ROM:00000000 ROM:00000000 # =========================================================================== ROM:00000000 ROM:00000000 # Segment type: Pure code ROM:00000000 .section "ROM" ROM:00000000 stw r24, 0x94(r31) ROM:00000004 stw r4, 0xA4(r31) ROM:00000008 bl 0xD00 ROM:0000000C stw r24, 0x64(r31) ROM:00000010 mr r8, r8 ROM:00000014 addi r12, r31, 0x140 ROM:00000018 bl sub_50 ROM:0000001C lwz r3, 0x64(r31) ROM:00000020 addi r1, r31, 0x140 ROM:00000024 b 0xFFFF9978 ROM:00000028 # --------------------------------------------------------------------------- ROM:00000028 std r31, -8(r1) ROM:0000002C addi r31, r12, -0x140 ROM:00000030 std r28, -0x10(r1) ROM:00000034 std r22, -0x18(r1) ROM:00000038 mfspr r12, LR ROM:0000003C stw r12, -0x20(r1) ROM:00000040 stwu r1, -0x70(r1) ROM:00000044 lwz r28, 0x7C(r31) ROM:00000048 lwz r22, 0x68(r31) ROM:0000004C b loc_6C ROM:00000050 ROM:00000050 # =============== S U B R O U T I N E ======================================= ROM:00000050 ROM:00000050 ROM:00000050 sub_50: # CODE XREF: ROM:00000018p ROM:00000050 ROM:00000050 .set var_70, -0x70 ROM:00000050 .set var_20, -0x20 ROM:00000050 .set var_18, -0x18 ROM:00000050 .set var_10, -0x10 ROM:00000050 .set var_8, -8 ROM:00000050 ROM:00000050 std r31, var_8(r1) ROM:00000054 addi r31, r12, -0x140 ROM:00000058 std r28, var_10(r1) ROM:0000005C std r22, var_18(r1) ROM:00000060 mfspr r12, LR ROM:00000064 stw r12, var_20(r1) ROM:00000068 stwu r1, -0x70(r1) ROM:0000006C ROM:0000006C loc_6C: # CODE XREF: ROM:0000004Cj ROM:0000006C cmplwi cr6, r22, 0 ROM:00000070 beq cr6, loc_7C ROM:00000074 lwz r3, 0x580(r28) ROM:00000078 bl 0x8E0 ROM:0000007C ROM:0000007C loc_7C: # CODE XREF: sub_50+20j ROM:0000007C lwz r1, 0x70+var_70(r1) ROM:00000080 ld r31, var_8(r1) ROM:00000084 ld r28, var_10(r1) ROM:00000088 ld r22, var_18(r1) ROM:0000008C lwz r12, var_20(r1) ROM:00000090 mtspr LR, r12 ROM:00000094 blr ROM:00000094 # End of function sub_50 ROM:00000094 ROM:00000098 # --------------------------------------------------------------------------- ROM:00000098 stw r8, -0x6D58(r1) ROM:0000009C stw r8, 0x4B30 ROM:000000A0 mfspr r12, LR ROM:000000A4 bl 0xFFFF9938 ROM:000000A8 addi r31, r1, -0xA0 ROM:000000AC stwu r1, -0xA0(r1) ROM:000000B0 mr r30, r3 ROM:000000B4 mr r28, r4 ROM:000000B8 mr r29, r5 ROM:000000BC lwz r11, 0x14(r3) ROM:000000C0 li r27, 1 ROM:000000C4 li r26, 0 ROM:000000C8 rlwinm. r11, r11, 0,13,13 ROM:000000CC stw r3, 0x64(r31) ROM:000000D0 stw r26, 0x54(r31) ROM:000000D4 stw r27, 0x58(r31) ROM:000000D8 beq 0x104 ROM:000000DC bl 0x890 ROM:000000E0 lbz r11, 0x17B(r30) ROM:000000E4 cmpw cr6, r11, r3 ROM:000000E8 beq cr6, 0x104 ROM:000000EC mr r7, r29 ROM:000000F0 li r6, 0x1162 ROM:000000F4 lwz r5, 0x98(r31) ROM:000000F8 mr r4, r30 ROM:000000FC li r3, 0xF4 # '(' ROM:000000FC