HardFault_Handler
0x8001e64 tst.w lr, #4
0x8001e68 ite eq
0x8001e6a mrseq r0, msp
0x8001e6e mrsne r0, psp
0x8001e72 mov r1, lr
0x8001e74 mrs r2, ipsr
0x8001e78 ldr r3, [pc, #0xc]
0x8001e7a msr msp, r3
0x8001e7e b.w #0x800210c
0x8001e82 nop 
0x8001e84 b #0x8001e82

MemManage_Handler
0x8001e8c tst.w lr, #4
0x8001e90 ite eq
0x8001e92 mrseq r0, msp
0x8001e96 mrsne r0, psp
0x8001e9a mov r1, lr
0x8001e9c mrs r2, ipsr
0x8001ea0 ldr r3, [pc, #0xc]
0x8001ea2 msr msp, r3
0x8001ea6 b.w #0x800210c
0x8001eaa nop 
0x8001eac b #0x8001eaa

BusFault_Handler
0x8001eb4 tst.w lr, #4
0x8001eb8 ite eq
0x8001eba mrseq r0, msp
0x8001ebe mrsne r0, psp
0x8001ec2 mov r1, lr
0x8001ec4 mrs r2, ipsr
0x8001ec8 ldr r3, [pc, #0xc]
0x8001eca msr msp, r3
0x8001ece b.w #0x800210c
0x8001ed2 nop 
0x8001ed4 b #0x8001ed2

UsageFault_Handler
0x8001edc tst.w lr, #4
0x8001ee0 ite eq
0x8001ee2 mrseq r0, msp
0x8001ee6 mrsne r0, psp
0x8001eea mov r1, lr
0x8001eec mrs r2, ipsr
0x8001ef0 ldr r3, [pc, #0xc]
0x8001ef2 msr msp, r3
0x8001ef6 b.w #0x800210c
0x8001efa nop 
0x8001efc b #0x8001efa

Trigger_DivideByZero
0x8001fd8 push {r7}
0x8001fda sub sp, #0x14
0x8001fdc add r7, sp, #0
0x8001fde ldr r3, [pc, #0x28]
0x8001fe0 ldr r3, [r3]
0x8001fe2 str r3, [r7, #0xc]
0x8001fe4 ldr r3, [pc, #0x24]
0x8001fe6 ldr r3, [r3]
0x8001fe8 str r3, [r7, #8]
0x8001fea ldr r3, [r7, #0xc]
0x8001fec ldr r2, [r7, #8]
0x8001fee udiv r3, r3, r2
0x8001ff2 str r3, [r7, #4]
0x8001ff4 ldr r2, [pc, #0x18]
0x8001ff6 ldr r3, [r7, #4]
0x8001ff8 str r3, [r2]
0x8001ffa nop 
0x8001ffc adds r7, #0x14
0x8001ffe mov sp, r7
0x8002000 ldr r7, [sp], #4
0x8002004 bx lr
0x8002006 nop 
0x8002008 movs r4, r1
0x800200a movs r0, #0
0x800200c lsls r4, r3, #0xa
0x800200e movs r0, #0
0x8002010 lsls r0, r4, #0xa
0x8002012 movs r0, #0

Trigger_UndefinedInstruction
0x8002014 push {r7}
0x8002016 add r7, sp, #0
0x8002018 udf #0
0x800201a nop 
0x800201c mov sp, r7
0x800201e ldr r7, [sp], #4
0x8002022 bx lr

Trigger_InvalidThumbState
0x8002024 push {r7}
0x8002026 add r7, sp, #0
0x8002028 adr r0, #4
0x800202a bic r0, r0, #1
0x800202e bx r0
0x8002030 nop 
0x8002032 nop 
0x8002034 mov sp, r7
0x8002036 ldr r7, [sp], #4
0x800203a bx lr

Fault_Capture
0x800210c push {r7}
0x800210e sub sp, #0x3c
0x8002110 add r7, sp, #0
0x8002112 str r0, [r7, #0xc]
0x8002114 str r1, [r7, #8]
0x8002116 str r2, [r7, #4]
0x8002118 cpsid i
0x800211a nop 
0x800211c ldr r3, [pc, #0x188]
0x800211e movs r2, #0
0x8002120 str r2, [r3]
0x8002122 ldr r2, [pc, #0x184]
0x8002124 ldr r3, [r7, #4]
0x8002126 str r3, [r2, #4]
0x8002128 ldr r2, [pc, #0x17c]
0x800212a ldr r3, [r7, #8]
0x800212c str r3, [r2, #8]
0x800212e ldr r3, [r7, #0xc]
0x8002130 ldr r2, [pc, #0x174]
0x8002132 str r3, [r2, #0xc]
0x8002134 ldr r3, [pc, #0x174]
0x8002136 ldr r3, [r3, #0x34]
0x8002138 ldr r2, [pc, #0x16c]
0x800213a str r3, [r2, #0x28]
0x800213c ldr r3, [pc, #0x16c]
0x800213e ldr r3, [r3, #0x38]
0x8002140 ldr r2, [pc, #0x164]
0x8002142 str r3, [r2, #0x2c]
0x8002144 ldr r3, [pc, #0x164]
0x8002146 ldr r3, [r3, #0x28]
0x8002148 ldr r2, [pc, #0x15c]
0x800214a str r3, [r2, #0x10]
0x800214c ldr r3, [pc, #0x15c]
0x800214e ldr r3, [r3, #0x2c]
0x8002150 ldr r2, [pc, #0x154]
0x8002152 str r3, [r2, #0x14]
0x8002154 ldr r3, [pc, #0x154]
0x8002156 ldr r3, [r3, #0x30]
0x8002158 ldr r2, [pc, #0x14c]
0x800215a str r3, [r2, #0x18]
0x800215c ldr r3, [pc, #0x14c]
0x800215e ldr r3, [r3, #0x3c]
0x8002160 ldr r2, [pc, #0x144]
0x8002162 str r3, [r2, #0x1c]
0x8002164 ldr r3, [pc, #0x144]
0x8002166 ldr r3, [r3, #0x24]
0x8002168 ldr r2, [pc, #0x13c]
0x800216a str r3, [r2, #0x20]
0x800216c ldr r3, [pc, #0x13c]
0x800216e ldr r3, [r3, #0x14]
0x8002170 ldr r2, [pc, #0x134]
0x8002172 str r3, [r2, #0x24]
0x8002174 ldr r3, [pc, #0x130]
0x8002176 ldr r3, [r3, #0x10]
0x8002178 and r3, r3, #0x80
0x800217c cmp r3, #0
0x800217e ite ne
0x8002180 movne r3, #1
0x8002182 moveq r3, #0
0x8002184 uxtb r3, r3
0x8002186 mov r2, r3
0x8002188 ldr r3, [pc, #0x11c]
0x800218a str r2, [r3, #0x30]
0x800218c ldr r3, [pc, #0x118]
0x800218e ldr r3, [r3, #0x10]
0x8002190 and r3, r3, #0x8000
0x8002194 cmp r3, #0
0x8002196 ite ne
0x8002198 movne r3, #1
0x800219a moveq r3, #0
0x800219c uxtb r3, r3
0x800219e mov r2, r3
0x80021a0 ldr r3, [pc, #0x104]
0x80021a2 str r2, [r3, #0x34]
0x80021a4 ldr r3, [r7, #8]
0x80021a6 and r3, r3, #0x10
0x80021aa cmp r3, #0
0x80021ac ite eq
0x80021ae moveq r3, #1
0x80021b0 movne r3, #0
0x80021b2 uxtb r3, r3
0x80021b4 mov r2, r3
0x80021b6 ldr r3, [pc, #0xf0]
0x80021b8 str r2, [r3, #0x3c]
0x80021ba ldr r3, [pc, #0xec]
0x80021bc movs r2, #0
0x80021be str r2, [r3, #0x38]
0x80021c0 movs r3, #0
0x80021c2 str r3, [r7, #0x34]
0x80021c4 b #0x80021d8
0x80021c6 ldr r2, [pc, #0xe0]
0x80021c8 ldr r3, [r7, #0x34]
0x80021ca adds r3, #0x10
0x80021cc movs r1, #0
0x80021ce str.w r1, [r2, r3, lsl #2]
0x80021d2 ldr r3, [r7, #0x34]
0x80021d4 adds r3, #1
0x80021d6 str r3, [r7, #0x34]
0x80021d8 ldr r3, [r7, #0x34]
0x80021da cmp r3, #7
0x80021dc bls #0x80021c6
0x80021de ldr r3, [r7, #0xc]
0x80021e0 str r3, [r7, #0x2c]
0x80021e2 ldr r3, [pc, #0xc4]
0x80021e4 ldr r3, [r3, #0x3c]
0x80021e6 cmp r3, #0
0x80021e8 beq #0x80021ee
0x80021ea movs r3, #0x1a
0x80021ec b #0x80021f0
0x80021ee movs r3, #8
0x80021f0 str r3, [r7, #0x28]
0x80021f2 ldr r3, [r7, #0x28]
0x80021f4 lsls r3, r3, #2
0x80021f6 str r3, [r7, #0x24]
0x80021f8 movw r3, #0x3838
0x80021fc str r3, [r7, #0x20]
0x80021fe ldr r3, [r7, #0x2c]
0x8002200 cmp.w r3, #0x20000000
0x8002204 blo #0x800221a
0x8002206 ldr r3, [r7, #0x24]
0x8002208 rsb.w r3, r3, #0x20000000
0x800220c add.w r3, r3, #0x8000
0x8002210 ldr r2, [r7, #0x2c]
0x8002212 cmp r2, r3
0x8002214 bhi #0x800221a
0x8002216 movs r3, #1
0x8002218 b #0x800221c
0x800221a movs r3, #0
0x800221c str r3, [r7, #0x1c]
0x800221e ldr r3, [r7, #0x2c]
0x8002220 cmp.w r3, #0x10000000
0x8002224 blo #0x800223a
0x8002226 ldr r3, [r7, #0x24]
0x8002228 rsb.w r3, r3, #0x10000000
0x800222c add.w r3, r3, #0x2000
0x8002230 ldr r2, [r7, #0x2c]
0x8002232 cmp r2, r3
0x8002234 bhi #0x800223a
0x8002236 movs r3, #1
0x8002238 b #0x800223c
0x800223a movs r3, #0
0x800223c str r3, [r7, #0x18]
0x800223e ldr r3, [r7, #0x2c]
0x8002240 and r3, r3, #3
0x8002244 cmp r3, #0
0x8002246 bne #0x8002290
0x8002248 ldr r3, [r7, #0x1c]
0x800224a cmp r3, #0
0x800224c bne #0x8002254
0x800224e ldr r3, [r7, #0x18]
0x8002250 cmp r3, #0
0x8002252 beq #0x8002290
0x8002254 ldr r3, [pc, #0x50]
0x8002256 ldr r2, [r3, #0x10]
0x8002258 ldr r3, [r7, #0x20]
0x800225a ands r3, r2
0x800225c cmp r3, #0
0x800225e bne #0x8002290
0x8002260 ldr r3, [r7, #0xc]
0x8002262 str r3, [r7, #0x14]
0x8002264 movs r3, #0
0x8002266 str r3, [r7, #0x30]
0x8002268 b #0x8002284
0x800226a ldr r3, [r7, #0x30]
0x800226c lsls r3, r3, #2
0x800226e ldr r2, [r7, #0x14]
0x8002270 add r3, r2
0x8002272 ldr r2, [r3]
0x8002274 ldr r1, [pc, #0x30]
0x8002276 ldr r3, [r7, #0x30]
0x8002278 adds r3, #0x10
0x800227a str.w r2, [r1, r3, lsl #2]
0x800227e ldr r3, [r7, #0x30]
0x8002280 adds r3, #1
0x8002282 str r3, [r7, #0x30]
0x8002284 ldr r3, [r7, #0x30]
0x8002286 cmp r3, #7
0x8002288 bls #0x800226a
0x800228a ldr r3, [pc, #0x1c]
0x800228c movs r2, #1
0x800228e str r2, [r3, #0x38]
0x8002290 dsb sy
0x8002294 nop 
0x8002296 ldr r3, [pc, #0x10]
0x8002298 ldr r2, [pc, #0x14]
0x800229a str r2, [r3]
0x800229c dsb sy
0x80022a0 nop 
0x80022a2 nop 
0x80022a4 b #0x80022a2
0x80022a6 nop 
0x80022a8 movs r0, r6
0x80022aa movs r0, #0
0x80022ac stc p0, c14, [r0, #-0]
0x80022b0 strb r5, [r6]