view dsample-fw-disasm @ 355:e77d478e3724

fluid-mnf/fluid.[ch]: arg_uart_flowcontrol[] removed
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Mar 2020 19:59:27 +0000
parents ce8a9d77ddd2
children
line wrap: on
line source

; The present work is a disassembly analysis of the 20020917 firmware image
; read out of our vintage D-Sample C05 board.

       0:	ea0004e7	b	0x13a4
       4:	ea003ffd	b	0x10000
       8:	ea003ffd	b	0x10004
       c:	ea003ffd	b	0x10008
      10:	ea003ffd	b	0x1000c
      14:	ea003ffd	b	0x10010
      18:	ea003ffd	b	0x10014
      1c:	ea003ffd	b	0x10018

; constant pool before _INT_Bootloader_Start matches TCS211
    1378:	fffffb00
    137c:	02a102a1
    1380:	028302a1
    1384:	00c00281
    1388:	002a0040
    138c:	fffffd00
    1390:	ffff9800
    1394:	fffffb10
    1398:	ffffff08
    139c:	20061081
    13a0:	00000800

_INT_Bootloader_Start:	; code fully matches TCS211
    13a4:	e51f101c	ldr	r1, =0xffff9800	; via 0x1390
    13a8:	e15f21b2	ldrh	r2, =0x2006	; via 0x139e
    13ac:	e1c120b0	strh	r2, [r1]
    13b0:	e5912000	ldr	r2, [r1]
    13b4:	e2022001	and	r2, r2, #1
    13b8:	e3520001	cmp	r2, #1
    13bc:	0afffffb	beq	0x13b0
    13c0:	e51f103c	ldr	r1, =0xfffffd00	; via 0x138c
    13c4:	e15f23b0	ldrh	r2, =0x1081	; via 0x139c
    13c8:	e1c120b0	strh	r2, [r1]
    13cc:	e51f1040	ldr	r1, =0xfffffb10	; via 0x1394
    13d0:	e15f23b8	ldrh	r2, =0x800	; via 0x13a0
    13d4:	e1d100b0	ldrh	r0, [r1]
    13d8:	e1800002	orr	r0, r0, r2
    13dc:	e1c100b0	strh	r0, [r1]
    13e0:	e51f1050	ldr	r1, =0xffffff08	; via 0x1398
    13e4:	e15f24ba	ldrh	r2, =0x0	; via 0x13a2
    13e8:	e1c120b0	strh	r2, [r1]
    13ec:	e51f107c	ldr	r1, =0xfffffb00	; via 0x1378
    13f0:	e15f27bc	ldrh	r2, =0x2a1	; via 0x137c
    13f4:	e1c120b0	strh	r2, [r1]
    13f8:	e15f28b2	ldrh	r2, =0x2a1	; via 0x137e
    13fc:	e1c120b2	strh	r2, [r1, #2]
    1400:	e15f28b8	ldrh	r2, =0x2a1	; via 0x1380
    1404:	e1c120b4	strh	r2, [r1, #4]
    1408:	e15f28be	ldrh	r2, =0x283	; via 0x1382
    140c:	e1c120b6	strh	r2, [r1, #6]
    1410:	e15f29b4	ldrh	r2, =0x281	; via 0x1384
    1414:	e1c120ba	strh	r2, [r1, #10]	; 0xa
    1418:	e15f29ba	ldrh	r2, =0xc0	; via 0x1386
    141c:	e1c120bc	strh	r2, [r1, #12]	; 0xc
    1420:	e15f2ab0	ldrh	r2, =0x40	; via 0x1388
    1424:	e1c120b8	strh	r2, [r1, #8]
    1428:	e15f2ab6	ldrh	r2, =0x2a	; via 0x138a
    142c:	e1c120be	strh	r2, [r1, #14]	; 0xe
    1430:	e59f0020	ldr	r0, =0x107921c	; via 0x1458
    1434:	e3a01b01	mov	r1, #1024	; 0x400
    1438:	e2411004	sub	r1, r1, #4
    143c:	e0802001	add	r2, r0, r1
    1440:	e3c22003	bic	r2, r2, #3
    1444:	e1a0d002	mov	sp, r2
    1448:	e92d100f	stmdb	sp!, {r0, r1, r2, r3, r12}
    144c:	eb000046	bl	0x156c
    1450:	e8bd100f	ldmia	sp!, {r0, r1, r2, r3, r12}
    1454:	ea003afd	b	0x10050
    1458:	0107921c

_sta_select_application:	(ARM->Thumb veneer)
    156c:	e92d4000	stmdb	sp!, {lr}
    1570:	e28fe001	add	lr, pc, #1
    1574:	e12fff1e	bx	lr
    1578:	f7ff fd63	bl	0x1042
    157c:	4778		bx	pc
    157e:	46c0		nop			(mov r8, r8)
    1580:	e8bd8000	ldmia	sp!, {pc}

; branch target addresses differ from TCS211
   10000:	ea0000bf	b	0x10304
   10004:	ea0000c4	b	0x1031c
   10008:	ea0000c9	b	0x10334
   1000c:	ea0000ce	b	0x1034c
   10010:	ea0000d3	b	0x10364
   10014:	ea0000b0	b	0x102dc
   10018:	ea0000b4	b	0x102f0

; Constant pool
; Difference between this version and TCS211: the newer TCS211 version
; includes constants 0xFFFEF006 and 0x00000008 for the 8 MiB
; memory bank setup.  This difference must be responsible for the
; 0x10050 vs. 0x10058 discrepancy.

   1001c:	02a102a1
   10020:	028302a1
   10024:	02c00e85
   10028:	002a0040
   1002c:	fffffb00
   10030:	fffffd00
   10034:	ffff9800
   10038:	fffffb10
   1003c:	ffffff08
   10040:	20021081
   10044:	f7ff0800
   10048:	00000000
   1004c:	0001047c	; .cinit base

_INT_Initialize:
; beginning matches TCS211
   10050:	e51f1024	ldr	r1, =0xffff9800	; via 0x10034
   10054:	e15f21ba	ldrh	r2, =0x2002	; via 0x10042
   10058:	e1c120b0	strh	r2, [r1]
   1005c:	e5912000	ldr	r2, [r1]
   10060:	e2022001	and	r2, r2, #1
   10064:	e3520001	cmp	r2, #1
   10068:	0afffffb	beq	0x1005c
   1006c:	e51f1044	ldr	r1, =0xfffffd00	; via 0x10030
   10070:	e15f23b8	ldrh	r2, =0x1081	; via 0x10040
   10074:	e1c120b0	strh	r2, [r1]
   10078:	e51f1048	ldr	r1, =0xfffffb10	; via 0x10038
   1007c:	e15f23be	ldrh	r2, =0xf7ff	; via 0x10046
   10080:	e1d100b0	ldrh	r0, [r1]
   10084:	e0000002	and	r0, r0, r2
   10088:	e1c100b0	strh	r0, [r1]
   1008c:	e51f1058	ldr	r1, =0xffffff08	; via 0x1003c
   10090:	e15f25b0	ldrh	r2, =0x0	; via 0x10048
   10094:	e1c120b0	strh	r2, [r1]
   10098:	e51f1074	ldr	r1, =0xfffffb00	; via 0x1002c
   1009c:	e15f28b8	ldrh	r2, =0x2a1	; via 0x1001c
   100a0:	e1c120b0	strh	r2, [r1]
   100a4:	e15f28be	ldrh	r2, =0x2a1	; via 0x1001e
   100a8:	e1c120b2	strh	r2, [r1, #2]
   100ac:	e15f29b4	ldrh	r2, =0x2a1	; via 0x10020
   100b0:	e1c120b4	strh	r2, [r1, #4]
   100b4:	e15f29ba	ldrh	r2, =0x283	; via 0x10022
   100b8:	e1c120b6	strh	r2, [r1, #6]
   100bc:	e15f2ab0	ldrh	r2, =0xe85	; via 0x10024
   100c0:	e1c120ba	strh	r2, [r1, #10]	; 0xa
   100c4:	e15f2ab6	ldrh	r2, =0x2c0	; via 0x10026
   100c8:	e1c120bc	strh	r2, [r1, #12]	; 0xc
   100cc:	e15f2abc	ldrh	r2, =0x40	; via 0x10028
   100d0:	e1c120b8	strh	r2, [r1, #8]
   100d4:	e15f2bb2	ldrh	r2, =0x2a	; via 0x1002a
   100d8:	e1c120be	strh	r2, [r1, #14]	; 0xe
; TCS211 version does the 8 MiB memory bank setup at this point
   100dc:	e10f0000	mrs	r0, CPSR
   100e0:	e3c0001f	bic	r0, r0, #31	; 0x1f
   100e4:	e3800013	orr	r0, r0, #19	; 0x13
   100e8:	e38000c0	orr	r0, r0, #192	; 0xc0
   100ec:	e129f000	msr	CPSR_fc, r0
; bss clearing is done inline here, whereas TCS211 version calls _INT_memset
   100f0:	e59f0304	ldr	r0, =0x1000cf4	; via 0x103fc
   100f4:	e3a02000	mov	r2, #0
   100f8:	e59f1300	ldr	r1, =0x107921c	; via 0x10400
   100fc:	e4802004	str	r2, [r0], #4
   10100:	e1500001	cmp	r0, r1
   10104:	1afffffc	bne	0x100fc
   10108:	e59f02f4	ldr	r0, =0x819450	; via 0x10404
   1010c:	e3a02000	mov	r2, #0
   10110:	e59f12f0	ldr	r1, =0x83eda0	; via 0x10408
   10114:	e4802004	str	r2, [r0], #4
   10118:	e1500001	cmp	r0, r1
   1011c:	1afffffc	bne	0x10114
; setting _INT_Loaded_Flag?
; code matches TCS211 0x10150 from this point onward
   10120:	e3a00001	mov	r0, #1
   10124:	e59f12e4	ldr	r1, =0x107916c	; via 0x10410
   10128:	e5810000	str	r0, [r1]
; stack setup matching 0x1015c in TCS211
   1012c:	e59f02d8	ldr	r0, =0x1079308	; via 0x1040c
   10130:	e3a01b01	mov	r1, #1024	; 0x400
   10134:	e2411004	sub	r1, r1, #4
   10138:	e0802001	add	r2, r0, r1
   1013c:	e1a0a000	mov	r10, r0
   10140:	e59f32cc	ldr	r3, =0x83c148	; via 0x10414
   10144:	e583a000	str	r10, [r3]
   10148:	e1a0d002	mov	sp, r2
   1014c:	e59f32c4	ldr	r3, =0x83c26c	; via 0x10418
   10150:	e583d000	str	sp, [r3]
   10154:	e3a01080	mov	r1, #128	; 0x80
   10158:	e0822001	add	r2, r2, r1
   1015c:	e10f0000	mrs	r0, CPSR
   10160:	e3c0001f	bic	r0, r0, #31	; 0x1f
   10164:	e3800012	orr	r0, r0, #18	; 0x12
   10168:	e129f000	msr	CPSR_fc, r0
   1016c:	e1a0d002	mov	sp, r2
   10170:	e3a01c02	mov	r1, #512	; 0x200
   10174:	e0822001	add	r2, r2, r1
   10178:	e10f0000	mrs	r0, CPSR
   1017c:	e3c0001f	bic	r0, r0, #31	; 0x1f
   10180:	e3800011	orr	r0, r0, #17	; 0x11
   10184:	e129f000	msr	CPSR_fc, r0
   10188:	e1a0d002	mov	sp, r2
   1018c:	e10f0000	mrs	r0, CPSR
   10190:	e3c0001f	bic	r0, r0, #31	; 0x1f
   10194:	e3800017	orr	r0, r0, #23	; 0x17
   10198:	e129f000	msr	CPSR_fc, r0
   1019c:	e59fd288	ldr	sp, =0x1079270	; via 0x1042c
   101a0:	e10f0000	mrs	r0, CPSR
   101a4:	e3c0001f	bic	r0, r0, #31	; 0x1f
   101a8:	e380001b	orr	r0, r0, #27	; 0x1b
   101ac:	e129f000	msr	CPSR_fc, r0
   101b0:	e59fd274	ldr	sp, =0x1079270	; via 0x1042c
   101b4:	e10f0000	mrs	r0, CPSR
   101b8:	e3c0001f	bic	r0, r0, #31	; 0x1f
   101bc:	e3800013	orr	r0, r0, #19	; 0x13
   101c0:	e129f000	msr	CPSR_fc, r0
   101c4:	e59f3250	ldr	r3, =0x83c0b0	; via 0x1041c
   101c8:	e2822004	add	r2, r2, #4
   101cc:	e5832000	str	r2, [r3]
   101d0:	e3a01b01	mov	r1, #1024	; 0x400
   101d4:	e3c11003	bic	r1, r1, #3
   101d8:	e0822001	add	r2, r2, r1
   101dc:	e59f323c	ldr	r3, =0x83c134	; via 0x10420
   101e0:	e5831000	str	r1, [r3]
   101e4:	e3a01002	mov	r1, #2
   101e8:	e59f3234	ldr	r3, =0x83c144	; via 0x10424
   101ec:	e5831000	str	r1, [r3]
   101f0:	e1a04002	mov	r4, r2
   101f4:	eb09153c	bl	0x2556ec	; _f_load_int_mem
   101f8:	e1a02004	mov	r2, r4
   101fc:	e59f1210	ldr	r1, =0x83c148	; via 0x10414
   10200:	e5910000	ldr	r0, [r1]
   10204:	e3a030fe	mov	r3, #254	; 0xfe
   10208:	e5c03000	strb	r3, [r0]
   1020c:	e5c03001	strb	r3, [r0, #1]
   10210:	e5c03002	strb	r3, [r0, #2]
   10214:	e5c03003	strb	r3, [r0, #3]
   10218:	e4903004	ldr	r3, [r0], #4
   1021c:	e4803004	str	r3, [r0], #4
   10220:	e1500002	cmp	r0, r2
   10224:	bafffffc	blt	0x1021c
   10228:	e51f01e4	ldr	r0, =0x1047c	; via 0x1004c
   1022c:	e3700001	cmn	r0, #1
   10230:	1b00007f	blne	0x10434		; _auto_init
   10234:	e59f01ec	ldr	r0, =0x1078744	; via 0x10428
   10238:	ea09151f	b	0x2556bc	; _INC_Initialize

; cinit record for 3 magic byte variables
   10ff0:	00000003
   10ff4:	0083be24
   10ff8:	c000010e

; cinit record for synth_900
   11014:	0000002d
   11018:	0083be30
   1101c:	00000000
   11020:	0000007c
   11024:	000003a7
   11028:	00000004
   1102c:	0000037a
   11030:	00000001
   11034:	000003ce
   11038:	000003ff
   1103c:	0000039d
   11040:	00000004
   11044:	00000370
   11048:	c046c001

; cinit record for synth_1800
   1104c:	00000015
   11050:	0083be60
   11054:	000001ff
   11058:	00000375
   1105c:	0000070d
   11060:	00000001
   11064:	000006ae
   11068:	c046c0ff

; cinit record for synth_1900
   1106c:	00000015
   11070:	0083be78
   11074:	000001ff
   11078:	0000032a
   1107c:	0000078a
   11080:	00000001
   11084:	0000073a
   11088:	c046c0ff

; cinit record for synth_850
   1108c:	00000015
   11090:	0083be90
   11094:	0000007f
   11098:	000000fb
   1109c:	00000365
   110a0:	00000004
   110a4:	00000338
   110a8:	c046c001

; cinit record for Tx magic2 table
   110ac:	0000001f
   110b0:	0083bea8
   110b4:	00061a90
   110b8:	00071ced
   110bc:	00071d4c
   110c0:	00071d4c
   110c4:	00071d4c
   110c8:	00071d4c
   110cc:	00071d4c
   110d0:	c007ffff

; cinit record for EGSM band Rx magic2 table
   110d4:	0000001f
   110d8:	0083bec8
   110dc:	00074b00
   110e0:	00074e20
   110e4:	00074e20
   110e8:	00074e20
   110ec:	00074e20
   110f0:	00074e20
   110f4:	00074e20
   110f8:	c007ffff

; cinit record for DCS band Rx magic2 table
   110fc:	0000001f
   11100:	0083bee8
   11104:	000024b8
   11108:	00002710
   1110c:	00002710
   11110:	00002710
   11114:	00002710
   11118:	00002710
   1111c:	00002710
   11120:	c000ffff

; cinit record for GSM850 band Rx magic2 table
   11124:	0000001f
   11128:	0083bf08
   1112c:	00074b00
   11130:	00074e20
   11134:	00074e20
   11138:	00074e20
   1113c:	00074e20
   11140:	00074e20
   11144:	00074e20
   11148:	c007ffff

; cinit record for PCS band Rx magic2 table
   1114c:	0000001f
   11150:	0083bf28
   11154:	000026de
   11158:	00002710
   1115c:	00002710
   11160:	00002710
   11164:	00002710
   11168:	00002710
   1116c:	00002710
   11170:	c000ffff

; cinit record for EGSM band magic1 table
   11174:	00000040
   11178:	0083bf48
   1117c:	0820001a
   11180:	08540023
   11184:	0847002a
   11188:	08610036
   1118c:	0847003c
   11190:	08610045
   11194:	0847004f
   11198:	083a005e
   1119c:	08470069
   111a0:	08540070
   111a4:	082d0075
   111a8:	0847007c
   111ac:	082003dc
   111b0:	083a03f6
   111b4:	082003ff
   111b8:	082003ff

; cinit record for DCS band magic1 table
   111bc:	00000040
   111c0:	0083bf88
   111c4:	0820023b
   111c8:	08470262
   111cc:	083a029f
   111d0:	082d02b0
   111d4:	083a02cf
   111d8:	086102da
   111dc:	083a02f3
   111e0:	0847031a
   111e4:	0820034d
   111e8:	082d0375
   111ec:	082d0375
   111f0:	082d0375
   111f4:	082d0375
   111f8:	082d0375
   111fc:	082d0375
   11200:	082d0375

; cinit record for GSM850 band magic1 table
   11204:	00000040
   11208:	0083bfc8
   1120c:	092400fb
   11210:	092400fb
   11214:	092400fb
   11218:	092400fb
   1121c:	092400fb
   11220:	092400fb
   11224:	092400fb
   11228:	092400fb
   1122c:	092400fb
   11230:	092400fb
   11234:	092400fb
   11238:	092400fb
   1123c:	092400fb
   11240:	092400fb
   11244:	092400fb
   11248:	092400fb

; cinit record for PCS band magic1 table
   1124c:	00000040
   11250:	0083c008
   11254:	08470226
   11258:	082d0267
   1125c:	083a0282
   11260:	082002be
   11264:	08540309
   11268:	0861032a
   1126c:	0861032a
   11270:	0861032a
   11274:	0861032a
   11278:	0861032a
   1127c:	0861032a
   11280:	0861032a
   11284:	0861032a
   11288:	0861032a
   1128c:	0861032a
   11290:	0861032a

; cinit record for the rf_path array
   11294:	00000050
   11298:	0083c048

; EGSM
   1129c:	16162000
   112a0:	00141612
   112a4:	0083be30
   112a8:	0083bf48
   112ac:	0083bec8

; DCS
   112b0:	16166000
   112b4:	00121614
   112b8:	0083be60
   112bc:	0083bf88
   112c0:	0083bee8

; PCS
   112c4:	16064000
   112c8:	00121614
   112cc:	0083be78
   112d0:	0083c008
   112d4:	0083bf28

; GSM850
   112d8:	16162000
   112dc:	00141612
   112e0:	0083be90
   112e4:	0083bfc8
   112e8:	0083bf08

$l1_dsp_init:
  1fbd20:	b570		push	{r4, r5, r6, lr}
  1fbd22:	4ca2		ldr	r4, =0x83cda0	; via 0x1fbfac
  1fbd24:	48a2		ldr	r0, =0xffd001a8	; via 0x1fbfb0
  1fbd26:	60e0		str	r0, [r4, #12]	; 0xc
  1fbd28:	48a2		ldr	r0, =0xffd00050	; via 0x1fbfb4
  1fbd2a:	6060		str	r0, [r4, #4]
  1fbd2c:	48a2		ldr	r0, =0xffd00000	; via 0x1fbfb8
  1fbd2e:	60a0		str	r0, [r4, #8]
  1fbd30:	48a2		ldr	r0, =0xffd00862	; via 0x1fbfbc
  1fbd32:	6120		str	r0, [r4, #16]	; 0x10
  1fbd34:	2000		mov	r0, #0
  1fbd36:	7020		strb	r0, [r4, #0]
  1fbd38:	7060		strb	r0, [r4, #1]
  1fbd3a:	70a0		strb	r0, [r4, #2]
  1fbd3c:	4ea0		ldr	r6, =0x83ed90	; via 0x1fbfc0
  1fbd3e:	48a1		ldr	r0, =0xffd0035c	; via 0x1fbfc4
  1fbd40:	60b0		str	r0, [r6, #8]
  1fbd42:	48a1		ldr	r0, =0xffd000f0	; via 0x1fbfc8
  1fbd44:	6030		str	r0, [r6, #0]
  1fbd46:	48a1		ldr	r0, =0xffd000a0	; via 0x1fbfcc
  1fbd48:	6070		str	r0, [r6, #4]
  1fbd4a:	48a1		ldr	r0, =0xffd00900	; via 0x1fbfd0
  1fbd4c:	60f0		str	r0, [r6, #12]	; 0xc
  1fbd4e:	48a1		ldr	r0, =0x83c72c	; via 0x1fbfd4
  1fbd50:	6801		ldr	r1, [r0, #0]
  1fbd52:	48a1		ldr	r0, =0xffef	; via 0x1fbfd8
  1fbd54:	880a		ldrh	r2, [r1, #0]
  1fbd56:	4010		and	r0, r2
  1fbd58:	8008		strh	r0, [r1, #0]
  1fbd5a:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbd5c:	7820		ldrb	r0, [r4, #0]
  1fbd5e:	8008		strh	r0, [r1, #0]
  1fbd60:	224a		mov	r2, #74	; 0x4a
  1fbd62:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbd64:	2001		mov	r0, #1
  1fbd66:	5250		strh	r0, [r2, r1]
  1fbd68:	2148		mov	r1, #72	; 0x48
  1fbd6a:	68e0		ldr	r0, [r4, #12]	; 0xc
  1fbd6c:	2500		mov	r5, #0
  1fbd6e:	520d		strh	r5, [r1, r0]
  1fbd70:	20ff		mov	r0, #255	; 0xff
  1fbd72:	30fd		add	r0, #253	; 0xfd
  1fbd74:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbd76:	2240		mov	r2, #64	; 0x40
  1fbd78:	5242		strh	r2, [r0, r1]
  1fbd7a:	2047		mov	r0, #71	; 0x47
  1fbd7c:	00c0		lsl	r0, r0, #3
  1fbd7e:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbd80:	5245		strh	r5, [r0, r1]
  1fbd82:	208f		mov	r0, #143	; 0x8f
  1fbd84:	0081		lsl	r1, r0, #2
  1fbd86:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbd88:	4894		ldr	r0, =0xffff	; via 0x1fbfdc
  1fbd8a:	52c8		strh	r0, [r1, r3]
  1fbd8c:	21ff		mov	r1, #255	; 0xff
  1fbd8e:	3109		add	r1, #9
  1fbd90:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbd92:	52cd		strh	r5, [r1, r3]
  1fbd94:	21ff		mov	r1, #255	; 0xff
  1fbd96:	310d		add	r1, #13	; 0xd
  1fbd98:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbd9a:	52c8		strh	r0, [r1, r3]
  1fbd9c:	2115		mov	r1, #21	; 0x15
  1fbd9e:	0149		lsl	r1, r1, #5
  1fbda0:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbda2:	52cd		strh	r5, [r1, r3]
  1fbda4:	21a9		mov	r1, #169	; 0xa9
  1fbda6:	0089		lsl	r1, r1, #2
  1fbda8:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbdaa:	52c8		strh	r0, [r1, r3]
  1fbdac:	21ff		mov	r1, #255	; 0xff
  1fbdae:	3135		add	r1, #53	; 0x35
  1fbdb0:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbdb2:	52cd		strh	r5, [r1, r3]
  1fbdb4:	21ff		mov	r1, #255	; 0xff
  1fbdb6:	3139		add	r1, #57	; 0x39
  1fbdb8:	68e3		ldr	r3, [r4, #12]	; 0xc
  1fbdba:	52c8		strh	r0, [r1, r3]
  1fbdbc:	4b88		ldr	r3, =0x21a	; via 0x1fbfe0
  1fbdbe:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbdc0:	525a		strh	r2, [r3, r1]
  1fbdc2:	4988		ldr	r1, =0x21e	; via 0x1fbfe4
  1fbdc4:	68e2		ldr	r2, [r4, #12]	; 0xc
  1fbdc6:	5288		strh	r0, [r1, r2]
  1fbdc8:	20ff		mov	r0, #255	; 0xff
  1fbdca:	30cf		add	r0, #207	; 0xcf
  1fbdcc:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbdce:	5245		strh	r5, [r0, r1]
  1fbdd0:	68e0		ldr	r0, [r4, #12]	; 0xc
  1fbdd2:	2101		mov	r1, #1
  1fbdd4:	02c9		lsl	r1, r1, #11
  1fbdd6:	80c1		strh	r1, [r0, #6]
  1fbdd8:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbdda:	4883		ldr	r0, =0x83ce48	; via 0x1fbfe8
  1fbddc:	7800		ldrb	r0, [r0, #0]
  1fbdde:	01c0		lsl	r0, r0, #7
  1fbde0:	2201		mov	r2, #1
  1fbde2:	0252		lsl	r2, r2, #9
  1fbde4:	1a80		sub	r0, r0, r2
  1fbde6:	0540		lsl	r0, r0, #21
  1fbde8:	0f00		lsr	r0, r0, #28
  1fbdea:	01c0		lsl	r0, r0, #7
  1fbdec:	88ca		ldrh	r2, [r1, #6]
  1fbdee:	4310		orr	r0, r2
  1fbdf0:	80c8		strh	r0, [r1, #6]
  1fbdf2:	2254		mov	r2, #84	; 0x54
  1fbdf4:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbdf6:	20ff		mov	r0, #255	; 0xff
  1fbdf8:	3001		add	r0, #1
  1fbdfa:	5250		strh	r0, [r2, r1]
  1fbdfc:	f034 f9fa	bl	0x2301f4	; $l1audio_dsp_init
  1fbe00:	487a		ldr	r0, =0x2d6	; via 0x1fbfec
  1fbe02:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe04:	5245		strh	r5, [r0, r1]
  1fbe06:	205b		mov	r0, #91	; 0x5b
  1fbe08:	00c0		lsl	r0, r0, #3
  1fbe0a:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe0c:	5245		strh	r5, [r0, r1]
  1fbe0e:	4878		ldr	r0, =0x2da	; via 0x1fbff0
  1fbe10:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe12:	5245		strh	r5, [r0, r1]
  1fbe14:	20b7		mov	r0, #183	; 0xb7
  1fbe16:	0080		lsl	r0, r0, #2
  1fbe18:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe1a:	5245		strh	r5, [r0, r1]
  1fbe1c:	4875		ldr	r0, =0x2de	; via 0x1fbff4
  1fbe1e:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe20:	5245		strh	r5, [r0, r1]
  1fbe22:	2017		mov	r0, #23	; 0x17
  1fbe24:	0141		lsl	r1, r0, #5
  1fbe26:	68e0		ldr	r0, [r4, #12]	; 0xc
  1fbe28:	520d		strh	r5, [r1, r0]
  1fbe2a:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe2c:	20ff		mov	r0, #255	; 0xff
  1fbe2e:	307a		add	r0, #122	; 0x7a
  1fbe30:	8088		strh	r0, [r1, #4]
  1fbe32:	20ff		mov	r0, #255	; 0xff
  1fbe34:	3061		add	r0, #97	; 0x61
  1fbe36:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe38:	5245		strh	r5, [r0, r1]
  1fbe3a:	20ff		mov	r0, #255	; 0xff
  1fbe3c:	3063		add	r0, #99	; 0x63
  1fbe3e:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe40:	5245		strh	r5, [r0, r1]
  1fbe42:	20ff		mov	r0, #255	; 0xff
  1fbe44:	3065		add	r0, #101	; 0x65
  1fbe46:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe48:	5245		strh	r5, [r0, r1]
  1fbe4a:	20ff		mov	r0, #255	; 0xff
  1fbe4c:	3067		add	r0, #103	; 0x67
  1fbe4e:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe50:	5245		strh	r5, [r0, r1]
  1fbe52:	20ff		mov	r0, #255	; 0xff
  1fbe54:	3069		add	r0, #105	; 0x69
  1fbe56:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe58:	5245		strh	r5, [r0, r1]
  1fbe5a:	20ff		mov	r0, #255	; 0xff
  1fbe5c:	306b		add	r0, #107	; 0x6b
  1fbe5e:	68e1		ldr	r1, [r4, #12]	; 0xc
  1fbe60:	5245		strh	r5, [r0, r1]
  1fbe62:	68b0		ldr	r0, [r6, #8]
  1fbe64:	8005		strh	r5, [r0, #0]
  1fbe66:	68b0		ldr	r0, [r6, #8]
  1fbe68:	2102		mov	r1, #2
  1fbe6a:	8381		strh	r1, [r0, #28]	; 0x1c
  1fbe6c:	20ff		mov	r0, #255	; 0xff
  1fbe6e:	3085		add	r0, #133	; 0x85
  1fbe70:	68b1		ldr	r1, [r6, #8]
  1fbe72:	5245		strh	r5, [r0, r1]
  1fbe74:	4850		ldr	r0, =0xffd00000	; via 0x1fbfb8
  1fbe76:	f05a f877	bl	0x255f68
  1fbe7a:	485f		ldr	r0, =0xffd00028	; via 0x1fbff8
  1fbe7c:	f05a f874	bl	0x255f68
  1fbe80:	484c		ldr	r0, =0xffd00050	; via 0x1fbfb4
  1fbe82:	f05a f879	bl	0x255f78
  1fbe86:	485d		ldr	r0, =0xffd00078	; via 0x1fbffc
  1fbe88:	f05a f876	bl	0x255f78
  1fbe8c:	bd70		pop	{r4, r5, r6, pc}

$l1_tpu_init:
  1fbe8e:	b500		push	{lr}
  1fbe90:	f05a f972	bl	0x256178	; $l1dmacro_init_hw
  1fbe94:	494f		ldr	r1, =0x83c72c	; via 0x1fbfd4
  1fbe96:	485a		ldr	r0, =0xffff1000	; via 0x1fc000
  1fbe98:	6008		str	r0, [r1, #0]
  1fbe9a:	bd00		pop	{pc}

$l1_tpu_init_light:
  1fbe9c:	b500		push	{lr}
  1fbe9e:	f05a f963	bl	0x256168	; $l1dmacro_init_hw_light
  1fbea2:	494c		ldr	r1, =0x83c72c	; via 0x1fbfd4
  1fbea4:	4856		ldr	r0, =0xffff1000	; via 0x1fc000
  1fbea6:	6008		str	r0, [r1, #0]
  1fbea8:	bd00		pop	{pc}

$l1_abb_power_on:
  1fbeaa:	b530		push	{r4, r5, lr}
  1fbeac:	b08a		sub	sp, #40	; 0x28
  1fbeae:	2000		mov	r0, #0
  1fbeb0:	9003		str	r0, [sp, #12]	; 0xc
  1fbeb2:	213c		mov	r1, #60	; 0x3c
  1fbeb4:	9104		str	r1, [sp, #16]	; 0x10
  1fbeb6:	466a		mov	r2, sp
  1fbeb8:	2105		mov	r1, #5
  1fbeba:	8291		strh	r1, [r2, #20]	; 0x14
  1fbebc:	9006		str	r0, [sp, #24]	; 0x18
  1fbebe:	2101		mov	r1, #1
  1fbec0:	9107		str	r1, [sp, #28]	; 0x1c
  1fbec2:	9008		str	r0, [sp, #32]	; 0x20
  1fbec4:	9009		str	r0, [sp, #36]	; 0x24
  1fbec6:	a803		add	r0, sp, #12	; 0xc
  1fbec8:	f7c2 f98b	bl	0x1be1e2
  1fbecc:	f7c2 fc23	bl	0x1be716
  1fbed0:	f7c3 f806	bl	0x1beee0
  1fbed4:	2000		mov	r0, #0
  1fbed6:	2136		mov	r1, #54	; 0x36
  1fbed8:	f7c2 fa70	bl	0x1be3bc
  1fbedc:	2005		mov	r0, #5
  1fbede:	0340		lsl	r0, r0, #13
  1fbee0:	f7c2 fe98	bl	0x1bec14
  1fbee4:	20ff		mov	r0, #255	; 0xff
  1fbee6:	2100		mov	r1, #0
  1fbee8:	f7c2 fbbc	bl	0x1be664
  1fbeec:	4d45		ldr	r5, =0x10734cc	; via 0x1fc004
  1fbeee:	2058		mov	r0, #88	; 0x58
  1fbef0:	1944		add	r4, r0, r5
  1fbef2:	1c20		add	r0, r4, #0
  1fbef4:	21fe		mov	r1, #254	; 0xfe
  1fbef6:	2201		mov	r2, #1
  1fbef8:	0252		lsl	r2, r2, #9
  1fbefa:	f059 ffd5	bl	0x255ea8
  1fbefe:	9400		str	r4, [sp, #0]
  1fbf00:	2001		mov	r0, #1
  1fbf02:	0240		lsl	r0, r0, #9
  1fbf04:	9001		str	r0, [sp, #4]
  1fbf06:	1c28		add	r0, r5, #0
  1fbf08:	a125		add	r1, pc, #148	; 0x94
  1fbf0a:	4a3f		ldr	r2, =0x22d8a7	; via 0x1fc008
  1fbf0c:	2302		mov	r3, #2
  1fbf0e:	f05a fb3b	bl	0x256588
  1fbf12:	4c27		ldr	r4, =0xffd001a8	; via 0x1fbfb0
  1fbf14:	483d		ldr	r0, =0x83cdf1	; via 0x1fc00c
  1fbf16:	7800		ldrb	r0, [r0, #0]
  1fbf18:	2800		cmp	r0, #0
  1fbf1a:	d108		bne	0x1fbf2e
  1fbf1c:	20ff		mov	r0, #255	; 0xff
  1fbf1e:	30dd		add	r0, #221	; 0xdd
  1fbf20:	1900		add	r0, r0, r4
  1fbf22:	2100		mov	r1, #0
  1fbf24:	2200		mov	r2, #0
  1fbf26:	2301		mov	r3, #1
  1fbf28:	f05a fbb6	bl	0x256698
  1fbf2c:	e007		b	0x1fbf3e
  1fbf2e:	20ff		mov	r0, #255	; 0xff
  1fbf30:	30dd		add	r0, #221	; 0xdd
  1fbf32:	1900		add	r0, r0, r4
  1fbf34:	2105		mov	r1, #5
  1fbf36:	2205		mov	r2, #5
  1fbf38:	2301		mov	r3, #1
  1fbf3a:	f05a fbad	bl	0x256698
  1fbf3e:	48f6		ldr	r0, =0x83cdb4	; via 0x1fc318
  1fbf40:	2196		mov	r1, #150	; 0x96
  1fbf42:	5a09		ldrh	r1, [r1, r0]
  1fbf44:	8121		strh	r1, [r4, #8]
  1fbf46:	2198		mov	r1, #152	; 0x98
  1fbf48:	5a09		ldrh	r1, [r1, r0]
  1fbf4a:	8661		strh	r1, [r4, #50]	; 0x32
  1fbf4c:	219a		mov	r1, #154	; 0x9a
  1fbf4e:	5a09		ldrh	r1, [r1, r0]
  1fbf50:	86a1		strh	r1, [r4, #52]	; 0x34
  1fbf52:	219c		mov	r1, #156	; 0x9c
  1fbf54:	5a09		ldrh	r1, [r1, r0]
  1fbf56:	86e1		strh	r1, [r4, #54]	; 0x36
  1fbf58:	4a2d		ldr	r2, =0xffd001e8	; via 0x1fc010
  1fbf5a:	219e		mov	r1, #158	; 0x9e
  1fbf5c:	5a09		ldrh	r1, [r1, r0]
  1fbf5e:	80d1		strh	r1, [r2, #6]
  1fbf60:	21a0		mov	r1, #160	; 0xa0
  1fbf62:	5a09		ldrh	r1, [r1, r0]
  1fbf64:	8621		strh	r1, [r4, #48]	; 0x30
  1fbf66:	21a2		mov	r1, #162	; 0xa2
  1fbf68:	5a09		ldrh	r1, [r1, r0]
  1fbf6a:	8761		strh	r1, [r4, #58]	; 0x3a
  1fbf6c:	21a4		mov	r1, #164	; 0xa4
  1fbf6e:	5a09		ldrh	r1, [r1, r0]
  1fbf70:	87a1		strh	r1, [r4, #60]	; 0x3c
  1fbf72:	21a6		mov	r1, #166	; 0xa6
  1fbf74:	5a09		ldrh	r1, [r1, r0]
  1fbf76:	87e1		strh	r1, [r4, #62]	; 0x3e
  1fbf78:	21a8		mov	r1, #168	; 0xa8
  1fbf7a:	5a09		ldrh	r1, [r1, r0]
  1fbf7c:	8011		strh	r1, [r2, #0]
  1fbf7e:	21aa		mov	r1, #170	; 0xaa
  1fbf80:	5a09		ldrh	r1, [r1, r0]
  1fbf82:	8051		strh	r1, [r2, #2]
  1fbf84:	21ac		mov	r1, #172	; 0xac
  1fbf86:	5a09		ldrh	r1, [r1, r0]
  1fbf88:	8091		strh	r1, [r2, #4]
  1fbf8a:	21ae		mov	r1, #174	; 0xae
  1fbf8c:	5a09		ldrh	r1, [r1, r0]
  1fbf8e:	85e1		strh	r1, [r4, #46]	; 0x2e
  1fbf90:	21b0		mov	r1, #176	; 0xb0
  1fbf92:	5a09		ldrh	r1, [r1, r0]
  1fbf94:	8721		strh	r1, [r4, #56]	; 0x38
  1fbf96:	21b2		mov	r1, #178	; 0xb2
  1fbf98:	5a08		ldrh	r0, [r1, r0]
  1fbf9a:	85a0		strh	r0, [r4, #44]	; 0x2c
  1fbf9c:	b00a		add	sp, #40	; 0x28
  1fbf9e:	bd30		pop	{r4, r5, pc}

$l1_initialize_var:
  1fc014:	b5f0		push	{r4, r5, r6, r7, lr}
  1fc016:	4640		mov	r0, r8
  1fc018:	b401		push	{r0}
  1fc01a:	2700		mov	r7, #0
  1fc01c:	0638		lsl	r0, r7, #24
  1fc01e:	0e00		lsr	r0, r0, #24
  1fc020:	4cf6		ldr	r4, =0x83c738	; via 0x1fc3fc
  1fc022:	215e		mov	r1, #94	; 0x5e
  1fc024:	5508		strb	r0, [r1, r4]
  1fc026:	215f		mov	r1, #95	; 0x5f
  1fc028:	5508		strb	r0, [r1, r4]
  1fc02a:	6627		str	r7, [r4, #96]	; 0x60
  1fc02c:	2164		mov	r1, #100	; 0x64
  1fc02e:	5508		strb	r0, [r1, r4]
  1fc030:	66a7		str	r7, [r4, #104]	; 0x68
  1fc032:	215d		mov	r1, #93	; 0x5d
  1fc034:	5508		strb	r0, [r1, r4]
  1fc036:	7260		strb	r0, [r4, #9]
  1fc038:	205c		mov	r0, #92	; 0x5c
  1fc03a:	5507		strb	r7, [r0, r4]
  1fc03c:	2002		mov	r0, #2
  1fc03e:	4680		mov	r8, r0
  1fc040:	7220		strb	r0, [r4, #8]
  1fc042:	48fb		ldr	r0, =0x83ce6c	; via 0x1fc430
  1fc044:	c803		ldmia	r0!, {r0, r1}
  1fc046:	a2ee		add	r2, pc, #952	; 0x3b8
  1fc048:	ca0c		ldmia	r2!, {r2, r3}
  1fc04a:	f055 fced	bl	0x251a28
  1fc04e:	1c05		add	r5, r0, #0
  1fc050:	1c0e		add	r6, r1, #0
  1fc052:	a2ed		add	r2, pc, #948	; 0x3b4
  1fc054:	ca0c		ldmia	r2!, {r2, r3}
  1fc056:	f053 ffb9	bl	0x24ffcc
  1fc05a:	f058 fd3f	bl	0x254adc
  1fc05e:	66e0		str	r0, [r4, #108]	; 0x6c
  1fc060:	f059 f922	bl	0x2552a8
  1fc064:	a2e8		add	r2, pc, #928	; 0x3a0
  1fc066:	ca0c		ldmia	r2!, {r2, r3}
  1fc068:	f055 fcde	bl	0x251a28
  1fc06c:	1c02		add	r2, r0, #0
  1fc06e:	1c0b		add	r3, r1, #0
  1fc070:	1c28		add	r0, r5, #0
  1fc072:	1c31		add	r1, r6, #0
  1fc074:	f051 fe3a	bl	0x24dcec
  1fc078:	a2e5		add	r2, pc, #916	; 0x394
  1fc07a:	ca0c		ldmia	r2!, {r2, r3}
  1fc07c:	f055 fcd4	bl	0x251a28
  1fc080:	f058 fd2c	bl	0x254adc
  1fc084:	f059 f910	bl	0x2552a8
  1fc088:	a2df		add	r2, pc, #892	; 0x37c
  1fc08a:	ca0c		ldmia	r2!, {r2, r3}
  1fc08c:	f053 ff9e	bl	0x24ffcc
  1fc090:	f058 fd24	bl	0x254adc
  1fc094:	6720		str	r0, [r4, #112]	; 0x70
  1fc096:	1c28		add	r0, r5, #0
  1fc098:	1c31		add	r1, r6, #0
  1fc09a:	a2df		add	r2, pc, #892	; 0x37c
  1fc09c:	ca0c		ldmia	r2!, {r2, r3}
  1fc09e:	f053 ff95	bl	0x24ffcc
  1fc0a2:	f058 fd1b	bl	0x254adc
  1fc0a6:	6760		str	r0, [r4, #116]	; 0x74
  1fc0a8:	f059 f8fe	bl	0x2552a8
  1fc0ac:	a2da		add	r2, pc, #872	; 0x368
  1fc0ae:	ca0c		ldmia	r2!, {r2, r3}
  1fc0b0:	f055 fcba	bl	0x251a28
  1fc0b4:	1c02		add	r2, r0, #0
  1fc0b6:	1c0b		add	r3, r1, #0
  1fc0b8:	1c28		add	r0, r5, #0
  1fc0ba:	1c31		add	r1, r6, #0
  1fc0bc:	f051 fe16	bl	0x24dcec
  1fc0c0:	a2d3		add	r2, pc, #844	; 0x34c
  1fc0c2:	ca0c		ldmia	r2!, {r2, r3}
  1fc0c4:	f055 fcb0	bl	0x251a28
  1fc0c8:	f058 fd08	bl	0x254adc
  1fc0cc:	f059 f8ec	bl	0x2552a8
  1fc0d0:	a2d1		add	r2, pc, #836	; 0x344
  1fc0d2:	ca0c		ldmia	r2!, {r2, r3}
  1fc0d4:	f053 ff7a	bl	0x24ffcc
  1fc0d8:	f058 fd00	bl	0x254adc
  1fc0dc:	67a0		str	r0, [r4, #120]	; 0x78
  1fc0de:	1c28		add	r0, r5, #0
  1fc0e0:	1c31		add	r1, r6, #0
  1fc0e2:	a2cf		add	r2, pc, #828	; 0x33c
  1fc0e4:	ca0c		ldmia	r2!, {r2, r3}
  1fc0e6:	f055 fc9f	bl	0x251a28
  1fc0ea:	f058 fcf7	bl	0x254adc
  1fc0ee:	67e0		str	r0, [r4, #124]	; 0x7c
  1fc0f0:	1c28		add	r0, r5, #0
  1fc0f2:	1c31		add	r1, r6, #0
  1fc0f4:	a2cc		add	r2, pc, #816	; 0x330
  1fc0f6:	ca0c		ldmia	r2!, {r2, r3}
  1fc0f8:	f055 fc96	bl	0x251a28
  1fc0fc:	f058 fcee	bl	0x254adc
  1fc100:	2180		mov	r1, #128	; 0x80
  1fc102:	5108		str	r0, [r1, r4]
  1fc104:	2084		mov	r0, #132	; 0x84
  1fc106:	5107		str	r7, [r0, r4]
  1fc108:	2200		mov	r2, #0
  1fc10a:	00d0		lsl	r0, r2, #3
  1fc10c:	1820		add	r0, r4, r0
  1fc10e:	3088		add	r0, #136	; 0x88
  1fc110:	7007		strb	r7, [r0, #0]
  1fc112:	4641		mov	r1, r8
  1fc114:	7041		strb	r1, [r0, #1]
  1fc116:	1c50		add	r0, r2, #1
  1fc118:	0600		lsl	r0, r0, #24
  1fc11a:	0e02		lsr	r2, r0, #24
  1fc11c:	2a2e		cmp	r2, #46	; 0x2e
  1fc11e:	dbf4		blt	0x1fc10a
  1fc120:	20ff		mov	r0, #255	; 0xff
  1fc122:	30f9		add	r0, #249	; 0xf9
  1fc124:	5507		strb	r7, [r0, r4]
  1fc126:	20ff		mov	r0, #255	; 0xff
  1fc128:	30fa		add	r0, #250	; 0xfa
  1fc12a:	5507		strb	r7, [r0, r4]
  1fc12c:	20ff		mov	r0, #255	; 0xff
  1fc12e:	30fb		add	r0, #251	; 0xfb
  1fc130:	5507		strb	r7, [r0, r4]
  1fc132:	20ff		mov	r0, #255	; 0xff
  1fc134:	30fd		add	r0, #253	; 0xfd
  1fc136:	1900		add	r0, r0, r4
  1fc138:	f059 ff36	bl	0x255fa8
  1fc13c:	4d76		ldr	r5, =0x83cdb4	; via 0x1fc318
  1fc13e:	2029		mov	r0, #41	; 0x29
  1fc140:	0141		lsl	r1, r0, #5
  1fc142:	2074		mov	r0, #116	; 0x74
  1fc144:	5f40		ldrsh	r0, [r0, r5]
  1fc146:	10c0		asr	r0, r0, #3
  1fc148:	5308		strh	r0, [r1, r4]
  1fc14a:	48ba		ldr	r0, =0x51c	; via 0x1fc434
  1fc14c:	5107		str	r7, [r0, r4]
  1fc14e:	48ba		ldr	r0, =0x522	; via 0x1fc438
  1fc150:	2180		mov	r1, #128	; 0x80
  1fc152:	5301		strh	r1, [r0, r4]
  1fc154:	48b9		ldr	r0, =0x524	; via 0x1fc43c
  1fc156:	5507		strb	r7, [r0, r4]
  1fc158:	48b9		ldr	r0, =0x526	; via 0x1fc440
  1fc15a:	5307		strh	r7, [r0, r4]
  1fc15c:	20a5		mov	r0, #165	; 0xa5
  1fc15e:	00c0		lsl	r0, r0, #3
  1fc160:	5507		strb	r7, [r0, r4]
  1fc162:	48b8		ldr	r0, =0x52a	; via 0x1fc444
  1fc164:	5307		strh	r7, [r0, r4]
  1fc166:	48b8		ldr	r0, =0x52c	; via 0x1fc448
  1fc168:	5307		strh	r7, [r0, r4]
  1fc16a:	20a7		mov	r0, #167	; 0xa7
  1fc16c:	00c0		lsl	r0, r0, #3
  1fc16e:	5507		strb	r7, [r0, r4]
  1fc170:	2053		mov	r0, #83	; 0x53
  1fc172:	0100		lsl	r0, r0, #4
  1fc174:	5107		str	r7, [r0, r4]
  1fc176:	48b5		ldr	r0, =0x534	; via 0x1fc44c
  1fc178:	5307		strh	r7, [r0, r4]
  1fc17a:	48b5		ldr	r0, =0x536	; via 0x1fc450
  1fc17c:	5507		strb	r7, [r0, r4]
  1fc17e:	48b5		ldr	r0, =0x537	; via 0x1fc454
  1fc180:	5507		strb	r7, [r0, r4]
  1fc182:	48b5		ldr	r0, =0x539	; via 0x1fc458
  1fc184:	5507		strb	r7, [r0, r4]
  1fc186:	48b5		ldr	r0, =0x53c	; via 0x1fc45c
  1fc188:	5107		str	r7, [r0, r4]
  1fc18a:	2055		mov	r0, #85	; 0x55
  1fc18c:	0100		lsl	r0, r0, #4
  1fc18e:	5507		strb	r7, [r0, r4]
  1fc190:	20a9		mov	r0, #169	; 0xa9
  1fc192:	00c0		lsl	r0, r0, #3
  1fc194:	5107		str	r7, [r0, r4]
  1fc196:	48b2		ldr	r0, =0x54c	; via 0x1fc460
  1fc198:	5307		strh	r7, [r0, r4]
  1fc19a:	48b2		ldr	r0, =0x54e	; via 0x1fc464
  1fc19c:	5507		strb	r7, [r0, r4]
  1fc19e:	48b2		ldr	r0, =0x54f	; via 0x1fc468
  1fc1a0:	5507		strb	r7, [r0, r4]
  1fc1a2:	48b2		ldr	r0, =0x551	; via 0x1fc46c
  1fc1a4:	5507		strb	r7, [r0, r4]
  1fc1a6:	48b2		ldr	r0, =0x554	; via 0x1fc470
  1fc1a8:	5107		str	r7, [r0, r4]
  1fc1aa:	48b2		ldr	r0, =0x544	; via 0x1fc474
  1fc1ac:	5107		str	r7, [r0, r4]
  1fc1ae:	48b2		ldr	r0, =0x55c	; via 0x1fc478
  1fc1b0:	5107		str	r7, [r0, r4]
  1fc1b2:	202b		mov	r0, #43	; 0x2b
  1fc1b4:	0140		lsl	r0, r0, #5
  1fc1b6:	1900		add	r0, r0, r4
  1fc1b8:	21a9		mov	r1, #169	; 0xa9
  1fc1ba:	00c9		lsl	r1, r1, #3
  1fc1bc:	1909		add	r1, r1, r4
  1fc1be:	2218		mov	r2, #24	; 0x18
  1fc1c0:	f059 fc72	bl	0x255aa8
  1fc1c4:	202b		mov	r0, #43	; 0x2b
  1fc1c6:	0140		lsl	r0, r0, #5
  1fc1c8:	1900		add	r0, r0, r4
  1fc1ca:	2101		mov	r1, #1
  1fc1cc:	f059 fedc	bl	0x255f88
  1fc1d0:	48aa		ldr	r0, =0x665	; via 0x1fc47c
  1fc1d2:	5507		strb	r7, [r0, r4]
  1fc1d4:	20af		mov	r0, #175	; 0xaf
  1fc1d6:	00c0		lsl	r0, r0, #3
  1fc1d8:	5507		strb	r7, [r0, r4]
  1fc1da:	48a9		ldr	r0, =0x579	; via 0x1fc480
  1fc1dc:	5507		strb	r7, [r0, r4]
  1fc1de:	48a9		ldr	r0, =0x57a	; via 0x1fc484
  1fc1e0:	5507		strb	r7, [r0, r4]
  1fc1e2:	48a9		ldr	r0, =0x57c	; via 0x1fc488
  1fc1e4:	5107		str	r7, [r0, r4]
  1fc1e6:	200b		mov	r0, #11	; 0xb
  1fc1e8:	01c0		lsl	r0, r0, #7
  1fc1ea:	5307		strh	r7, [r0, r4]
  1fc1ec:	48a7		ldr	r0, =0x664	; via 0x1fc48c
  1fc1ee:	21ff		mov	r1, #255	; 0xff
  1fc1f0:	5501		strb	r1, [r0, r4]
  1fc1f2:	48a7		ldr	r0, =0x584	; via 0x1fc490
  1fc1f4:	5307		strh	r7, [r0, r4]
  1fc1f6:	48a7		ldr	r0, =0x586	; via 0x1fc494
  1fc1f8:	5307		strh	r7, [r0, r4]
  1fc1fa:	20b1		mov	r0, #177	; 0xb1
  1fc1fc:	00c0		lsl	r0, r0, #3
  1fc1fe:	5307		strh	r7, [r0, r4]
  1fc200:	49a5		ldr	r1, =0x58a	; via 0x1fc498
  1fc202:	48a6		ldr	r0, =0x1379	; via 0x1fc49c
  1fc204:	5308		strh	r0, [r1, r4]
  1fc206:	49a6		ldr	r1, =0x58c	; via 0x1fc4a0
  1fc208:	20ff		mov	r0, #255	; 0xff
  1fc20a:	3021		add	r0, #33	; 0x21
  1fc20c:	5308		strh	r0, [r1, r4]
  1fc20e:	49a5		ldr	r1, =0x58e	; via 0x1fc4a4
  1fc210:	48a5		ldr	r0, =0x404	; via 0x1fc4a8
  1fc212:	5308		strh	r0, [r1, r4]
  1fc214:	49a5		ldr	r1, =0x1075f74	; via 0x1fc4ac
  1fc216:	2229		mov	r2, #41	; 0x29
  1fc218:	1c08		add	r0, r1, #0
  1fc21a:	62c7		str	r7, [r0, #44]	; 0x2c
  1fc21c:	700f		strb	r7, [r1, #0]
  1fc21e:	3004		add	r0, #4
  1fc220:	3101		add	r1, #1
  1fc222:	3a01		sub	r2, #1
  1fc224:	2a00		cmp	r2, #0
  1fc226:	d1f8		bne	0x1fc21a
  1fc228:	48a0		ldr	r0, =0x1075f74	; via 0x1fc4ac
  1fc22a:	21d0		mov	r1, #208	; 0xd0
  1fc22c:	540f		strb	r7, [r1, r0]
  1fc22e:	4ca0		ldr	r4, =0x83cef0	; via 0x1fc4b0
  1fc230:	49a0		ldr	r1, =0xc48	; via 0x1fc4b4
  1fc232:	2001		mov	r0, #1
  1fc234:	5508		strb	r0, [r1, r4]
  1fc236:	48a0		ldr	r0, =0xc44	; via 0x1fc4b8
  1fc238:	5107		str	r7, [r0, r4]
  1fc23a:	1c20		add	r0, r4, #0
  1fc23c:	f010 febe	bl	0x20cfbc
  1fc240:	6367		str	r7, [r4, #52]	; 0x34
  1fc242:	63a7		str	r7, [r4, #56]	; 0x38
  1fc244:	63e7		str	r7, [r4, #60]	; 0x3c
  1fc246:	6427		str	r7, [r4, #64]	; 0x40
  1fc248:	6467		str	r7, [r4, #68]	; 0x44
  1fc24a:	64a7		str	r7, [r4, #72]	; 0x48
  1fc24c:	204c		mov	r0, #76	; 0x4c
  1fc24e:	5507		strb	r7, [r0, r4]
  1fc250:	2155		mov	r1, #85	; 0x55
  1fc252:	2070		mov	r0, #112	; 0x70
  1fc254:	5d40		ldrb	r0, [r0, r5]
  1fc256:	5508		strb	r0, [r1, r4]
  1fc258:	2059		mov	r0, #89	; 0x59
  1fc25a:	2170		mov	r1, #112	; 0x70
  1fc25c:	5d49		ldrb	r1, [r1, r5]
  1fc25e:	5501		strb	r1, [r0, r4]
  1fc260:	205d		mov	r0, #93	; 0x5d
  1fc262:	2170		mov	r1, #112	; 0x70
  1fc264:	5d49		ldrb	r1, [r1, r5]
  1fc266:	5501		strb	r1, [r0, r4]
  1fc268:	2054		mov	r0, #84	; 0x54
  1fc26a:	5507		strb	r7, [r0, r4]
  1fc26c:	2058		mov	r0, #88	; 0x58
  1fc26e:	5507		strb	r7, [r0, r4]
  1fc270:	205c		mov	r0, #92	; 0x5c
  1fc272:	5507		strb	r7, [r0, r4]
  1fc274:	20b8		mov	r0, #184	; 0xb8
  1fc276:	5507		strb	r7, [r0, r4]
  1fc278:	20b9		mov	r0, #185	; 0xb9
  1fc27a:	5507		strb	r7, [r0, r4]
  1fc27c:	21ba		mov	r1, #186	; 0xba
  1fc27e:	4640		mov	r0, r8
  1fc280:	5508		strb	r0, [r1, r4]
  1fc282:	2060		mov	r0, #96	; 0x60
  1fc284:	5507		strb	r7, [r0, r4]
  1fc286:	208c		mov	r0, #140	; 0x8c
  1fc288:	5507		strb	r7, [r0, r4]
  1fc28a:	20d7		mov	r0, #215	; 0xd7
  1fc28c:	00c0		lsl	r0, r0, #3
  1fc28e:	5507		strb	r7, [r0, r4]
  1fc290:	488a		ldr	r0, =0x737	; via 0x1fc4bc
  1fc292:	5507		strb	r7, [r0, r4]
  1fc294:	498a		ldr	r1, =0x83d628	; via 0x1fc4c0
  1fc296:	488b		ldr	r0, =0x83d5ac	; via 0x1fc4c4
  1fc298:	2206		mov	r2, #6
  1fc29a:	7007		strb	r7, [r0, #0]
  1fc29c:	700f		strb	r7, [r1, #0]
  1fc29e:	3014		add	r0, #20	; 0x14
  1fc2a0:	3114		add	r1, #20	; 0x14
  1fc2a2:	3a01		sub	r2, #1
  1fc2a4:	2a00		cmp	r2, #0
  1fc2a6:	d1f8		bne	0x1fc29a
  1fc2a8:	4c81		ldr	r4, =0x83cef0	; via 0x1fc4b0
  1fc2aa:	2033		mov	r0, #51	; 0x33
  1fc2ac:	0100		lsl	r0, r0, #4
  1fc2ae:	5307		strh	r7, [r0, r4]
  1fc2b0:	4885		ldr	r0, =0x335	; via 0x1fc4c8
  1fc2b2:	5507		strb	r7, [r0, r4]
  1fc2b4:	4885		ldr	r0, =0x336	; via 0x1fc4cc
  1fc2b6:	5507		strb	r7, [r0, r4]
  1fc2b8:	2067		mov	r0, #103	; 0x67
  1fc2ba:	00c1		lsl	r1, r0, #3
  1fc2bc:	2000		mov	r0, #0
  1fc2be:	5108		str	r0, [r1, r4]
  1fc2c0:	21cf		mov	r1, #207	; 0xcf
  1fc2c2:	0089		lsl	r1, r1, #2
  1fc2c4:	5108		str	r0, [r1, r4]
  1fc2c6:	4882		ldr	r0, =0x6a4	; via 0x1fc4d0
  1fc2c8:	5107		str	r7, [r0, r4]
  1fc2ca:	20d5		mov	r0, #213	; 0xd5
  1fc2cc:	00c0		lsl	r0, r0, #3
  1fc2ce:	5507		strb	r7, [r0, r4]
  1fc2d0:	4880		ldr	r0, =0x6a9	; via 0x1fc4d4
  1fc2d2:	5507		strb	r7, [r0, r4]
  1fc2d4:	4880		ldr	r0, =0x6aa	; via 0x1fc4d8
  1fc2d6:	5307		strh	r7, [r0, r4]
  1fc2d8:	4880		ldr	r0, =0x6ac	; via 0x1fc4dc
  1fc2da:	5307		strh	r7, [r0, r4]
  1fc2dc:	4880		ldr	r0, =0x6ae	; via 0x1fc4e0
  1fc2de:	5307		strh	r7, [r0, r4]
  1fc2e0:	206b		mov	r0, #107	; 0x6b
  1fc2e2:	0100		lsl	r0, r0, #4
  1fc2e4:	5507		strb	r7, [r0, r4]
  1fc2e6:	487f		ldr	r0, =0x6b1	; via 0x1fc4e4
  1fc2e8:	5507		strb	r7, [r0, r4]
  1fc2ea:	487f		ldr	r0, =0x6b2	; via 0x1fc4e8
  1fc2ec:	5507		strb	r7, [r0, r4]
  1fc2ee:	f010 fd42	bl	0x20cd76
  1fc2f2:	f010 fd11	bl	0x20cd18
  1fc2f6:	487d		ldr	r0, =0x958	; via 0x1fc4ec
  1fc2f8:	5507		strb	r7, [r0, r4]
  1fc2fa:	f044 faca	bl	0x240892
  1fc2fe:	487c		ldr	r0, =0xc16	; via 0x1fc4f0
  1fc300:	1900		add	r0, r0, r4
  1fc302:	497c		ldr	r1, =0xbe8	; via 0x1fc4f4
  1fc304:	190a		add	r2, r1, r4
  1fc306:	212e		mov	r1, #46	; 0x2e
  1fc308:	7017		strb	r7, [r2, #0]
  1fc30a:	7007		strb	r7, [r0, #0]
  1fc30c:	3201		add	r2, #1
  1fc30e:	3001		add	r0, #1
  1fc310:	3901		sub	r1, #1
  1fc312:	2900		cmp	r1, #0
  1fc314:	d1f8		bne	0x1fc308
  1fc316:	e001		b	0x1fc31c

  1fc318:	0083cdb4

  1fc31c:	4876		ldr	r0, =0xc4c	; via 0x1fc4f8
  1fc31e:	5107		str	r7, [r0, r4]
  1fc320:	20c5		mov	r0, #197	; 0xc5
  1fc322:	0100		lsl	r0, r0, #4
  1fc324:	5107		str	r7, [r0, r4]
  1fc326:	4975		ldr	r1, =0xc54	; via 0x1fc4fc
  1fc328:	2001		mov	r0, #1
  1fc32a:	5108		str	r0, [r1, r4]
  1fc32c:	4874		ldr	r0, =0xc58	; via 0x1fc500
  1fc32e:	5107		str	r7, [r0, r4]
  1fc330:	4874		ldr	r0, =0xc5c	; via 0x1fc504
  1fc332:	5507		strb	r7, [r0, r4]
  1fc334:	2063		mov	r0, #99	; 0x63
  1fc336:	0140		lsl	r0, r0, #5
  1fc338:	1903		add	r3, r0, r4
  1fc33a:	4873		ldr	r0, =0xc61	; via 0x1fc508
  1fc33c:	1900		add	r0, r0, r4
  1fc33e:	4973		ldr	r1, =0x83cdb4	; via 0x1fc50c
  1fc340:	2270		mov	r2, #112	; 0x70
  1fc342:	5c52		ldrb	r2, [r2, r1]
  1fc344:	6949		ldr	r1, [r1, #20]	; 0x14
  1fc346:	1c49		add	r1, r1, #1
  1fc348:	7002		strb	r2, [r0, #0]
  1fc34a:	701f		strb	r7, [r3, #0]
  1fc34c:	3004		add	r0, #4
  1fc34e:	3304		add	r3, #4
  1fc350:	3901		sub	r1, #1
  1fc352:	2900		cmp	r1, #0
  1fc354:	d1f8		bne	0x1fc348
  1fc356:	f034 f843	bl	0x2303e0
  1fc35a:	f6cb faba	bl	0xc78d2
  1fc35e:	bc01		pop	{r0}
  1fc360:	4680		mov	r8, r0
  1fc362:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1_initialize:
  1fc364:	b570		push	{r4, r5, r6, lr}
  1fc366:	1c05		add	r5, r0, #0
  1fc368:	f051 f908	bl	0x24d57c
  1fc36c:	4c67		ldr	r4, =0x83cdb4	; via 0x1fc50c
  1fc36e:	7828		ldrb	r0, [r5, #0]
  1fc370:	7020		strb	r0, [r4, #0]
  1fc372:	213d		mov	r1, #61	; 0x3d
  1fc374:	7928		ldrb	r0, [r5, #4]
  1fc376:	5508		strb	r0, [r1, r4]
  1fc378:	88e8		ldrh	r0, [r5, #6]
  1fc37a:	87e0		strh	r0, [r4, #62]	; 0x3e
  1fc37c:	20c0		mov	r0, #192	; 0xc0
  1fc37e:	2100		mov	r1, #0
  1fc380:	5501		strb	r1, [r0, r4]
  1fc382:	21c1		mov	r1, #193	; 0xc1
  1fc384:	2001		mov	r0, #1
  1fc386:	5508		strb	r0, [r1, r4]
  1fc388:	21c2		mov	r1, #194	; 0xc2
  1fc38a:	5508		strb	r0, [r1, r4]
  1fc38c:	21c3		mov	r1, #195	; 0xc3
  1fc38e:	5508		strb	r0, [r1, r4]
  1fc390:	481a		ldr	r0, =0x83c738	; via 0x1fc3fc
  1fc392:	7a29		ldrb	r1, [r5, #8]
  1fc394:	7001		strb	r1, [r0, #0]
  1fc396:	68e9		ldr	r1, [r5, #12]	; 0xc
  1fc398:	6041		str	r1, [r0, #4]
  1fc39a:	203c		mov	r0, #60	; 0x3c
  1fc39c:	78e9		ldrb	r1, [r5, #3]
  1fc39e:	5501		strb	r1, [r0, r4]
  1fc3a0:	f05a f96a	bl	0x256678	; $Cust_init_std ?
  1fc3a4:	f05a f970	bl	0x256688	; $Cust_init_params ?
; inline code corresponding to l1_dpll_init_var()
  1fc3a8:	4859		ldr	r0, =0xffff9800	; via 0x1fc510
  1fc3aa:	8801		ldrh	r1, [r0, #0]
  1fc3ac:	0949		lsr	r1, r1, #5
  1fc3ae:	0789		lsl	r1, r1, #30
  1fc3b0:	0f89		lsr	r1, r1, #30
  1fc3b2:	0409		lsl	r1, r1, #16
  1fc3b4:	0c0a		lsr	r2, r1, #16
  1fc3b6:	8800		ldrh	r0, [r0, #0]
  1fc3b8:	09c0		lsr	r0, r0, #7
  1fc3ba:	06c0		lsl	r0, r0, #27
  1fc3bc:	0ec0		lsr	r0, r0, #27
  1fc3be:	0400		lsl	r0, r0, #16
  1fc3c0:	0c00		lsr	r0, r0, #16
  1fc3c2:	f058 ff71	bl	0x2552a8
  1fc3c6:	1c06		add	r6, r0, #0
  1fc3c8:	1c0d		add	r5, r1, #0
  1fc3ca:	1c50		add	r0, r2, #1
  1fc3cc:	f058 fec2	bl	0x255154
  1fc3d0:	1c02		add	r2, r0, #0
  1fc3d2:	1c0b		add	r3, r1, #0
  1fc3d4:	1c30		add	r0, r6, #0
  1fc3d6:	1c29		add	r1, r5, #0
  1fc3d8:	f053 fdf8	bl	0x24ffcc
  1fc3dc:	34b8		add	r4, #184	; 0xb8
  1fc3de:	c403		stmia	r4!, {r0, r1}
  1fc3e0:	f059 ffd2	bl	0x256388	; $dsp_power_on ?
  1fc3e4:	f7ff fd61	bl	0x1fbeaa	; $l1_abb_power_on
  1fc3e8:	f7ff fd51	bl	0x1fbe8e	; $l1_tpu_init
  1fc3ec:	f7ff fc98	bl	0x1fbd20	; $l1_dsp_init
  1fc3f0:	f7ff fe10	bl	0x1fc014	; $l1_initialize_var
  1fc3f4:	f059 ffa8	bl	0x256348	; $initialize_l1pvar ?
  1fc3f8:	bd70		pop	{r4, r5, r6, pc}

$Init_Target:
  2458f0:	b570		push	{r4, r5, r6, lr}
  2458f2:	b081		sub	sp, #4
; write 0x6000 into FFFE:F008 like TCS211
  2458f4:	4d62		ldr	r5, =0xfffef006	; via 0x245a80
  2458f6:	2003		mov	r0, #3
  2458f8:	0340		lsl	r0, r0, #13
  2458fa:	8068		strh	r0, [r5, #2]
; TM_DisableWatchdog() ?
  2458fc:	f006 fd03	bl	0x24c306
; 8 MiB memory bank setup
  245900:	2008		mov	r0, #8
  245902:	8829		ldrh	r1, [r5, #0]
  245904:	4308		orr	r0, r1
  245906:	8028		strh	r0, [r5, #0]

; CNTL_CLK (FFFF:FD02) register setup
;
; TCS211 does this:
;	CNTL_CLK |= 0x0005;
;	CNTL_CLK &= 0xFF3F;
;	CNTL_CLK |= 0x0080;
;	CNTL_CLK &= 0xFFDF;
;
; The present version does this:
;	CNTL_CLK  = 0x0005;
;	CNTL_CLK &= 0xFF3F;
;	CNTL_CLK &= 0xFFDF;
;
; Difference 1: initial straight write vs. OR: it must be the effect
;		of the change in the definition of the CLKM_INITCNTL()
;		macro seen in the diff between MV100 and Sotovik versions.
;
; Difference 2: VTCXO_DIV2 bit setting for Clara (13 MHz) vs. Rita (26 MHz)

  245908:	485e		ldr	r0, =0xfffffd02	; via 0x245a84
  24590a:	2105		mov	r1, #5
  24590c:	8001		strh	r1, [r0, #0]
  24590e:	495e		ldr	r1, =0xff3f	; via 0x245a88
  245910:	8802		ldrh	r2, [r0, #0]
  245912:	4011		and	r1, r2
  245914:	8001		strh	r1, [r0, #0]
  245916:	495d		ldr	r1, =0xffdf	; via 0x245a8c
  245918:	8802		ldrh	r2, [r0, #0]
  24591a:	4011		and	r1, r2
  24591c:	8001		strh	r1, [r0, #0]

; RHEA_CNTL_REG setup: this version writes 0x7F00, TCS211 writes 0xFF00
  24591e:	4e5c		ldr	r6, =0xfffff900	; via 0x245a90
  245920:	207f		mov	r0, #127	; 0x7f
  245922:	0200		lsl	r0, r0, #8
  245924:	8030		strh	r0, [r6, #0]

; PLL setup: the code structure (sequence of steps) is the same as in TCS211,
; but the PLL multiplier is set to 6 instead of 8.  Thus the DSP runs at
; 78 MHz and the ARM runs at 39 MHz.
  245926:	4c5b		ldr	r4, =0xffff9800	; via 0x245a94
  245928:	485b		ldr	r0, =0xfff3	; via 0x245a98
  24592a:	8821		ldrh	r1, [r4, #0]
  24592c:	4008		and	r0, r1
  24592e:	8020		strh	r0, [r4, #0]
  245930:	8820		ldrh	r0, [r4, #0]
  245932:	8020		strh	r0, [r4, #0]
  245934:	4859		ldr	r0, =0xf01f	; via 0x245a9c
  245936:	8821		ldrh	r1, [r4, #0]
  245938:	4008		and	r0, r1
  24593a:	8020		strh	r0, [r4, #0]
  24593c:	2003		mov	r0, #3
  24593e:	0200		lsl	r0, r0, #8
  245940:	8821		ldrh	r1, [r4, #0]
  245942:	4308		orr	r0, r1
  245944:	8020		strh	r0, [r4, #0]

; ARM clock setup: divide by 2 like in TCS211
  245946:	2000		mov	r0, #0
  245948:	2102		mov	r1, #2
  24594a:	2200		mov	r2, #0
  24594c:	f007 fe00	bl	0x24d550

; Memory timings: definitely peculiar
  245950:	4953		ldr	r1, =0xfffffb00	; via 0x245aa0
  245952:	20a5		mov	r0, #165	; 0xa5
  245954:	8008		strh	r0, [r1, #0]
  245956:	8048		strh	r0, [r1, #2]
  245958:	20a2		mov	r0, #162	; 0xa2
  24595a:	8088		strh	r0, [r1, #4]
  24595c:	2085		mov	r0, #133	; 0x85
  24595e:	80c8		strh	r0, [r1, #6]
  245960:	2080		mov	r0, #128	; 0x80
  245962:	8148		strh	r0, [r1, #10]	; 0xa
  245964:	200b		mov	r0, #11	; 0xb
  245966:	0180		lsl	r0, r0, #6
  245968:	8188		strh	r0, [r1, #12]	; 0xc
  24596a:	2040		mov	r0, #64	; 0x40
  24596c:	8108		strh	r0, [r1, #8]

; FFFF:F902 and FFFF:F904 registers set up exactly the same as in TCS211
  24596e:	2020		mov	r0, #32	; 0x20
  245970:	8070		strh	r0, [r6, #2]
  245972:	2000		mov	r0, #0
  245974:	80b0		strh	r0, [r6, #4]

; PLL turn-on just like in TCS211
  245976:	2010		mov	r0, #16	; 0x10
  245978:	8821		ldrh	r1, [r4, #0]
  24597a:	4308		orr	r0, r1
  24597c:	8020		strh	r0, [r4, #0]

; remaining Init_Target() code not studied yet
  24597e:	4849		ldr	r0, =0xfffffa08	; via 0x245aa4
  245980:	4949		ldr	r1, =0xffff	; via 0x245aa8
  245982:	8001		strh	r1, [r0, #0]
  245984:	241f		mov	r4, #31	; 0x1f
  245986:	8044		strh	r4, [r0, #2]
  245988:	2103		mov	r1, #3
  24598a:	8181		strh	r1, [r0, #12]	; 0xc
  24598c:	f005 fc28	bl	0x24b1e0	; $IQ_SetupInterrupts
  245990:	4846		ldr	r0, =0xfffffc00	; via 0x245aac
  245992:	2124		mov	r1, #36	; 0x24
  245994:	8001		strh	r1, [r0, #0]
  245996:	210d		mov	r1, #13	; 0xd
  245998:	8041		strh	r1, [r0, #2]
  24599a:	2300		mov	r3, #0
  24599c:	4844		ldr	r0, =0xfffe2016	; via 0x245ab0
  24599e:	8003		strh	r3, [r0, #0]
  2459a0:	4844		ldr	r0, =0xfffe2014	; via 0x245ab4
  2459a2:	2102		mov	r1, #2
  2459a4:	8001		strh	r1, [r0, #0]
  2459a6:	4844		ldr	r0, =0xfffe2002	; via 0x245ab8
  2459a8:	2184		mov	r1, #132	; 0x84
  2459aa:	8001		strh	r1, [r0, #0]
  2459ac:	4943		ldr	r1, =0xfffe2000	; via 0x245abc
  2459ae:	4844		ldr	r0, =0x3de0	; via 0x245ac0
  2459b0:	8008		strh	r0, [r1, #0]
  2459b2:	4a44		ldr	r2, =0xfffe2022	; via 0x245ac4
  2459b4:	2009		mov	r0, #9
  2459b6:	8010		strh	r0, [r2, #0]
  2459b8:	4843		ldr	r0, =0xfffe2020	; via 0x245ac8
  2459ba:	4a44		ldr	r2, =0x45a	; via 0x245acc
  2459bc:	8002		strh	r2, [r0, #0]
  2459be:	4844		ldr	r0, =0xfffe201e	; via 0x245ad0
  2459c0:	22b4		mov	r2, #180	; 0xb4
  2459c2:	8002		strh	r2, [r0, #0]
  2459c4:	4843		ldr	r0, =0xfffe201c	; via 0x245ad4
  2459c6:	8004		strh	r4, [r0, #0]
  2459c8:	1c1c		add	r4, r3, #0
  2459ca:	4843		ldr	r0, =0xfffe2024	; via 0x245ad8
  2459cc:	8004		strh	r4, [r0, #0]
  2459ce:	4b43		ldr	r3, =0xfffe2010	; via 0x245adc
  2459d0:	2002		mov	r0, #2
  2459d2:	881a		ldrh	r2, [r3, #0]
  2459d4:	4310		orr	r0, r2
  2459d6:	8018		strh	r0, [r3, #0]
  2459d8:	4840		ldr	r0, =0xfffe2010	; via 0x245adc
  2459da:	2304		mov	r3, #4
  2459dc:	8802		ldrh	r2, [r0, #0]
  2459de:	4313		orr	r3, r2
  2459e0:	8003		strh	r3, [r0, #0]
  2459e2:	2027		mov	r0, #39	; 0x27
  2459e4:	80e8		strh	r0, [r5, #6]
  2459e6:	8a08		ldrh	r0, [r1, #16]	; 0x10
  2459e8:	0840		lsr	r0, r0, #1
  2459ea:	d310		bcc	0x245a0e
  2459ec:	8a08		ldrh	r0, [r1, #16]	; 0x10
  2459ee:	0400		lsl	r0, r0, #16
  2459f0:	0c40		lsr	r0, r0, #17
  2459f2:	0040		lsl	r0, r0, #1
  2459f4:	8208		strh	r0, [r1, #16]	; 0x10
  2459f6:	2001		mov	r0, #1
  2459f8:	9000		str	r0, [sp, #0]
  2459fa:	e002		b	0x245a02
  2459fc:	9800		ldr	r0, [sp, #0]
  2459fe:	3001		add	r0, #1
  245a00:	9000		str	r0, [sp, #0]
  245a02:	9800		ldr	r0, [sp, #0]
  245a04:	2832		cmp	r0, #50	; 0x32
  245a06:	d3f9		bcc	0x2459fc
  245a08:	8a48		ldrh	r0, [r1, #18]	; 0x12
  245a0a:	2800		cmp	r0, #0
  245a0c:	d0fc		beq	0x245a08
  245a0e:	f006 fdbf	bl	0x24c590	; $AI_ClockEnable
  245a12:	f006 fdc3	bl	0x24c59c	; $AI_InitIOConfig
  245a16:	2027		mov	r0, #39	; 0x27
  245a18:	0500		lsl	r0, r0, #20
  245a1a:	8004		strh	r4, [r0, #0]
  245a1c:	2001		mov	r0, #1
  245a1e:	f006 fc80	bl	0x24c322	; $TM_EnableTimer
  245a22:	2002		mov	r0, #2
  245a24:	f006 fc7d	bl	0x24c322	; $TM_EnableTimer
  245a28:	b001		add	sp, #4
  245a2a:	bd70		pop	{r4, r5, r6, pc}

$Init_Drivers:
  245a2c:	b500		push	{lr}
  245a2e:	f7ce f9b0	bl	0x213d92
  245a32:	f7af fb41	bl	0x1f50b8
  245a36:	f7da fd20	bl	0x22047a
  245a3a:	f755 fc4f	bl	0x19b2dc
  245a3e:	bd00		pop	{pc}

$Init_Serial_Flows:
  245a40:	b500		push	{lr}
  245a42:	4827		ldr	r0, =0x10786fc	; via 0x245ae0
  245a44:	f795 f98e	bl	0x1dad64
  245a48:	2000		mov	r0, #0
  245a4a:	2102		mov	r1, #2
  245a4c:	2200		mov	r2, #0
  245a4e:	f795 fbdc	bl	0x1db20a
  245a52:	f795 fc51	bl	0x1db2f8
  245a56:	bd00		pop	{pc}

$Init_Unmask_IT:
  245a58:	b500		push	{lr}
  245a5a:	2004		mov	r0, #4
  245a5c:	f005 fc21	bl	0x24b2a2
  245a60:	2012		mov	r0, #18	; 0x12
  245a62:	f005 fc1e	bl	0x24b2a2
  245a66:	2007		mov	r0, #7
  245a68:	f005 fc1b	bl	0x24b2a2
  245a6c:	2008		mov	r0, #8
  245a6e:	f005 fc18	bl	0x24b2a2
  245a72:	bd00		pop	{pc}

; The following BX LR instructions must be empty functions in the same init
; module as the recognizable functions above, as they lie between the previous
; code and its associated literal pool.
  245a74:	4770		bx	lr
  245a76:	4770		bx	lr
  245a78:	4770		bx	lr
  245a7a:	4770		bx	lr
  245a7c:	4770		bx	lr
  245a7e:	4770		bx	lr

$AI_EnableBit:
  24c4f4:	4a4e		ldr	r2, =0xfffef00a	; via 0x24c630
  24c4f6:	2101		mov	r1, #1
  24c4f8:	4081		lsl	r1, r0
  24c4fa:	8810		ldrh	r0, [r2, #0]
  24c4fc:	4301		orr	r1, r0
  24c4fe:	8011		strh	r1, [r2, #0]
  24c500:	4770		bx	lr

$AI_DisableBit:
  24c502:	4a4b		ldr	r2, =0xfffef00a	; via 0x24c630
  24c504:	2101		mov	r1, #1
  24c506:	4081		lsl	r1, r0
  24c508:	8810		ldrh	r0, [r2, #0]
  24c50a:	4388		bic	r0, r1
  24c50c:	8010		strh	r0, [r2, #0]
  24c50e:	4770		bx	lr

$AI_SetBit:
  24c510:	4a48		ldr	r2, =0xfffe4802	; via 0x24c634
  24c512:	2101		mov	r1, #1
  24c514:	4081		lsl	r1, r0
  24c516:	8810		ldrh	r0, [r2, #0]
  24c518:	4301		orr	r1, r0
  24c51a:	8011		strh	r1, [r2, #0]
  24c51c:	4770		bx	lr

$AI_ResetBit:
  24c51e:	4a45		ldr	r2, =0xfffe4802	; via 0x24c634
  24c520:	2101		mov	r1, #1
  24c522:	4081		lsl	r1, r0
  24c524:	8810		ldrh	r0, [r2, #0]
  24c526:	4388		bic	r0, r1
  24c528:	8010		strh	r0, [r2, #0]
  24c52a:	4770		bx	lr

$AI_ConfigBitAsOutput:
  24c52c:	4a42		ldr	r2, =0xfffe4804	; via 0x24c638
  24c52e:	2101		mov	r1, #1
  24c530:	4081		lsl	r1, r0
  24c532:	8810		ldrh	r0, [r2, #0]
  24c534:	4388		bic	r0, r1
  24c536:	8010		strh	r0, [r2, #0]
  24c538:	4770		bx	lr

$AI_ConfigBitAsInput:
  24c53a:	4a3f		ldr	r2, =0xfffe4804	; via 0x24c638
  24c53c:	2101		mov	r1, #1
  24c53e:	4081		lsl	r1, r0
  24c540:	8810		ldrh	r0, [r2, #0]
  24c542:	4301		orr	r1, r0
  24c544:	8011		strh	r1, [r2, #0]
  24c546:	4770		bx	lr

$AI_ReadBit:
  24c548:	493c		ldr	r1, =0xfffe4800	; via 0x24c63c
  24c54a:	8809		ldrh	r1, [r1, #0]
  24c54c:	4101		asr	r1, r0
  24c54e:	07c8		lsl	r0, r1, #31
  24c550:	0fc0		lsr	r0, r0, #31
  24c552:	0600		lsl	r0, r0, #24
  24c554:	0e00		lsr	r0, r0, #24
  24c556:	4770		bx	lr

$AI_Power:
  24c558:	b500		push	{lr}
  24c55a:	2800		cmp	r0, #0
  24c55c:	d110		bne	0x24c580
  24c55e:	f772 fcbf	bl	0x1beee0
  24c562:	0940		lsr	r0, r0, #5
  24c564:	d2fb		bcs	0x24c55e
  24c566:	f004 fc89	bl	0x250e7c
  24c56a:	4835		ldr	r0, =0xfffe3000	; via 0x24c640
  24c56c:	217c		mov	r1, #124	; 0x7c
  24c56e:	8141		strh	r1, [r0, #10]	; 0xa
  24c570:	2131		mov	r1, #49	; 0x31
  24c572:	8802		ldrh	r2, [r0, #0]
  24c574:	4311		orr	r1, r2
  24c576:	8001		strh	r1, [r0, #0]
  24c578:	2102		mov	r1, #2
  24c57a:	8882		ldrh	r2, [r0, #4]
  24c57c:	4311		orr	r1, r2
  24c57e:	8081		strh	r1, [r0, #4]
  24c580:	bd00		pop	{pc}

$AI_ResetIoConfig:
  24c582:	492d		ldr	r1, =0xfffe4804	; via 0x24c638
  24c584:	482f		ldr	r0, =0xffff	; via 0x24c644
  24c586:	8008		strh	r0, [r1, #0]
  24c588:	4829		ldr	r0, =0xfffef00a	; via 0x24c630
  24c58a:	2100		mov	r1, #0
  24c58c:	8001		strh	r1, [r0, #0]
  24c58e:	4770		bx	lr

$AI_ClockEnable:
  24c590:	492d		ldr	r1, =0xfffe4806	; via 0x24c648
  24c592:	2020		mov	r0, #32	; 0x20
  24c594:	880a		ldrh	r2, [r1, #0]
  24c596:	4310		orr	r0, r2
  24c598:	8008		strh	r0, [r1, #0]
  24c59a:	4770		bx	lr

$AI_InitIOConfig:
  24c59c:	b500		push	{lr}
  24c59e:	f7ff fff0	bl	0x24c582	; $AI_ResetIoConfig
  24c5a2:	2002		mov	r0, #2
  24c5a4:	f7ff ffa6	bl	0x24c4f4	; $AI_EnableBit
  24c5a8:	2004		mov	r0, #4
  24c5aa:	f7ff ffa3	bl	0x24c4f4	; $AI_EnableBit
  24c5ae:	2005		mov	r0, #5
  24c5b0:	f7ff ffa0	bl	0x24c4f4	; $AI_EnableBit
  24c5b4:	2006		mov	r0, #6
  24c5b6:	f7ff ff9d	bl	0x24c4f4	; $AI_EnableBit
  24c5ba:	2007		mov	r0, #7
  24c5bc:	f7ff ff9a	bl	0x24c4f4	; $AI_EnableBit
  24c5c0:	2008		mov	r0, #8
  24c5c2:	f7ff ff97	bl	0x24c4f4	; $AI_EnableBit
  24c5c6:	2009		mov	r0, #9
  24c5c8:	f7ff ff94	bl	0x24c4f4	; $AI_EnableBit
  24c5cc:	4919		ldr	r1, =0xfffe4802	; via 0x24c634
  24c5ce:	481f		ldr	r0, =0x3f02	; via 0x24c64c
  24c5d0:	8008		strh	r0, [r1, #0]
  24c5d2:	2001		mov	r0, #1
  24c5d4:	f7ff ffaa	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5d8:	2002		mov	r0, #2
  24c5da:	f7ff ffa7	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5de:	2005		mov	r0, #5
  24c5e0:	f7ff ffa4	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5e4:	2007		mov	r0, #7
  24c5e6:	f7ff ffa1	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5ea:	2009		mov	r0, #9
  24c5ec:	f7ff ff9e	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5f0:	200e		mov	r0, #14	; 0xe
  24c5f2:	f7ff ff9b	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5f6:	200f		mov	r0, #15	; 0xf
  24c5f8:	f7ff ff98	bl	0x24c52c	; $AI_ConfigBitAsOutput
  24c5fc:	bd00		pop	{pc}

$AI_SelectIOForIT:
  24c5fe:	0109		lsl	r1, r1, #4
  24c600:	1840		add	r0, r0, r1
  24c602:	0040		lsl	r0, r0, #1
  24c604:	3001		add	r0, #1
  24c606:	4912		ldr	r1, =0xfffe4814	; via 0x24c650
  24c608:	8008		strh	r0, [r1, #0]
  24c60a:	4770		bx	lr

$AI_CheckITSource:
  24c60c:	2100		mov	r1, #0
  24c60e:	4a11		ldr	r2, =0xfffe4816	; via 0x24c654
  24c610:	8812		ldrh	r2, [r2, #0]
  24c612:	4210		tst	r0, r2
  24c614:	d000		beq	0x24c618
  24c616:	2101		mov	r1, #1
  24c618:	1c08		add	r0, r1, #0
  24c61a:	4770		bx	lr

$AI_UnmaskIT:
  24c61c:	4a0e		ldr	r2, =0xfffe4818	; via 0x24c658
  24c61e:	8811		ldrh	r1, [r2, #0]
  24c620:	4381		bic	r1, r0
  24c622:	8011		strh	r1, [r2, #0]
  24c624:	4770		bx	lr

$AI_MaskIT:
  24c626:	4a0c		ldr	r2, =0xfffe4818	; via 0x24c658
  24c628:	8811		ldrh	r1, [r2, #0]
  24c62a:	4301		orr	r1, r0
  24c62c:	8011		strh	r1, [r2, #0]
  24c62e:	4770		bx	lr

; Appears to the old Thumb implementation of f_load_int_mem(),
; differs from TCS211 version which is ARM and appears to be assembly
  250408:	b5f0		push	{r4, r5, r6, r7, lr}
  25040a:	4640		mov	r0, r8
  25040c:	4649		mov	r1, r9
  25040e:	4652		mov	r2, r10
  250410:	465b		mov	r3, r11
  250412:	b40f		push	{r0, r1, r2, r3}
  250414:	4f22		ldr	r7, =0x1079168	; via 0x2504a0
  250416:	2000		mov	r0, #0
  250418:	8038		strh	r0, [r7, #0]
  25041a:	4922		ldr	r1, =0x107916a	; via 0x2504a4
  25041c:	4688		mov	r8, r1
  25041e:	8008		strh	r0, [r1, #0]
  250420:	4821		ldr	r0, =0x800000	; via 0x2504a8
  250422:	4922		ldr	r1, =0x81944c	; via 0x2504ac
  250424:	1a09		sub	r1, r1, r0
  250426:	3904		sub	r1, #4
  250428:	468c		mov	r12, r1
  25042a:	2104		mov	r1, #4
  25042c:	180e		add	r6, r1, r0
  25042e:	1c30		add	r0, r6, #0
  250430:	4661		mov	r1, r12
  250432:	f7ff ffe0	bl	0x2503f6
  250436:	4c1e		ldr	r4, =0x83eda4	; via 0x2504b0
  250438:	481e		ldr	r0, =0x83f294	; via 0x2504b4
  25043a:	1b05		sub	r5, r0, r4
  25043c:	1c20		add	r0, r4, #0
  25043e:	1c29		add	r1, r5, #0
  250440:	f7ff ffd9	bl	0x2503f6
  250444:	481c		ldr	r0, =0x20508	; via 0x2504b8
  250446:	4681		mov	r9, r0
  250448:	4661		mov	r1, r12
  25044a:	f7ff ffc7	bl	0x2503dc
  25044e:	4682		mov	r10, r0
  250450:	8038		strh	r0, [r7, #0]
  250452:	481a		ldr	r0, =0x155e8	; via 0x2504bc
  250454:	4683		mov	r11, r0
  250456:	1c29		add	r1, r5, #0
  250458:	f7ff ffc0	bl	0x2503dc
  25045c:	4651		mov	r1, r10
  25045e:	1808		add	r0, r1, r0
  250460:	8038		strh	r0, [r7, #0]
  250462:	4648		mov	r0, r9
  250464:	4661		mov	r1, r12
  250466:	1c32		add	r2, r6, #0
  250468:	f7ff ffae	bl	0x2503c8
  25046c:	4658		mov	r0, r11
  25046e:	1c29		add	r1, r5, #0
  250470:	1c22		add	r2, r4, #0
  250472:	f7ff ffa9	bl	0x2503c8
  250476:	1c30		add	r0, r6, #0
  250478:	4661		mov	r1, r12
  25047a:	f7ff ffaf	bl	0x2503dc
  25047e:	1c06		add	r6, r0, #0
  250480:	4640		mov	r0, r8
  250482:	8006		strh	r6, [r0, #0]
  250484:	1c20		add	r0, r4, #0
  250486:	1c29		add	r1, r5, #0
  250488:	f7ff ffa8	bl	0x2503dc
  25048c:	1830		add	r0, r6, r0
  25048e:	4641		mov	r1, r8
  250490:	8008		strh	r0, [r1, #0]
  250492:	bc0f		pop	{r0, r1, r2, r3}
  250494:	4680		mov	r8, r0
  250496:	4689		mov	r9, r1
  250498:	4692		mov	r10, r2
  25049a:	469b		mov	r11, r3
  25049c:	bdf0		pop	{r4, r5, r6, r7, pc}

IRAM code flash address = 0x20508
IRAM code run start address = 0x800004
IRAM code run end address   = 0x81944C

Run address = load address + 0x7DFAFC

IRAM trampolines flash address     =  0x155E8
IRAM trampolines run start address = 0x83EDA4
IRAM trampolines run end address   = 0x83F294

Run address = load address + 0x8297BC

$INC_Initialize:
  254654:	b530		push	{r4, r5, lr}
  254656:	1c05		add	r5, r0, #0
  254658:	4c13		ldr	r4, =0x1079150	; via 0x2546a8
  25465a:	2001		mov	r0, #1
  25465c:	6020		str	r0, [r4, #0]
  25465e:	f001 f9eb	bl	0x255a38
  254662:	f001 f9ed	bl	0x255a40
  254666:	f001 f9ad	bl	0x2559c4
  25466a:	f000 fd45	bl	0x2550f8
  25466e:	f7fb ffa3	bl	0x2505b8
  254672:	f000 ff0d	bl	0x255490
  254676:	f000 fedb	bl	0x255430
  25467a:	f000 fef9	bl	0x255470
  25467e:	f000 fec7	bl	0x255410
  254682:	f000 ff25	bl	0x2554d0
  254686:	f000 fee3	bl	0x255450
  25468a:	f000 ff31	bl	0x2554f0
  25468e:	f7fe faef	bl	0x252c70
  254692:	f000 ff0d	bl	0x2554b0
  254696:	1c28		add	r0, r5, #0
  254698:	f000 fda5	bl	0x2551e6	; app init
  25469c:	2002		mov	r0, #2
  25469e:	6020		str	r0, [r4, #0]
  2546a0:	f001 fefa	bl	0x256498	; $TCT_Schedule veneer
  2546a4:	bd30		pop	{r4, r5, pc}

$Application_Initialize:
  2551e6:	b500		push	{lr}
  2551e8:	f7f0 fb82	bl	0x2458f0	; $Init_Target
  2551ec:	f7f0 fc1e	bl	0x245a2c	; $Init_Drivers
  2551f0:	f001 fa82	bl	0x2566f8	; $Cust_Init_Layer1
  2551f4:	f7f0 fc24	bl	0x245a40	; $Init_Serial_Flows
  2551f8:	f7a0 fba6	bl	0x1f5948	; $StartFrame
  2551fc:	f7f0 fc2c	bl	0x245a58	; $Init_Unmask_IT
  255200:	bd00		pop	{pc}

  2556a4:	e58de004	str	lr, [sp, #4]
  2556a8:	e28fe001	add	lr, pc, #1
  2556ac:	e12fff1e	bx	lr
  2556b0:	f7e8 f8e6	bl	0x23d880
  2556b4:	4778		bx	pc
  2556b6:	46c0		nop			(mov r8, r8)
  2556b8:	e59df004	ldr	pc, [sp, #4]

; _INC_Initialize call veneer
  2556bc:	e92d4000	stmdb	sp!, {lr}
  2556c0:	e28fe001	add	lr, pc, #1
  2556c4:	e12fff1e	bx	lr
  2556c8:	f7fe ffc4	bl	0x254654
  2556cc:	4778		bx	pc
  2556ce:	46c0		nop			(mov r8, r8)
  2556d0:	e8bd8000	ldmia	sp!, {pc}

  2556d4:	e92d4000	stmdb	sp!, {lr}
  2556d8:	e28fe001	add	lr, pc, #1
  2556dc:	e12fff1e	bx	lr
  2556e0:	f7e7 fb27	bl	0x23cd32
  2556e4:	4778		bx	pc
  2556e6:	46c0		nop			(mov r8, r8)
  2556e8:	e8bd8000	ldmia	sp!, {pc}

; _f_load_int_mem call veneer
  2556ec:	e92d4000	stmdb	sp!, {lr}
  2556f0:	e28fe001	add	lr, pc, #1
  2556f4:	e12fff1e	bx	lr
  2556f8:	f7fa fe86	bl	0x250408
  2556fc:	4778		bx	pc
  2556fe:	46c0		nop			(mov r8, r8)
  255700:	e8bd8000	ldmia	sp!, {pc}

  255704:	e92d4000	stmdb	sp!, {lr}
  255708:	e28fe001	add	lr, pc, #1
  25570c:	e12fff1e	bx	lr
  255710:	f7ff fd69	bl	0x2551e6
  255714:	4778		bx	pc
  255716:	46c0		nop			(mov r8, r8)
  255718:	e8bd8000	ldmia	sp!, {pc}

  25571c:	e92d4000	stmdb	sp!, {lr}
  255720:	e28fe001	add	lr, pc, #1
  255724:	e12fff1e	bx	lr
  255728:	f76e f932	bl	0x1c3990
  25572c:	4778		bx	pc
  25572e:	46c0		nop			(mov r8, r8)
  255730:	e8bd8000	ldmia	sp!, {pc}

  255734:	e92d4000	stmdb	sp!, {lr}
  255738:	e28fe001	add	lr, pc, #1
  25573c:	e12fff1e	bx	lr
  255740:	f7a6 fe10	bl	0x1fc364
  255744:	4778		bx	pc
  255746:	46c0		nop			(mov r8, r8)
  255748:	e8bd8000	ldmia	sp!, {pc}

  25574c:	e92d4000	stmdb	sp!, {lr}
  255750:	e28fe001	add	lr, pc, #1
  255754:	e12fff1e	bx	lr
  255758:	f6f4 fa10	bl	0x149b7c
  25575c:	4778		bx	pc
  25575e:	46c0		nop			(mov r8, r8)
  255760:	e8bd8000	ldmia	sp!, {pc}

  255764:	e92d4000	stmdb	sp!, {lr}
  255768:	e28fe001	add	lr, pc, #1
  25576c:	e12fff1e	bx	lr
  255770:	f785 ff3b	bl	0x1db5ea
  255774:	4778		bx	pc
  255776:	46c0		nop			(mov r8, r8)
  255778:	e8bd8000	ldmia	sp!, {pc}

  25577c:	e92d4000	stmdb	sp!, {lr}
  255780:	e28fe001	add	lr, pc, #1
  255784:	e12fff1e	bx	lr
  255788:	f785 ff10	bl	0x1db5ac
  25578c:	4778		bx	pc
  25578e:	46c0		nop			(mov r8, r8)
  255790:	e8bd8000	ldmia	sp!, {pc}

; $l1dmacro_init_hw_light call trampoline
  256168:	b082		sub	sp, #8
  25616a:	9400		str	r4, [sp, #0]
  25616c:	4c01		ldr	r4, =0x813800	; via 0x256174
  25616e:	9401		str	r4, [sp, #4]
  256170:	bd10		pop	{r4, pc}
  256172:	0000

; $l1dmacro_init_hw call trampoline
  256178:	b082		sub	sp, #8
  25617a:	9400		str	r4, [sp, #0]
  25617c:	4c01		ldr	r4, =0x81375c	; via 0x256184
  25617e:	9401		str	r4, [sp, #4]
  256180:	bd10		pop	{r4, pc}
  256182:	0000

; $Cust_Init_Layer1 call trampoline
  2566f8:	b082		sub	sp, #8
  2566fa:	9400		str	r4, [sp, #0]
  2566fc:	4c01		ldr	r4, =0x803bf8	; via 0x256704
  2566fe:	9401		str	r4, [sp, #4]
  256700:	bd10		pop	{r4, pc}
  256702:	0000

IRAM code:

$Cust_get_pwr_data:
  803b5c:	b5f0		push	{r4, r5, r6, r7, lr}
  803b5e:	4642		mov	r2, r8
  803b60:	b404		push	{r2}
  803b62:	1c0e		add	r6, r1, #0
  803b64:	1c05		add	r5, r0, #0
  803b66:	1c30		add	r0, r6, #0
  803b68:	f7ff ff66	bl	0x803a38	; $Cust_is_band_high
  803b6c:	1c04		add	r4, r0, #0
  803b6e:	1c30		add	r0, r6, #0
  803b70:	f00e fa45	bl	0x811ffe	; $Convert_l1_radio_freq
  803b74:	0400		lsl	r0, r0, #16
  803b76:	0c06		lsr	r6, r0, #16
  803b78:	20dd		mov	r0, #221	; 0xdd
  803b7a:	0080		lsl	r0, r0, #2
  803b7c:	4360		mul	r0, r4
  803b7e:	4680		mov	r8, r0
  803b80:	20dd		mov	r0, #221	; 0xdd
  803b82:	4360		mul	r0, r4
  803b84:	1828		add	r0, r5, r0
  803b86:	0080		lsl	r0, r0, #2
  803b88:	4b9e		ldr	r3, =0x83a2f0	; via 0x803e04
  803b8a:	1819		add	r1, r3, r0
  803b8c:	315c		add	r1, #92	; 0x5c
  803b8e:	8809		ldrh	r1, [r1, #0]
  803b90:	468c		mov	r12, r1
  803b92:	499e		ldr	r1, =0x83a34f	; via 0x803e0c
  803b94:	5c08		ldrb	r0, [r1, r0]
  803b96:	0141		lsl	r1, r0, #5
  803b98:	4640		mov	r0, r8
  803b9a:	1845		add	r5, r0, r1
  803b9c:	2400		mov	r4, #0
  803b9e:	e002		b	0x803ba6
  803ba0:	1c60		add	r0, r4, #1
  803ba2:	0400		lsl	r0, r0, #16
  803ba4:	0c04		lsr	r4, r0, #16
  803ba6:	00a2		lsl	r2, r4, #2
  803ba8:	18a8		add	r0, r5, r2
  803baa:	1819		add	r1, r3, r0
  803bac:	31dc		add	r1, #220	; 0xdc
  803bae:	2702		mov	r7, #2
  803bb0:	1950		add	r0, r2, r5
  803bb2:	181a		add	r2, r3, r0
  803bb4:	20dc		mov	r0, #220	; 0xdc
  803bb6:	5a80		ldrh	r0, [r0, r2]
  803bb8:	4286		cmp	r6, r0
  803bba:	dcf1		bgt	0x803ba0
  803bbc:	5e79		ldrsh	r1, [r7, r1]
  803bbe:	4660		mov	r0, r12
  803bc0:	4341		mul	r1, r0
  803bc2:	09c8		lsr	r0, r1, #7
  803bc4:	0400		lsl	r0, r0, #16
  803bc6:	0c00		lsr	r0, r0, #16
  803bc8:	4684		mov	r12, r0
  803bca:	4640		mov	r0, r8
  803bcc:	18c0		add	r0, r0, r3
  803bce:	21d7		mov	r1, #215	; 0xd7
  803bd0:	0089		lsl	r1, r1, #2
  803bd2:	1808		add	r0, r1, r0
  803bd4:	4a8a		ldr	r2, =0x83a2da	; via 0x803e00
  803bd6:	2100		mov	r1, #0
  803bd8:	5e51		ldrsh	r1, [r2, r1]
  803bda:	e000		b	0x803bde
  803bdc:	3004		add	r0, #4
  803bde:	2200		mov	r2, #0
  803be0:	5e82		ldrsh	r2, [r0, r2]
  803be2:	4291		cmp	r1, r2
  803be4:	dcfa		bgt	0x803bdc
  803be6:	2102		mov	r1, #2
  803be8:	5e09		ldrsh	r1, [r1, r0]
  803bea:	4660		mov	r0, r12
  803bec:	1808		add	r0, r1, r0
  803bee:	0400		lsl	r0, r0, #16
  803bf0:	0c00		lsr	r0, r0, #16
  803bf2:	bc04		pop	{r2}
  803bf4:	4690		mov	r8, r2
  803bf6:	bdf0		pop	{r4, r5, r6, r7, pc}

$Cust_Init_Layer1:
  803bf8:	b500		push	{lr}
  803bfa:	b084		sub	sp, #16	; 0x10
  803bfc:	4669		mov	r1, sp
  803bfe:	2006		mov	r0, #6
  803c00:	7008		strb	r0, [r1, #0]
  803c02:	4668		mov	r0, sp
  803c04:	2101		mov	r1, #1
  803c06:	7101		strb	r1, [r0, #4]
  803c08:	2000		mov	r0, #0
  803c0a:	4669		mov	r1, sp
  803c0c:	70c8		strb	r0, [r1, #3]
  803c0e:	7208		strb	r0, [r1, #8]
  803c10:	487f		ldr	r0, =0x5ff	; via 0x803e10
  803c12:	9003		str	r0, [sp, #12]	; 0xc
  803c14:	2001		mov	r0, #1
  803c16:	80c8		strh	r0, [r1, #6]
  803c18:	4668		mov	r0, sp
  803c1a:	f03b f9bb	bl	0x83ef94	; $l1_initialize
  803c1e:	480b		ldr	r0, =0x839ea8	; via 0x803c4c
  803c20:	21ff		mov	r1, #255	; 0xff
  803c22:	319d		add	r1, #157	; 0x9d
  803c24:	2200		mov	r2, #0
  803c26:	f000 f868	bl	0x803cfa	; $get_cal_from_nvmem
  803c2a:	487a		ldr	r0, =0x83a09c	; via 0x803e14
  803c2c:	2124		mov	r1, #36	; 0x24
  803c2e:	2201		mov	r2, #1
  803c30:	f000 f863	bl	0x803cfa	; $get_cal_from_nvmem
  803c34:	b004		add	sp, #16	; 0x10
  803c36:	bd00		pop	{pc}

_std_config:
  8053f8:	00000000
  8053fc:	00000000
  805400:	00000005
  805404:	00000001
  805408:	00000001
  80540c:	00000001
  805410:	00150003
  805414:	00000200
  805418:	001c0002
  80541c:	00000200
  805420:	001c0205
  805424:	00000001
  805428:	001c0201
  80542c:	00000001
  805430:	00000004
  805434:	00000080
  805438:	00150304
  80543c:	00000001

$l1ddsp_load_info:
  80568c:	b530		push	{r4, r5, lr}
  80568e:	280a		cmp	r0, #10	; 0xa
  805690:	d036		beq	0x805700
  805692:	2001		mov	r0, #1
  805694:	03c0		lsl	r0, r0, #15
  805696:	8008		strh	r0, [r1, #0]
  805698:	2000		mov	r0, #0
  80569a:	8048		strh	r0, [r1, #2]
  80569c:	8088		strh	r0, [r1, #4]
  80569e:	48d7		ldr	r0, =0x83cdac	; via 0x8059fc
  8056a0:	6800		ldr	r0, [r0, #0]
  8056a2:	2315		mov	r3, #21	; 0x15
  8056a4:	015b		lsl	r3, r3, #5
  8056a6:	181b		add	r3, r3, r0
  8056a8:	4299		cmp	r1, r3
  8056aa:	d017		beq	0x8056dc
  8056ac:	30ff		add	r0, #255	; 0xff
  8056ae:	3035		add	r0, #53	; 0x35
  8056b0:	4281		cmp	r1, r0
  8056b2:	d013		beq	0x8056dc
  8056b4:	2000		mov	r0, #0
  8056b6:	2303		mov	r3, #3
  8056b8:	1884		add	r4, r0, r2
  8056ba:	7864		ldrb	r4, [r4, #1]
  8056bc:	0224		lsl	r4, r4, #8
  8056be:	5c85		ldrb	r5, [r0, r2]
  8056c0:	432c		orr	r4, r5
  8056c2:	005d		lsl	r5, r3, #1
  8056c4:	534c		strh	r4, [r1, r5]
  8056c6:	1c80		add	r0, r0, #2
  8056c8:	0600		lsl	r0, r0, #24
  8056ca:	0e00		lsr	r0, r0, #24
  8056cc:	1c5b		add	r3, r3, #1
  8056ce:	061b		lsl	r3, r3, #24
  8056d0:	0e1b		lsr	r3, r3, #24
  8056d2:	2b0e		cmp	r3, #14	; 0xe
  8056d4:	dbf0		blt	0x8056b8
  8056d6:	7d90		ldrb	r0, [r2, #22]	; 0x16
  8056d8:	8388		strh	r0, [r1, #28]	; 0x1c
  8056da:	bd30		pop	{r4, r5, pc}
  8056dc:	2300		mov	r3, #0
  8056de:	2003		mov	r0, #3
  8056e0:	189c		add	r4, r3, r2
  8056e2:	7864		ldrb	r4, [r4, #1]
  8056e4:	0224		lsl	r4, r4, #8
  8056e6:	5c9d		ldrb	r5, [r3, r2]
  8056e8:	432c		orr	r4, r5
  8056ea:	0045		lsl	r5, r0, #1
  8056ec:	534c		strh	r4, [r1, r5]
  8056ee:	1c9b		add	r3, r3, #2
  8056f0:	061b		lsl	r3, r3, #24
  8056f2:	0e1b		lsr	r3, r3, #24
  8056f4:	1c40		add	r0, r0, #1
  8056f6:	0600		lsl	r0, r0, #24
  8056f8:	0e00		lsr	r0, r0, #24
  8056fa:	2812		cmp	r0, #18	; 0x12
  8056fc:	dbf0		blt	0x8056e0
  8056fe:	bd30		pop	{r4, r5, pc}
  805700:	7850		ldrb	r0, [r2, #1]
  805702:	0200		lsl	r0, r0, #8
  805704:	7812		ldrb	r2, [r2, #0]
  805706:	4310		orr	r0, r2
  805708:	8008		strh	r0, [r1, #0]
  80570a:	bd30		pop	{r4, r5, pc}

$l1ddsp_load_monit_task:
  80570c:	4af2		ldr	r2, =0x83cda0	; via 0x805ad8
  80570e:	6893		ldr	r3, [r2, #8]
  805710:	8118		strh	r0, [r3, #8]
  805712:	48f2		ldr	r0, =0x83db44	; via 0x805adc
  805714:	6800		ldr	r0, [r0, #0]
  805716:	2801		cmp	r0, #1
  805718:	d004		beq	0x805724
  80571a:	214a		mov	r1, #74	; 0x4a
  80571c:	68d2		ldr	r2, [r2, #12]	; 0xc
  80571e:	2001		mov	r0, #1
  805720:	5288		strh	r0, [r1, r2]
  805722:	4770		bx	lr
  805724:	234a		mov	r3, #74	; 0x4a
  805726:	68d0		ldr	r0, [r2, #12]	; 0xc
  805728:	5219		strh	r1, [r3, r0]
  80572a:	4770		bx	lr

$l1ddsp_load_afc:
  80572c:	49ea		ldr	r1, =0x83cda0	; via 0x805ad8
  80572e:	688a		ldr	r2, [r1, #8]
  805730:	83d0		strh	r0, [r2, #30]	; 0x1e
  805732:	6888		ldr	r0, [r1, #8]
  805734:	3016		add	r0, #22	; 0x16
  805736:	2110		mov	r1, #16	; 0x10
  805738:	8802		ldrh	r2, [r0, #0]
  80573a:	4311		orr	r1, r2
  80573c:	8001		strh	r1, [r0, #0]
  80573e:	4770		bx	lr

$l1ddsp_load_txpwr:
  805740:	b5f0		push	{r4, r5, r6, r7, lr}
  805742:	4642		mov	r2, r8
  805744:	b404		push	{r2}
  805746:	4688		mov	r8, r1
  805748:	1c04		add	r4, r0, #0
  80574a:	4df1		ldr	r5, =0x83cdb4	; via 0x805b10
  80574c:	203d		mov	r0, #61	; 0x3d
  80574e:	5d40		ldrb	r0, [r0, r5]
  805750:	2800		cmp	r0, #0
  805752:	d113		bne	0x80577c
  805754:	4ee0		ldr	r6, =0x83cda0	; via 0x805ad8
  805756:	2072		mov	r0, #114	; 0x72
  805758:	5b41		ldrh	r1, [r0, r5]
  80575a:	68b0		ldr	r0, [r6, #8]
  80575c:	8381		strh	r1, [r0, #28]	; 0x1c
  80575e:	68f0		ldr	r0, [r6, #12]	; 0xc
  805760:	30ff		add	r0, #255	; 0xff
  805762:	30dd		add	r0, #221	; 0xdd
  805764:	1c21		add	r1, r4, #0
  805766:	1c22		add	r2, r4, #0
  805768:	4643		mov	r3, r8
  80576a:	f7fe f9be	bl	0x803aea
  80576e:	68b0		ldr	r0, [r6, #8]
  805770:	3016		add	r0, #22	; 0x16
  805772:	210d		mov	r1, #13	; 0xd
  805774:	8802		ldrh	r2, [r0, #0]
  805776:	4311		orr	r1, r2
  805778:	8001		strh	r1, [r0, #0]
  80577a:	e069		b	0x805850
  80577c:	7828		ldrb	r0, [r5, #0]
  80577e:	2805		cmp	r0, #5
  805780:	d003		beq	0x80578a
  805782:	2806		cmp	r0, #6
  805784:	d001		beq	0x80578a
  805786:	2808		cmp	r0, #8
  805788:	d102		bne	0x805790
  80578a:	68e8		ldr	r0, [r5, #12]	; 0xc
  80578c:	4580		cmp	r8, r0
  80578e:	d201		bcs	0x805794
  805790:	2701		mov	r7, #1
  805792:	e000		b	0x805796
  805794:	2702		mov	r7, #2
  805796:	2cff		cmp	r4, #255	; 0xff
  805798:	d04d		beq	0x805836
  80579a:	1c20		add	r0, r4, #0
  80579c:	4641		mov	r1, r8
  80579e:	f7fe f9dd	bl	0x803b5c
  8057a2:	4ecd		ldr	r6, =0x83cda0	; via 0x805ad8
  8057a4:	2112		mov	r1, #18	; 0x12
  8057a6:	0180		lsl	r0, r0, #6
  8057a8:	4301		orr	r1, r0
  8057aa:	68b0		ldr	r0, [r6, #8]
  8057ac:	8381		strh	r1, [r0, #28]	; 0x1c
  8057ae:	20c0		mov	r0, #192	; 0xc0
  8057b0:	5d40		ldrb	r0, [r0, r5]
  8057b2:	2800		cmp	r0, #0
  8057b4:	d00e		beq	0x8057d4
  8057b6:	20cd		mov	r0, #205	; 0xcd
  8057b8:	5d40		ldrb	r0, [r0, r5]
  8057ba:	0840		lsr	r0, r0, #1
  8057bc:	d30a		bcc	0x8057d4
  8057be:	2100		mov	r1, #0
  8057c0:	48e0		ldr	r0, =0x83cd9c	; via 0x805b44
  8057c2:	7800		ldrb	r0, [r0, #0]
  8057c4:	42a0		cmp	r0, r4
  8057c6:	d000		beq	0x8057ca
  8057c8:	2101		mov	r1, #1
  8057ca:	20d1		mov	r0, #209	; 0xd1
  8057cc:	5d40		ldrb	r0, [r0, r5]
  8057ce:	4308		orr	r0, r1
  8057d0:	2800		cmp	r0, #0
  8057d2:	d11b		bne	0x80580c
  8057d4:	48dc		ldr	r0, =0x83c738	; via 0x805b48
  8057d6:	49dd		ldr	r1, =0x664	; via 0x805b4c
  8057d8:	5c09		ldrb	r1, [r1, r0]
  8057da:	42a1		cmp	r1, r4
  8057dc:	d103		bne	0x8057e6
  8057de:	49dc		ldr	r1, =0x83bbf4	; via 0x805b50
  8057e0:	7809		ldrb	r1, [r1, #0]
  8057e2:	42b9		cmp	r1, r7
  8057e4:	d034		beq	0x805850
  8057e6:	49d9		ldr	r1, =0x664	; via 0x805b4c
  8057e8:	540c		strb	r4, [r1, r0]
  8057ea:	48d9		ldr	r0, =0x83bbf4	; via 0x805b50
  8057ec:	7007		strb	r7, [r0, #0]
  8057ee:	68f0		ldr	r0, [r6, #12]	; 0xc
  8057f0:	30ff		add	r0, #255	; 0xff
  8057f2:	30dd		add	r0, #221	; 0xdd
  8057f4:	1c21		add	r1, r4, #0
  8057f6:	1c22		add	r2, r4, #0
  8057f8:	4643		mov	r3, r8
  8057fa:	f7fe f976	bl	0x803aea
  8057fe:	68b0		ldr	r0, [r6, #8]
  805800:	3016		add	r0, #22	; 0x16
  805802:	210d		mov	r1, #13	; 0xd
  805804:	8802		ldrh	r2, [r0, #0]
  805806:	4311		orr	r1, r2
  805808:	8001		strh	r1, [r0, #0]
  80580a:	e021		b	0x805850
  80580c:	68f0		ldr	r0, [r6, #12]	; 0xc
  80580e:	30ff		add	r0, #255	; 0xff
  805810:	30dd		add	r0, #221	; 0xdd
  805812:	1c21		add	r1, r4, #0
  805814:	1c22		add	r2, r4, #0
  805816:	4643		mov	r3, r8
  805818:	f7fe f967	bl	0x803aea
  80581c:	68b0		ldr	r0, [r6, #8]
  80581e:	3016		add	r0, #22	; 0x16
  805820:	2105		mov	r1, #5
  805822:	8802		ldrh	r2, [r0, #0]
  805824:	4311		orr	r1, r2
  805826:	8001		strh	r1, [r0, #0]
  805828:	48c7		ldr	r0, =0x83c738	; via 0x805b48
  80582a:	49c8		ldr	r1, =0x664	; via 0x805b4c
  80582c:	540c		strb	r4, [r1, r0]
  80582e:	21d1		mov	r1, #209	; 0xd1
  805830:	2000		mov	r0, #0
  805832:	5548		strb	r0, [r1, r5]
  805834:	e00c		b	0x805850
  805836:	48a8		ldr	r0, =0x83cda0	; via 0x805ad8
  805838:	6881		ldr	r1, [r0, #8]
  80583a:	2212		mov	r2, #18	; 0x12
  80583c:	838a		strh	r2, [r1, #28]	; 0x1c
  80583e:	6880		ldr	r0, [r0, #8]
  805840:	3016		add	r0, #22	; 0x16
  805842:	210d		mov	r1, #13	; 0xd
  805844:	8802		ldrh	r2, [r0, #0]
  805846:	4311		orr	r1, r2
  805848:	8001		strh	r1, [r0, #0]
  80584a:	49be		ldr	r1, =0x83cd9c	; via 0x805b44
  80584c:	20ff		mov	r0, #255	; 0xff
  80584e:	7008		strb	r0, [r1, #0]
  805850:	bc04		pop	{r2}
  805852:	4690		mov	r8, r2
  805854:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1ddsp_load_rx_task:
  805856:	b510		push	{r4, lr}
  805858:	4b9f		ldr	r3, =0x83cda0	; via 0x805ad8
  80585a:	689c		ldr	r4, [r3, #8]
  80585c:	8020		strh	r0, [r4, #0]
  80585e:	6898		ldr	r0, [r3, #8]
  805860:	8041		strh	r1, [r0, #2]
  805862:	6898		ldr	r0, [r3, #8]
  805864:	3020		add	r0, #32	; 0x20
  805866:	8801		ldrh	r1, [r0, #0]
  805868:	4311		orr	r1, r2
  80586a:	8001		strh	r1, [r0, #0]
  80586c:	bd10		pop	{r4, pc}

$l1ddsp_load_tx_task:
  80586e:	b510		push	{r4, lr}
  805870:	4b99		ldr	r3, =0x83cda0	; via 0x805ad8
  805872:	689c		ldr	r4, [r3, #8]
  805874:	80a0		strh	r0, [r4, #4]
  805876:	6898		ldr	r0, [r3, #8]
  805878:	80c1		strh	r1, [r0, #6]
  80587a:	6898		ldr	r0, [r3, #8]
  80587c:	3020		add	r0, #32	; 0x20
  80587e:	8801		ldrh	r1, [r0, #0]
  805880:	4311		orr	r1, r2
  805882:	8001		strh	r1, [r0, #0]
  805884:	bd10		pop	{r4, pc}

$l1ddsp_load_ra_task:
  805886:	49dc		ldr	r1, =0x83cda8	; via 0x805bf8
  805888:	6809		ldr	r1, [r1, #0]
  80588a:	81c8		strh	r0, [r1, #14]	; 0xe
  80588c:	4770		bx	lr

$l1ddsp_load_tch_mode:
  80588e:	4a5b		ldr	r2, =0x83cdac	; via 0x8059fc
  805890:	6812		ldr	r2, [r2, #0]
  805892:	0089		lsl	r1, r1, #2
  805894:	88d3		ldrh	r3, [r2, #6]
  805896:	041b		lsl	r3, r3, #16
  805898:	0cdb		lsr	r3, r3, #19
  80589a:	00db		lsl	r3, r3, #3
  80589c:	4319		orr	r1, r3
  80589e:	4301		orr	r1, r0
  8058a0:	80d1		strh	r1, [r2, #6]
  8058a2:	4770		bx	lr

  8058a4:	4af3		ldr	r2, =0x2d6	; via 0x805c74
  8058a6:	4955		ldr	r1, =0x83cdac	; via 0x8059fc
  8058a8:	6809		ldr	r1, [r1, #0]
  8058aa:	5250		strh	r0, [r2, r1]
  8058ac:	4770		bx	lr

$l1ddsp_load_tch_param:
  8058ae:	b5f0		push	{r4, r5, r6, r7, lr}
  8058b0:	4644		mov	r4, r8
  8058b2:	464d		mov	r5, r9
  8058b4:	4656		mov	r6, r10
  8058b6:	b470		push	{r4, r5, r6}
  8058b8:	af08		add	r7, sp, #32	; 0x20
  8058ba:	1c0d		add	r5, r1, #0
  8058bc:	4682		mov	r10, r0
  8058be:	4694		mov	r12, r2
  8058c0:	787e		ldrb	r6, [r7, #1]
  8058c2:	783a		ldrb	r2, [r7, #0]
  8058c4:	7981		ldrb	r1, [r0, #6]
  8058c6:	79c0		ldrb	r0, [r0, #7]
  8058c8:	0140		lsl	r0, r0, #5
  8058ca:	4301		orr	r1, r0
  8058cc:	4689		mov	r9, r1
  8058ce:	4650		mov	r0, r10
  8058d0:	8880		ldrh	r0, [r0, #4]
  8058d2:	4680		mov	r8, r0
  8058d4:	4c80		ldr	r4, =0x83cda0	; via 0x805ad8
  8058d6:	4650		mov	r0, r10
  8058d8:	6800		ldr	r0, [r0, #0]
  8058da:	2168		mov	r1, #104	; 0x68
  8058dc:	f00e f9fe	bl	0x813cdc
  8058e0:	0201		lsl	r1, r0, #8
  8058e2:	4650		mov	r0, r10
  8058e4:	7a40		ldrb	r0, [r0, #9]
  8058e6:	4301		orr	r1, r0
  8058e8:	68a0		ldr	r0, [r4, #8]
  8058ea:	8201		strh	r1, [r0, #16]	; 0x10
  8058ec:	68a1		ldr	r1, [r4, #8]
  8058ee:	4648		mov	r0, r9
  8058f0:	8308		strh	r0, [r1, #24]	; 0x18
  8058f2:	68a1		ldr	r1, [r4, #8]
  8058f4:	4640		mov	r0, r8
  8058f6:	8348		strh	r0, [r1, #26]	; 0x1a
  8058f8:	00d8		lsl	r0, r3, #3
  8058fa:	4240		neg	r0, r0
  8058fc:	4310		orr	r0, r2
  8058fe:	00c0		lsl	r0, r0, #3
  805900:	4330		orr	r0, r6
  805902:	0040		lsl	r0, r0, #1
  805904:	4330		orr	r0, r6
  805906:	0100		lsl	r0, r0, #4
  805908:	4661		mov	r1, r12
  80590a:	4308		orr	r0, r1
  80590c:	0100		lsl	r0, r0, #4
  80590e:	4328		orr	r0, r5
  805910:	68a1		ldr	r1, [r4, #8]
  805912:	8248		strh	r0, [r1, #18]	; 0x12
  805914:	bc70		pop	{r4, r5, r6}
  805916:	46a0		mov	r8, r4
  805918:	46a9		mov	r9, r5
  80591a:	46b2		mov	r10, r6
  80591c:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1ddsp_load_ciph_param:
  80591e:	b530		push	{r4, r5, lr}
  805920:	4a6d		ldr	r2, =0x83cda0	; via 0x805ad8
  805922:	23ff		mov	r3, #255	; 0xff
  805924:	33cf		add	r3, #207	; 0xcf
  805926:	68d4		ldr	r4, [r2, #12]	; 0xc
  805928:	5318		strh	r0, [r3, r4]
  80592a:	4cd3		ldr	r4, =0x2ce	; via 0x805c78
  80592c:	68d3		ldr	r3, [r2, #12]	; 0xc
  80592e:	7848		ldrb	r0, [r1, #1]
  805930:	0200		lsl	r0, r0, #8
  805932:	780d		ldrb	r5, [r1, #0]
  805934:	4328		orr	r0, r5
  805936:	52e0		strh	r0, [r4, r3]
  805938:	202d		mov	r0, #45	; 0x2d
  80593a:	0103		lsl	r3, r0, #4
  80593c:	68d5		ldr	r5, [r2, #12]	; 0xc
  80593e:	78c8		ldrb	r0, [r1, #3]
  805940:	0200		lsl	r0, r0, #8
  805942:	788c		ldrb	r4, [r1, #2]
  805944:	4320		orr	r0, r4
  805946:	5358		strh	r0, [r3, r5]
  805948:	4ccc		ldr	r4, =0x2d2	; via 0x805c7c
  80594a:	68d5		ldr	r5, [r2, #12]	; 0xc
  80594c:	7948		ldrb	r0, [r1, #5]
  80594e:	0200		lsl	r0, r0, #8
  805950:	790b		ldrb	r3, [r1, #4]
  805952:	4318		orr	r0, r3
  805954:	5360		strh	r0, [r4, r5]
  805956:	20b5		mov	r0, #181	; 0xb5
  805958:	0080		lsl	r0, r0, #2
  80595a:	68d3		ldr	r3, [r2, #12]	; 0xc
  80595c:	79ca		ldrb	r2, [r1, #7]
  80595e:	0212		lsl	r2, r2, #8
  805960:	7989		ldrb	r1, [r1, #6]
  805962:	430a		orr	r2, r1
  805964:	52c2		strh	r2, [r0, r3]
  805966:	bd30		pop	{r4, r5, pc}

$l1ddsp_stop_tch:
  805968:	48a3		ldr	r0, =0x83cda8	; via 0x805bf8
  80596a:	6800		ldr	r0, [r0, #0]
  80596c:	3012		add	r0, #18	; 0x12
  80596e:	2103		mov	r1, #3
  805970:	028a		lsl	r2, r1, #10
  805972:	8801		ldrh	r1, [r0, #0]
  805974:	430a		orr	r2, r1
  805976:	8002		strh	r2, [r0, #0]
  805978:	4770		bx	lr

$l1ddsp_meas_read:
  80597a:	b510		push	{r4, lr}
  80597c:	2800		cmp	r0, #0
  80597e:	d00d		beq	0x80599c
  805980:	2200		mov	r2, #0
  805982:	4be9		ldr	r3, =0x83cda4	; via 0x805d28
  805984:	681c		ldr	r4, [r3, #0]
  805986:	0053		lsl	r3, r2, #1
  805988:	18e3		add	r3, r4, r3
  80598a:	8b1b		ldrh	r3, [r3, #24]	; 0x18
  80598c:	095b		lsr	r3, r3, #5
  80598e:	5453		strb	r3, [r2, r1]
  805990:	1c52		add	r2, r2, #1
  805992:	0612		lsl	r2, r2, #24
  805994:	0e12		lsr	r2, r2, #24
  805996:	3801		sub	r0, #1
  805998:	2800		cmp	r0, #0
  80599a:	d1f2		bne	0x805982
  80599c:	48e3		ldr	r0, =0x83ce74	; via 0x805d2c
  80599e:	7800		ldrb	r0, [r0, #0]
  8059a0:	2800		cmp	r0, #0
  8059a2:	d004		beq	0x8059ae
  8059a4:	49e2		ldr	r1, =0x1077ffc	; via 0x805d30
  8059a6:	48e0		ldr	r0, =0x83cda4	; via 0x805d28
  8059a8:	6800		ldr	r0, [r0, #0]
  8059aa:	8b00		ldrh	r0, [r0, #24]	; 0x18
  8059ac:	8008		strh	r0, [r1, #0]
  8059ae:	bd10		pop	{r4, pc}

$l1ddsp_end_scenario:
  8059b0:	b500		push	{lr}
  8059b2:	2800		cmp	r0, #0
  8059b4:	d014		beq	0x8059e0
  8059b6:	3801		sub	r0, #1
  8059b8:	2800		cmp	r0, #0
  8059ba:	d00a		beq	0x8059d2
  8059bc:	3801		sub	r0, #1
  8059be:	2800		cmp	r0, #0
  8059c0:	d115		bne	0x8059ee
  8059c2:	4945		ldr	r1, =0x83cda0	; via 0x805ad8
  8059c4:	780a		ldrb	r2, [r1, #0]
  8059c6:	200a		mov	r0, #10	; 0xa
  8059c8:	4310		orr	r0, r2
  8059ca:	2301		mov	r3, #1
  8059cc:	4053		eor	r3, r2
  8059ce:	700b		strb	r3, [r1, #0]
  8059d0:	e00d		b	0x8059ee
  8059d2:	2001		mov	r0, #1
  8059d4:	4940		ldr	r1, =0x83cda0	; via 0x805ad8
  8059d6:	7809		ldrb	r1, [r1, #0]
  8059d8:	4048		eor	r0, r1
  8059da:	2108		mov	r1, #8
  8059dc:	4308		orr	r0, r1
  8059de:	e006		b	0x8059ee
  8059e0:	4a3d		ldr	r2, =0x83cda0	; via 0x805ad8
  8059e2:	7811		ldrb	r1, [r2, #0]
  8059e4:	2002		mov	r0, #2
  8059e6:	4308		orr	r0, r1
  8059e8:	2301		mov	r3, #1
  8059ea:	404b		eor	r3, r1
  8059ec:	7013		strb	r3, [r2, #0]
  8059ee:	4903		ldr	r1, =0x83cdac	; via 0x8059fc
  8059f0:	6809		ldr	r1, [r1, #0]
  8059f2:	8008		strh	r0, [r1, #0]
  8059f4:	f00e f8c7	bl	0x813b86
  8059f8:	bd00		pop	{pc}
  8059fa:	46c0		nop			(mov r8, r8)

$l1dtpu_meas:
  805a00:	b5f0		push	{r4, r5, r6, r7, lr}
  805a02:	4644		mov	r4, r8
  805a04:	464d		mov	r5, r9
  805a06:	4656		mov	r6, r10
  805a08:	b470		push	{r4, r5, r6}
  805a0a:	af08		add	r7, sp, #32	; 0x20
  805a0c:	1c1d		add	r5, r3, #0
  805a0e:	1c14		add	r4, r2, #0
  805a10:	1c0e		add	r6, r1, #0
  805a12:	4680		mov	r8, r0
  805a14:	78b8		ldrb	r0, [r7, #2]
  805a16:	4682		mov	r10, r0
  805a18:	8838		ldrh	r0, [r7, #0]
  805a1a:	4681		mov	r9, r0
  805a1c:	493c		ldr	r1, =0x83cdb4	; via 0x805b10
  805a1e:	20c1		mov	r0, #193	; 0xc1
  805a20:	5c40		ldrb	r0, [r0, r1]
  805a22:	2800		cmp	r0, #0
  805a24:	d103		bne	0x805a2e
  805a26:	20d5		mov	r0, #213	; 0xd5
  805a28:	5646		ldrsb	r6, [r0, r1]
  805a2a:	20d6		mov	r0, #214	; 0xd6
  805a2c:	5c44		ldrb	r4, [r0, r1]
  805a2e:	48e2		ldr	r0, =0x271	; via 0x805db8
  805a30:	4368		mul	r0, r5
  805a32:	1140		asr	r0, r0, #5
  805a34:	0400		lsl	r0, r0, #16
  805a36:	0c03		lsr	r3, r0, #16
  805a38:	4648		mov	r0, r9
  805a3a:	1818		add	r0, r3, r0
  805a3c:	0400		lsl	r0, r0, #16
  805a3e:	1400		asr	r0, r0, #16
  805a40:	4ade		ldr	r2, =0x1388	; via 0x805dbc
  805a42:	4290		cmp	r0, r2
  805a44:	db02		blt	0x805a4c
  805a46:	1a80		sub	r0, r0, r2
  805a48:	0400		lsl	r0, r0, #16
  805a4a:	1400		asr	r0, r0, #16
  805a4c:	2240		mov	r2, #64	; 0x40
  805a4e:	5a51		ldrh	r1, [r2, r1]
  805a50:	1a59		sub	r1, r3, r1
  805a52:	3140		add	r1, #64	; 0x40
  805a54:	0409		lsl	r1, r1, #16
  805a56:	1409		asr	r1, r1, #16
  805a58:	2900		cmp	r1, #0
  805a5a:	d503		bpl	0x805a64
  805a5c:	4ad7		ldr	r2, =0x1388	; via 0x805dbc
  805a5e:	1851		add	r1, r2, r1
  805a60:	0409		lsl	r1, r1, #16
  805a62:	1409		asr	r1, r1, #16
  805a64:	f00d fffd	bl	0x813a62	; $l1dmacro_offset
  805a68:	4640		mov	r0, r8
  805a6a:	f00d f827	bl	0x812abc	; $l1dmacro_rx_synth
  805a6e:	4650		mov	r0, r10
  805a70:	2803		cmp	r0, #3
  805a72:	d101		bne	0x805a78
  805a74:	f00e f82b	bl	0x813ace	; $l1dmacro_adc_read_rx
  805a78:	4640		mov	r0, r8
  805a7a:	1c31		add	r1, r6, #0
  805a7c:	1c22		add	r2, r4, #0
  805a7e:	f00c ff99	bl	0x8129b4	; $l1dmacro_agc
  805a82:	4640		mov	r0, r8
  805a84:	f00d fb44	bl	0x813110	; $l1dmacro_rx_ms
  805a88:	4648		mov	r0, r9
  805a8a:	49cc		ldr	r1, =0x1388	; via 0x805dbc
  805a8c:	f00d ffe9	bl	0x813a62	; $l1dmacro_offset
  805a90:	2d00		cmp	r5, #0
  805a92:	d103		bne	0x805a9c
  805a94:	48ec		ldr	r0, =0x83cc58	; via 0x805e48
  805a96:	8800		ldrh	r0, [r0, #0]
  805a98:	f7ff fe48	bl	0x80572c	; $l1ddsp_load_afc
  805a9c:	bc70		pop	{r4, r5, r6}
  805a9e:	46a0		mov	r8, r4
  805aa0:	46a9		mov	r9, r5
  805aa2:	46b2		mov	r10, r6
  805aa4:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1dtpu_neig_fb:
  805aa6:	b570		push	{r4, r5, r6, lr}
  805aa8:	1c15		add	r5, r2, #0
  805aaa:	1c0e		add	r6, r1, #0
  805aac:	1c04		add	r4, r0, #0
  805aae:	4818		ldr	r0, =0x83cdb4	; via 0x805b10
  805ab0:	21c1		mov	r1, #193	; 0xc1
  805ab2:	5c09		ldrb	r1, [r1, r0]
  805ab4:	2900		cmp	r1, #0
  805ab6:	d103		bne	0x805ac0
  805ab8:	21d5		mov	r1, #213	; 0xd5
  805aba:	560e		ldrsb	r6, [r1, r0]
  805abc:	21d6		mov	r1, #214	; 0xd6
  805abe:	5c0d		ldrb	r5, [r1, r0]
  805ac0:	1c20		add	r0, r4, #0
  805ac2:	f00c fffb	bl	0x812abc	; $l1dmacro_rx_synth
  805ac6:	1c20		add	r0, r4, #0
  805ac8:	1c31		add	r1, r6, #0
  805aca:	1c2a		add	r2, r5, #0
  805acc:	f00c ff72	bl	0x8129b4	; $l1dmacro_agc
  805ad0:	1c20		add	r0, r4, #0
  805ad2:	f00d fb33	bl	0x81313c	; $l1dmacro_rx_fb
  805ad6:	bd70		pop	{r4, r5, r6, pc}

$l1dtpu_neig_fb26:
  805ae0:	b5f0		push	{r4, r5, r6, r7, lr}
  805ae2:	1c1e		add	r6, r3, #0
  805ae4:	1c15		add	r5, r2, #0
  805ae6:	1c0c		add	r4, r1, #0
  805ae8:	1c07		add	r7, r0, #0
  805aea:	4a09		ldr	r2, =0x83cdb4	; via 0x805b10
  805aec:	20c1		mov	r0, #193	; 0xc1
  805aee:	5c80		ldrb	r0, [r0, r2]
  805af0:	2800		cmp	r0, #0
  805af2:	d103		bne	0x805afc
  805af4:	20d5		mov	r0, #213	; 0xd5
  805af6:	5684		ldrsb	r4, [r0, r2]
  805af8:	20d6		mov	r0, #214	; 0xd6
  805afa:	5c85		ldrb	r5, [r0, r2]
  805afc:	205c		mov	r0, #92	; 0x5c
  805afe:	5e80		ldrsh	r0, [r0, r2]
  805b00:	1830		add	r0, r6, r0
  805b02:	0400		lsl	r0, r0, #16
  805b04:	1400		asr	r0, r0, #16
  805b06:	49ad		ldr	r1, =0x1388	; via 0x805dbc
  805b08:	4288		cmp	r0, r1
  805b0a:	db06		blt	0x805b1a
  805b0c:	e002		b	0x805b14
  805b0e:	46c0		nop			(mov r8, r8)

  805b10:	0083cdb4

  805b14:	1a40		sub	r0, r0, r1
  805b16:	0400		lsl	r0, r0, #16
  805b18:	1400		asr	r0, r0, #16
  805b1a:	215e		mov	r1, #94	; 0x5e
  805b1c:	5e89		ldrsh	r1, [r1, r2]
  805b1e:	f00d ffa0	bl	0x813a62	; $l1dmacro_offset
  805b22:	1c38		add	r0, r7, #0
  805b24:	f00c ffca	bl	0x812abc	; $l1dmacro_rx_synth
  805b28:	1c38		add	r0, r7, #0
  805b2a:	1c21		add	r1, r4, #0
  805b2c:	1c2a		add	r2, r5, #0
  805b2e:	f00c ff41	bl	0x8129b4	; $l1dmacro_agc
  805b32:	1c38		add	r0, r7, #0
  805b34:	f00d fb60	bl	0x8131f8	; $l1dmacro_rx_fb26
  805b38:	1c30		add	r0, r6, #0
  805b3a:	49a0		ldr	r1, =0x1388	; via 0x805dbc
  805b3c:	f00d ff91	bl	0x813a62	; $l1dmacro_offset
  805b40:	bdf0		pop	{r4, r5, r6, r7, pc}
  805b42:	46c0		nop			(mov r8, r8)

$l1dtpu_neig_sb:
  805b54:	b5f0		push	{r4, r5, r6, r7, lr}
  805b56:	4644		mov	r4, r8
  805b58:	464d		mov	r5, r9
  805b5a:	4656		mov	r6, r10
  805b5c:	465f		mov	r7, r11
  805b5e:	b4f0		push	{r4, r5, r6, r7}
  805b60:	af09		add	r7, sp, #36	; 0x24
  805b62:	b081		sub	sp, #4
  805b64:	1c1d		add	r5, r3, #0
  805b66:	1c14		add	r4, r2, #0
  805b68:	1c0e		add	r6, r1, #0
  805b6a:	4680		mov	r8, r0
  805b6c:	7978		ldrb	r0, [r7, #5]
  805b6e:	4682		mov	r10, r0
  805b70:	7938		ldrb	r0, [r7, #4]
  805b72:	4683		mov	r11, r0
  805b74:	6838		ldr	r0, [r7, #0]
  805b76:	4681		mov	r9, r0
  805b78:	49e3		ldr	r1, =0x83cdb4	; via 0x805f08
  805b7a:	20c1		mov	r0, #193	; 0xc1
  805b7c:	5c40		ldrb	r0, [r0, r1]
  805b7e:	2800		cmp	r0, #0
  805b80:	d103		bne	0x805b8a
  805b82:	20d5		mov	r0, #213	; 0xd5
  805b84:	5646		ldrsb	r6, [r0, r1]
  805b86:	20d6		mov	r0, #214	; 0xd6
  805b88:	5c44		ldrb	r4, [r0, r1]
  805b8a:	4648		mov	r0, r9
  805b8c:	1828		add	r0, r5, r0
  805b8e:	0400		lsl	r0, r0, #16
  805b90:	0c02		lsr	r2, r0, #16
  805b92:	9200		str	r2, [sp, #0]
  805b94:	4b89		ldr	r3, =0x1388	; via 0x805dbc
  805b96:	9800		ldr	r0, [sp, #0]
  805b98:	4298		cmp	r0, r3
  805b9a:	db04		blt	0x805ba6
  805b9c:	4887		ldr	r0, =0x1388	; via 0x805dbc
  805b9e:	1a10		sub	r0, r2, r0
  805ba0:	0400		lsl	r0, r0, #16
  805ba2:	0c00		lsr	r0, r0, #16
  805ba4:	9000		str	r0, [sp, #0]
  805ba6:	9800		ldr	r0, [sp, #0]
  805ba8:	2246		mov	r2, #70	; 0x46
  805baa:	5e51		ldrsh	r1, [r2, r1]
  805bac:	f00d ff59	bl	0x813a62	; $l1dmacro_offset
  805bb0:	4650		mov	r0, r10
  805bb2:	2802		cmp	r0, #2
  805bb4:	d006		beq	0x805bc4
  805bb6:	48d3		ldr	r0, =0x137e	; via 0x805f04
  805bb8:	4285		cmp	r5, r0
  805bba:	d303		bcc	0x805bc4
  805bbc:	9800		ldr	r0, [sp, #0]
  805bbe:	2100		mov	r1, #0
  805bc0:	f00d ff4f	bl	0x813a62	; $l1dmacro_offset
  805bc4:	4640		mov	r0, r8
  805bc6:	f00c ff79	bl	0x812abc	; $l1dmacro_rx_synth
  805bca:	4640		mov	r0, r8
  805bcc:	1c31		add	r1, r6, #0
  805bce:	1c22		add	r2, r4, #0
  805bd0:	f00c fef0	bl	0x8129b4	; $l1dmacro_agc
  805bd4:	4640		mov	r0, r8
  805bd6:	f00d fa8f	bl	0x8130f8	; $l1dmacro_rx_sb
  805bda:	4658		mov	r0, r11
  805bdc:	2801		cmp	r0, #1
  805bde:	d103		bne	0x805be8
  805be0:	4648		mov	r0, r9
  805be2:	4976		ldr	r1, =0x1388	; via 0x805dbc
  805be4:	f00d ff3d	bl	0x813a62	; $l1dmacro_offset
  805be8:	b001		add	sp, #4
  805bea:	bcf0		pop	{r4, r5, r6, r7}
  805bec:	46a0		mov	r8, r4
  805bee:	46a9		mov	r9, r5
  805bf0:	46b2		mov	r10, r6
  805bf2:	46bb		mov	r11, r7
  805bf4:	bdf0		pop	{r4, r5, r6, r7, pc}
  805bf6:	46c0		nop			(mov r8, r8)

$l1dtpu_neig_sb26:
  805bfc:	b5f0		push	{r4, r5, r6, r7, lr}
  805bfe:	4644		mov	r4, r8
  805c00:	464d		mov	r5, r9
  805c02:	b430		push	{r4, r5}
  805c04:	1c15		add	r5, r2, #0
  805c06:	1c0e		add	r6, r1, #0
  805c08:	4681		mov	r9, r0
  805c0a:	9f08		ldr	r7, [sp, #32]	; 0x20
  805c0c:	9807		ldr	r0, [sp, #28]	; 0x1c
  805c0e:	4680		mov	r8, r0
  805c10:	49bd		ldr	r1, =0x83cdb4	; via 0x805f08
  805c12:	20c1		mov	r0, #193	; 0xc1
  805c14:	5c40		ldrb	r0, [r0, r1]
  805c16:	2800		cmp	r0, #0
  805c18:	d103		bne	0x805c22
  805c1a:	20d5		mov	r0, #213	; 0xd5
  805c1c:	5646		ldrsb	r6, [r0, r1]
  805c1e:	20d6		mov	r0, #214	; 0xd6
  805c20:	5c45		ldrb	r5, [r0, r1]
  805c22:	19d8		add	r0, r3, r7
  805c24:	0400		lsl	r0, r0, #16
  805c26:	0c04		lsr	r4, r0, #16
  805c28:	4864		ldr	r0, =0x1388	; via 0x805dbc
  805c2a:	4284		cmp	r4, r0
  805c2c:	db02		blt	0x805c34
  805c2e:	1a20		sub	r0, r4, r0
  805c30:	0400		lsl	r0, r0, #16
  805c32:	0c04		lsr	r4, r0, #16
  805c34:	225e		mov	r2, #94	; 0x5e
  805c36:	5e51		ldrsh	r1, [r2, r1]
  805c38:	1c20		add	r0, r4, #0
  805c3a:	f00d ff12	bl	0x813a62	; $l1dmacro_offset
  805c3e:	4640		mov	r0, r8
  805c40:	2800		cmp	r0, #0
  805c42:	d003		beq	0x805c4c
  805c44:	1c20		add	r0, r4, #0
  805c46:	2100		mov	r1, #0
  805c48:	f00d ff0b	bl	0x813a62	; $l1dmacro_offset
  805c4c:	4648		mov	r0, r9
  805c4e:	f00c ff35	bl	0x812abc	; $l1dmacro_rx_synth
  805c52:	4648		mov	r0, r9
  805c54:	1c31		add	r1, r6, #0
  805c56:	1c2a		add	r2, r5, #0
  805c58:	f00c feac	bl	0x8129b4	; $l1dmacro_agc
  805c5c:	4648		mov	r0, r9
  805c5e:	f00d fa4b	bl	0x8130f8	; $l1dmacro_rx_sb
  805c62:	1c38		add	r0, r7, #0
  805c64:	4955		ldr	r1, =0x1388	; via 0x805dbc
  805c66:	f00d fefc	bl	0x813a62	; $l1dmacro_offset
  805c6a:	bc30		pop	{r4, r5}
  805c6c:	46a0		mov	r8, r4
  805c6e:	46a9		mov	r9, r5
  805c70:	bdf0		pop	{r4, r5, r6, r7, pc}
  805c72:	46c0		nop			(mov r8, r8)

$l1dtpu_serv_rx_nb:
  805c80:	b5f0		push	{r4, r5, r6, r7, lr}
  805c82:	4644		mov	r4, r8
  805c84:	464d		mov	r5, r9
  805c86:	4656		mov	r6, r10
  805c88:	465f		mov	r7, r11
  805c8a:	b4f0		push	{r4, r5, r6, r7}
  805c8c:	af09		add	r7, sp, #36	; 0x24
  805c8e:	4698		mov	r8, r3
  805c90:	4691		mov	r9, r2
  805c92:	468a		mov	r10, r1
  805c94:	1c05		add	r5, r0, #0
  805c96:	7978		ldrb	r0, [r7, #5]
  805c98:	4683		mov	r11, r0
  805c9a:	793e		ldrb	r6, [r7, #4]
  805c9c:	6838		ldr	r0, [r7, #0]
  805c9e:	4c9a		ldr	r4, =0x83cdb4	; via 0x805f08
  805ca0:	21c1		mov	r1, #193	; 0xc1
  805ca2:	5d09		ldrb	r1, [r1, r4]
  805ca4:	2900		cmp	r1, #0
  805ca6:	d105		bne	0x805cb4
  805ca8:	21d5		mov	r1, #213	; 0xd5
  805caa:	5709		ldrsb	r1, [r1, r4]
  805cac:	468a		mov	r10, r1
  805cae:	21d6		mov	r1, #214	; 0xd6
  805cb0:	5d09		ldrb	r1, [r1, r4]
  805cb2:	4689		mov	r9, r1
  805cb4:	2e00		cmp	r6, #0
  805cb6:	d105		bne	0x805cc4
  805cb8:	2048		mov	r0, #72	; 0x48
  805cba:	5f00		ldrsh	r0, [r0, r4]
  805cbc:	4641		mov	r1, r8
  805cbe:	f00d feeb	bl	0x813a98	; $l1dmacro_synchro
  805cc2:	e003		b	0x805ccc
  805cc4:	2146		mov	r1, #70	; 0x46
  805cc6:	5f09		ldrsh	r1, [r1, r4]
  805cc8:	f00d fecb	bl	0x813a62	; $l1dmacro_offset
  805ccc:	1c28		add	r0, r5, #0
  805cce:	f00c fef5	bl	0x812abc	; $l1dmacro_rx_synth
  805cd2:	4658		mov	r0, r11
  805cd4:	2803		cmp	r0, #3
  805cd6:	d101		bne	0x805cdc
  805cd8:	f00d fef9	bl	0x813ace	; $l1dmacro_adc_read_rx
  805cdc:	1c28		add	r0, r5, #0
  805cde:	4651		mov	r1, r10
  805ce0:	464a		mov	r2, r9
  805ce2:	f00c fe67	bl	0x8129b4	; $l1dmacro_agc
  805ce6:	20c0		mov	r0, #192	; 0xc0
  805ce8:	5d00		ldrb	r0, [r0, r4]
  805cea:	2800		cmp	r0, #0
  805cec:	d009		beq	0x805d02
  805cee:	20d0		mov	r0, #208	; 0xd0
  805cf0:	5d00		ldrb	r0, [r0, r4]
  805cf2:	2802		cmp	r0, #2
  805cf4:	d105		bne	0x805d02
  805cf6:	0628		lsl	r0, r5, #24
  805cf8:	0e01		lsr	r1, r0, #24
  805cfa:	2000		mov	r0, #0
  805cfc:	f00d fac0	bl	0x813280	; $l1dmacro_rx_cont
  805d00:	e002		b	0x805d08
  805d02:	1c28		add	r0, r5, #0
  805d04:	f00d f9ec	bl	0x8130e0	; $l1dmacro_rx_nb
  805d08:	484f		ldr	r0, =0x83cc58	; via 0x805e48
  805d0a:	8800		ldrh	r0, [r0, #0]
  805d0c:	f7ff fd0e	bl	0x80572c	; $l1ddsp_load_afc
  805d10:	2e00		cmp	r6, #0
  805d12:	d003		beq	0x805d1c
  805d14:	4640		mov	r0, r8
  805d16:	4929		ldr	r1, =0x1388	; via 0x805dbc
  805d18:	f00d fea3	bl	0x813a62	; $l1dmacro_offset
  805d1c:	bcf0		pop	{r4, r5, r6, r7}
  805d1e:	46a0		mov	r8, r4
  805d20:	46a9		mov	r9, r5
  805d22:	46b2		mov	r10, r6
  805d24:	46bb		mov	r11, r7
  805d26:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1dtpu_serv_tx_nb:
  805d34:	b5f0		push	{r4, r5, r6, r7, lr}
  805d36:	4644		mov	r4, r8
  805d38:	464d		mov	r5, r9
  805d3a:	b430		push	{r4, r5}
  805d3c:	af07		add	r7, sp, #28	; 0x1c
  805d3e:	4699		mov	r9, r3
  805d40:	1c14		add	r4, r2, #0
  805d42:	4680		mov	r8, r0
  805d44:	783e		ldrb	r6, [r7, #0]
  805d46:	008a		lsl	r2, r1, #2
  805d48:	4870		ldr	r0, =0x83ce14	; via 0x805f0c
  805d4a:	6801		ldr	r1, [r0, #0]
  805d4c:	1a60		sub	r0, r4, r1
  805d4e:	1a83		sub	r3, r0, r2
  805d50:	486f		ldr	r0, =0x7a1	; via 0x805f10
  805d52:	18c0		add	r0, r0, r3
  805d54:	1a63		sub	r3, r4, r1
  805d56:	1a9b		sub	r3, r3, r2
  805d58:	4a6d		ldr	r2, =0x7a1	; via 0x805f10
  805d5a:	18d2		add	r2, r2, r3
  805d5c:	4b6d		ldr	r3, =0x1388	; via 0x805f14
  805d5e:	429a		cmp	r2, r3
  805d60:	d301		bcc	0x805d66
  805d62:	486c		ldr	r0, =0x1388	; via 0x805f14
  805d64:	1a10		sub	r0, r2, r0
  805d66:	4d68		ldr	r5, =0x83cdb4	; via 0x805f08
  805d68:	4a6b		ldr	r2, =0x83cc62	; via 0x805f18
  805d6a:	8812		ldrh	r2, [r2, #0]
  805d6c:	0912		lsr	r2, r2, #4
  805d6e:	d201		bcs	0x805d74
  805d70:	496a		ldr	r1, =0x137e	; via 0x805f1c
  805d72:	e002		b	0x805d7a
  805d74:	2252		mov	r2, #82	; 0x52
  805d76:	5f52		ldrsh	r2, [r2, r5]
  805d78:	1a51		sub	r1, r2, r1
  805d7a:	f00d fe72	bl	0x813a62	; $l1dmacro_offset
  805d7e:	4640		mov	r0, r8
  805d80:	f00c feb6	bl	0x812af0	; $l1dmacro_tx_synth
  805d84:	20c0		mov	r0, #192	; 0xc0
  805d86:	5d40		ldrb	r0, [r0, r5]
  805d88:	2800		cmp	r0, #0
  805d8a:	d008		beq	0x805d9e
  805d8c:	20d0		mov	r0, #208	; 0xd0
  805d8e:	5d40		ldrb	r0, [r0, r5]
  805d90:	2803		cmp	r0, #3
  805d92:	d104		bne	0x805d9e
  805d94:	4640		mov	r0, r8
  805d96:	4649		mov	r1, r9
  805d98:	f00d fa7e	bl	0x813298	; $l1dmacro_tx_cont
  805d9c:	e004		b	0x805da8
  805d9e:	4640		mov	r0, r8
  805da0:	4649		mov	r1, r9
  805da2:	1c32		add	r2, r6, #0
  805da4:	f00d fa40	bl	0x813228	; $l1dmacro_tx_nb
  805da8:	1c20		add	r0, r4, #0
  805daa:	4904		ldr	r1, =0x1388	; via 0x805dbc
  805dac:	f00d fe59	bl	0x813a62	; $l1dmacro_offset
  805db0:	bc30		pop	{r4, r5}
  805db2:	46a0		mov	r8, r4
  805db4:	46a9		mov	r9, r5
  805db6:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1dtpu_neig_rx_nb:
  805dc0:	b5f0		push	{r4, r5, r6, r7, lr}
  805dc2:	4644		mov	r4, r8
  805dc4:	464d		mov	r5, r9
  805dc6:	4656		mov	r6, r10
  805dc8:	465f		mov	r7, r11
  805dca:	b4f0		push	{r4, r5, r6, r7}
  805dcc:	af09		add	r7, sp, #36	; 0x24
  805dce:	1c15		add	r5, r2, #0
  805dd0:	1c0e		add	r6, r1, #0
  805dd2:	4681		mov	r9, r0
  805dd4:	7978		ldrb	r0, [r7, #5]
  805dd6:	4682		mov	r10, r0
  805dd8:	7938		ldrb	r0, [r7, #4]
  805dda:	4683		mov	r11, r0
  805ddc:	6838		ldr	r0, [r7, #0]
  805dde:	4680		mov	r8, r0
  805de0:	4849		ldr	r0, =0x83cdb4	; via 0x805f08
  805de2:	21c1		mov	r1, #193	; 0xc1
  805de4:	5c09		ldrb	r1, [r1, r0]
  805de6:	2900		cmp	r1, #0
  805de8:	d103		bne	0x805df2
  805dea:	21d5		mov	r1, #213	; 0xd5
  805dec:	560e		ldrsb	r6, [r1, r0]
  805dee:	21d6		mov	r1, #214	; 0xd6
  805df0:	5c0d		ldrb	r5, [r1, r0]
  805df2:	4641		mov	r1, r8
  805df4:	185c		add	r4, r3, r1
  805df6:	4947		ldr	r1, =0x1388	; via 0x805f14
  805df8:	428c		cmp	r4, r1
  805dfa:	d300		bcc	0x805dfe
  805dfc:	1a64		sub	r4, r4, r1
  805dfe:	2146		mov	r1, #70	; 0x46
  805e00:	5e09		ldrsh	r1, [r1, r0]
  805e02:	1c20		add	r0, r4, #0
  805e04:	f00d fe2d	bl	0x813a62	; $l1dmacro_offset
  805e08:	4650		mov	r0, r10
  805e0a:	2801		cmp	r0, #1
  805e0c:	d103		bne	0x805e16
  805e0e:	1c20		add	r0, r4, #0
  805e10:	2100		mov	r1, #0
  805e12:	f00d fe26	bl	0x813a62	; $l1dmacro_offset
  805e16:	4648		mov	r0, r9
  805e18:	f00c fe50	bl	0x812abc	; $l1dmacro_rx_synth
  805e1c:	4648		mov	r0, r9
  805e1e:	1c31		add	r1, r6, #0
  805e20:	1c2a		add	r2, r5, #0
  805e22:	f00c fdc7	bl	0x8129b4	; $l1dmacro_agc
  805e26:	4648		mov	r0, r9
  805e28:	f00d f95a	bl	0x8130e0	; $l1dmacro_rx_nb
  805e2c:	4658		mov	r0, r11
  805e2e:	2801		cmp	r0, #1
  805e30:	d103		bne	0x805e3a
  805e32:	4640		mov	r0, r8
  805e34:	493a		ldr	r1, =0x1388	; via 0x805f20
  805e36:	f00d fe14	bl	0x813a62	; $l1dmacro_offset
  805e3a:	bcf0		pop	{r4, r5, r6, r7}
  805e3c:	46a0		mov	r8, r4
  805e3e:	46a9		mov	r9, r5
  805e40:	46b2		mov	r10, r6
  805e42:	46bb		mov	r11, r7
  805e44:	bdf0		pop	{r4, r5, r6, r7, pc}
  805e46:	46c0		nop			(mov r8, r8)

$l1dtpu_serv_tx_ra:
  805e4c:	b5f0		push	{r4, r5, r6, r7, lr}
  805e4e:	1c1f		add	r7, r3, #0
  805e50:	1c16		add	r6, r2, #0
  805e52:	1c0c		add	r4, r1, #0
  805e54:	1c05		add	r5, r0, #0
  805e56:	482d		ldr	r0, =0x83ce14	; via 0x805f0c
  805e58:	6801		ldr	r1, [r0, #0]
  805e5a:	1a60		sub	r0, r4, r1
  805e5c:	4a2c		ldr	r2, =0x7a1	; via 0x805f10
  805e5e:	1810		add	r0, r2, r0
  805e60:	1a63		sub	r3, r4, r1
  805e62:	18d2		add	r2, r2, r3
  805e64:	4b2b		ldr	r3, =0x1388	; via 0x805f14
  805e66:	429a		cmp	r2, r3
  805e68:	d301		bcc	0x805e6e
  805e6a:	482a		ldr	r0, =0x1388	; via 0x805f14
  805e6c:	1a10		sub	r0, r2, r0
  805e6e:	4a2a		ldr	r2, =0x83cc62	; via 0x805f18
  805e70:	8812		ldrh	r2, [r2, #0]
  805e72:	0912		lsr	r2, r2, #4
  805e74:	d201		bcs	0x805e7a
  805e76:	4929		ldr	r1, =0x137e	; via 0x805f1c
  805e78:	e003		b	0x805e82
  805e7a:	4a23		ldr	r2, =0x83cdb4	; via 0x805f08
  805e7c:	2352		mov	r3, #82	; 0x52
  805e7e:	5e9a		ldrsh	r2, [r3, r2]
  805e80:	1a51		sub	r1, r2, r1
  805e82:	f00d fdee	bl	0x813a62	; $l1dmacro_offset
  805e86:	1c28		add	r0, r5, #0
  805e88:	f00c fe32	bl	0x812af0	; $l1dmacro_tx_synth
  805e8c:	1c28		add	r0, r5, #0
  805e8e:	1c31		add	r1, r6, #0
  805e90:	1c3a		add	r2, r7, #0
  805e92:	f00d f9df	bl	0x813254	; $l1dmacro_tx_ra
  805e96:	1c20		add	r0, r4, #0
  805e98:	4921		ldr	r1, =0x1388	; via 0x805f20
  805e9a:	f00d fde2	bl	0x813a62	; $l1dmacro_offset
  805e9e:	bdf0		pop	{r4, r5, r6, r7, pc}

$l1dtpu_end_scenario:
  805ea0:	b500		push	{lr}
  805ea2:	f00d fdcb	bl	0x813a3c	; $l1dmacro_idle
  805ea6:	bd00		pop	{pc}

$l1d_reset_hw:
  805ea8:	b510		push	{r4, lr}
  805eaa:	1c04		add	r4, r0, #0
  805eac:	482b		ldr	r0, =0x83cda0	; via 0x805f5c
  805eae:	2100		mov	r1, #0
  805eb0:	7001		strb	r1, [r0, #0]
  805eb2:	7041		strb	r1, [r0, #1]
  805eb4:	4a1b		ldr	r2, =0x83c724	; via 0x805f24
  805eb6:	7011		strb	r1, [r2, #0]
  805eb8:	7081		strb	r1, [r0, #2]
  805eba:	491b		ldr	r1, =0xffd001a8	; via 0x805f28
  805ebc:	60c1		str	r1, [r0, #12]	; 0xc
  805ebe:	491b		ldr	r1, =0xffd00050	; via 0x805f2c
  805ec0:	6041		str	r1, [r0, #4]
  805ec2:	491b		ldr	r1, =0xffd00000	; via 0x805f30
  805ec4:	6081		str	r1, [r0, #8]
  805ec6:	491b		ldr	r1, =0xffd00862	; via 0x805f34
  805ec8:	6101		str	r1, [r0, #16]	; 0x10
  805eca:	2000		mov	r0, #0
  805ecc:	4918		ldr	r1, =0xffd00000	; via 0x805f30
  805ece:	8008		strh	r0, [r1, #0]
  805ed0:	4919		ldr	r1, =0xffd00004	; via 0x805f38
  805ed2:	8008		strh	r0, [r1, #0]
  805ed4:	4919		ldr	r1, =0xffd0000e	; via 0x805f3c
  805ed6:	8008		strh	r0, [r1, #0]
  805ed8:	4919		ldr	r1, =0xffd00008	; via 0x805f40
  805eda:	8008		strh	r0, [r1, #0]
  805edc:	4919		ldr	r1, =0xffd00012	; via 0x805f44
  805ede:	8008		strh	r0, [r1, #0]
  805ee0:	4911		ldr	r1, =0xffd001a8	; via 0x805f28
  805ee2:	8008		strh	r0, [r1, #0]
  805ee4:	4818		ldr	r0, =0x83ed90	; via 0x805f48
  805ee6:	4919		ldr	r1, =0xffd0035c	; via 0x805f4c
  805ee8:	6081		str	r1, [r0, #8]
  805eea:	4919		ldr	r1, =0xffd000f0	; via 0x805f50
  805eec:	6001		str	r1, [r0, #0]
  805eee:	4919		ldr	r1, =0xffd000a0	; via 0x805f54
  805ef0:	6041		str	r1, [r0, #4]
  805ef2:	4919		ldr	r1, =0xffd00900	; via 0x805f58
  805ef4:	60c1		str	r1, [r0, #12]	; 0xc
  805ef6:	4817		ldr	r0, =0xffd000a0	; via 0x805f54
  805ef8:	f000 f8c2	bl	0x806080	; $l1ps_reset_db_mcu_to_dsp
  805efc:	1c20		add	r0, r4, #0
  805efe:	f00d f9ef	bl	0x8132e0	; $l1dmacro_reset_hw
  805f02:	bd10		pop	{r4, pc}

; apparent beginning of tpudrv10 module

; mystery helper function for rf_program()
  811df8:	b500		push	{lr}
  811dfa:	b084		sub	sp, #16	; 0x10
  811dfc:	4669		mov	r1, sp
  811dfe:	8008		strh	r0, [r1, #0]
  811e00:	2014		mov	r0, #20	; 0x14
  811e02:	49c6		ldr	r1, =0x83c0a1	; via 0x81211c
  811e04:	7809		ldrb	r1, [r1, #0]
  811e06:	4348		mul	r0, r1
  811e08:	49c3		ldr	r1, =0x83c054	; via 0x812118
  811e0a:	5808		ldr	r0, [r1, r0]
  811e0c:	9003		str	r0, [sp, #12]	; 0xc
  811e0e:	9803		ldr	r0, [sp, #12]	; 0xc
  811e10:	8801		ldrh	r1, [r0, #0]
  811e12:	4668		mov	r0, sp
  811e14:	8800		ldrh	r0, [r0, #0]
  811e16:	4281		cmp	r1, r0
  811e18:	da08		bge	0x811e2c
  811e1a:	9803		ldr	r0, [sp, #12]	; 0xc
  811e1c:	3004		add	r0, #4
  811e1e:	9003		str	r0, [sp, #12]	; 0xc
  811e20:	9803		ldr	r0, [sp, #12]	; 0xc
  811e22:	8800		ldrh	r0, [r0, #0]
  811e24:	4669		mov	r1, sp
  811e26:	8809		ldrh	r1, [r1, #0]
  811e28:	4288		cmp	r0, r1
  811e2a:	dbf6		blt	0x811e1a
  811e2c:	4669		mov	r1, sp
  811e2e:	9803		ldr	r0, [sp, #12]	; 0xc
  811e30:	8840		ldrh	r0, [r0, #2]
  811e32:	0040		lsl	r0, r0, #1
  811e34:	80c8		strh	r0, [r1, #6]
  811e36:	4668		mov	r0, sp
  811e38:	88c0		ldrh	r0, [r0, #6]
  811e3a:	210d		mov	r1, #13	; 0xd
  811e3c:	f002 fd8e	bl	0x81495c	; I$DIV
  811e40:	4668		mov	r0, sp
  811e42:	8101		strh	r1, [r0, #8]
  811e44:	8900		ldrh	r0, [r0, #8]
  811e46:	1081		asr	r1, r0, #2
  811e48:	0f49		lsr	r1, r1, #29
  811e4a:	1808		add	r0, r1, r0
  811e4c:	10c1		asr	r1, r0, #3
  811e4e:	4668		mov	r0, sp
  811e50:	8041		strh	r1, [r0, #2]
  811e52:	8901		ldrh	r1, [r0, #8]
  811e54:	8840		ldrh	r0, [r0, #2]
  811e56:	00c0		lsl	r0, r0, #3
  811e58:	1a09		sub	r1, r1, r0
  811e5a:	4668		mov	r0, sp
  811e5c:	8081		strh	r1, [r0, #4]
  811e5e:	8880		ldrh	r0, [r0, #4]
  811e60:	0740		lsl	r0, r0, #29
  811e62:	0f40		lsr	r0, r0, #29
  811e64:	0141		lsl	r1, r0, #5
  811e66:	4668		mov	r0, sp
  811e68:	8840		ldrh	r0, [r0, #2]
  811e6a:	0680		lsl	r0, r0, #26
  811e6c:	0e80		lsr	r0, r0, #26
  811e6e:	0200		lsl	r0, r0, #8
  811e70:	4301		orr	r1, r0
  811e72:	0408		lsl	r0, r1, #16
  811e74:	0c00		lsr	r0, r0, #16
  811e76:	b004		add	sp, #16	; 0x10
  811e78:	bd00		pop	{pc}

$calc_a_b:
  811e7a:	b500		push	{lr}
  811e7c:	b08d		sub	sp, #52	; 0x34
  811e7e:	466a		mov	r2, sp
  811e80:	7091		strb	r1, [r2, #2]
  811e82:	4669		mov	r1, sp
  811e84:	8008		strh	r0, [r1, #0]
  811e86:	2014		mov	r0, #20	; 0x14
  811e88:	49a4		ldr	r1, =0x83c0a1	; via 0x81211c
  811e8a:	7809		ldrb	r1, [r1, #0]
  811e8c:	4348		mul	r0, r1
  811e8e:	49a4		ldr	r1, =0x83c050	; via 0x812120
  811e90:	5808		ldr	r0, [r1, r0]
  811e92:	900c		str	r0, [sp, #48]	; 0x30
  811e94:	980c		ldr	r0, [sp, #48]	; 0x30
  811e96:	8881		ldrh	r1, [r0, #4]
  811e98:	4668		mov	r0, sp
  811e9a:	8800		ldrh	r0, [r0, #0]
  811e9c:	4281		cmp	r1, r0
  811e9e:	da08		bge	0x811eb2
  811ea0:	980c		ldr	r0, [sp, #48]	; 0x30
  811ea2:	3018		add	r0, #24	; 0x18
  811ea4:	900c		str	r0, [sp, #48]	; 0x30
  811ea6:	980c		ldr	r0, [sp, #48]	; 0x30
  811ea8:	8881		ldrh	r1, [r0, #4]
  811eaa:	4668		mov	r0, sp
  811eac:	8800		ldrh	r0, [r0, #0]
  811eae:	4281		cmp	r1, r0
  811eb0:	dbf6		blt	0x811ea0
  811eb2:	2014		mov	r0, #20	; 0x14
  811eb4:	4999		ldr	r1, =0x83c0a1	; via 0x81211c
  811eb6:	7809		ldrb	r1, [r1, #0]
  811eb8:	4348		mul	r0, r1
  811eba:	4997		ldr	r1, =0x83c054	; via 0x812118
  811ebc:	5808		ldr	r0, [r1, r0]
  811ebe:	900a		str	r0, [sp, #40]	; 0x28
  811ec0:	980a		ldr	r0, [sp, #40]	; 0x28
  811ec2:	8801		ldrh	r1, [r0, #0]
  811ec4:	4668		mov	r0, sp
  811ec6:	8800		ldrh	r0, [r0, #0]
  811ec8:	4281		cmp	r1, r0
  811eca:	da08		bge	0x811ede
  811ecc:	980a		ldr	r0, [sp, #40]	; 0x28
  811ece:	3004		add	r0, #4
  811ed0:	900a		str	r0, [sp, #40]	; 0x28
  811ed2:	980a		ldr	r0, [sp, #40]	; 0x28
  811ed4:	8801		ldrh	r1, [r0, #0]
  811ed6:	4668		mov	r0, sp
  811ed8:	8800		ldrh	r0, [r0, #0]
  811eda:	4281		cmp	r1, r0
  811edc:	dbf6		blt	0x811ecc
  811ede:	980a		ldr	r0, [sp, #40]	; 0x28
  811ee0:	8840		ldrh	r0, [r0, #2]
  811ee2:	9009		str	r0, [sp, #36]	; 0x24
  811ee4:	4668		mov	r0, sp
  811ee6:	7880		ldrb	r0, [r0, #2]
  811ee8:	2800		cmp	r0, #0
  811eea:	d026		beq	0x811f3a
  811eec:	488d		ldr	r0, =0x27627	; via 0x812124
  811eee:	990c		ldr	r1, [sp, #48]	; 0x30
  811ef0:	7b09		ldrb	r1, [r1, #12]	; 0xc
  811ef2:	4348		mul	r0, r1
  811ef4:	3008		add	r0, #8
  811ef6:	9008		str	r0, [sp, #32]	; 0x20
  811ef8:	980c		ldr	r0, [sp, #48]	; 0x30
  811efa:	6880		ldr	r0, [r0, #8]
  811efc:	0081		lsl	r1, r0, #2
  811efe:	1841		add	r1, r0, r1
  811f00:	4668		mov	r0, sp
  811f02:	8800		ldrh	r0, [r0, #0]
  811f04:	1841		add	r1, r0, r1
  811f06:	980c		ldr	r0, [sp, #48]	; 0x30
  811f08:	6800		ldr	r0, [r0, #0]
  811f0a:	1a08		sub	r0, r1, r0
  811f0c:	9007		str	r0, [sp, #28]	; 0x1c
  811f0e:	9807		ldr	r0, [sp, #28]	; 0x1c
  811f10:	990c		ldr	r1, [sp, #48]	; 0x30
  811f12:	7b09		ldrb	r1, [r1, #12]	; 0xc
  811f14:	4348		mul	r0, r1
  811f16:	4669		mov	r1, sp
  811f18:	8088		strh	r0, [r1, #4]
  811f1a:	4668		mov	r0, sp
  811f1c:	8880		ldrh	r0, [r0, #4]
  811f1e:	0540		lsl	r0, r0, #21
  811f20:	9006		str	r0, [sp, #24]	; 0x18
  811f22:	9808		ldr	r0, [sp, #32]	; 0x20
  811f24:	9907		ldr	r1, [sp, #28]	; 0x1c
  811f26:	4348		mul	r0, r1
  811f28:	9005		str	r0, [sp, #20]	; 0x14
  811f2a:	2014		mov	r0, #20	; 0x14
  811f2c:	497b		ldr	r1, =0x83c0a1	; via 0x81211c
  811f2e:	7809		ldrb	r1, [r1, #0]
  811f30:	4348		mul	r0, r1
  811f32:	497d		ldr	r1, =0x83c058	; via 0x812128
  811f34:	5808		ldr	r0, [r1, r0]
  811f36:	900b		str	r0, [sp, #44]	; 0x2c
  811f38:	e024		b	0x811f84
  811f3a:	487c		ldr	r0, =0x2762f	; via 0x81212c
  811f3c:	9008		str	r0, [sp, #32]	; 0x20
  811f3e:	980c		ldr	r0, [sp, #48]	; 0x30
  811f40:	6900		ldr	r0, [r0, #16]	; 0x10
  811f42:	0081		lsl	r1, r0, #2
  811f44:	1840		add	r0, r0, r1
  811f46:	4669		mov	r1, sp
  811f48:	8809		ldrh	r1, [r1, #0]
  811f4a:	1809		add	r1, r1, r0
  811f4c:	980c		ldr	r0, [sp, #48]	; 0x30
  811f4e:	6800		ldr	r0, [r0, #0]
  811f50:	1a08		sub	r0, r1, r0
  811f52:	9007		str	r0, [sp, #28]	; 0x1c
  811f54:	2114		mov	r1, #20	; 0x14
  811f56:	980c		ldr	r0, [sp, #48]	; 0x30
  811f58:	5609		ldrsb	r1, [r1, r0]
  811f5a:	9809		ldr	r0, [sp, #36]	; 0x24
  811f5c:	4348		mul	r0, r1
  811f5e:	9907		ldr	r1, [sp, #28]	; 0x1c
  811f60:	1841		add	r1, r0, r1
  811f62:	4668		mov	r0, sp
  811f64:	8081		strh	r1, [r0, #4]
  811f66:	8880		ldrh	r0, [r0, #4]
  811f68:	0540		lsl	r0, r0, #21
  811f6a:	9006		str	r0, [sp, #24]	; 0x18
  811f6c:	2114		mov	r1, #20	; 0x14
  811f6e:	980c		ldr	r0, [sp, #48]	; 0x30
  811f70:	5609		ldrsb	r1, [r1, r0]
  811f72:	9809		ldr	r0, [sp, #36]	; 0x24
  811f74:	4348		mul	r0, r1
  811f76:	9907		ldr	r1, [sp, #28]	; 0x1c
  811f78:	1841		add	r1, r0, r1
  811f7a:	9808		ldr	r0, [sp, #32]	; 0x20
  811f7c:	4348		mul	r0, r1
  811f7e:	9005		str	r0, [sp, #20]	; 0x14
  811f80:	486b		ldr	r0, =0x83bea8	; via 0x812130
  811f82:	900b		str	r0, [sp, #44]	; 0x2c
  811f84:	980b		ldr	r0, [sp, #44]	; 0x2c
  811f86:	8801		ldrh	r1, [r0, #0]
  811f88:	4668		mov	r0, sp
  811f8a:	8880		ldrh	r0, [r0, #4]
  811f8c:	4281		cmp	r1, r0
  811f8e:	da08		bge	0x811fa2
  811f90:	980b		ldr	r0, [sp, #44]	; 0x2c
  811f92:	3004		add	r0, #4
  811f94:	900b		str	r0, [sp, #44]	; 0x2c
  811f96:	980b		ldr	r0, [sp, #44]	; 0x2c
  811f98:	8801		ldrh	r1, [r0, #0]
  811f9a:	4668		mov	r0, sp
  811f9c:	8880		ldrh	r0, [r0, #4]
  811f9e:	4281		cmp	r1, r0
  811fa0:	dbf6		blt	0x811f90
  811fa2:	4964		ldr	r1, =0x83be2c	; via 0x812134
  811fa4:	980b		ldr	r0, [sp, #44]	; 0x2c
  811fa6:	7880		ldrb	r0, [r0, #2]
  811fa8:	0740		lsl	r0, r0, #29
  811faa:	0f40		lsr	r0, r0, #29
  811fac:	0140		lsl	r0, r0, #5
  811fae:	7008		strb	r0, [r1, #0]
  811fb0:	9805		ldr	r0, [sp, #20]	; 0x14
  811fb2:	2110		mov	r1, #16	; 0x10
  811fb4:	f001 fe92	bl	0x813cdc	; U$DIV
  811fb8:	0d48		lsr	r0, r1, #21
  811fba:	9002		str	r0, [sp, #8]
  811fbc:	9905		ldr	r1, [sp, #20]	; 0x14
  811fbe:	9802		ldr	r0, [sp, #8]
  811fc0:	0640		lsl	r0, r0, #25
  811fc2:	1a08		sub	r0, r1, r0
  811fc4:	0d40		lsr	r0, r0, #21
  811fc6:	9003		str	r0, [sp, #12]	; 0xc
  811fc8:	9903		ldr	r1, [sp, #12]	; 0xc
  811fca:	9802		ldr	r0, [sp, #8]
  811fcc:	0100		lsl	r0, r0, #4
  811fce:	1809		add	r1, r1, r0
  811fd0:	200d		mov	r0, #13	; 0xd
  811fd2:	0540		lsl	r0, r0, #21
  811fd4:	4348		mul	r0, r1
  811fd6:	9906		ldr	r1, [sp, #24]	; 0x18
  811fd8:	1a08		sub	r0, r1, r0
  811fda:	0d40		lsr	r0, r0, #21
  811fdc:	9004		str	r0, [sp, #16]	; 0x10
  811fde:	9803		ldr	r0, [sp, #12]	; 0xc
  811fe0:	0700		lsl	r0, r0, #28
  811fe2:	0f00		lsr	r0, r0, #28
  811fe4:	0300		lsl	r0, r0, #12
  811fe6:	9902		ldr	r1, [sp, #8]
  811fe8:	0649		lsl	r1, r1, #25
  811fea:	0e49		lsr	r1, r1, #25
  811fec:	0409		lsl	r1, r1, #16
  811fee:	4308		orr	r0, r1
  811ff0:	9904		ldr	r1, [sp, #16]	; 0x10
  811ff2:	0709		lsl	r1, r1, #28
  811ff4:	0f09		lsr	r1, r1, #28
  811ff6:	0209		lsl	r1, r1, #8
  811ff8:	4308		orr	r0, r1
  811ffa:	b00d		add	sp, #52	; 0x34
  811ffc:	bd00		pop	{pc}

$Convert_l1_radio_freq:
  811ffe:	b081		sub	sp, #4
  812000:	4669		mov	r1, sp
  812002:	8008		strh	r0, [r1, #0]
  812004:	e06c		b	0x8120e0
  812006:	4668		mov	r0, sp
  812008:	8800		ldrh	r0, [r0, #0]
  81200a:	e083		b	0x812114
  81200c:	4668		mov	r0, sp
  81200e:	8801		ldrh	r1, [r0, #0]
  812010:	4849		ldr	r0, =0x83cdc0	; via 0x812138
  812012:	6800		ldr	r0, [r0, #0]
  812014:	4281		cmp	r1, r0
  812016:	d202		bcs	0x81201e
  812018:	4668		mov	r0, sp
  81201a:	8800		ldrh	r0, [r0, #0]
  81201c:	e07a		b	0x812114
  81201e:	4668		mov	r0, sp
  812020:	8800		ldrh	r0, [r0, #0]
  812022:	4945		ldr	r1, =0x83cdc0	; via 0x812138
  812024:	6809		ldr	r1, [r1, #0]
  812026:	1a41		sub	r1, r0, r1
  812028:	2001		mov	r0, #1
  81202a:	0240		lsl	r0, r0, #9
  81202c:	1840		add	r0, r0, r1
  81202e:	0400		lsl	r0, r0, #16
  812030:	0c00		lsr	r0, r0, #16
  812032:	e06f		b	0x812114
  812034:	4668		mov	r0, sp
  812036:	8801		ldrh	r1, [r0, #0]
  812038:	483f		ldr	r0, =0x83cdc0	; via 0x812138
  81203a:	6800		ldr	r0, [r0, #0]
  81203c:	4281		cmp	r1, r0
  81203e:	d213		bcs	0x812068
  812040:	4668		mov	r0, sp
  812042:	8800		ldrh	r0, [r0, #0]
  812044:	287c		cmp	r0, #124	; 0x7c
  812046:	dc02		bgt	0x81204e
  812048:	4668		mov	r0, sp
  81204a:	8800		ldrh	r0, [r0, #0]
  81204c:	e062		b	0x812114
  81204e:	4668		mov	r0, sp
  812050:	8800		ldrh	r0, [r0, #0]
  812052:	28ae		cmp	r0, #174	; 0xae
  812054:	da06		bge	0x812064
  812056:	4939		ldr	r1, =0x352	; via 0x81213c
  812058:	4668		mov	r0, sp
  81205a:	8800		ldrh	r0, [r0, #0]
  81205c:	1808		add	r0, r1, r0
  81205e:	0400		lsl	r0, r0, #16
  812060:	0c00		lsr	r0, r0, #16
  812062:	e057		b	0x812114
  812064:	2000		mov	r0, #0
  812066:	e055		b	0x812114
  812068:	4668		mov	r0, sp
  81206a:	8801		ldrh	r1, [r0, #0]
  81206c:	4832		ldr	r0, =0x83cdc0	; via 0x812138
  81206e:	6800		ldr	r0, [r0, #0]
  812070:	1a09		sub	r1, r1, r0
  812072:	2001		mov	r0, #1
  812074:	0240		lsl	r0, r0, #9
  812076:	1840		add	r0, r0, r1
  812078:	0400		lsl	r0, r0, #16
  81207a:	0c00		lsr	r0, r0, #16
  81207c:	e04a		b	0x812114
  81207e:	4668		mov	r0, sp
  812080:	8800		ldrh	r0, [r0, #0]
  812082:	287c		cmp	r0, #124	; 0x7c
  812084:	dc02		bgt	0x81208c
  812086:	4668		mov	r0, sp
  812088:	8800		ldrh	r0, [r0, #0]
  81208a:	e043		b	0x812114
  81208c:	4668		mov	r0, sp
  81208e:	8800		ldrh	r0, [r0, #0]
  812090:	28ae		cmp	r0, #174	; 0xae
  812092:	da06		bge	0x8120a2
  812094:	4929		ldr	r1, =0x352	; via 0x81213c
  812096:	4668		mov	r0, sp
  812098:	8800		ldrh	r0, [r0, #0]
  81209a:	1808		add	r0, r1, r0
  81209c:	0400		lsl	r0, r0, #16
  81209e:	0c00		lsr	r0, r0, #16
  8120a0:	e038		b	0x812114
  8120a2:	2000		mov	r0, #0
  8120a4:	e036		b	0x812114
  8120a6:	4668		mov	r0, sp
  8120a8:	8800		ldrh	r0, [r0, #0]
  8120aa:	4923		ldr	r1, =0x83cdc0	; via 0x812138
  8120ac:	6809		ldr	r1, [r1, #0]
  8120ae:	4288		cmp	r0, r1
  8120b0:	d208		bcs	0x8120c4
  8120b2:	4668		mov	r0, sp
  8120b4:	8801		ldrh	r1, [r0, #0]
  8120b6:	4822		ldr	r0, =0x83cdbc	; via 0x812140
  8120b8:	6800		ldr	r0, [r0, #0]
  8120ba:	1a08		sub	r0, r1, r0
  8120bc:	3080		add	r0, #128	; 0x80
  8120be:	0400		lsl	r0, r0, #16
  8120c0:	0c00		lsr	r0, r0, #16
  8120c2:	e027		b	0x812114
  8120c4:	4668		mov	r0, sp
  8120c6:	8801		ldrh	r1, [r0, #0]
  8120c8:	481b		ldr	r0, =0x83cdc0	; via 0x812138
  8120ca:	6800		ldr	r0, [r0, #0]
  8120cc:	1a08		sub	r0, r1, r0
  8120ce:	2101		mov	r1, #1
  8120d0:	0249		lsl	r1, r1, #9
  8120d2:	1808		add	r0, r1, r0
  8120d4:	0400		lsl	r0, r0, #16
  8120d6:	0c00		lsr	r0, r0, #16
  8120d8:	e01c		b	0x812114
  8120da:	4668		mov	r0, sp
  8120dc:	8800		ldrh	r0, [r0, #0]
  8120de:	e019		b	0x812114
  8120e0:	4818		ldr	r0, =0x83cdb4	; via 0x812144
  8120e2:	7800		ldrb	r0, [r0, #0]
  8120e4:	1e40		sub	r0, r0, #1
  8120e6:	2807		cmp	r0, #7
  8120e8:	d8f7		bhi	0x8120da
  8120ea:	a102		add	r1, pc, #8
  8120ec:	0080		lsl	r0, r0, #2
  8120ee:	5808		ldr	r0, [r1, r0]
  8120f0:	4687		mov	pc, r0
  8120f2:	46c0		nop			(mov r8, r8)

  8120f4:	00812006
  8120f8:	0081207e
  8120fc:	00812006
  812100:	00812006
  812104:	0081200c
  812108:	00812034
  81210c:	00812006
  812110:	008120a6

  812114:	b001		add	sp, #4
  812116:	4770		bx	lr

$rf_init:
  812148:	b500		push	{lr}
  81214a:	b081		sub	sp, #4
  81214c:	9000		str	r0, [sp, #0]
  81214e:	49fb		ldr	r1, =0x1388	; via 0x81253c
  812150:	9800		ldr	r0, [sp, #0]
  812152:	1808		add	r0, r1, r0
  812154:	f002 fc02	bl	0x81495c
  812158:	2101		mov	r1, #1
  81215a:	034a		lsl	r2, r1, #13
  81215c:	4302		orr	r2, r0
  81215e:	49f8		ldr	r1, =0x83c0a4	; via 0x812540
  812160:	6808		ldr	r0, [r1, #0]
  812162:	1c83		add	r3, r0, #2
  812164:	600b		str	r3, [r1, #0]
  812166:	8002		strh	r2, [r0, #0]
  812168:	48f5		ldr	r0, =0x83c0a4	; via 0x812540
  81216a:	6801		ldr	r1, [r0, #0]
  81216c:	1c8a		add	r2, r1, #2
  81216e:	6002		str	r2, [r0, #0]
  812170:	48f4		ldr	r0, =0x88e0	; via 0x812544
  812172:	8008		strh	r0, [r1, #0]
  812174:	49f2		ldr	r1, =0x83c0a4	; via 0x812540
  812176:	6808		ldr	r0, [r1, #0]
  812178:	1c82		add	r2, r0, #2
  81217a:	600a		str	r2, [r1, #0]
  81217c:	49f2		ldr	r1, =0x8026	; via 0x812548
  81217e:	8001		strh	r1, [r0, #0]
  812180:	49ef		ldr	r1, =0x83c0a4	; via 0x812540
  812182:	6808		ldr	r0, [r1, #0]
  812184:	1c82		add	r2, r0, #2
  812186:	600a		str	r2, [r1, #0]
  812188:	49f0		ldr	r1, =0x8006	; via 0x81254c
  81218a:	8001		strh	r1, [r0, #0]
  81218c:	49ec		ldr	r1, =0x83c0a4	; via 0x812540
  81218e:	6808		ldr	r0, [r1, #0]
  812190:	1c82		add	r2, r0, #2
  812192:	600a		str	r2, [r1, #0]
  812194:	49ec		ldr	r1, =0x8026	; via 0x812548
  812196:	8001		strh	r1, [r0, #0]
  812198:	9800		ldr	r0, [sp, #0]
  81219a:	3008		add	r0, #8
  81219c:	9000		str	r0, [sp, #0]
  81219e:	49e7		ldr	r1, =0x1388	; via 0x81253c
  8121a0:	9800		ldr	r0, [sp, #0]
  8121a2:	1808		add	r0, r1, r0
  8121a4:	f002 fbda	bl	0x81495c
  8121a8:	2101		mov	r1, #1
  8121aa:	034a		lsl	r2, r1, #13
  8121ac:	4302		orr	r2, r0
  8121ae:	49e4		ldr	r1, =0x83c0a4	; via 0x812540
  8121b0:	6808		ldr	r0, [r1, #0]
  8121b2:	1c83		add	r3, r0, #2
  8121b4:	600b		str	r3, [r1, #0]
  8121b6:	8002		strh	r2, [r0, #0]
  8121b8:	49e5		ldr	r1, =0x83c09c	; via 0x812550
  8121ba:	48e6		ldr	r0, =0x8008	; via 0x812554
  8121bc:	6008		str	r0, [r1, #0]
  8121be:	48e0		ldr	r0, =0x83c0a4	; via 0x812540
  8121c0:	6801		ldr	r1, [r0, #0]
  8121c2:	1c8a		add	r2, r1, #2
  8121c4:	6002		str	r2, [r0, #0]
  8121c6:	48e4		ldr	r0, =0x8004	; via 0x812558
  8121c8:	4ae1		ldr	r2, =0x83c09c	; via 0x812550
  8121ca:	6812		ldr	r2, [r2, #0]
  8121cc:	0a12		lsr	r2, r2, #8
  8121ce:	0612		lsl	r2, r2, #24
  8121d0:	0e12		lsr	r2, r2, #24
  8121d2:	0152		lsl	r2, r2, #5
  8121d4:	4310		orr	r0, r2
  8121d6:	8008		strh	r0, [r1, #0]
  8121d8:	48d9		ldr	r0, =0x83c0a4	; via 0x812540
  8121da:	6801		ldr	r1, [r0, #0]
  8121dc:	1c8a		add	r2, r1, #2
  8121de:	6002		str	r2, [r0, #0]
  8121e0:	48de		ldr	r0, =0x8003	; via 0x81255c
  8121e2:	4adb		ldr	r2, =0x83c09c	; via 0x812550
  8121e4:	6812		ldr	r2, [r2, #0]
  8121e6:	0612		lsl	r2, r2, #24
  8121e8:	0e12		lsr	r2, r2, #24
  8121ea:	0152		lsl	r2, r2, #5
  8121ec:	4310		orr	r0, r2
  8121ee:	8008		strh	r0, [r1, #0]
  8121f0:	49d3		ldr	r1, =0x83c0a4	; via 0x812540
  8121f2:	6808		ldr	r0, [r1, #0]
  8121f4:	1c82		add	r2, r0, #2
  8121f6:	600a		str	r2, [r1, #0]
  8121f8:	49d9		ldr	r1, =0x89e0	; via 0x812560
  8121fa:	8001		strh	r1, [r0, #0]
  8121fc:	49d0		ldr	r1, =0x83c0a4	; via 0x812540
  8121fe:	6808		ldr	r0, [r1, #0]
  812200:	1c82		add	r2, r0, #2
  812202:	600a		str	r2, [r1, #0]
  812204:	49d7		ldr	r1, =0x8041	; via 0x812564
  812206:	8001		strh	r1, [r0, #0]
  812208:	48cd		ldr	r0, =0x83c0a4	; via 0x812540
  81220a:	6801		ldr	r1, [r0, #0]
  81220c:	1c8a		add	r2, r1, #2
  81220e:	6002		str	r2, [r0, #0]
  812210:	48d5		ldr	r0, =0x83e6	; via 0x812568
  812212:	8008		strh	r0, [r1, #0]
  812214:	9800		ldr	r0, [sp, #0]
  812216:	3007		add	r0, #7
  812218:	9000		str	r0, [sp, #0]
  81221a:	49c8		ldr	r1, =0x1388	; via 0x81253c
  81221c:	9800		ldr	r0, [sp, #0]
  81221e:	1808		add	r0, r1, r0
  812220:	f002 fb9c	bl	0x81495c
  812224:	2101		mov	r1, #1
  812226:	034a		lsl	r2, r1, #13
  812228:	4302		orr	r2, r0
  81222a:	49c5		ldr	r1, =0x83c0a4	; via 0x812540
  81222c:	6808		ldr	r0, [r1, #0]
  81222e:	1c83		add	r3, r0, #2
  812230:	600b		str	r3, [r1, #0]
  812232:	8002		strh	r2, [r0, #0]
  812234:	49c1		ldr	r1, =0x1388	; via 0x81253c
  812236:	9800		ldr	r0, [sp, #0]
  812238:	1808		add	r0, r1, r0
  81223a:	f002 fb8f	bl	0x81495c
  81223e:	2101		mov	r1, #1
  812240:	034a		lsl	r2, r1, #13
  812242:	4302		orr	r2, r0
  812244:	48be		ldr	r0, =0x83c0a4	; via 0x812540
  812246:	6801		ldr	r1, [r0, #0]
  812248:	1c8b		add	r3, r1, #2
  81224a:	6003		str	r3, [r0, #0]
  81224c:	800a		strh	r2, [r1, #0]
  81224e:	49bb		ldr	r1, =0x1388	; via 0x81253c
  812250:	9800		ldr	r0, [sp, #0]
  812252:	1808		add	r0, r1, r0
  812254:	f002 fb82	bl	0x81495c
  812258:	2101		mov	r1, #1
  81225a:	034a		lsl	r2, r1, #13
  81225c:	4302		orr	r2, r0
  81225e:	48b8		ldr	r0, =0x83c0a4	; via 0x812540
  812260:	6801		ldr	r1, [r0, #0]
  812262:	1c8b		add	r3, r1, #2
  812264:	6003		str	r3, [r0, #0]
  812266:	800a		strh	r2, [r1, #0]
  812268:	49b4		ldr	r1, =0x1388	; via 0x81253c
  81226a:	9800		ldr	r0, [sp, #0]
  81226c:	1808		add	r0, r1, r0
  81226e:	f002 fb75	bl	0x81495c
  812272:	2101		mov	r1, #1
  812274:	034a		lsl	r2, r1, #13
  812276:	4302		orr	r2, r0
  812278:	48b1		ldr	r0, =0x83c0a4	; via 0x812540
  81227a:	6801		ldr	r1, [r0, #0]
  81227c:	1c8b		add	r3, r1, #2
  81227e:	6003		str	r3, [r0, #0]
  812280:	800a		strh	r2, [r1, #0]
  812282:	49ae		ldr	r1, =0x1388	; via 0x81253c
  812284:	9800		ldr	r0, [sp, #0]
  812286:	1808		add	r0, r1, r0
  812288:	f002 fb68	bl	0x81495c
  81228c:	2101		mov	r1, #1
  81228e:	034a		lsl	r2, r1, #13
  812290:	4302		orr	r2, r0
  812292:	48ab		ldr	r0, =0x83c0a4	; via 0x812540
  812294:	6801		ldr	r1, [r0, #0]
  812296:	1c8b		add	r3, r1, #2
  812298:	6003		str	r3, [r0, #0]
  81229a:	800a		strh	r2, [r1, #0]
  81229c:	49a7		ldr	r1, =0x1388	; via 0x81253c
  81229e:	9800		ldr	r0, [sp, #0]
  8122a0:	1808		add	r0, r1, r0
  8122a2:	f002 fb5b	bl	0x81495c
  8122a6:	2101		mov	r1, #1
  8122a8:	034a		lsl	r2, r1, #13
  8122aa:	4302		orr	r2, r0
  8122ac:	48a4		ldr	r0, =0x83c0a4	; via 0x812540
  8122ae:	6801		ldr	r1, [r0, #0]
  8122b0:	1c8b		add	r3, r1, #2
  8122b2:	6003		str	r3, [r0, #0]
  8122b4:	800a		strh	r2, [r1, #0]
  8122b6:	49a2		ldr	r1, =0x83c0a4	; via 0x812540
  8122b8:	6808		ldr	r0, [r1, #0]
  8122ba:	1c82		add	r2, r0, #2
  8122bc:	600a		str	r2, [r1, #0]
  8122be:	49aa		ldr	r1, =0x83e6	; via 0x812568
  8122c0:	8001		strh	r1, [r0, #0]
  8122c2:	489f		ldr	r0, =0x83c0a4	; via 0x812540
  8122c4:	6801		ldr	r1, [r0, #0]
  8122c6:	1c8a		add	r2, r1, #2
  8122c8:	6002		str	r2, [r0, #0]
  8122ca:	48a8		ldr	r0, =0x83c6	; via 0x81256c
  8122cc:	8008		strh	r0, [r1, #0]
  8122ce:	489c		ldr	r0, =0x83c0a4	; via 0x812540
  8122d0:	6801		ldr	r1, [r0, #0]
  8122d2:	1c8a		add	r2, r1, #2
  8122d4:	6002		str	r2, [r0, #0]
  8122d6:	48a4		ldr	r0, =0x83e6	; via 0x812568
  8122d8:	8008		strh	r0, [r1, #0]
  8122da:	499d		ldr	r1, =0x83c09c	; via 0x812550
  8122dc:	48a4		ldr	r0, =0x8018	; via 0x812570
  8122de:	6008		str	r0, [r1, #0]
  8122e0:	4897		ldr	r0, =0x83c0a4	; via 0x812540
  8122e2:	6801		ldr	r1, [r0, #0]
  8122e4:	1c8a		add	r2, r1, #2
  8122e6:	6002		str	r2, [r0, #0]
  8122e8:	489b		ldr	r0, =0x8004	; via 0x812558
  8122ea:	4a99		ldr	r2, =0x83c09c	; via 0x812550
  8122ec:	6812		ldr	r2, [r2, #0]
  8122ee:	0a12		lsr	r2, r2, #8
  8122f0:	0612		lsl	r2, r2, #24
  8122f2:	0e12		lsr	r2, r2, #24
  8122f4:	0152		lsl	r2, r2, #5
  8122f6:	4310		orr	r0, r2
  8122f8:	8008		strh	r0, [r1, #0]
  8122fa:	4891		ldr	r0, =0x83c0a4	; via 0x812540
  8122fc:	6801		ldr	r1, [r0, #0]
  8122fe:	1c8a		add	r2, r1, #2
  812300:	6002		str	r2, [r0, #0]
  812302:	4896		ldr	r0, =0x8003	; via 0x81255c
  812304:	4a92		ldr	r2, =0x83c09c	; via 0x812550
  812306:	6812		ldr	r2, [r2, #0]
  812308:	0612		lsl	r2, r2, #24
  81230a:	0e12		lsr	r2, r2, #24
  81230c:	0152		lsl	r2, r2, #5
  81230e:	4310		orr	r0, r2
  812310:	8008		strh	r0, [r1, #0]
  812312:	498b		ldr	r1, =0x83c0a4	; via 0x812540
  812314:	6808		ldr	r0, [r1, #0]
  812316:	1c82		add	r2, r0, #2
  812318:	600a		str	r2, [r1, #0]
  81231a:	4991		ldr	r1, =0x89e0	; via 0x812560
  81231c:	8001		strh	r1, [r0, #0]
  81231e:	4888		ldr	r0, =0x83c0a4	; via 0x812540
  812320:	6801		ldr	r1, [r0, #0]
  812322:	1c8a		add	r2, r1, #2
  812324:	6002		str	r2, [r0, #0]
  812326:	488f		ldr	r0, =0x8041	; via 0x812564
  812328:	8008		strh	r0, [r1, #0]
  81232a:	9800		ldr	r0, [sp, #0]
  81232c:	3009		add	r0, #9
  81232e:	9000		str	r0, [sp, #0]
  812330:	4982		ldr	r1, =0x1388	; via 0x81253c
  812332:	9800		ldr	r0, [sp, #0]
  812334:	1808		add	r0, r1, r0
  812336:	f002 fb11	bl	0x81495c
  81233a:	2101		mov	r1, #1
  81233c:	034a		lsl	r2, r1, #13
  81233e:	4302		orr	r2, r0
  812340:	497f		ldr	r1, =0x83c0a4	; via 0x812540
  812342:	6808		ldr	r0, [r1, #0]
  812344:	1c83		add	r3, r0, #2
  812346:	600b		str	r3, [r1, #0]
  812348:	8002		strh	r2, [r0, #0]
  81234a:	4981		ldr	r1, =0x83c09c	; via 0x812550
  81234c:	4889		ldr	r0, =0x140753	; via 0x812574
  81234e:	6008		str	r0, [r1, #0]
  812350:	487b		ldr	r0, =0x83c0a4	; via 0x812540
  812352:	6801		ldr	r1, [r0, #0]
  812354:	1c8a		add	r2, r1, #2
  812356:	6002		str	r2, [r0, #0]
  812358:	487f		ldr	r0, =0x8004	; via 0x812558
  81235a:	4a7d		ldr	r2, =0x83c09c	; via 0x812550
  81235c:	6812		ldr	r2, [r2, #0]
  81235e:	0c12		lsr	r2, r2, #16
  812360:	0612		lsl	r2, r2, #24
  812362:	0e12		lsr	r2, r2, #24
  812364:	0152		lsl	r2, r2, #5
  812366:	4310		orr	r0, r2
  812368:	8008		strh	r0, [r1, #0]
  81236a:	4875		ldr	r0, =0x83c0a4	; via 0x812540
  81236c:	6801		ldr	r1, [r0, #0]
  81236e:	1c8a		add	r2, r1, #2
  812370:	6002		str	r2, [r0, #0]
  812372:	487a		ldr	r0, =0x8003	; via 0x81255c
  812374:	4a76		ldr	r2, =0x83c09c	; via 0x812550
  812376:	6812		ldr	r2, [r2, #0]
  812378:	0a12		lsr	r2, r2, #8
  81237a:	0612		lsl	r2, r2, #24
  81237c:	0e12		lsr	r2, r2, #24
  81237e:	0152		lsl	r2, r2, #5
  812380:	4310		orr	r0, r2
  812382:	8008		strh	r0, [r1, #0]
  812384:	486e		ldr	r0, =0x83c0a4	; via 0x812540
  812386:	6801		ldr	r1, [r0, #0]
  812388:	1c8a		add	r2, r1, #2
  81238a:	6002		str	r2, [r0, #0]
  81238c:	48e5		ldr	r0, =0x8002	; via 0x812724
  81238e:	4a70		ldr	r2, =0x83c09c	; via 0x812550
  812390:	6812		ldr	r2, [r2, #0]
  812392:	0612		lsl	r2, r2, #24
  812394:	0e12		lsr	r2, r2, #24
  812396:	0152		lsl	r2, r2, #5
  812398:	4310		orr	r0, r2
  81239a:	8008		strh	r0, [r1, #0]
  81239c:	4968		ldr	r1, =0x83c0a4	; via 0x812540
  81239e:	6808		ldr	r0, [r1, #0]
  8123a0:	1c82		add	r2, r0, #2
  8123a2:	600a		str	r2, [r1, #0]
  8123a4:	49e0		ldr	r1, =0x8ae0	; via 0x812728
  8123a6:	8001		strh	r1, [r0, #0]
  8123a8:	4865		ldr	r0, =0x83c0a4	; via 0x812540
  8123aa:	6801		ldr	r1, [r0, #0]
  8123ac:	1c8a		add	r2, r1, #2
  8123ae:	6002		str	r2, [r0, #0]
  8123b0:	486c		ldr	r0, =0x8041	; via 0x812564
  8123b2:	8008		strh	r0, [r1, #0]
  8123b4:	9800		ldr	r0, [sp, #0]
  8123b6:	3008		add	r0, #8
  8123b8:	9000		str	r0, [sp, #0]
  8123ba:	4960		ldr	r1, =0x1388	; via 0x81253c
  8123bc:	9800		ldr	r0, [sp, #0]
  8123be:	1808		add	r0, r1, r0
  8123c0:	f002 facc	bl	0x81495c
  8123c4:	2101		mov	r1, #1
  8123c6:	034a		lsl	r2, r1, #13
  8123c8:	4302		orr	r2, r0
  8123ca:	495d		ldr	r1, =0x83c0a4	; via 0x812540
  8123cc:	6808		ldr	r0, [r1, #0]
  8123ce:	1c83		add	r3, r0, #2
  8123d0:	600b		str	r3, [r1, #0]
  8123d2:	8002		strh	r2, [r0, #0]
  8123d4:	495e		ldr	r1, =0x83c09c	; via 0x812550
  8123d6:	4868		ldr	r0, =0x2db084	; via 0x812578
  8123d8:	6008		str	r0, [r1, #0]
  8123da:	4859		ldr	r0, =0x83c0a4	; via 0x812540
  8123dc:	6801		ldr	r1, [r0, #0]
  8123de:	1c8a		add	r2, r1, #2
  8123e0:	6002		str	r2, [r0, #0]
  8123e2:	485d		ldr	r0, =0x8004	; via 0x812558
  8123e4:	4a5a		ldr	r2, =0x83c09c	; via 0x812550
  8123e6:	6812		ldr	r2, [r2, #0]
  8123e8:	0c12		lsr	r2, r2, #16
  8123ea:	0612		lsl	r2, r2, #24
  8123ec:	0e12		lsr	r2, r2, #24
  8123ee:	0152		lsl	r2, r2, #5
  8123f0:	4310		orr	r0, r2
  8123f2:	8008		strh	r0, [r1, #0]
  8123f4:	4852		ldr	r0, =0x83c0a4	; via 0x812540
  8123f6:	6801		ldr	r1, [r0, #0]
  8123f8:	1c8a		add	r2, r1, #2
  8123fa:	6002		str	r2, [r0, #0]
  8123fc:	4857		ldr	r0, =0x8003	; via 0x81255c
  8123fe:	4a54		ldr	r2, =0x83c09c	; via 0x812550
  812400:	6812		ldr	r2, [r2, #0]
  812402:	0a12		lsr	r2, r2, #8
  812404:	0612		lsl	r2, r2, #24
  812406:	0e12		lsr	r2, r2, #24
  812408:	0152		lsl	r2, r2, #5
  81240a:	4310		orr	r0, r2
  81240c:	8008		strh	r0, [r1, #0]
  81240e:	484c		ldr	r0, =0x83c0a4	; via 0x812540
  812410:	6801		ldr	r1, [r0, #0]
  812412:	1c8a		add	r2, r1, #2
  812414:	6002		str	r2, [r0, #0]
  812416:	48c3		ldr	r0, =0x8002	; via 0x812724
  812418:	4a4d		ldr	r2, =0x83c09c	; via 0x812550
  81241a:	6812		ldr	r2, [r2, #0]
  81241c:	0612		lsl	r2, r2, #24
  81241e:	0e12		lsr	r2, r2, #24
  812420:	0152		lsl	r2, r2, #5
  812422:	4310		orr	r0, r2
  812424:	8008		strh	r0, [r1, #0]
  812426:	4946		ldr	r1, =0x83c0a4	; via 0x812540
  812428:	6808		ldr	r0, [r1, #0]
  81242a:	1c82		add	r2, r0, #2
  81242c:	600a		str	r2, [r1, #0]
  81242e:	49be		ldr	r1, =0x8ae0	; via 0x812728
  812430:	8001		strh	r1, [r0, #0]
  812432:	4843		ldr	r0, =0x83c0a4	; via 0x812540
  812434:	6801		ldr	r1, [r0, #0]
  812436:	1c8a		add	r2, r1, #2
  812438:	6002		str	r2, [r0, #0]
  81243a:	484a		ldr	r0, =0x8041	; via 0x812564
  81243c:	8008		strh	r0, [r1, #0]
  81243e:	9800		ldr	r0, [sp, #0]
  812440:	3008		add	r0, #8
  812442:	9000		str	r0, [sp, #0]
  812444:	493d		ldr	r1, =0x1388	; via 0x81253c
  812446:	9800		ldr	r0, [sp, #0]
  812448:	1808		add	r0, r1, r0
  81244a:	f002 fa87	bl	0x81495c
  81244e:	2101		mov	r1, #1
  812450:	034a		lsl	r2, r1, #13
  812452:	4302		orr	r2, r0
  812454:	493a		ldr	r1, =0x83c0a4	; via 0x812540
  812456:	6808		ldr	r0, [r1, #0]
  812458:	1c83		add	r3, r0, #2
  81245a:	600b		str	r3, [r1, #0]
  81245c:	8002		strh	r2, [r0, #0]
  81245e:	4838		ldr	r0, =0x83c0a4	; via 0x812540
  812460:	6802		ldr	r2, [r0, #0]
  812462:	1c91		add	r1, r2, #2
  812464:	6001		str	r1, [r0, #0]
  812466:	4846		ldr	r0, =0x83be26	; via 0x812580
  812468:	7800		ldrb	r0, [r0, #0]
  81246a:	0100		lsl	r0, r0, #4
  81246c:	4945		ldr	r1, =0x83be25	; via 0x812584
  81246e:	7809		ldrb	r1, [r1, #0]
  812470:	0149		lsl	r1, r1, #5
  812472:	4308		orr	r0, r1
  812474:	2106		mov	r1, #6
  812476:	4301		orr	r1, r0
  812478:	0608		lsl	r0, r1, #24
  81247a:	0e00		lsr	r0, r0, #24
  81247c:	0141		lsl	r1, r0, #5
  81247e:	483f		ldr	r0, =0x8004	; via 0x81257c
  812480:	4308		orr	r0, r1
  812482:	8010		strh	r0, [r2, #0]
  812484:	482e		ldr	r0, =0x83c0a4	; via 0x812540
  812486:	6801		ldr	r1, [r0, #0]
  812488:	1c8a		add	r2, r1, #2
  81248a:	6002		str	r2, [r0, #0]
  81248c:	482d		ldr	r0, =0x88e0	; via 0x812544
  81248e:	8008		strh	r0, [r1, #0]
  812490:	482b		ldr	r0, =0x83c0a4	; via 0x812540
  812492:	6801		ldr	r1, [r0, #0]
  812494:	1c8a		add	r2, r1, #2
  812496:	6002		str	r2, [r0, #0]
  812498:	4832		ldr	r0, =0x8041	; via 0x812564
  81249a:	8008		strh	r0, [r1, #0]
  81249c:	9800		ldr	r0, [sp, #0]
  81249e:	30ff		add	r0, #255	; 0xff
  8124a0:	3081		add	r0, #129	; 0x81
  8124a2:	9000		str	r0, [sp, #0]
  8124a4:	4925		ldr	r1, =0x1388	; via 0x81253c
  8124a6:	9800		ldr	r0, [sp, #0]
  8124a8:	1808		add	r0, r1, r0
  8124aa:	f002 fa57	bl	0x81495c
  8124ae:	2101		mov	r1, #1
  8124b0:	034a		lsl	r2, r1, #13
  8124b2:	4302		orr	r2, r0
  8124b4:	4922		ldr	r1, =0x83c0a4	; via 0x812540
  8124b6:	6808		ldr	r0, [r1, #0]
  8124b8:	1c83		add	r3, r0, #2
  8124ba:	600b		str	r3, [r1, #0]
  8124bc:	8002		strh	r2, [r0, #0]
  8124be:	2007		mov	r0, #7
  8124c0:	4931		ldr	r1, =0x83be24	; via 0x812588
  8124c2:	7809		ldrb	r1, [r1, #0]
  8124c4:	04c9		lsl	r1, r1, #19
  8124c6:	4308		orr	r0, r1
  8124c8:	4921		ldr	r1, =0x83c09c	; via 0x812550
  8124ca:	6008		str	r0, [r1, #0]
  8124cc:	481c		ldr	r0, =0x83c0a4	; via 0x812540
  8124ce:	6801		ldr	r1, [r0, #0]
  8124d0:	1c8a		add	r2, r1, #2
  8124d2:	6002		str	r2, [r0, #0]
  8124d4:	4820		ldr	r0, =0x8004	; via 0x812558
  8124d6:	4a1e		ldr	r2, =0x83c09c	; via 0x812550
  8124d8:	6812		ldr	r2, [r2, #0]
  8124da:	0c12		lsr	r2, r2, #16
  8124dc:	0612		lsl	r2, r2, #24
  8124de:	0e12		lsr	r2, r2, #24
  8124e0:	0152		lsl	r2, r2, #5
  8124e2:	4310		orr	r0, r2
  8124e4:	8008		strh	r0, [r1, #0]
  8124e6:	4816		ldr	r0, =0x83c0a4	; via 0x812540
  8124e8:	6801		ldr	r1, [r0, #0]
  8124ea:	1c8a		add	r2, r1, #2
  8124ec:	6002		str	r2, [r0, #0]
  8124ee:	481b		ldr	r0, =0x8003	; via 0x81255c
  8124f0:	4a17		ldr	r2, =0x83c09c	; via 0x812550
  8124f2:	6812		ldr	r2, [r2, #0]
  8124f4:	0a12		lsr	r2, r2, #8
  8124f6:	0612		lsl	r2, r2, #24
  8124f8:	0e12		lsr	r2, r2, #24
  8124fa:	0152		lsl	r2, r2, #5
  8124fc:	4310		orr	r0, r2
  8124fe:	8008		strh	r0, [r1, #0]
  812500:	480f		ldr	r0, =0x83c0a4	; via 0x812540
  812502:	6801		ldr	r1, [r0, #0]
  812504:	1c8a		add	r2, r1, #2
  812506:	6002		str	r2, [r0, #0]
  812508:	4886		ldr	r0, =0x8002	; via 0x812724
  81250a:	4a11		ldr	r2, =0x83c09c	; via 0x812550
  81250c:	6812		ldr	r2, [r2, #0]
  81250e:	0612		lsl	r2, r2, #24
  812510:	0e12		lsr	r2, r2, #24
  812512:	0152		lsl	r2, r2, #5
  812514:	4310		orr	r0, r2
  812516:	8008		strh	r0, [r1, #0]
  812518:	4909		ldr	r1, =0x83c0a4	; via 0x812540
  81251a:	680a		ldr	r2, [r1, #0]
  81251c:	1c90		add	r0, r2, #2
  81251e:	6008		str	r0, [r1, #0]
  812520:	4881		ldr	r0, =0x8ae0	; via 0x812728
  812522:	8010		strh	r0, [r2, #0]
  812524:	4906		ldr	r1, =0x83c0a4	; via 0x812540
  812526:	6808		ldr	r0, [r1, #0]
  812528:	1c82		add	r2, r0, #2
  81252a:	600a		str	r2, [r1, #0]
  81252c:	490d		ldr	r1, =0x8041	; via 0x812564
  81252e:	8001		strh	r1, [r0, #0]
  812530:	9800		ldr	r0, [sp, #0]
  812532:	3008		add	r0, #8
  812534:	9000		str	r0, [sp, #0]
  812536:	9800		ldr	r0, [sp, #0]
  812538:	b001		add	sp, #4
  81253a:	bd00		pop	{pc}

$rf_program:
  81258c:	b500		push	{lr}
  81258e:	b088		sub	sp, #32	; 0x20
  812590:	9202		str	r2, [sp, #8]
  812592:	466a		mov	r2, sp
  812594:	8091		strh	r1, [r2, #4]
  812596:	9000		str	r0, [sp, #0]
  812598:	4668		mov	r0, sp
  81259a:	8880		ldrh	r0, [r0, #4]
  81259c:	f7f1 fa4c	bl	0x803a38	; $Cust_is_band_high
  8125a0:	49fa		ldr	r1, =0x83c0a0	; via 0x81298c
  8125a2:	7008		strb	r0, [r1, #0]
  8125a4:	4668		mov	r0, sp
  8125a6:	8880		ldrh	r0, [r0, #4]
  8125a8:	f7ff fd29	bl	0x811ffe	; $Convert_l1_radio_freq
  8125ac:	4669		mov	r1, sp
  8125ae:	8388		strh	r0, [r1, #28]	; 0x1c
  8125b0:	4668		mov	r0, sp
  8125b2:	8b80		ldrh	r0, [r0, #28]	; 0x1c
  8125b4:	f000 fa58	bl	0x812a68	; $arfcn_to_rf_index
  8125b8:	49f2		ldr	r1, =0x83c0a1	; via 0x812984
  8125ba:	7008		strb	r0, [r1, #0]
  8125bc:	9802		ldr	r0, [sp, #8]
  8125be:	2801		cmp	r0, #1
  8125c0:	d000		beq	0x8125c4
  8125c2:	e0b3		b	0x81272c
  8125c4:	4668		mov	r0, sp
  8125c6:	8b80		ldrh	r0, [r0, #28]	; 0x1c
  8125c8:	2101		mov	r1, #1
  8125ca:	f7ff fc56	bl	0x811e7a
  8125ce:	9004		str	r0, [sp, #16]	; 0x10
  8125d0:	9904		ldr	r1, [sp, #16]	; 0x10
  8125d2:	48f2		ldr	r0, =0x83be2c	; via 0x81299c
  8125d4:	7800		ldrb	r0, [r0, #0]
  8125d6:	4301		orr	r1, r0
  8125d8:	2002		mov	r0, #2
  8125da:	4308		orr	r0, r1
  8125dc:	49f1		ldr	r1, =0x83c09c	; via 0x8129a4
  8125de:	6008		str	r0, [r1, #0]
  8125e0:	48ef		ldr	r0, =0x83c0a4	; via 0x8129a0
  8125e2:	6801		ldr	r1, [r0, #0]
  8125e4:	1c8a		add	r2, r1, #2
  8125e6:	6002		str	r2, [r0, #0]
  8125e8:	48f0		ldr	r0, =0x8004	; via 0x8129ac
  8125ea:	4aee		ldr	r2, =0x83c09c	; via 0x8129a4
  8125ec:	6812		ldr	r2, [r2, #0]
  8125ee:	0c12		lsr	r2, r2, #16
  8125f0:	0612		lsl	r2, r2, #24
  8125f2:	0e12		lsr	r2, r2, #24
  8125f4:	0152		lsl	r2, r2, #5
  8125f6:	4310		orr	r0, r2
  8125f8:	8008		strh	r0, [r1, #0]
  8125fa:	48e9		ldr	r0, =0x83c0a4	; via 0x8129a0
  8125fc:	6801		ldr	r1, [r0, #0]
  8125fe:	1c8a		add	r2, r1, #2
  812600:	6002		str	r2, [r0, #0]
  812602:	48eb		ldr	r0, =0x8003	; via 0x8129b0
  812604:	4ae7		ldr	r2, =0x83c09c	; via 0x8129a4
  812606:	6812		ldr	r2, [r2, #0]
  812608:	0a12		lsr	r2, r2, #8
  81260a:	0612		lsl	r2, r2, #24
  81260c:	0e12		lsr	r2, r2, #24
  81260e:	0152		lsl	r2, r2, #5
  812610:	4310		orr	r0, r2
  812612:	8008		strh	r0, [r1, #0]
  812614:	48e2		ldr	r0, =0x83c0a4	; via 0x8129a0
  812616:	6801		ldr	r1, [r0, #0]
  812618:	1c8a		add	r2, r1, #2
  81261a:	6002		str	r2, [r0, #0]
  81261c:	4841		ldr	r0, =0x8002	; via 0x812724
  81261e:	4ae1		ldr	r2, =0x83c09c	; via 0x8129a4
  812620:	6812		ldr	r2, [r2, #0]
  812622:	0612		lsl	r2, r2, #24
  812624:	0e12		lsr	r2, r2, #24
  812626:	0152		lsl	r2, r2, #5
  812628:	4310		orr	r0, r2
  81262a:	8008		strh	r0, [r1, #0]
  81262c:	49dc		ldr	r1, =0x83c0a4	; via 0x8129a0
  81262e:	6808		ldr	r0, [r1, #0]
  812630:	1c82		add	r2, r0, #2
  812632:	600a		str	r2, [r1, #0]
  812634:	493c		ldr	r1, =0x8ae0	; via 0x812728
  812636:	8001		strh	r1, [r0, #0]
  812638:	49d9		ldr	r1, =0x83c0a4	; via 0x8129a0
  81263a:	6808		ldr	r0, [r1, #0]
  81263c:	1c82		add	r2, r0, #2
  81263e:	600a		str	r2, [r1, #0]
  812640:	49d9		ldr	r1, =0x8041	; via 0x8129a8
  812642:	8001		strh	r1, [r0, #0]
  812644:	49d6		ldr	r1, =0x83c0a4	; via 0x8129a0
  812646:	6808		ldr	r0, [r1, #0]
  812648:	1c82		add	r2, r0, #2
  81264a:	600a		str	r2, [r1, #0]
  81264c:	49d0		ldr	r1, =0xa001	; via 0x812990
  81264e:	8001		strh	r1, [r0, #0]
  812650:	2014		mov	r0, #20	; 0x14
  812652:	49cc		ldr	r1, =0x83c0a1	; via 0x812984
  812654:	7809		ldrb	r1, [r1, #0]
  812656:	4348		mul	r0, r1
  812658:	49cf		ldr	r1, =0x83c048	; via 0x812998
  81265a:	5a09		ldrh	r1, [r1, r0]
  81265c:	48cd		ldr	r0, =0x8a18	; via 0x812994
  81265e:	4308		orr	r0, r1
  812660:	49d0		ldr	r1, =0x83c09c	; via 0x8129a4
  812662:	6008		str	r0, [r1, #0]
  812664:	48ce		ldr	r0, =0x83c0a4	; via 0x8129a0
  812666:	6801		ldr	r1, [r0, #0]
  812668:	1c8a		add	r2, r1, #2
  81266a:	6002		str	r2, [r0, #0]
  81266c:	48cf		ldr	r0, =0x8004	; via 0x8129ac
  81266e:	4acd		ldr	r2, =0x83c09c	; via 0x8129a4
  812670:	6812		ldr	r2, [r2, #0]
  812672:	0a12		lsr	r2, r2, #8
  812674:	0612		lsl	r2, r2, #24
  812676:	0e12		lsr	r2, r2, #24
  812678:	0152		lsl	r2, r2, #5
  81267a:	4310		orr	r0, r2
  81267c:	8008		strh	r0, [r1, #0]
  81267e:	48c8		ldr	r0, =0x83c0a4	; via 0x8129a0
  812680:	6801		ldr	r1, [r0, #0]
  812682:	1c8a		add	r2, r1, #2
  812684:	6002		str	r2, [r0, #0]
  812686:	48ca		ldr	r0, =0x8003	; via 0x8129b0
  812688:	4ac6		ldr	r2, =0x83c09c	; via 0x8129a4
  81268a:	6812		ldr	r2, [r2, #0]
  81268c:	0612		lsl	r2, r2, #24
  81268e:	0e12		lsr	r2, r2, #24
  812690:	0152		lsl	r2, r2, #5
  812692:	4310		orr	r0, r2
  812694:	8008		strh	r0, [r1, #0]
  812696:	49c2		ldr	r1, =0x83c0a4	; via 0x8129a0
  812698:	6808		ldr	r0, [r1, #0]
  81269a:	1c82		add	r2, r0, #2
  81269c:	600a		str	r2, [r1, #0]
  81269e:	49f1		ldr	r1, =0x89e0	; via 0x812a64
  8126a0:	8001		strh	r1, [r0, #0]
  8126a2:	49bf		ldr	r1, =0x83c0a4	; via 0x8129a0
  8126a4:	6808		ldr	r0, [r1, #0]
  8126a6:	1c82		add	r2, r0, #2
  8126a8:	600a		str	r2, [r1, #0]
  8126aa:	49bf		ldr	r1, =0x8041	; via 0x8129a8
  8126ac:	8001		strh	r1, [r0, #0]
  8126ae:	9804		ldr	r0, [sp, #16]	; 0x10
  8126b0:	49ba		ldr	r1, =0x83be2c	; via 0x81299c
  8126b2:	7809		ldrb	r1, [r1, #0]
  8126b4:	4308		orr	r0, r1
  8126b6:	2102		mov	r1, #2
  8126b8:	4301		orr	r1, r0
  8126ba:	48ba		ldr	r0, =0x83c09c	; via 0x8129a4
  8126bc:	6001		str	r1, [r0, #0]
  8126be:	48b8		ldr	r0, =0x83c0a4	; via 0x8129a0
  8126c0:	6801		ldr	r1, [r0, #0]
  8126c2:	1c8a		add	r2, r1, #2
  8126c4:	6002		str	r2, [r0, #0]
  8126c6:	48b9		ldr	r0, =0x8004	; via 0x8129ac
  8126c8:	4ab6		ldr	r2, =0x83c09c	; via 0x8129a4
  8126ca:	6812		ldr	r2, [r2, #0]
  8126cc:	0c12		lsr	r2, r2, #16
  8126ce:	0612		lsl	r2, r2, #24
  8126d0:	0e12		lsr	r2, r2, #24
  8126d2:	0152		lsl	r2, r2, #5
  8126d4:	4310		orr	r0, r2
  8126d6:	8008		strh	r0, [r1, #0]
  8126d8:	48b1		ldr	r0, =0x83c0a4	; via 0x8129a0
  8126da:	6801		ldr	r1, [r0, #0]
  8126dc:	1c8a		add	r2, r1, #2
  8126de:	6002		str	r2, [r0, #0]
  8126e0:	48b3		ldr	r0, =0x8003	; via 0x8129b0
  8126e2:	4ab0		ldr	r2, =0x83c09c	; via 0x8129a4
  8126e4:	6812		ldr	r2, [r2, #0]
  8126e6:	0a12		lsr	r2, r2, #8
  8126e8:	0612		lsl	r2, r2, #24
  8126ea:	0e12		lsr	r2, r2, #24
  8126ec:	0152		lsl	r2, r2, #5
  8126ee:	4310		orr	r0, r2
  8126f0:	8008		strh	r0, [r1, #0]
  8126f2:	48ab		ldr	r0, =0x83c0a4	; via 0x8129a0
  8126f4:	6802		ldr	r2, [r0, #0]
  8126f6:	1c91		add	r1, r2, #2
  8126f8:	6001		str	r1, [r0, #0]
  8126fa:	480a		ldr	r0, =0x8002	; via 0x812724
  8126fc:	49a9		ldr	r1, =0x83c09c	; via 0x8129a4
  8126fe:	6809		ldr	r1, [r1, #0]
  812700:	0609		lsl	r1, r1, #24
  812702:	0e09		lsr	r1, r1, #24
  812704:	0149		lsl	r1, r1, #5
  812706:	4308		orr	r0, r1
  812708:	8010		strh	r0, [r2, #0]
  81270a:	49a5		ldr	r1, =0x83c0a4	; via 0x8129a0
  81270c:	6808		ldr	r0, [r1, #0]
  81270e:	1c82		add	r2, r0, #2
  812710:	600a		str	r2, [r1, #0]
  812712:	4905		ldr	r1, =0x8ae0	; via 0x812728
  812714:	8001		strh	r1, [r0, #0]
  812716:	48a2		ldr	r0, =0x83c0a4	; via 0x8129a0
  812718:	6802		ldr	r2, [r0, #0]
  81271a:	1c91		add	r1, r2, #2
  81271c:	6001		str	r1, [r0, #0]
  81271e:	48a2		ldr	r0, =0x8041	; via 0x8129a8
  812720:	8010		strh	r0, [r2, #0]
  812722:	e12c		b	0x81297e

  812724:	00008002
  812728:	00008ae0

  81272c:	4668		mov	r0, sp
  81272e:	8b80		ldrh	r0, [r0, #28]	; 0x1c
  812730:	2100		mov	r1, #0
  812732:	f7ff fba2	bl	0x811e7a
  812736:	9004		str	r0, [sp, #16]	; 0x10
  812738:	4668		mov	r0, sp
  81273a:	8b80		ldrh	r0, [r0, #28]	; 0x1c
  81273c:	f7ff fb5c	bl	0x811df8
  812740:	9005		str	r0, [sp, #20]	; 0x14
  812742:	4897		ldr	r0, =0x83c0a4	; via 0x8129a0
  812744:	6801		ldr	r1, [r0, #0]
  812746:	1c8a		add	r2, r1, #2
  812748:	6002		str	r2, [r0, #0]
  81274a:	48fa		ldr	r0, =0x9004	; via 0x812b34
  81274c:	8008		strh	r0, [r1, #0]
  81274e:	4894		ldr	r0, =0x83c0a4	; via 0x8129a0
  812750:	6801		ldr	r1, [r0, #0]
  812752:	1c8a		add	r2, r1, #2
  812754:	6002		str	r2, [r0, #0]
  812756:	48f8		ldr	r0, =0x80c0	; via 0x812b38
  812758:	8008		strh	r0, [r1, #0]
  81275a:	4891		ldr	r0, =0x83c0a4	; via 0x8129a0
  81275c:	6801		ldr	r1, [r0, #0]
  81275e:	1c8a		add	r2, r1, #2
  812760:	6002		str	r2, [r0, #0]
  812762:	4891		ldr	r0, =0x8041	; via 0x8129a8
  812764:	8008		strh	r0, [r1, #0]
  812766:	498e		ldr	r1, =0x83c0a4	; via 0x8129a0
  812768:	6808		ldr	r0, [r1, #0]
  81276a:	1c82		add	r2, r0, #2
  81276c:	600a		str	r2, [r1, #0]
  81276e:	49f3		ldr	r1, =0x82e6	; via 0x812b3c
  812770:	8001		strh	r1, [r0, #0]
  812772:	2014		mov	r0, #20	; 0x14
  812774:	4983		ldr	r1, =0x83c0a1	; via 0x812984
  812776:	7809		ldrb	r1, [r1, #0]
  812778:	4348		mul	r0, r1
  81277a:	4987		ldr	r1, =0x83c048	; via 0x812998
  81277c:	5a09		ldrh	r1, [r1, r0]
  81277e:	20a3		mov	r0, #163	; 0xa3
  812780:	00c0		lsl	r0, r0, #3
  812782:	4308		orr	r0, r1
  812784:	4987		ldr	r1, =0x83c09c	; via 0x8129a4
  812786:	6008		str	r0, [r1, #0]
  812788:	4885		ldr	r0, =0x83c0a4	; via 0x8129a0
  81278a:	6801		ldr	r1, [r0, #0]
  81278c:	1c8a		add	r2, r1, #2
  81278e:	6002		str	r2, [r0, #0]
  812790:	4886		ldr	r0, =0x8004	; via 0x8129ac
  812792:	4a84		ldr	r2, =0x83c09c	; via 0x8129a4
  812794:	6812		ldr	r2, [r2, #0]
  812796:	0a12		lsr	r2, r2, #8
  812798:	0612		lsl	r2, r2, #24
  81279a:	0e12		lsr	r2, r2, #24
  81279c:	0152		lsl	r2, r2, #5
  81279e:	4310		orr	r0, r2
  8127a0:	8008		strh	r0, [r1, #0]
  8127a2:	487f		ldr	r0, =0x83c0a4	; via 0x8129a0
  8127a4:	6801		ldr	r1, [r0, #0]
  8127a6:	1c8a		add	r2, r1, #2
  8127a8:	6002		str	r2, [r0, #0]
  8127aa:	4881		ldr	r0, =0x8003	; via 0x8129b0
  8127ac:	4a7d		ldr	r2, =0x83c09c	; via 0x8129a4
  8127ae:	6812		ldr	r2, [r2, #0]
  8127b0:	0612		lsl	r2, r2, #24
  8127b2:	0e12		lsr	r2, r2, #24
  8127b4:	0152		lsl	r2, r2, #5
  8127b6:	4310		orr	r0, r2
  8127b8:	8008		strh	r0, [r1, #0]
  8127ba:	4979		ldr	r1, =0x83c0a4	; via 0x8129a0
  8127bc:	6808		ldr	r0, [r1, #0]
  8127be:	1c82		add	r2, r0, #2
  8127c0:	600a		str	r2, [r1, #0]
  8127c2:	49a8		ldr	r1, =0x89e0	; via 0x812a64
  8127c4:	8001		strh	r1, [r0, #0]
  8127c6:	4976		ldr	r1, =0x83c0a4	; via 0x8129a0
  8127c8:	680a		ldr	r2, [r1, #0]
  8127ca:	1c90		add	r0, r2, #2
  8127cc:	6008		str	r0, [r1, #0]
  8127ce:	4876		ldr	r0, =0x8041	; via 0x8129a8
  8127d0:	8010		strh	r0, [r2, #0]
  8127d2:	9904		ldr	r1, [sp, #16]	; 0x10
  8127d4:	4871		ldr	r0, =0x83be2c	; via 0x81299c
  8127d6:	7800		ldrb	r0, [r0, #0]
  8127d8:	4301		orr	r1, r0
  8127da:	2002		mov	r0, #2
  8127dc:	4308		orr	r0, r1
  8127de:	4971		ldr	r1, =0x83c09c	; via 0x8129a4
  8127e0:	6008		str	r0, [r1, #0]
  8127e2:	486f		ldr	r0, =0x83c0a4	; via 0x8129a0
  8127e4:	6801		ldr	r1, [r0, #0]
  8127e6:	1c8a		add	r2, r1, #2
  8127e8:	6002		str	r2, [r0, #0]
  8127ea:	4870		ldr	r0, =0x8004	; via 0x8129ac
  8127ec:	4a6d		ldr	r2, =0x83c09c	; via 0x8129a4
  8127ee:	6812		ldr	r2, [r2, #0]
  8127f0:	0c12		lsr	r2, r2, #16
  8127f2:	0612		lsl	r2, r2, #24
  8127f4:	0e12		lsr	r2, r2, #24
  8127f6:	0152		lsl	r2, r2, #5
  8127f8:	4310		orr	r0, r2
  8127fa:	8008		strh	r0, [r1, #0]
  8127fc:	4868		ldr	r0, =0x83c0a4	; via 0x8129a0
  8127fe:	6801		ldr	r1, [r0, #0]
  812800:	1c8a		add	r2, r1, #2
  812802:	6002		str	r2, [r0, #0]
  812804:	486a		ldr	r0, =0x8003	; via 0x8129b0
  812806:	4a67		ldr	r2, =0x83c09c	; via 0x8129a4
  812808:	6812		ldr	r2, [r2, #0]
  81280a:	0a12		lsr	r2, r2, #8
  81280c:	0612		lsl	r2, r2, #24
  81280e:	0e12		lsr	r2, r2, #24
  812810:	0152		lsl	r2, r2, #5
  812812:	4310		orr	r0, r2
  812814:	8008		strh	r0, [r1, #0]
  812816:	4862		ldr	r0, =0x83c0a4	; via 0x8129a0
  812818:	6801		ldr	r1, [r0, #0]
  81281a:	1c8a		add	r2, r1, #2
  81281c:	6002		str	r2, [r0, #0]
  81281e:	48cc		ldr	r0, =0x8002	; via 0x812b50
  812820:	4a60		ldr	r2, =0x83c09c	; via 0x8129a4
  812822:	6812		ldr	r2, [r2, #0]
  812824:	0612		lsl	r2, r2, #24
  812826:	0e12		lsr	r2, r2, #24
  812828:	0152		lsl	r2, r2, #5
  81282a:	4310		orr	r0, r2
  81282c:	8008		strh	r0, [r1, #0]
  81282e:	495c		ldr	r1, =0x83c0a4	; via 0x8129a0
  812830:	6808		ldr	r0, [r1, #0]
  812832:	1c82		add	r2, r0, #2
  812834:	600a		str	r2, [r1, #0]
  812836:	49c7		ldr	r1, =0x8ae0	; via 0x812b54
  812838:	8001		strh	r1, [r0, #0]
  81283a:	4959		ldr	r1, =0x83c0a4	; via 0x8129a0
  81283c:	6808		ldr	r0, [r1, #0]
  81283e:	1c82		add	r2, r0, #2
  812840:	600a		str	r2, [r1, #0]
  812842:	4959		ldr	r1, =0x8041	; via 0x8129a8
  812844:	8001		strh	r1, [r0, #0]
  812846:	4956		ldr	r1, =0x83c0a4	; via 0x8129a0
  812848:	6808		ldr	r0, [r1, #0]
  81284a:	1c82		add	r2, r0, #2
  81284c:	600a		str	r2, [r1, #0]
  81284e:	2165		mov	r1, #101	; 0x65
  812850:	01c9		lsl	r1, r1, #7
  812852:	8001		strh	r1, [r0, #0]
  812854:	4952		ldr	r1, =0x83c0a4	; via 0x8129a0
  812856:	6808		ldr	r0, [r1, #0]
  812858:	1c82		add	r2, r0, #2
  81285a:	600a		str	r2, [r1, #0]
  81285c:	49b8		ldr	r1, =0x9804	; via 0x812b40
  81285e:	8001		strh	r1, [r0, #0]
  812860:	494f		ldr	r1, =0x83c0a4	; via 0x8129a0
  812862:	6808		ldr	r0, [r1, #0]
  812864:	1c82		add	r2, r0, #2
  812866:	600a		str	r2, [r1, #0]
  812868:	49b3		ldr	r1, =0x80c0	; via 0x812b38
  81286a:	8001		strh	r1, [r0, #0]
  81286c:	494c		ldr	r1, =0x83c0a4	; via 0x8129a0
  81286e:	6808		ldr	r0, [r1, #0]
  812870:	1c82		add	r2, r0, #2
  812872:	600a		str	r2, [r1, #0]
  812874:	494c		ldr	r1, =0x8041	; via 0x8129a8
  812876:	8001		strh	r1, [r0, #0]
  812878:	4949		ldr	r1, =0x83c0a4	; via 0x8129a0
  81287a:	6808		ldr	r0, [r1, #0]
  81287c:	1c82		add	r2, r0, #2
  81287e:	600a		str	r2, [r1, #0]
  812880:	49b0		ldr	r1, =0x328b	; via 0x812b44
  812882:	8001		strh	r1, [r0, #0]
  812884:	2005		mov	r0, #5
  812886:	9905		ldr	r1, [sp, #20]	; 0x14
  812888:	4308		orr	r0, r1
  81288a:	4946		ldr	r1, =0x83c09c	; via 0x8129a4
  81288c:	6008		str	r0, [r1, #0]
  81288e:	4844		ldr	r0, =0x83c0a4	; via 0x8129a0
  812890:	6801		ldr	r1, [r0, #0]
  812892:	1c8a		add	r2, r1, #2
  812894:	6002		str	r2, [r0, #0]
  812896:	4845		ldr	r0, =0x8004	; via 0x8129ac
  812898:	4a42		ldr	r2, =0x83c09c	; via 0x8129a4
  81289a:	6812		ldr	r2, [r2, #0]
  81289c:	0a12		lsr	r2, r2, #8
  81289e:	0612		lsl	r2, r2, #24
  8128a0:	0e12		lsr	r2, r2, #24
  8128a2:	0152		lsl	r2, r2, #5
  8128a4:	4310		orr	r0, r2
  8128a6:	8008		strh	r0, [r1, #0]
  8128a8:	483d		ldr	r0, =0x83c0a4	; via 0x8129a0
  8128aa:	6801		ldr	r1, [r0, #0]
  8128ac:	1c8a		add	r2, r1, #2
  8128ae:	6002		str	r2, [r0, #0]
  8128b0:	483f		ldr	r0, =0x8003	; via 0x8129b0
  8128b2:	4a3c		ldr	r2, =0x83c09c	; via 0x8129a4
  8128b4:	6812		ldr	r2, [r2, #0]
  8128b6:	0612		lsl	r2, r2, #24
  8128b8:	0e12		lsr	r2, r2, #24
  8128ba:	0152		lsl	r2, r2, #5
  8128bc:	4310		orr	r0, r2
  8128be:	8008		strh	r0, [r1, #0]
  8128c0:	4937		ldr	r1, =0x83c0a4	; via 0x8129a0
  8128c2:	6808		ldr	r0, [r1, #0]
  8128c4:	1c82		add	r2, r0, #2
  8128c6:	600a		str	r2, [r1, #0]
  8128c8:	4966		ldr	r1, =0x89e0	; via 0x812a64
  8128ca:	8001		strh	r1, [r0, #0]
  8128cc:	4934		ldr	r1, =0x83c0a4	; via 0x8129a0
  8128ce:	6808		ldr	r0, [r1, #0]
  8128d0:	1c82		add	r2, r0, #2
  8128d2:	600a		str	r2, [r1, #0]
  8128d4:	4934		ldr	r1, =0x8041	; via 0x8129a8
  8128d6:	8001		strh	r1, [r0, #0]
  8128d8:	4931		ldr	r1, =0x83c0a4	; via 0x8129a0
  8128da:	6808		ldr	r0, [r1, #0]
  8128dc:	1c82		add	r2, r0, #2
  8128de:	600a		str	r2, [r1, #0]
  8128e0:	4999		ldr	r1, =0x32f7	; via 0x812b48
  8128e2:	8001		strh	r1, [r0, #0]
  8128e4:	492f		ldr	r1, =0x83c09c	; via 0x8129a4
  8128e6:	4899		ldr	r0, =0x140973	; via 0x812b4c
  8128e8:	6008		str	r0, [r1, #0]
  8128ea:	482d		ldr	r0, =0x83c0a4	; via 0x8129a0
  8128ec:	6801		ldr	r1, [r0, #0]
  8128ee:	1c8a		add	r2, r1, #2
  8128f0:	6002		str	r2, [r0, #0]
  8128f2:	482e		ldr	r0, =0x8004	; via 0x8129ac
  8128f4:	4a2b		ldr	r2, =0x83c09c	; via 0x8129a4
  8128f6:	6812		ldr	r2, [r2, #0]
  8128f8:	0c12		lsr	r2, r2, #16
  8128fa:	0612		lsl	r2, r2, #24
  8128fc:	0e12		lsr	r2, r2, #24
  8128fe:	0152		lsl	r2, r2, #5
  812900:	4310		orr	r0, r2
  812902:	8008		strh	r0, [r1, #0]
  812904:	4826		ldr	r0, =0x83c0a4	; via 0x8129a0
  812906:	6802		ldr	r2, [r0, #0]
  812908:	1c91		add	r1, r2, #2
  81290a:	6001		str	r1, [r0, #0]
  81290c:	4828		ldr	r0, =0x8003	; via 0x8129b0
  81290e:	4925		ldr	r1, =0x83c09c	; via 0x8129a4
  812910:	6809		ldr	r1, [r1, #0]
  812912:	0a09		lsr	r1, r1, #8
  812914:	0609		lsl	r1, r1, #24
  812916:	0e09		lsr	r1, r1, #24
  812918:	0149		lsl	r1, r1, #5
  81291a:	4308		orr	r0, r1
  81291c:	8010		strh	r0, [r2, #0]
  81291e:	4820		ldr	r0, =0x83c0a4	; via 0x8129a0
  812920:	6801		ldr	r1, [r0, #0]
  812922:	1c8a		add	r2, r1, #2
  812924:	6002		str	r2, [r0, #0]
  812926:	488a		ldr	r0, =0x8002	; via 0x812b50
  812928:	4a1e		ldr	r2, =0x83c09c	; via 0x8129a4
  81292a:	6812		ldr	r2, [r2, #0]
  81292c:	0612		lsl	r2, r2, #24
  81292e:	0e12		lsr	r2, r2, #24
  812930:	0152		lsl	r2, r2, #5
  812932:	4310		orr	r0, r2
  812934:	8008		strh	r0, [r1, #0]
  812936:	4a1a		ldr	r2, =0x83c0a4	; via 0x8129a0
  812938:	6810		ldr	r0, [r2, #0]
  81293a:	1c81		add	r1, r0, #2
  81293c:	6011		str	r1, [r2, #0]
  81293e:	4985		ldr	r1, =0x8ae0	; via 0x812b54
  812940:	8001		strh	r1, [r0, #0]
  812942:	4917		ldr	r1, =0x83c0a4	; via 0x8129a0
  812944:	6808		ldr	r0, [r1, #0]
  812946:	1c82		add	r2, r0, #2
  812948:	600a		str	r2, [r1, #0]
  81294a:	4917		ldr	r1, =0x8041	; via 0x8129a8
  81294c:	8001		strh	r1, [r0, #0]
  81294e:	4a14		ldr	r2, =0x83c0a4	; via 0x8129a0
  812950:	6810		ldr	r0, [r2, #0]
  812952:	1c81		add	r1, r0, #2
  812954:	6011		str	r1, [r2, #0]
  812956:	49e4		ldr	r1, =0x3305	; via 0x812ce8
  812958:	8001		strh	r1, [r0, #0]
  81295a:	4811		ldr	r0, =0x83c0a4	; via 0x8129a0
  81295c:	6801		ldr	r1, [r0, #0]
  81295e:	1c8a		add	r2, r1, #2
  812960:	6002		str	r2, [r0, #0]
  812962:	4874		ldr	r0, =0x9004	; via 0x812b34
  812964:	8008		strh	r0, [r1, #0]
  812966:	480e		ldr	r0, =0x83c0a4	; via 0x8129a0
  812968:	6801		ldr	r1, [r0, #0]
  81296a:	1c8a		add	r2, r1, #2
  81296c:	6002		str	r2, [r0, #0]
  81296e:	4872		ldr	r0, =0x80c0	; via 0x812b38
  812970:	8008		strh	r0, [r1, #0]
  812972:	4a0b		ldr	r2, =0x83c0a4	; via 0x8129a0
  812974:	6810		ldr	r0, [r2, #0]
  812976:	1c81		add	r1, r0, #2
  812978:	6011		str	r1, [r2, #0]
  81297a:	490b		ldr	r1, =0x8041	; via 0x8129a8
  81297c:	8001		strh	r1, [r0, #0]
  81297e:	9800		ldr	r0, [sp, #0]
  812980:	b008		add	sp, #32	; 0x20
  812982:	bd00		pop	{pc}

$l1dmacro_agc:
  8129b4:	b083		sub	sp, #12	; 0xc
  8129b6:	466b		mov	r3, sp
  8129b8:	70da		strb	r2, [r3, #3]
  8129ba:	466a		mov	r2, sp
  8129bc:	7091		strb	r1, [r2, #2]
  8129be:	4669		mov	r1, sp
  8129c0:	8008		strh	r0, [r1, #0]
  8129c2:	9800		ldr	r0, [sp, #0]
  8129c4:	0200		lsl	r0, r0, #8
  8129c6:	1600		asr	r0, r0, #24
  8129c8:	0600		lsl	r0, r0, #24
  8129ca:	1600		asr	r0, r0, #24
  8129cc:	3806		sub	r0, #6
  8129ce:	0fc1		lsr	r1, r0, #31
  8129d0:	1808		add	r0, r1, r0
  8129d2:	1040		asr	r0, r0, #1
  8129d4:	9002		str	r0, [sp, #8]
  8129d6:	9802		ldr	r0, [sp, #8]
  8129d8:	281b		cmp	r0, #27	; 0x1b
  8129da:	db01		blt	0x8129e0
  8129dc:	201a		mov	r0, #26	; 0x1a
  8129de:	9002		str	r0, [sp, #8]
  8129e0:	9802		ldr	r0, [sp, #8]
  8129e2:	2800		cmp	r0, #0
  8129e4:	d501		bpl	0x8129ea
  8129e6:	2000		mov	r0, #0
  8129e8:	9002		str	r0, [sp, #8]
  8129ea:	49f5		ldr	r1, =0x83c0a4	; via 0x812dc0
  8129ec:	6808		ldr	r0, [r1, #0]
  8129ee:	1c82		add	r2, r0, #2
  8129f0:	600a		str	r2, [r1, #0]
  8129f2:	49ef		ldr	r1, =0x3313	; via 0x812db0
  8129f4:	8001		strh	r1, [r0, #0]
  8129f6:	49f0		ldr	r1, =0x83a064	; via 0x812db8
  8129f8:	9802		ldr	r0, [sp, #8]
  8129fa:	0040		lsl	r0, r0, #1
  8129fc:	5a08		ldrh	r0, [r1, r0]
  8129fe:	02c1		lsl	r1, r0, #11
  812a00:	48ec		ldr	r0, =0x3b9	; via 0x812db4
  812a02:	4308		orr	r0, r1
  812a04:	49ef		ldr	r1, =0x83c09c	; via 0x812dc4
  812a06:	6008		str	r0, [r1, #0]
  812a08:	48ed		ldr	r0, =0x83c0a4	; via 0x812dc0
  812a0a:	6801		ldr	r1, [r0, #0]
  812a0c:	1c8a		add	r2, r1, #2
  812a0e:	6002		str	r2, [r0, #0]
  812a10:	48ed		ldr	r0, =0x8004	; via 0x812dc8
  812a12:	4aec		ldr	r2, =0x83c09c	; via 0x812dc4
  812a14:	6812		ldr	r2, [r2, #0]
  812a16:	0a12		lsr	r2, r2, #8
  812a18:	0612		lsl	r2, r2, #24
  812a1a:	0e12		lsr	r2, r2, #24
  812a1c:	0152		lsl	r2, r2, #5
  812a1e:	4310		orr	r0, r2
  812a20:	8008		strh	r0, [r1, #0]
  812a22:	48e7		ldr	r0, =0x83c0a4	; via 0x812dc0
  812a24:	6802		ldr	r2, [r0, #0]
  812a26:	1c91		add	r1, r2, #2
  812a28:	6001		str	r1, [r0, #0]
  812a2a:	48e8		ldr	r0, =0x8003	; via 0x812dcc
  812a2c:	49e5		ldr	r1, =0x83c09c	; via 0x812dc4
  812a2e:	6809		ldr	r1, [r1, #0]
  812a30:	0609		lsl	r1, r1, #24
  812a32:	0e09		lsr	r1, r1, #24
  812a34:	0149		lsl	r1, r1, #5
  812a36:	4308		orr	r0, r1
  812a38:	8010		strh	r0, [r2, #0]
  812a3a:	48e1		ldr	r0, =0x83c0a4	; via 0x812dc0
  812a3c:	6801		ldr	r1, [r0, #0]
  812a3e:	1c8a		add	r2, r1, #2
  812a40:	6002		str	r2, [r0, #0]
  812a42:	4808		ldr	r0, =0x89e0	; via 0x812a64
  812a44:	8008		strh	r0, [r1, #0]
  812a46:	48de		ldr	r0, =0x83c0a4	; via 0x812dc0
  812a48:	6801		ldr	r1, [r0, #0]
  812a4a:	1c8a		add	r2, r1, #2
  812a4c:	6002		str	r2, [r0, #0]
  812a4e:	48e0		ldr	r0, =0x8041	; via 0x812dd0
  812a50:	8008		strh	r0, [r1, #0]
  812a52:	49da		ldr	r1, =0x83c098	; via 0x812dbc
  812a54:	4668		mov	r0, sp
  812a56:	78c0		ldrb	r0, [r0, #3]
  812a58:	07c0		lsl	r0, r0, #31
  812a5a:	0fc0		lsr	r0, r0, #31
  812a5c:	03c0		lsl	r0, r0, #15
  812a5e:	8008		strh	r0, [r1, #0]
  812a60:	b003		add	sp, #12	; 0xc
  812a62:	4770		bx	lr

$arfcn_to_rf_index:
  812a68:	b081		sub	sp, #4
  812a6a:	4669		mov	r1, sp
  812a6c:	8008		strh	r0, [r1, #0]
  812a6e:	49d9		ldr	r1, =0x8053f8	; via 0x812dd4
  812a70:	48db		ldr	r0, =0x83cdb4	; via 0x812de0
  812a72:	7800		ldrb	r0, [r0, #0]
  812a74:	00c0		lsl	r0, r0, #3
  812a76:	5c09		ldrb	r1, [r1, r0]
  812a78:	4668		mov	r0, sp
  812a7a:	70c1		strb	r1, [r0, #3]
  812a7c:	48d6		ldr	r0, =0x8053f9	; via 0x812dd8
  812a7e:	49d8		ldr	r1, =0x83cdb4	; via 0x812de0
  812a80:	7809		ldrb	r1, [r1, #0]
  812a82:	00c9		lsl	r1, r1, #3
  812a84:	5c40		ldrb	r0, [r0, r1]
  812a86:	2800		cmp	r0, #0
  812a88:	d011		beq	0x812aae
  812a8a:	4668		mov	r0, sp
  812a8c:	8801		ldrh	r1, [r0, #0]
  812a8e:	2001		mov	r0, #1
  812a90:	0240		lsl	r0, r0, #9
  812a92:	4281		cmp	r1, r0
  812a94:	db0b		blt	0x812aae
  812a96:	4668		mov	r0, sp
  812a98:	8800		ldrh	r0, [r0, #0]
  812a9a:	49d0		ldr	r1, =0x375	; via 0x812ddc
  812a9c:	4288		cmp	r0, r1
  812a9e:	dc06		bgt	0x812aae
  812aa0:	49cd		ldr	r1, =0x8053f9	; via 0x812dd8
  812aa2:	48cf		ldr	r0, =0x83cdb4	; via 0x812de0
  812aa4:	7800		ldrb	r0, [r0, #0]
  812aa6:	00c0		lsl	r0, r0, #3
  812aa8:	5c09		ldrb	r1, [r1, r0]
  812aaa:	4668		mov	r0, sp
  812aac:	70c1		strb	r1, [r0, #3]
  812aae:	4668		mov	r0, sp
  812ab0:	78c0		ldrb	r0, [r0, #3]
  812ab2:	3801		sub	r0, #1
  812ab4:	0600		lsl	r0, r0, #24
  812ab6:	0e00		lsr	r0, r0, #24
  812ab8:	b001		add	sp, #4
  812aba:	4770		bx	lr

$l1dmacro_rx_synth:
  812abc:	b500		push	{lr}
  812abe:	b082		sub	sp, #8
  812ac0:	4669		mov	r1, sp
  812ac2:	8008		strh	r0, [r1, #0]
  812ac4:	49c7		ldr	r1, =0x83cdf8	; via 0x812de4
  812ac6:	2000		mov	r0, #0
  812ac8:	5e08		ldrsh	r0, [r1, r0]
  812aca:	9001		str	r0, [sp, #4]
  812acc:	49bc		ldr	r1, =0x83c0a4	; via 0x812dc0
  812ace:	6808		ldr	r0, [r1, #0]
  812ad0:	1c82		add	r2, r0, #2
  812ad2:	600a		str	r2, [r1, #0]
  812ad4:	2101		mov	r1, #1
  812ad6:	0349		lsl	r1, r1, #13
  812ad8:	9a01		ldr	r2, [sp, #4]
  812ada:	4311		orr	r1, r2
  812adc:	8001		strh	r1, [r0, #0]
  812ade:	9801		ldr	r0, [sp, #4]
  812ae0:	4669		mov	r1, sp
  812ae2:	8809		ldrh	r1, [r1, #0]
  812ae4:	2201		mov	r2, #1
  812ae6:	f7ff fd51	bl	0x81258c	; $rf_program
  812aea:	9001		str	r0, [sp, #4]
  812aec:	b002		add	sp, #8
  812aee:	bd00		pop	{pc}

$l1dmacro_tx_synth:
  812af0:	b500		push	{lr}
  812af2:	b082		sub	sp, #8
  812af4:	4669		mov	r1, sp
  812af6:	8008		strh	r0, [r1, #0]
  812af8:	49bb		ldr	r1, =0x83ce04	; via 0x812de8
  812afa:	2000		mov	r0, #0
  812afc:	5e08		ldrsh	r0, [r1, r0]
  812afe:	9001		str	r0, [sp, #4]
  812b00:	49af		ldr	r1, =0x83c0a4	; via 0x812dc0
  812b02:	6808		ldr	r0, [r1, #0]
  812b04:	1c82		add	r2, r0, #2
  812b06:	600a		str	r2, [r1, #0]
  812b08:	2101		mov	r1, #1
  812b0a:	0349		lsl	r1, r1, #13
  812b0c:	9a01		ldr	r2, [sp, #4]
  812b0e:	4311		orr	r1, r2
  812b10:	8001		strh	r1, [r0, #0]
  812b12:	9801		ldr	r0, [sp, #4]
  812b14:	4669		mov	r1, sp
  812b16:	8809		ldrh	r1, [r1, #0]
  812b18:	2200		mov	r2, #0
  812b1a:	f7ff fd37	bl	0x81258c	; $rf_program
  812b1e:	9001		str	r0, [sp, #4]
  812b20:	b002		add	sp, #8
  812b22:	bd00		pop	{pc}

  812b24:	b081		sub	sp, #4
  812b26:	466a		mov	r2, sp
  812b28:	7091		strb	r1, [r2, #2]
  812b2a:	4669		mov	r1, sp
  812b2c:	8008		strh	r0, [r1, #0]
  812b2e:	b001		add	sp, #4
  812b30:	4770		bx	lr
  812b32:	46c0		nop			(mov r8, r8)

$l1dmacro_rx_up:
  812b58:	4999		ldr	r1, =0x83c0a4	; via 0x812dc0
  812b5a:	6808		ldr	r0, [r1, #0]
  812b5c:	1c82		add	r2, r0, #2
  812b5e:	600a		str	r2, [r1, #0]
  812b60:	49a2		ldr	r1, =0x3321	; via 0x812dec
  812b62:	8001		strh	r1, [r0, #0]
  812b64:	2014		mov	r0, #20	; 0x14
  812b66:	49fd		ldr	r1, =0x83c0a1	; via 0x812f5c
  812b68:	7809		ldrb	r1, [r1, #0]
  812b6a:	4348		mul	r0, r1
  812b6c:	49fc		ldr	r1, =0x83c048	; via 0x812f60
  812b6e:	5a09		ldrh	r1, [r1, r0]
  812b70:	48fc		ldr	r0, =0x9a18	; via 0x812f64
  812b72:	4308		orr	r0, r1
  812b74:	4993		ldr	r1, =0x83c09c	; via 0x812dc4
  812b76:	6008		str	r0, [r1, #0]
  812b78:	4891		ldr	r0, =0x83c0a4	; via 0x812dc0
  812b7a:	6801		ldr	r1, [r0, #0]
  812b7c:	1c8a		add	r2, r1, #2
  812b7e:	6002		str	r2, [r0, #0]
  812b80:	4891		ldr	r0, =0x8004	; via 0x812dc8
  812b82:	4a90		ldr	r2, =0x83c09c	; via 0x812dc4
  812b84:	6812		ldr	r2, [r2, #0]
  812b86:	0a12		lsr	r2, r2, #8
  812b88:	0612		lsl	r2, r2, #24
  812b8a:	0e12		lsr	r2, r2, #24
  812b8c:	0152		lsl	r2, r2, #5
  812b8e:	4310		orr	r0, r2
  812b90:	8008		strh	r0, [r1, #0]
  812b92:	488b		ldr	r0, =0x83c0a4	; via 0x812dc0
  812b94:	6801		ldr	r1, [r0, #0]
  812b96:	1c8a		add	r2, r1, #2
  812b98:	6002		str	r2, [r0, #0]
  812b9a:	488c		ldr	r0, =0x8003	; via 0x812dcc
  812b9c:	4a89		ldr	r2, =0x83c09c	; via 0x812dc4
  812b9e:	6812		ldr	r2, [r2, #0]
  812ba0:	0612		lsl	r2, r2, #24
  812ba2:	0e12		lsr	r2, r2, #24
  812ba4:	0152		lsl	r2, r2, #5
  812ba6:	4310		orr	r0, r2
  812ba8:	8008		strh	r0, [r1, #0]
  812baa:	4985		ldr	r1, =0x83c0a4	; via 0x812dc0
  812bac:	6808		ldr	r0, [r1, #0]
  812bae:	1c82		add	r2, r0, #2
  812bb0:	600a		str	r2, [r1, #0]
  812bb2:	49f6		ldr	r1, =0x89e0	; via 0x812f8c
  812bb4:	8001		strh	r1, [r0, #0]
  812bb6:	4982		ldr	r1, =0x83c0a4	; via 0x812dc0
  812bb8:	6808		ldr	r0, [r1, #0]
  812bba:	1c82		add	r2, r0, #2
  812bbc:	600a		str	r2, [r1, #0]
  812bbe:	4984		ldr	r1, =0x8041	; via 0x812dd0
  812bc0:	8001		strh	r1, [r0, #0]
  812bc2:	497f		ldr	r1, =0x83c0a4	; via 0x812dc0
  812bc4:	6808		ldr	r0, [r1, #0]
  812bc6:	1c82		add	r2, r0, #2
  812bc8:	600a		str	r2, [r1, #0]
  812bca:	49e7		ldr	r1, =0x2007	; via 0x812f68
  812bcc:	8001		strh	r1, [r0, #0]
  812bce:	2014		mov	r0, #20	; 0x14
  812bd0:	49e2		ldr	r1, =0x83c0a1	; via 0x812f5c
  812bd2:	7809		ldrb	r1, [r1, #0]
  812bd4:	4348		mul	r0, r1
  812bd6:	49e2		ldr	r1, =0x83c048	; via 0x812f60
  812bd8:	5a09		ldrh	r1, [r1, r0]
  812bda:	4878		ldr	r0, =0x83c098	; via 0x812dbc
  812bdc:	8800		ldrh	r0, [r0, #0]
  812bde:	4301		orr	r1, r0
  812be0:	2047		mov	r0, #71	; 0x47
  812be2:	00c0		lsl	r0, r0, #3
  812be4:	4308		orr	r0, r1
  812be6:	4977		ldr	r1, =0x83c09c	; via 0x812dc4
  812be8:	6008		str	r0, [r1, #0]
  812bea:	4875		ldr	r0, =0x83c0a4	; via 0x812dc0
  812bec:	6801		ldr	r1, [r0, #0]
  812bee:	1c8a		add	r2, r1, #2
  812bf0:	6002		str	r2, [r0, #0]
  812bf2:	4875		ldr	r0, =0x8004	; via 0x812dc8
  812bf4:	4a73		ldr	r2, =0x83c09c	; via 0x812dc4
  812bf6:	6812		ldr	r2, [r2, #0]
  812bf8:	0a12		lsr	r2, r2, #8
  812bfa:	0612		lsl	r2, r2, #24
  812bfc:	0e12		lsr	r2, r2, #24
  812bfe:	0152		lsl	r2, r2, #5
  812c00:	4310		orr	r0, r2
  812c02:	8008		strh	r0, [r1, #0]
  812c04:	486e		ldr	r0, =0x83c0a4	; via 0x812dc0
  812c06:	6801		ldr	r1, [r0, #0]
  812c08:	1c8a		add	r2, r1, #2
  812c0a:	6002		str	r2, [r0, #0]
  812c0c:	486f		ldr	r0, =0x8003	; via 0x812dcc
  812c0e:	4a6d		ldr	r2, =0x83c09c	; via 0x812dc4
  812c10:	6812		ldr	r2, [r2, #0]
  812c12:	0612		lsl	r2, r2, #24
  812c14:	0e12		lsr	r2, r2, #24
  812c16:	0152		lsl	r2, r2, #5
  812c18:	4310		orr	r0, r2
  812c1a:	8008		strh	r0, [r1, #0]
  812c1c:	4968		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c1e:	6808		ldr	r0, [r1, #0]
  812c20:	1c82		add	r2, r0, #2
  812c22:	600a		str	r2, [r1, #0]
  812c24:	49d9		ldr	r1, =0x89e0	; via 0x812f8c
  812c26:	8001		strh	r1, [r0, #0]
  812c28:	4a65		ldr	r2, =0x83c0a4	; via 0x812dc0
  812c2a:	6810		ldr	r0, [r2, #0]
  812c2c:	1c81		add	r1, r0, #2
  812c2e:	6011		str	r1, [r2, #0]
  812c30:	4967		ldr	r1, =0x8041	; via 0x812dd0
  812c32:	8001		strh	r1, [r0, #0]
  812c34:	4962		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c36:	6808		ldr	r0, [r1, #0]
  812c38:	1c82		add	r2, r0, #2
  812c3a:	600a		str	r2, [r1, #0]
  812c3c:	49cb		ldr	r1, =0xa005	; via 0x812f6c
  812c3e:	8001		strh	r1, [r0, #0]
  812c40:	495f		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c42:	6808		ldr	r0, [r1, #0]
  812c44:	1c82		add	r2, r0, #2
  812c46:	600a		str	r2, [r1, #0]
  812c48:	49c9		ldr	r1, =0x8204	; via 0x812f70
  812c4a:	8001		strh	r1, [r0, #0]
  812c4c:	495c		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c4e:	6808		ldr	r0, [r1, #0]
  812c50:	1c82		add	r2, r0, #2
  812c52:	600a		str	r2, [r1, #0]
  812c54:	49f7		ldr	r1, =0x80c0	; via 0x813034
  812c56:	8001		strh	r1, [r0, #0]
  812c58:	4959		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c5a:	6808		ldr	r0, [r1, #0]
  812c5c:	1c82		add	r2, r0, #2
  812c5e:	600a		str	r2, [r1, #0]
  812c60:	495b		ldr	r1, =0x8041	; via 0x812dd0
  812c62:	8001		strh	r1, [r0, #0]
  812c64:	4956		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c66:	6808		ldr	r0, [r1, #0]
  812c68:	1c82		add	r2, r0, #2
  812c6a:	600a		str	r2, [r1, #0]
  812c6c:	49c1		ldr	r1, =0x201b	; via 0x812f74
  812c6e:	8001		strh	r1, [r0, #0]
  812c70:	4953		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c72:	6808		ldr	r0, [r1, #0]
  812c74:	1c82		add	r2, r0, #2
  812c76:	600a		str	r2, [r1, #0]
  812c78:	49bf		ldr	r1, =0x8304	; via 0x812f78
  812c7a:	8001		strh	r1, [r0, #0]
  812c7c:	4950		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c7e:	6808		ldr	r0, [r1, #0]
  812c80:	1c82		add	r2, r0, #2
  812c82:	600a		str	r2, [r1, #0]
  812c84:	4952		ldr	r1, =0x8041	; via 0x812dd0
  812c86:	8001		strh	r1, [r0, #0]
  812c88:	494d		ldr	r1, =0x83c0a4	; via 0x812dc0
  812c8a:	6808		ldr	r0, [r1, #0]
  812c8c:	1c82		add	r2, r0, #2
  812c8e:	600a		str	r2, [r1, #0]
  812c90:	49ba		ldr	r1, =0x2036	; via 0x812f7c
  812c92:	8001		strh	r1, [r0, #0]
  812c94:	484a		ldr	r0, =0x83c0a4	; via 0x812dc0
  812c96:	6802		ldr	r2, [r0, #0]
  812c98:	1c91		add	r1, r2, #2
  812c9a:	6001		str	r1, [r0, #0]
  812c9c:	2014		mov	r0, #20	; 0x14
  812c9e:	49af		ldr	r1, =0x83c0a1	; via 0x812f5c
  812ca0:	7809		ldrb	r1, [r1, #0]
  812ca2:	4348		mul	r0, r1
  812ca4:	49b6		ldr	r1, =0x83c04a	; via 0x812f80
  812ca6:	5c08		ldrb	r0, [r1, r0]
  812ca8:	2109		mov	r1, #9
  812caa:	4301		orr	r1, r0
  812cac:	0149		lsl	r1, r1, #5
  812cae:	48f1		ldr	r0, =0x8006	; via 0x813074
  812cb0:	4308		orr	r0, r1
  812cb2:	8010		strh	r0, [r2, #0]
  812cb4:	4942		ldr	r1, =0x83c0a4	; via 0x812dc0
  812cb6:	680a		ldr	r2, [r1, #0]
  812cb8:	1c90		add	r0, r2, #2
  812cba:	6008		str	r0, [r1, #0]
  812cbc:	48b1		ldr	r0, =0x203e	; via 0x812f84
  812cbe:	8010		strh	r0, [r2, #0]
  812cc0:	493f		ldr	r1, =0x83c0a4	; via 0x812dc0
  812cc2:	6808		ldr	r0, [r1, #0]
  812cc4:	1c82		add	r2, r0, #2
  812cc6:	600a		str	r2, [r1, #0]
  812cc8:	49af		ldr	r1, =0x8284	; via 0x812f88
  812cca:	8001		strh	r1, [r0, #0]
  812ccc:	483c		ldr	r0, =0x83c0a4	; via 0x812dc0
  812cce:	6801		ldr	r1, [r0, #0]
  812cd0:	1c8a		add	r2, r1, #2
  812cd2:	6002		str	r2, [r0, #0]
  812cd4:	48d7		ldr	r0, =0x80c0	; via 0x813034
  812cd6:	8008		strh	r0, [r1, #0]
  812cd8:	4a39		ldr	r2, =0x83c0a4	; via 0x812dc0
  812cda:	6810		ldr	r0, [r2, #0]
  812cdc:	1c81		add	r1, r0, #2
  812cde:	6011		str	r1, [r2, #0]
  812ce0:	493b		ldr	r1, =0x8041	; via 0x812dd0
  812ce2:	8001		strh	r1, [r0, #0]
  812ce4:	4770		bx	lr
  812ce6:	46c0		nop			(mov r8, r8)

$l1dmacro_rx_down:
  812cec:	b081		sub	sp, #4
  812cee:	9000		str	r0, [sp, #0]
  812cf0:	4833		ldr	r0, =0x83c0a4	; via 0x812dc0
  812cf2:	6802		ldr	r2, [r0, #0]
  812cf4:	1c91		add	r1, r2, #2
  812cf6:	6001		str	r1, [r0, #0]
  812cf8:	2001		mov	r0, #1
  812cfa:	0340		lsl	r0, r0, #13
  812cfc:	9900		ldr	r1, [sp, #0]
  812cfe:	3924		sub	r1, #36	; 0x24
  812d00:	4308		orr	r0, r1
  812d02:	8010		strh	r0, [r2, #0]
  812d04:	492f		ldr	r1, =0x83c09c	; via 0x812dc4
  812d06:	48f5		ldr	r0, =0x8018	; via 0x8130dc
  812d08:	6008		str	r0, [r1, #0]
  812d0a:	482d		ldr	r0, =0x83c0a4	; via 0x812dc0
  812d0c:	6801		ldr	r1, [r0, #0]
  812d0e:	1c8a		add	r2, r1, #2
  812d10:	6002		str	r2, [r0, #0]
  812d12:	482d		ldr	r0, =0x8004	; via 0x812dc8
  812d14:	4a2b		ldr	r2, =0x83c09c	; via 0x812dc4
  812d16:	6812		ldr	r2, [r2, #0]
  812d18:	0a12		lsr	r2, r2, #8
  812d1a:	0612		lsl	r2, r2, #24
  812d1c:	0e12		lsr	r2, r2, #24
  812d1e:	0152		lsl	r2, r2, #5
  812d20:	4310		orr	r0, r2
  812d22:	8008		strh	r0, [r1, #0]
  812d24:	4826		ldr	r0, =0x83c0a4	; via 0x812dc0
  812d26:	6801		ldr	r1, [r0, #0]
  812d28:	1c8a		add	r2, r1, #2
  812d2a:	6002		str	r2, [r0, #0]
  812d2c:	4827		ldr	r0, =0x8003	; via 0x812dcc
  812d2e:	4a25		ldr	r2, =0x83c09c	; via 0x812dc4
  812d30:	6812		ldr	r2, [r2, #0]
  812d32:	0612		lsl	r2, r2, #24
  812d34:	0e12		lsr	r2, r2, #24
  812d36:	0152		lsl	r2, r2, #5
  812d38:	4310		orr	r0, r2
  812d3a:	8008		strh	r0, [r1, #0]
  812d3c:	4920		ldr	r1, =0x83c0a4	; via 0x812dc0
  812d3e:	6808		ldr	r0, [r1, #0]
  812d40:	1c82		add	r2, r0, #2
  812d42:	600a		str	r2, [r1, #0]
  812d44:	4991		ldr	r1, =0x89e0	; via 0x812f8c
  812d46:	8001		strh	r1, [r0, #0]
  812d48:	491d		ldr	r1, =0x83c0a4	; via 0x812dc0
  812d4a:	6808		ldr	r0, [r1, #0]
  812d4c:	1c82		add	r2, r0, #2
  812d4e:	600a		str	r2, [r1, #0]
  812d50:	491f		ldr	r1, =0x8041	; via 0x812dd0
  812d52:	8001		strh	r1, [r0, #0]
  812d54:	481a		ldr	r0, =0x83c0a4	; via 0x812dc0
  812d56:	6802		ldr	r2, [r0, #0]
  812d58:	1c91		add	r1, r2, #2
  812d5a:	6001		str	r1, [r0, #0]
  812d5c:	2014		mov	r0, #20	; 0x14
  812d5e:	497f		ldr	r1, =0x83c0a1	; via 0x812f5c
  812d60:	7809		ldrb	r1, [r1, #0]
  812d62:	4348		mul	r0, r1
  812d64:	49f0		ldr	r1, =0x83c04b	; via 0x813128
  812d66:	5c09		ldrb	r1, [r1, r0]
  812d68:	2009		mov	r0, #9
  812d6a:	4308		orr	r0, r1
  812d6c:	0141		lsl	r1, r0, #5
  812d6e:	48c1		ldr	r0, =0x8006	; via 0x813074
  812d70:	4308		orr	r0, r1
  812d72:	8010		strh	r0, [r2, #0]
  812d74:	4812		ldr	r0, =0x83c0a4	; via 0x812dc0
  812d76:	6802		ldr	r2, [r0, #0]
  812d78:	1c91		add	r1, r2, #2
  812d7a:	6001		str	r1, [r0, #0]
  812d7c:	2001		mov	r0, #1
  812d7e:	0341		lsl	r1, r0, #13
  812d80:	9800		ldr	r0, [sp, #0]
  812d82:	3804		sub	r0, #4
  812d84:	4301		orr	r1, r0
  812d86:	8011		strh	r1, [r2, #0]
  812d88:	490d		ldr	r1, =0x83c0a4	; via 0x812dc0
  812d8a:	6808		ldr	r0, [r1, #0]
  812d8c:	1c82		add	r2, r0, #2
  812d8e:	600a		str	r2, [r1, #0]
  812d90:	49e6		ldr	r1, =0x8004	; via 0x81312c
  812d92:	8001		strh	r1, [r0, #0]
  812d94:	480a		ldr	r0, =0x83c0a4	; via 0x812dc0
  812d96:	6801		ldr	r1, [r0, #0]
  812d98:	1c8a		add	r2, r1, #2
  812d9a:	6002		str	r2, [r0, #0]
  812d9c:	48a5		ldr	r0, =0x80c0	; via 0x813034
  812d9e:	8008		strh	r0, [r1, #0]
  812da0:	4807		ldr	r0, =0x83c0a4	; via 0x812dc0
  812da2:	6801		ldr	r1, [r0, #0]
  812da4:	1c8a		add	r2, r1, #2
  812da6:	6002		str	r2, [r0, #0]
  812da8:	4809		ldr	r0, =0x8041	; via 0x812dd0
  812daa:	8008		strh	r0, [r1, #0]
  812dac:	b001		add	sp, #4
  812dae:	4770		bx	lr

$l1dmacro_tx_up:
  812df0:	49f7		ldr	r1, =0x83c0a4	; via 0x8131d0
  812df2:	6808		ldr	r0, [r1, #0]
  812df4:	1c82		add	r2, r0, #2
  812df6:	600a		str	r2, [r1, #0]
  812df8:	49cd		ldr	r1, =0x3309	; via 0x813130
  812dfa:	8001		strh	r1, [r0, #0]
  812dfc:	2014		mov	r0, #20	; 0x14
  812dfe:	4957		ldr	r1, =0x83c0a1	; via 0x812f5c
  812e00:	7809		ldrb	r1, [r1, #0]
  812e02:	4348		mul	r0, r1
  812e04:	4956		ldr	r1, =0x83c048	; via 0x812f60
  812e06:	5a09		ldrh	r1, [r1, r0]
  812e08:	20ab		mov	r0, #171	; 0xab
  812e0a:	00c0		lsl	r0, r0, #3
  812e0c:	4308		orr	r0, r1
  812e0e:	49c9		ldr	r1, =0x83c09c	; via 0x813134
  812e10:	6008		str	r0, [r1, #0]
  812e12:	48ef		ldr	r0, =0x83c0a4	; via 0x8131d0
  812e14:	6801		ldr	r1, [r0, #0]
  812e16:	1c8a		add	r2, r1, #2
  812e18:	6002		str	r2, [r0, #0]
  812e1a:	48c7		ldr	r0, =0x8004	; via 0x813138
  812e1c:	4ac5		ldr	r2, =0x83c09c	; via 0x813134
  812e1e:	6812		ldr	r2, [r2, #0]
  812e20:	0a12		lsr	r2, r2, #8
  812e22:	0612		lsl	r2, r2, #24
  812e24:	0e12		lsr	r2, r2, #24
  812e26:	0152		lsl	r2, r2, #5
  812e28:	4310		orr	r0, r2
  812e2a:	8008		strh	r0, [r1, #0]
  812e2c:	48e8		ldr	r0, =0x83c0a4	; via 0x8131d0
  812e2e:	6801		ldr	r1, [r0, #0]
  812e30:	1c8a		add	r2, r1, #2
  812e32:	6002		str	r2, [r0, #0]
  812e34:	48ef		ldr	r0, =0x8003	; via 0x8131f4
  812e36:	4abf		ldr	r2, =0x83c09c	; via 0x813134
  812e38:	6812		ldr	r2, [r2, #0]
  812e3a:	0612		lsl	r2, r2, #24
  812e3c:	0e12		lsr	r2, r2, #24
  812e3e:	0152		lsl	r2, r2, #5
  812e40:	4310		orr	r0, r2
  812e42:	8008		strh	r0, [r1, #0]
  812e44:	48e2		ldr	r0, =0x83c0a4	; via 0x8131d0
  812e46:	6801		ldr	r1, [r0, #0]
  812e48:	1c8a		add	r2, r1, #2
  812e4a:	6002		str	r2, [r0, #0]
  812e4c:	484f		ldr	r0, =0x89e0	; via 0x812f8c
  812e4e:	8008		strh	r0, [r1, #0]
  812e50:	49df		ldr	r1, =0x83c0a4	; via 0x8131d0
  812e52:	6808		ldr	r0, [r1, #0]
  812e54:	1c82		add	r2, r0, #2
  812e56:	600a		str	r2, [r1, #0]
  812e58:	49f2		ldr	r1, =0x8041	; via 0x813224
  812e5a:	8001		strh	r1, [r0, #0]
  812e5c:	48dc		ldr	r0, =0x83c0a4	; via 0x8131d0
  812e5e:	6801		ldr	r1, [r0, #0]
  812e60:	1c8a		add	r2, r1, #2
  812e62:	6002		str	r2, [r0, #0]
  812e64:	48fa		ldr	r0, =0x333a	; via 0x813250
  812e66:	8008		strh	r0, [r1, #0]
  812e68:	49b2		ldr	r1, =0x83c09c	; via 0x813134
  812e6a:	48ed		ldr	r0, =0x140753	; via 0x813220
  812e6c:	6008		str	r0, [r1, #0]
  812e6e:	48d8		ldr	r0, =0x83c0a4	; via 0x8131d0
  812e70:	6801		ldr	r1, [r0, #0]
  812e72:	1c8a		add	r2, r1, #2
  812e74:	6002		str	r2, [r0, #0]
  812e76:	48b0		ldr	r0, =0x8004	; via 0x813138
  812e78:	4aae		ldr	r2, =0x83c09c	; via 0x813134
  812e7a:	6812		ldr	r2, [r2, #0]
  812e7c:	0c12		lsr	r2, r2, #16
  812e7e:	0612		lsl	r2, r2, #24
  812e80:	0e12		lsr	r2, r2, #24
  812e82:	0152		lsl	r2, r2, #5
  812e84:	4310		orr	r0, r2
  812e86:	8008		strh	r0, [r1, #0]
  812e88:	49d1		ldr	r1, =0x83c0a4	; via 0x8131d0
  812e8a:	6808		ldr	r0, [r1, #0]
  812e8c:	1c82		add	r2, r0, #2
  812e8e:	600a		str	r2, [r1, #0]
  812e90:	49d8		ldr	r1, =0x8003	; via 0x8131f4
  812e92:	4aa8		ldr	r2, =0x83c09c	; via 0x813134
  812e94:	6812		ldr	r2, [r2, #0]
  812e96:	0a12		lsr	r2, r2, #8
  812e98:	0612		lsl	r2, r2, #24
  812e9a:	0e12		lsr	r2, r2, #24
  812e9c:	0152		lsl	r2, r2, #5
  812e9e:	4311		orr	r1, r2
  812ea0:	8001		strh	r1, [r0, #0]
  812ea2:	48cb		ldr	r0, =0x83c0a4	; via 0x8131d0
  812ea4:	6801		ldr	r1, [r0, #0]
  812ea6:	1c8a		add	r2, r1, #2
  812ea8:	6002		str	r2, [r0, #0]
  812eaa:	48f4		ldr	r0, =0x8002	; via 0x81327c
  812eac:	4aa1		ldr	r2, =0x83c09c	; via 0x813134
  812eae:	6812		ldr	r2, [r2, #0]
  812eb0:	0612		lsl	r2, r2, #24
  812eb2:	0e12		lsr	r2, r2, #24
  812eb4:	0152		lsl	r2, r2, #5
  812eb6:	4310		orr	r0, r2
  812eb8:	8008		strh	r0, [r1, #0]
  812eba:	49c5		ldr	r1, =0x83c0a4	; via 0x8131d0
  812ebc:	6808		ldr	r0, [r1, #0]
  812ebe:	1c82		add	r2, r0, #2
  812ec0:	600a		str	r2, [r1, #0]
  812ec2:	49f4		ldr	r1, =0x8ae0	; via 0x813294
  812ec4:	8001		strh	r1, [r0, #0]
  812ec6:	49c2		ldr	r1, =0x83c0a4	; via 0x8131d0
  812ec8:	6808		ldr	r0, [r1, #0]
  812eca:	1c82		add	r2, r0, #2
  812ecc:	600a		str	r2, [r1, #0]
  812ece:	49d5		ldr	r1, =0x8041	; via 0x813224
  812ed0:	8001		strh	r1, [r0, #0]
  812ed2:	49bf		ldr	r1, =0x83c0a4	; via 0x8131d0
  812ed4:	6808		ldr	r0, [r1, #0]
  812ed6:	1c82		add	r2, r0, #2
  812ed8:	600a		str	r2, [r1, #0]
  812eda:	49f4		ldr	r1, =0x3384	; via 0x8132ac
  812edc:	8001		strh	r1, [r0, #0]
  812ede:	49bc		ldr	r1, =0x83c0a4	; via 0x8131d0
  812ee0:	6808		ldr	r0, [r1, #0]
  812ee2:	1c82		add	r2, r0, #2
  812ee4:	600a		str	r2, [r1, #0]
  812ee6:	49f2		ldr	r1, =0x9404	; via 0x8132b0
  812ee8:	8001		strh	r1, [r0, #0]
  812eea:	49b9		ldr	r1, =0x83c0a4	; via 0x8131d0
  812eec:	6808		ldr	r0, [r1, #0]
  812eee:	1c82		add	r2, r0, #2
  812ef0:	600a		str	r2, [r1, #0]
  812ef2:	4950		ldr	r1, =0x80c0	; via 0x813034
  812ef4:	8001		strh	r1, [r0, #0]
  812ef6:	49b6		ldr	r1, =0x83c0a4	; via 0x8131d0
  812ef8:	6808		ldr	r0, [r1, #0]
  812efa:	1c82		add	r2, r0, #2
  812efc:	600a		str	r2, [r1, #0]
  812efe:	49c9		ldr	r1, =0x8041	; via 0x813224
  812f00:	8001		strh	r1, [r0, #0]
  812f02:	49b3		ldr	r1, =0x83c0a4	; via 0x8131d0
  812f04:	6808		ldr	r0, [r1, #0]
  812f06:	1c82		add	r2, r0, #2
  812f08:	600a		str	r2, [r1, #0]
  812f0a:	49f3		ldr	r1, =0x2010	; via 0x8132d8
  812f0c:	8001		strh	r1, [r0, #0]
  812f0e:	48b0		ldr	r0, =0x83c0a4	; via 0x8131d0
  812f10:	6801		ldr	r1, [r0, #0]
  812f12:	1c8a		add	r2, r1, #2
  812f14:	6002		str	r2, [r0, #0]
  812f16:	2014		mov	r0, #20	; 0x14
  812f18:	4a10		ldr	r2, =0x83c0a1	; via 0x812f5c
  812f1a:	7812		ldrb	r2, [r2, #0]
  812f1c:	4350		mul	r0, r2
  812f1e:	4aef		ldr	r2, =0x83c04c	; via 0x8132dc
  812f20:	5c12		ldrb	r2, [r2, r0]
  812f22:	2001		mov	r0, #1
  812f24:	4310		orr	r0, r2
  812f26:	0142		lsl	r2, r0, #5
  812f28:	4852		ldr	r0, =0x8006	; via 0x813074
  812f2a:	4310		orr	r0, r2
  812f2c:	8008		strh	r0, [r1, #0]
  812f2e:	48a8		ldr	r0, =0x83c0a4	; via 0x8131d0
  812f30:	6801		ldr	r1, [r0, #0]
  812f32:	1c8a		add	r2, r1, #2
  812f34:	6002		str	r2, [r0, #0]
  812f36:	48f6		ldr	r0, =0x2018	; via 0x813310
  812f38:	8008		strh	r0, [r1, #0]
  812f3a:	48a5		ldr	r0, =0x83c0a4	; via 0x8131d0
  812f3c:	6802		ldr	r2, [r0, #0]
  812f3e:	1c91		add	r1, r2, #2
  812f40:	6001		str	r1, [r0, #0]
  812f42:	2014		mov	r0, #20	; 0x14
  812f44:	49f3		ldr	r1, =0x83c0a1	; via 0x813314
  812f46:	7809		ldrb	r1, [r1, #0]
  812f48:	4348		mul	r0, r1
  812f4a:	49e4		ldr	r1, =0x83c04c	; via 0x8132dc
  812f4c:	5c09		ldrb	r1, [r1, r0]
  812f4e:	2021		mov	r0, #33	; 0x21
  812f50:	4308		orr	r0, r1
  812f52:	0140		lsl	r0, r0, #5
  812f54:	4947		ldr	r1, =0x8006	; via 0x813074
  812f56:	4301		orr	r1, r0
  812f58:	8011		strh	r1, [r2, #0]
  812f5a:	4770		bx	lr

$l1dmacro_tx_down:
  812f90:	b500		push	{lr}
  812f92:	b082		sub	sp, #8
  812f94:	466b		mov	r3, sp
  812f96:	715a		strb	r2, [r3, #5]
  812f98:	466a		mov	r2, sp
  812f9a:	7111		strb	r1, [r2, #4]
  812f9c:	9000		str	r0, [sp, #0]
  812f9e:	4668		mov	r0, sp
  812fa0:	7940		ldrb	r0, [r0, #5]
  812fa2:	2803		cmp	r0, #3
  812fa4:	d103		bne	0x812fae
  812fa6:	9800		ldr	r0, [sp, #0]
  812fa8:	382c		sub	r0, #44	; 0x2c
  812faa:	f000 fdbb	bl	0x813b24	; $l1dmacro_adc_read_tx
  812fae:	4888		ldr	r0, =0x83c0a4	; via 0x8131d0
  812fb0:	6802		ldr	r2, [r0, #0]
  812fb2:	1c91		add	r1, r2, #2
  812fb4:	6001		str	r1, [r0, #0]
  812fb6:	2001		mov	r0, #1
  812fb8:	0340		lsl	r0, r0, #13
  812fba:	9900		ldr	r1, [sp, #0]
  812fbc:	3904		sub	r1, #4
  812fbe:	4308		orr	r0, r1
  812fc0:	8010		strh	r0, [r2, #0]
  812fc2:	4983		ldr	r1, =0x83c0a4	; via 0x8131d0
  812fc4:	6808		ldr	r0, [r1, #0]
  812fc6:	1c82		add	r2, r0, #2
  812fc8:	600a		str	r2, [r1, #0]
  812fca:	49f8		ldr	r1, =0x9004	; via 0x8133ac
  812fcc:	8001		strh	r1, [r0, #0]
  812fce:	4980		ldr	r1, =0x83c0a4	; via 0x8131d0
  812fd0:	6808		ldr	r0, [r1, #0]
  812fd2:	1c82		add	r2, r0, #2
  812fd4:	600a		str	r2, [r1, #0]
  812fd6:	4917		ldr	r1, =0x80c0	; via 0x813034
  812fd8:	8001		strh	r1, [r0, #0]
  812fda:	497d		ldr	r1, =0x83c0a4	; via 0x8131d0
  812fdc:	6808		ldr	r0, [r1, #0]
  812fde:	1c82		add	r2, r0, #2
  812fe0:	600a		str	r2, [r1, #0]
  812fe2:	4990		ldr	r1, =0x8041	; via 0x813224
  812fe4:	8001		strh	r1, [r0, #0]
  812fe6:	487a		ldr	r0, =0x83c0a4	; via 0x8131d0
  812fe8:	6802		ldr	r2, [r0, #0]
  812fea:	1c91		add	r1, r2, #2
  812fec:	6001		str	r1, [r0, #0]
  812fee:	2001		mov	r0, #1
  812ff0:	0341		lsl	r1, r0, #13
  812ff2:	9800		ldr	r0, [sp, #0]
  812ff4:	300d		add	r0, #13	; 0xd
  812ff6:	4301		orr	r1, r0
  812ff8:	8011		strh	r1, [r2, #0]
  812ffa:	4875		ldr	r0, =0x83c0a4	; via 0x8131d0
  812ffc:	6801		ldr	r1, [r0, #0]
  812ffe:	1c8a		add	r2, r1, #2
  813000:	6002		str	r2, [r0, #0]
  813002:	2014		mov	r0, #20	; 0x14
  813004:	4ac3		ldr	r2, =0x83c0a1	; via 0x813314
  813006:	7812		ldrb	r2, [r2, #0]
  813008:	4350		mul	r0, r2
  81300a:	4ae7		ldr	r2, =0x83c04d	; via 0x8133a8
  81300c:	5c12		ldrb	r2, [r2, r0]
  81300e:	2021		mov	r0, #33	; 0x21
  813010:	4310		orr	r0, r2
  813012:	0142		lsl	r2, r0, #5
  813014:	4817		ldr	r0, =0x8006	; via 0x813074
  813016:	4310		orr	r0, r2
  813018:	8008		strh	r0, [r1, #0]
  81301a:	486d		ldr	r0, =0x83c0a4	; via 0x8131d0
  81301c:	6802		ldr	r2, [r0, #0]
  81301e:	1c91		add	r1, r2, #2
  813020:	6001		str	r1, [r0, #0]
  813022:	2001		mov	r0, #1
  813024:	0341		lsl	r1, r0, #13
  813026:	9800		ldr	r0, [sp, #0]
  813028:	3016		add	r0, #22	; 0x16
  81302a:	4301		orr	r1, r0
  81302c:	8011		strh	r1, [r2, #0]
  81302e:	4868		ldr	r0, =0x83c0a4	; via 0x8131d0
  813030:	6802		ldr	r2, [r0, #0]
  813032:	e001		b	0x813038

  813034:	000080c0

  813038:	1c91		add	r1, r2, #2
  81303a:	6001		str	r1, [r0, #0]
  81303c:	2014		mov	r0, #20	; 0x14
  81303e:	49b5		ldr	r1, =0x83c0a1	; via 0x813314
  813040:	7809		ldrb	r1, [r1, #0]
  813042:	4348		mul	r0, r1
  813044:	49d8		ldr	r1, =0x83c04d	; via 0x8133a8
  813046:	5c09		ldrb	r1, [r1, r0]
  813048:	2001		mov	r0, #1
  81304a:	4308		orr	r0, r1
  81304c:	0141		lsl	r1, r0, #5
  81304e:	4809		ldr	r0, =0x8006	; via 0x813074
  813050:	4308		orr	r0, r1
  813052:	8010		strh	r0, [r2, #0]
  813054:	495e		ldr	r1, =0x83c0a4	; via 0x8131d0
  813056:	6808		ldr	r0, [r1, #0]
  813058:	1c82		add	r2, r0, #2
  81305a:	600a		str	r2, [r1, #0]
  81305c:	49d7		ldr	r1, =0x8304	; via 0x8133bc
  81305e:	8001		strh	r1, [r0, #0]
  813060:	495b		ldr	r1, =0x83c0a4	; via 0x8131d0
  813062:	6808		ldr	r0, [r1, #0]
  813064:	1c82		add	r2, r0, #2
  813066:	600a		str	r2, [r1, #0]
  813068:	49d1		ldr	r1, =0x88e0	; via 0x8133b0
  81306a:	8001		strh	r1, [r0, #0]
  81306c:	4958		ldr	r1, =0x83c0a4	; via 0x8131d0
  81306e:	6808		ldr	r0, [r1, #0]
  813070:	e002		b	0x813078
  813072:	46c0		nop			(mov r8, r8)

  813074:	00008006

  813078:	1c82		add	r2, r0, #2
  81307a:	600a		str	r2, [r1, #0]
  81307c:	4969		ldr	r1, =0x8041	; via 0x813224
  81307e:	8001		strh	r1, [r0, #0]
  813080:	4853		ldr	r0, =0x83c0a4	; via 0x8131d0
  813082:	6802		ldr	r2, [r0, #0]
  813084:	1c91		add	r1, r2, #2
  813086:	6001		str	r1, [r0, #0]
  813088:	2001		mov	r0, #1
  81308a:	0341		lsl	r1, r0, #13
  81308c:	9800		ldr	r0, [sp, #0]
  81308e:	301d		add	r0, #29	; 0x1d
  813090:	4301		orr	r1, r0
  813092:	8011		strh	r1, [r2, #0]
  813094:	494e		ldr	r1, =0x83c0a4	; via 0x8131d0
  813096:	6808		ldr	r0, [r1, #0]
  813098:	1c82		add	r2, r0, #2
  81309a:	600a		str	r2, [r1, #0]
  81309c:	4923		ldr	r1, =0x8004	; via 0x81312c
  81309e:	8001		strh	r1, [r0, #0]
  8130a0:	494b		ldr	r1, =0x83c0a4	; via 0x8131d0
  8130a2:	6808		ldr	r0, [r1, #0]
  8130a4:	1c82		add	r2, r0, #2
  8130a6:	600a		str	r2, [r1, #0]
  8130a8:	49c2		ldr	r1, =0x80c0	; via 0x8133b4
  8130aa:	8001		strh	r1, [r0, #0]
  8130ac:	4948		ldr	r1, =0x83c0a4	; via 0x8131d0
  8130ae:	6808		ldr	r0, [r1, #0]
  8130b0:	1c82		add	r2, r0, #2
  8130b2:	600a		str	r2, [r1, #0]
  8130b4:	495b		ldr	r1, =0x8041	; via 0x813224
  8130b6:	8001		strh	r1, [r0, #0]
  8130b8:	4845		ldr	r0, =0x83c0a4	; via 0x8131d0
  8130ba:	6802		ldr	r2, [r0, #0]
  8130bc:	1c91		add	r1, r2, #2
  8130be:	6001		str	r1, [r0, #0]
  8130c0:	2014		mov	r0, #20	; 0x14
  8130c2:	4994		ldr	r1, =0x83c0a1	; via 0x813314
  8130c4:	7809		ldrb	r1, [r1, #0]
  8130c6:	4348		mul	r0, r1
  8130c8:	49b7		ldr	r1, =0x83c04d	; via 0x8133a8
  8130ca:	5c08		ldrb	r0, [r1, r0]
  8130cc:	2109		mov	r1, #9
  8130ce:	4301		orr	r1, r0
  8130d0:	0148		lsl	r0, r1, #5
  8130d2:	49b9		ldr	r1, =0x8006	; via 0x8133b8
  8130d4:	4301		orr	r1, r0
  8130d6:	8011		strh	r1, [r2, #0]
  8130d8:	b002		add	sp, #8
  8130da:	bd00		pop	{pc}

$l1dmacro_rx_nb:
  8130e0:	b500		push	{lr}
  8130e2:	b081		sub	sp, #4
  8130e4:	4669		mov	r1, sp
  8130e6:	8008		strh	r0, [r1, #0]
  8130e8:	f7ff fd36	bl	0x812b58	; $l1dmacro_rx_up
  8130ec:	20b1		mov	r0, #177	; 0xb1
  8130ee:	0080		lsl	r0, r0, #2
  8130f0:	f7ff fdfc	bl	0x812cec	; $l1dmacro_rx_down
  8130f4:	b001		add	sp, #4
  8130f6:	bd00		pop	{pc}

$l1dmacro_rx_sb:
  8130f8:	b500		push	{lr}
  8130fa:	b081		sub	sp, #4
  8130fc:	4669		mov	r1, sp
  8130fe:	8008		strh	r0, [r1, #0]
  813100:	f7ff fd2a	bl	0x812b58	; $l1dmacro_rx_up
  813104:	20d9		mov	r0, #217	; 0xd9
  813106:	0080		lsl	r0, r0, #2
  813108:	f7ff fdf0	bl	0x812cec	; $l1dmacro_rx_down
  81310c:	b001		add	sp, #4
  81310e:	bd00		pop	{pc}

$l1dmacro_rx_ms:
  813110:	b500		push	{lr}
  813112:	b081		sub	sp, #4
  813114:	4669		mov	r1, sp
  813116:	8008		strh	r0, [r1, #0]
  813118:	f7ff fd1e	bl	0x812b58	; $l1dmacro_rx_up
  81311c:	20ff		mov	r0, #255	; 0xff
  81311e:	3069		add	r0, #105	; 0x69
  813120:	f7ff fde4	bl	0x812cec	; $l1dmacro_rx_down
  813124:	b001		add	sp, #4
  813126:	bd00		pop	{pc}

$l1dmacro_rx_fb:
  81313c:	b500		push	{lr}
  81313e:	b081		sub	sp, #4
  813140:	4669		mov	r1, sp
  813142:	8008		strh	r0, [r1, #0]
  813144:	f7ff fd08	bl	0x812b58	; $l1dmacro_rx_up
  813148:	4821		ldr	r0, =0x83c0a4	; via 0x8131d0
  81314a:	6801		ldr	r1, [r0, #0]
  81314c:	1c8a		add	r2, r1, #2
  81314e:	6002		str	r2, [r0, #0]
  813150:	2001		mov	r0, #1
  813152:	0340		lsl	r0, r0, #13
  813154:	8008		strh	r0, [r1, #0]
  813156:	491e		ldr	r1, =0x83c0a4	; via 0x8131d0
  813158:	6808		ldr	r0, [r1, #0]
  81315a:	1c82		add	r2, r0, #2
  81315c:	600a		str	r2, [r1, #0]
  81315e:	2101		mov	r1, #1
  813160:	0349		lsl	r1, r1, #13
  813162:	8001		strh	r1, [r0, #0]
  813164:	481a		ldr	r0, =0x83c0a4	; via 0x8131d0
  813166:	6801		ldr	r1, [r0, #0]
  813168:	1c8a		add	r2, r1, #2
  81316a:	6002		str	r2, [r0, #0]
  81316c:	2001		mov	r0, #1
  81316e:	0340		lsl	r0, r0, #13
  813170:	8008		strh	r0, [r1, #0]
  813172:	4917		ldr	r1, =0x83c0a4	; via 0x8131d0
  813174:	6808		ldr	r0, [r1, #0]
  813176:	1c82		add	r2, r0, #2
  813178:	600a		str	r2, [r1, #0]
  81317a:	2101		mov	r1, #1
  81317c:	0349		lsl	r1, r1, #13
  81317e:	8001		strh	r1, [r0, #0]
  813180:	4913		ldr	r1, =0x83c0a4	; via 0x8131d0
  813182:	6808		ldr	r0, [r1, #0]
  813184:	1c82		add	r2, r0, #2
  813186:	600a		str	r2, [r1, #0]
  813188:	2101		mov	r1, #1
  81318a:	0349		lsl	r1, r1, #13
  81318c:	8001		strh	r1, [r0, #0]
  81318e:	4910		ldr	r1, =0x83c0a4	; via 0x8131d0
  813190:	6808		ldr	r0, [r1, #0]
  813192:	1c82		add	r2, r0, #2
  813194:	600a		str	r2, [r1, #0]
  813196:	2101		mov	r1, #1
  813198:	0349		lsl	r1, r1, #13
  81319a:	8001		strh	r1, [r0, #0]
  81319c:	490c		ldr	r1, =0x83c0a4	; via 0x8131d0
  81319e:	6808		ldr	r0, [r1, #0]
  8131a0:	1c82		add	r2, r0, #2
  8131a2:	600a		str	r2, [r1, #0]
  8131a4:	2101		mov	r1, #1
  8131a6:	0349		lsl	r1, r1, #13
  8131a8:	8001		strh	r1, [r0, #0]
  8131aa:	4809		ldr	r0, =0x83c0a4	; via 0x8131d0
  8131ac:	6801		ldr	r1, [r0, #0]
  8131ae:	1c8a		add	r2, r1, #2
  8131b0:	6002		str	r2, [r0, #0]
  8131b2:	2001		mov	r0, #1
  8131b4:	0340		lsl	r0, r0, #13
  8131b6:	8008		strh	r0, [r1, #0]
  8131b8:	4805		ldr	r0, =0x83c0a4	; via 0x8131d0
  8131ba:	6801		ldr	r1, [r0, #0]
  8131bc:	1c8a		add	r2, r1, #2
  8131be:	6002		str	r2, [r0, #0]
  8131c0:	2001		mov	r0, #1
  8131c2:	0340		lsl	r0, r0, #13
  8131c4:	8008		strh	r0, [r1, #0]
  8131c6:	49f5		ldr	r1, =0x83c0a4	; via 0x81359c
  8131c8:	6808		ldr	r0, [r1, #0]
  8131ca:	1c82		add	r2, r0, #2
  8131cc:	600a		str	r2, [r1, #0]
  8131ce:	e001		b	0x8131d4

  8131d0:	0083c0a4

  8131d4:	2101		mov	r1, #1
  8131d6:	0349		lsl	r1, r1, #13
  8131d8:	8001		strh	r1, [r0, #0]
  8131da:	48f0		ldr	r0, =0x83c0a4	; via 0x81359c
  8131dc:	6801		ldr	r1, [r0, #0]
  8131de:	1c8a		add	r2, r1, #2
  8131e0:	6002		str	r2, [r0, #0]
  8131e2:	2001		mov	r0, #1
  8131e4:	0340		lsl	r0, r0, #13
  8131e6:	8008		strh	r0, [r1, #0]
  8131e8:	2085		mov	r0, #133	; 0x85
  8131ea:	0100		lsl	r0, r0, #4
  8131ec:	f7ff fd7e	bl	0x812cec	; $l1dmacro_rx_down
  8131f0:	b001		add	sp, #4
  8131f2:	bd00		pop	{pc}

$l1dmacro_rx_fb26:
  8131f8:	b500		push	{lr}
  8131fa:	b081		sub	sp, #4
  8131fc:	4669		mov	r1, sp
  8131fe:	8008		strh	r0, [r1, #0]
  813200:	f7ff fcaa	bl	0x812b58	; $l1dmacro_rx_up
  813204:	48e5		ldr	r0, =0x83c0a4	; via 0x81359c
  813206:	6801		ldr	r1, [r0, #0]
  813208:	1c8a		add	r2, r1, #2
  81320a:	6002		str	r2, [r0, #0]
  81320c:	2001		mov	r0, #1
  81320e:	0340		lsl	r0, r0, #13
  813210:	8008		strh	r0, [r1, #0]
  813212:	201b		mov	r0, #27	; 0x1b
  813214:	0140		lsl	r0, r0, #5
  813216:	f7ff fd69	bl	0x812cec	; $l1dmacro_rx_down
  81321a:	b001		add	sp, #4
  81321c:	bd00		pop	{pc}
  81321e:	46c0		nop			(mov r8, r8)

$l1dmacro_tx_nb:
  813228:	b500		push	{lr}
  81322a:	b081		sub	sp, #4
  81322c:	466b		mov	r3, sp
  81322e:	70da		strb	r2, [r3, #3]
  813230:	466a		mov	r2, sp
  813232:	7091		strb	r1, [r2, #2]
  813234:	4669		mov	r1, sp
  813236:	8008		strh	r0, [r1, #0]
  813238:	f7ff fdda	bl	0x812df0	; $l1dmacro_tx_up
  81323c:	4960		ldr	r1, =0x83ce08	; via 0x8133c0
  81323e:	2000		mov	r0, #0
  813240:	5e08		ldrsh	r0, [r1, r0]
  813242:	2100		mov	r1, #0
  813244:	466a		mov	r2, sp
  813246:	78d2		ldrb	r2, [r2, #3]
  813248:	f7ff fea2	bl	0x812f90	; $l1dmacro_tx_down
  81324c:	b001		add	sp, #4
  81324e:	bd00		pop	{pc}

$l1dmacro_tx_ra:
  813254:	b500		push	{lr}
  813256:	b081		sub	sp, #4
  813258:	466b		mov	r3, sp
  81325a:	70da		strb	r2, [r3, #3]
  81325c:	466a		mov	r2, sp
  81325e:	7091		strb	r1, [r2, #2]
  813260:	4669		mov	r1, sp
  813262:	8008		strh	r0, [r1, #0]
  813264:	f7ff fdc4	bl	0x812df0	; $l1dmacro_tx_up
  813268:	4956		ldr	r1, =0x83ce0a	; via 0x8133c4
  81326a:	2000		mov	r0, #0
  81326c:	5e08		ldrsh	r0, [r1, r0]
  81326e:	2100		mov	r1, #0
  813270:	466a		mov	r2, sp
  813272:	78d2		ldrb	r2, [r2, #3]
  813274:	f7ff fe8c	bl	0x812f90	; $l1dmacro_tx_down
  813278:	b001		add	sp, #4
  81327a:	bd00		pop	{pc}

$l1dmacro_rx_cont:
  813280:	b500		push	{lr}
  813282:	b081		sub	sp, #4
  813284:	466a		mov	r2, sp
  813286:	7091		strb	r1, [r2, #2]
  813288:	4669		mov	r1, sp
  81328a:	8008		strh	r0, [r1, #0]
  81328c:	f7ff fc64	bl	0x812b58	; $l1dmacro_rx_up
  813290:	b001		add	sp, #4
  813292:	bd00		pop	{pc}

$l1dmacro_tx_cont:
  813298:	b500		push	{lr}
  81329a:	b081		sub	sp, #4
  81329c:	466a		mov	r2, sp
  81329e:	7091		strb	r1, [r2, #2]
  8132a0:	4669		mov	r1, sp
  8132a2:	8008		strh	r0, [r1, #0]
  8132a4:	f7ff fda4	bl	0x812df0	; $l1dmacro_tx_up
  8132a8:	b001		add	sp, #4
  8132aa:	bd00		pop	{pc}

$l1dmacro_reset_hw:
  8132e0:	b500		push	{lr}
  8132e2:	b081		sub	sp, #4
  8132e4:	9000		str	r0, [sp, #0]
  8132e6:	2001		mov	r0, #1
  8132e8:	f000 fade	bl	0x8138a8	; $TPU_Reset
  8132ec:	2000		mov	r0, #0
  8132ee:	f000 fadb	bl	0x8138a8	; $TPU_Reset
  8132f2:	49aa		ldr	r1, =0x83c0a4	; via 0x81359c
  8132f4:	48fb		ldr	r0, =0xffff9000	; via 0x8136e4
  8132f6:	6008		str	r0, [r1, #0]
  8132f8:	4aa8		ldr	r2, =0x83c0a4	; via 0x81359c
  8132fa:	6811		ldr	r1, [r2, #0]
  8132fc:	1c88		add	r0, r1, #2
  8132fe:	6010		str	r0, [r2, #0]
  813300:	2001		mov	r0, #1
  813302:	0380		lsl	r0, r0, #14
  813304:	9a00		ldr	r2, [sp, #0]
  813306:	4310		orr	r0, r2
  813308:	8008		strh	r0, [r1, #0]
  81330a:	b001		add	sp, #4
  81330c:	bd00		pop	{pc}
  81330e:	46c0		nop			(mov r8, r8)

$l1dmacro_init_hw:
  81375c:	b500		push	{lr}
  81375e:	b081		sub	sp, #4
  813760:	2064		mov	r0, #100	; 0x64
  813762:	9000		str	r0, [sp, #0]
  813764:	2001		mov	r0, #1
  813766:	f000 f941	bl	0x8139ec	; $TP_Reset
  81376a:	2001		mov	r0, #1
  81376c:	f000 f8f0	bl	0x813950	; $TPU_ClkEnable
  813770:	2000		mov	r0, #0
  813772:	f000 f93b	bl	0x8139ec	; $TP_Reset
  813776:	493f		ldr	r1, =0x83c0a4	; via 0x813874
  813778:	4845		ldr	r0, =0xffff9000	; via 0x813890
  81377a:	6008		str	r0, [r1, #0]
  81377c:	f000 f95e	bl	0x813a3c	; $l1dmacro_idle
  813780:	4947		ldr	r1, =0x1388	; via 0x8138a0
  813782:	9800		ldr	r0, [sp, #0]
  813784:	1808		add	r0, r1, r0
  813786:	f001 f8e9	bl	0x81495c	; I$MOD
  81378a:	2101		mov	r1, #1
  81378c:	0349		lsl	r1, r1, #13
  81378e:	4301		orr	r1, r0
  813790:	4838		ldr	r0, =0x83c0a4	; via 0x813874
  813792:	6802		ldr	r2, [r0, #0]
  813794:	1c93		add	r3, r2, #2
  813796:	6003		str	r3, [r0, #0]
  813798:	8011		strh	r1, [r2, #0]
  81379a:	4836		ldr	r0, =0x83c0a4	; via 0x813874
  81379c:	6801		ldr	r1, [r0, #0]
  81379e:	1c8a		add	r2, r1, #2
  8137a0:	6002		str	r2, [r0, #0]
  8137a2:	2003		mov	r0, #3
  8137a4:	0340		lsl	r0, r0, #13
  8137a6:	8008		strh	r0, [r1, #0]
  8137a8:	4832		ldr	r0, =0x83c0a4	; via 0x813874
  8137aa:	6801		ldr	r1, [r0, #0]
  8137ac:	1c8a		add	r2, r1, #2
  8137ae:	6002		str	r2, [r0, #0]
  8137b0:	4838		ldr	r0, =0x8409	; via 0x813894
  8137b2:	8008		strh	r0, [r1, #0]
  8137b4:	482f		ldr	r0, =0x83c0a4	; via 0x813874
  8137b6:	6801		ldr	r1, [r0, #0]
  8137b8:	1c8a		add	r2, r1, #2
  8137ba:	6002		str	r2, [r0, #0]
  8137bc:	4836		ldr	r0, =0x80ca	; via 0x813898
  8137be:	8008		strh	r0, [r1, #0]
  8137c0:	492c		ldr	r1, =0x83c0a4	; via 0x813874
  8137c2:	680a		ldr	r2, [r1, #0]
  8137c4:	1c90		add	r0, r2, #2
  8137c6:	6008		str	r0, [r1, #0]
  8137c8:	4834		ldr	r0, =0x800b	; via 0x81389c
  8137ca:	8010		strh	r0, [r2, #0]
  8137cc:	207d		mov	r0, #125	; 0x7d
  8137ce:	00c0		lsl	r0, r0, #3
  8137d0:	9000		str	r0, [sp, #0]
  8137d2:	9800		ldr	r0, [sp, #0]
  8137d4:	f7fe fcb8	bl	0x812148	; $rf_init
  8137d8:	9000		str	r0, [sp, #0]
  8137da:	4931		ldr	r1, =0x1388	; via 0x8138a0
  8137dc:	9800		ldr	r0, [sp, #0]
  8137de:	1808		add	r0, r1, r0
  8137e0:	f001 f8bc	bl	0x81495c	; I$MOD
  8137e4:	2101		mov	r1, #1
  8137e6:	034a		lsl	r2, r1, #13
  8137e8:	4302		orr	r2, r0
  8137ea:	4922		ldr	r1, =0x83c0a4	; via 0x813874
  8137ec:	6808		ldr	r0, [r1, #0]
  8137ee:	1c83		add	r3, r0, #2
  8137f0:	600b		str	r3, [r1, #0]
  8137f2:	8002		strh	r2, [r0, #0]
  8137f4:	f000 f922	bl	0x813a3c	; $l1dmacro_idle
  8137f8:	b001		add	sp, #4
  8137fa:	bd00		pop	{pc}

  8137fc:	00008008

$l1dmacro_init_hw_light:
  813800:	b500		push	{lr}
  813802:	b081		sub	sp, #4
  813804:	2064		mov	r0, #100	; 0x64
  813806:	9000		str	r0, [sp, #0]
  813808:	491a		ldr	r1, =0x83c0a4	; via 0x813874
  81380a:	4821		ldr	r0, =0xffff9000	; via 0x813890
  81380c:	6008		str	r0, [r1, #0]
  81380e:	4825		ldr	r0, =0x1388	; via 0x8138a4
  813810:	9900		ldr	r1, [sp, #0]
  813812:	1840		add	r0, r0, r1
  813814:	4923		ldr	r1, =0x1388	; via 0x8138a4
  813816:	f000 fa61	bl	0x813cdc
  81381a:	2101		mov	r1, #1
  81381c:	0349		lsl	r1, r1, #13
  81381e:	4301		orr	r1, r0
  813820:	4814		ldr	r0, =0x83c0a4	; via 0x813874
  813822:	6802		ldr	r2, [r0, #0]
  813824:	1c93		add	r3, r2, #2
  813826:	6003		str	r3, [r0, #0]
  813828:	8011		strh	r1, [r2, #0]
  81382a:	207d		mov	r0, #125	; 0x7d
  81382c:	00c0		lsl	r0, r0, #3
  81382e:	9000		str	r0, [sp, #0]
  813830:	9800		ldr	r0, [sp, #0]
  813832:	f7fe fc89	bl	0x812148	; $rf_init
  813836:	9000		str	r0, [sp, #0]
  813838:	491a		ldr	r1, =0x1388	; via 0x8138a4
  81383a:	9800		ldr	r0, [sp, #0]
  81383c:	1808		add	r0, r1, r0
  81383e:	f000 fa4d	bl	0x813cdc
  813842:	2101		mov	r1, #1
  813844:	034a		lsl	r2, r1, #13
  813846:	4302		orr	r2, r0
  813848:	490a		ldr	r1, =0x83c0a4	; via 0x813874
  81384a:	6808		ldr	r0, [r1, #0]
  81384c:	1c83		add	r3, r0, #2
  81384e:	600b		str	r3, [r1, #0]
  813850:	8002		strh	r2, [r0, #0]
  813852:	f000 f8f3	bl	0x813a3c
  813856:	b001		add	sp, #4
  813858:	bd00		pop	{pc}
  81385a:	46c0		nop			(mov r8, r8)
; end of tpudrv10 module

; tpudrv (RF-independent) module

$TPU_Reset:
  8138a8:	b081		sub	sp, #4
  8138aa:	4669		mov	r1, sp
  8138ac:	8008		strh	r0, [r1, #0]
  8138ae:	4668		mov	r0, sp
  8138b0:	8800		ldrh	r0, [r0, #0]
  8138b2:	2800		cmp	r0, #0
  8138b4:	d009		beq	0x8138ca
  8138b6:	49b6		ldr	r1, =0xffff1000	; via 0x813b90
  8138b8:	2001		mov	r0, #1
  8138ba:	880a		ldrh	r2, [r1, #0]
  8138bc:	4310		orr	r0, r2
  8138be:	8008		strh	r0, [r1, #0]
  8138c0:	48b3		ldr	r0, =0xffff1000	; via 0x813b90
  8138c2:	8800		ldrh	r0, [r0, #0]
  8138c4:	0840		lsr	r0, r0, #1
  8138c6:	d3fb		bcc	0x8138c0
  8138c8:	e008		b	0x8138dc
  8138ca:	48b1		ldr	r0, =0xffff1000	; via 0x813b90
  8138cc:	8801		ldrh	r1, [r0, #0]
  8138ce:	0849		lsr	r1, r1, #1
  8138d0:	0049		lsl	r1, r1, #1
  8138d2:	8001		strh	r1, [r0, #0]
  8138d4:	48ae		ldr	r0, =0xffff1000	; via 0x813b90
  8138d6:	8800		ldrh	r0, [r0, #0]
  8138d8:	0840		lsr	r0, r0, #1
  8138da:	d2fb		bcs	0x8138d4
  8138dc:	b001		add	sp, #4
  8138de:	4770		bx	lr

$TSP_Reset:
  8138e0:	b081		sub	sp, #4
  8138e2:	4669		mov	r1, sp
  8138e4:	8008		strh	r0, [r1, #0]
  8138e6:	4668		mov	r0, sp
  8138e8:	8800		ldrh	r0, [r0, #0]
  8138ea:	2800		cmp	r0, #0
  8138ec:	d009		beq	0x813902
  8138ee:	49a8		ldr	r1, =0xffff1000	; via 0x813b90
  8138f0:	2080		mov	r0, #128	; 0x80
  8138f2:	880a		ldrh	r2, [r1, #0]
  8138f4:	4310		orr	r0, r2
  8138f6:	8008		strh	r0, [r1, #0]
  8138f8:	48a5		ldr	r0, =0xffff1000	; via 0x813b90
  8138fa:	8800		ldrh	r0, [r0, #0]
  8138fc:	0a00		lsr	r0, r0, #8
  8138fe:	d3fb		bcc	0x8138f8
  813900:	e008		b	0x813914
  813902:	49a3		ldr	r1, =0xffff1000	; via 0x813b90
  813904:	8808		ldrh	r0, [r1, #0]
  813906:	2280		mov	r2, #128	; 0x80
  813908:	4390		bic	r0, r2
  81390a:	8008		strh	r0, [r1, #0]
  81390c:	48a0		ldr	r0, =0xffff1000	; via 0x813b90
  81390e:	8800		ldrh	r0, [r0, #0]
  813910:	0a00		lsr	r0, r0, #8
  813912:	d2fb		bcs	0x81390c
  813914:	b001		add	sp, #4
  813916:	4770		bx	lr

$TPU_SPIReset:
  813918:	b081		sub	sp, #4
  81391a:	4669		mov	r1, sp
  81391c:	8008		strh	r0, [r1, #0]
  81391e:	4668		mov	r0, sp
  813920:	8800		ldrh	r0, [r0, #0]
  813922:	2800		cmp	r0, #0
  813924:	d009		beq	0x81393a
  813926:	499a		ldr	r1, =0xffff1000	; via 0x813b90
  813928:	2080		mov	r0, #128	; 0x80
  81392a:	880a		ldrh	r2, [r1, #0]
  81392c:	4310		orr	r0, r2
  81392e:	8008		strh	r0, [r1, #0]
  813930:	4897		ldr	r0, =0xffff1000	; via 0x813b90
  813932:	8800		ldrh	r0, [r0, #0]
  813934:	0a00		lsr	r0, r0, #8
  813936:	d3fb		bcc	0x813930
  813938:	e008		b	0x81394c
  81393a:	4995		ldr	r1, =0xffff1000	; via 0x813b90
  81393c:	8808		ldrh	r0, [r1, #0]
  81393e:	2280		mov	r2, #128	; 0x80
  813940:	4390		bic	r0, r2
  813942:	8008		strh	r0, [r1, #0]
  813944:	4892		ldr	r0, =0xffff1000	; via 0x813b90
  813946:	8800		ldrh	r0, [r0, #0]
  813948:	0a00		lsr	r0, r0, #8
  81394a:	d2fb		bcs	0x813944
  81394c:	b001		add	sp, #4
  81394e:	4770		bx	lr

$TPU_ClkEnable:
  813950:	b081		sub	sp, #4
  813952:	4669		mov	r1, sp
  813954:	8008		strh	r0, [r1, #0]
  813956:	4668		mov	r0, sp
  813958:	8800		ldrh	r0, [r0, #0]
  81395a:	2800		cmp	r0, #0
  81395c:	d00a		beq	0x813974
  81395e:	498c		ldr	r1, =0xffff1000	; via 0x813b90
  813960:	2001		mov	r0, #1
  813962:	0280		lsl	r0, r0, #10
  813964:	880a		ldrh	r2, [r1, #0]
  813966:	4310		orr	r0, r2
  813968:	8008		strh	r0, [r1, #0]
  81396a:	4889		ldr	r0, =0xffff1000	; via 0x813b90
  81396c:	8800		ldrh	r0, [r0, #0]
  81396e:	0ac0		lsr	r0, r0, #11
  813970:	d3fb		bcc	0x81396a
  813972:	e009		b	0x813988
  813974:	4986		ldr	r1, =0xffff1000	; via 0x813b90
  813976:	8808		ldrh	r0, [r1, #0]
  813978:	2201		mov	r2, #1
  81397a:	0292		lsl	r2, r2, #10
  81397c:	4390		bic	r0, r2
  81397e:	8008		strh	r0, [r1, #0]
  813980:	4883		ldr	r0, =0xffff1000	; via 0x813b90
  813982:	8800		ldrh	r0, [r0, #0]
  813984:	0ac0		lsr	r0, r0, #11
  813986:	d2fb		bcs	0x813980
  813988:	b001		add	sp, #4
  81398a:	4770		bx	lr

$TPU_FrameItOn:
  81398c:	b081		sub	sp, #4
  81398e:	4669		mov	r1, sp
  813990:	8008		strh	r0, [r1, #0]
  813992:	4980		ldr	r1, =0xffff1002	; via 0x813b94
  813994:	8808		ldrh	r0, [r1, #0]
  813996:	466a		mov	r2, sp
  813998:	8812		ldrh	r2, [r2, #0]
  81399a:	4390		bic	r0, r2
  81399c:	8008		strh	r0, [r1, #0]
  81399e:	b001		add	sp, #4
  8139a0:	4770		bx	lr

$TPU_FrameItEnable:
  8139a2:	497b		ldr	r1, =0xffff1000	; via 0x813b90
  8139a4:	2010		mov	r0, #16	; 0x10
  8139a6:	880a		ldrh	r2, [r1, #0]
  8139a8:	4310		orr	r0, r2
  8139aa:	8008		strh	r0, [r1, #0]
  8139ac:	4878		ldr	r0, =0xffff1000	; via 0x813b90
  8139ae:	8800		ldrh	r0, [r0, #0]
  8139b0:	0940		lsr	r0, r0, #5
  8139b2:	d3fb		bcc	0x8139ac
  8139b4:	4770		bx	lr

$TPU_DisableAllIt:
  8139b6:	4977		ldr	r1, =0xffff1002	; via 0x813b94
  8139b8:	2007		mov	r0, #7
  8139ba:	880a		ldrh	r2, [r1, #0]
  8139bc:	4310		orr	r0, r2
  8139be:	8008		strh	r0, [r1, #0]
  8139c0:	4770		bx	lr

$TP_Program:
  8139c2:	b081		sub	sp, #4
  8139c4:	9000		str	r0, [sp, #0]
  8139c6:	9800		ldr	r0, [sp, #0]
  8139c8:	8800		ldrh	r0, [r0, #0]
  8139ca:	2800		cmp	r0, #0
  8139cc:	d00c		beq	0x8139e8
  8139ce:	4872		ldr	r0, =0x83c0a4	; via 0x813b98
  8139d0:	6801		ldr	r1, [r0, #0]
  8139d2:	1c8a		add	r2, r1, #2
  8139d4:	6002		str	r2, [r0, #0]
  8139d6:	9800		ldr	r0, [sp, #0]
  8139d8:	8802		ldrh	r2, [r0, #0]
  8139da:	3002		add	r0, #2
  8139dc:	9000		str	r0, [sp, #0]
  8139de:	800a		strh	r2, [r1, #0]
  8139e0:	9800		ldr	r0, [sp, #0]
  8139e2:	8800		ldrh	r0, [r0, #0]
  8139e4:	2800		cmp	r0, #0
  8139e6:	d1f2		bne	0x8139ce
  8139e8:	b001		add	sp, #4
  8139ea:	4770		bx	lr

$TP_Reset:
  8139ec:	b081		sub	sp, #4
  8139ee:	4669		mov	r1, sp
  8139f0:	8008		strh	r0, [r1, #0]
  8139f2:	4668		mov	r0, sp
  8139f4:	8800		ldrh	r0, [r0, #0]
  8139f6:	2800		cmp	r0, #0
  8139f8:	d005		beq	0x813a06
  8139fa:	4a65		ldr	r2, =0xffff1000	; via 0x813b90
  8139fc:	2081		mov	r0, #129	; 0x81
  8139fe:	8811		ldrh	r1, [r2, #0]
  813a00:	4308		orr	r0, r1
  813a02:	8010		strh	r0, [r2, #0]
  813a04:	e004		b	0x813a10
  813a06:	4962		ldr	r1, =0xffff1000	; via 0x813b90
  813a08:	8808		ldrh	r0, [r1, #0]
  813a0a:	2281		mov	r2, #129	; 0x81
  813a0c:	4390		bic	r0, r2
  813a0e:	8008		strh	r0, [r1, #0]
  813a10:	b001		add	sp, #4
  813a12:	4770		bx	lr

$TP_Enable:
  813a14:	b081		sub	sp, #4
  813a16:	4669		mov	r1, sp
  813a18:	8008		strh	r0, [r1, #0]
  813a1a:	4668		mov	r0, sp
  813a1c:	8800		ldrh	r0, [r0, #0]
  813a1e:	2800		cmp	r0, #0
  813a20:	d005		beq	0x813a2e
  813a22:	4a5b		ldr	r2, =0xffff1000	; via 0x813b90
  813a24:	2004		mov	r0, #4
  813a26:	8811		ldrh	r1, [r2, #0]
  813a28:	4308		orr	r0, r1
  813a2a:	8010		strh	r0, [r2, #0]
  813a2c:	e004		b	0x813a38
  813a2e:	4958		ldr	r1, =0xffff1000	; via 0x813b90
  813a30:	8808		ldrh	r0, [r1, #0]
  813a32:	2204		mov	r2, #4
  813a34:	4390		bic	r0, r2
  813a36:	8008		strh	r0, [r1, #0]
  813a38:	b001		add	sp, #4
  813a3a:	4770		bx	lr

$l1dmacro_idle:
  813a3c:	b500		push	{lr}
  813a3e:	4956		ldr	r1, =0x83c0a4	; via 0x813b98
  813a40:	6808		ldr	r0, [r1, #0]
  813a42:	1c82		add	r2, r0, #2
  813a44:	600a		str	r2, [r1, #0]
  813a46:	2100		mov	r1, #0
  813a48:	8001		strh	r1, [r0, #0]
  813a4a:	4853		ldr	r0, =0x83c0a4	; via 0x813b98
  813a4c:	4953		ldr	r1, =0xffff9000	; via 0x813b9c
  813a4e:	6001		str	r1, [r0, #0]
  813a50:	2001		mov	r0, #1
  813a52:	f7ff ffdf	bl	0x813a14	; $TP_Enable
  813a56:	4852		ldr	r0, =0xbb8	; via 0x813ba0
  813a58:	f02b fb04	bl	0x83f064	; $convert_nanosec_to_cycles
  813a5c:	f02b f9d2	bl	0x83ee04	; $wait_ARM_cycles
  813a60:	bd00		pop	{pc}

$l1dmacro_offset:
  813a62:	b082		sub	sp, #8
  813a64:	9101		str	r1, [sp, #4]
  813a66:	9000		str	r0, [sp, #0]
  813a68:	9901		ldr	r1, [sp, #4]
  813a6a:	484e		ldr	r0, =0x1388	; via 0x813ba4
  813a6c:	4281		cmp	r1, r0
  813a6e:	d008		beq	0x813a82
  813a70:	4849		ldr	r0, =0x83c0a4	; via 0x813b98
  813a72:	6801		ldr	r1, [r0, #0]
  813a74:	1c8a		add	r2, r1, #2
  813a76:	6002		str	r2, [r0, #0]
  813a78:	2001		mov	r0, #1
  813a7a:	0340		lsl	r0, r0, #13
  813a7c:	9a01		ldr	r2, [sp, #4]
  813a7e:	4310		orr	r0, r2
  813a80:	8008		strh	r0, [r1, #0]
  813a82:	4845		ldr	r0, =0x83c0a4	; via 0x813b98
  813a84:	6801		ldr	r1, [r0, #0]
  813a86:	1c8a		add	r2, r1, #2
  813a88:	6002		str	r2, [r0, #0]
  813a8a:	2001		mov	r0, #1
  813a8c:	0380		lsl	r0, r0, #14
  813a8e:	9a00		ldr	r2, [sp, #0]
  813a90:	4310		orr	r0, r2
  813a92:	8008		strh	r0, [r1, #0]
  813a94:	b002		add	sp, #8
  813a96:	4770		bx	lr

$l1dmacro_synchro:
  813a98:	b082		sub	sp, #8
  813a9a:	9101		str	r1, [sp, #4]
  813a9c:	9000		str	r0, [sp, #0]
  813a9e:	9901		ldr	r1, [sp, #4]
  813aa0:	4841		ldr	r0, =0x1388	; via 0x813ba8
  813aa2:	4281		cmp	r1, r0
  813aa4:	d008		beq	0x813ab8
  813aa6:	483c		ldr	r0, =0x83c0a4	; via 0x813b98
  813aa8:	6801		ldr	r1, [r0, #0]
  813aaa:	1c8a		add	r2, r1, #2
  813aac:	6002		str	r2, [r0, #0]
  813aae:	2001		mov	r0, #1
  813ab0:	0340		lsl	r0, r0, #13
  813ab2:	9a00		ldr	r2, [sp, #0]
  813ab4:	4310		orr	r0, r2
  813ab6:	8008		strh	r0, [r1, #0]
  813ab8:	4837		ldr	r0, =0x83c0a4	; via 0x813b98
  813aba:	6801		ldr	r1, [r0, #0]
  813abc:	1c8a		add	r2, r1, #2
  813abe:	6002		str	r2, [r0, #0]
  813ac0:	2003		mov	r0, #3
  813ac2:	0340		lsl	r0, r0, #13
  813ac4:	9a01		ldr	r2, [sp, #4]
  813ac6:	4310		orr	r0, r2
  813ac8:	8008		strh	r0, [r1, #0]
  813aca:	b002		add	sp, #8
  813acc:	4770		bx	lr

$l1dmacro_adc_read_rx:
  813ace:	4932		ldr	r1, =0x83c0a4	; via 0x813b98
  813ad0:	6808		ldr	r0, [r1, #0]
  813ad2:	1c82		add	r2, r0, #2
  813ad4:	600a		str	r2, [r1, #0]
  813ad6:	4935		ldr	r1, =0xa005	; via 0x813bac
  813ad8:	8001		strh	r1, [r0, #0]
  813ada:	482f		ldr	r0, =0x83c0a4	; via 0x813b98
  813adc:	6801		ldr	r1, [r0, #0]
  813ade:	1c8a		add	r2, r1, #2
  813ae0:	6002		str	r2, [r0, #0]
  813ae2:	4833		ldr	r0, =0x80c0	; via 0x813bb0
  813ae4:	8008		strh	r0, [r1, #0]
  813ae6:	482c		ldr	r0, =0x83c0a4	; via 0x813b98
  813ae8:	6801		ldr	r1, [r0, #0]
  813aea:	1c8a		add	r2, r1, #2
  813aec:	6002		str	r2, [r0, #0]
  813aee:	4831		ldr	r0, =0x8044	; via 0x813bb4
  813af0:	8008		strh	r0, [r1, #0]
  813af2:	4829		ldr	r0, =0x83c0a4	; via 0x813b98
  813af4:	6801		ldr	r1, [r0, #0]
  813af6:	1c8a		add	r2, r1, #2
  813af8:	6002		str	r2, [r0, #0]
  813afa:	482f		ldr	r0, =0x8041	; via 0x813bb8
  813afc:	8008		strh	r0, [r1, #0]
  813afe:	4926		ldr	r1, =0x83c0a4	; via 0x813b98
  813b00:	6808		ldr	r0, [r1, #0]
  813b02:	1c82		add	r2, r0, #2
  813b04:	600a		str	r2, [r1, #0]
  813b06:	4929		ldr	r1, =0xa005	; via 0x813bac
  813b08:	8001		strh	r1, [r0, #0]
  813b0a:	4823		ldr	r0, =0x83c0a4	; via 0x813b98
  813b0c:	6801		ldr	r1, [r0, #0]
  813b0e:	1c8a		add	r2, r1, #2
  813b10:	6002		str	r2, [r0, #0]
  813b12:	482a		ldr	r0, =0x8004	; via 0x813bbc
  813b14:	8008		strh	r0, [r1, #0]
  813b16:	4920		ldr	r1, =0x83c0a4	; via 0x813b98
  813b18:	6808		ldr	r0, [r1, #0]
  813b1a:	1c82		add	r2, r0, #2
  813b1c:	600a		str	r2, [r1, #0]
  813b1e:	4926		ldr	r1, =0x8041	; via 0x813bb8
  813b20:	8001		strh	r1, [r0, #0]
  813b22:	4770		bx	lr

$l1dmacro_adc_read_tx:
  813b24:	b081		sub	sp, #4
  813b26:	9000		str	r0, [sp, #0]
  813b28:	481b		ldr	r0, =0x83c0a4	; via 0x813b98
  813b2a:	6801		ldr	r1, [r0, #0]
  813b2c:	1c8a		add	r2, r1, #2
  813b2e:	6002		str	r2, [r0, #0]
  813b30:	2001		mov	r0, #1
  813b32:	0340		lsl	r0, r0, #13
  813b34:	9a00		ldr	r2, [sp, #0]
  813b36:	4310		orr	r0, r2
  813b38:	8008		strh	r0, [r1, #0]
  813b3a:	4917		ldr	r1, =0x83c0a4	; via 0x813b98
  813b3c:	6808		ldr	r0, [r1, #0]
  813b3e:	1c82		add	r2, r0, #2
  813b40:	600a		str	r2, [r1, #0]
  813b42:	491b		ldr	r1, =0x80c0	; via 0x813bb0
  813b44:	8001		strh	r1, [r0, #0]
  813b46:	4814		ldr	r0, =0x83c0a4	; via 0x813b98
  813b48:	6801		ldr	r1, [r0, #0]
  813b4a:	1c8a		add	r2, r1, #2
  813b4c:	6002		str	r2, [r0, #0]
  813b4e:	481c		ldr	r0, =0x9444	; via 0x813bc0
  813b50:	8008		strh	r0, [r1, #0]
  813b52:	4811		ldr	r0, =0x83c0a4	; via 0x813b98
  813b54:	6801		ldr	r1, [r0, #0]
  813b56:	1c8a		add	r2, r1, #2
  813b58:	6002		str	r2, [r0, #0]
  813b5a:	4817		ldr	r0, =0x8041	; via 0x813bb8
  813b5c:	8008		strh	r0, [r1, #0]
  813b5e:	490e		ldr	r1, =0x83c0a4	; via 0x813b98
  813b60:	6808		ldr	r0, [r1, #0]
  813b62:	1c82		add	r2, r0, #2
  813b64:	600a		str	r2, [r1, #0]
  813b66:	4911		ldr	r1, =0xa005	; via 0x813bac
  813b68:	8001		strh	r1, [r0, #0]
  813b6a:	480b		ldr	r0, =0x83c0a4	; via 0x813b98
  813b6c:	6801		ldr	r1, [r0, #0]
  813b6e:	1c8a		add	r2, r1, #2
  813b70:	6002		str	r2, [r0, #0]
  813b72:	4814		ldr	r0, =0x9404	; via 0x813bc4
  813b74:	8008		strh	r0, [r1, #0]
  813b76:	4908		ldr	r1, =0x83c0a4	; via 0x813b98
  813b78:	6808		ldr	r0, [r1, #0]
  813b7a:	1c82		add	r2, r0, #2
  813b7c:	600a		str	r2, [r1, #0]
  813b7e:	490e		ldr	r1, =0x8041	; via 0x813bb8
  813b80:	8001		strh	r1, [r0, #0]
  813b82:	b001		add	sp, #4
  813b84:	4770		bx	lr

$l1dmacro_set_frame_it:
  813b86:	b500		push	{lr}
  813b88:	f7ff ff0b	bl	0x8139a2	; $TPU_FrameItEnable
  813b8c:	bd00		pop	{pc}
  813b8e:	46c0		nop			(mov r8, r8)

I$DIV:
I$MOD:
  81495c:	b43c		push	{r2, r3, r4, r5}
  81495e:	17cc		asr	r4, r1, #31
  814960:	4061		eor	r1, r4
  814962:	1b09		sub	r1, r1, r4
  814964:	d050		beq	0x814a08
  814966:	17c2		asr	r2, r0, #31
  814968:	4050		eor	r0, r2
  81496a:	1a80		sub	r0, r0, r2
  81496c:	0864		lsr	r4, r4, #1
  81496e:	4054		eor	r4, r2
  814970:	1c0a		add	r2, r1, #0
  814972:	0c05		lsr	r5, r0, #16
  814974:	42aa		cmp	r2, r5
  814976:	d800		bhi	0x81497a
  814978:	0412		lsl	r2, r2, #16
  81497a:	0a05		lsr	r5, r0, #8
  81497c:	42aa		cmp	r2, r5
  81497e:	d800		bhi	0x814982
  814980:	0212		lsl	r2, r2, #8
  814982:	1c03		add	r3, r0, #0
  814984:	a51b		add	r5, pc, #108	; 0x6c
  814986:	085b		lsr	r3, r3, #1
  814988:	3d0c		sub	r5, #12	; 0xc
  81498a:	429a		cmp	r2, r3
  81498c:	d9fb		bls	0x814986
  81498e:	2300		mov	r3, #0
  814990:	46af		mov	pc, r5
  814992:	0a12		lsr	r2, r2, #8
  814994:	01d5		lsl	r5, r2, #7
  814996:	42a8		cmp	r0, r5
  814998:	415b		adc	r3, r3
  81499a:	42a8		cmp	r0, r5
  81499c:	d300		bcc	0x8149a0
  81499e:	1b40		sub	r0, r0, r5
  8149a0:	0195		lsl	r5, r2, #6
  8149a2:	42a8		cmp	r0, r5
  8149a4:	415b		adc	r3, r3
  8149a6:	42a8		cmp	r0, r5
  8149a8:	d300		bcc	0x8149ac
  8149aa:	1b40		sub	r0, r0, r5
  8149ac:	0155		lsl	r5, r2, #5
  8149ae:	42a8		cmp	r0, r5
  8149b0:	415b		adc	r3, r3
  8149b2:	42a8		cmp	r0, r5
  8149b4:	d300		bcc	0x8149b8
  8149b6:	1b40		sub	r0, r0, r5
  8149b8:	0115		lsl	r5, r2, #4
  8149ba:	42a8		cmp	r0, r5
  8149bc:	415b		adc	r3, r3
  8149be:	42a8		cmp	r0, r5
  8149c0:	d300		bcc	0x8149c4
  8149c2:	1b40		sub	r0, r0, r5
  8149c4:	00d5		lsl	r5, r2, #3
  8149c6:	42a8		cmp	r0, r5
  8149c8:	415b		adc	r3, r3
  8149ca:	42a8		cmp	r0, r5
  8149cc:	d300		bcc	0x8149d0
  8149ce:	1b40		sub	r0, r0, r5
  8149d0:	0095		lsl	r5, r2, #2
  8149d2:	42a8		cmp	r0, r5
  8149d4:	415b		adc	r3, r3
  8149d6:	42a8		cmp	r0, r5
  8149d8:	d300		bcc	0x8149dc
  8149da:	1b40		sub	r0, r0, r5
  8149dc:	0055		lsl	r5, r2, #1
  8149de:	42a8		cmp	r0, r5
  8149e0:	415b		adc	r3, r3
  8149e2:	42a8		cmp	r0, r5
  8149e4:	d300		bcc	0x8149e8
  8149e6:	1b40		sub	r0, r0, r5
  8149e8:	4290		cmp	r0, r2
  8149ea:	415b		adc	r3, r3
  8149ec:	4290		cmp	r0, r2
  8149ee:	d300		bcc	0x8149f2
  8149f0:	1a80		sub	r0, r0, r2
  8149f2:	4291		cmp	r1, r2
  8149f4:	d3cd		bcc	0x814992
  8149f6:	17e5		asr	r5, r4, #31
  8149f8:	4068		eor	r0, r5
  8149fa:	1b40		sub	r0, r0, r5
  8149fc:	0064		lsl	r4, r4, #1
  8149fe:	17e4		asr	r4, r4, #31
  814a00:	4063		eor	r3, r4
  814a02:	1b19		sub	r1, r3, r4
  814a04:	bc3c		pop	{r2, r3, r4, r5}
  814a06:	46f7		mov	pc, lr
  814a08:	2000		mov	r0, #0
  814a0a:	bc3c		pop	{r2, r3, r4, r5}
  814a0c:	46f7		mov	pc, lr

IRAM data:

0x839ea8	rf structure
0x83a09c	adc_cal structure
0x83be2c	8-bit var I'm calling magic2_byte
0x83be30	synth_900
0x83be60	synth_1800
0x83be78	synth_1900
0x83be90	synth_850
0x83c048	rf_path array of structs
0x83c098	16-bit var captures lna_off flag
0x83c09c	rf_data 32-bit var?
0x83c0a0	rf_band 8-bit var
0x83c0a1	rf_index 8-bit var
0x83c0a4	TP_Ptr
0x83c724	l1s_tpu_com structure
0x83cda0	l1s_dsp_com structure
0x83cdb4	l1_config structure

; $l1_initialize call trampoline
  83ef94:	b082		sub	sp, #8
  83ef96:	9400		str	r4, [sp, #0]
  83ef98:	4c01		ldr	r4, =0x1fc364	; via 0x83efa0
  83ef9a:	9401		str	r4, [sp, #4]
  83ef9c:	bd10		pop	{r4, pc}