;
;
; Digital Engineering Retro-Graphics for VT100
; ============================================
;
; Disassembly of program ROM (1983 revision board)
;
;    Matt Burke (9track.net)
;
; ROM part numbers:
;
;    0561Y1_45E0 (U33)
;    0561Y2_E598 (U34)
;    0561Y3_0BE2 (U40)
;    0561Y4_9FDF (U41)
;    0561Y5_0A5C (U45)
;    0561Y6_3591 (U46)
;
; I/O Memory map:
;
;    0000 DART0
;      0000 SER0 DATA
;      0002 SER1 DATA
;      0004 SER0 CONTROL
;      0006 SER1 CONTROL
;    2000 DART1
;      2000 SER2 DATA
;      2002 SER3 DATA
;      2004 SER2 CONTROL
;      2006 SER3 CONTROL
;    4000 BAUD
;    6000 CRTC
;      6000 REG PTR
;      6002 REG DATA
;    8000 VREG
;    A000 NVR
;      A040 RECALL
;      A080 STORE
;      A0C0 NORMAL ACCESS
;
; Program memory map:
;
;    0000 - BFFF ROM
;    C000 - FFFF DRAM
;

       0:	0000 4000      	addb	rh0,#0x0
       4:	002c           	addb	rl4,@r2
       6:	ffff           	djnz	r15,0xffffff0a
       8:	ffff           	djnz	r15,0xffffff0c
       a:	ffff           	djnz	r15,0xffffff0e
       c:	ffff           	djnz	r15,0xffffff10
       e:	ffff           	djnz	r15,0xffffff12
      10:	ffff           	djnz	r15,0xffffff14
      12:	ffff           	djnz	r15,0xffffff16
      14:	ffff           	djnz	r15,0xffffff18
      16:	ffff           	djnz	r15,0xffffff1a
      18:	4000 02ea      	addb	rh0,0x2ea
      1c:	058a           	or	r10,@r8
      1e:	05da           	or	r10,@r13
      20:	044e           	orb	rl6,@r4
      22:	0aac           	cpb	rl4,@r10
      24:	0386           	sub	r6,@r8
      26:	08b2           	xorb	rh2,@r11
      28:	033e           	sub	r14,@r3
      2a:	042e           	orb	rl6,@r2
      2c:	7b08           	mset	
      2e:	2101 4000      	ld	r1,#0x4000
      32:	7d1a           	ldctl	fcw,r1
      34:	7d1b           	ldctl	refresh,r1
      36:	7601 0894      	lda	r1,0x894			; load DART setup 'script' from 0x894
      3a:	c80c           	ldb	rl0,#0xc			; length 0xc
      3c:	2010           	ldb	rh0,@r1
      3e:	3a06 0005      	outb	#0x5,rh0			; SER0 control
      42:	a910           	inc	r1,#0x1
      44:	f805           	dbjnz	rl0,0x3c			; loop for remaining bytes
      46:	2101 1770      	ld	r1,#0x1770			; loop count
      4a:	2102 ffff      	ld	r2,#0xffff			; initialise byte counter
      4e:	2103 0010      	ld	r3,#0x10
      52:	8955           	xor	r5,r5				; clear R5
      54:	3ab6 0005      	outb	#0x5,rl3			; reset EXT/status interrupts
      58:	3a54 0005      	inb	rh5,#0x5			; read interrupt status
      5c:	885d           	xorb	rl5,rh5				; copy to low byte
      5e:	a6d4           	bitb	rl5,#0x4			; check TX buffer empty
      60:	e601           	jr	eq,0x64				; branch if not empty
      62:	a920           	inc	r2,#0x1
      64:	a05d           	ldb	rl5,rh5
      66:	f18a           	djnz	r1,0x54				; end of loop
      68:	2104 0004      	ld	r4,#0x4				; tx buffer empty
      6c:	ab20           	dec	r2,#0x1
      6e:	ed02           	jr	pl,0x74
      70:	2104 0003      	ld	r4,#0x3				; int pending & RX char available
      74:	7601 0260      	lda	r1,0x260
      78:	cf32           	ldb	rl7,#0x32
      7a:	2103 007d      	ld	r3,#0x7d			; loop count
      7e:	c002           	ldb	rh0,#0x2
      80:	c610           	ldb	rh6,#0x10
      82:	3a66 0005      	outb	#0x5,rh6			; reset EXT/status interrupts
      86:	3a54 0005      	inb	rh5,#0x5			; read interrupt status
      8a:	2604 0500      	bitb	rh5,r4				; test bits determined above
      8e:	eef9           	jr	ne,0x82				; wait until condition met
      90:	3a66 0005      	outb	#0x5,rh6			; reset EXT/status interrupts
      94:	3a54 0005      	inb	rh5,#0x5			; read interrupt status
      98:	2604 0500      	bitb	rh5,r4				; test bits determined above
      9c:	e6f9           	jr	eq,0x90				; wait until condition met
      9e:	f38f           	djnz	r3,0x82				; end of loop
      a0:	3a66 0005      	outb	#0x5,rh6			; reset EXT/status interrupts
      a4:	3ad4 0005      	inb	rl5,#0x5			; read interrupt status
      a8:	885d           	xorb	rl5,rh5				; extract changed bits
      aa:	2604 0d00      	bitb	rl5,r4				; test bits determined above
      ae:	e6f8           	jr	eq,0xa0				; wait until condition met
      b0:	885d           	xorb	rl5,rh5
      b2:	3a66 0005      	outb	#0x5,rh6
      b6:	a930           	inc	r3,#0x1
      b8:	3a54 0005      	inb	rh5,#0x5
      bc:	88d5           	xorb	rh5,rl5
      be:	2604 0500      	bitb	rh5,r4
      c2:	e6f7           	jr	eq,0xb2
      c4:	88d5           	xorb	rh5,rl5
      c6:	a05d           	ldb	rl5,rh5
      c8:	f00c           	dbjnz	rh0,0xb2
      ca:	0b03 0680      	cp	r3,#0x680
      ce:	eb03           	jr	ugt,0xd6
      d0:	7601 0230      	lda	r1,0x230			; CRTC setup scripts
      d4:	cf3c           	ldb	rl7,#0x3c
      d6:	c00c           	ldb	rh0,#0xc			; loop count
      d8:	0a0c 0303      	cpb	rl4,#0x3
      dc:	e602           	jr	eq,0xe2
      de:	0101 0018      	add	r1,#0x18			; select script 2
      e2:	201b           	ldb	rl3,@r1
      e4:	3ab6 6000      	outb	#0x6000,rl3			; load script
      e8:	601b 0001      	ldb	rl3,0x1(r1)
      ec:	3ab6 6002      	outb	#0x6002,rl3
      f0:	a911           	inc	r1,#0x2
      f2:	f009           	dbjnz	rh0,0xe2			; end loop
      f4:	0a0c 0303      	cpb	rl4,#0x3
      f8:	ee3a           	jr	ne,0x16e
      fa:	cb18           	ldb	rl3,#0x18			; channel reset
      fc:	3ab6 0007      	outb	#0x7,rl3			; SER1 control
     100:	2106 8080      	ld	r6,#0x8080			; delay counter
     104:	2101 05e0      	ld	r1,#0x5e0
     108:	3a16 0007      	outb	#0x7,rh1			; select R5
     10c:	3a96 0007      	outb	#0x7,rl1			; DTR, 8 TX bits, TX disabled
     110:	f601           	dbjnz	rh6,0x110			; delay
     112:	2101 0010      	ld	r1,#0x10
     116:	3a16 0007      	outb	#0x7,rh1			; select R0
     11a:	3a96 0007      	outb	#0x7,rl1			; reset EXT/status interrupts
     11e:	3a14 0007      	inb	rh1,#0x7			; read interrupt status
     122:	a615           	bitb	rh1,#0x5			; TX buffer empty, RX char available
     124:	ee24           	jr	ne,0x16e
     126:	2101 05e2      	ld	r1,#0x5e2
     12a:	3a16 0007      	outb	#0x7,rh1			; select R5
     12e:	3a96 0007      	outb	#0x7,rl1			; set RTS
     132:	fe01           	dbjnz	rl6,0x132			; delay?
     134:	2101 0010      	ld	r1,#0x10
     138:	3a16 0007      	outb	#0x7,rh1			; select R0
     13c:	3a96 0007      	outb	#0x7,rl1			; reset EXT/status interrupts
     140:	3a14 0007      	inb	rh1,#0x7			; read interrupt status
     144:	a615           	bitb	rh1,#0x5			; TX buffer empty, RX char available
     146:	e613           	jr	eq,0x16e
     148:	c004           	ldb	rh0,#0x4
     14a:	7601 0290      	lda	r1,0x290
     14e:	2113           	ld	r3,@r1
     150:	3a36 6000      	outb	#0x6000,rh3			; r0 = horizontal total character number
     154:	3ab6 6002      	outb	#0x6002,rl3			; 0x3d
     158:	a911           	inc	r1,#0x2
     15a:	f007           	dbjnz	rh0,0x14e
     15c:	0a0f 3232      	cpb	rl7,#0x32
     160:	ee06           	jr	ne,0x16e
     162:	6103 0298      	ld	r3,0x298
     166:	3a36 6000      	outb	#0x6000,rh3			; r7 = position of veritcal sync pulse
     16a:	3ab6 6002      	outb	#0x6002,rl3			; 0x3e
     16e:	8966           	xor	r6,r6				; start of memory test
     170:	2101 4000      	ld	r1,#0x4000			; memory size
     174:	4c15 bfff 5555 	ldb	0xbfff(r1),#0x55		; write 0x5555
     17a:	f184           	djnz	r1,0x174
     17c:	2101 4000      	ld	r1,#0x4000
     180:	6010 bfff      	ldb	rh0,0xbfff(r1)			; read back
     184:	0800 5555      	xorb	rh0,#0x55
     188:	840e           	orb	rl6,rh0
     18a:	4c18 bfff      	clrb	0xbfff(r1)			; clear to 0
     18e:	f188           	djnz	r1,0x180
     190:	8911           	xor	r1,r1				; clear R0
     192:	8922           	xor	r2,r2				; clear R2
     194:	7b09           	mres					; clear MO
     196:	2f12           	ld	@r1,r2
     198:	a911           	inc	r1,#0x2
     19a:	eefd           	jr	ne,0x196
     19c:	7b08           	mset					; set MO
     19e:	6f04 c65a      	ld	0xc65a,r4
     1a2:	6f04 c65c      	ld	0xc65c,r4
     1a6:	020c 0303      	subb	rl4,#0x3
     1aa:	6e0c c6aa      	ldb	0xc6aa,rl4
     1ae:	e603           	jr	eq,0x1b6
     1b0:	8811           	xorb	rh1,rh1
     1b2:	3a16 c001      	outb	#0xc001,rh1			; unknown I/O addr
     1b6:	6e0e c6a3      	ldb	0xc6a3,rl6
     1ba:	6e0f c23d      	ldb	0xc23d,rl7
     1be:	760f fff0      	lda	r15,0xfff0
     1c2:	7601 0000      	lda	r1,0x0
     1c6:	7d1d           	ldctl	psapoff,r1			; setup program status area
     1c8:	4d05 c2a6 ffff 	ld	0xc2a6,#0xffff
     1ce:	4d08 c2a8      	clr	0xc2a8
     1d2:	7601 029a      	lda	r1,0x29a
     1d6:	7602 c684      	lda	r2,0xc684
     1da:	2103 0010      	ld	r3,#0x10
     1de:	ba11 0320      	ldirb	@r2,@r1,r3
     1e2:	7601 892c      	lda	r1,0x892c
     1e6:	6f01 c25e      	ld	0xc25e,r1
     1ea:	5f00 0e26      	call	0xe26
     1ee:	5f00 1412      	call	0x1412
     1f2:	4d05 c652 0002 	ld	0xc652,#0x2
     1f8:	4d05 c2e8 013b 	ld	0xc2e8,#0x13b
     1fe:	5f00 1e32      	call	0x1e32
     202:	4d08 c654      	clr	0xc654
     206:	dcb4           	calr	0x8a0
     208:	dd69           	calr	0x738
     20a:	5f00 ae00      	call	0xae00
     20e:	5f00 ae14      	call	0xae14
     212:	2101 249f      	ld	r1,#0x249f
     216:	6f01 c656      	ld	0xc656,r1
     21a:	2101 4800      	ld	r1,#0x4800
     21e:	7d1a           	ldctl	fcw,r1
     220:	4d05 c2e0 0001 	ld	0xc2e0,#0x1
     226:	4d05 c2de 0001 	ld	0xc2de,#0x1
     22c:	5e08 5726      	jp	t,0x5726

									; CRTC setup script 1
     230:	00							; R0
     231:	3f							; horizontal total char
     232:	01							; R1
     233:	35							; horizontal displayed char
     234:	02							; R2
     235:	10							; position of horizontal sync
     236:	03							; R3
     237:	03							; pulse width of horizontal sync
     238:	04							; R4
     239:	40							; vertical total char
     23a:	05							; R5
     23b:	02							; total raster adjust
     23c:	06							; R6
     23d:	3c							; vertical displayed char
     23e:	07							; R7
     23f:	3c							; position of vertical sync
     240:	08							; R8
     241:	03							; interlaced mode
     242:	09							; R9
     243:	03							; maximum raster
     244:	0c							; R12
     245:	ff							; start address H
     246:	0d							; R13
     247:	ff							; start address L

									; CRTC setup script 2
     248:	00
     249:	3c
     24a:	01
     24b:	35
     24c:	02
     24d:	33
     24e:	03
     24f:	01
     250:	04
     251:	40
     252:	05
     253:	02
     254:	06
     255:	3c
     256:	07
     257:	3c
     258:	08
     259:	03
     25a:	09
     25b:	03
     25c:	0c
     25d:	ff
     25e:	0d
     25f:	ff
     260:	003f           	addb	rl7,@r3
     262:	0135           	add	r5,@r3
     264:	0210           	subb	rh0,@r1
     266:	0303 044d      	sub	r3,#0x44d
     26a:	0502 063c      	or	r2,#0x63c
     26e:	0742           	and	r2,@r4
     270:	0803 0903      	xorb	rh3,#0x3
     274:	0cff           	.word 0cff
     276:	0dff           	.word 0dff
     278:	003c           	addb	rl4,@r3
     27a:	0135           	add	r5,@r3
     27c:	0233           	subb	rh3,@r3
     27e:	0301 044d      	sub	r1,#0x44d
     282:	0502 063c      	or	r2,#0x63c
     286:	0742           	and	r2,@r4
     288:	0803 0903      	xorb	rh3,#0x3
     28c:	0cff           	.word 0cff
     28e:	0dff           	.word 0dff
     290:	003d           	addb	rl5,@r3
     292:	0233           	subb	rh3,@r3
     294:	0301 0738      	sub	r1,#0x738
     298:	073e           	and	r14,@r3
     29a:	0009 000d      	addb	rl1,#0xd
     29e:	000a ffc0      	addb	rl2,#0xc0
     2a2:	000b 0002      	addb	rl3,#0x2
     2a6:	000a 0005      	addb	rl2,#0x5
     2aa:	0009 000c      	addb	rl1,#0xc
     2ae:	000a ffc0      	addb	rl2,#0xc0
     2b2:	000b 0002      	addb	rl3,#0x2
     2b6:	000a 0004      	addb	rl2,#0x4
     2ba:	0009 000b      	addb	rl1,#0xb
     2be:	0009 ff80      	addb	rl1,#0x80
     2c2:	000a 0001      	addb	rl2,#0x1
     2c6:	0009 0003      	addb	rl1,#0x3
     2ca:	0006 0007      	addb	rh6,#0x7
     2ce:	0006 fc00      	addb	rh6,#0x0
     2d2:	0007 0001      	addb	rh7,#0x1
     2d6:	0006 0002      	addb	rh6,#0x2
     2da:	0006 0006      	addb	rh6,#0x6
     2de:	0006 fc00      	addb	rh6,#0x0
     2e2:	0006 0000      	addb	rh6,#0x0
     2e6:	0005 0001      	addb	rh5,#0x1
     2ea:	7b08           	mset	
     2ec:	5c09 000e c4b8 	ldm	0xc4b8,r0,#0xf
     2f2:	3aa4 0005      	inb	rl2,#0x5
     2f6:	a6a1           	bitb	rl2,#0x1
     2f8:	e60a           	jr	eq,0x30e
     2fa:	bd12           	ldk	r1,#0x2
     2fc:	3a96 0007      	outb	#0x7,rl1
     300:	3a94 0007      	inb	rl1,#0x7
     304:	0101 001c      	add	r1,#0x1c
     308:	2112           	ld	r2,@r1
     30a:	1f20           	call	@r2
     30c:	e80a           	jr	t,0x322
     30e:	3b24 2004      	in	r2,#0x2004
     312:	4c04 c6aa      	testb	0xc6aa
     316:	e601           	jr	eq,0x31a
     318:	a02a           	ldb	rl2,rh2
     31a:	a6a1           	bitb	rl2,#0x1
     31c:	e602           	jr	eq,0x322
     31e:	5f00 add2      	call	0xadd2
     322:	2101 0038      	ld	r1,#0x38
     326:	3a16 0005      	outb	#0x5,rh1
     32a:	3a96 0005      	outb	#0x5,rl1
     32e:	5c01 000e c4b8 	ldm	r0,0xc4b8,#0xf
     334:	6600 fff8      	bitb	0xfff8,#0x0
     338:	e601           	jr	eq,0x33c
     33a:	7b09           	mres	
     33c:	7b00           	iret	
     33e:	2101 249f      	ld	r1,#0x249f
     342:	6f01 c656      	ld	0xc656,r1
     346:	3a84 0001      	inb	rl0,#0x1
     34a:	0608 7f7f      	andb	rl0,#0x7f
     34e:	ee07           	jr	ne,0x35e
     350:	4c01 c232 0101 	cpb	0xc232,#0x1
     356:	e603           	jr	eq,0x35e
     358:	4c04 c22a      	testb	0xc22a
     35c:	9e06           	ret	eq
     35e:	6606 c205      	bitb	0xc205,#0x6
     362:	e60d           	jr	eq,0x37e
     364:	4a08 c209      	cpb	rl0,0xc209
     368:	e603           	jr	eq,0x370
     36a:	4a08 c20a      	cpb	rl0,0xc20a
     36e:	ee07           	jr	ne,0x37e
     370:	6e08 c67a      	ldb	0xc67a,rl0
     374:	4a08 c209      	cpb	rl0,0xc209
     378:	9e0e           	ret	ne
     37a:	dffb           	calr	0x386
     37c:	9e08           	ret	t
     37e:	a107           	ld	r7,r0
     380:	5f00 221a      	call	0x221a
     384:	9e08           	ret	t
     386:	8800           	xorb	rh0,rh0
     388:	3a06 0005      	outb	#0x5,rh0
     38c:	3a04 0005      	inb	rh0,#0x5
     390:	a602           	bitb	rh0,#0x2
     392:	9e06           	ret	eq
     394:	6103 c654      	ld	r3,0xc654
     398:	0703 0014      	and	r3,#0x14
     39c:	e60c           	jr	eq,0x3b6
     39e:	600a c208      	ldb	rl2,0xc208
     3a2:	6702 c654      	bit	0xc654,#0x2
     3a6:	6302 c654      	res	0xc654,#0x2
     3aa:	ee37           	jr	ne,0x41a
     3ac:	6304 c654      	res	0xc654,#0x4
     3b0:	600a c207      	ldb	rl2,0xc207
     3b4:	e832           	jr	t,0x41a
     3b6:	4d04 c91e      	test	0xc91e
     3ba:	ee18           	jr	ne,0x3ec
     3bc:	4c04 c6aa      	testb	0xc6aa
     3c0:	e60f           	jr	eq,0x3e0
     3c2:	6601 c201      	bitb	0xc201,#0x1
     3c6:	e60c           	jr	eq,0x3e0
     3c8:	6604 c675      	bitb	0xc675,#0x4
     3cc:	ee09           	jr	ne,0x3e0
     3ce:	c005           	ldb	rh0,#0x5
     3d0:	3a06 0005      	outb	#0x5,rh0
     3d4:	6201 c674      	resb	0xc674,#0x1
     3d8:	6000 c674      	ldb	rh0,0xc674
     3dc:	3a06 0005      	outb	#0x5,rh0
     3e0:	c028           	ldb	rh0,#0x28
     3e2:	3a06 0005      	outb	#0x5,rh0
     3e6:	6300 c654      	res	0xc654,#0x0
     3ea:	9e08           	ret	t
     3ec:	600b c67a      	ldb	rl3,0xc67a
     3f0:	4a0b c20a      	cpb	rl3,0xc20a
     3f4:	9e06           	ret	eq
     3f6:	5f00 220c      	call	0x220c
     3fa:	6600 c201      	bitb	0xc201,#0x0
     3fe:	e60d           	jr	eq,0x41a
     400:	4c04 c244      	testb	0xc244
     404:	e605           	jr	eq,0x410
     406:	0a0a 2020      	cpb	rl2,#0x20
     40a:	ea07           	jr	gt,0x41a
     40c:	4c08 c244      	clrb	0xc244
     410:	93f2           	push	@r15,r2
     412:	a127           	ld	r7,r2
     414:	5f00 221a      	call	0x221a
     418:	97f2           	pop	r2,@r15
     41a:	060a 7f7f      	andb	rl2,#0x7f
     41e:	6607 c201      	bitb	0xc201,#0x7
     422:	e602           	jr	eq,0x428
     424:	040a 8080      	orb	rl2,#0x80
     428:	3aa6 0001      	outb	#0x1,rl2
     42c:	9e08           	ret	t
     42e:	bd11           	ldk	r1,#0x1
     430:	3a96 0005      	outb	#0x5,rl1
     434:	3a04 0005      	inb	rh0,#0x5
     438:	3a84 0001      	inb	rl0,#0x1
     43c:	3a16 0005      	outb	#0x5,rh1
     440:	c130           	ldb	rh1,#0x30
     442:	3a16 0005      	outb	#0x5,rh1
     446:	a604           	bitb	rh0,#0x4
     448:	5e0e 034a      	jp	ne,0x34a
     44c:	9e08           	ret	t
     44e:	2101 249f      	ld	r1,#0x249f
     452:	6f01 c656      	ld	0xc656,r1
     456:	3a04 0003      	inb	rh0,#0x3
     45a:	a207           	resb	rh0,#0x7
     45c:	4c08 c681      	clrb	0xc681
     460:	4c04 c682      	testb	0xc682
     464:	e52a           	jr	mi,0x4ba
     466:	ee17           	jr	ne,0x496
     468:	88ff           	xorb	rl7,rl7
     46a:	6607 c205      	bitb	0xc205,#0x7
     46e:	ee03           	jr	ne,0x476
     470:	4d04 c2e8      	test	0xc2e8
     474:	e60a           	jr	eq,0x48a
     476:	0a00 1b1b      	cpb	rh0,#0x1b
     47a:	ee54           	jr	ne,0x524
     47c:	c802           	ldb	rl0,#0x2
     47e:	6e08 c681      	ldb	0xc681,rl0
     482:	84f8           	orb	rl0,rl7
     484:	6e08 c682      	ldb	0xc682,rl0
     488:	9e08           	ret	t
     48a:	4c01 c22d 0101 	cpb	0xc22d,#0x1
     490:	ee49           	jr	ne,0x524
     492:	cf04           	ldb	rl7,#0x4
     494:	e8f0           	jr	t,0x476
     496:	0a00 4f4f      	cpb	rh0,#0x4f
     49a:	e605           	jr	eq,0x4a6
     49c:	0a00 5b5b      	cpb	rh0,#0x5b
     4a0:	ee05           	jr	ne,0x4ac
     4a2:	6406 c682      	setb	0xc682,#0x6
     4a6:	6407 c682      	setb	0xc682,#0x7
     4aa:	9e08           	ret	t
     4ac:	a008           	ldb	rl0,rh0
     4ae:	c01b           	ldb	rh0,#0x1b
     4b0:	df9a           	calr	0x57e
     4b2:	4c08 c682      	clrb	0xc682
     4b6:	a080           	ldb	rh0,rl0
     4b8:	e835           	jr	t,0x524
     4ba:	6602 c682      	bitb	0xc682,#0x2
     4be:	ee06           	jr	ne,0x4cc
     4c0:	0a00 5050      	cpb	rh0,#0x50
     4c4:	e703           	jr	c/ult,0x4cc
     4c6:	0a00 5454      	cpb	rh0,#0x54
     4ca:	e71d           	jr	c/ult,0x506
     4cc:	4c01 c22d 0101 	cpb	0xc22d,#0x1
     4d2:	ee0e           	jr	ne,0x4f0
     4d4:	0a00 4141      	cpb	rh0,#0x41
     4d8:	e70b           	jr	c/ult,0x4f0
     4da:	0a00 4545      	cpb	rh0,#0x45
     4de:	ef08           	jr	nc/uge,0x4f0
     4e0:	0200 3737      	subb	rh0,#0x37
     4e4:	4c04 c6a6      	testb	0xc6a6
     4e8:	e610           	jr	eq,0x50a
     4ea:	4c08 c682      	clrb	0xc682
     4ee:	9e08           	ret	t
     4f0:	a008           	ldb	rl0,rh0
     4f2:	c01b           	ldb	rh0,#0x1b
     4f4:	dfbc           	calr	0x57e
     4f6:	c04f           	ldb	rh0,#0x4f
     4f8:	6606 c682      	bitb	0xc682,#0x6
     4fc:	e601           	jr	eq,0x500
     4fe:	c05b           	ldb	rh0,#0x5b
     500:	dfc2           	calr	0x57e
     502:	a080           	ldb	rh0,rl0
     504:	e80d           	jr	t,0x520
     506:	0200 5050      	subb	rh0,#0x50
     50a:	0000 c8c8      	addb	rh0,#0xc8
     50e:	0a00 cbcb      	cpb	rh0,#0xcb
     512:	ee06           	jr	ne,0x520
     514:	4c04 c6a2      	testb	0xc6a2
     518:	e603           	jr	eq,0x520
     51a:	6e00 c6a1      	ldb	0xc6a1,rh0
     51e:	9e08           	ret	t
     520:	4c08 c682      	clrb	0xc682
     524:	6606 c205      	bitb	0xc205,#0x6
     528:	e628           	jr	eq,0x57a
     52a:	0a00 1111      	cpb	rh0,#0x11
     52e:	e603           	jr	eq,0x536
     530:	0a00 1313      	cpb	rh0,#0x13
     534:	ee22           	jr	ne,0x57a
     536:	6e00 c67c      	ldb	0xc67c,rh0
     53a:	0a00 1111      	cpb	rh0,#0x11
     53e:	ee03           	jr	ne,0x546
     540:	93f0           	push	@r15,r0
     542:	dfdd           	calr	0x58a
     544:	97f0           	pop	r0,@r15
     546:	4c04 c6a9      	testb	0xc6a9
     54a:	9e0e           	ret	ne
     54c:	6706 c654      	bit	0xc654,#0x6
     550:	9e0e           	ret	ne
     552:	6601 c201      	bitb	0xc201,#0x1
     556:	9e0e           	ret	ne
     558:	0a00 1111      	cpb	rh0,#0x11
     55c:	ee03           	jr	ne,0x564
     55e:	6504 c654      	set	0xc654,#0x4
     562:	e804           	jr	t,0x56c
     564:	6502 c654      	set	0xc654,#0x2
     568:	6304 c654      	res	0xc654,#0x4
     56c:	6700 c654      	bit	0xc654,#0x0
     570:	9e0e           	ret	ne
     572:	6500 c654      	set	0xc654,#0x0
     576:	d0f9           	calr	0x386
     578:	9e08           	ret	t
     57a:	dfff           	calr	0x57e
     57c:	9e08           	ret	t
     57e:	a00f           	ldb	rl7,rh0
     580:	93f0           	push	@r15,r0
     582:	5f00 2258      	call	0x2258
     586:	97f0           	pop	r0,@r15
     588:	9e08           	ret	t
     58a:	8800           	xorb	rh0,rh0
     58c:	3a06 0007      	outb	#0x7,rh0
     590:	3a04 0007      	inb	rh0,#0x7
     594:	a602           	bitb	rh0,#0x2
     596:	9e06           	ret	eq
     598:	6103 c654      	ld	r3,0xc654
     59c:	0703 0028      	and	r3,#0x28
     5a0:	e60a           	jr	eq,0x5b6
     5a2:	ca13           	ldb	rl2,#0x13
     5a4:	6703 c654      	bit	0xc654,#0x3
     5a8:	6303 c654      	res	0xc654,#0x3
     5ac:	ee13           	jr	ne,0x5d4
     5ae:	aaa1           	decb	rl2,#0x2
     5b0:	6305 c654      	res	0xc654,#0x5
     5b4:	e80f           	jr	t,0x5d4
     5b6:	4d04 c93e      	test	0xc93e
     5ba:	ee06           	jr	ne,0x5c8
     5bc:	c028           	ldb	rh0,#0x28
     5be:	3a06 0007      	outb	#0x7,rh0
     5c2:	6301 c654      	res	0xc654,#0x1
     5c6:	9e08           	ret	t
     5c8:	4c01 c67c 1313 	cpb	0xc67c,#0x13
     5ce:	9e06           	ret	eq
     5d0:	5f00 224a      	call	0x224a
     5d4:	3aa6 0003      	outb	#0x3,rl2
     5d8:	9e08           	ret	t
     5da:	2100 0010      	ld	r0,#0x10
     5de:	3a06 0007      	outb	#0x7,rh0
     5e2:	3a86 0007      	outb	#0x7,rl0
     5e6:	3a06 0007      	outb	#0x7,rh0
     5ea:	3a04 0007      	inb	rh0,#0x7
     5ee:	a008           	ldb	rl0,rh0
     5f0:	4808 c678      	xorb	rl0,0xc678
     5f4:	6e00 c678      	ldb	0xc678,rh0
     5f8:	4c04 c6aa      	testb	0xc6aa
     5fc:	e628           	jr	eq,0x64e
     5fe:	a683           	bitb	rl0,#0x3
     600:	e626           	jr	eq,0x64e
     602:	6e00 c678      	ldb	0xc678,rh0
     606:	a603           	bitb	rh0,#0x3
     608:	e610           	jr	eq,0x62a
     60a:	6604 c675      	bitb	0xc675,#0x4
     60e:	e61f           	jr	eq,0x64e
     610:	cf05           	ldb	rl7,#0x5
     612:	3af6 0005      	outb	#0x5,rl7
     616:	6401 c674      	setb	0xc674,#0x1
     61a:	600f c674      	ldb	rl7,0xc674
     61e:	3af6 0005      	outb	#0x5,rl7
     622:	d14f           	calr	0x386
     624:	6000 c678      	ldb	rh0,0xc678
     628:	e812           	jr	t,0x64e
     62a:	600f c201      	ldb	rl7,0xc201
     62e:	b2f1 ffff      	srlb	rl7,#0x1
     632:	060f 0707      	andb	rl7,#0x7
     636:	0a0f 0101      	cpb	rl7,#0x1
     63a:	ee09           	jr	ne,0x64e
     63c:	cf05           	ldb	rl7,#0x5
     63e:	3af6 0005      	outb	#0x5,rl7
     642:	6201 c674      	resb	0xc674,#0x1
     646:	6007 c674      	ldb	rh7,0xc674
     64a:	3a76 0005      	outb	#0x5,rh7
     64e:	4c04 c6a0      	testb	0xc6a0
     652:	e666           	jr	eq,0x720
     654:	4c04 c6aa      	testb	0xc6aa
     658:	ee17           	jr	ne,0x688
     65a:	a684           	bitb	rl0,#0x4
     65c:	e615           	jr	eq,0x688
     65e:	a604           	bitb	rh0,#0x4
     660:	e610           	jr	eq,0x682
     662:	6407 c6a0      	setb	0xc6a0,#0x7
     666:	7601 0a40      	lda	r1,0xa40
     66a:	6f01 c646      	ld	0xc646,r1
     66e:	4c05 c695 0202 	ldb	0xc695,#0x2
     674:	2101 249f      	ld	r1,#0x249f
     678:	6f01 c656      	ld	0xc656,r1
     67c:	3b14 8000      	in	r1,#0x8000
     680:	e84f           	jr	t,0x720
     682:	5f00 0a6e      	call	0xa6e
     686:	e84c           	jr	t,0x720
     688:	6607 c6a0      	bitb	0xc6a0,#0x7
     68c:	e649           	jr	eq,0x720
     68e:	6104 c65a      	ld	r4,0xc65a
     692:	2604 0000      	bitb	rh0,r4
     696:	ee44           	jr	ne,0x720
     698:	5f00 0a6e      	call	0xa6e
     69c:	c910           	ldb	rl1,#0x10
     69e:	3a96 6000      	outb	#0x6000,rl1
     6a2:	3a34 6003      	inb	rh3,#0x6003
     6a6:	c911           	ldb	rl1,#0x11
     6a8:	3a96 6000      	outb	#0x6000,rl1
     6ac:	3ab4 6003      	inb	rl3,#0x6003
     6b0:	ab30           	dec	r3,#0x1
     6b2:	3b14 8000      	in	r1,#0x8000
     6b6:	93f1           	push	@r15,r1
     6b8:	0701 003f      	and	r1,#0x3f
     6bc:	8922           	xor	r2,r2
     6be:	1b02 0035      	div	rr2,#0x35
     6c2:	a125           	ld	r5,r2
     6c4:	1902 0004      	mult	rr2,#0x4
     6c8:	0b05 0032      	cp	r5,#0x32
     6cc:	e702           	jr	c/ult,0x6d2
     6ce:	2105 0031      	ld	r5,#0x31
     6d2:	1904 0010      	mult	rr4,#0x10
     6d6:	8811           	xorb	rh1,rh1
     6d8:	a112           	ld	r2,r1
     6da:	0701 000f      	and	r1,#0xf
     6de:	8115           	add	r5,r1
     6e0:	b321 fffc      	srl	r2,#0x4
     6e4:	8123           	add	r3,r2
     6e6:	2102 01df      	ld	r2,#0x1df
     6ea:	8332           	sub	r2,r3
     6ec:	97f1           	pop	r1,@r15
     6ee:	0b05 001e      	cp	r5,#0x1e
     6f2:	eb0b           	jr	ugt,0x70a
     6f4:	4c04 c6aa      	testb	0xc6aa
     6f8:	ee03           	jr	ne,0x700
     6fa:	a697           	bitb	rl1,#0x7
     6fc:	ee06           	jr	ne,0x70a
     6fe:	e802           	jr	t,0x704
     700:	a697           	bitb	rl1,#0x7
     702:	e603           	jr	eq,0x70a
     704:	2105 031f      	ld	r5,#0x31f
     708:	a920           	inc	r2,#0x1
     70a:	6f05 c2cc      	ld	0xc2cc,r5
     70e:	6f02 c2ce      	ld	0xc2ce,r2
     712:	93f0           	push	@r15,r0
     714:	c0f0           	ldb	rh0,#0xf0
     716:	5f00 057e      	call	0x57e
     71a:	97f0           	pop	r0,@r15
     71c:	4c08 c6a0      	clrb	0xc6a0
     720:	c805           	ldb	rl0,#0x5
     722:	3a86 0005      	outb	#0x5,rl0
     726:	6008 c673      	ldb	rl0,0xc673
     72a:	a284           	resb	rl0,#0x4
     72c:	a607           	bitb	rh0,#0x7
     72e:	e601           	jr	eq,0x732
     730:	a484           	setb	rl0,#0x4
     732:	3a86 0005      	outb	#0x5,rl0
     736:	9e08           	ret	t
     738:	dfd7           	calr	0x78c
     73a:	c80c           	ldb	rl0,#0xc
     73c:	7601 c65e      	lda	r1,0xc65e
     740:	2010           	ldb	rh0,@r1
     742:	3a06 0005      	outb	#0x5,rh0
     746:	a910           	inc	r1,#0x1
     748:	f805           	dbjnz	rl0,0x740
     74a:	7601 c65f      	lda	r1,0xc65f
     74e:	7602 c66a      	lda	r2,0xc66a
     752:	2103 000a      	ld	r3,#0xa
     756:	ba11 0320      	ldirb	@r2,@r1,r3
     75a:	9e08           	ret	t
     75c:	dfe9           	calr	0x78c
     75e:	7601 c65f      	lda	r1,0xc65f
     762:	7602 c66a      	lda	r2,0xc66a
     766:	cb05           	ldb	rl3,#0x5
     768:	6018 0001      	ldb	rl0,0x1(r1)
     76c:	4a28 0001      	cpb	rl0,0x1(r2)
     770:	e609           	jr	eq,0x784
     772:	6e28 0001      	ldb	0x1(r2),rl0
     776:	2010           	ldb	rh0,@r1
     778:	7c02           	di	nvi
     77a:	3a06 0005      	outb	#0x5,rh0
     77e:	3a86 0005      	outb	#0x5,rl0
     782:	7c06           	ei	nvi
     784:	a911           	inc	r1,#0x2
     786:	a921           	inc	r2,#0x2
     788:	fb11           	dbjnz	rl3,0x768
     78a:	9e08           	ret	t
     78c:	5c09 0203 c538 	ldm	0xc538,r2,#0x4
     792:	4c04 c6aa      	testb	0xc6aa
     796:	e60c           	jr	eq,0x7b0
     798:	6009 c20f      	ldb	rl1,0xc20f
     79c:	0609 f0f0      	andb	rl1,#0xf0
     7a0:	a091           	ldb	rh1,rl1
     7a2:	b211 fffc      	srlb	rh1,#0x4
     7a6:	8419           	orb	rl1,rh1
     7a8:	6001 c200      	ldb	rh1,0xc200
     7ac:	3b16 4000      	out	#0x4000,r1
     7b0:	7601 c65e      	lda	r1,0xc65e
     7b4:	7602 0894      	lda	r2,0x894
     7b8:	2103 000c      	ld	r3,#0xc
     7bc:	ba21 0310      	ldirb	@r1,@r2,r3
     7c0:	7601 c65e      	lda	r1,0xc65e
     7c4:	4c04 c6aa      	testb	0xc6aa
     7c8:	e602           	jr	eq,0x7ce
     7ca:	6211 000a      	resb	0xa(r1),#0x1
     7ce:	6000 c201      	ldb	rh0,0xc201
     7d2:	b201 fffc      	srlb	rh0,#0x4
     7d6:	0a00 0101      	cpb	rh0,#0x1
     7da:	ee03           	jr	ne,0x7e2
     7dc:	6210 0008      	resb	0x8(r1),#0x0
     7e0:	e813           	jr	t,0x808
     7e2:	0a00 0404      	cpb	rh0,#0x4
     7e6:	ee07           	jr	ne,0x7f6
     7e8:	6410 0008      	setb	0x8(r1),#0x0
     7ec:	6211 0008      	resb	0x8(r1),#0x1
     7f0:	6213 0002      	resb	0x2(r1),#0x3
     7f4:	e809           	jr	t,0x808
     7f6:	0a00 0202      	cpb	rh0,#0x2
     7fa:	eef0           	jr	ne,0x7dc
     7fc:	6410 0008      	setb	0x8(r1),#0x0
     800:	6411 0008      	setb	0x8(r1),#0x1
     804:	6213 0002      	resb	0x2(r1),#0x3
     808:	6607 c202      	bitb	0xc202,#0x7
     80c:	e604           	jr	eq,0x816
     80e:	6217 0006      	resb	0x6(r1),#0x7
     812:	6216 000a      	resb	0xa(r1),#0x6
     816:	6008 c202      	ldb	rl0,0xc202
     81a:	b281 fffb      	srlb	rl0,#0x5
     81e:	0608 0303      	andb	rl0,#0x3
     822:	0a08 0101      	cpb	rl0,#0x1
     826:	ee03           	jr	ne,0x82e
     828:	6213 0008      	resb	0x8(r1),#0x3
     82c:	e805           	jr	t,0x838
     82e:	0a08 0202      	cpb	rl0,#0x2
     832:	ee02           	jr	ne,0x838
     834:	6212 0008      	resb	0x8(r1),#0x2
     838:	4c04 c6aa      	testb	0xc6aa
     83c:	e60f           	jr	eq,0x85c
     83e:	6000 c201      	ldb	rh0,0xc201
     842:	b201 ffff      	srlb	rh0,#0x1
     846:	0600 0707      	andb	rh0,#0x7
     84a:	e608           	jr	eq,0x85c
     84c:	0a00 0202      	cpb	rh0,#0x2
     850:	e605           	jr	eq,0x85c
     852:	6211 000a      	resb	0xa(r1),#0x1
     856:	6415 0006      	setb	0x6(r1),#0x5
     85a:	e802           	jr	t,0x860
     85c:	6411 000a      	setb	0xa(r1),#0x1
     860:	6008 c668      	ldb	rl0,0xc668
     864:	6e08 c674      	ldb	0xc674,rl0
     868:	5c01 0203 c538 	ldm	r2,0xc538,#0x4
     86e:	4c04 c6aa      	testb	0xc6aa
     872:	9e06           	ret	eq
     874:	6008 089e      	ldb	rl0,0x89e
     878:	0a00 0404      	cpb	rh0,#0x4
     87c:	9e0e           	ret	ne
     87e:	a481           	setb	rl0,#0x1
     880:	7c02           	di	nvi
     882:	c005           	ldb	rh0,#0x5
     884:	3a06 0007      	outb	#0x7,rh0
     888:	3a86 0007      	outb	#0x7,rl0
     88c:	6217 000a      	resb	0xa(r1),#0x7
     890:	7c06           	ei	nvi
     892:	9e08           	ret	t

									; DART setup script
     894:	18							; channel reset
     895:	01							; select register 1
     896:	1f							; RX in en, TX int en, EXT int en
     897:	02							; select register 2
     898:	00							; interrupt vector
     899:	03							; select register 3
     89a:	c1							; RX 8-bits, RX enabled
     89b:	04							; select register 4
     89c:	4c							; x16 clock mode, 2 stop bits
     89d:	05							; select register 5
     89e:	ea							; DTR, TX 8-bits, TX enabled, RTS
     89f:	00							; select register 0


     8a0:	7601
     8a2:	0894           	xorb	rh4,@r9
     8a4:	c80c           	ldb	rl0,#0xc
     8a6:	2010           	ldb	rh0,@r1
     8a8:	3a06 0007      	outb	#0x7,rh0
     8ac:	a910           	inc	r1,#0x1
     8ae:	f805           	dbjnz	rl0,0x8a6
     8b0:	9e08           	ret	t
     8b2:	8800           	xorb	rh0,rh0
     8b4:	3a06 0005      	outb	#0x5,rh0
     8b8:	a404           	setb	rh0,#0x4
     8ba:	3a06 0005      	outb	#0x5,rh0
     8be:	8800           	xorb	rh0,rh0
     8c0:	3a06 0005      	outb	#0x5,rh0
     8c4:	3a04 0005      	inb	rh0,#0x5
     8c8:	a008           	ldb	rl0,rh0
     8ca:	4808 c677      	xorb	rl0,0xc677
     8ce:	4c04 c6aa      	testb	0xc6aa
     8d2:	e61e           	jr	eq,0x910
     8d4:	a683           	bitb	rl0,#0x3
     8d6:	e61c           	jr	eq,0x910
     8d8:	6007 c201      	ldb	rh7,0xc201
     8dc:	b271 ffff      	srlb	rh7,#0x1
     8e0:	0607 0707      	andb	rh7,#0x7
     8e4:	a603           	bitb	rh0,#0x3
     8e6:	ee09           	jr	ne,0x8fa
     8e8:	4c05 c676 0707 	ldb	0xc676,#0x7
     8ee:	0a07 0101      	cpb	rh7,#0x1
     8f2:	ee0e           	jr	ne,0x910
     8f4:	6007 089e      	ldb	rh7,0x89e
     8f8:	e806           	jr	t,0x906
     8fa:	0a07 0101      	cpb	rh7,#0x1
     8fe:	ee08           	jr	ne,0x910
     900:	6007 089e      	ldb	rh7,0x89e
     904:	a471           	setb	rh7,#0x1
     906:	cf05           	ldb	rl7,#0x5
     908:	3af6 0007      	outb	#0x7,rl7
     90c:	3a76 0007      	outb	#0x7,rh7
     910:	6104 c65c      	ld	r4,0xc65c
     914:	6e00 c677      	ldb	0xc677,rh0
     918:	2604 0000      	bitb	rh0,r4
     91c:	5e0e 09f2      	jp	ne,0x9f2
     920:	6800 c697      	incb	0xc697,#0x1
     924:	4c04 c676      	testb	0xc676
     928:	e603           	jr	eq,0x930
     92a:	6a00 c676      	decb	0xc676,#0x1
     92e:	e81a           	jr	t,0x964
     930:	4c04 c6aa      	testb	0xc6aa
     934:	e617           	jr	eq,0x964
     936:	6607 c675      	bitb	0xc675,#0x7
     93a:	e604           	jr	eq,0x944
     93c:	4c04 c23c      	testb	0xc23c
     940:	e611           	jr	eq,0x964
     942:	e803           	jr	t,0x94a
     944:	6600 c675      	bitb	0xc675,#0x0
     948:	e60d           	jr	eq,0x964
     94a:	cf05           	ldb	rl7,#0x5
     94c:	3af6 0005      	outb	#0x5,rl7
     950:	6401 c674      	setb	0xc674,#0x1
     954:	600f c674      	ldb	rl7,0xc674
     958:	3af6 0005      	outb	#0x5,rl7
     95c:	5f00 0386      	call	0x386
     960:	4c08 c675      	clrb	0xc675
     964:	4d04 c5e0      	test	0xc5e0
     968:	e602           	jr	eq,0x96e
     96a:	6b00 c5e0      	dec	0xc5e0,#0x1
     96e:	6a00 c698      	decb	0xc698,#0x1
     972:	5e0e 09f2      	jp	ne,0x9f2
     976:	4c05 c698 0202 	ldb	0xc698,#0x2
     97c:	4c04 c6a8      	testb	0xc6a8
     980:	ee14           	jr	ne,0x9aa
     982:	4d04 c656      	test	0xc656
     986:	e611           	jr	eq,0x9aa
     988:	600f c673      	ldb	rl7,0xc673
     98c:	6b00 c656      	dec	0xc656,#0x1
     990:	ee02           	jr	ne,0x996
     992:	a4f7           	setb	rl7,#0x7
     994:	e803           	jr	t,0x99c
     996:	a6f7           	bitb	rl7,#0x7
     998:	e608           	jr	eq,0x9aa
     99a:	a2f7           	resb	rl7,#0x7
     99c:	c705           	ldb	rh7,#0x5
     99e:	3a76 0005      	outb	#0x5,rh7
     9a2:	3af6 0005      	outb	#0x5,rl7
     9a6:	6e0f c673      	ldb	0xc673,rl7
     9aa:	4d04 c5da      	test	0xc5da
     9ae:	e607           	jr	eq,0x9be
     9b0:	6b00 c5da      	dec	0xc5da,#0x1
     9b4:	ee04           	jr	ne,0x9be
     9b6:	6101 c5dc      	ld	r1,0xc5dc
     9ba:	6f01 c5da      	ld	0xc5da,r1
     9be:	4d04 c2e8      	test	0xc2e8
     9c2:	e602           	jr	eq,0x9c8
     9c4:	6b00 c2e8      	dec	0xc2e8,#0x1
     9c8:	4c04 c681      	testb	0xc681
     9cc:	e608           	jr	eq,0x9de
     9ce:	6a00 c681      	decb	0xc681,#0x1
     9d2:	ee05           	jr	ne,0x9de
     9d4:	8800           	xorb	rh0,rh0
     9d6:	6e00 c682      	ldb	0xc682,rh0
     9da:	c01b           	ldb	rh0,#0x1b
     9dc:	d230           	calr	0x57e
     9de:	6101 c644      	ld	r1,0xc644
     9e2:	8d14           	test	r1
     9e4:	e601           	jr	eq,0x9e8
     9e6:	1f10           	call	@r1
     9e8:	6101 c646      	ld	r1,0xc646
     9ec:	8511           	or	r1,r1
     9ee:	e601           	jr	eq,0x9f2
     9f0:	1f10           	call	@r1
     9f2:	4c04 c6aa      	testb	0xc6aa
     9f6:	e61d           	jr	eq,0xa32
     9f8:	3b04 8000      	in	r0,#0x8000
     9fc:	a008           	ldb	rl0,rh0
     9fe:	4808 c694      	xorb	rl0,0xc694
     a02:	6e00 c694      	ldb	0xc694,rh0
     a06:	4c04 c6a0      	testb	0xc6a0
     a0a:	e613           	jr	eq,0xa32
     a0c:	a680           	bitb	rl0,#0x0
     a0e:	e611           	jr	eq,0xa32
     a10:	a600           	bitb	rh0,#0x0
     a12:	ee0e           	jr	ne,0xa30
     a14:	6407 c6a0      	setb	0xc6a0,#0x7
     a18:	7601 0a40      	lda	r1,0xa40
     a1c:	6f01 c646      	ld	0xc646,r1
     a20:	4c05 c695 0202 	ldb	0xc695,#0x2
     a26:	2101 249f      	ld	r1,#0x249f
     a2a:	6f01 c656      	ld	0xc656,r1
     a2e:	e801           	jr	t,0xa32
     a30:	dfe2           	calr	0xa6e
     a32:	2101 0038      	ld	r1,#0x38
     a36:	3a16 0005      	outb	#0x5,rh1
     a3a:	3a96 0005      	outb	#0x5,rl1
     a3e:	9e08           	ret	t
     a40:	6a00 c695      	decb	0xc695,#0x1
     a44:	ee10           	jr	ne,0xa66
     a46:	4c04 c6aa      	testb	0xc6aa
     a4a:	e604           	jr	eq,0xa54
     a4c:	cd80           	ldb	rl5,#0x80
     a4e:	3ad6 c001      	outb	#0xc001,rl5
     a52:	9e08           	ret	t
     a54:	c805           	ldb	rl0,#0x5
     a56:	3a86 0007      	outb	#0x7,rl0
     a5a:	6008 089e      	ldb	rl0,0x89e
     a5e:	a287           	resb	rl0,#0x7
     a60:	3a86 0007      	outb	#0x7,rl0
     a64:	9e08           	ret	t
     a66:	4c01 c695 fefe 	cpb	0xc695,#0xfe
     a6c:	9e0e           	ret	ne
     a6e:	6207 c6a0      	resb	0xc6a0,#0x7
     a72:	4d08 c646      	clr	0xc646
     a76:	4c04 c6aa      	testb	0xc6aa
     a7a:	e604           	jr	eq,0xa84
     a7c:	cd00           	ldb	rl5,#0x0
     a7e:	3ad6 c001      	outb	#0xc001,rl5
     a82:	9e08           	ret	t
     a84:	c805           	ldb	rl0,#0x5
     a86:	3a86 0007      	outb	#0x7,rl0
     a8a:	6008 089e      	ldb	rl0,0x89e
     a8e:	3a86 0007      	outb	#0x7,rl0
     a92:	9e08           	ret	t
     a94:	4c04 c680      	testb	0xc680
     a98:	9e06           	ret	eq
     a9a:	6b00 c5de      	dec	0xc5de,#0x1
     a9e:	9e0e           	ret	ne
     aa0:	4d05 c5de 0014 	ld	0xc5de,#0x14
     aa6:	5f00 1b1e      	call	0x1b1e
     aaa:	9e08           	ret	t
     aac:	3a94 0003      	inb	rl1,#0x3
     ab0:	8800           	xorb	rh0,rh0
     ab2:	3a06 0005      	outb	#0x5,rh0
     ab6:	c010           	ldb	rh0,#0x10
     ab8:	3a06 0005      	outb	#0x5,rh0
     abc:	9e08           	ret	t
     abe:	6400 c6a9      	setb	0xc6a9,#0x0
     ac2:	9e08           	ret	t
     ac4:	4d04 c93e      	test	0xc93e
     ac8:	eefd           	jr	ne,0xac4
     aca:	4c01 c67c 1313 	cpb	0xc67c,#0x13
     ad0:	e6fc           	jr	eq,0xaca
     ad2:	4c08 c6a9      	clrb	0xc6a9
     ad6:	9e08           	ret	t
     ad8:	8922           	xor	r2,r2
     ada:	1b02 0010      	div	rr2,#0x10
     ade:	b331 0001      	sll	r3,#0x1
     ae2:	a126           	ld	r6,r2
     ae4:	b329 0001      	sla	r2,#0x1
     ae8:	6122 0b0c      	ld	r2,0xb0c(r2)
     aec:	a115           	ld	r5,r1
     aee:	8944           	xor	r4,r4
     af0:	1b04 0004      	div	rr4,#0x4
     af4:	93f4           	push	@r15,r4
     af6:	1904 0035      	mult	rr4,#0x35
     afa:	b351 0001      	sll	r5,#0x1
     afe:	8153           	add	r3,r5
     b00:	97f5           	pop	r5,@r15
     b02:	1904 4000      	mult	rr4,#0x4000
     b06:	8153           	add	r3,r5
     b08:	a164           	ld	r4,r6
     b0a:	9e08           	ret	t
     b0c:	8000           	addb	rh0,rh0
     b0e:	4000 2000      	addb	rh0,0x2000
     b12:	1000 0800 0400 	cpl	rr0,#0x8000400
     b18:	0200 0100      	subb	rh0,#0x0
     b1c:	0080           	addb	rh0,@r8
     b1e:	0040           	addb	rh0,@r4
     b20:	0020           	addb	rh0,@r2
     b22:	0010           	addb	rh0,@r1
     b24:	0008 0004      	addb	rl0,#0x4
     b28:	0002 0001      	addb	rh2,#0x1
     b2c:	5c09 0806 c538 	ldm	0xc538,r8,#0x7
     b32:	6101 c5e2      	ld	r1,0xc5e2
     b36:	6102 c5e4      	ld	r2,0xc5e4
     b3a:	93f1           	push	@r15,r1
     b3c:	93f2           	push	@r15,r2
     b3e:	6103 c29e      	ld	r3,0xc29e
     b42:	6104 c2a0      	ld	r4,0xc2a0
     b46:	8b13           	cp	r3,r1
     b48:	e70a           	jr	c/ult,0xb5e
     b4a:	6f01 c29e      	ld	0xc29e,r1
     b4e:	6f02 c2a0      	ld	0xc2a0,r2
     b52:	6f03 c5e2      	ld	0xc5e2,r3
     b56:	6f04 c5e4      	ld	0xc5e4,r4
     b5a:	ad31           	ex	r1,r3
     b5c:	ad42           	ex	r2,r4
     b5e:	8331           	sub	r1,r3
     b60:	6f01 c5e6      	ld	0xc5e6,r1
     b64:	ed01           	jr	pl,0xb68
     b66:	8d12           	neg	r1
     b68:	6f01 c5ea      	ld	0xc5ea,r1
     b6c:	8342           	sub	r2,r4
     b6e:	6f02 c5e8      	ld	0xc5e8,r2
     b72:	ed01           	jr	pl,0xb76
     b74:	8d22           	neg	r2
     b76:	6f02 c5ec      	ld	0xc5ec,r2
     b7a:	8b21           	cp	r1,r2
     b7c:	ef06           	jr	nc/uge,0xb8a
     b7e:	6f02 c5ea      	ld	0xc5ea,r2
     b82:	6f01 c5ec      	ld	0xc5ec,r1
     b86:	c801           	ldb	rl0,#0x1
     b88:	e801           	jr	t,0xb8c
     b8a:	8888           	xorb	rl0,rl0
     b8c:	6108 c5ec      	ld	r8,0xc5ec
     b90:	610b c5ea      	ld	r11,0xc5ea
     b94:	8188           	add	r8,r8
     b96:	a189           	ld	r9,r8
     b98:	83b9           	sub	r9,r11
     b9a:	a19a           	ld	r10,r9
     b9c:	83ba           	sub	r10,r11
     b9e:	210c c000      	ld	r12,#0xc000
     ba2:	610d c5e8      	ld	r13,0xc5e8
     ba6:	a7df           	bit	r13,#0xf
     ba8:	ee01           	jr	ne,0xbac
     baa:	8dc2           	neg	r12
     bac:	6103 c29e      	ld	r3,0xc29e
     bb0:	6101 c2a0      	ld	r1,0xc2a0
     bb4:	d06f           	calr	0xad8
     bb6:	a13e           	ld	r14,r3
     bb8:	6009 c240      	ldb	rl1,0xc240
     bbc:	6106 c2aa      	ld	r6,0xc2aa
     bc0:	8726           	and	r6,r2
     bc2:	8d20           	com	r2
     bc4:	4c01 c238 0101 	cpb	0xc238,#0x1
     bca:	ee09           	jr	ne,0xbde
     bcc:	4c01 c232 0303 	cpb	0xc232,#0x3
     bd2:	5e06 0dae      	jp	eq,0xdae
     bd6:	4c04 c248      	testb	0xc248
     bda:	5e06 0dae      	jp	eq,0xdae
     bde:	df46           	calr	0xd54
     be0:	600b c25c      	ldb	rl3,0xc25c
     be4:	84bb           	orb	rl3,rl3
     be6:	e603           	jr	eq,0xbee
     be8:	610d c25a      	ld	r13,0xc25a
     bec:	e804           	jr	t,0xbf6
     bee:	610d c258      	ld	r13,0xc258
     bf2:	20db           	ldb	rl3,@r13
     bf4:	a9d0           	inc	r13,#0x1
     bf6:	8811           	xorb	rh1,rh1
     bf8:	4c01 c232 0303 	cpb	0xc232,#0x3
     bfe:	e601           	jr	eq,0xc02
     c00:	8c10           	comb	rh1
     c02:	6107 c606      	ld	r7,0xc606
     c06:	6003 c248      	ldb	rh3,0xc248
     c0a:	8955           	xor	r5,r5
     c0c:	8433           	orb	rh3,rh3
     c0e:	e604           	jr	eq,0xc18
     c10:	6005 c69e      	ldb	rh5,0xc69e
     c14:	600d c69d      	ldb	rl5,0xc69d
     c18:	a6b7           	bitb	rl3,#0x7
     c1a:	e613           	jr	eq,0xc42
     c1c:	8411           	orb	rh1,rh1
     c1e:	e602           	jr	eq,0xc24
     c20:	865d           	andb	rl5,rh5
     c22:	ee0f           	jr	ne,0xc42
     c24:	6400 fff8      	setb	0xfff8,#0x0
     c28:	7b09           	mres	
     c2a:	8499           	orb	rl1,rl1
     c2c:	e603           	jr	eq,0xc34
     c2e:	21e4           	ld	r4,@r14
     c30:	8964           	xor	r4,r6
     c32:	e803           	jr	t,0xc3a
     c34:	a124           	ld	r4,r2
     c36:	07e4           	and	r4,@r14
     c38:	8564           	or	r4,r6
     c3a:	2fe4           	ld	@r14,r4
     c3c:	6200 fff8      	resb	0xfff8,#0x0
     c40:	7b08           	mset	
     c42:	aab0           	decb	rl3,#0x1
     c44:	a0b4           	ldb	rh4,rl3
     c46:	0604 7f7f      	andb	rh4,#0x7f
     c4a:	ee07           	jr	ne,0xc5a
     c4c:	20db           	ldb	rl3,@r13
     c4e:	84bb           	orb	rl3,rl3
     c50:	ee03           	jr	ne,0xc58
     c52:	610d c258      	ld	r13,0xc258
     c56:	20db           	ldb	rl3,@r13
     c58:	a9d0           	inc	r13,#0x1
     c5a:	a79f           	bit	r9,#0xf
     c5c:	e613           	jr	eq,0xc84
     c5e:	8189           	add	r9,r8
     c60:	8488           	orb	rl0,rl0
     c62:	e601           	jr	eq,0xc66
     c64:	e81e           	jr	t,0xca2
     c66:	b361 ffff      	srl	r6,#0x1
     c6a:	b324           	rr	r2,#0x1
     c6c:	e707           	jr	c/ult,0xc7c
     c6e:	2102 8000      	ld	r2,#0x8000
     c72:	6106 c2aa      	ld	r6,0xc2aa
     c76:	8726           	and	r6,r2
     c78:	8d20           	com	r2
     c7a:	a9e1           	inc	r14,#0x2
     c7c:	8433           	orb	rh3,rh3
     c7e:	e612           	jr	eq,0xca4
     c80:	dfaa           	calr	0xd2e
     c82:	e810           	jr	t,0xca4
     c84:	81a9           	add	r9,r10
     c86:	b361 ffff      	srl	r6,#0x1
     c8a:	b324           	rr	r2,#0x1
     c8c:	e707           	jr	c/ult,0xc9c
     c8e:	a9e1           	inc	r14,#0x2
     c90:	2102 8000      	ld	r2,#0x8000
     c94:	6106 c2aa      	ld	r6,0xc2aa
     c98:	8726           	and	r6,r2
     c9a:	8d20           	com	r2
     c9c:	8433           	orb	rh3,rh3
     c9e:	e601           	jr	eq,0xca2
     ca0:	dfba           	calr	0xd2e
     ca2:	dfec           	calr	0xccc
     ca4:	abb0           	dec	r11,#0x1
     ca6:	edb8           	jr	pl,0xc18
     ca8:	6f0d c25a      	ld	0xc25a,r13
     cac:	6e0b c25c      	ldb	0xc25c,rl3
     cb0:	97f1           	pop	r1,@r15
     cb2:	6f01 c2a0      	ld	0xc2a0,r1
     cb6:	97f3           	pop	r3,@r15
     cb8:	6f03 c29e      	ld	0xc29e,r3
     cbc:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
     cc2:	4c04 c240      	testb	0xc240
     cc6:	5e0e 11ea      	jp	ne,0x11ea
     cca:	9e08           	ret	t
     ccc:	81ce           	add	r14,r12
     cce:	8411           	orb	rh1,rh1
     cd0:	e61d           	jr	eq,0xd0c
     cd2:	8433           	orb	rh3,rh3
     cd4:	e61b           	jr	eq,0xd0c
     cd6:	a7cf           	bit	r12,#0xf
     cd8:	ee09           	jr	ne,0xcec
     cda:	6800 c69b      	incb	0xc69b,#0x1
     cde:	4c01 c69b 0e0e 	cpb	0xc69b,#0xe
     ce4:	ee13           	jr	ne,0xd0c
     ce6:	4c08 c69b      	clrb	0xc69b
     cea:	e806           	jr	t,0xcf8
     cec:	6a00 c69b      	decb	0xc69b,#0x1
     cf0:	ed0d           	jr	pl,0xd0c
     cf2:	4c05 c69b 0d0d 	ldb	0xc69b,#0xd
     cf8:	93fc           	push	@r15,r12
     cfa:	85cc           	or	r12,r12
     cfc:	bdca           	ldk	r12,#0xa
     cfe:	ed01           	jr	pl,0xd02
     d00:	8dc2           	neg	r12
     d02:	81c7           	add	r7,r12
     d04:	207d           	ldb	rl5,@r7
     d06:	6e0d c69d      	ldb	0xc69d,rl5
     d0a:	97fc           	pop	r12,@r15
     d0c:	a1e4           	ld	r4,r14
     d0e:	0604 c0c0      	andb	rh4,#0xc0
     d12:	e608           	jr	eq,0xd24
     d14:	0a04 c0c0      	cpb	rh4,#0xc0
     d18:	9e0e           	ret	ne
     d1a:	a7cf           	bit	r12,#0xf
     d1c:	9e06           	ret	eq
     d1e:	030e 006a      	sub	r14,#0x6a
     d22:	9e08           	ret	t
     d24:	a7cf           	bit	r12,#0xf
     d26:	9e0e           	ret	ne
     d28:	010e 006a      	add	r14,#0x6a
     d2c:	9e08           	ret	t
     d2e:	8411           	orb	rh1,rh1
     d30:	9e06           	ret	eq
     d32:	6a00 c69c      	decb	0xc69c,#0x1
     d36:	9e0d           	ret	pl
     d38:	4c05 c69c 0909 	ldb	0xc69c,#0x9
     d3e:	600d c69d      	ldb	rl5,0xc69d
     d42:	b251 ffff      	srlb	rh5,#0x1
     d46:	9e0f           	ret	nc/uge
     d48:	c580           	ldb	rh5,#0x80
     d4a:	a970           	inc	r7,#0x1
     d4c:	207d           	ldb	rl5,@r7
     d4e:	6e0d c69d      	ldb	0xc69d,rl5
     d52:	9e08           	ret	t
     d54:	93f1           	push	@r15,r1
     d56:	93f2           	push	@r15,r2
     d58:	93f3           	push	@r15,r3
     d5a:	8922           	xor	r2,r2
     d5c:	6103 c2a0      	ld	r3,0xc2a0
     d60:	1b02 000e      	div	rr2,#0xe
     d64:	6e0a c69b      	ldb	0xc69b,rl2
     d68:	1902 0050      	mult	rr2,#0x50
     d6c:	6f03 c606      	ld	0xc606,r3
     d70:	6103 c29e      	ld	r3,0xc29e
     d74:	8922           	xor	r2,r2
     d76:	1b02 000a      	div	rr2,#0xa
     d7a:	c209           	ldb	rh2,#0x9
     d7c:	82a2           	subb	rh2,rl2
     d7e:	6e02 c69c      	ldb	0xc69c,rh2
     d82:	4103 c606      	add	r3,0xc606
     d86:	8922           	xor	r2,r2
     d88:	1b02 0008      	div	rr2,#0x8
     d8c:	0103 e200      	add	r3,#0xe200
     d90:	6f03 c606      	ld	0xc606,r3
     d94:	8d22           	neg	r2
     d96:	c180           	ldb	rh1,#0x80
     d98:	b213 0200      	sdlb	rh1,r2
     d9c:	6e01 c69e      	ldb	0xc69e,rh1
     da0:	2032           	ldb	rh2,@r3
     da2:	6e02 c69d      	ldb	0xc69d,rh2
     da6:	97f3           	pop	r3,@r15
     da8:	97f2           	pop	r2,@r15
     daa:	97f1           	pop	r1,@r15
     dac:	9e08           	ret	t
     dae:	610d c2aa      	ld	r13,0xc2aa
     db2:	2107 8000      	ld	r7,#0x8000
     db6:	6400 fff8      	setb	0xfff8,#0x0
     dba:	7b09           	mres	
     dbc:	8499           	orb	rl1,rl1
     dbe:	e603           	jr	eq,0xdc6
     dc0:	21e4           	ld	r4,@r14
     dc2:	8964           	xor	r4,r6
     dc4:	e803           	jr	t,0xdcc
     dc6:	a124           	ld	r4,r2
     dc8:	07e4           	and	r4,@r14
     dca:	8564           	or	r4,r6
     dcc:	2fe4           	ld	@r14,r4
     dce:	6200 fff8      	resb	0xfff8,#0x0
     dd2:	7b08           	mset	
     dd4:	a79f           	bit	r9,#0xf
     dd6:	e60d           	jr	eq,0xdf2
     dd8:	8189           	add	r9,r8
     dda:	8488           	orb	rl0,rl0
     ddc:	ee14           	jr	ne,0xe06
     dde:	b361 ffff      	srl	r6,#0x1
     de2:	b324           	rr	r2,#0x1
     de4:	e712           	jr	c/ult,0xe0a
     de6:	a172           	ld	r2,r7
     de8:	a1d6           	ld	r6,r13
     dea:	8726           	and	r6,r2
     dec:	8d20           	com	r2
     dee:	a9e1           	inc	r14,#0x2
     df0:	e80c           	jr	t,0xe0a
     df2:	81a9           	add	r9,r10
     df4:	b361 ffff      	srl	r6,#0x1
     df8:	b324           	rr	r2,#0x1
     dfa:	e705           	jr	c/ult,0xe06
     dfc:	a172           	ld	r2,r7
     dfe:	a1d6           	ld	r6,r13
     e00:	8726           	and	r6,r2
     e02:	8d20           	com	r2
     e04:	a9e1           	inc	r14,#0x2
     e06:	81ce           	add	r14,r12
     e08:	d07f           	calr	0xd0c
     e0a:	abb0           	dec	r11,#0x1
     e0c:	edd4           	jr	pl,0xdb6
     e0e:	57f0 c2a0      	pop	0xc2a0,@r15
     e12:	57f0 c29e      	pop	0xc29e,@r15
     e16:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
     e1c:	4c04 c240      	testb	0xc240
     e20:	5e0e 11ea      	jp	ne,0x11ea
     e24:	9e08           	ret	t
     e26:	7601 892c      	lda	r1,0x892c
     e2a:	6f01 c25e      	ld	0xc25e,r1
     e2e:	4d08 c2aa      	clr	0xc2aa
     e32:	d945           	calr	0x1baa
     e34:	dfe9           	calr	0xe64
     e36:	4d05 c2aa ffff 	ld	0xc2aa,#0xffff
     e3c:	4d05 c652 0002 	ld	0xc652,#0x2
     e42:	4d05 c258 0e54 	ld	0xc258,#0xe54
     e48:	4d05 c25a 0e54 	ld	0xc25a,#0xe54
     e4e:	4c08 c25c      	clrb	0xc25c
     e52:	9e08           	ret	t
     e54:	ffff           	djnz	r15,0xd58
     e56:	ff00           	dbjnz	rl7,0xe58
     e58:	9e08           	ret	t
     e5a:	7b0a           	mbit	
     e5c:	e5fe           	jr	mi,0xe5a
     e5e:	7b0a           	mbit	
     e60:	edfe           	jr	pl,0xe5e
     e62:	9e08           	ret	t
     e64:	6001 c680      	ldb	rh1,0xc680
     e68:	93f1           	push	@r15,r1
     e6a:	8411           	orb	rh1,rh1
     e6c:	e601           	jr	eq,0xe70
     e6e:	d9b6           	calr	0x1b04
     e70:	53f0 c2aa      	push	@r15,0xc2aa
     e74:	4d08 c2aa      	clr	0xc2aa
     e78:	dff9           	calr	0xe88
     e7a:	57f0 c2aa      	pop	0xc2aa,@r15
     e7e:	97f1           	pop	r1,@r15
     e80:	8411           	orb	rh1,rh1
     e82:	e601           	jr	eq,0xe86
     e84:	d9cc           	calr	0x1aee
     e86:	9e08           	ret	t
     e88:	2100 0035      	ld	r0,#0x35
     e8c:	2101 0078      	ld	r1,#0x78
     e90:	6102 c2aa      	ld	r2,0xc2aa
     e94:	2103 0000      	ld	r3,#0x0
     e98:	2104 4000      	ld	r4,#0x4000
     e9c:	2105 8000      	ld	r5,#0x8000
     ea0:	2106 c000      	ld	r6,#0xc000
     ea4:	6400 fff8      	setb	0xfff8,#0x0
     ea8:	7b09           	mres	
     eaa:	2f32           	ld	@r3,r2
     eac:	2f42           	ld	@r4,r2
     eae:	2f52           	ld	@r5,r2
     eb0:	2f62           	ld	@r6,r2
     eb2:	a931           	inc	r3,#0x2
     eb4:	a941           	inc	r4,#0x2
     eb6:	a951           	inc	r5,#0x2
     eb8:	a961           	inc	r6,#0x2
     eba:	f089           	djnz	r0,0xeaa
     ebc:	6200 fff8      	resb	0xfff8,#0x0
     ec0:	7b08           	mset	
     ec2:	2100 0035      	ld	r0,#0x35
     ec6:	f192           	djnz	r1,0xea4
     ec8:	9e08           	ret	t
     eca:	2101 01df      	ld	r1,#0x1df
     ece:	8361           	sub	r1,r6
     ed0:	6f01 c2a0      	ld	0xc2a0,r1
     ed4:	6f07 c29e      	ld	0xc29e,r7
     ed8:	9e08           	ret	t
     eda:	2101 01df      	ld	r1,#0x1df
     ede:	8361           	sub	r1,r6
     ee0:	6f01 c5e4      	ld	0xc5e4,r1
     ee4:	a173           	ld	r3,r7
     ee6:	6f03 c5e2      	ld	0xc5e2,r3
     eea:	4b01 c2a0      	cp	r1,0xc2a0
     eee:	5e0e 0b2c      	jp	ne,0xb2c
     ef2:	4b03 c29e      	cp	r3,0xc29e
     ef6:	5e06 11e4      	jp	eq,0x11e4
     efa:	ed04           	jr	pl,0xf04
     efc:	6d03 c29e      	ex	r3,0xc29e
     f00:	6f03 c5e2      	ld	0xc5e2,r3
     f04:	5c09 000e c538 	ldm	0xc538,r0,#0xf
     f0a:	6f01 c5fc      	ld	0xc5fc,r1
     f0e:	6f01 c600      	ld	0xc600,r1
     f12:	6f03 c5fe      	ld	0xc5fe,r3
     f16:	6103 c29e      	ld	r3,0xc29e
     f1a:	6f03 c602      	ld	0xc602,r3
     f1e:	6f03 c5fa      	ld	0xc5fa,r3
     f22:	4c04 c23f      	testb	0xc23f
     f26:	e601           	jr	eq,0xf2a
     f28:	df31           	calr	0x10c8
     f2a:	6101 c5fc      	ld	r1,0xc5fc
     f2e:	6103 c5fa      	ld	r3,0xc5fa
     f32:	d22e           	calr	0xad8
     f34:	6f03 c5fa      	ld	0xc5fa,r3
     f38:	bd3f           	ldk	r3,#0xf
     f3a:	8343           	sub	r3,r4
     f3c:	a930           	inc	r3,#0x1
     f3e:	4103 c602      	add	r3,0xc602
     f42:	6f03 c602      	ld	0xc602,r3
     f46:	8d42           	neg	r4
     f48:	2103 ffff      	ld	r3,#0xffff
     f4c:	b333 0400      	sdl	r3,r4
     f50:	6f03 c5fc      	ld	0xc5fc,r3
     f54:	6101 c600      	ld	r1,0xc600
     f58:	6103 c5fe      	ld	r3,0xc5fe
     f5c:	d243           	calr	0xad8
     f5e:	6f03 c5fe      	ld	0xc5fe,r3
     f62:	8d42           	neg	r4
     f64:	2105 7fff      	ld	r5,#0x7fff
     f68:	b353 0400      	sdl	r5,r4
     f6c:	8d50           	com	r5
     f6e:	6f05 c600      	ld	0xc600,r5
     f72:	ad5d           	ex	r13,r5
     f74:	760b 107e      	lda	r11,0x107e
     f78:	6109 c650      	ld	r9,0xc650
     f7c:	4c04 c23f      	testb	0xc23f
     f80:	ee08           	jr	ne,0xf92
     f82:	760b 102c      	lda	r11,0x102c
     f86:	6109 c25a      	ld	r9,0xc25a
     f8a:	600d c25c      	ldb	rl5,0xc25c
     f8e:	a0d5           	ldb	rh5,rl5
     f90:	a257           	resb	rh5,#0x7
     f92:	4b03 c5fa      	cp	r3,0xc5fa
     f96:	ee06           	jr	ne,0xfa4
     f98:	ad3e           	ex	r14,r3
     f9a:	470d c5fc      	and	r13,0xc5fc
     f9e:	6108 c29e      	ld	r8,0xc29e
     fa2:	e815           	jr	t,0xfce
     fa4:	6108 c29e      	ld	r8,0xc29e
     fa8:	610e c5fa      	ld	r14,0xc5fa
     fac:	610d c5fc      	ld	r13,0xc5fc
     fb0:	1fb0           	call	@r11
     fb2:	210d ffff      	ld	r13,#0xffff
     fb6:	6104 c5fe      	ld	r4,0xc5fe
     fba:	6108 c602      	ld	r8,0xc602
     fbe:	8b4e           	cp	r14,r4
     fc0:	e604           	jr	eq,0xfca
     fc2:	1fb0           	call	@r11
     fc4:	0108 0010      	add	r8,#0x10
     fc8:	e8fa           	jr	t,0xfbe
     fca:	610d c600      	ld	r13,0xc600
     fce:	1fb0           	call	@r11
     fd0:	6f07 c658      	ld	0xc658,r7
     fd4:	4c04 c23f      	testb	0xc23f
     fd8:	ee07           	jr	ne,0xfe8
     fda:	6f09 c25a      	ld	0xc25a,r9
     fde:	060d 8080      	andb	rl5,#0x80
     fe2:	845d           	orb	rl5,rh5
     fe4:	6e0d c25c      	ldb	0xc25c,rl5
     fe8:	5c01 000e c538 	ldm	r0,0xc538,#0xf
     fee:	6f07 c29e      	ld	0xc29e,r7
     ff2:	4c04 c240      	testb	0xc240
     ff6:	9e06           	ret	eq
     ff8:	6600 c699      	bitb	0xc699,#0x0
     ffc:	9e0e           	ret	ne
     ffe:	6103 c29e      	ld	r3,0xc29e
    1002:	6101 c2a0      	ld	r1,0xc2a0
    1006:	d298           	calr	0xad8
    1008:	6107 c658      	ld	r7,0xc658
    100c:	8727           	and	r7,r2
    100e:	6400 fff8      	setb	0xfff8,#0x0
    1012:	7b09           	mres	
    1014:	2135           	ld	r5,@r3
    1016:	8975           	xor	r5,r7
    1018:	2f35           	ld	@r3,r5
    101a:	6200 fff8      	resb	0xfff8,#0x0
    101e:	7b08           	mset	
    1020:	5c01 000e c538 	ldm	r0,0xc538,#0xf
    1026:	6f07 c29e      	ld	0xc29e,r7
    102a:	9e08           	ret	t
    102c:	8455           	orb	rh5,rh5
    102e:	ee0c           	jr	ne,0x1048
    1030:	209d           	ldb	rl5,@r9
    1032:	a990           	inc	r9,#0x1
    1034:	a0d5           	ldb	rh5,rl5
    1036:	0605 7f7f      	andb	rh5,#0x7f
    103a:	ee06           	jr	ne,0x1048
    103c:	6109 c258      	ld	r9,0xc258
    1040:	209d           	ldb	rl5,@r9
    1042:	a0d5           	ldb	rh5,rl5
    1044:	a257           	resb	rh5,#0x7
    1046:	a990           	inc	r9,#0x1
    1048:	c210           	ldb	rh2,#0x10
    104a:	89aa           	xor	r10,r10
    104c:	8911           	xor	r1,r1
    104e:	a6d7           	bitb	rl5,#0x7
    1050:	e601           	jr	eq,0x1054
    1052:	bd11           	ldk	r1,#0x1
    1054:	b3a1 0001      	sll	r10,#0x1
    1058:	851a           	or	r10,r1
    105a:	aa50           	decb	rh5,#0x1
    105c:	ee0a           	jr	ne,0x1072
    105e:	0c94           	testb	@r9
    1060:	ee02           	jr	ne,0x1066
    1062:	6109 c258      	ld	r9,0xc258
    1066:	209d           	ldb	rl5,@r9
    1068:	a0d5           	ldb	rh5,rl5
    106a:	a257           	resb	rh5,#0x7
    106c:	a990           	inc	r9,#0x1
    106e:	f212           	dbjnz	rh2,0x104c
    1070:	e802           	jr	t,0x1076
    1072:	aa20           	decb	rh2,#0x1
    1074:	eeef           	jr	ne,0x1054
    1076:	6107 c2aa      	ld	r7,0xc2aa
    107a:	87a7           	and	r7,r10
    107c:	e809           	jr	t,0x1090
    107e:	210a ffff      	ld	r10,#0xffff
    1082:	6197 c5c6      	ld	r7,0xc5c6(r9)
    1086:	a991           	inc	r9,#0x2
    1088:	0b09 000a      	cp	r9,#0xa
    108c:	ee01           	jr	ne,0x1090
    108e:	8999           	xor	r9,r9
    1090:	8966           	xor	r6,r6
    1092:	4c04 c240      	testb	0xc240
    1096:	ee01           	jr	ne,0x109a
    1098:	8d60           	com	r6
    109a:	87a6           	and	r6,r10
    109c:	87d6           	and	r6,r13
    109e:	87d7           	and	r7,r13
    10a0:	4c01 c22a 0303 	cpb	0xc22a,#0x3
    10a6:	e603           	jr	eq,0x10ae
    10a8:	df9a           	calr	0x1176
    10aa:	87c6           	and	r6,r12
    10ac:	87c7           	and	r7,r12
    10ae:	6400 fff8      	setb	0xfff8,#0x0
    10b2:	7b09           	mres	
    10b4:	21ec           	ld	r12,@r14
    10b6:	8d60           	com	r6
    10b8:	876c           	and	r12,r6
    10ba:	897c           	xor	r12,r7
    10bc:	2fec           	ld	@r14,r12
    10be:	6200 fff8      	resb	0xfff8,#0x0
    10c2:	7b08           	mset	
    10c4:	a9e1           	inc	r14,#0x2
    10c6:	9e08           	ret	t
    10c8:	5c01 0109 c44c 	ldm	r1,0xc44c,#0xa
    10ce:	5c09 0109 c5c6 	ldm	0xc5c6,r1,#0xa
    10d4:	6103 c2a0      	ld	r3,0xc2a0
    10d8:	8922           	xor	r2,r2
    10da:	bd18           	ldk	r1,#0x8
    10dc:	4c01 c23f 0202 	cpb	0xc23f,#0x2
    10e2:	e601           	jr	eq,0x10e6
    10e4:	a915           	inc	r1,#0x6
    10e6:	9b12           	div	rr2,r1
    10e8:	a120           	ld	r0,r2
    10ea:	a900           	inc	r0,#0x1
    10ec:	8955           	xor	r5,r5
    10ee:	7602 c5c6      	lda	r2,0xc5c6
    10f2:	bdbe           	ldk	r11,#0xe
    10f4:	4c01 c23f 0202 	cpb	0xc23f,#0x2
    10fa:	e601           	jr	eq,0x10fe
    10fc:	a9b3           	inc	r11,#0x4
    10fe:	2124           	ld	r4,@r2
    1100:	4c01 c23f 0202 	cpb	0xc23f,#0x2
    1106:	ee02           	jr	ne,0x110c
    1108:	b341 0008      	sll	r4,#0x8
    110c:	b343 0000      	sdl	r4,r0
    1110:	b35c           	rrc	r5,#0x1
    1112:	a921           	inc	r2,#0x2
    1114:	abb1           	dec	r11,#0x2
    1116:	edf3           	jr	pl,0x10fe
    1118:	4c01 c23f 0101 	cpb	0xc23f,#0x1
    111e:	e60a           	jr	eq,0x1134
    1120:	a05d           	ldb	rl5,rh5
    1122:	c905           	ldb	rl1,#0x5
    1124:	7603 c5c6      	lda	r3,0xc5c6
    1128:	2f35           	ld	@r3,r5
    112a:	a931           	inc	r3,#0x2
    112c:	f903           	dbjnz	rl1,0x1128
    112e:	4d08 c650      	clr	0xc650
    1132:	9e08           	ret	t
    1134:	8944           	xor	r4,r4
    1136:	a151           	ld	r1,r5
    1138:	b345 0006      	slll	rr4,#0x6
    113c:	8514           	or	r4,r1
    113e:	ad54           	ex	r4,r5
    1140:	760b c5c6      	lda	r11,0xc5c6
    1144:	c805           	ldb	rl0,#0x5
    1146:	2fb5           	ld	@r11,r5
    1148:	a9b1           	inc	r11,#0x2
    114a:	aa80           	decb	rl0,#0x1
    114c:	e606           	jr	eq,0x115a
    114e:	a141           	ld	r1,r4
    1150:	b345 000c      	slll	rr4,#0xc
    1154:	8514           	or	r4,r1
    1156:	ad54           	ex	r4,r5
    1158:	e8f6           	jr	t,0x1146
    115a:	6107 c29e      	ld	r7,0xc29e
    115e:	8966           	xor	r6,r6
    1160:	1b06 0050      	div	rr6,#0x50
    1164:	a167           	ld	r7,r6
    1166:	8966           	xor	r6,r6
    1168:	1b06 0010      	div	rr6,#0x10
    116c:	b371 0001      	sll	r7,#0x1
    1170:	6f07 c650      	ld	0xc650,r7
    1174:	9e08           	ret	t
    1176:	210c ffff      	ld	r12,#0xffff
    117a:	4c01 c232 0303 	cpb	0xc232,#0x3
    1180:	9e06           	ret	eq
    1182:	4c04 c248      	testb	0xc248
    1186:	9e06           	ret	eq
    1188:	a183           	ld	r3,r8
    118a:	0703 fff0      	and	r3,#0xfff0
    118e:	6f03 c29e      	ld	0xc29e,r3
    1192:	ca10           	ldb	rl2,#0x10
    1194:	8933           	xor	r3,r3
    1196:	d222           	calr	0xd54
    1198:	6008 c69c      	ldb	rl0,0xc69c
    119c:	8822           	xorb	rh2,rh2
    119e:	6000 c69d      	ldb	rh0,0xc69d
    11a2:	4600 c69e      	andb	rh0,0xc69e
    11a6:	ee01           	jr	ne,0x11aa
    11a8:	a820           	incb	rh2,#0x1
    11aa:	842b           	orb	rl3,rh2
    11ac:	aaa0           	decb	rl2,#0x1
    11ae:	e618           	jr	eq,0x11e0
    11b0:	b331 0001      	sll	r3,#0x1
    11b4:	aa80           	decb	rl0,#0x1
    11b6:	edf9           	jr	pl,0x11aa
    11b8:	6000 c69e      	ldb	rh0,0xc69e
    11bc:	b201 ffff      	srlb	rh0,#0x1
    11c0:	e704           	jr	c/ult,0x11ca
    11c2:	6e00 c69e      	ldb	0xc69e,rh0
    11c6:	c809           	ldb	rl0,#0x9
    11c8:	e8e9           	jr	t,0x119c
    11ca:	6900 c606      	inc	0xc606,#0x1
    11ce:	6101 c606      	ld	r1,0xc606
    11d2:	2010           	ldb	rh0,@r1
    11d4:	6e00 c69d      	ldb	0xc69d,rh0
    11d8:	4c05 c69e 8080 	ldb	0xc69e,#0x80
    11de:	e8de           	jr	t,0x119c
    11e0:	a13c           	ld	r12,r3
    11e2:	9e08           	ret	t
    11e4:	4c04 c240      	testb	0xc240
    11e8:	9e0e           	ret	ne
    11ea:	6103 c29e      	ld	r3,0xc29e
    11ee:	6101 c2a0      	ld	r1,0xc2a0
    11f2:	d38e           	calr	0xad8
    11f4:	4c01 c232 0303 	cpb	0xc232,#0x3
    11fa:	e606           	jr	eq,0x1208
    11fc:	d255           	calr	0xd54
    11fe:	600d c69d      	ldb	rl5,0xc69d
    1202:	460d c69e      	andb	rl5,0xc69e
    1206:	ee0e           	jr	ne,0x1224
    1208:	6105 c2aa      	ld	r5,0xc2aa
    120c:	8725           	and	r5,r2
    120e:	4c04 c240      	testb	0xc240
    1212:	6400 fff8      	setb	0xfff8,#0x0
    1216:	7b09           	mres	
    1218:	ee09           	jr	ne,0x122c
    121a:	a124           	ld	r4,r2
    121c:	8d40           	com	r4
    121e:	0734           	and	r4,@r3
    1220:	8554           	or	r4,r5
    1222:	2f34           	ld	@r3,r4
    1224:	6200 fff8      	resb	0xfff8,#0x0
    1228:	7b08           	mset	
    122a:	9e08           	ret	t
    122c:	2134           	ld	r4,@r3
    122e:	8954           	xor	r4,r5
    1230:	e8f8           	jr	t,0x1222
    1232:	53f0 c29e      	push	@r15,0xc29e
    1236:	53f0 c2a0      	push	@r15,0xc2a0
    123a:	5c01 0403 c620 	ldm	r4,0xc620,#0x4
    1240:	a153           	ld	r3,r5
    1242:	a142           	ld	r2,r4
    1244:	8877           	xorb	rh7,rh7
    1246:	df5b           	calr	0x1392
    1248:	6107 c2cc      	ld	r7,0xc2cc
    124c:	6106 c2ce      	ld	r6,0xc2ce
    1250:	6f07 c628      	ld	0xc628,r7
    1254:	df6e           	calr	0x137a
    1256:	57f0 c2a0      	pop	0xc2a0,@r15
    125a:	57f0 c29e      	pop	0xc29e,@r15
    125e:	9e08           	ret	t
    1260:	53f0 c29e      	push	@r15,0xc29e
    1264:	53f0 c2a0      	push	@r15,0xc2a0
    1268:	6107 c628      	ld	r7,0xc628
    126c:	6106 c62a      	ld	r6,0xc62a
    1270:	dff4           	calr	0x128a
    1272:	6107 c2cc      	ld	r7,0xc2cc
    1276:	6106 c2ce      	ld	r6,0xc2ce
    127a:	6f06 c62a      	ld	0xc62a,r6
    127e:	dffb           	calr	0x128a
    1280:	57f0 c2a0      	pop	0xc2a0,@r15
    1284:	57f0 c29e      	pop	0xc29e,@r15
    1288:	9e08           	ret	t
    128a:	8933           	xor	r3,r3
    128c:	2101 01df      	ld	r1,#0x1df
    1290:	8361           	sub	r1,r6
    1292:	d3de           	calr	0xad8
    1294:	2105 ffff      	ld	r5,#0xffff
    1298:	6102 c65c      	ld	r2,0xc65c
    129c:	6004 c677      	ldb	rh4,0xc677
    12a0:	2602 0400      	bitb	rh4,r2
    12a4:	e6fb           	jr	eq,0x129c
    12a6:	c432           	ldb	rh4,#0x32
    12a8:	6400 fff8      	setb	0xfff8,#0x0
    12ac:	7b09           	mres	
    12ae:	2132           	ld	r2,@r3
    12b0:	8952           	xor	r2,r5
    12b2:	2f32           	ld	@r3,r2
    12b4:	6200 fff8      	resb	0xfff8,#0x0
    12b8:	7b08           	mset	
    12ba:	a931           	inc	r3,#0x2
    12bc:	aa40           	decb	rh4,#0x1
    12be:	eef4           	jr	ne,0x12a8
    12c0:	4c04 c29b      	testb	0xc29b
    12c4:	9e06           	ret	eq
    12c6:	7601 c644      	lda	r1,0xc644
    12ca:	5310 c232      	push	@r1,0xc232
    12ce:	4c05 c232 0303 	ldb	0xc232,#0x3
    12d4:	5310 c238      	push	@r1,0xc238
    12d8:	4c05 c238 0101 	ldb	0xc238,#0x1
    12de:	5310 c240      	push	@r1,0xc240
    12e2:	4c05 c240 ffff 	ldb	0xc240,#0xff
    12e8:	5310 c2aa      	push	@r1,0xc2aa
    12ec:	4d05 c2aa ffff 	ld	0xc2aa,#0xffff
    12f2:	5310 c258      	push	@r1,0xc258
    12f6:	5310 c25a      	push	@r1,0xc25a
    12fa:	7602 51b2      	lda	r2,0x51b2
    12fe:	6f02 c258      	ld	0xc258,r2
    1302:	6f02 c25a      	ld	0xc25a,r2
    1306:	5310 c25c      	push	@r1,0xc25c
    130a:	4d08 c25c      	clr	0xc25c
    130e:	5310 c29e      	push	@r1,0xc29e
    1312:	5310 c2a0      	push	@r1,0xc2a0
    1316:	9316           	push	@r1,r6
    1318:	9317           	push	@r1,r7
    131a:	4d04 c62c      	test	0xc62c
    131e:	e608           	jr	eq,0x1330
    1320:	6107 c332      	ld	r7,0xc332
    1324:	6106 c334      	ld	r6,0xc334
    1328:	d228           	calr	0xeda
    132a:	4d08 c62c      	clr	0xc62c
    132e:	e80b           	jr	t,0x1346
    1330:	6107 c2cc      	ld	r7,0xc2cc
    1334:	6106 c2ce      	ld	r6,0xc2ce
    1338:	6f07 c332      	ld	0xc332,r7
    133c:	6f06 c334      	ld	0xc334,r6
    1340:	d234           	calr	0xeda
    1342:	6500 c62c      	set	0xc62c,#0x0
    1346:	7601 c62e      	lda	r1,0xc62e
    134a:	9717           	pop	r7,@r1
    134c:	9716           	pop	r6,@r1
    134e:	5710 c2a0      	pop	0xc2a0,@r1
    1352:	5710 c29e      	pop	0xc29e,@r1
    1356:	5710 c25c      	pop	0xc25c,@r1
    135a:	5710 c25a      	pop	0xc25a,@r1
    135e:	5710 c258      	pop	0xc258,@r1
    1362:	5710 c2aa      	pop	0xc2aa,@r1
    1366:	9712           	pop	r2,@r1
    1368:	6e02 c240      	ldb	0xc240,rh2
    136c:	9712           	pop	r2,@r1
    136e:	6e02 c238      	ldb	0xc238,rh2
    1372:	9712           	pop	r2,@r1
    1374:	6e02 c232      	ldb	0xc232,rh2
    1378:	9e08           	ret	t
    137a:	a173           	ld	r3,r7
    137c:	2101 01df      	ld	r1,#0x1df
    1380:	4301 c2f0      	sub	r1,0xc2f0
    1384:	d457           	calr	0xad8
    1386:	93f3           	push	@r15,r3
    1388:	a173           	ld	r3,r7
    138a:	8911           	xor	r1,r1
    138c:	d45b           	calr	0xad8
    138e:	a135           	ld	r5,r3
    1390:	97f6           	pop	r6,@r15
    1392:	93f6           	push	@r15,r6
    1394:	6101 c65c      	ld	r1,0xc65c
    1398:	600e c677      	ldb	rl6,0xc677
    139c:	2601 0e00      	bitb	rl6,r1
    13a0:	e6fb           	jr	eq,0x1398
    13a2:	97f6           	pop	r6,@r15
    13a4:	6400 fff8      	setb	0xfff8,#0x0
    13a8:	7b09           	mres	
    13aa:	2131           	ld	r1,@r3
    13ac:	8921           	xor	r1,r2
    13ae:	2f31           	ld	@r3,r1
    13b0:	6200 fff8      	resb	0xfff8,#0x0
    13b4:	7b08           	mset	
    13b6:	8b63           	cp	r3,r6
    13b8:	e609           	jr	eq,0x13cc
    13ba:	0103 4000      	add	r3,#0x4000
    13be:	a034           	ldb	rh4,rh3
    13c0:	0604 c0c0      	andb	rh4,#0xc0
    13c4:	eeef           	jr	ne,0x13a4
    13c6:	0103 006a      	add	r3,#0x6a
    13ca:	e8ec           	jr	t,0x13a4
    13cc:	a124           	ld	r4,r2
    13ce:	5c09 0403 c620 	ldm	0xc620,r4,#0x4
    13d4:	9e08           	ret	t
    13d6:	53f0 c29e      	push	@r15,0xc29e
    13da:	53f0 c2a0      	push	@r15,0xc2a0
    13de:	6107 c2cc      	ld	r7,0xc2cc
    13e2:	6106 c2ce      	ld	r6,0xc2ce
    13e6:	6f07 c628      	ld	0xc628,r7
    13ea:	6f06 c62a      	ld	0xc62a,r6
    13ee:	d0b3           	calr	0x128a
    13f0:	d03c           	calr	0x137a
    13f2:	e80a           	jr	t,0x1408
    13f4:	53f0 c29e      	push	@r15,0xc29e
    13f8:	53f0 c2a0      	push	@r15,0xc2a0
    13fc:	6107 c628      	ld	r7,0xc628
    1400:	6106 c62a      	ld	r6,0xc62a
    1404:	d0be           	calr	0x128a
    1406:	d047           	calr	0x137a
    1408:	57f0 c2a0      	pop	0xc2a0,@r15
    140c:	57f0 c29e      	pop	0xc29e,@r15
    1410:	9e08           	ret	t
    1412:	5c09 0806 c538 	ldm	0xc538,r8,#0x7
    1418:	3b14 a040      	in	r1,#0xa040			; recall contents of NVR
    141c:	7601 a0c0      	lda	r1,0xa0c0			; NVR read address
    1420:	7602 c200      	lda	r2,0xc200			; mem location to load to
    1424:	2103 0020      	ld	r3,#0x20			; NVR size
    1428:	8966           	xor	r6,r6
    142a:	3d14           	in	r4,@r1				; read first nibble from NVR
    142c:	060c 0f0f      	andb	rl4,#0xf
    1430:	a910           	inc	r1,#0x1
    1432:	3c1d           	inb	rl5,@r1				; read second nibble from NVR
    1434:	b351 0004      	sll	r5,#0x4
    1438:	060d f0f0      	andb	rl5,#0xf0
    143c:	84dc           	orb	rl4,rl5				; merge together
    143e:	2e2c           	ldb	@r2,rl4				; store in main memory
    1440:	80ce           	addb	rl6,rl4
    1442:	a910           	inc	r1,#0x1
    1444:	a920           	inc	r2,#0x1
    1446:	f38f           	djnz	r3,0x142a			; get next byte
    1448:	400e 4d3f      	addb	rl6,0x4d3f
    144c:	8566           	or	r6,r6
    144e:	e608           	jr	eq,0x1460			; verify checksum
    1450:	7608 c200      	lda	r8,0xc200			; checksum bad
    1454:	3409 0014      	ldar	r9,0x146c			; location of ROM backup
    1458:	210a 0020      	ld	r10,#0x20
    145c:	ba91 0a80      	ldirb	@r8,@r9,r10			; copy to memory
    1460:	93f6           	push	@r15,r6				; checksum ok
    1462:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
    1468:	97f2           	pop	r2,@r15
    146a:	9e08           	ret	t
    146c:	ee10           	jr	ne,0x148e			; start of ROM backup of NVR
    146e:	3f0d           	out	@r0,r13
    1470:	0ae2           	cpb	rh2,@r14
    1472:	0611           	andb	rh1,@r1
    1474:	1311           	push	@r1,@r1
    1476:	130d           	.word 130d
    1478:	0001 50e0      	addb	rh1,#0xe0
    147c:	0118           	add	r8,@r1
    147e:	0898           	xorb	rl0,@r9
    1480:	0898           	xorb	rl0,@r9
    1482:	5100           	.word 5100
	...
    148c:	7601 a0c0      	lda	r1,0xa0c0
    1490:	7602 c200      	lda	r2,0xc200
    1494:	2103 001f      	ld	r3,#0x1f
    1498:	8966           	xor	r6,r6
    149a:	202c           	ldb	rl4,@r2
    149c:	80ce           	addb	rl6,rl4
    149e:	3f14           	out	@r1,r4
    14a0:	a910           	inc	r1,#0x1
    14a2:	b2c1 fffc      	srlb	rl4,#0x4
    14a6:	3e1c           	outb	@r1,rl4
    14a8:	a910           	inc	r1,#0x1
    14aa:	a920           	inc	r2,#0x1
    14ac:	f38a           	djnz	r3,0x149a
    14ae:	400e 4d3f      	addb	rl6,0x4d3f
    14b2:	8ce2           	negb	rl6
    14b4:	3f16           	out	@r1,r6
    14b6:	a910           	inc	r1,#0x1
    14b8:	b2e1 fffc      	srlb	rl6,#0x4
    14bc:	3e1e           	outb	@r1,rl6
    14be:	3b14 a080      	in	r1,#0xa080
    14c2:	9e08           	ret	t
    14c4:	9e08           	ret	t
    14c6:	9e08           	ret	t
    14c8:	a171           	ld	r1,r7
    14ca:	8511           	or	r1,r1
    14cc:	9e06           	ret	eq
    14ce:	6f01 c5e0      	ld	0xc5e0,r1
    14d2:	4d04 c5e0      	test	0xc5e0
    14d6:	eefd           	jr	ne,0x14d2
    14d8:	9e08           	ret	t
    14da:	84ff           	orb	rl7,rl7
    14dc:	e601           	jr	eq,0x14e0
    14de:	cf80           	ldb	rl7,#0x80
    14e0:	080f 8080      	xorb	rl7,#0x80
    14e4:	6e0f c6a8      	ldb	0xc6a8,rl7
    14e8:	6007 c673      	ldb	rh7,0xc673
    14ec:	a277           	resb	rh7,#0x7
    14ee:	84f7           	orb	rh7,rl7
    14f0:	cf05           	ldb	rl7,#0x5
    14f2:	7c02           	di	nvi
    14f4:	3af6 0005      	outb	#0x5,rl7
    14f8:	3a76 0005      	outb	#0x5,rh7
    14fc:	6e07 c673      	ldb	0xc673,rh7
    1500:	7c06           	ei	nvi
    1502:	9e08           	ret	t
    1504:	e8ea           	jr	t,0x14da
    1506:	9e08           	ret	t
    1508:	5c09 0806 c538 	ldm	0xc538,r8,#0x7
    150e:	1906 0010      	mult	rr6,#0x10
    1512:	0107 029a      	add	r7,#0x29a
    1516:	a17e           	ld	r14,r7
    1518:	1ce1 0007      	ldm	r0,@r14,#0x8
    151c:	5c09 0007 c684 	ldm	0xc684,r0,#0x8
    1522:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
    1528:	9e08           	ret	t
    152a:	9e08           	ret	t
    152c:	5c09 0806 c518 	ldm	0xc518,r8,#0x7
    1532:	a178           	ld	r8,r7
    1534:	a169           	ld	r9,r6
    1536:	a15a           	ld	r10,r5
    1538:	a14b           	ld	r11,r4
    153a:	8b8a           	cp	r10,r8
    153c:	ed01           	jr	pl,0x1540
    153e:	ada8           	ex	r8,r10
    1540:	210c 01df      	ld	r12,#0x1df
    1544:	adc9           	ex	r9,r12
    1546:	83c9           	sub	r9,r12
    1548:	210c 01df      	ld	r12,#0x1df
    154c:	adcb           	ex	r11,r12
    154e:	83cb           	sub	r11,r12
    1550:	8b9b           	cp	r11,r9
    1552:	ed01           	jr	pl,0x1556
    1554:	ad9b           	ex	r11,r9
    1556:	610c c29e      	ld	r12,0xc29e
    155a:	610d c2a0      	ld	r13,0xc2a0
    155e:	6400 c699      	setb	0xc699,#0x0
    1562:	bd71           	ldk	r7,#0x1
    1564:	8966           	xor	r6,r6
    1566:	4c04 c248      	testb	0xc248
    156a:	ee0d           	jr	ne,0x1586
    156c:	4c04 c240      	testb	0xc240
    1570:	ee0a           	jr	ne,0x1586
    1572:	4c01 c23f 0202 	cpb	0xc23f,#0x2
    1578:	e603           	jr	eq,0x1580
    157a:	2106 000e      	ld	r6,#0xe
    157e:	e802           	jr	t,0x1584
    1580:	2106 0008      	ld	r6,#0x8
    1584:	a167           	ld	r7,r6
    1586:	6f09 c2a0      	ld	0xc2a0,r9
    158a:	6f08 c29e      	ld	0xc29e,r8
    158e:	a191           	ld	r1,r9
    1590:	a1a3           	ld	r3,r10
    1592:	d348           	calr	0xf04
    1594:	8b76           	cp	r6,r7
    1596:	ee08           	jr	ne,0x15a8
    1598:	53f0 c5fa      	push	@r15,0xc5fa
    159c:	53f0 c5fe      	push	@r15,0xc5fe
    15a0:	53f0 c5fc      	push	@r15,0xc5fc
    15a4:	53f0 c600      	push	@r15,0xc600
    15a8:	8bb9           	cp	r9,r11
    15aa:	e604           	jr	eq,0x15b4
    15ac:	a990           	inc	r9,#0x1
    15ae:	ab60           	dec	r6,#0x1
    15b0:	eeea           	jr	ne,0x1586
    15b2:	e811           	jr	t,0x15d6
    15b4:	4c04 c248      	testb	0xc248
    15b8:	ee04           	jr	ne,0x15c2
    15ba:	4c04 c240      	testb	0xc240
    15be:	ee01           	jr	ne,0x15c2
    15c0:	a9f7           	inc	r15,#0x8
    15c2:	6f0c c29e      	ld	0xc29e,r12
    15c6:	6f0d c2a0      	ld	0xc2a0,r13
    15ca:	5c01 0806 c518 	ldm	r8,0xc518,#0x7
    15d0:	4c08 c699      	clrb	0xc699
    15d4:	9e08           	ret	t
    15d6:	97f6           	pop	r6,@r15
    15d8:	97f5           	pop	r5,@r15
    15da:	97f2           	pop	r2,@r15
    15dc:	97f1           	pop	r1,@r15
    15de:	a038           	ldb	rl0,rh3
    15e0:	6103 c5fa      	ld	r3,0xc5fa
    15e4:	6104 c5fe      	ld	r4,0xc5fe
    15e8:	0104 4000      	add	r4,#0x4000
    15ec:	0103 4000      	add	r3,#0x4000
    15f0:	a030           	ldb	rh0,rh3
    15f2:	0600 c0c0      	andb	rh0,#0xc0
    15f6:	ee04           	jr	ne,0x1600
    15f8:	0103 006a      	add	r3,#0x6a
    15fc:	0104 006a      	add	r4,#0x6a
    1600:	8b43           	cp	r3,r4
    1602:	e639           	jr	eq,0x1676
    1604:	a157           	ld	r7,r5
    1606:	6400 fff8      	setb	0xfff8,#0x0
    160a:	7b09           	mres	
    160c:	0717           	and	r7,@r1
    160e:	a158           	ld	r8,r5
    1610:	8d80           	com	r8
    1612:	0738           	and	r8,@r3
    1614:	8578           	or	r8,r7
    1616:	2f38           	ld	@r3,r8
    1618:	6200 fff8      	resb	0xfff8,#0x0
    161c:	7b08           	mset	
    161e:	93f1           	push	@r15,r1
    1620:	93f3           	push	@r15,r3
    1622:	a911           	inc	r1,#0x2
    1624:	a931           	inc	r3,#0x2
    1626:	8b43           	cp	r3,r4
    1628:	e609           	jr	eq,0x163c
    162a:	6400 fff8      	setb	0xfff8,#0x0
    162e:	7b09           	mres	
    1630:	2117           	ld	r7,@r1
    1632:	2f37           	ld	@r3,r7
    1634:	6200 fff8      	resb	0xfff8,#0x0
    1638:	7b08           	mset	
    163a:	e8f3           	jr	t,0x1622
    163c:	a167           	ld	r7,r6
    163e:	6400 fff8      	setb	0xfff8,#0x0
    1642:	7b09           	mres	
    1644:	0717           	and	r7,@r1
    1646:	a168           	ld	r8,r6
    1648:	8d80           	com	r8
    164a:	0738           	and	r8,@r3
    164c:	8578           	or	r8,r7
    164e:	2f38           	ld	@r3,r8
    1650:	6200 fff8      	resb	0xfff8,#0x0
    1654:	7b08           	mset	
    1656:	97f3           	pop	r3,@r15
    1658:	97f1           	pop	r1,@r15
    165a:	8bb9           	cp	r9,r11
    165c:	e60a           	jr	eq,0x1672
    165e:	a990           	inc	r9,#0x1
    1660:	0101 4000      	add	r1,#0x4000
    1664:	a010           	ldb	rh0,rh1
    1666:	0600 c0c0      	andb	rh0,#0xc0
    166a:	eebe           	jr	ne,0x15e8
    166c:	0101 006a      	add	r1,#0x6a
    1670:	e8bb           	jr	t,0x15e8
    1672:	5e08 15c2      	jp	t,0x15c2
    1676:	8765           	and	r5,r6
    1678:	a156           	ld	r6,r5
    167a:	8d60           	com	r6
    167c:	a157           	ld	r7,r5
    167e:	6400 fff8      	setb	0xfff8,#0x0
    1682:	7b09           	mres	
    1684:	0717           	and	r7,@r1
    1686:	a168           	ld	r8,r6
    1688:	0738           	and	r8,@r3
    168a:	8578           	or	r8,r7
    168c:	2f38           	ld	@r3,r8
    168e:	6200 fff8      	resb	0xfff8,#0x0
    1692:	7b08           	mset	
    1694:	8bb9           	cp	r9,r11
    1696:	e6ed           	jr	eq,0x1672
    1698:	a990           	inc	r9,#0x1
    169a:	0101 4000      	add	r1,#0x4000
    169e:	a010           	ldb	rh0,rh1
    16a0:	0600 c0c0      	andb	rh0,#0xc0
    16a4:	ee02           	jr	ne,0x16aa
    16a6:	0101 006a      	add	r1,#0x6a
    16aa:	0103 4000      	add	r3,#0x4000
    16ae:	a030           	ldb	rh0,rh3
    16b0:	0600 c0c0      	andb	rh0,#0xc0
    16b4:	eee3           	jr	ne,0x167c
    16b6:	0103 006a      	add	r3,#0x6a
    16ba:	e8e0           	jr	t,0x167c
    16bc:	7c02           	di	nvi
    16be:	5f00 21c4      	call	0x21c4
    16c2:	6602 c210      	bitb	0xc210,#0x2
    16c6:	e805           	jr	t,0x16d2
    16c8:	7c02           	di	nvi
    16ca:	5f00 21e8      	call	0x21e8
    16ce:	6603 c210      	bitb	0xc210,#0x3
    16d2:	7c06           	ei	nvi
    16d4:	9e06           	ret	eq
    16d6:	5e08 1d8c      	jp	t,0x1d8c
    16da:	7c02           	di	nvi
    16dc:	5f00 21d2      	call	0x21d2
    16e0:	7c06           	ei	nvi
    16e2:	8522           	or	r2,r2
    16e4:	8d07           	nop	
    16e6:	8d07           	nop	
    16e8:	8d07           	nop	
    16ea:	8d07           	nop	
    16ec:	8d07           	nop	
    16ee:	8d07           	nop	
    16f0:	8d07           	nop	
    16f2:	8d07           	nop	
    16f4:	eef2           	jr	ne,0x16da
    16f6:	9e08           	ret	t
    16f8:	7c02           	di	nvi
    16fa:	5f00 21f6      	call	0x21f6
    16fe:	7c06           	ei	nvi
    1700:	8522           	or	r2,r2
    1702:	8d07           	nop	
    1704:	8d07           	nop	
    1706:	8d07           	nop	
    1708:	8d07           	nop	
    170a:	8d07           	nop	
    170c:	8d07           	nop	
    170e:	8d07           	nop	
    1710:	8d07           	nop	
    1712:	eef2           	jr	ne,0x16f8
    1714:	9e08           	ret	t
    1716:	6606 c205      	bitb	0xc205,#0x6
    171a:	9e06           	ret	eq
    171c:	6706 c654      	bit	0xc654,#0x6
    1720:	9e06           	ret	eq
    1722:	6306 c654      	res	0xc654,#0x6
    1726:	4c04 c6aa      	testb	0xc6aa
    172a:	e60c           	jr	eq,0x1744
    172c:	6009 c201      	ldb	rl1,0xc201
    1730:	b291 ffff      	srlb	rl1,#0x1
    1734:	0609 0707      	andb	rl1,#0x7
    1738:	0a09 0101      	cpb	rl1,#0x1
    173c:	e60a           	jr	eq,0x1752
    173e:	6601 c201      	bitb	0xc201,#0x1
    1742:	9e0e           	ret	ne
    1744:	4c01 c67c 1313 	cpb	0xc67c,#0x13
    174a:	9e06           	ret	eq
    174c:	6504 c654      	set	0xc654,#0x4
    1750:	e83f           	jr	t,0x17d0
    1752:	2101 05ea      	ld	r1,#0x5ea
    1756:	7c02           	di	nvi
    1758:	3a16 0007      	outb	#0x7,rh1
    175c:	3a96 0007      	outb	#0x7,rl1
    1760:	7c06           	ei	nvi
    1762:	9e08           	ret	t
    1764:	6707 c654      	bit	0xc654,#0x7
    1768:	9e06           	ret	eq
    176a:	6307 c654      	res	0xc654,#0x7
    176e:	6505 c654      	set	0xc654,#0x5
    1772:	e876           	jr	t,0x1860
    1774:	6606 c205      	bitb	0xc205,#0x6
    1778:	9e06           	ret	eq
    177a:	4c04 c6aa      	testb	0xc6aa
    177e:	e60c           	jr	eq,0x1798
    1780:	6009 c201      	ldb	rl1,0xc201
    1784:	b291 ffff      	srlb	rl1,#0x1
    1788:	0609 0707      	andb	rl1,#0x7
    178c:	0a09 0101      	cpb	rl1,#0x1
    1790:	e60e           	jr	eq,0x17ae
    1792:	6601 c201      	bitb	0xc201,#0x1
    1796:	9e0e           	ret	ne
    1798:	6506 c654      	set	0xc654,#0x6
    179c:	4c01 c67c 1313 	cpb	0xc67c,#0x13
    17a2:	9e06           	ret	eq
    17a4:	6502 c654      	set	0xc654,#0x2
    17a8:	6304 c654      	res	0xc654,#0x4
    17ac:	e811           	jr	t,0x17d0
    17ae:	2101 05e8      	ld	r1,#0x5e8
    17b2:	7c02           	di	nvi
    17b4:	3a16 0007      	outb	#0x7,rh1
    17b8:	3a96 0007      	outb	#0x7,rl1
    17bc:	7c06           	ei	nvi
    17be:	9e08           	ret	t
    17c0:	6606 c205      	bitb	0xc205,#0x6
    17c4:	9e06           	ret	eq
    17c6:	6507 c654      	set	0xc654,#0x7
    17ca:	6503 c654      	set	0xc654,#0x3
    17ce:	e848           	jr	t,0x1860
    17d0:	6700 c654      	bit	0xc654,#0x0
    17d4:	9e0e           	ret	ne
    17d6:	6500 c654      	set	0xc654,#0x0
    17da:	4c04 c6aa      	testb	0xc6aa
    17de:	e608           	jr	eq,0x17f0
    17e0:	6007 c201      	ldb	rh7,0xc201
    17e4:	b271 ffff      	srlb	rh7,#0x1
    17e8:	0607 0707      	andb	rh7,#0x7
    17ec:	a670           	bitb	rh7,#0x0
    17ee:	ee03           	jr	ne,0x17f6
    17f0:	5f00 0386      	call	0x386
    17f4:	9e08           	ret	t
    17f6:	0a07 0303      	cpb	rh7,#0x3
    17fa:	ee06           	jr	ne,0x1808
    17fc:	4c04 c23c      	testb	0xc23c
    1800:	ee0c           	jr	ne,0x181a
    1802:	6407 c675      	setb	0xc675,#0x7
    1806:	9e08           	ret	t
    1808:	0a07 0505      	cpb	rh7,#0x5
    180c:	e606           	jr	eq,0x181a
    180e:	6404 c675      	setb	0xc675,#0x4
    1812:	6603 c678      	bitb	0xc678,#0x3
    1816:	ee0e           	jr	ne,0x1834
    1818:	9e08           	ret	t
    181a:	6603 c677      	bitb	0xc677,#0x3
    181e:	e604           	jr	eq,0x1828
    1820:	c709           	ldb	rh7,#0x9
    1822:	6e07 c676      	ldb	0xc676,rh7
    1826:	e803           	jr	t,0x182e
    1828:	4c04 c676      	testb	0xc676
    182c:	e60b           	jr	eq,0x1844
    182e:	6400 c675      	setb	0xc675,#0x0
    1832:	9e08           	ret	t
    1834:	c705           	ldb	rh7,#0x5
    1836:	7c02           	di	nvi
    1838:	3a76 0007      	outb	#0x7,rh7
    183c:	c7e8           	ldb	rh7,#0xe8
    183e:	3a76 0007      	outb	#0x7,rh7
    1842:	7c06           	ei	nvi
    1844:	6401 c674      	setb	0xc674,#0x1
    1848:	6007 c674      	ldb	rh7,0xc674
    184c:	dfff           	calr	0x1850
    184e:	e8d0           	jr	t,0x17f0
    1850:	cf05           	ldb	rl7,#0x5
    1852:	7c02           	di	nvi
    1854:	3af6 0005      	outb	#0x5,rl7
    1858:	3a76 0005      	outb	#0x5,rh7
    185c:	7c06           	ei	nvi
    185e:	9e08           	ret	t
    1860:	6701 c654      	bit	0xc654,#0x1
    1864:	9e0e           	ret	ne
    1866:	6501 c654      	set	0xc654,#0x1
    186a:	5f00 058a      	call	0x58a
    186e:	9e08           	ret	t
    1870:	53f0 c2a6      	push	@r15,0xc2a6
    1874:	53f0 c2a8      	push	@r15,0xc2a8
    1878:	4d08 c2a6      	clr	0xc2a6
    187c:	4d08 c2a8      	clr	0xc2a8
    1880:	7607 1896      	lda	r7,0x1896
    1884:	dfef           	calr	0x18a8
    1886:	7607 189f      	lda	r7,0x189f
    188a:	dff2           	calr	0x18a8
    188c:	57f0 c2a8      	pop	0xc2a8,@r15
    1890:	57f0 c2a6      	pop	0xc2a6,@r15
    1894:	9e08           	ret	t
    1896:	fefe           	djnz	r14,0x179c
    1898:	fefe           	djnz	r14,0x179e
    189a:	fefe           	djnz	r14,0x17a0
    189c:	fefe           	djnz	r14,0x17a2
    189e:	feff           	djnz	r14,0x17a2
    18a0:	ffff           	djnz	r15,0x17a4
    18a2:	ffff           	djnz	r15,0x17a6
    18a4:	ffff           	djnz	r15,0x17a8
    18a6:	ffff           	djnz	r15,0x17aa
    18a8:	5c09 0806 c538 	ldm	0xc538,r8,#0x7
    18ae:	88aa           	xorb	rl2,rl2
    18b0:	6e0a c69f      	ldb	0xc69f,rl2
    18b4:	6000 c680      	ldb	rh0,0xc680
    18b8:	93f0           	push	@r15,r0
    18ba:	8400           	orb	rh0,rh0
    18bc:	e601           	jr	eq,0x18c0
    18be:	dede           	calr	0x1b04
    18c0:	a179           	ld	r9,r7
    18c2:	6008 c23e      	ldb	rl0,0xc23e
    18c6:	8488           	orb	rl0,rl0
    18c8:	ee05           	jr	ne,0x18d4
    18ca:	2690           	bitb	@r9,#0x0
    18cc:	e603           	jr	eq,0x18d4
    18ce:	4c05 c69f 0101 	ldb	0xc69f,#0x1
    18d4:	6102 c2a0      	ld	r2,0xc2a0
    18d8:	4c01 c232 0303 	cpb	0xc232,#0x3
    18de:	ee07           	jr	ne,0x18ee
    18e0:	6101 c2e0      	ld	r1,0xc2e0
    18e4:	4302 c684      	sub	r2,0xc684
    18e8:	f183           	djnz	r1,0x18e4
    18ea:	a920           	inc	r2,#0x1
    18ec:	e802           	jr	t,0x18f2
    18ee:	4302 c686      	sub	r2,0xc686
    18f2:	a121           	ld	r1,r2
    18f4:	6103 c29e      	ld	r3,0xc29e
    18f8:	d711           	calr	0xad8
    18fa:	a13e           	ld	r14,r3
    18fc:	a141           	ld	r1,r4
    18fe:	8d12           	neg	r1
    1900:	6108 c686      	ld	r8,0xc686
    1904:	4c01 c232 0303 	cpb	0xc232,#0x3
    190a:	ee04           	jr	ne,0x1914
    190c:	4d01 c2de 0001 	cp	0xc2de,#0x1
    1912:	ee49           	jr	ne,0x19a6
    1914:	8488           	orb	rl0,rl0
    1916:	e602           	jr	eq,0x191c
    1918:	df3a           	calr	0x1aa6
    191a:	e801           	jr	t,0x191e
    191c:	df71           	calr	0x1a3c
    191e:	6400 fff8      	setb	0xfff8,#0x0
    1922:	7b09           	mres	
    1924:	21ed           	ld	r13,@r14
    1926:	6200 fff8      	resb	0xfff8,#0x0
    192a:	7b08           	mset	
    192c:	4c04 c240      	testb	0xc240
    1930:	e602           	jr	eq,0x1936
    1932:	894d           	xor	r13,r4
    1934:	e802           	jr	t,0x193a
    1936:	872d           	and	r13,r2
    1938:	854d           	or	r13,r4
    193a:	6400 fff8      	setb	0xfff8,#0x0
    193e:	7b09           	mres	
    1940:	2fed           	ld	@r14,r13
    1942:	6200 fff8      	resb	0xfff8,#0x0
    1946:	7b08           	mset	
    1948:	a9e1           	inc	r14,#0x2
    194a:	6400 fff8      	setb	0xfff8,#0x0
    194e:	7b09           	mres	
    1950:	21ed           	ld	r13,@r14
    1952:	6200 fff8      	resb	0xfff8,#0x0
    1956:	7b08           	mset	
    1958:	4c04 c240      	testb	0xc240
    195c:	e602           	jr	eq,0x1962
    195e:	895d           	xor	r13,r5
    1960:	e802           	jr	t,0x1966
    1962:	873d           	and	r13,r3
    1964:	855d           	or	r13,r5
    1966:	6400 fff8      	setb	0xfff8,#0x0
    196a:	7b09           	mres	
    196c:	2fed           	ld	@r14,r13
    196e:	6200 fff8      	resb	0xfff8,#0x0
    1972:	7b08           	mset	
    1974:	abe1           	dec	r14,#0x2
    1976:	010e 4000      	add	r14,#0x4000
    197a:	a7ef           	bit	r14,#0xf
    197c:	ee04           	jr	ne,0x1986
    197e:	a7ee           	bit	r14,#0xe
    1980:	ee02           	jr	ne,0x1986
    1982:	010e 006a      	add	r14,#0x6a
    1986:	a1ed           	ld	r13,r14
    1988:	070d 3fff      	and	r13,#0x3fff
    198c:	0b0d 31b0      	cp	r13,#0x31b0
    1990:	ef02           	jr	nc/uge,0x1996
    1992:	ab80           	dec	r8,#0x1
    1994:	edbf           	jr	pl,0x1914
    1996:	97f0           	pop	r0,@r15
    1998:	8400           	orb	rh0,rh0
    199a:	e601           	jr	eq,0x199e
    199c:	df58           	calr	0x1aee
    199e:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
    19a4:	9e08           	ret	t
    19a6:	dfb6           	calr	0x1a3c
    19a8:	a112           	ld	r2,r1
    19aa:	8d22           	neg	r2
    19ac:	b347 0200      	sdll	rr4,r2
    19b0:	89aa           	xor	r10,r10
    19b2:	89bb           	xor	r11,r11
    19b4:	89cc           	xor	r12,r12
    19b6:	6103 c2de      	ld	r3,0xc2de
    19ba:	cc08           	ldb	rl4,#0x8
    19bc:	a640           	bitb	rh4,#0x0
    19be:	e601           	jr	eq,0x19c2
    19c0:	a5af           	set	r10,#0xf
    19c2:	ab30           	dec	r3,#0x1
    19c4:	e603           	jr	eq,0x19cc
    19c6:	b3a5 ffff      	srll	rr10,#0x1
    19ca:	e8f8           	jr	t,0x19bc
    19cc:	6103 c2de      	ld	r3,0xc2de
    19d0:	b244           	rrb	rh4,#0x1
    19d2:	fc0c           	dbjnz	rl4,0x19bc
    19d4:	6104 c2e0      	ld	r4,0xc2e0
    19d8:	ab20           	dec	r2,#0x1
    19da:	e504           	jr	mi,0x19e4
    19dc:	b3a5 ffff      	srll	rr10,#0x1
    19e0:	b3cc           	rrc	r12,#0x1
    19e2:	e8fa           	jr	t,0x19d8
    19e4:	a1ed           	ld	r13,r14
    19e6:	ca03           	ldb	rl2,#0x3
    19e8:	6002 c240      	ldb	rh2,0xc240
    19ec:	6400 fff8      	setb	0xfff8,#0x0
    19f0:	7b09           	mres	
    19f2:	8422           	orb	rh2,rh2
    19f4:	e603           	jr	eq,0x19fc
    19f6:	21d6           	ld	r6,@r13
    19f8:	89a6           	xor	r6,r10
    19fa:	e804           	jr	t,0x1a04
    19fc:	a1a6           	ld	r6,r10
    19fe:	8d60           	com	r6
    1a00:	07d6           	and	r6,@r13
    1a02:	85a6           	or	r6,r10
    1a04:	2fd6           	ld	@r13,r6
    1a06:	adca           	ex	r10,r12
    1a08:	adba           	ex	r10,r11
    1a0a:	aaa0           	decb	rl2,#0x1
    1a0c:	e602           	jr	eq,0x1a12
    1a0e:	a9d1           	inc	r13,#0x2
    1a10:	e8f0           	jr	t,0x19f2
    1a12:	6200 fff8      	resb	0xfff8,#0x0
    1a16:	7b08           	mset	
    1a18:	010e 4000      	add	r14,#0x4000
    1a1c:	a7ef           	bit	r14,#0xf
    1a1e:	ee04           	jr	ne,0x1a28
    1a20:	a7ee           	bit	r14,#0xe
    1a22:	ee02           	jr	ne,0x1a28
    1a24:	010e 006a      	add	r14,#0x6a
    1a28:	a1ed           	ld	r13,r14
    1a2a:	070d 3fff      	and	r13,#0x3fff
    1a2e:	0b0d 31b0      	cp	r13,#0x31b0
    1a32:	efb1           	jr	nc/uge,0x1996
    1a34:	f4a9           	djnz	r4,0x19e4
    1a36:	f8c9           	djnz	r8,0x19a6
    1a38:	5e08 1996      	jp	t,0x1996
    1a3c:	6102 c68a      	ld	r2,0xc68a
    1a40:	8944           	xor	r4,r4
    1a42:	8933           	xor	r3,r3
    1a44:	8955           	xor	r5,r5
    1a46:	4c04 c69f      	testb	0xc69f
    1a4a:	e60c           	jr	eq,0x1a64
    1a4c:	4b08 c68c      	cp	r8,0xc68c
    1a50:	ed0e           	jr	pl,0x1a6e
    1a52:	4b08 c68e      	cp	r8,0xc68e
    1a56:	e50b           	jr	mi,0x1a6e
    1a58:	4b08 c690      	cp	r8,0xc690
    1a5c:	ee06           	jr	ne,0x1a6a
    1a5e:	2094           	ldb	rh4,@r9
    1a60:	a240           	resb	rh4,#0x0
    1a62:	e804           	jr	t,0x1a6c
    1a64:	4b08 c692      	cp	r8,0xc692
    1a68:	e502           	jr	mi,0x1a6e
    1a6a:	2094           	ldb	rh4,@r9
    1a6c:	a990           	inc	r9,#0x1
    1a6e:	4c01 c232 0303 	cpb	0xc232,#0x3
    1a74:	ee01           	jr	ne,0x1a78
    1a76:	a142           	ld	r2,r4
    1a78:	b327 0100      	sdll	rr2,r1
    1a7c:	b347 0100      	sdll	rr4,r1
    1a80:	dff8           	calr	0x1a92
    1a82:	8724           	and	r4,r2
    1a84:	ad54           	ex	r4,r5
    1a86:	dffb           	calr	0x1a92
    1a88:	8734           	and	r4,r3
    1a8a:	ad54           	ex	r4,r5
    1a8c:	8d20           	com	r2
    1a8e:	8d30           	com	r3
    1a90:	9e08           	ret	t
    1a92:	a14a           	ld	r10,r4
    1a94:	490a c2a8      	xor	r10,0xc2a8
    1a98:	a14b           	ld	r11,r4
    1a9a:	8db0           	com	r11
    1a9c:	87ba           	and	r10,r11
    1a9e:	4704 c2a6      	and	r4,0xc2a6
    1aa2:	85a4           	or	r4,r10
    1aa4:	9e08           	ret	t
    1aa6:	0b08 000d      	cp	r8,#0xd
    1aaa:	ee0a           	jr	ne,0x1ac0
    1aac:	760a c5c6      	lda	r10,0xc5c6
    1ab0:	210b 0012      	ld	r11,#0x12
    1ab4:	71bc 0900      	ld	r12,r11(r9)
    1ab8:	73bc 0a00      	ld	r11(r10),r12
    1abc:	abb1           	dec	r11,#0x2
    1abe:	edfa           	jr	pl,0x1ab4
    1ac0:	8933           	xor	r3,r3
    1ac2:	8944           	xor	r4,r4
    1ac4:	8955           	xor	r5,r5
    1ac6:	760a c5c6      	lda	r10,0xc5c6
    1aca:	bdba           	ldk	r11,#0xa
    1acc:	21ac           	ld	r12,@r10
    1ace:	b3c0           	rl	r12,#0x1
    1ad0:	b34c           	rrc	r4,#0x1
    1ad2:	2fac           	ld	@r10,r12
    1ad4:	a9a1           	inc	r10,#0x2
    1ad6:	fb86           	djnz	r11,0x1acc
    1ad8:	2102 ffc0      	ld	r2,#0xffc0
    1adc:	b327 0100      	sdll	rr2,r1
    1ae0:	b347 0100      	sdll	rr4,r1
    1ae4:	8724           	and	r4,r2
    1ae6:	8735           	and	r5,r3
    1ae8:	8d20           	com	r2
    1aea:	8d30           	com	r3
    1aec:	9e08           	ret	t
    1aee:	7601 0a94      	lda	r1,0xa94
    1af2:	6f01 c644      	ld	0xc644,r1
    1af6:	4c05 c680 0101 	ldb	0xc680,#0x1
    1afc:	4d05 c5de 0001 	ld	0xc5de,#0x1
    1b02:	9e08           	ret	t
    1b04:	5c09 000e c56c 	ldm	0xc56c,r0,#0xf
    1b0a:	8911           	xor	r1,r1
    1b0c:	6f01 c644      	ld	0xc644,r1
    1b10:	4c08 c680      	clrb	0xc680
    1b14:	dfb6           	calr	0x1baa
    1b16:	5c01 000e c56c 	ldm	r0,0xc56c,#0xf
    1b1c:	9e08           	ret	t
    1b1e:	4c04 c67f      	testb	0xc67f
    1b22:	ee02           	jr	ne,0x1b28
    1b24:	dffd           	calr	0x1b2c
    1b26:	9e08           	ret	t
    1b28:	dfc0           	calr	0x1baa
    1b2a:	9e08           	ret	t
    1b2c:	4c04 c67f      	testb	0xc67f
    1b30:	9e0e           	ret	ne
    1b32:	4c05 c67f 0101 	ldb	0xc67f,#0x1
    1b38:	6103 c29e      	ld	r3,0xc29e
    1b3c:	6101 c2a0      	ld	r1,0xc2a0
    1b40:	5f00 0ad8      	call	0xad8
    1b44:	a142           	ld	r2,r4
    1b46:	7601 c5ac      	lda	r1,0xc5ac
    1b4a:	ce03           	ldb	rl6,#0x3
    1b4c:	2f10           	ld	@r1,r0
    1b4e:	a911           	inc	r1,#0x2
    1b50:	2f13           	ld	@r1,r3
    1b52:	a135           	ld	r5,r3
    1b54:	a911           	inc	r1,#0x2
    1b56:	6400 fff8      	setb	0xfff8,#0x0
    1b5a:	7b09           	mres	
    1b5c:	2154           	ld	r4,@r5
    1b5e:	6200 fff8      	resb	0xfff8,#0x0
    1b62:	7b08           	mset	
    1b64:	2f14           	ld	@r1,r4
    1b66:	a951           	inc	r5,#0x2
    1b68:	fe0b           	dbjnz	rl6,0x1b54
    1b6a:	2104 fe00      	ld	r4,#0xfe00
    1b6e:	8955           	xor	r5,r5
    1b70:	a156           	ld	r6,r5
    1b72:	6101 c2de      	ld	r1,0xc2de
    1b76:	ab10           	dec	r1,#0x1
    1b78:	e603           	jr	eq,0x1b80
    1b7a:	b34d fff9      	sral	rr4,#0x7
    1b7e:	e8fb           	jr	t,0x1b76
    1b80:	ab20           	dec	r2,#0x1
    1b82:	e504           	jr	mi,0x1b8c
    1b84:	b345 ffff      	srll	rr4,#0x1
    1b88:	b36c           	rrc	r6,#0x1
    1b8a:	e8fa           	jr	t,0x1b80
    1b8c:	6400 fff8      	setb	0xfff8,#0x0
    1b90:	7b09           	mres	
    1b92:	0934           	xor	r4,@r3
    1b94:	2f34           	ld	@r3,r4
    1b96:	a931           	inc	r3,#0x2
    1b98:	0935           	xor	r5,@r3
    1b9a:	2f35           	ld	@r3,r5
    1b9c:	a931           	inc	r3,#0x2
    1b9e:	0936           	xor	r6,@r3
    1ba0:	2f36           	ld	@r3,r6
    1ba2:	6200 fff8      	resb	0xfff8,#0x0
    1ba6:	7b08           	mset	
    1ba8:	9e08           	ret	t
    1baa:	4c04 c67f      	testb	0xc67f
    1bae:	9e06           	ret	eq
    1bb0:	4c08 c67f      	clrb	0xc67f
    1bb4:	7601 c5ac      	lda	r1,0xc5ac
    1bb8:	2110           	ld	r0,@r1
    1bba:	a911           	inc	r1,#0x2
    1bbc:	2113           	ld	r3,@r1
    1bbe:	ca03           	ldb	rl2,#0x3
    1bc0:	a911           	inc	r1,#0x2
    1bc2:	2114           	ld	r4,@r1
    1bc4:	6400 fff8      	setb	0xfff8,#0x0
    1bc8:	7b09           	mres	
    1bca:	2f34           	ld	@r3,r4
    1bcc:	6200 fff8      	resb	0xfff8,#0x0
    1bd0:	7b08           	mset	
    1bd2:	a931           	inc	r3,#0x2
    1bd4:	fa0b           	dbjnz	rl2,0x1bc0
    1bd6:	9e08           	ret	t
    1bd8:	2e7e           	ldb	@r7,rl6
    1bda:	a176           	ld	r6,r7
    1bdc:	a960           	inc	r6,#0x1
    1bde:	ab50           	dec	r5,#0x1
    1be0:	207c           	ldb	rl4,@r7
    1be2:	2e6c           	ldb	@r6,rl4
    1be4:	a970           	inc	r7,#0x1
    1be6:	a960           	inc	r6,#0x1
    1be8:	f585           	djnz	r5,0x1be0
    1bea:	9e08           	ret	t
    1bec:	df75           	calr	0x1d04
    1bee:	a126           	ld	r6,r2
    1bf0:	e510           	jr	mi,0x1c12
    1bf2:	5f00 0ad8      	call	0xad8
    1bf6:	8966           	xor	r6,r6
    1bf8:	2107 0201      	ld	r7,#0x201
    1bfc:	dfd9           	calr	0x1c4c
    1bfe:	6101 c29e      	ld	r1,0xc29e
    1c02:	a910           	inc	r1,#0x1
    1c04:	4b01 c2ea      	cp	r1,0xc2ea
    1c08:	eb06           	jr	ugt,0x1c16
    1c0a:	6f01 c29e      	ld	0xc29e,r1
    1c0e:	4c08 c6a7      	clrb	0xc6a7
    1c12:	a162           	ld	r2,r6
    1c14:	9e08           	ret	t
    1c16:	6101 c2ee      	ld	r1,0xc2ee
    1c1a:	6103 c2a0      	ld	r3,0xc2a0
    1c1e:	ab30           	dec	r3,#0x1
    1c20:	4b03 c648      	cp	r3,0xc648
    1c24:	e507           	jr	mi,0x1c34
    1c26:	6f01 c29e      	ld	0xc29e,r1
    1c2a:	6f03 c2a0      	ld	0xc2a0,r3
    1c2e:	4c08 c6a7      	clrb	0xc6a7
    1c32:	e8ef           	jr	t,0x1c12
    1c34:	4c04 c6a7      	testb	0xc6a7
    1c38:	e605           	jr	eq,0x1c44
    1c3a:	4c08 c6a7      	clrb	0xc6a7
    1c3e:	2106 ffff      	ld	r6,#0xffff
    1c42:	e8e7           	jr	t,0x1c12
    1c44:	4c05 c6a7 0101 	ldb	0xc6a7,#0x1
    1c4a:	e8e3           	jr	t,0x1c12
    1c4c:	6400 fff8      	setb	0xfff8,#0x0
    1c50:	7b09           	mres	
    1c52:	2131           	ld	r1,@r3
    1c54:	6200 fff8      	resb	0xfff8,#0x0
    1c58:	7b08           	mset	
    1c5a:	8721           	and	r1,r2
    1c5c:	8511           	or	r1,r1
    1c5e:	e601           	jr	eq,0x1c62
    1c60:	84fe           	orb	rl6,rl7
    1c62:	9e08           	ret	t
    1c64:	5c09 0806 c538 	ldm	0xc538,r8,#0x7
    1c6a:	dfb4           	calr	0x1d04
    1c6c:	e529           	jr	mi,0x1cc0
    1c6e:	a178           	ld	r8,r7
    1c70:	a169           	ld	r9,r6
    1c72:	5f00 0ad8      	call	0xad8
    1c76:	a13e           	ld	r14,r3
    1c78:	a121           	ld	r1,r2
    1c7a:	2096           	ldb	rh6,@r9
    1c7c:	8c64           	testb	rh6
    1c7e:	ee01           	jr	ne,0x1c82
    1c80:	8911           	xor	r1,r1
    1c82:	a125           	ld	r5,r2
    1c84:	8d50           	com	r5
    1c86:	4c04 c240      	testb	0xc240
    1c8a:	6400 fff8      	setb	0xfff8,#0x0
    1c8e:	7b09           	mres	
    1c90:	ee02           	jr	ne,0x1c96
    1c92:	07e5           	and	r5,@r14
    1c94:	2fe5           	ld	@r14,r5
    1c96:	09e1           	xor	r1,@r14
    1c98:	2fe1           	ld	@r14,r1
    1c9a:	6200 fff8      	resb	0xfff8,#0x0
    1c9e:	7b08           	mset	
    1ca0:	a990           	inc	r9,#0x1
    1ca2:	ab80           	dec	r8,#0x1
    1ca4:	ee11           	jr	ne,0x1cc8
    1ca6:	610a c29e      	ld	r10,0xc29e
    1caa:	a9a0           	inc	r10,#0x1
    1cac:	4b0a c2ea      	cp	r10,0xc2ea
    1cb0:	e304           	jr	ule,0x1cba
    1cb2:	610a c2ee      	ld	r10,0xc2ee
    1cb6:	6b00 c2a0      	dec	0xc2a0,#0x1
    1cba:	6f0a c29e      	ld	0xc29e,r10
    1cbe:	8922           	xor	r2,r2
    1cc0:	5c01 0806 c538 	ldm	r8,0xc538,#0x7
    1cc6:	9e08           	ret	t
    1cc8:	610a c29e      	ld	r10,0xc29e
    1ccc:	a9a0           	inc	r10,#0x1
    1cce:	4b0a c2ea      	cp	r10,0xc2ea
    1cd2:	eb09           	jr	ugt,0x1ce6
    1cd4:	6f0a c29e      	ld	0xc29e,r10
    1cd8:	b321 ffff      	srl	r2,#0x1
    1cdc:	ef03           	jr	nc/uge,0x1ce4
    1cde:	2102 8000      	ld	r2,#0x8000
    1ce2:	a9e1           	inc	r14,#0x2
    1ce4:	e8c9           	jr	t,0x1c78
    1ce6:	610b c2a0      	ld	r11,0xc2a0
    1cea:	abb0           	dec	r11,#0x1
    1cec:	4b0b c648      	cp	r11,0xc648
    1cf0:	e5da           	jr	mi,0x1ca6
    1cf2:	6f0b c2a0      	ld	0xc2a0,r11
    1cf6:	a1b1           	ld	r1,r11
    1cf8:	610b c2ee      	ld	r11,0xc2ee
    1cfc:	6f0b c29e      	ld	0xc29e,r11
    1d00:	a1b3           	ld	r3,r11
    1d02:	e8b7           	jr	t,0x1c72
    1d04:	2102 ffff      	ld	r2,#0xffff
    1d08:	6103 c29e      	ld	r3,0xc29e
    1d0c:	4b03 c2ee      	cp	r3,0xc2ee
    1d10:	9e05           	ret	mi
    1d12:	4b03 c2ea      	cp	r3,0xc2ea
    1d16:	eb16           	jr	ugt,0x1d44
    1d18:	2101 01df      	ld	r1,#0x1df
    1d1c:	4301 c2ec      	sub	r1,0xc2ec
    1d20:	6f01 c648      	ld	0xc648,r1
    1d24:	2101 01df      	ld	r1,#0x1df
    1d28:	4301 c2f0      	sub	r1,0xc2f0
    1d2c:	6f01 c64a      	ld	0xc64a,r1
    1d30:	6101 c2a0      	ld	r1,0xc2a0
    1d34:	4b01 c648      	cp	r1,0xc648
    1d38:	9e05           	ret	mi
    1d3a:	4b01 c64a      	cp	r1,0xc64a
    1d3e:	ea02           	jr	gt,0x1d44
    1d40:	8922           	xor	r2,r2
    1d42:	9e08           	ret	t
    1d44:	8522           	or	r2,r2
    1d46:	9e08           	ret	t
    1d48:	2102 ffff      	ld	r2,#0xffff
    1d4c:	4c04 c6aa      	testb	0xc6aa
    1d50:	e608           	jr	eq,0x1d62
    1d52:	3b14 8000      	in	r1,#0x8000
    1d56:	a719           	bit	r1,#0x9
    1d58:	9e0e           	ret	ne
    1d5a:	6800 c6a0      	incb	0xc6a0,#0x1
    1d5e:	8d20           	com	r2
    1d60:	9e08           	ret	t
    1d62:	6604 c677      	bitb	0xc677,#0x4
    1d66:	9e06           	ret	eq
    1d68:	e8f8           	jr	t,0x1d5a
    1d6a:	7c02           	di	nvi
    1d6c:	5f00 0a6e      	call	0xa6e
    1d70:	7c06           	ei	nvi
    1d72:	4c08 c6a0      	clrb	0xc6a0
    1d76:	9e08           	ret	t
    1d78:	bd11           	ldk	r1,#0x1
    1d7a:	a170           	ld	r0,r7
    1d7c:	5f00 ae36      	call	0xae36
    1d80:	8922           	xor	r2,r2
    1d82:	9e08           	ret	t
    1d84:	5f00 ae1c      	call	0xae1c
    1d88:	8922           	xor	r2,r2
    1d8a:	9e08           	ret	t
    1d8c:	bd12           	ldk	r1,#0x2
    1d8e:	a120           	ld	r0,r2
    1d90:	5f00 ae36      	call	0xae36
    1d94:	9e08           	ret	t
    1d96:	bd13           	ldk	r1,#0x3
    1d98:	6000 c680      	ldb	rh0,0xc680
    1d9c:	93f0           	push	@r15,r0
    1d9e:	d14e           	calr	0x1b04
    1da0:	a170           	ld	r0,r7
    1da2:	5f00 ae36      	call	0xae36
    1da6:	97f2           	pop	r2,@r15
    1da8:	8422           	orb	rh2,rh2
    1daa:	e601           	jr	eq,0x1dae
    1dac:	d160           	calr	0x1aee
    1dae:	8922           	xor	r2,r2
    1db0:	9e08           	ret	t
    1db2:	5f00 bd68      	call	0xbd68
    1db6:	8922           	xor	r2,r2
    1db8:	9e08           	ret	t
    1dba:	5f00 bc70      	call	0xbc70
    1dbe:	8922           	xor	r2,r2
    1dc0:	9e08           	ret	t
    1dc2:	5f00 bcb0      	call	0xbcb0
    1dc6:	8922           	xor	r2,r2
    1dc8:	9e08           	ret	t
    1dca:	dff6           	calr	0x1de0
    1dcc:	8966           	xor	r6,r6
    1dce:	8577           	or	r7,r7
    1dd0:	e601           	jr	eq,0x1dd4
    1dd2:	a561           	set	r6,#0x1
    1dd4:	4c04 c6a3      	testb	0xc6a3
    1dd8:	e601           	jr	eq,0x1ddc
    1dda:	a560           	set	r6,#0x0
    1ddc:	a162           	ld	r2,r6
    1dde:	9e08           	ret	t
    1de0:	53f0 c2aa      	push	@r15,0xc2aa
    1de4:	4d05 c2aa 5555 	ld	0xc2aa,#0x5555
    1dea:	d7b2           	calr	0xe88
    1dec:	2106 5555      	ld	r6,#0x5555
    1df0:	8977           	xor	r7,r7
    1df2:	8911           	xor	r1,r1
    1df4:	2100 4000      	ld	r0,#0x4000
    1df8:	2102 0078      	ld	r2,#0x78
    1dfc:	2103 0032      	ld	r3,#0x32
    1e00:	6400 fff8      	setb	0xfff8,#0x0
    1e04:	7b09           	mres	
    1e06:	2114           	ld	r4,@r1
    1e08:	8964           	xor	r4,r6
    1e0a:	8547           	or	r7,r4
    1e0c:	a911           	inc	r1,#0x2
    1e0e:	f385           	djnz	r3,0x1e06
    1e10:	a915           	inc	r1,#0x6
    1e12:	6200 fff8      	resb	0xfff8,#0x0
    1e16:	7b08           	mset	
    1e18:	f28f           	djnz	r2,0x1dfc
    1e1a:	0701 c000      	and	r1,#0xc000
    1e1e:	8101           	add	r1,r0
    1e20:	eeeb           	jr	ne,0x1df8
    1e22:	d7e0           	calr	0xe64
    1e24:	57f0 c2aa      	pop	0xc2aa,@r15
    1e28:	a172           	ld	r2,r7
    1e2a:	9e08           	ret	t
    1e2c:	5f00 ad54      	call	0xad54
    1e30:	9e08           	ret	t
    1e32:	7602 c906      	lda	r2,0xc906
    1e36:	7603 1e44      	lda	r3,0x1e44
    1e3a:	2105 0020      	ld	r5,#0x20
    1e3e:	bb31 0520      	ldir	@r2,@r3,r5
    1e42:	9e08           	ret	t
    1e44:	c6ac           	ldb	rh6,#0xac
    1e46:	c6ac           	ldb	rh6,#0xac
    1e48:	c83c           	ldb	rl0,#0x3c
    1e4a:	c6ac           	ldb	rh6,#0xac
    1e4c:	0000 0190      	addb	rh0,#0x90
    1e50:	0096           	addb	rh6,@r9
    1e52:	0078           	addb	rl0,@r7
    1e54:	c83c           	ldb	rl0,#0x3c
    1e56:	c83c           	ldb	rl0,#0x3c
    1e58:	c855           	ldb	rl0,#0x55
    1e5a:	c83c           	ldb	rl0,#0x3c
    1e5c:	0000 0019      	addb	rh0,#0x19
    1e60:	0011           	addb	rh1,@r1
    1e62:	0007 c855      	addb	rh7,#0x55
    1e66:	c855           	ldb	rl0,#0x55
    1e68:	c8eb           	ldb	rl0,#0xeb
    1e6a:	c855           	ldb	rl0,#0x55
    1e6c:	0000 0096      	addb	rh0,#0x96
    1e70:	0069           	addb	rl1,@r6
    1e72:	002d           	addb	rl5,@r2
    1e74:	c8eb           	ldb	rl0,#0xeb
    1e76:	c8eb           	ldb	rl0,#0xeb
    1e78:	c904           	ldb	rl1,#0x4
    1e7a:	c8eb           	ldb	rl0,#0xeb
    1e7c:	0000 0019      	addb	rh0,#0x19
    1e80:	0011           	addb	rh1,@r1
    1e82:	0007 5c09      	addb	rh7,#0x9
    1e86:	000e c538      	addb	rl6,#0x38
    1e8a:	a15e           	ld	r14,r5
    1e8c:	a9e0           	inc	r14,#0x1
    1e8e:	837e           	sub	r14,r7
    1e90:	8888           	xorb	rl0,rl0
    1e92:	8b26           	cp	r6,r2
    1e94:	ee05           	jr	ne,0x1ea0
    1e96:	8b37           	cp	r7,r3
    1e98:	ed03           	jr	pl,0x1ea0
    1e9a:	8b53           	cp	r3,r5
    1e9c:	ed01           	jr	pl,0x1ea0
    1e9e:	a880           	incb	rl0,#0x1
    1ea0:	210c c000      	ld	r12,#0xc000
    1ea4:	8b26           	cp	r6,r2
    1ea6:	ed07           	jr	pl,0x1eb6
    1ea8:	8b42           	cp	r2,r4
    1eaa:	ed05           	jr	pl,0x1eb6
    1eac:	ad46           	ex	r6,r4
    1eae:	8dc2           	neg	r12
    1eb0:	a16a           	ld	r10,r6
    1eb2:	834a           	sub	r10,r4
    1eb4:	81a2           	add	r2,r10
    1eb6:	93fc           	push	@r15,r12
    1eb8:	a13c           	ld	r12,r3
    1eba:	210d 01df      	ld	r13,#0x1df
    1ebe:	832d           	sub	r13,r2
    1ec0:	a15a           	ld	r10,r5
    1ec2:	210b 01df      	ld	r11,#0x1df
    1ec6:	836b           	sub	r11,r6
    1ec8:	a173           	ld	r3,r7
    1eca:	a1b1           	ld	r1,r11
    1ecc:	5f00 0ad8      	call	0xad8
    1ed0:	a138           	ld	r8,r3
    1ed2:	2109 0010      	ld	r9,#0x10
    1ed6:	8349           	sub	r9,r4
    1ed8:	a1a3           	ld	r3,r10
    1eda:	a1b1           	ld	r1,r11
    1edc:	5f00 0ad8      	call	0xad8
    1ee0:	a13a           	ld	r10,r3
    1ee2:	93f2           	push	@r15,r2
    1ee4:	210b 0010      	ld	r11,#0x10
    1ee8:	834b           	sub	r11,r4
    1eea:	5c09 0c01 c5fa 	ldm	0xc5fa,r12,#0x2
    1ef0:	a1c3           	ld	r3,r12
    1ef2:	a1d1           	ld	r1,r13
    1ef4:	5f00 0ad8      	call	0xad8
    1ef8:	a13c           	ld	r12,r3
    1efa:	210d 0010      	ld	r13,#0x10
    1efe:	834d           	sub	r13,r4
    1f00:	6000 c240      	ldb	rh0,0xc240
    1f04:	7606 20ee      	lda	r6,0x20ee
    1f08:	8ba8           	cp	r8,r10
    1f0a:	e60a           	jr	eq,0x1f20
    1f0c:	8488           	orb	rl0,rl0
    1f0e:	ee08           	jr	ne,0x1f20
    1f10:	97f2           	pop	r2,@r15
    1f12:	7606 1fb8      	lda	r6,0x1fb8
    1f16:	8bd9           	cp	r9,r13
    1f18:	e614           	jr	eq,0x1f42
    1f1a:	7606 204a      	lda	r6,0x204a
    1f1e:	e811           	jr	t,0x1f42
    1f20:	6102 c542      	ld	r2,0xc542
    1f24:	4302 c546      	sub	r2,0xc546
    1f28:	4102 c53e      	add	r2,0xc53e
    1f2c:	a123           	ld	r3,r2
    1f2e:	6101 c5fc      	ld	r1,0xc5fc
    1f32:	5f00 0ad8      	call	0xad8
    1f36:	a13c           	ld	r12,r3
    1f38:	8d20           	com	r2
    1f3a:	a12d           	ld	r13,r2
    1f3c:	7606 20ee      	lda	r6,0x20ee
    1f40:	97fb           	pop	r11,@r15
    1f42:	97f5           	pop	r5,@r15
    1f44:	5c09 0509 c558 	ldm	0xc558,r5,#0xa
    1f4a:	1f60           	call	@r6
    1f4c:	5c01 0509 c558 	ldm	r5,0xc558,#0xa
    1f52:	6900 c544      	inc	0xc544,#0x1
    1f56:	6102 c544      	ld	r2,0xc544
    1f5a:	4b02 c540      	cp	r2,0xc540
    1f5e:	e304           	jr	ule,0x1f68
    1f60:	5c01 000e c538 	ldm	r0,0xc538,#0xf
    1f66:	9e08           	ret	t
    1f68:	815a           	add	r10,r5
    1f6a:	8158           	add	r8,r5
    1f6c:	a1a3           	ld	r3,r10
    1f6e:	0603 c0c0      	andb	rh3,#0xc0
    1f72:	ee07           	jr	ne,0x1f82
    1f74:	8555           	or	r5,r5
    1f76:	e50e           	jr	mi,0x1f94
    1f78:	010a 006a      	add	r10,#0x6a
    1f7c:	0108 006a      	add	r8,#0x6a
    1f80:	e809           	jr	t,0x1f94
    1f82:	0a03 c0c0      	cpb	rh3,#0xc0
    1f86:	ee06           	jr	ne,0x1f94
    1f88:	8555           	or	r5,r5
    1f8a:	ed04           	jr	pl,0x1f94
    1f8c:	030a 006a      	sub	r10,#0x6a
    1f90:	0308 006a      	sub	r8,#0x6a
    1f94:	815c           	add	r12,r5
    1f96:	a1c3           	ld	r3,r12
    1f98:	0603 c0c0      	andb	rh3,#0xc0
    1f9c:	ee05           	jr	ne,0x1fa8
    1f9e:	8555           	or	r5,r5
    1fa0:	e5d1           	jr	mi,0x1f44
    1fa2:	010c 006a      	add	r12,#0x6a
    1fa6:	e8ce           	jr	t,0x1f44
    1fa8:	0a03 c0c0      	cpb	rh3,#0xc0
    1fac:	eecb           	jr	ne,0x1f44
    1fae:	8555           	or	r5,r5
    1fb0:	edc9           	jr	pl,0x1f44
    1fb2:	030c 006a      	sub	r12,#0x6a
    1fb6:	e8c6           	jr	t,0x1f44
    1fb8:	2103 ffff      	ld	r3,#0xffff
    1fbc:	8922           	xor	r2,r2
    1fbe:	b327 0900      	sdll	rr2,r9
    1fc2:	6400 fff8      	setb	0xfff8,#0x0
    1fc6:	7b09           	mres	
    1fc8:	0782           	and	r2,@r8
    1fca:	6200 fff8      	resb	0xfff8,#0x0
    1fce:	7b08           	mset	
    1fd0:	8400           	orb	rh0,rh0
    1fd2:	e602           	jr	eq,0x1fd8
    1fd4:	2103 ffff      	ld	r3,#0xffff
    1fd8:	6400 fff8      	setb	0xfff8,#0x0
    1fdc:	7b09           	mres	
    1fde:	07c3           	and	r3,@r12
    1fe0:	8923           	xor	r3,r2
    1fe2:	2fc3           	ld	@r12,r3
    1fe4:	6200 fff8      	resb	0xfff8,#0x0
    1fe8:	7b08           	mset	
    1fea:	8933           	xor	r3,r3
    1fec:	8400           	orb	rh0,rh0
    1fee:	e601           	jr	eq,0x1ff2
    1ff0:	8d30           	com	r3
    1ff2:	a9c1           	inc	r12,#0x2
    1ff4:	a981           	inc	r8,#0x2
    1ff6:	8ba8           	cp	r8,r10
    1ff8:	e60c           	jr	eq,0x2012
    1ffa:	6400 fff8      	setb	0xfff8,#0x0
    1ffe:	7b09           	mres	
    2000:	2182           	ld	r2,@r8
    2002:	21c4           	ld	r4,@r12
    2004:	8734           	and	r4,r3
    2006:	8942           	xor	r2,r4
    2008:	2fc2           	ld	@r12,r2
    200a:	6200 fff8      	resb	0xfff8,#0x0
    200e:	7b08           	mset	
    2010:	e8f0           	jr	t,0x1ff2
    2012:	2103 ffff      	ld	r3,#0xffff
    2016:	8922           	xor	r2,r2
    2018:	b327 0b00      	sdll	rr2,r11
    201c:	b325 ffff      	srll	rr2,#0x1
    2020:	6400 fff8      	setb	0xfff8,#0x0
    2024:	7b09           	mres	
    2026:	0783           	and	r3,@r8
    2028:	6200 fff8      	resb	0xfff8,#0x0
    202c:	7b08           	mset	
    202e:	8400           	orb	rh0,rh0
    2030:	e602           	jr	eq,0x2036
    2032:	2102 ffff      	ld	r2,#0xffff
    2036:	6400 fff8      	setb	0xfff8,#0x0
    203a:	7b09           	mres	
    203c:	07c2           	and	r2,@r12
    203e:	8932           	xor	r2,r3
    2040:	2fc2           	ld	@r12,r2
    2042:	6200 fff8      	resb	0xfff8,#0x0
    2046:	7b08           	mset	
    2048:	9e08           	ret	t
    204a:	6400 fff8      	setb	0xfff8,#0x0
    204e:	7b09           	mres	
    2050:	2183           	ld	r3,@r8
    2052:	6200 fff8      	resb	0xfff8,#0x0
    2056:	7b08           	mset	
    2058:	2106 0010      	ld	r6,#0x10
    205c:	8396           	sub	r6,r9
    205e:	b333 0600      	sdl	r3,r6
    2062:	a196           	ld	r6,r9
    2064:	8922           	xor	r2,r2
    2066:	a1d1           	ld	r1,r13
    2068:	8944           	xor	r4,r4
    206a:	2105 ffff      	ld	r5,#0xffff
    206e:	b345 0001      	slll	rr4,#0x1
    2072:	b325 0001      	slll	rr2,#0x1
    2076:	ab10           	dec	r1,#0x1
    2078:	ee14           	jr	ne,0x20a2
    207a:	8400           	orb	rh0,rh0
    207c:	e602           	jr	eq,0x2082
    207e:	2105 ffff      	ld	r5,#0xffff
    2082:	6400 fff8      	setb	0xfff8,#0x0
    2086:	7b09           	mres	
    2088:	07c5           	and	r5,@r12
    208a:	8925           	xor	r5,r2
    208c:	2fc5           	ld	@r12,r5
    208e:	6200 fff8      	resb	0xfff8,#0x0
    2092:	7b08           	mset	
    2094:	8944           	xor	r4,r4
    2096:	2105 ffff      	ld	r5,#0xffff
    209a:	8922           	xor	r2,r2
    209c:	2101 0010      	ld	r1,#0x10
    20a0:	a9c1           	inc	r12,#0x2
    20a2:	ab60           	dec	r6,#0x1
    20a4:	ee0a           	jr	ne,0x20ba
    20a6:	a981           	inc	r8,#0x2
    20a8:	6400 fff8      	setb	0xfff8,#0x0
    20ac:	7b09           	mres	
    20ae:	2183           	ld	r3,@r8
    20b0:	6200 fff8      	resb	0xfff8,#0x0
    20b4:	7b08           	mset	
    20b6:	2106 0010      	ld	r6,#0x10
    20ba:	abe0           	dec	r14,#0x1
    20bc:	eed8           	jr	ne,0x206e
    20be:	0b01 0010      	cp	r1,#0x10
    20c2:	9e06           	ret	eq
    20c4:	8933           	xor	r3,r3
    20c6:	8955           	xor	r5,r5
    20c8:	b325 0001      	slll	rr2,#0x1
    20cc:	b345 0001      	slll	rr4,#0x1
    20d0:	f185           	djnz	r1,0x20c8
    20d2:	8400           	orb	rh0,rh0
    20d4:	e601           	jr	eq,0x20d8
    20d6:	8944           	xor	r4,r4
    20d8:	6400 fff8      	setb	0xfff8,#0x0
    20dc:	7b09           	mres	
    20de:	8d40           	com	r4
    20e0:	07c4           	and	r4,@r12
    20e2:	8924           	xor	r4,r2
    20e4:	2fc4           	ld	@r12,r4
    20e6:	6200 fff8      	resb	0xfff8,#0x0
    20ea:	7b08           	mset	
    20ec:	9e08           	ret	t
    20ee:	6400 fff8      	setb	0xfff8,#0x0
    20f2:	7b09           	mres	
    20f4:	8944           	xor	r4,r4
    20f6:	21a2           	ld	r2,@r10
    20f8:	87b2           	and	r2,r11
    20fa:	e602           	jr	eq,0x2100
    20fc:	a1d4           	ld	r4,r13
    20fe:	8d40           	com	r4
    2100:	21c3           	ld	r3,@r12
    2102:	8400           	orb	rh0,rh0
    2104:	ee01           	jr	ne,0x2108
    2106:	87d3           	and	r3,r13
    2108:	8943           	xor	r3,r4
    210a:	2fc3           	ld	@r12,r3
    210c:	6200 fff8      	resb	0xfff8,#0x0
    2110:	7b08           	mset	
    2112:	b3b0           	rl	r11,#0x1
    2114:	ef03           	jr	nc/uge,0x211c
    2116:	210b 0001      	ld	r11,#0x1
    211a:	aba1           	dec	r10,#0x2
    211c:	b3d0           	rl	r13,#0x1
    211e:	e703           	jr	c/ult,0x2126
    2120:	210d fffe      	ld	r13,#0xfffe
    2124:	abc1           	dec	r12,#0x2
    2126:	abe0           	dec	r14,#0x1
    2128:	eee2           	jr	ne,0x20ee
    212a:	9e08           	ret	t
    212c:	abf5           	dec	r15,#0x6
    212e:	6ffe 0004      	ld	0x4(r15),r14
    2132:	2ff6           	ld	@r15,r6
    2134:	a17e           	ld	r14,r7
    2136:	4de4 0008      	test	0x8(r14)
    213a:	ee03           	jr	ne,0x2142
    213c:	2102 ffff      	ld	r2,#0xffff
    2140:	e81c           	jr	t,0x217a
    2142:	61e2 0002      	ld	r2,0x2(r14)
    2146:	202b           	ldb	rl3,@r2
    2148:	6efb 0003      	ldb	0x3(r15),rl3
    214c:	69e0 0002      	inc	0x2(r14),#0x1
    2150:	61e2 0002      	ld	r2,0x2(r14)
    2154:	4be2 0004      	cp	r2,0x4(r14)
    2158:	ee04           	jr	ne,0x2162
    215a:	61e2 0006      	ld	r2,0x6(r14)
    215e:	6fe2 0002      	ld	0x2(r14),r2
    2162:	6be0 0008      	dec	0x8(r14),#0x1
    2166:	61e2 0008      	ld	r2,0x8(r14)
    216a:	4be2 000e      	cp	r2,0xe(r14)
    216e:	ee02           	jr	ne,0x2174
    2170:	a162           	ld	r2,r6
    2172:	1f20           	call	@r2
    2174:	60fa 0003      	ldb	rl2,0x3(r15)
    2178:	b120           	extsb	r2
    217a:	61fe 0004      	ld	r14,0x4(r15)
    217e:	a9f5           	inc	r15,#0x6
    2180:	9e08           	ret	t
    2182:	abf7           	dec	r15,#0x8
    2184:	6ffe 0006      	ld	0x6(r15),r14
    2188:	1cf9 0502      	ldm	@r15,r5,#0x3
    218c:	a16e           	ld	r14,r6
    218e:	61e2 0008      	ld	r2,0x8(r14)
    2192:	4be2 000a      	cp	r2,0xa(r14)
    2196:	ee03           	jr	ne,0x219e
    2198:	2102 ffff      	ld	r2,#0xffff
    219c:	e80f           	jr	t,0x21bc
    219e:	21e2           	ld	r2,@r14
    21a0:	2e2f           	ldb	@r2,rl7
    21a2:	29e0           	inc	@r14,#0x1
    21a4:	21e2           	ld	r2,@r14
    21a6:	4be2 0004      	cp	r2,0x4(r14)
    21aa:	ee03           	jr	ne,0x21b2
    21ac:	61e2 0006      	ld	r2,0x6(r14)
    21b0:	2fe2           	ld	@r14,r2
    21b2:	69e0 0008      	inc	0x8(r14),#0x1
    21b6:	21f2           	ld	r2,@r15
    21b8:	1f20           	call	@r2
    21ba:	8322           	sub	r2,r2
    21bc:	61fe 0006      	ld	r14,0x6(r15)
    21c0:	a9f7           	inc	r15,#0x8
    21c2:	9e08           	ret	t
    21c4:	2107 c906      	ld	r7,#0xc906
    21c8:	2106 1716      	ld	r6,#0x1716
    21cc:	5f00 212c      	call	0x212c
    21d0:	9e08           	ret	t
    21d2:	abf1           	dec	r15,#0x2
    21d4:	2ff7           	ld	@r15,r7
    21d6:	b170           	extsb	r7
    21d8:	2106 c916      	ld	r6,#0xc916
    21dc:	2105 17d0      	ld	r5,#0x17d0
    21e0:	5f00 2182      	call	0x2182
    21e4:	a9f1           	inc	r15,#0x2
    21e6:	9e08           	ret	t
    21e8:	2107 c926      	ld	r7,#0xc926
    21ec:	2106 1764      	ld	r6,#0x1764
    21f0:	5f00 212c      	call	0x212c
    21f4:	9e08           	ret	t
    21f6:	abf1           	dec	r15,#0x2
    21f8:	2ff7           	ld	@r15,r7
    21fa:	b170           	extsb	r7
    21fc:	2106 c936      	ld	r6,#0xc936
    2200:	2105 1860      	ld	r5,#0x1860
    2204:	5f00 2182      	call	0x2182
    2208:	a9f1           	inc	r15,#0x2
    220a:	9e08           	ret	t
    220c:	2107 c916      	ld	r7,#0xc916
    2210:	2106 1714      	ld	r6,#0x1714
    2214:	5f00 212c      	call	0x212c
    2218:	9e08           	ret	t
    221a:	abf3           	dec	r15,#0x4
    221c:	6ffe 0002      	ld	0x2(r15),r14
    2220:	2ff7           	ld	@r15,r7
    2222:	b170           	extsb	r7
    2224:	2106 c906      	ld	r6,#0xc906
    2228:	2105 1714      	ld	r5,#0x1714
    222c:	5f00 2182      	call	0x2182
    2230:	a12e           	ld	r14,r2
    2232:	6102 c90e      	ld	r2,0xc90e
    2236:	4b02 c912      	cp	r2,0xc912
    223a:	ee02           	jr	ne,0x2240
    223c:	5f00 1774      	call	0x1774
    2240:	a1e2           	ld	r2,r14
    2242:	61fe 0002      	ld	r14,0x2(r15)
    2246:	a9f3           	inc	r15,#0x4
    2248:	9e08           	ret	t
    224a:	2107 c936      	ld	r7,#0xc936
    224e:	2106 1714      	ld	r6,#0x1714
    2252:	5f00 212c      	call	0x212c
    2256:	9e08           	ret	t
    2258:	abf3           	dec	r15,#0x4
    225a:	6ffe 0002      	ld	0x2(r15),r14
    225e:	2ff7           	ld	@r15,r7
    2260:	b170           	extsb	r7
    2262:	2106 c926      	ld	r6,#0xc926
    2266:	2105 1714      	ld	r5,#0x1714
    226a:	5f00 2182      	call	0x2182
    226e:	a12e           	ld	r14,r2
    2270:	6102 c92e      	ld	r2,0xc92e
    2274:	4b02 c932      	cp	r2,0xc932
    2278:	ee02           	jr	ne,0x227e
    227a:	5f00 17c0      	call	0x17c0
    227e:	a1e2           	ld	r2,r14
    2280:	61fe 0002      	ld	r14,0x2(r15)
    2284:	a9f3           	inc	r15,#0x4
    2286:	9e08           	ret	t
    2288:	abf3           	dec	r15,#0x4
    228a:	1cf9 0d01      	ldm	@r15,r13,#0x2
    228e:	bdd0           	ldk	r13,#0x0
    2290:	bde0           	ldk	r14,#0x0
    2292:	2107 0041      	ld	r7,#0x41
    2296:	5f00 532c      	call	0x532c
    229a:	8d24           	test	r2
    229c:	ee70           	jr	ne,0x237e
    229e:	4d01 c43c 0001 	cp	0xc43c,#0x1
    22a4:	ee39           	jr	ne,0x2318
    22a6:	8dd4           	test	r13
    22a8:	eef4           	jr	ne,0x2292
    22aa:	4d01 c43a 0000 	cp	0xc43a,#0x0
    22b0:	e132           	jr	lt,0x2316
    22b2:	4d01 c43a 0021 	cp	0xc43a,#0x21
    22b8:	ea2e           	jr	gt,0x2316
    22ba:	4d01 c43a 0002 	cp	0xc43a,#0x2
    22c0:	e107           	jr	lt,0x22d0
    22c2:	4d01 c43a 001e 	cp	0xc43a,#0x1e
    22c8:	ea03           	jr	gt,0x22d0
    22ca:	4d05 c43a 0002 	ld	0xc43a,#0x2
    22d0:	6102 c43a      	ld	r2,0xc43a
    22d4:	8d24           	test	r2
    22d6:	e609           	jr	eq,0x22ea
    22d8:	0b02 0001      	cp	r2,#0x1
    22dc:	e606           	jr	eq,0x22ea
    22de:	0b02 0002      	cp	r2,#0x2
    22e2:	e60c           	jr	eq,0x22fc
    22e4:	e814           	jr	t,0x230e
    22e6:	bde1           	ldk	r14,#0x1
    22e8:	e8d4           	jr	t,0x2292
    22ea:	4c08 c23e      	clrb	0xc23e
    22ee:	4d05 c25e 892c 	ld	0xc25e,#0x892c
    22f4:	4c05 c252 0909 	ldb	0xc252,#0x9
    22fa:	e809           	jr	t,0x230e
    22fc:	4c05 c23e 0101 	ldb	0xc23e,#0x1
    2302:	4d05 c25e d4e4 	ld	0xc25e,#0xd4e4
    2308:	4c05 c252 1414 	ldb	0xc252,#0x14
    230e:	600a c43b      	ldb	rl2,0xc43b
    2312:	6e0a c233      	ldb	0xc233,rl2
    2316:	bdd1           	ldk	r13,#0x1
    2318:	600f c338      	ldb	rl7,0xc338
    231c:	b170           	extsb	r7
    231e:	5f00 790c      	call	0x790c
    2322:	0b02 0049      	cp	r2,#0x49
    2326:	e6df           	jr	eq,0x22e6
    2328:	600f c338      	ldb	rl7,0xc338
    232c:	b170           	extsb	r7
    232e:	5f00 790c      	call	0x790c
    2332:	0b02 0043      	cp	r2,#0x43
    2336:	eeac           	jr	ne,0x2290
    2338:	bd71           	ldk	r7,#0x1
    233a:	5f00 532c      	call	0x532c
    233e:	8d24           	test	r2
    2340:	ee1a           	jr	ne,0x2376
    2342:	4d01 c43a 0000 	cp	0xc43a,#0x0
    2348:	e116           	jr	lt,0x2376
    234a:	4d01 c43a 0007 	cp	0xc43a,#0x7
    2350:	ea12           	jr	gt,0x2376
    2352:	8de4           	test	r14
    2354:	e608           	jr	eq,0x2366
    2356:	4d05 c304 0007 	ld	0xc304,#0x7
    235c:	6102 c43a      	ld	r2,0xc43a
    2360:	6f02 c302      	ld	0xc302,r2
    2364:	e895           	jr	t,0x2290
    2366:	6102 c43a      	ld	r2,0xc43a
    236a:	6f02 c304      	ld	0xc304,r2
    236e:	4d05 c302 0007 	ld	0xc302,#0x7
    2374:	e88d           	jr	t,0x2290
    2376:	4d01 c43c 0004 	cp	0xc43c,#0x4
    237c:	ee89           	jr	ne,0x2290
    237e:	1cf1 0d01      	ldm	r13,@r15,#0x2
    2382:	a9f3           	inc	r15,#0x4
    2384:	9e08           	ret	t
    2386:	abf3           	dec	r15,#0x4
    2388:	1cf9 0d01      	ldm	@r15,r13,#0x2
    238c:	bd71           	ldk	r7,#0x1
    238e:	5f00 532c      	call	0x532c
    2392:	8d24           	test	r2
    2394:	e603           	jr	eq,0x239c
    2396:	5f00 5712      	call	0x5712
    239a:	e81f           	jr	t,0x23da
    239c:	5f00 2bfa      	call	0x2bfa
    23a0:	a12e           	ld	r14,r2
    23a2:	0b02 ffff      	cp	r2,#0xffff
    23a6:	e6f7           	jr	eq,0x2396
    23a8:	bd75           	ldk	r7,#0x5
    23aa:	5f00 532c      	call	0x532c
    23ae:	8d24           	test	r2
    23b0:	eef2           	jr	ne,0x2396
    23b2:	4d01 c43c 0004 	cp	0xc43c,#0x4
    23b8:	ee02           	jr	ne,0x23be
    23ba:	a1ed           	ld	r13,r14
    23bc:	e806           	jr	t,0x23ca
    23be:	5f00 2bfa      	call	0x2bfa
    23c2:	a12d           	ld	r13,r2
    23c4:	0b02 ffff      	cp	r2,#0xffff
    23c8:	e6e6           	jr	eq,0x2396
    23ca:	a1e2           	ld	r2,r14
    23cc:	b329 0004      	sla	r2,#0x4
    23d0:	85d2           	or	r2,r13
    23d2:	6e0a c200      	ldb	0xc200,rl2
    23d6:	5f00 075c      	call	0x75c
    23da:	1cf1 0d01      	ldm	r13,@r15,#0x2
    23de:	a9f3           	inc	r15,#0x4
    23e0:	9e08           	ret	t
    23e2:	2107 e75e      	ld	r7,#0xe75e
    23e6:	8366           	sub	r6,r6
    23e8:	2105 0172      	ld	r5,#0x172
    23ec:	5f00 1bd8      	call	0x1bd8
    23f0:	4d05 c262 e35e 	ld	0xc262,#0xe35e
    23f6:	4d08 c260      	clr	0xc260
    23fa:	4d05 c2a2 d3c4 	ld	0xc2a2,#0xd3c4
    2400:	4d05 c294 f200 	ld	0xc294,#0xf200
    2406:	9e08           	ret	t
    2408:	abf1           	dec	r15,#0x2
    240a:	5f00 2c24      	call	0x2c24
    240e:	8d24           	test	r2
    2410:	e609           	jr	eq,0x2424
    2412:	5f00 2c66      	call	0x2c66
    2416:	8d24           	test	r2
    2418:	ee2d           	jr	ne,0x2474
    241a:	6102 c43a      	ld	r2,0xc43a
    241e:	0502 0400      	or	r2,#0x400
    2422:	e804           	jr	t,0x242c
    2424:	6102 c43a      	ld	r2,0xc43a
    2428:	0502 0800      	or	r2,#0x800
    242c:	6f02 c30c      	ld	0xc30c,r2
    2430:	5f00 2c24      	call	0x2c24
    2434:	8d24           	test	r2
    2436:	e60c           	jr	eq,0x2450
    2438:	5f00 2c66      	call	0x2c66
    243c:	8d24           	test	r2
    243e:	e603           	jr	eq,0x2446
    2440:	6102 c30c      	ld	r2,0xc30c
    2444:	e809           	jr	t,0x2458
    2446:	6102 c43a      	ld	r2,0xc43a
    244a:	0502 0400      	or	r2,#0x400
    244e:	e804           	jr	t,0x2458
    2450:	6102 c43a      	ld	r2,0xc43a
    2454:	0502 0800      	or	r2,#0x800
    2458:	2ff2           	ld	@r15,r2
    245a:	6f02 c308      	ld	0xc308,r2
    245e:	4c04 c242      	testb	0xc242
    2462:	ee08           	jr	ne,0x2474
    2464:	6102 c30c      	ld	r2,0xc30c
    2468:	6f02 c30a      	ld	0xc30a,r2
    246c:	6102 c308      	ld	r2,0xc308
    2470:	6f02 c306      	ld	0xc306,r2
    2474:	a9f1           	inc	r15,#0x2
    2476:	9e08           	ret	t
    2478:	abf1           	dec	r15,#0x2
    247a:	2ffe           	ld	@r15,r14
    247c:	2107 0024      	ld	r7,#0x24
    2480:	5f00 532c      	call	0x532c
    2484:	8d24           	test	r2
    2486:	e611           	jr	eq,0x24aa
    2488:	e80d           	jr	t,0x24a4
    248a:	bde0           	ldk	r14,#0x0
    248c:	e801           	jr	t,0x2490
    248e:	bde1           	ldk	r14,#0x1
    2490:	4d01 c43c 0020 	cp	0xc43c,#0x20
    2496:	ee19           	jr	ne,0x24ca
    2498:	2107 0024      	ld	r7,#0x24
    249c:	5f00 532c      	call	0x532c
    24a0:	8d24           	test	r2
    24a2:	e613           	jr	eq,0x24ca
    24a4:	5f00 5712      	call	0x5712
    24a8:	e846           	jr	t,0x2536
    24aa:	4d01 c43c 0004 	cp	0xc43c,#0x4
    24b0:	ee03           	jr	ne,0x24b8
    24b2:	4d05 c43a 0005 	ld	0xc43a,#0x5
    24b8:	4d01 c43a 0005 	cp	0xc43a,#0x5
    24be:	e6e5           	jr	eq,0x248a
    24c0:	4d01 c43a 0007 	cp	0xc43a,#0x7
    24c6:	e6e3           	jr	eq,0x248e
    24c8:	e8ed           	jr	t,0x24a4
    24ca:	4d01 c43c 0004 	cp	0xc43c,#0x4
    24d0:	e604           	jr	eq,0x24da
    24d2:	4d01 c43a 000b 	cp	0xc43a,#0xb
    24d8:	ee07           	jr	ne,0x24e8
    24da:	8de4           	test	r14
    24dc:	e602           	jr	eq,0x24e2
    24de:	bd22           	ldk	r2,#0x2
    24e0:	e801           	jr	t,0x24e4
    24e2:	8322           	sub	r2,r2
    24e4:	6f02 c43a      	ld	0xc43a,r2
    24e8:	4d01 c43a 000a 	cp	0xc43a,#0xa
    24ee:	ee07           	jr	ne,0x24fe
    24f0:	8de4           	test	r14
    24f2:	e602           	jr	eq,0x24f8
    24f4:	bd22           	ldk	r2,#0x2
    24f6:	e801           	jr	t,0x24fa
    24f8:	bd21           	ldk	r2,#0x1
    24fa:	6f02 c43a      	ld	0xc43a,r2
    24fe:	4d04 c43a      	test	0xc43a
    2502:	ee02           	jr	ne,0x2508
    2504:	8322           	sub	r2,r2
    2506:	e807           	jr	t,0x2516
    2508:	4d01 c43a 0001 	cp	0xc43a,#0x1
    250e:	ee02           	jr	ne,0x2514
    2510:	bd22           	ldk	r2,#0x2
    2512:	e801           	jr	t,0x2516
    2514:	bd24           	ldk	r2,#0x4
    2516:	81e2           	add	r2,r14
    2518:	8122           	add	r2,r2
    251a:	600b c201      	ldb	rl3,0xc201
    251e:	060b f1f1      	andb	rl3,#0xf1
    2522:	6e0b c201      	ldb	0xc201,rl3
    2526:	b130           	extsb	r3
    2528:	8523           	or	r3,r2
    252a:	440b c201      	orb	rl3,0xc201
    252e:	6e0b c201      	ldb	0xc201,rl3
    2532:	5f00 075c      	call	0x75c
    2536:	21fe           	ld	r14,@r15
    2538:	a9f1           	inc	r15,#0x2
    253a:	9e08           	ret	t
    253c:	abfb           	dec	r15,#0xc
    253e:	1cf9 0905      	ldm	@r15,r9,#0x6
    2542:	bd90           	ldk	r9,#0x0
    2544:	a19c           	ld	r12,r9
    2546:	a19d           	ld	r13,r9
    2548:	bdb1           	ldk	r11,#0x1
    254a:	210a 0050      	ld	r10,#0x50
    254e:	a1b7           	ld	r7,r11
    2550:	5f00 532c      	call	0x532c
    2554:	8d24           	test	r2
    2556:	ee2b           	jr	ne,0x25ae
    2558:	610d c43a      	ld	r13,0xc43a
    255c:	0b0d 0000      	cp	r13,#0x0
    2560:	bd20           	ldk	r2,#0x0
    2562:	af22           	tcc	le,r2
    2564:	8129           	add	r9,r2
    2566:	bd71           	ldk	r7,#0x1
    2568:	5f00 532c      	call	0x532c
    256c:	8d24           	test	r2
    256e:	ee1f           	jr	ne,0x25ae
    2570:	610c c43a      	ld	r12,0xc43a
    2574:	0b0c 0000      	cp	r12,#0x0
    2578:	bd20           	ldk	r2,#0x0
    257a:	af22           	tcc	le,r2
    257c:	8129           	add	r9,r2
    257e:	bd71           	ldk	r7,#0x1
    2580:	5f00 532c      	call	0x532c
    2584:	8d24           	test	r2
    2586:	ee13           	jr	ne,0x25ae
    2588:	610b c43a      	ld	r11,0xc43a
    258c:	0b0b 0000      	cp	r11,#0x0
    2590:	bd20           	ldk	r2,#0x0
    2592:	af22           	tcc	le,r2
    2594:	8129           	add	r9,r2
    2596:	bd71           	ldk	r7,#0x1
    2598:	5f00 532c      	call	0x532c
    259c:	8d24           	test	r2
    259e:	ee07           	jr	ne,0x25ae
    25a0:	610a c43a      	ld	r10,0xc43a
    25a4:	0b0a 0000      	cp	r10,#0x0
    25a8:	bd20           	ldk	r2,#0x0
    25aa:	af22           	tcc	le,r2
    25ac:	8129           	add	r9,r2
    25ae:	8dc4           	test	r12
    25b0:	ee01           	jr	ne,0x25b4
    25b2:	a990           	inc	r9,#0x1
    25b4:	8bcd           	cp	r13,r12
    25b6:	e203           	jr	le,0x25be
    25b8:	a1ce           	ld	r14,r12
    25ba:	a1dc           	ld	r12,r13
    25bc:	a1ed           	ld	r13,r14
    25be:	8bab           	cp	r11,r10
    25c0:	e203           	jr	le,0x25c8
    25c2:	a1be           	ld	r14,r11
    25c4:	a1ab           	ld	r11,r10
    25c6:	a1ea           	ld	r10,r14
    25c8:	a1c2           	ld	r2,r12
    25ca:	83d2           	sub	r2,r13
    25cc:	0b02 0034      	cp	r2,#0x34
    25d0:	ea03           	jr	gt,0x25d8
    25d2:	0b0a 0050      	cp	r10,#0x50
    25d6:	e201           	jr	le,0x25da
    25d8:	a990           	inc	r9,#0x1
    25da:	4d01 c2b8 01df 	cp	0xc2b8,#0x1df
    25e0:	e96a           	jr	ge,0x26b6
    25e2:	8d94           	test	r9
    25e4:	e603           	jr	eq,0x25ec
    25e6:	5f00 5712      	call	0x5712
    25ea:	e865           	jr	t,0x26b6
    25ec:	5f00 2ef4      	call	0x2ef4
    25f0:	6107 c2b8      	ld	r7,0xc2b8
    25f4:	5f00 77d4      	call	0x77d4
    25f8:	a12e           	ld	r14,r2
    25fa:	ab20           	dec	r2,#0x1
    25fc:	a1c3           	ld	r3,r12
    25fe:	83d3           	sub	r3,r13
    2600:	8b32           	cp	r2,r3
    2602:	e903           	jr	ge,0x260a
    2604:	bdd1           	ldk	r13,#0x1
    2606:	a1ec           	ld	r12,r14
    2608:	e808           	jr	t,0x261a
    260a:	8bec           	cp	r12,r14
    260c:	e206           	jr	le,0x261a
    260e:	a1d2           	ld	r2,r13
    2610:	8d22           	neg	r2
    2612:	0102 0001      	add	r2,#0x1
    2616:	812c           	add	r12,r2
    2618:	bdd1           	ldk	r13,#0x1
    261a:	4c05 c241 0101 	ldb	0xc241,#0x1
    2620:	a1d2           	ld	r2,r13
    2622:	ab20           	dec	r2,#0x1
    2624:	a123           	ld	r3,r2
    2626:	1902 000e      	mult	rr2,#0xe
    262a:	a132           	ld	r2,r3
    262c:	8d22           	neg	r2
    262e:	0102 01df      	add	r2,#0x1df
    2632:	6f02 c2ec      	ld	0xc2ec,r2
    2636:	6f02 c2f4      	ld	0xc2f4,r2
    263a:	4d04 c2b8      	test	0xc2b8
    263e:	ee05           	jr	ne,0x264a
    2640:	0b0c 0022      	cp	r12,#0x22
    2644:	ee02           	jr	ne,0x264a
    2646:	8322           	sub	r2,r2
    2648:	e807           	jr	t,0x2658
    264a:	a1c3           	ld	r3,r12
    264c:	1902 000e      	mult	rr2,#0xe
    2650:	a132           	ld	r2,r3
    2652:	8d22           	neg	r2
    2654:	0102 01e0      	add	r2,#0x1e0
    2658:	6f02 c2f0      	ld	0xc2f0,r2
    265c:	6f02 c2f8      	ld	0xc2f8,r2
    2660:	a1b2           	ld	r2,r11
    2662:	ab20           	dec	r2,#0x1
    2664:	a123           	ld	r3,r2
    2666:	1902 000a      	mult	rr2,#0xa
    266a:	6f03 c2ee      	ld	0xc2ee,r3
    266e:	6f03 c2f6      	ld	0xc2f6,r3
    2672:	0b0a 0050      	cp	r10,#0x50
    2676:	e202           	jr	le,0x267c
    2678:	210a 0050      	ld	r10,#0x50
    267c:	a1a3           	ld	r3,r10
    267e:	1902 000a      	mult	rr2,#0xa
    2682:	ab30           	dec	r3,#0x1
    2684:	6f03 c2ea      	ld	0xc2ea,r3
    2688:	6f03 c2f2      	ld	0xc2f2,r3
    268c:	4c04 c251      	testb	0xc251
    2690:	ee0a           	jr	ne,0x26a6
    2692:	4d05 c30e 0807 	ld	0xc30e,#0x807
    2698:	4c04 c24b      	testb	0xc24b
    269c:	e604           	jr	eq,0x26a6
    269e:	6107 c30e      	ld	r7,0xc30e
    26a2:	5f00 40e4      	call	0x40e4
    26a6:	6107 c2ee      	ld	r7,0xc2ee
    26aa:	6106 c2f0      	ld	r6,0xc2f0
    26ae:	5f00 4260      	call	0x4260
    26b2:	5f00 2ca0      	call	0x2ca0
    26b6:	1cf1 0905      	ldm	r9,@r15,#0x6
    26ba:	a9fb           	inc	r15,#0xc
    26bc:	9e08           	ret	t
    26be:	bd72           	ldk	r7,#0x2
    26c0:	8366           	sub	r6,r6
    26c2:	2105 0022      	ld	r5,#0x22
    26c6:	a154           	ld	r4,r5
    26c8:	5f00 2cd6      	call	0x2cd6
    26cc:	9e08           	ret	t
    26ce:	abf1           	dec	r15,#0x2
    26d0:	76f7 0000      	lda	r7,0x0(r15)
    26d4:	bd67           	ldk	r6,#0x7
    26d6:	bd58           	ldk	r5,#0x8
    26d8:	2104 ffff      	ld	r4,#0xffff
    26dc:	bd31           	ldk	r3,#0x1
    26de:	5f00 7390      	call	0x7390
    26e2:	8d24           	test	r2
    26e4:	ee12           	jr	ne,0x270a
    26e6:	bd28           	ldk	r2,#0x8
    26e8:	03f2           	sub	r2,@r15
    26ea:	b329 0007      	sla	r2,#0x7
    26ee:	600b c202      	ldb	rl3,0xc202
    26f2:	060b 7f7f      	andb	rl3,#0x7f
    26f6:	6e0b c202      	ldb	0xc202,rl3
    26fa:	b130           	extsb	r3
    26fc:	8523           	or	r3,r2
    26fe:	440b c202      	orb	rl3,0xc202
    2702:	6e0b c202      	ldb	0xc202,rl3
    2706:	5f00 075c      	call	0x75c
    270a:	a9f1           	inc	r15,#0x2
    270c:	9e08           	ret	t
    270e:	2774           	bit	@r7,#0x4
    2710:	2762           	bit	@r6,#0x2
    2712:	276e           	bit	@r6,#0xe
    2714:	276e           	bit	@r6,#0xe
    2716:	2756           	bit	@r5,#0x6
    2718:	276e           	bit	@r6,#0xe
    271a:	2768           	bit	@r6,#0x8
    271c:	276e           	bit	@r6,#0xe
    271e:	2774           	bit	@r7,#0x4
    2720:	275c           	bit	@r5,#0xc
    2722:	abf1           	dec	r15,#0x2
    2724:	2ffe           	ld	@r15,r14
    2726:	bde0           	ldk	r14,#0x0
    2728:	2107 0024      	ld	r7,#0x24
    272c:	5f00 532c      	call	0x532c
    2730:	8d24           	test	r2
    2732:	ee2e           	jr	ne,0x2790
    2734:	4d01 c43c 0004 	cp	0xc43c,#0x4
    273a:	ee03           	jr	ne,0x2742
    273c:	4d05 c43a 000b 	ld	0xc43a,#0xb
    2742:	6102 c43a      	ld	r2,0xc43a
    2746:	ab22           	dec	r2,#0x3
    2748:	0b02 0009      	cp	r2,#0x9
    274c:	eb10           	jr	ugt,0x276e
    274e:	b320           	rl	r2,#0x1
    2750:	6122 270e      	ld	r2,0x270e(r2)
    2754:	1e28           	jp	t,@r2
    2756:	210e 0080      	ld	r14,#0x80
    275a:	e80c           	jr	t,0x2774
    275c:	210e 0040      	ld	r14,#0x40
    2760:	e809           	jr	t,0x2774
    2762:	210e 0020      	ld	r14,#0x20
    2766:	e806           	jr	t,0x2774
    2768:	210e 0010      	ld	r14,#0x10
    276c:	e803           	jr	t,0x2774
    276e:	5f00 5712      	call	0x5712
    2772:	e80e           	jr	t,0x2790
    2774:	600a c201      	ldb	rl2,0xc201
    2778:	060a 0f0f      	andb	rl2,#0xf
    277c:	6e0a c201      	ldb	0xc201,rl2
    2780:	b120           	extsb	r2
    2782:	85e2           	or	r2,r14
    2784:	440a c201      	orb	rl2,0xc201
    2788:	6e0a c201      	ldb	0xc201,rl2
    278c:	5f00 075c      	call	0x75c
    2790:	21fe           	ld	r14,@r15
    2792:	a9f1           	inc	r15,#0x2
    2794:	9e08           	ret	t
    2796:	27de           	bit	@r13,#0xe
    2798:	27fe           	bit	@r15,#0xe
    279a:	27ec           	bit	@r14,#0xc
    279c:	27fe           	bit	@r15,#0xe
    279e:	27fe           	bit	@r15,#0xe
    27a0:	27ec           	bit	@r14,#0xc
    27a2:	27fe           	bit	@r15,#0xe
    27a4:	27fe           	bit	@r15,#0xe
    27a6:	27fe           	bit	@r15,#0xe
    27a8:	27fe           	bit	@r15,#0xe
    27aa:	27de           	bit	@r13,#0xe
    27ac:	abf1           	dec	r15,#0x2
    27ae:	2ffe           	ld	@r15,r14
    27b0:	2107 0024      	ld	r7,#0x24
    27b4:	5f00 532c      	call	0x532c
    27b8:	8d24           	test	r2
    27ba:	ee21           	jr	ne,0x27fe
    27bc:	610e c43a      	ld	r14,0xc43a
    27c0:	4d01 c43c 0004 	cp	0xc43c,#0x4
    27c6:	ee02           	jr	ne,0x27cc
    27c8:	210e 0013      	ld	r14,#0x13
    27cc:	a1e2           	ld	r2,r14
    27ce:	ab28           	dec	r2,#0x9
    27d0:	0b02 000a      	cp	r2,#0xa
    27d4:	eb14           	jr	ugt,0x27fe
    27d6:	b320           	rl	r2,#0x1
    27d8:	6122 2796      	ld	r2,0x2796(r2)
    27dc:	1e28           	jp	t,@r2
    27de:	600a c205      	ldb	rl2,0xc205
    27e2:	040a 8080      	orb	rl2,#0x80
    27e6:	6e0a c205      	ldb	0xc205,rl2
    27ea:	e809           	jr	t,0x27fe
    27ec:	600a c205      	ldb	rl2,0xc205
    27f0:	060a 7f7f      	andb	rl2,#0x7f
    27f4:	6e0a c205      	ldb	0xc205,rl2
    27f8:	4d05 c2e8 013b 	ld	0xc2e8,#0x13b
    27fe:	21fe           	ld	r14,@r15
    2800:	a9f1           	inc	r15,#0x2
    2802:	9e08           	ret	t
    2804:	28b4           	incb	@r11,#0x5
    2806:	28ec           	incb	@r14,#0xd
    2808:	28ec           	incb	@r14,#0xd
    280a:	28ec           	incb	@r14,#0xd
    280c:	28ec           	incb	@r14,#0xd
    280e:	28ec           	incb	@r14,#0xd
    2810:	28a2           	incb	@r10,#0x3
    2812:	28ec           	incb	@r14,#0xd
    2814:	28ec           	incb	@r14,#0xd
    2816:	28ec           	incb	@r14,#0xd
    2818:	28c6           	incb	@r12,#0x7
    281a:	28ec           	incb	@r14,#0xd
    281c:	28ec           	incb	@r14,#0xd
    281e:	28ec           	incb	@r14,#0xd
    2820:	28cc           	incb	@r12,#0xd
    2822:	2890           	incb	@r9,#0x1
    2824:	28ec           	incb	@r14,#0xd
    2826:	28ec           	incb	@r14,#0xd
    2828:	28b4           	incb	@r11,#0x5
    282a:	abf7           	dec	r15,#0x8
    282c:	1cf9 0b03      	ldm	@r15,r11,#0x4
    2830:	2107 0024      	ld	r7,#0x24
    2834:	5f00 532c      	call	0x532c
    2838:	8d24           	test	r2
    283a:	ee58           	jr	ne,0x28ec
    283c:	610e c43a      	ld	r14,0xc43a
    2840:	0b0e 000f      	cp	r14,#0xf
    2844:	e602           	jr	eq,0x284a
    2846:	6406 c205      	setb	0xc205,#0x6
    284a:	bd71           	ldk	r7,#0x1
    284c:	5f00 532c      	call	0x532c
    2850:	8d24           	test	r2
    2852:	e602           	jr	eq,0x2858
    2854:	bdb0           	ldk	r11,#0x0
    2856:	e813           	jr	t,0x287e
    2858:	610d c43a      	ld	r13,0xc43a
    285c:	bd71           	ldk	r7,#0x1
    285e:	5f00 532c      	call	0x532c
    2862:	8d24           	test	r2
    2864:	e603           	jr	eq,0x286c
    2866:	5f00 5712      	call	0x5712
    286a:	e840           	jr	t,0x28ec
    286c:	610c c43a      	ld	r12,0xc43a
    2870:	0b0c 001c      	cp	r12,#0x1c
    2874:	eaf8           	jr	gt,0x2866
    2876:	0b0d 001c      	cp	r13,#0x1c
    287a:	eaf5           	jr	gt,0x2866
    287c:	bdb1           	ldk	r11,#0x1
    287e:	a1e2           	ld	r2,r14
    2880:	ab20           	dec	r2,#0x1
    2882:	0b02 0012      	cp	r2,#0x12
    2886:	eb32           	jr	ugt,0x28ec
    2888:	b320           	rl	r2,#0x1
    288a:	6122 2804      	ld	r2,0x2804(r2)
    288e:	1e28           	jp	t,@r2
    2890:	8db4           	test	r11
    2892:	e62c           	jr	eq,0x28ec
    2894:	a1c2           	ld	r2,r12
    2896:	6e0a c207      	ldb	0xc207,rl2
    289a:	a1d2           	ld	r2,r13
    289c:	6e0a c208      	ldb	0xc208,rl2
    28a0:	e825           	jr	t,0x28ec
    28a2:	8db4           	test	r11
    28a4:	e623           	jr	eq,0x28ec
    28a6:	a1c2           	ld	r2,r12
    28a8:	6e0a c209      	ldb	0xc209,rl2
    28ac:	a1d2           	ld	r2,r13
    28ae:	6e0a c20a      	ldb	0xc20a,rl2
    28b2:	e81c           	jr	t,0x28ec
    28b4:	8db4           	test	r11
    28b6:	e61a           	jr	eq,0x28ec
    28b8:	a1c2           	ld	r2,r12
    28ba:	6e0a c209      	ldb	0xc209,rl2
    28be:	a1d2           	ld	r2,r13
    28c0:	6e0a c20a      	ldb	0xc20a,rl2
    28c4:	e8e7           	jr	t,0x2894
    28c6:	6206 c205      	resb	0xc205,#0x6
    28ca:	e810           	jr	t,0x28ec
    28cc:	2107 2dca      	ld	r7,#0x2dca
    28d0:	5f00 6ec8      	call	0x6ec8
    28d4:	600f c205      	ldb	rl7,0xc205
    28d8:	b170           	extsb	r7
    28da:	a776           	bit	r7,#0x6
    28dc:	e603           	jr	eq,0x28e4
    28de:	2107 2dce      	ld	r7,#0x2dce
    28e2:	e802           	jr	t,0x28e8
    28e4:	2107 2dd2      	ld	r7,#0x2dd2
    28e8:	5f00 6ec8      	call	0x6ec8
    28ec:	1cf1 0b03      	ldm	r11,@r15,#0x4
    28f0:	a9f7           	inc	r15,#0x8
    28f2:	9e08           	ret	t
    28f4:	5f00 148c      	call	0x148c
    28f8:	9e08           	ret	t
    28fa:	abf1           	dec	r15,#0x2
    28fc:	76f7 0000      	lda	r7,0x0(r15)
    2900:	bd61           	ldk	r6,#0x1
    2902:	bd54           	ldk	r5,#0x4
    2904:	a164           	ld	r4,r6
    2906:	a163           	ld	r3,r6
    2908:	5f00 7390      	call	0x7390
    290c:	8d24           	test	r2
    290e:	ee14           	jr	ne,0x2938
    2910:	0df1 0003      	cp	@r15,#0x3
    2914:	e611           	jr	eq,0x2938
    2916:	21f2           	ld	r2,@r15
    2918:	b329 0005      	sla	r2,#0x5
    291c:	600b c202      	ldb	rl3,0xc202
    2920:	060b 9f9f      	andb	rl3,#0x9f
    2924:	6e0b c202      	ldb	0xc202,rl3
    2928:	b130           	extsb	r3
    292a:	8523           	or	r3,r2
    292c:	440b c202      	orb	rl3,0xc202
    2930:	6e0b c202      	ldb	0xc202,rl3
    2934:	5f00 075c      	call	0x75c
    2938:	a9f1           	inc	r15,#0x2
    293a:	9e08           	ret	t
    293c:	abf5           	dec	r15,#0x6
    293e:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    2944:	5f00 0abe      	call	0xabe
    2948:	2107 2dd6      	ld	r7,#0x2dd6
    294c:	5f00 6ec8      	call	0x6ec8
    2950:	600a c200      	ldb	rl2,0xc200
    2954:	b120           	extsb	r2
    2956:	b329 fffc      	sra	r2,#0x4
    295a:	0702 000f      	and	r2,#0xf
    295e:	8122           	add	r2,r2
    2960:	6126 4d72      	ld	r6,0x4d72(r2)
    2964:	8377           	sub	r7,r7
    2966:	5f00 6ea0      	call	0x6ea0
    296a:	2107 2dda      	ld	r7,#0x2dda
    296e:	5f00 6ec8      	call	0x6ec8
    2972:	600a c200      	ldb	rl2,0xc200
    2976:	b120           	extsb	r2
    2978:	0702 000f      	and	r2,#0xf
    297c:	8122           	add	r2,r2
    297e:	6126 4d72      	ld	r6,0x4d72(r2)
    2982:	8377           	sub	r7,r7
    2984:	5f00 6ea0      	call	0x6ea0
    2988:	2107 0020      	ld	r7,#0x20
    298c:	5f00 6c4c      	call	0x6c4c
    2990:	2107 2ddf      	ld	r7,#0x2ddf
    2994:	5f00 6ec8      	call	0x6ec8
    2998:	8377           	sub	r7,r7
    299a:	600e c20d      	ldb	rl6,0xc20d
    299e:	b160           	extsb	r6
    29a0:	5f00 6ea0      	call	0x6ea0
    29a4:	2107 2de3      	ld	r7,#0x2de3
    29a8:	5f00 6ec8      	call	0x6ec8
    29ac:	8377           	sub	r7,r7
    29ae:	600e c20e      	ldb	rl6,0xc20e
    29b2:	b160           	extsb	r6
    29b4:	5f00 6ea0      	call	0x6ea0
    29b8:	2107 2de8      	ld	r7,#0x2de8
    29bc:	5f00 6ec8      	call	0x6ec8
    29c0:	6107 c2b8      	ld	r7,0xc2b8
    29c4:	5f00 77d4      	call	0x77d4
    29c8:	2ff2           	ld	@r15,r2
    29ca:	8377           	sub	r7,r7
    29cc:	a126           	ld	r6,r2
    29ce:	5f00 6ea0      	call	0x6ea0
    29d2:	2107 0020      	ld	r7,#0x20
    29d6:	5f00 6c4c      	call	0x6c4c
    29da:	2107 4d3c      	ld	r7,#0x4d3c
    29de:	5f00 6ec8      	call	0x6ec8
    29e2:	2107 2ded      	ld	r7,#0x2ded
    29e6:	5f00 6ec8      	call	0x6ec8
    29ea:	210d c216      	ld	r13,#0xc216
    29ee:	bde0           	ldk	r14,#0x0
    29f0:	0cd1 5050      	cpb	@r13,#0x50
    29f4:	ea0f           	jr	gt,0x2a14
    29f6:	2107 2df3      	ld	r7,#0x2df3
    29fa:	5f00 6ec8      	call	0x6ec8
    29fe:	a1d6           	ld	r6,r13
    2a00:	a9d0           	inc	r13,#0x1
    2a02:	206e           	ldb	rl6,@r6
    2a04:	b160           	extsb	r6
    2a06:	8377           	sub	r7,r7
    2a08:	5f00 6ea0      	call	0x6ea0
    2a0c:	a9e0           	inc	r14,#0x1
    2a0e:	0b0e 0009      	cp	r14,#0x9
    2a12:	e1ee           	jr	lt,0x29f0
    2a14:	2107 2df5      	ld	r7,#0x2df5
    2a18:	5f00 6ec8      	call	0x6ec8
    2a1c:	600f c23a      	ldb	rl7,0xc23a
    2a20:	b170           	extsb	r7
    2a22:	5f00 78d8      	call	0x78d8
    2a26:	8d24           	test	r2
    2a28:	e606           	jr	eq,0x2a36
    2a2a:	600f c23a      	ldb	rl7,0xc23a
    2a2e:	b170           	extsb	r7
    2a30:	5f00 6c4c      	call	0x6c4c
    2a34:	e806           	jr	t,0x2a42
    2a36:	bd72           	ldk	r7,#0x2
    2a38:	600e c23a      	ldb	rl6,0xc23a
    2a3c:	b160           	extsb	r6
    2a3e:	5f00 6ea0      	call	0x6ea0
    2a42:	2107 2dfb      	ld	r7,#0x2dfb
    2a46:	5f00 6ec8      	call	0x6ec8
    2a4a:	600e c205      	ldb	rl6,0xc205
    2a4e:	b160           	extsb	r6
    2a50:	0706 001f      	and	r6,#0x1f
    2a54:	bd72           	ldk	r7,#0x2
    2a56:	5f00 6ea0      	call	0x6ea0
    2a5a:	2107 2e00      	ld	r7,#0x2e00
    2a5e:	5f00 6ec8      	call	0x6ec8
    2a62:	bd72           	ldk	r7,#0x2
    2a64:	600e c211      	ldb	rl6,0xc211
    2a68:	b160           	extsb	r6
    2a6a:	5f00 6ea0      	call	0x6ea0
    2a6e:	2107 2e05      	ld	r7,#0x2e05
    2a72:	5f00 6ec8      	call	0x6ec8
    2a76:	4c04 c22a      	testb	0xc22a
    2a7a:	e603           	jr	eq,0x2a82
    2a7c:	2107 0059      	ld	r7,#0x59
    2a80:	e802           	jr	t,0x2a86
    2a82:	2107 004e      	ld	r7,#0x4e
    2a86:	5f00 6c4c      	call	0x6c4c
    2a8a:	2107 2e0a      	ld	r7,#0x2e0a
    2a8e:	5f00 6ec8      	call	0x6ec8
    2a92:	4c01 c236 0202 	cpb	0xc236,#0x2
    2a98:	ee03           	jr	ne,0x2aa0
    2a9a:	2107 004d      	ld	r7,#0x4d
    2a9e:	e802           	jr	t,0x2aa4
    2aa0:	2107 0057      	ld	r7,#0x57
    2aa4:	5f00 6c4c      	call	0x6c4c
    2aa8:	2107 2e0f      	ld	r7,#0x2e0f
    2aac:	5f00 6ec8      	call	0x6ec8
    2ab0:	4c01 c237 0202 	cpb	0xc237,#0x2
    2ab6:	ee03           	jr	ne,0x2abe
    2ab8:	2107 004d      	ld	r7,#0x4d
    2abc:	e802           	jr	t,0x2ac2
    2abe:	2107 0057      	ld	r7,#0x57
    2ac2:	5f00 6c4c      	call	0x6c4c
    2ac6:	2107 2e14      	ld	r7,#0x2e14
    2aca:	5f00 6ec8      	call	0x6ec8
    2ace:	600a c201      	ldb	rl2,0xc201
    2ad2:	b120           	extsb	r2
    2ad4:	b329 fffc      	sra	r2,#0x4
    2ad8:	0702 000f      	and	r2,#0xf
    2adc:	602f 4eb6      	ldb	rl7,0x4eb6(r2)
    2ae0:	b170           	extsb	r7
    2ae2:	5f00 6c4c      	call	0x6c4c
    2ae6:	2107 2e19      	ld	r7,#0x2e19
    2aea:	5f00 6ec8      	call	0x6ec8
    2aee:	600a c205      	ldb	rl2,0xc205
    2af2:	b120           	extsb	r2
    2af4:	a726           	bit	r2,#0x6
    2af6:	e625           	jr	eq,0x2b42
    2af8:	bd72           	ldk	r7,#0x2
    2afa:	600e c208      	ldb	rl6,0xc208
    2afe:	b160           	extsb	r6
    2b00:	5f00 6ea0      	call	0x6ea0
    2b04:	2107 0020      	ld	r7,#0x20
    2b08:	5f00 6c4c      	call	0x6c4c
    2b0c:	bd72           	ldk	r7,#0x2
    2b0e:	600e c207      	ldb	rl6,0xc207
    2b12:	b160           	extsb	r6
    2b14:	5f00 6ea0      	call	0x6ea0
    2b18:	2107 0020      	ld	r7,#0x20
    2b1c:	5f00 6c4c      	call	0x6c4c
    2b20:	bd72           	ldk	r7,#0x2
    2b22:	600e c20a      	ldb	rl6,0xc20a
    2b26:	b160           	extsb	r6
    2b28:	5f00 6ea0      	call	0x6ea0
    2b2c:	2107 0020      	ld	r7,#0x20
    2b30:	5f00 6c4c      	call	0x6c4c
    2b34:	bd72           	ldk	r7,#0x2
    2b36:	600e c209      	ldb	rl6,0xc209
    2b3a:	b160           	extsb	r6
    2b3c:	5f00 6ea0      	call	0x6ea0
    2b40:	e804           	jr	t,0x2b4a
    2b42:	2107 004e      	ld	r7,#0x4e
    2b46:	5f00 6c4c      	call	0x6c4c
    2b4a:	2107 2e1e      	ld	r7,#0x2e1e
    2b4e:	5f00 6ec8      	call	0x6ec8
    2b52:	600f c201      	ldb	rl7,0xc201
    2b56:	b170           	extsb	r7
    2b58:	b379 ffff      	sra	r7,#0x1
    2b5c:	0707 0007      	and	r7,#0x7
    2b60:	a17e           	ld	r14,r7
    2b62:	a770           	bit	r7,#0x0
    2b64:	e603           	jr	eq,0x2b6c
    2b66:	2107 0048      	ld	r7,#0x48
    2b6a:	e802           	jr	t,0x2b70
    2b6c:	2107 0046      	ld	r7,#0x46
    2b70:	5f00 6c4c      	call	0x6c4c
    2b74:	a7e1           	bit	r14,#0x1
    2b76:	e603           	jr	eq,0x2b7e
    2b78:	2107 0042      	ld	r7,#0x42
    2b7c:	e807           	jr	t,0x2b8c
    2b7e:	a7e2           	bit	r14,#0x2
    2b80:	e603           	jr	eq,0x2b88
    2b82:	2107 0043      	ld	r7,#0x43
    2b86:	e802           	jr	t,0x2b8c
    2b88:	2107 0041      	ld	r7,#0x41
    2b8c:	5f00 6c4c      	call	0x6c4c
    2b90:	2107 2e23      	ld	r7,#0x2e23
    2b94:	5f00 6ec8      	call	0x6ec8
    2b98:	210d c222      	ld	r13,#0xc222
    2b9c:	bde0           	ldk	r14,#0x0
    2b9e:	2107 0043      	ld	r7,#0x43
    2ba2:	5f00 6c4c      	call	0x6c4c
    2ba6:	8377           	sub	r7,r7
    2ba8:	a1e6           	ld	r6,r14
    2baa:	5f00 6ea0      	call	0x6ea0
    2bae:	2107 0020      	ld	r7,#0x20
    2bb2:	5f00 6c4c      	call	0x6c4c
    2bb6:	a1d6           	ld	r6,r13
    2bb8:	a9d0           	inc	r13,#0x1
    2bba:	206e           	ldb	rl6,@r6
    2bbc:	b160           	extsb	r6
    2bbe:	bd72           	ldk	r7,#0x2
    2bc0:	5f00 6ea0      	call	0x6ea0
    2bc4:	2107 2e26      	ld	r7,#0x2e26
    2bc8:	5f00 6ec8      	call	0x6ec8
    2bcc:	a9e0           	inc	r14,#0x1
    2bce:	0b0e 0008      	cp	r14,#0x8
    2bd2:	e1e5           	jr	lt,0x2b9e
    2bd4:	2107 2e29      	ld	r7,#0x2e29
    2bd8:	5f00 6ec8      	call	0x6ec8
    2bdc:	5f00 0ac4      	call	0xac4
    2be0:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    2be6:	a9f5           	inc	r15,#0x6
    2be8:	9e08           	ret	t
    2bea:	bd71           	ldk	r7,#0x1
    2bec:	8366           	sub	r6,r6
    2bee:	2105 0022      	ld	r5,#0x22
    2bf2:	8344           	sub	r4,r4
    2bf4:	5f00 2cd6      	call	0x2cd6
    2bf8:	9e08           	ret	t
    2bfa:	abf1           	dec	r15,#0x2
    2bfc:	2ffe           	ld	@r15,r14
    2bfe:	bde0           	ldk	r14,#0x0
    2c00:	a1e2           	ld	r2,r14
    2c02:	81e2           	add	r2,r14
    2c04:	6103 c43a      	ld	r3,0xc43a
    2c08:	4b23 4d72      	cp	r3,0x4d72(r2)
    2c0c:	ee02           	jr	ne,0x2c12
    2c0e:	a1e2           	ld	r2,r14
    2c10:	e806           	jr	t,0x2c1e
    2c12:	a9e0           	inc	r14,#0x1
    2c14:	0b0e 0010      	cp	r14,#0x10
    2c18:	e1f3           	jr	lt,0x2c00
    2c1a:	2102 ffff      	ld	r2,#0xffff
    2c1e:	21fe           	ld	r14,@r15
    2c20:	a9f1           	inc	r15,#0x2
    2c22:	9e08           	ret	t
    2c24:	2107 0400      	ld	r7,#0x400
    2c28:	5f00 532c      	call	0x532c
    2c2c:	8d24           	test	r2
    2c2e:	ee08           	jr	ne,0x2c40
    2c30:	600f c338      	ldb	rl7,0xc338
    2c34:	b170           	extsb	r7
    2c36:	5f00 790c      	call	0x790c
    2c3a:	0b02 0043      	cp	r2,#0x43
    2c3e:	e60c           	jr	eq,0x2c58
    2c40:	bd21           	ldk	r2,#0x1
    2c42:	e809           	jr	t,0x2c56
    2c44:	4d01 c43a 0000 	cp	0xc43a,#0x0
    2c4a:	e10b           	jr	lt,0x2c62
    2c4c:	4d01 c43a 0007 	cp	0xc43a,#0x7
    2c52:	ea07           	jr	gt,0x2c62
    2c54:	8322           	sub	r2,r2
    2c56:	9e08           	ret	t
    2c58:	bd71           	ldk	r7,#0x1
    2c5a:	5f00 532c      	call	0x532c
    2c5e:	8d24           	test	r2
    2c60:	e6f1           	jr	eq,0x2c44
    2c62:	bd22           	ldk	r2,#0x2
    2c64:	e8f8           	jr	t,0x2c56
    2c66:	600f c338      	ldb	rl7,0xc338
    2c6a:	b170           	extsb	r7
    2c6c:	5f00 790c      	call	0x790c
    2c70:	0b02 0050      	cp	r2,#0x50
    2c74:	e60c           	jr	eq,0x2c8e
    2c76:	bd21           	ldk	r2,#0x1
    2c78:	e809           	jr	t,0x2c8c
    2c7a:	4d01 c43a 0000 	cp	0xc43a,#0x0
    2c80:	e10d           	jr	lt,0x2c9c
    2c82:	4d01 c43a 0077 	cp	0xc43a,#0x77
    2c88:	ea09           	jr	gt,0x2c9c
    2c8a:	8322           	sub	r2,r2
    2c8c:	9e08           	ret	t
    2c8e:	4c08 c338      	clrb	0xc338
    2c92:	bd71           	ldk	r7,#0x1
    2c94:	5f00 532c      	call	0x532c
    2c98:	8d24           	test	r2
    2c9a:	e6ef           	jr	eq,0x2c7a
    2c9c:	bd22           	ldk	r2,#0x2
    2c9e:	e8f6           	jr	t,0x2c8c
    2ca0:	600f c20d      	ldb	rl7,0xc20d
    2ca4:	b170           	extsb	r7
    2ca6:	5f00 7792      	call	0x7792
    2caa:	6f02 c2b0      	ld	0xc2b0,r2
    2cae:	4c04 c241      	testb	0xc241
    2cb2:	e60b           	jr	eq,0x2cca
    2cb4:	6102 c2f0      	ld	r2,0xc2f0
    2cb8:	ab2d           	dec	r2,#0xe
    2cba:	6f02 c2b2      	ld	0xc2b2,r2
    2cbe:	4b02 c2b8      	cp	r2,0xc2b8
    2cc2:	e908           	jr	ge,0x2cd4
    2cc4:	6102 c2b8      	ld	r2,0xc2b8
    2cc8:	e803           	jr	t,0x2cd0
    2cca:	bd71           	ldk	r7,#0x1
    2ccc:	5f00 77a8      	call	0x77a8
    2cd0:	6f02 c2b2      	ld	0xc2b2,r2
    2cd4:	9e08           	ret	t
    2cd6:	abf7           	dec	r15,#0x8
    2cd8:	5cf9 0c02 0002 	ldm	0x2(r15),r12,#0x3
    2cde:	2ff4           	ld	@r15,r4
    2ce0:	a17e           	ld	r14,r7
    2ce2:	a16d           	ld	r13,r6
    2ce4:	a15c           	ld	r12,r5
    2ce6:	2107 0025      	ld	r7,#0x25
    2cea:	5f00 532c      	call	0x532c
    2cee:	8d24           	test	r2
    2cf0:	e603           	jr	eq,0x2cf8
    2cf2:	5f00 5712      	call	0x5712
    2cf6:	e864           	jr	t,0x2dc0
    2cf8:	6702 c43c      	bit	0xc43c,#0x2
    2cfc:	e60b           	jr	eq,0x2d14
    2cfe:	4c04 c234      	testb	0xc234
    2d02:	e604           	jr	eq,0x2d0c
    2d04:	a1e2           	ld	r2,r14
    2d06:	6e0a c236      	ldb	0xc236,rl2
    2d0a:	e85a           	jr	t,0x2dc0
    2d0c:	a1e2           	ld	r2,r14
    2d0e:	6e0a c237      	ldb	0xc237,rl2
    2d12:	e856           	jr	t,0x2dc0
    2d14:	6700 c43c      	bit	0xc43c,#0x0
    2d18:	e64b           	jr	eq,0x2db0
    2d1a:	4b0d c43a      	cp	r13,0xc43a
    2d1e:	eae9           	jr	gt,0x2cf2
    2d20:	4b0c c43a      	cp	r12,0xc43a
    2d24:	e1e6           	jr	lt,0x2cf2
    2d26:	0b0e 0001      	cp	r14,#0x1
    2d2a:	ee05           	jr	ne,0x2d36
    2d2c:	2107 0022      	ld	r7,#0x22
    2d30:	4307 c43a      	sub	r7,0xc43a
    2d34:	e802           	jr	t,0x2d3a
    2d36:	6107 c43a      	ld	r7,0xc43a
    2d3a:	6e0f c250      	ldb	0xc250,rl7
    2d3e:	b170           	extsb	r7
    2d40:	5f00 758c      	call	0x758c
    2d44:	4c08 c241      	clrb	0xc241
    2d48:	4c04 c251      	testb	0xc251
    2d4c:	ee04           	jr	ne,0x2d56
    2d4e:	5f00 3f34      	call	0x3f34
    2d52:	5f00 4132      	call	0x4132
    2d56:	5f00 2ca0      	call	0x2ca0
    2d5a:	6102 c43a      	ld	r2,0xc43a
    2d5e:	0bf2           	cp	r2,@r15
    2d60:	ee13           	jr	ne,0x2d88
    2d62:	4c05 c236 0202 	ldb	0xc236,#0x2
    2d68:	4c05 c237 0202 	ldb	0xc237,#0x2
    2d6e:	2107 0020      	ld	r7,#0x20
    2d72:	5f00 532c      	call	0x532c
    2d76:	8d24           	test	r2
    2d78:	ee23           	jr	ne,0x2dc0
    2d7a:	2107 0020      	ld	r7,#0x20
    2d7e:	5f00 532c      	call	0x532c
    2d82:	8d24           	test	r2
    2d84:	e61d           	jr	eq,0x2dc0
    2d86:	e81c           	jr	t,0x2dc0
    2d88:	2107 0020      	ld	r7,#0x20
    2d8c:	5f00 532c      	call	0x532c
    2d90:	8d24           	test	r2
    2d92:	e60e           	jr	eq,0x2db0
    2d94:	e815           	jr	t,0x2dc0
    2d96:	a1e2           	ld	r2,r14
    2d98:	6e0a c237      	ldb	0xc237,rl2
    2d9c:	e803           	jr	t,0x2da4
    2d9e:	a1e2           	ld	r2,r14
    2da0:	6e0a c236      	ldb	0xc236,rl2
    2da4:	2107 0020      	ld	r7,#0x20
    2da8:	5f00 532c      	call	0x532c
    2dac:	8d24           	test	r2
    2dae:	ee08           	jr	ne,0x2dc0
    2db0:	4d01 c43a 0007 	cp	0xc43a,#0x7
    2db6:	e6ef           	jr	eq,0x2d96
    2db8:	4d01 c43a 0008 	cp	0xc43a,#0x8
    2dbe:	e6ef           	jr	eq,0x2d9e
    2dc0:	5cf1 0c02 0002 	ldm	r12,0x2(r15),#0x3
    2dc6:	a9f7           	inc	r15,#0x8
    2dc8:	9e08           	ret	t
    2dca:	5253 3d00      	subl	rr3,0x3d00(r5)
    2dce:	595c 6e00      	mult	rr12,0x6e00(r5)
    2dd2:	4e5c           	.word 4e5c
    2dd4:	6e00 5442      	ldb	0x5442,rh0
    2dd8:	3d00           	in	r0,@r0
    2dda:	2052           	ldb	rh2,@r5
    2ddc:	423d 004c      	subb	rl5,0x4c(r3)
    2de0:	4d3d           	.word 4d3d
    2de2:	0020           	addb	rh0,@r2
    2de4:	524d 3d00      	subl	rr13,0x3d00(r4)
    2de8:	2057           	ldb	rh7,@r5
    2dea:	4c3d           	.word 4c3d
    2dec:	005c           	addb	rl4,@r5
    2dee:	6e54 533d      	ldb	0x533d(r5),rh4
    2df2:	0020           	addb	rh0,@r2
    2df4:	005c           	addb	rl4,@r5
    2df6:	6e43 433d      	ldb	0x433d(r4),rh3
    2dfa:	0020           	addb	rh0,@r2
    2dfc:	4b4d 3d00      	cp	r13,0x3d00(r4)
    2e00:	2054           	ldb	rh4,@r5
    2e02:	4d3d           	.word 4d3d
    2e04:	0020           	addb	rh0,@r2
    2e06:	534e 3d00      	push	@r4,0x3d00(r14)
    2e0a:	204b           	ldb	rl3,@r4
    2e0c:	423d 0020      	subb	rl5,0x20(r3)
    2e10:	434d 3d00      	sub	r13,0x3d00(r4)
    2e14:	2050           	ldb	rh0,@r5
    2e16:	413d 0020      	add	r13,0x20(r3)
    2e1a:	5253 3d00      	subl	rr3,0x3d00(r5)
    2e1e:	2044           	ldb	rh4,@r4
    2e20:	553d 005c      	popl	0x5c(r13),@r3
    2e24:	6e00 2020      	ldb	0x2020,rh0
    2e28:	005c           	addb	rl4,@r5
    2e2a:	6e00 abf1      	ldb	0xabf1,rh0
    2e2e:	2ffe           	ld	@r15,r14
    2e30:	4c04 c241      	testb	0xc241
    2e34:	ee03           	jr	ne,0x2e3c
    2e36:	5f00 5316      	call	0x5316
    2e3a:	e819           	jr	t,0x2e6e
    2e3c:	5f00 6f96      	call	0x6f96
    2e40:	600a c22d      	ldb	rl2,0xc22d
    2e44:	b120           	extsb	r2
    2e46:	a12e           	ld	r14,r2
    2e48:	4c08 c22d      	clrb	0xc22d
    2e4c:	6107 c30a      	ld	r7,0xc30a
    2e50:	5f00 74d8      	call	0x74d8
    2e54:	600f c238      	ldb	rl7,0xc238
    2e58:	b170           	extsb	r7
    2e5a:	5f00 7212      	call	0x7212
    2e5e:	8377           	sub	r7,r7
    2e60:	5f00 35f4      	call	0x35f4
    2e64:	a1e2           	ld	r2,r14
    2e66:	6e0a c22d      	ldb	0xc22d,rl2
    2e6a:	5f00 6fb6      	call	0x6fb6
    2e6e:	21fe           	ld	r14,@r15
    2e70:	a9f1           	inc	r15,#0x2
    2e72:	9e08           	ret	t
    2e74:	bd71           	ldk	r7,#0x1
    2e76:	5f00 532c      	call	0x532c
    2e7a:	8d24           	test	r2
    2e7c:	ee2f           	jr	ne,0x2edc
    2e7e:	4d01 c43a 0002 	cp	0xc43a,#0x2
    2e84:	e12c           	jr	lt,0x2ede
    2e86:	4d01 c43a 001e 	cp	0xc43a,#0x1e
    2e8c:	ea28           	jr	gt,0x2ede
    2e8e:	bd72           	ldk	r7,#0x2
    2e90:	5f00 152a      	call	0x152a
    2e94:	2107 d4e4      	ld	r7,#0xd4e4
    2e98:	8366           	sub	r6,r6
    2e9a:	2105 0a00      	ld	r5,#0xa00
    2e9e:	5f00 1bd8      	call	0x1bd8
    2ea2:	bd71           	ldk	r7,#0x1
    2ea4:	5f00 152a      	call	0x152a
    2ea8:	e819           	jr	t,0x2edc
    2eaa:	2107 f4d0      	ld	r7,#0xf4d0
    2eae:	8366           	sub	r6,r6
    2eb0:	2105 0960      	ld	r5,#0x960
    2eb4:	5f00 1bd8      	call	0x1bd8
    2eb8:	4d05 c310 ffff 	ld	0xc310,#0xffff
    2ebe:	e80e           	jr	t,0x2edc
    2ec0:	2107 f410      	ld	r7,#0xf410
    2ec4:	8366           	sub	r6,r6
    2ec6:	2105 00c0      	ld	r5,#0xc0
    2eca:	5f00 1bd8      	call	0x1bd8
    2ece:	4d05 c460 f210 	ld	0xc460,#0xf210
    2ed4:	6102 c460      	ld	r2,0xc460
    2ed8:	0c25 c0c0      	ldb	@r2,#0xc0
    2edc:	9e08           	ret	t
    2ede:	4d01 c43a 001f 	cp	0xc43a,#0x1f
    2ee4:	e6e2           	jr	eq,0x2eaa
    2ee6:	4d01 c43a 0021 	cp	0xc43a,#0x21
    2eec:	e6e9           	jr	eq,0x2ec0
    2eee:	5f00 5712      	call	0x5712
    2ef2:	e8f4           	jr	t,0x2edc
    2ef4:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    2efa:	ee0b           	jr	ne,0x2f12
    2efc:	4c01 c24c 0303 	cpb	0xc24c,#0x3
    2f02:	ee07           	jr	ne,0x2f12
    2f04:	4c01 c232 0303 	cpb	0xc232,#0x3
    2f0a:	ee03           	jr	ne,0x2f12
    2f0c:	bd73           	ldk	r7,#0x3
    2f0e:	5f00 72c2      	call	0x72c2
    2f12:	4c04 c22d      	testb	0xc22d
    2f16:	e616           	jr	eq,0x2f44
    2f18:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    2f1e:	ee02           	jr	ne,0x2f24
    2f20:	5f00 1d6a      	call	0x1d6a
    2f24:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    2f2a:	ee02           	jr	ne,0x2f30
    2f2c:	5f00 1dc2      	call	0x1dc2
    2f30:	5f00 6f96      	call	0x6f96
    2f34:	4c08 c29b      	clrb	0xc29b
    2f38:	4c08 c22d      	clrb	0xc22d
    2f3c:	4c08 c253      	clrb	0xc253
    2f40:	5f00 601c      	call	0x601c
    2f44:	9e08           	ret	t
    2f46:	4c04 c241      	testb	0xc241
    2f4a:	ee03           	jr	ne,0x2f52
    2f4c:	5f00 5712      	call	0x5712
    2f50:	e82e           	jr	t,0x2fae
    2f52:	4c04 c22d      	testb	0xc22d
    2f56:	e603           	jr	eq,0x2f5e
    2f58:	5f00 5316      	call	0x5316
    2f5c:	e828           	jr	t,0x2fae
    2f5e:	4c04 c253      	testb	0xc253
    2f62:	e604           	jr	eq,0x2f6c
    2f64:	4d05 c43a 0001 	ld	0xc43a,#0x1
    2f6a:	e80f           	jr	t,0x2f8a
    2f6c:	bd75           	ldk	r7,#0x5
    2f6e:	5f00 532c      	call	0x532c
    2f72:	8d24           	test	r2
    2f74:	ee1c           	jr	ne,0x2fae
    2f76:	4d01 c43c 0004 	cp	0xc43c,#0x4
    2f7c:	e603           	jr	eq,0x2f84
    2f7e:	4d04 c43a      	test	0xc43a
    2f82:	ee03           	jr	ne,0x2f8a
    2f84:	4d05 c43a ffff 	ld	0xc43a,#0xffff
    2f8a:	6102 c2ac      	ld	r2,0xc2ac
    2f8e:	6f02 c2cc      	ld	0xc2cc,r2
    2f92:	6102 c2ae      	ld	r2,0xc2ae
    2f96:	6f02 c2ce      	ld	0xc2ce,r2
    2f9a:	2107 c2cc      	ld	r7,#0xc2cc
    2f9e:	2106 c2ce      	ld	r6,#0xc2ce
    2fa2:	5f00 4444      	call	0x4444
    2fa6:	6107 c43a      	ld	r7,0xc43a
    2faa:	5f00 392e      	call	0x392e
    2fae:	9e08           	ret	t
    2fb0:	abf1           	dec	r15,#0x2
    2fb2:	2107 0020      	ld	r7,#0x20
    2fb6:	5f00 532c      	call	0x532c
    2fba:	8d24           	test	r2
    2fbc:	e611           	jr	eq,0x2fe0
    2fbe:	4c04 c234      	testb	0xc234
    2fc2:	e606           	jr	eq,0x2fd0
    2fc4:	4c01 c236 0202 	cpb	0xc236,#0x2
    2fca:	ee06           	jr	ne,0x2fd8
    2fcc:	bd2a           	ldk	r2,#0xa
    2fce:	e806           	jr	t,0x2fdc
    2fd0:	4c01 c237 0202 	cpb	0xc237,#0x2
    2fd6:	e6fa           	jr	eq,0x2fcc
    2fd8:	2102 0012      	ld	r2,#0x12
    2fdc:	6f02 c43a      	ld	0xc43a,r2
    2fe0:	6102 c43a      	ld	r2,0xc43a
    2fe4:	e83a           	jr	t,0x305a
    2fe6:	4c08 c241      	clrb	0xc241
    2fea:	4d01 c2b8 01df 	cp	0xc2b8,#0x1df
    2ff0:	ea3d           	jr	gt,0x306c
    2ff2:	4d08 c2ee      	clr	0xc2ee
    2ff6:	4d05 c2ea 031f 	ld	0xc2ea,#0x31f
    2ffc:	6102 c2b8      	ld	r2,0xc2b8
    3000:	6f02 c2f0      	ld	0xc2f0,r2
    3004:	4d05 c2ec 01df 	ld	0xc2ec,#0x1df
    300a:	5f00 2ef4      	call	0x2ef4
    300e:	bd77           	ldk	r7,#0x7
    3010:	5f00 40e4      	call	0x40e4
    3014:	e82b           	jr	t,0x306c
    3016:	5f00 3f34      	call	0x3f34
    301a:	e828           	jr	t,0x306c
    301c:	4c04 c241      	testb	0xc241
    3020:	ee03           	jr	ne,0x3028
    3022:	5f00 5316      	call	0x5316
    3026:	e822           	jr	t,0x306c
    3028:	5f00 2c24      	call	0x2c24
    302c:	8d24           	test	r2
    302e:	e60c           	jr	eq,0x3048
    3030:	5f00 2c66      	call	0x2c66
    3034:	8d24           	test	r2
    3036:	e603           	jr	eq,0x303e
    3038:	2102 0807      	ld	r2,#0x807
    303c:	e809           	jr	t,0x3050
    303e:	6102 c43a      	ld	r2,0xc43a
    3042:	0502 0400      	or	r2,#0x400
    3046:	e804           	jr	t,0x3050
    3048:	6102 c43a      	ld	r2,0xc43a
    304c:	0502 0800      	or	r2,#0x800
    3050:	2ff2           	ld	@r15,r2
    3052:	a127           	ld	r7,r2
    3054:	6f02 c30e      	ld	0xc30e,r2
    3058:	e8db           	jr	t,0x3010
    305a:	0b02 0006      	cp	r2,#0x6
    305e:	e6de           	jr	eq,0x301c
    3060:	0b02 000a      	cp	r2,#0xa
    3064:	e6d8           	jr	eq,0x3016
    3066:	0b02 0012      	cp	r2,#0x12
    306a:	e6bd           	jr	eq,0x2fe6
    306c:	a9f1           	inc	r15,#0x2
    306e:	9e08           	ret	t
    3070:	030f 0012      	sub	r15,#0x12
    3074:	5cf9 0905 0006 	ldm	0x6(r15),r9,#0x6
    307a:	bda1           	ldk	r10,#0x1
    307c:	bdb0           	ldk	r11,#0x0
    307e:	bd71           	ldk	r7,#0x1
    3080:	5f00 532c      	call	0x532c
    3084:	8d24           	test	r2
    3086:	5e0e 3280      	jp	ne,0x3280
    308a:	6102 c43a      	ld	r2,0xc43a
    308e:	8d24           	test	r2
    3090:	e603           	jr	eq,0x3098
    3092:	0b02 0001      	cp	r2,#0x1
    3096:	ee0b           	jr	ne,0x30ae
    3098:	600a c43b      	ldb	rl2,0xc43b
    309c:	6efa 0001      	ldb	0x1(r15),rl2
    30a0:	bd71           	ldk	r7,#0x1
    30a2:	5f00 532c      	call	0x532c
    30a6:	8d24           	test	r2
    30a8:	e604           	jr	eq,0x30b2
    30aa:	5e08 3280      	jp	t,0x3280
    30ae:	4cf8 0001      	clrb	0x1(r15)
    30b2:	5f00 2c24      	call	0x2c24
    30b6:	a12e           	ld	r14,r2
    30b8:	0b02 0002      	cp	r2,#0x2
    30bc:	5e06 3280      	jp	eq,0x3280
    30c0:	0b02 0001      	cp	r2,#0x1
    30c4:	ee0b           	jr	ne,0x30dc
    30c6:	5f00 2c66      	call	0x2c66
    30ca:	a12e           	ld	r14,r2
    30cc:	0b02 0002      	cp	r2,#0x2
    30d0:	5e06 3280      	jp	eq,0x3280
    30d4:	8d24           	test	r2
    30d6:	ee02           	jr	ne,0x30dc
    30d8:	4d08 c43a      	clr	0xc43a
    30dc:	8de4           	test	r14
    30de:	ee29           	jr	ne,0x3132
    30e0:	6102 c43a      	ld	r2,0xc43a
    30e4:	4c21 c222 0000 	cpb	0xc222(r2),#0x0
    30ea:	bd20           	ldk	r2,#0x0
    30ec:	af2e           	tcc	ne,r2
    30ee:	b120           	extsb	r2
    30f0:	a12b           	ld	r11,r2
    30f2:	5f00 2c24      	call	0x2c24
    30f6:	a12e           	ld	r14,r2
    30f8:	0b02 0002      	cp	r2,#0x2
    30fc:	5e06 3280      	jp	eq,0x3280
    3100:	0b02 0001      	cp	r2,#0x1
    3104:	ee0b           	jr	ne,0x311c
    3106:	5f00 2c66      	call	0x2c66
    310a:	a12e           	ld	r14,r2
    310c:	0b02 0002      	cp	r2,#0x2
    3110:	5e06 3280      	jp	eq,0x3280
    3114:	8d24           	test	r2
    3116:	ee02           	jr	ne,0x311c
    3118:	4d08 c43a      	clr	0xc43a
    311c:	8de4           	test	r14
    311e:	ee09           	jr	ne,0x3132
    3120:	6102 c43a      	ld	r2,0xc43a
    3124:	4c21 c222 0000 	cpb	0xc222(r2),#0x0
    312a:	bd20           	ldk	r2,#0x0
    312c:	af2e           	tcc	ne,r2
    312e:	b120           	extsb	r2
    3130:	a12a           	ld	r10,r2
    3132:	600a c233      	ldb	rl2,0xc233
    3136:	6efa 0005      	ldb	0x5(r15),rl2
    313a:	60fa 0001      	ldb	rl2,0x1(r15)
    313e:	6e0a c233      	ldb	0xc233,rl2
    3142:	bd72           	ldk	r7,#0x2
    3144:	5f00 152a      	call	0x152a
    3148:	bde0           	ldk	r14,#0x0
    314a:	a1e7           	ld	r7,r14
    314c:	5f00 6ba2      	call	0x6ba2
    3150:	6ff2 0002      	ld	0x2(r15),r2
    3154:	202a           	ldb	rl2,@r2
    3156:	b120           	extsb	r2
    3158:	0702 0001      	and	r2,#0x1
    315c:	a129           	ld	r9,r2
    315e:	8db4           	test	r11
    3160:	e603           	jr	eq,0x3168
    3162:	2102 ffff      	ld	r2,#0xffff
    3166:	e801           	jr	t,0x316a
    3168:	8322           	sub	r2,r2
    316a:	a1e1           	ld	r1,r14
    316c:	1900 0014      	mult	rr0,#0x14
    3170:	6f12 d4e4      	ld	0xd4e4(r1),r2
    3174:	a1e3           	ld	r3,r14
    3176:	1902 0014      	mult	rr2,#0x14
    317a:	a1e1           	ld	r1,r14
    317c:	1900 0014      	mult	rr0,#0x14
    3180:	6132 d4e4      	ld	r2,0xd4e4(r3)
    3184:	6f12 d4e6      	ld	0xd4e6(r1),r2
    3188:	a1e3           	ld	r3,r14
    318a:	1902 0014      	mult	rr2,#0x14
    318e:	a1e1           	ld	r1,r14
    3190:	1900 0014      	mult	rr0,#0x14
    3194:	6132 d4e4      	ld	r2,0xd4e4(r3)
    3198:	6f12 d4f6      	ld	0xd4f6(r1),r2
    319c:	8db4           	test	r11
    319e:	e60a           	jr	eq,0x31b4
    31a0:	a193           	ld	r3,r9
    31a2:	1902 0009      	mult	rr2,#0x9
    31a6:	2102 0030      	ld	r2,#0x30
    31aa:	b32b 0300      	sda	r2,r3
    31ae:	0502 800f      	or	r2,#0x800f
    31b2:	e801           	jr	t,0x31b6
    31b4:	8322           	sub	r2,r2
    31b6:	a1e1           	ld	r1,r14
    31b8:	1900 0014      	mult	rr0,#0x14
    31bc:	6f12 d4e8      	ld	0xd4e8(r1),r2
    31c0:	bdd3           	ldk	r13,#0x3
    31c2:	a1e3           	ld	r3,r14
    31c4:	1902 0014      	mult	rr2,#0x14
    31c8:	a1d2           	ld	r2,r13
    31ca:	81d2           	add	r2,r13
    31cc:	8123           	add	r3,r2
    31ce:	a1e1           	ld	r1,r14
    31d0:	1900 0014      	mult	rr0,#0x14
    31d4:	6112 d4e8      	ld	r2,0xd4e8(r1)
    31d8:	6f32 d4e4      	ld	0xd4e4(r3),r2
    31dc:	a9d0           	inc	r13,#0x1
    31de:	0b0d 0009      	cp	r13,#0x9
    31e2:	e1ef           	jr	lt,0x31c2
    31e4:	bdc0           	ldk	r12,#0x0
    31e6:	8dc4           	test	r12
    31e8:	ee04           	jr	ne,0x31f2
    31ea:	8d94           	test	r9
    31ec:	e602           	jr	eq,0x31f2
    31ee:	bd22           	ldk	r2,#0x2
    31f0:	e801           	jr	t,0x31f4
    31f2:	bd21           	ldk	r2,#0x1
    31f4:	a12d           	ld	r13,r2
    31f6:	e82f           	jr	t,0x3256
    31f8:	bd21           	ldk	r2,#0x1
    31fa:	b32b 0d00      	sda	r2,r13
    31fe:	61f3 0002      	ld	r3,0x2(r15)
    3202:	203b           	ldb	rl3,@r3
    3204:	b130           	extsb	r3
    3206:	8723           	and	r3,r2
    3208:	e610           	jr	eq,0x322a
    320a:	a1e3           	ld	r3,r14
    320c:	1902 0014      	mult	rr2,#0x14
    3210:	76d2 0001      	lda	r2,0x1(r13)
    3214:	8122           	add	r2,r2
    3216:	8123           	add	r3,r2
    3218:	a192           	ld	r2,r9
    321a:	8192           	add	r2,r9
    321c:	81c2           	add	r2,r12
    321e:	a120           	ld	r0,r2
    3220:	8d02           	neg	r0
    3222:	0100 000e      	add	r0,#0xe
    3226:	a1a2           	ld	r2,r10
    3228:	e80f           	jr	t,0x3248
    322a:	a1e3           	ld	r3,r14
    322c:	1902 0014      	mult	rr2,#0x14
    3230:	76d2 0001      	lda	r2,0x1(r13)
    3234:	8122           	add	r2,r2
    3236:	8123           	add	r3,r2
    3238:	a192           	ld	r2,r9
    323a:	8192           	add	r2,r9
    323c:	81c2           	add	r2,r12
    323e:	a120           	ld	r0,r2
    3240:	8d02           	neg	r0
    3242:	0100 000e      	add	r0,#0xe
    3246:	a1b2           	ld	r2,r11
    3248:	b32b 0000      	sda	r2,r0
    324c:	4532 d4e4      	or	r2,0xd4e4(r3)
    3250:	6f32 d4e4      	ld	0xd4e4(r3),r2
    3254:	a9d0           	inc	r13,#0x1
    3256:	0b0d 0008      	cp	r13,#0x8
    325a:	e1ce           	jr	lt,0x31f8
    325c:	69f0 0002      	inc	0x2(r15),#0x1
    3260:	a9c0           	inc	r12,#0x1
    3262:	0b0c 0009      	cp	r12,#0x9
    3266:	e1bf           	jr	lt,0x31e6
    3268:	a9e0           	inc	r14,#0x1
    326a:	0b0e 0080      	cp	r14,#0x80
    326e:	5e01 314a      	jp	lt,0x314a
    3272:	bd71           	ldk	r7,#0x1
    3274:	5f00 152a      	call	0x152a
    3278:	60fa 0005      	ldb	rl2,0x5(r15)
    327c:	6e0a c233      	ldb	0xc233,rl2
    3280:	5cf1 0905 0006 	ldm	r9,0x6(r15),#0x6
    3286:	010f 0012      	add	r15,#0x12
    328a:	9e08           	ret	t
    328c:	2107 c22f      	ld	r7,#0xc22f
    3290:	5f00 7750      	call	0x7750
    3294:	9e08           	ret	t
    3296:	2107 0025      	ld	r7,#0x25
    329a:	5f00 532c      	call	0x532c
    329e:	8d24           	test	r2
    32a0:	ee43           	jr	ne,0x3328
    32a2:	4c08 c28a      	clrb	0xc28a
    32a6:	4d01 c43c 0004 	cp	0xc43c,#0x4
    32ac:	e604           	jr	eq,0x32b6
    32ae:	4d01 c43c 0001 	cp	0xc43c,#0x1
    32b4:	ee1d           	jr	ne,0x32f0
    32b6:	4d01 c43c 0004 	cp	0xc43c,#0x4
    32bc:	ee12           	jr	ne,0x32e2
    32be:	4c05 c238 0101 	ldb	0xc238,#0x1
    32c4:	e808           	jr	t,0x32d6
    32c6:	4d01 c43a 0009 	cp	0xc43a,#0x9
    32cc:	ea0e           	jr	gt,0x32ea
    32ce:	600a c43b      	ldb	rl2,0xc43b
    32d2:	6e0a c238      	ldb	0xc238,rl2
    32d6:	600f c238      	ldb	rl7,0xc238
    32da:	b170           	extsb	r7
    32dc:	5f00 7212      	call	0x7212
    32e0:	e816           	jr	t,0x330e
    32e2:	4d01 c43a 0001 	cp	0xc43a,#0x1
    32e8:	e9ee           	jr	ge,0x32c6
    32ea:	5f00 5712      	call	0x5712
    32ee:	e81c           	jr	t,0x3328
    32f0:	4c05 c238 0101 	ldb	0xc238,#0x1
    32f6:	cf01           	ldb	rl7,#0x1
    32f8:	b170           	extsb	r7
    32fa:	5f00 7212      	call	0x7212
    32fe:	6102 c43a      	ld	r2,0xc43a
    3302:	0b02 0004      	cp	r2,#0x4
    3306:	e615           	jr	eq,0x3332
    3308:	0b02 000d      	cp	r2,#0xd
    330c:	e60e           	jr	eq,0x332a
    330e:	4c04 c242      	testb	0xc242
    3312:	e60a           	jr	eq,0x3328
    3314:	6102 c30c      	ld	r2,0xc30c
    3318:	6f02 c30a      	ld	0xc30a,r2
    331c:	6102 c308      	ld	r2,0xc308
    3320:	6f02 c306      	ld	0xc306,r2
    3324:	4c08 c242      	clrb	0xc242
    3328:	9e08           	ret	t
    332a:	4c05 c28a 0101 	ldb	0xc28a,#0x1
    3330:	e8ee           	jr	t,0x330e
    3332:	4c05 c242 0101 	ldb	0xc242,#0x1
    3338:	6102 c30e      	ld	r2,0xc30e
    333c:	6f02 c306      	ld	0xc306,r2
    3340:	6f02 c30a      	ld	0xc30a,r2
    3344:	e8f1           	jr	t,0x3328
    3346:	abf5           	dec	r15,#0x6
    3348:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    334e:	4c04 c241      	testb	0xc241
    3352:	ee03           	jr	ne,0x335a
    3354:	5f00 5316      	call	0x5316
    3358:	e819           	jr	t,0x338c
    335a:	610d c2ac      	ld	r13,0xc2ac
    335e:	610e c2ae      	ld	r14,0xc2ae
    3362:	600a c22d      	ldb	rl2,0xc22d
    3366:	6efa 0001      	ldb	0x1(r15),rl2
    336a:	5f00 6f96      	call	0x6f96
    336e:	4c08 c22d      	clrb	0xc22d
    3372:	bd71           	ldk	r7,#0x1
    3374:	5f00 35f4      	call	0x35f4
    3378:	a1d7           	ld	r7,r13
    337a:	a1e6           	ld	r6,r14
    337c:	5f00 4260      	call	0x4260
    3380:	60fa 0001      	ldb	rl2,0x1(r15)
    3384:	6e0a c22d      	ldb	0xc22d,rl2
    3388:	5f00 6fb6      	call	0x6fb6
    338c:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    3392:	a9f5           	inc	r15,#0x6
    3394:	9e08           	ret	t
    3396:	abf5           	dec	r15,#0x6
    3398:	1cf9 0c02      	ldm	@r15,r12,#0x3
    339c:	4c04 c241      	testb	0xc241
    33a0:	ee03           	jr	ne,0x33a8
    33a2:	5f00 5316      	call	0x5316
    33a6:	e81e           	jr	t,0x33e4
    33a8:	5f00 7162      	call	0x7162
    33ac:	210d d200      	ld	r13,#0xd200
    33b0:	210c d2ca      	ld	r12,#0xd2ca
    33b4:	bde0           	ldk	r14,#0x0
    33b6:	e80b           	jr	t,0x33ce
    33b8:	21d7           	ld	r7,@r13
    33ba:	5f00 3b58      	call	0x3b58
    33be:	2fd2           	ld	@r13,r2
    33c0:	a9d1           	inc	r13,#0x2
    33c2:	21c7           	ld	r7,@r12
    33c4:	5f00 3b92      	call	0x3b92
    33c8:	2fc2           	ld	@r12,r2
    33ca:	a9c1           	inc	r12,#0x2
    33cc:	a9e0           	inc	r14,#0x1
    33ce:	4b0e c2b4      	cp	r14,0xc2b4
    33d2:	e1f2           	jr	lt,0x33b8
    33d4:	2107 d200      	ld	r7,#0xd200
    33d8:	2106 d2ca      	ld	r6,#0xd2ca
    33dc:	6105 c2b4      	ld	r5,0xc2b4
    33e0:	5f00 4492      	call	0x4492
    33e4:	1cf1 0c02      	ldm	r12,@r15,#0x3
    33e8:	a9f5           	inc	r15,#0x6
    33ea:	9e08           	ret	t
    33ec:	abf9           	dec	r15,#0xa
    33ee:	1cf9 0a04      	ldm	@r15,r10,#0x5
    33f2:	4c04 c241      	testb	0xc241
    33f6:	ee03           	jr	ne,0x33fe
    33f8:	5f00 5316      	call	0x5316
    33fc:	e82a           	jr	t,0x3452
    33fe:	5f00 7162      	call	0x7162
    3402:	210d d200      	ld	r13,#0xd200
    3406:	210c d2ca      	ld	r12,#0xd2ca
    340a:	6107 c2ac      	ld	r7,0xc2ac
    340e:	5f00 3b74      	call	0x3b74
    3412:	a12b           	ld	r11,r2
    3414:	6107 c2ae      	ld	r7,0xc2ae
    3418:	5f00 3bae      	call	0x3bae
    341c:	a12a           	ld	r10,r2
    341e:	bde0           	ldk	r14,#0x0
    3420:	e80d           	jr	t,0x343c
    3422:	01db           	add	r11,@r13
    3424:	a1b7           	ld	r7,r11
    3426:	5f00 3b58      	call	0x3b58
    342a:	2fd2           	ld	@r13,r2
    342c:	a9d1           	inc	r13,#0x2
    342e:	01ca           	add	r10,@r12
    3430:	a1a7           	ld	r7,r10
    3432:	5f00 3b92      	call	0x3b92
    3436:	2fc2           	ld	@r12,r2
    3438:	a9c1           	inc	r12,#0x2
    343a:	a9e0           	inc	r14,#0x1
    343c:	4b0e c2b4      	cp	r14,0xc2b4
    3440:	e1f0           	jr	lt,0x3422
    3442:	2107 d200      	ld	r7,#0xd200
    3446:	2106 d2ca      	ld	r6,#0xd2ca
    344a:	6105 c2b4      	ld	r5,0xc2b4
    344e:	5f00 4492      	call	0x4492
    3452:	1cf1 0a04      	ldm	r10,@r15,#0x5
    3456:	a9f9           	inc	r15,#0xa
    3458:	9e08           	ret	t
    345a:	bd71           	ldk	r7,#0x1
    345c:	5f00 3842      	call	0x3842
    3460:	9e08           	ret	t
    3462:	0001 0003      	addb	rh1,#0x3
    3466:	000b 0013      	addb	rl3,#0x13
    346a:	34a4 34bc      	lda	r4,r10(#0x34bc)
    346e:	34b0 34a4      	lda	r0,r11(#0x34a4)
    3472:	2107 0024      	ld	r7,#0x24
    3476:	5f00 532c      	call	0x532c
    347a:	8d24           	test	r2
    347c:	ee18           	jr	ne,0x34ae
    347e:	4d01 c43c 0004 	cp	0xc43c,#0x4
    3484:	ee03           	jr	ne,0x348c
    3486:	4d05 c43a 0013 	ld	0xc43a,#0x13
    348c:	6102 c43a      	ld	r2,0xc43a
    3490:	2103 3462      	ld	r3,#0x3462
    3494:	2104 0004      	ld	r4,#0x4
    3498:	bb34 0426      	cpir	r2,@r3,r4,eq
    349c:	ee08           	jr	ne,0x34ae
    349e:	6132 0006      	ld	r2,0x6(r3)
    34a2:	1e28           	jp	t,@r2
    34a4:	5f00 780e      	call	0x780e
    34a8:	4d05 c2dc 0003 	ld	0xc2dc,#0x3
    34ae:	9e08           	ret	t
    34b0:	5f00 782e      	call	0x782e
    34b4:	4d05 c2dc 0002 	ld	0xc2dc,#0x2
    34ba:	e8f9           	jr	t,0x34ae
    34bc:	5f00 77ee      	call	0x77ee
    34c0:	4d05 c2dc 0001 	ld	0xc2dc,#0x1
    34c6:	e8f3           	jr	t,0x34ae
    34c8:	abfd           	dec	r15,#0xe
    34ca:	1cf9 0806      	ldm	@r15,r8,#0x7
    34ce:	4c04 c241      	testb	0xc241
    34d2:	ee03           	jr	ne,0x34da
    34d4:	5f00 5316      	call	0x5316
    34d8:	e858           	jr	t,0x358a
    34da:	610e c2ac      	ld	r14,0xc2ac
    34de:	a1eb           	ld	r11,r14
    34e0:	610d c2ae      	ld	r13,0xc2ae
    34e4:	a1da           	ld	r10,r13
    34e6:	4c01 c233 2020 	cpb	0xc233,#0x20
    34ec:	e924           	jr	ge,0x3536
    34ee:	4b0e c2ee      	cp	r14,0xc2ee
    34f2:	e905           	jr	ge,0x34fe
    34f4:	6102 c2ee      	ld	r2,0xc2ee
    34f8:	0302 0014      	sub	r2,#0x14
    34fc:	e80c           	jr	t,0x3516
    34fe:	0b0e 031f      	cp	r14,#0x31f
    3502:	e20a           	jr	le,0x3518
    3504:	030e 031f      	sub	r14,#0x31f
    3508:	6102 c2ee      	ld	r2,0xc2ee
    350c:	0302 0014      	sub	r2,#0x14
    3510:	a12c           	ld	r12,r2
    3512:	8b2e           	cp	r14,r2
    3514:	e201           	jr	le,0x3518
    3516:	a12e           	ld	r14,r2
    3518:	0b0d 01df      	cp	r13,#0x1df
    351c:	e203           	jr	le,0x3524
    351e:	210d 01d2      	ld	r13,#0x1d2
    3522:	e805           	jr	t,0x352e
    3524:	4b0d c2f0      	cp	r13,0xc2f0
    3528:	e902           	jr	ge,0x352e
    352a:	610d c2f0      	ld	r13,0xc2f0
    352e:	a1e7           	ld	r7,r14
    3530:	a1d6           	ld	r6,r13
    3532:	5f00 4260      	call	0x4260
    3536:	5f00 6f96      	call	0x6f96
    353a:	600a c22d      	ldb	rl2,0xc22d
    353e:	b120           	extsb	r2
    3540:	a128           	ld	r8,r2
    3542:	4c08 c22d      	clrb	0xc22d
    3546:	e804           	jr	t,0x3550
    3548:	6107 c43a      	ld	r7,0xc43a
    354c:	5f00 6cf6      	call	0x6cf6
    3550:	bd73           	ldk	r7,#0x3
    3552:	5f00 532c      	call	0x532c
    3556:	8d24           	test	r2
    3558:	ee0f           	jr	ne,0x3578
    355a:	4d01 c43c 0001 	cp	0xc43c,#0x1
    3560:	e6f3           	jr	eq,0x3548
    3562:	2109 c338      	ld	r9,#0xc338
    3566:	0c94           	testb	@r9
    3568:	e6f3           	jr	eq,0x3550
    356a:	a197           	ld	r7,r9
    356c:	a990           	inc	r9,#0x1
    356e:	207f           	ldb	rl7,@r7
    3570:	b170           	extsb	r7
    3572:	5f00 6cf6      	call	0x6cf6
    3576:	e8f7           	jr	t,0x3566
    3578:	a1b7           	ld	r7,r11
    357a:	a1a6           	ld	r6,r10
    357c:	5f00 4260      	call	0x4260
    3580:	a182           	ld	r2,r8
    3582:	6e0a c22d      	ldb	0xc22d,rl2
    3586:	5f00 6fb6      	call	0x6fb6
    358a:	1cf1 0806      	ldm	r8,@r15,#0x7
    358e:	a9fd           	inc	r15,#0xe
    3590:	9e08           	ret	t
    3592:	abf1           	dec	r15,#0x2
    3594:	2ffe           	ld	@r15,r14
    3596:	2107 0041      	ld	r7,#0x41
    359a:	5f00 532c      	call	0x532c
    359e:	8d24           	test	r2
    35a0:	ee22           	jr	ne,0x35e6
    35a2:	4d01 c43c 0001 	cp	0xc43c,#0x1
    35a8:	ee03           	jr	ne,0x35b0
    35aa:	6102 c43a      	ld	r2,0xc43a
    35ae:	e803           	jr	t,0x35b6
    35b0:	600a c338      	ldb	rl2,0xc338
    35b4:	b120           	extsb	r2
    35b6:	a12e           	ld	r14,r2
    35b8:	8d24           	test	r2
    35ba:	e113           	jr	lt,0x35e2
    35bc:	0b02 007f      	cp	r2,#0x7f
    35c0:	ea10           	jr	gt,0x35e2
    35c2:	bd71           	ldk	r7,#0x1
    35c4:	5f00 532c      	call	0x532c
    35c8:	8d24           	test	r2
    35ca:	ee0d           	jr	ne,0x35e6
    35cc:	a1e3           	ld	r3,r14
    35ce:	1902 0014      	mult	rr2,#0x14
    35d2:	0103 d4e4      	add	r3,#0xd4e4
    35d6:	a137           	ld	r7,r3
    35d8:	bd61           	ldk	r6,#0x1
    35da:	5f00 366c      	call	0x366c
    35de:	8d24           	test	r2
    35e0:	e602           	jr	eq,0x35e6
    35e2:	5f00 5712      	call	0x5712
    35e6:	21fe           	ld	r14,@r15
    35e8:	a9f1           	inc	r15,#0x2
    35ea:	9e08           	ret	t
    35ec:	8377           	sub	r7,r7
    35ee:	5f00 3842      	call	0x3842
    35f2:	9e08           	ret	t
    35f4:	abf5           	dec	r15,#0x6
    35f6:	1cf9 0c02      	ldm	@r15,r12,#0x3
    35fa:	a17e           	ld	r14,r7
    35fc:	bd71           	ldk	r7,#0x1
    35fe:	5f00 532c      	call	0x532c
    3602:	8d24           	test	r2
    3604:	ee2f           	jr	ne,0x3664
    3606:	6102 c2ac      	ld	r2,0xc2ac
    360a:	6f02 d2bc      	ld	0xd2bc,r2
    360e:	6102 c2ae      	ld	r2,0xc2ae
    3612:	6f02 d2be      	ld	0xd2be,r2
    3616:	6107 c43a      	ld	r7,0xc43a
    361a:	5f00 4410      	call	0x4410
    361e:	6f02 d2c0      	ld	0xd2c0,r2
    3622:	6107 c43a      	ld	r7,0xc43a
    3626:	5f00 442a      	call	0x442a
    362a:	6f02 d2c2      	ld	0xd2c2,r2
    362e:	4d08 d2c4      	clr	0xd2c4
    3632:	4d05 d2c6 0168 	ld	0xd2c6,#0x168
    3638:	4d05 d2c8 0004 	ld	0xd2c8,#0x4
    363e:	210d d2c4      	ld	r13,#0xd2c4
    3642:	bdc1           	ldk	r12,#0x1
    3644:	bd71           	ldk	r7,#0x1
    3646:	5f00 532c      	call	0x532c
    364a:	8d24           	test	r2
    364c:	ee08           	jr	ne,0x365e
    364e:	6102 c43a      	ld	r2,0xc43a
    3652:	2fd2           	ld	@r13,r2
    3654:	a9d1           	inc	r13,#0x2
    3656:	a9c0           	inc	r12,#0x1
    3658:	0b0c 0003      	cp	r12,#0x3
    365c:	e2f3           	jr	le,0x3644
    365e:	a1e7           	ld	r7,r14
    3660:	5f00 3bcc      	call	0x3bcc
    3664:	1cf1 0c02      	ldm	r12,@r15,#0x3
    3668:	a9f5           	inc	r15,#0x6
    366a:	9e08           	ret	t
    366c:	abff           	dec	r15,#0x10
    366e:	5cf9 0806 0002 	ldm	0x2(r15),r8,#0x7
    3674:	a17e           	ld	r14,r7
    3676:	a16d           	ld	r13,r6
    3678:	0df5 0001      	ld	@r15,#0x1
    367c:	bd90           	ldk	r9,#0x0
    367e:	4c01 c243 0101 	cpb	0xc243,#0x1
    3684:	ee02           	jr	ne,0x368a
    3686:	bd2a           	ldk	r2,#0xa
    3688:	e801           	jr	t,0x368c
    368a:	bd28           	ldk	r2,#0x8
    368c:	a128           	ld	r8,r2
    368e:	5f00 2c24      	call	0x2c24
    3692:	a12c           	ld	r12,r2
    3694:	0b02 0002      	cp	r2,#0x2
    3698:	ee03           	jr	ne,0x36a0
    369a:	bd21           	ldk	r2,#0x1
    369c:	5e08 37d6      	jp	t,0x37d6
    36a0:	0b0c 0001      	cp	r12,#0x1
    36a4:	ee0a           	jr	ne,0x36ba
    36a6:	5f00 2c66      	call	0x2c66
    36aa:	a12c           	ld	r12,r2
    36ac:	0b02 0002      	cp	r2,#0x2
    36b0:	e6f4           	jr	eq,0x369a
    36b2:	8d24           	test	r2
    36b4:	ee02           	jr	ne,0x36ba
    36b6:	4d08 c43a      	clr	0xc43a
    36ba:	8dc4           	test	r12
    36bc:	ee27           	jr	ne,0x370c
    36be:	6102 c43a      	ld	r2,0xc43a
    36c2:	4c21 c222 0000 	cpb	0xc222(r2),#0x0
    36c8:	bd20           	ldk	r2,#0x0
    36ca:	af2e           	tcc	ne,r2
    36cc:	b120           	extsb	r2
    36ce:	a129           	ld	r9,r2
    36d0:	2ff2           	ld	@r15,r2
    36d2:	76f7 0000      	lda	r7,0x0(r15)
    36d6:	5f00 37e0      	call	0x37e0
    36da:	a12c           	ld	r12,r2
    36dc:	0b02 0002      	cp	r2,#0x2
    36e0:	e6dc           	jr	eq,0x369a
    36e2:	8d24           	test	r2
    36e4:	ee0b           	jr	ne,0x36fc
    36e6:	4c01 c222 0000 	cpb	0xc222,#0x0
    36ec:	bd20           	ldk	r2,#0x0
    36ee:	af2e           	tcc	ne,r2
    36f0:	b120           	extsb	r2
    36f2:	a129           	ld	r9,r2
    36f4:	e80b           	jr	t,0x370c
    36f6:	2102 ffff      	ld	r2,#0xffff
    36fa:	e80b           	jr	t,0x3712
    36fc:	76f7 0000      	lda	r7,0x0(r15)
    3700:	5f00 37e0      	call	0x37e0
    3704:	a12c           	ld	r12,r2
    3706:	0b02 ffff      	cp	r2,#0xffff
    370a:	e6f8           	jr	eq,0x36fc
    370c:	8d94           	test	r9
    370e:	eef3           	jr	ne,0x36f6
    3710:	8322           	sub	r2,r2
    3712:	a12b           	ld	r11,r2
    3714:	bdc0           	ldk	r12,#0x0
    3716:	8dd4           	test	r13
    3718:	e603           	jr	eq,0x3720
    371a:	bd72           	ldk	r7,#0x2
    371c:	5f00 152a      	call	0x152a
    3720:	a1c2           	ld	r2,r12
    3722:	81c2           	add	r2,r12
    3724:	81e2           	add	r2,r14
    3726:	2f2b           	ld	@r2,r11
    3728:	8dd4           	test	r13
    372a:	e603           	jr	eq,0x3732
    372c:	bd71           	ldk	r7,#0x1
    372e:	5f00 152a      	call	0x152a
    3732:	a9c0           	inc	r12,#0x1
    3734:	0b0c 000a      	cp	r12,#0xa
    3738:	e1ee           	jr	lt,0x3716
    373a:	4d01 c43c 0004 	cp	0xc43c,#0x4
    3740:	e649           	jr	eq,0x37d4
    3742:	bdbf           	ldk	r11,#0xf
    3744:	bd21           	ldk	r2,#0x1
    3746:	b32b 0b00      	sda	r2,r11
    374a:	0902 ffff      	xor	r2,#0xffff
    374e:	a12a           	ld	r10,r2
    3750:	bdc0           	ldk	r12,#0x0
    3752:	e82d           	jr	t,0x37ae
    3754:	6102 c43a      	ld	r2,0xc43a
    3758:	a1c3           	ld	r3,r12
    375a:	8d32           	neg	r3
    375c:	b32b 0300      	sda	r2,r3
    3760:	a720           	bit	r2,#0x0
    3762:	e624           	jr	eq,0x37ac
    3764:	8dd4           	test	r13
    3766:	e603           	jr	eq,0x376e
    3768:	bd72           	ldk	r7,#0x2
    376a:	5f00 152a      	call	0x152a
    376e:	4c01 c243 0101 	cpb	0xc243,#0x1
    3774:	bd20           	ldk	r2,#0x0
    3776:	af2e           	tcc	ne,r2
    3778:	b120           	extsb	r2
    377a:	81c2           	add	r2,r12
    377c:	8122           	add	r2,r2
    377e:	81e2           	add	r2,r14
    3780:	2123           	ld	r3,@r2
    3782:	87a3           	and	r3,r10
    3784:	2f23           	ld	@r2,r3
    3786:	21f2           	ld	r2,@r15
    3788:	b32b 0b00      	sda	r2,r11
    378c:	4c01 c243 0101 	cpb	0xc243,#0x1
    3792:	bd30           	ldk	r3,#0x0
    3794:	af3e           	tcc	ne,r3
    3796:	b130           	extsb	r3
    3798:	81c3           	add	r3,r12
    379a:	8133           	add	r3,r3
    379c:	81e3           	add	r3,r14
    379e:	0532           	or	r2,@r3
    37a0:	2f32           	ld	@r3,r2
    37a2:	8dd4           	test	r13
    37a4:	e603           	jr	eq,0x37ac
    37a6:	bd71           	ldk	r7,#0x1
    37a8:	5f00 152a      	call	0x152a
    37ac:	a9c0           	inc	r12,#0x1
    37ae:	8b8c           	cp	r12,r8
    37b0:	e903           	jr	ge,0x37b8
    37b2:	e8d0           	jr	t,0x3754
    37b4:	210b 0010      	ld	r11,#0x10
    37b8:	76f7 0000      	lda	r7,0x0(r15)
    37bc:	5f00 37e0      	call	0x37e0
    37c0:	a12a           	ld	r10,r2
    37c2:	0b02 ffff      	cp	r2,#0xffff
    37c6:	e6f6           	jr	eq,0x37b4
    37c8:	8d24           	test	r2
    37ca:	ea04           	jr	gt,0x37d4
    37cc:	abb0           	dec	r11,#0x1
    37ce:	0b0b 0001      	cp	r11,#0x1
    37d2:	eab8           	jr	gt,0x3744
    37d4:	8322           	sub	r2,r2
    37d6:	5cf1 0806 0002 	ldm	r8,0x2(r15),#0x7
    37dc:	a9ff           	inc	r15,#0x10
    37de:	9e08           	ret	t
    37e0:	abf1           	dec	r15,#0x2
    37e2:	2ffe           	ld	@r15,r14
    37e4:	a17e           	ld	r14,r7
    37e6:	5f00 2c24      	call	0x2c24
    37ea:	8d24           	test	r2
    37ec:	e610           	jr	eq,0x380e
    37ee:	0b02 0001      	cp	r2,#0x1
    37f2:	ee0b           	jr	ne,0x380a
    37f4:	5f00 2c66      	call	0x2c66
    37f8:	8d24           	test	r2
    37fa:	ee04           	jr	ne,0x3804
    37fc:	4c01 c222 0000 	cpb	0xc222,#0x0
    3802:	e80a           	jr	t,0x3818
    3804:	0b02 0001      	cp	r2,#0x1
    3808:	e60e           	jr	eq,0x3826
    380a:	bd22           	ldk	r2,#0x2
    380c:	e817           	jr	t,0x383c
    380e:	6102 c43a      	ld	r2,0xc43a
    3812:	4c21 c222 0000 	cpb	0xc222(r2),#0x0
    3818:	bd20           	ldk	r2,#0x0
    381a:	af2e           	tcc	ne,r2
    381c:	b120           	extsb	r2
    381e:	2fe2           	ld	@r14,r2
    3820:	2102 ffff      	ld	r2,#0xffff
    3824:	e80b           	jr	t,0x383c
    3826:	4d01 c43c 0001 	cp	0xc43c,#0x1
    382c:	ee02           	jr	ne,0x3832
    382e:	8322           	sub	r2,r2
    3830:	e805           	jr	t,0x383c
    3832:	4d01 c43c 0004 	cp	0xc43c,#0x4
    3838:	eee8           	jr	ne,0x380a
    383a:	bd21           	ldk	r2,#0x1
    383c:	21fe           	ld	r14,@r15
    383e:	a9f1           	inc	r15,#0x2
    3840:	9e08           	ret	t
    3842:	abfb           	dec	r15,#0xc
    3844:	5cf9 0b03 0004 	ldm	0x4(r15),r11,#0x4
    384a:	a17e           	ld	r14,r7
    384c:	4c04 c241      	testb	0xc241
    3850:	ee03           	jr	ne,0x3858
    3852:	5f00 5316      	call	0x5316
    3856:	e866           	jr	t,0x3924
    3858:	bd71           	ldk	r7,#0x1
    385a:	5f00 532c      	call	0x532c
    385e:	8d24           	test	r2
    3860:	ee61           	jr	ne,0x3924
    3862:	610d c43a      	ld	r13,0xc43a
    3866:	bd71           	ldk	r7,#0x1
    3868:	5f00 532c      	call	0x532c
    386c:	8d24           	test	r2
    386e:	ee5a           	jr	ne,0x3924
    3870:	600f c238      	ldb	rl7,0xc238
    3874:	b170           	extsb	r7
    3876:	5f00 7212      	call	0x7212
    387a:	6107 c30a      	ld	r7,0xc30a
    387e:	5f00 74d8      	call	0x74d8
    3882:	5f00 6f96      	call	0x6f96
    3886:	8de4           	test	r14
    3888:	e613           	jr	eq,0x38b0
    388a:	6107 c2ac      	ld	r7,0xc2ac
    388e:	5f00 3b74      	call	0x3b74
    3892:	a12c           	ld	r12,r2
    3894:	6107 c2ae      	ld	r7,0xc2ae
    3898:	5f00 3bae      	call	0x3bae
    389c:	a12b           	ld	r11,r2
    389e:	410b c43a      	add	r11,0xc43a
    38a2:	a1b7           	ld	r7,r11
    38a4:	5f00 3b92      	call	0x3b92
    38a8:	2ff2           	ld	@r15,r2
    38aa:	81dc           	add	r12,r13
    38ac:	a1c7           	ld	r7,r12
    38ae:	e806           	jr	t,0x38bc
    38b0:	6107 c43a      	ld	r7,0xc43a
    38b4:	5f00 3b92      	call	0x3b92
    38b8:	2ff2           	ld	@r15,r2
    38ba:	a1d7           	ld	r7,r13
    38bc:	5f00 3b58      	call	0x3b58
    38c0:	6ff2 0002      	ld	0x2(r15),r2
    38c4:	a127           	ld	r7,r2
    38c6:	21f6           	ld	r6,@r15
    38c8:	5f00 4260      	call	0x4260
    38cc:	4c04 c22d      	testb	0xc22d
    38d0:	e624           	jr	eq,0x391a
    38d2:	5f00 6fb6      	call	0x6fb6
    38d6:	e821           	jr	t,0x391a
    38d8:	410b c43a      	add	r11,0xc43a
    38dc:	a1b7           	ld	r7,r11
    38de:	5f00 3b92      	call	0x3b92
    38e2:	2ff2           	ld	@r15,r2
    38e4:	81dc           	add	r12,r13
    38e6:	a1c7           	ld	r7,r12
    38e8:	5f00 3b58      	call	0x3b58
    38ec:	6ff2 0002      	ld	0x2(r15),r2
    38f0:	a127           	ld	r7,r2
    38f2:	21f6           	ld	r6,@r15
    38f4:	5f00 41b2      	call	0x41b2
    38f8:	e810           	jr	t,0x391a
    38fa:	610d c43a      	ld	r13,0xc43a
    38fe:	bd71           	ldk	r7,#0x1
    3900:	5f00 532c      	call	0x532c
    3904:	8d24           	test	r2
    3906:	ee0e           	jr	ne,0x3924
    3908:	8de4           	test	r14
    390a:	eee6           	jr	ne,0x38d8
    390c:	6107 c43a      	ld	r7,0xc43a
    3910:	5f00 3b92      	call	0x3b92
    3914:	2ff2           	ld	@r15,r2
    3916:	a1d7           	ld	r7,r13
    3918:	e8e7           	jr	t,0x38e8
    391a:	bd71           	ldk	r7,#0x1
    391c:	5f00 532c      	call	0x532c
    3920:	8d24           	test	r2
    3922:	e6eb           	jr	eq,0x38fa
    3924:	5cf1 0b03 0004 	ldm	r11,0x4(r15),#0x4
    392a:	a9fb           	inc	r15,#0xc
    392c:	9e08           	ret	t
    392e:	abf1           	dec	r15,#0x2
    3930:	2ffe           	ld	@r15,r14
    3932:	a17e           	ld	r14,r7
    3934:	6f07 c2c8      	ld	0xc2c8,r7
    3938:	4c05 c22d 0101 	ldb	0xc22d,#0x1
    393e:	600a c206      	ldb	rl2,0xc206
    3942:	b120           	extsb	r2
    3944:	b329 fffe      	sra	r2,#0x2
    3948:	0702 0003      	and	r2,#0x3
    394c:	0b02 0002      	cp	r2,#0x2
    3950:	ee0a           	jr	ne,0x3966
    3952:	5f00 1d48      	call	0x1d48
    3956:	0b02 ffff      	cp	r2,#0xffff
    395a:	ee02           	jr	ne,0x3960
    395c:	bd21           	ldk	r2,#0x1
    395e:	e801           	jr	t,0x3962
    3960:	bd22           	ldk	r2,#0x2
    3962:	6e0a c22d      	ldb	0xc22d,rl2
    3966:	600a c206      	ldb	rl2,0xc206
    396a:	b120           	extsb	r2
    396c:	b329 fffe      	sra	r2,#0x2
    3970:	0702 0003      	and	r2,#0x3
    3974:	0b02 0003      	cp	r2,#0x3
    3978:	ee05           	jr	ne,0x3984
    397a:	4c05 c22d 0303 	ldb	0xc22d,#0x3
    3980:	5f00 1dba      	call	0x1dba
    3984:	5f00 6fb6      	call	0x6fb6
    3988:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    398e:	ee09           	jr	ne,0x39a2
    3990:	4c01 c232 0303 	cpb	0xc232,#0x3
    3996:	ee05           	jr	ne,0x39a2
    3998:	600f c24c      	ldb	rl7,0xc24c
    399c:	b170           	extsb	r7
    399e:	5f00 7306      	call	0x7306
    39a2:	4c05 c22e 4040 	ldb	0xc22e,#0x40
    39a8:	21fe           	ld	r14,@r15
    39aa:	a9f1           	inc	r15,#0x2
    39ac:	9e08           	ret	t
    39ae:	ffff           	djnz	r15,0x38b2
    39b0:	0000 0004      	addb	rh0,#0x4
    39b4:	0009 000e      	addb	rl1,#0xe
    39b8:	0013           	addb	rh3,@r1
    39ba:	3b2a           	.word 3b2a
    39bc:	3ad6 3afe      	outb	#0x3afe,rl5
    39c0:	3b08           	.word 3b08
    39c2:	3b12           	.word 3b12
    39c4:	3b1c           	.word 3b1c
    39c6:	abf9           	dec	r15,#0xa
    39c8:	5cf9 0b03 0002 	ldm	0x2(r15),r11,#0x4
    39ce:	600a c22d      	ldb	rl2,0xc22d
    39d2:	b120           	extsb	r2
    39d4:	a12b           	ld	r11,r2
    39d6:	4c05 c22d 0101 	ldb	0xc22d,#0x1
    39dc:	bdd0           	ldk	r13,#0x0
    39de:	2107 0018      	ld	r7,#0x18
    39e2:	bd61           	ldk	r6,#0x1
    39e4:	5f00 6f72      	call	0x6f72
    39e8:	bde0           	ldk	r14,#0x0
    39ea:	5f00 0abe      	call	0xabe
    39ee:	2107 4e14      	ld	r7,#0x4e14
    39f2:	5f00 688a      	call	0x688a
    39f6:	600a c232      	ldb	rl2,0xc232
    39fa:	b120           	extsb	r2
    39fc:	8122           	add	r2,r2
    39fe:	6127 4e5e      	ld	r7,0x4e5e(r2)
    3a02:	5f00 688a      	call	0x688a
    3a06:	2107 0018      	ld	r7,#0x18
    3a0a:	bd61           	ldk	r6,#0x1
    3a0c:	5f00 6f72      	call	0x6f72
    3a10:	5f00 0ac4      	call	0xac4
    3a14:	4c01 c232 0202 	cpb	0xc232,#0x2
    3a1a:	ee03           	jr	ne,0x3a22
    3a1c:	2102 0048      	ld	r2,#0x48
    3a20:	e802           	jr	t,0x3a26
    3a22:	2102 0013      	ld	r2,#0x13
    3a26:	a12c           	ld	r12,r2
    3a28:	e827           	jr	t,0x3a78
    3a2a:	4cf1 0001 d5d5 	cpb	0x1(r15),#0xd5
    3a30:	e604           	jr	eq,0x3a3a
    3a32:	4cf1 0001 0808 	cpb	0x1(r15),#0x8
    3a38:	ee06           	jr	ne,0x3a46
    3a3a:	abe0           	dec	r14,#0x1
    3a3c:	0b0e 0000      	cp	r14,#0x0
    3a40:	e906           	jr	ge,0x3a4e
    3a42:	a1ce           	ld	r14,r12
    3a44:	e804           	jr	t,0x3a4e
    3a46:	a9e0           	inc	r14,#0x1
    3a48:	8bec           	cp	r12,r14
    3a4a:	e901           	jr	ge,0x3a4e
    3a4c:	bde0           	ldk	r14,#0x0
    3a4e:	76e6 0001      	lda	r6,0x1(r14)
    3a52:	2107 0018      	ld	r7,#0x18
    3a56:	5f00 6f72      	call	0x6f72
    3a5a:	a1e2           	ld	r2,r14
    3a5c:	b329 fffd      	sra	r2,#0x3
    3a60:	602a 4e68      	ldb	rl2,0x4e68(r2)
    3a64:	b120           	extsb	r2
    3a66:	a1e3           	ld	r3,r14
    3a68:	0703 0007      	and	r3,#0x7
    3a6c:	bd01           	ldk	r0,#0x1
    3a6e:	b30b 0300      	sda	r0,r3
    3a72:	8702           	and	r2,r0
    3a74:	8d24           	test	r2
    3a76:	e6d9           	jr	eq,0x3a2a
    3a78:	5f00 16c8      	call	0x16c8
    3a7c:	0702 00ff      	and	r2,#0xff
    3a80:	6efa 0001      	ldb	0x1(r15),rl2
    3a84:	0a0a 0d0d      	cpb	rl2,#0xd
    3a88:	e618           	jr	eq,0x3aba
    3a8a:	0a0a d4d4      	cpb	rl2,#0xd4
    3a8e:	e6cd           	jr	eq,0x3a2a
    3a90:	0a0a d5d5      	cpb	rl2,#0xd5
    3a94:	e6ca           	jr	eq,0x3a2a
    3a96:	0a0a 2020      	cpb	rl2,#0x20
    3a9a:	e6c7           	jr	eq,0x3a2a
    3a9c:	0a0a 0808      	cpb	rl2,#0x8
    3aa0:	e6c4           	jr	eq,0x3a2a
    3aa2:	600a c205      	ldb	rl2,0xc205
    3aa6:	b120           	extsb	r2
    3aa8:	0702 001f      	and	r2,#0x1f
    3aac:	60fb 0001      	ldb	rl3,0x1(r15)
    3ab0:	b130           	extsb	r3
    3ab2:	8b32           	cp	r2,r3
    3ab4:	eee1           	jr	ne,0x3a78
    3ab6:	210e ffff      	ld	r14,#0xffff
    3aba:	a1b2           	ld	r2,r11
    3abc:	6e0a c22d      	ldb	0xc22d,rl2
    3ac0:	a1e2           	ld	r2,r14
    3ac2:	2103 39ae      	ld	r3,#0x39ae
    3ac6:	2104 0006      	ld	r4,#0x6
    3aca:	bb34 0426      	cpir	r2,@r3,r4,eq
    3ace:	ee29           	jr	ne,0x3b22
    3ad0:	6132 000a      	ld	r2,0xa(r3)
    3ad4:	1e28           	jp	t,@r2
    3ad6:	5f00 3f34      	call	0x3f34
    3ada:	5f00 4132      	call	0x4132
    3ade:	e825           	jr	t,0x3b2a
    3ae0:	a1d2           	ld	r2,r13
    3ae2:	ab20           	dec	r2,#0x1
    3ae4:	4c24 4e72      	testb	0x4e72(r2)
    3ae8:	e631           	jr	eq,0x3b4c
    3aea:	a1d2           	ld	r2,r13
    3aec:	ab20           	dec	r2,#0x1
    3aee:	602a 4e72      	ldb	rl2,0x4e72(r2)
    3af2:	b120           	extsb	r2
    3af4:	0702 00ff      	and	r2,#0xff
    3af8:	0502 2000      	or	r2,#0x2000
    3afc:	e828           	jr	t,0x3b4e
    3afe:	600a c232      	ldb	rl2,0xc232
    3b02:	b120           	extsb	r2
    3b04:	a12d           	ld	r13,r2
    3b06:	e811           	jr	t,0x3b2a
    3b08:	600a c232      	ldb	rl2,0xc232
    3b0c:	b120           	extsb	r2
    3b0e:	a923           	inc	r2,#0x4
    3b10:	e8f9           	jr	t,0x3b04
    3b12:	600a c232      	ldb	rl2,0xc232
    3b16:	b120           	extsb	r2
    3b18:	a927           	inc	r2,#0x8
    3b1a:	e8f4           	jr	t,0x3b04
    3b1c:	5f00 4252      	call	0x4252
    3b20:	e804           	jr	t,0x3b2a
    3b22:	76e7 0068      	lda	r7,0x68(r14)
    3b26:	5f00 6002      	call	0x6002
    3b2a:	8de4           	test	r14
    3b2c:	e60d           	jr	eq,0x3b48
    3b2e:	2107 0018      	ld	r7,#0x18
    3b32:	bd61           	ldk	r6,#0x1
    3b34:	5f00 6f72      	call	0x6f72
    3b38:	5f00 6f8c      	call	0x6f8c
    3b3c:	6107 c2c0      	ld	r7,0xc2c0
    3b40:	6106 c2be      	ld	r6,0xc2be
    3b44:	5f00 6f72      	call	0x6f72
    3b48:	8dd4           	test	r13
    3b4a:	eeca           	jr	ne,0x3ae0
    3b4c:	8322           	sub	r2,r2
    3b4e:	5cf1 0b03 0002 	ldm	r11,0x2(r15),#0x4
    3b54:	a9f9           	inc	r15,#0xa
    3b56:	9e08           	ret	t
    3b58:	abf1           	dec	r15,#0x2
    3b5a:	2ffe           	ld	@r15,r14
    3b5c:	8366           	sub	r6,r6
    3b5e:	6105 c2fa      	ld	r5,0xc2fa
    3b62:	6104 c2fc      	ld	r4,0xc2fc
    3b66:	6103 c2ee      	ld	r3,0xc2ee
    3b6a:	5f00 41fa      	call	0x41fa
    3b6e:	21fe           	ld	r14,@r15
    3b70:	a9f1           	inc	r15,#0x2
    3b72:	9e08           	ret	t
    3b74:	abf1           	dec	r15,#0x2
    3b76:	2ffe           	ld	@r15,r14
    3b78:	6106 c2ee      	ld	r6,0xc2ee
    3b7c:	8d62           	neg	r6
    3b7e:	6105 c2fc      	ld	r5,0xc2fc
    3b82:	6104 c2fa      	ld	r4,0xc2fa
    3b86:	8333           	sub	r3,r3
    3b88:	5f00 41fa      	call	0x41fa
    3b8c:	21fe           	ld	r14,@r15
    3b8e:	a9f1           	inc	r15,#0x2
    3b90:	9e08           	ret	t
    3b92:	abf1           	dec	r15,#0x2
    3b94:	2ffe           	ld	@r15,r14
    3b96:	8366           	sub	r6,r6
    3b98:	6105 c2fe      	ld	r5,0xc2fe
    3b9c:	6104 c300      	ld	r4,0xc300
    3ba0:	6103 c2f0      	ld	r3,0xc2f0
    3ba4:	5f00 41fa      	call	0x41fa
    3ba8:	21fe           	ld	r14,@r15
    3baa:	a9f1           	inc	r15,#0x2
    3bac:	9e08           	ret	t
    3bae:	abf1           	dec	r15,#0x2
    3bb0:	2ffe           	ld	@r15,r14
    3bb2:	6106 c2f0      	ld	r6,0xc2f0
    3bb6:	8d62           	neg	r6
    3bb8:	6105 c300      	ld	r5,0xc300
    3bbc:	6104 c2fe      	ld	r4,0xc2fe
    3bc0:	8333           	sub	r3,r3
    3bc2:	5f00 41fa      	call	0x41fa
    3bc6:	21fe           	ld	r14,@r15
    3bc8:	a9f1           	inc	r15,#0x2
    3bca:	9e08           	ret	t
    3bcc:	030f 001e      	sub	r15,#0x1e
    3bd0:	5cf9 0806 0010 	ldm	0x10(r15),r8,#0x7
    3bd6:	2ff7           	ld	@r15,r7
    3bd8:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    3bde:	4d04 d2c0      	test	0xd2c0
    3be2:	ee11           	jr	ne,0x3c06
    3be4:	8d74           	test	r7
    3be6:	e603           	jr	eq,0x3bee
    3be8:	6107 c306      	ld	r7,0xc306
    3bec:	e802           	jr	t,0x3bf2
    3bee:	6107 c30a      	ld	r7,0xc30a
    3bf2:	5f00 74d8      	call	0x74d8
    3bf6:	6107 d2bc      	ld	r7,0xd2bc
    3bfa:	6106 d2be      	ld	r6,0xd2be
    3bfe:	5f00 43e2      	call	0x43e2
    3c02:	5e08 3f0e      	jp	t,0x3f0e
    3c06:	6103 d2c4      	ld	r3,0xd2c4
    3c0a:	b12a           	exts	rr2
    3c0c:	1b02 0168      	div	rr2,#0x168
    3c10:	6f02 d2c4      	ld	0xd2c4,r2
    3c14:	8d24           	test	r2
    3c16:	e904           	jr	ge,0x3c20
    3c18:	0102 0168      	add	r2,#0x168
    3c1c:	6f02 d2c4      	ld	0xd2c4,r2
    3c20:	6103 d2c6      	ld	r3,0xd2c6
    3c24:	b12a           	exts	rr2
    3c26:	1b02 0168      	div	rr2,#0x168
    3c2a:	6f02 d2c6      	ld	0xd2c6,r2
    3c2e:	4b02 d2c4      	cp	r2,0xd2c4
    3c32:	5e02 3d70      	jp	le,0x3d70
    3c36:	4d01 d2c8 0004 	cp	0xd2c8,#0x4
    3c3c:	e903           	jr	ge,0x3c44
    3c3e:	4d05 d2c8 0004 	ld	0xd2c8,#0x4
    3c44:	4c01 c243 0101 	cpb	0xc243,#0x1
    3c4a:	ee0a           	jr	ne,0x3c60
    3c4c:	6107 d2c2      	ld	r7,0xd2c2
    3c50:	8366           	sub	r6,r6
    3c52:	bd54           	ldk	r5,#0x4
    3c54:	bd45           	ldk	r4,#0x5
    3c56:	8333           	sub	r3,r3
    3c58:	5f00 41fa      	call	0x41fa
    3c5c:	6f02 d2c2      	ld	0xd2c2,r2
    3c60:	0df4           	test	@r15
    3c62:	5e06 3e22      	jp	eq,0x3e22
    3c66:	6102 d2c4      	ld	r2,0xd2c4
    3c6a:	0102 0168      	add	r2,#0x168
    3c6e:	4b02 d2c6      	cp	r2,0xd2c6
    3c72:	5e0e 3d7c      	jp	ne,0x3d7c
    3c76:	4d01 d2c8 0004 	cp	0xd2c8,#0x4
    3c7c:	ee7f           	jr	ne,0x3d7c
    3c7e:	210e 4ec0      	ld	r14,#0x4ec0
    3c82:	210d d22c      	ld	r13,#0xd22c
    3c86:	210a d22e      	ld	r10,#0xd22e
    3c8a:	2109 d286      	ld	r9,#0xd286
    3c8e:	2108 d288      	ld	r8,#0xd288
    3c92:	4df5 0002 d2ca 	ld	0x2(r15),#0xd2ca
    3c98:	4df5 0004 d324 	ld	0x4(r15),#0xd324
    3c9e:	4df5 0006 d324 	ld	0x6(r15),#0xd324
    3ca4:	4df5 0008 d37e 	ld	0x8(r15),#0xd37e
    3caa:	bdc0           	ldk	r12,#0x0
    3cac:	6107 d2c2      	ld	r7,0xd2c2
    3cb0:	b16a           	exts	rr6
    3cb2:	21e3           	ld	r3,@r14
    3cb4:	b12a           	exts	rr2
    3cb6:	9824           	multl	rq4,rr2
    3cb8:	1606 0000 1000 	addl	rr6,#0x1000
    3cbe:	2102 000d      	ld	r2,#0xd
    3cc2:	8d22           	neg	r2
    3cc4:	b36f 0200      	sdal	rr6,r2
    3cc8:	a17b           	ld	r11,r7
    3cca:	a9e1           	inc	r14,#0x2
    3ccc:	6102 d2be      	ld	r2,0xd2be
    3cd0:	8172           	add	r2,r7
    3cd2:	61f3 0002      	ld	r3,0x2(r15)
    3cd6:	2f32           	ld	@r3,r2
    3cd8:	69f1 0002      	inc	0x2(r15),#0x2
    3cdc:	6102 d2be      	ld	r2,0xd2be
    3ce0:	81b2           	add	r2,r11
    3ce2:	61f3 0004      	ld	r3,0x4(r15)
    3ce6:	2f32           	ld	@r3,r2
    3ce8:	6bf1 0004      	dec	0x4(r15),#0x2
    3cec:	6102 d2be      	ld	r2,0xd2be
    3cf0:	83b2           	sub	r2,r11
    3cf2:	61f3 0006      	ld	r3,0x6(r15)
    3cf6:	2f32           	ld	@r3,r2
    3cf8:	69f1 0006      	inc	0x6(r15),#0x2
    3cfc:	6102 d2be      	ld	r2,0xd2be
    3d00:	83b2           	sub	r2,r11
    3d02:	61f3 0008      	ld	r3,0x8(r15)
    3d06:	2f32           	ld	@r3,r2
    3d08:	6bf1 0008      	dec	0x8(r15),#0x2
    3d0c:	6107 d2c0      	ld	r7,0xd2c0
    3d10:	b16a           	exts	rr6
    3d12:	21e3           	ld	r3,@r14
    3d14:	b12a           	exts	rr2
    3d16:	9824           	multl	rq4,rr2
    3d18:	1606 0000 1000 	addl	rr6,#0x1000
    3d1e:	2102 000d      	ld	r2,#0xd
    3d22:	8d22           	neg	r2
    3d24:	b36f 0200      	sdal	rr6,r2
    3d28:	a17b           	ld	r11,r7
    3d2a:	a9e1           	inc	r14,#0x2
    3d2c:	6102 d2bc      	ld	r2,0xd2bc
    3d30:	8172           	add	r2,r7
    3d32:	2fd2           	ld	@r13,r2
    3d34:	abd1           	dec	r13,#0x2
    3d36:	6102 d2bc      	ld	r2,0xd2bc
    3d3a:	83b2           	sub	r2,r11
    3d3c:	2fa2           	ld	@r10,r2
    3d3e:	a9a1           	inc	r10,#0x2
    3d40:	6102 d2bc      	ld	r2,0xd2bc
    3d44:	83b2           	sub	r2,r11
    3d46:	2f92           	ld	@r9,r2
    3d48:	ab91           	dec	r9,#0x2
    3d4a:	6102 d2bc      	ld	r2,0xd2bc
    3d4e:	81b2           	add	r2,r11
    3d50:	2f82           	ld	@r8,r2
    3d52:	a981           	inc	r8,#0x2
    3d54:	a9c0           	inc	r12,#0x1
    3d56:	0b0c 0016      	cp	r12,#0x16
    3d5a:	e2a8           	jr	le,0x3cac
    3d5c:	2107 d200      	ld	r7,#0xd200
    3d60:	2106 d2ca      	ld	r6,#0xd2ca
    3d64:	2105 005a      	ld	r5,#0x5a
    3d68:	5f00 4492      	call	0x4492
    3d6c:	5e08 3f02      	jp	t,0x3f02
    3d70:	6102 d2c6      	ld	r2,0xd2c6
    3d74:	0102 0168      	add	r2,#0x168
    3d78:	5e08 3c2a      	jp	t,0x3c2a
    3d7c:	210e d200      	ld	r14,#0xd200
    3d80:	210d d2ca      	ld	r13,#0xd2ca
    3d84:	4d08 c2b4      	clr	0xc2b4
    3d88:	6102 d2c4      	ld	r2,0xd2c4
    3d8c:	0102 0168      	add	r2,#0x168
    3d90:	4b02 d2c6      	cp	r2,0xd2c6
    3d94:	e60a           	jr	eq,0x3daa
    3d96:	6102 d2bc      	ld	r2,0xd2bc
    3d9a:	2fe2           	ld	@r14,r2
    3d9c:	a9e1           	inc	r14,#0x2
    3d9e:	6102 d2be      	ld	r2,0xd2be
    3da2:	2fd2           	ld	@r13,r2
    3da4:	a9d1           	inc	r13,#0x2
    3da6:	6900 c2b4      	inc	0xc2b4,#0x1
    3daa:	610c d2c4      	ld	r12,0xd2c4
    3dae:	e819           	jr	t,0x3de2
    3db0:	a1c6           	ld	r6,r12
    3db2:	8d62           	neg	r6
    3db4:	0106 005a      	add	r6,#0x5a
    3db8:	6107 d2c0      	ld	r7,0xd2c0
    3dbc:	5f00 768e      	call	0x768e
    3dc0:	4102 d2bc      	add	r2,0xd2bc
    3dc4:	2fe2           	ld	@r14,r2
    3dc6:	a9e1           	inc	r14,#0x2
    3dc8:	6107 d2c2      	ld	r7,0xd2c2
    3dcc:	a1c6           	ld	r6,r12
    3dce:	5f00 768e      	call	0x768e
    3dd2:	4102 d2be      	add	r2,0xd2be
    3dd6:	2fd2           	ld	@r13,r2
    3dd8:	a9d1           	inc	r13,#0x2
    3dda:	6900 c2b4      	inc	0xc2b4,#0x1
    3dde:	410c d2c8      	add	r12,0xd2c8
    3de2:	4b0c d2c6      	cp	r12,0xd2c6
    3de6:	e2e4           	jr	le,0x3db0
    3de8:	2106 005a      	ld	r6,#0x5a
    3dec:	4306 d2c6      	sub	r6,0xd2c6
    3df0:	6107 d2c0      	ld	r7,0xd2c0
    3df4:	5f00 768e      	call	0x768e
    3df8:	4102 d2bc      	add	r2,0xd2bc
    3dfc:	2fe2           	ld	@r14,r2
    3dfe:	6107 d2c2      	ld	r7,0xd2c2
    3e02:	6106 d2c6      	ld	r6,0xd2c6
    3e06:	5f00 768e      	call	0x768e
    3e0a:	4102 d2be      	add	r2,0xd2be
    3e0e:	2fd2           	ld	@r13,r2
    3e10:	6900 c2b4      	inc	0xc2b4,#0x1
    3e14:	2107 d200      	ld	r7,#0xd200
    3e18:	2106 d2ca      	ld	r6,#0xd2ca
    3e1c:	6105 c2b4      	ld	r5,0xc2b4
    3e20:	e8a3           	jr	t,0x3d68
    3e22:	600a c22d      	ldb	rl2,0xc22d
    3e26:	b120           	extsb	r2
    3e28:	6ff2 000a      	ld	0xa(r15),r2
    3e2c:	5f00 6f96      	call	0x6f96
    3e30:	4c08 c22d      	clrb	0xc22d
    3e34:	6107 d2c2      	ld	r7,0xd2c2
    3e38:	6106 d2c4      	ld	r6,0xd2c4
    3e3c:	5f00 768e      	call	0x768e
    3e40:	4102 d2be      	add	r2,0xd2be
    3e44:	6ff2 000c      	ld	0xc(r15),r2
    3e48:	2106 005a      	ld	r6,#0x5a
    3e4c:	4306 d2c4      	sub	r6,0xd2c4
    3e50:	6107 d2c0      	ld	r7,0xd2c0
    3e54:	5f00 768e      	call	0x768e
    3e58:	4102 d2bc      	add	r2,0xd2bc
    3e5c:	6ff2 000e      	ld	0xe(r15),r2
    3e60:	a127           	ld	r7,r2
    3e62:	61f6 000c      	ld	r6,0xc(r15)
    3e66:	5f00 4260      	call	0x4260
    3e6a:	6102 d2c4      	ld	r2,0xd2c4
    3e6e:	4102 d2c8      	add	r2,0xd2c8
    3e72:	a12c           	ld	r12,r2
    3e74:	e819           	jr	t,0x3ea8
    3e76:	a1c6           	ld	r6,r12
    3e78:	8d62           	neg	r6
    3e7a:	0106 005a      	add	r6,#0x5a
    3e7e:	6107 d2c0      	ld	r7,0xd2c0
    3e82:	5f00 768e      	call	0x768e
    3e86:	4102 d2bc      	add	r2,0xd2bc
    3e8a:	a12b           	ld	r11,r2
    3e8c:	6107 d2c2      	ld	r7,0xd2c2
    3e90:	a1c6           	ld	r6,r12
    3e92:	5f00 768e      	call	0x768e
    3e96:	4102 d2be      	add	r2,0xd2be
    3e9a:	2ff2           	ld	@r15,r2
    3e9c:	a1b7           	ld	r7,r11
    3e9e:	a126           	ld	r6,r2
    3ea0:	5f00 41b2      	call	0x41b2
    3ea4:	410c d2c8      	add	r12,0xd2c8
    3ea8:	4b0c d2c6      	cp	r12,0xd2c6
    3eac:	e2e4           	jr	le,0x3e76
    3eae:	4b0c d2c6      	cp	r12,0xd2c6
    3eb2:	e61b           	jr	eq,0x3eea
    3eb4:	4c04 c28a      	testb	0xc28a
    3eb8:	ee18           	jr	ne,0x3eea
    3eba:	2106 005a      	ld	r6,#0x5a
    3ebe:	4306 d2c6      	sub	r6,0xd2c6
    3ec2:	6107 d2c0      	ld	r7,0xd2c0
    3ec6:	5f00 768e      	call	0x768e
    3eca:	4102 d2bc      	add	r2,0xd2bc
    3ece:	a12b           	ld	r11,r2
    3ed0:	6107 d2c2      	ld	r7,0xd2c2
    3ed4:	6106 d2c6      	ld	r6,0xd2c6
    3ed8:	5f00 768e      	call	0x768e
    3edc:	4102 d2be      	add	r2,0xd2be
    3ee0:	2ff2           	ld	@r15,r2
    3ee2:	a1b7           	ld	r7,r11
    3ee4:	a126           	ld	r6,r2
    3ee6:	5f00 41b2      	call	0x41b2
    3eea:	60fa 000b      	ldb	rl2,0xb(r15)
    3eee:	6e0a c22d      	ldb	0xc22d,rl2
    3ef2:	6107 d2bc      	ld	r7,0xd2bc
    3ef6:	6106 d2be      	ld	r6,0xd2be
    3efa:	5f00 4260      	call	0x4260
    3efe:	5f00 6fb6      	call	0x6fb6
    3f02:	6107 d2bc      	ld	r7,0xd2bc
    3f06:	6106 d2be      	ld	r6,0xd2be
    3f0a:	5f00 4260      	call	0x4260
    3f0e:	5cf1 0806 0010 	ldm	r8,0x10(r15),#0x7
    3f14:	010f 001e      	add	r15,#0x1e
    3f18:	9e08           	ret	t
    3f1a:	4c04 c248      	testb	0xc248
    3f1e:	e609           	jr	eq,0x3f32
    3f20:	2107 e200      	ld	r7,#0xe200
    3f24:	8366           	sub	r6,r6
    3f26:	2105 015e      	ld	r5,#0x15e
    3f2a:	5f00 1bd8      	call	0x1bd8
    3f2e:	4c08 c248      	clrb	0xc248
    3f32:	9e08           	ret	t
    3f34:	5f00 6f82      	call	0x6f82
    3f38:	6107 c2b6      	ld	r7,0xc2b6
    3f3c:	6f07 c2c0      	ld	0xc2c0,r7
    3f40:	4d05 c2be 0001 	ld	0xc2be,#0x1
    3f46:	bd61           	ldk	r6,#0x1
    3f48:	5f00 6f72      	call	0x6f72
    3f4c:	9e08           	ret	t
    3f4e:	030f 0016      	sub	r15,#0x16
    3f52:	5cf9 0806 0008 	ldm	0x8(r15),r8,#0x7
    3f58:	1cf9 0403      	ldm	@r15,r4,#0x4
    3f5c:	5f00 417c      	call	0x417c
    3f60:	a12d           	ld	r13,r2
    3f62:	61f7 0002      	ld	r7,0x2(r15)
    3f66:	21f6           	ld	r6,@r15
    3f68:	5f00 417c      	call	0x417c
    3f6c:	a12c           	ld	r12,r2
    3f6e:	bd90           	ldk	r9,#0x0
    3f70:	a1d2           	ld	r2,r13
    3f72:	85c2           	or	r2,r12
    3f74:	e667           	jr	eq,0x4044
    3f76:	61f2 0006      	ld	r2,0x6(r15)
    3f7a:	4bf2 0002      	cp	r2,0x2(r15)
    3f7e:	e262           	jr	le,0x4044
    3f80:	61f8 0002      	ld	r8,0x2(r15)
    3f84:	6ff2 0002      	ld	0x2(r15),r2
    3f88:	6ff8 0006      	ld	0x6(r15),r8
    3f8c:	21f8           	ld	r8,@r15
    3f8e:	61f2 0004      	ld	r2,0x4(r15)
    3f92:	2ff2           	ld	@r15,r2
    3f94:	6ff8 0004      	ld	0x4(r15),r8
    3f98:	a1d8           	ld	r8,r13
    3f9a:	a1cd           	ld	r13,r12
    3f9c:	a18c           	ld	r12,r8
    3f9e:	bd91           	ldk	r9,#0x1
    3fa0:	e851           	jr	t,0x4044
    3fa2:	a1d2           	ld	r2,r13
    3fa4:	87c2           	and	r2,r12
    3fa6:	ee52           	jr	ne,0x404c
    3fa8:	8dd4           	test	r13
    3faa:	ee02           	jr	ne,0x3fb0
    3fac:	a1c2           	ld	r2,r12
    3fae:	e801           	jr	t,0x3fb2
    3fb0:	a1d2           	ld	r2,r13
    3fb2:	a12e           	ld	r14,r2
    3fb4:	a720           	bit	r2,#0x0
    3fb6:	e611           	jr	eq,0x3fda
    3fb8:	610a c2ee      	ld	r10,0xc2ee
    3fbc:	61f7 0004      	ld	r7,0x4(r15)
    3fc0:	21f6           	ld	r6,@r15
    3fc2:	a1a5           	ld	r5,r10
    3fc4:	61f4 0006      	ld	r4,0x6(r15)
    3fc8:	61f3 0002      	ld	r3,0x2(r15)
    3fcc:	5f00 40a0      	call	0x40a0
    3fd0:	a12b           	ld	r11,r2
    3fd2:	e824           	jr	t,0x401c
    3fd4:	610a c2ea      	ld	r10,0xc2ea
    3fd8:	e8f1           	jr	t,0x3fbc
    3fda:	a7e1           	bit	r14,#0x1
    3fdc:	eefb           	jr	ne,0x3fd4
    3fde:	a7e2           	bit	r14,#0x2
    3fe0:	e60f           	jr	eq,0x4000
    3fe2:	61f7 0006      	ld	r7,0x6(r15)
    3fe6:	61f6 0002      	ld	r6,0x2(r15)
    3fea:	6105 c2f0      	ld	r5,0xc2f0
    3fee:	61f4 0004      	ld	r4,0x4(r15)
    3ff2:	21f3           	ld	r3,@r15
    3ff4:	5f00 40a0      	call	0x40a0
    3ff8:	a12a           	ld	r10,r2
    3ffa:	610b c2f0      	ld	r11,0xc2f0
    3ffe:	e80e           	jr	t,0x401c
    4000:	61f7 0006      	ld	r7,0x6(r15)
    4004:	61f6 0002      	ld	r6,0x2(r15)
    4008:	6105 c2ec      	ld	r5,0xc2ec
    400c:	61f4 0004      	ld	r4,0x4(r15)
    4010:	21f3           	ld	r3,@r15
    4012:	5f00 40a0      	call	0x40a0
    4016:	a12a           	ld	r10,r2
    4018:	610b c2ec      	ld	r11,0xc2ec
    401c:	8bde           	cp	r14,r13
    401e:	e609           	jr	eq,0x4032
    4020:	6ffa 0002      	ld	0x2(r15),r10
    4024:	2ffb           	ld	@r15,r11
    4026:	a1a7           	ld	r7,r10
    4028:	a1b6           	ld	r6,r11
    402a:	5f00 417c      	call	0x417c
    402e:	a12c           	ld	r12,r2
    4030:	e809           	jr	t,0x4044
    4032:	6ffa 0006      	ld	0x6(r15),r10
    4036:	6ffb 0004      	ld	0x4(r15),r11
    403a:	a1a7           	ld	r7,r10
    403c:	a1b6           	ld	r6,r11
    403e:	5f00 417c      	call	0x417c
    4042:	a12d           	ld	r13,r2
    4044:	8dd4           	test	r13
    4046:	eead           	jr	ne,0x3fa2
    4048:	8dc4           	test	r12
    404a:	eeab           	jr	ne,0x3fa2
    404c:	8d94           	test	r9
    404e:	e60e           	jr	eq,0x406c
    4050:	61f8 0002      	ld	r8,0x2(r15)
    4054:	61f2 0006      	ld	r2,0x6(r15)
    4058:	6ff2 0002      	ld	0x2(r15),r2
    405c:	6ff8 0006      	ld	0x6(r15),r8
    4060:	21f8           	ld	r8,@r15
    4062:	61f2 0004      	ld	r2,0x4(r15)
    4066:	2ff2           	ld	@r15,r2
    4068:	6ff8 0004      	ld	0x4(r15),r8
    406c:	a1d2           	ld	r2,r13
    406e:	87c2           	and	r2,r12
    4070:	e606           	jr	eq,0x407e
    4072:	61f7 0002      	ld	r7,0x2(r15)
    4076:	21f6           	ld	r6,@r15
    4078:	5f00 4260      	call	0x4260
    407c:	e80b           	jr	t,0x4094
    407e:	61f7 0006      	ld	r7,0x6(r15)
    4082:	61f6 0004      	ld	r6,0x4(r15)
    4086:	5f00 4260      	call	0x4260
    408a:	61f7 0002      	ld	r7,0x2(r15)
    408e:	21f6           	ld	r6,@r15
    4090:	5f00 0eda      	call	0xeda
    4094:	5cf1 0806 0008 	ldm	r8,0x8(r15),#0x7
    409a:	010f 0016      	add	r15,#0x16
    409e:	9e08           	ret	t
    40a0:	abfd           	dec	r15,#0xe
    40a2:	5cf9 0a04 0004 	ldm	0x4(r15),r10,#0x5
    40a8:	a17e           	ld	r14,r7
    40aa:	a16d           	ld	r13,r6
    40ac:	a15c           	ld	r12,r5
    40ae:	a14b           	ld	r11,r4
    40b0:	a13a           	ld	r10,r3
    40b2:	a167           	ld	r7,r6
    40b4:	b16a           	exts	rr6
    40b6:	a1e3           	ld	r3,r14
    40b8:	b12a           	exts	rr2
    40ba:	9226           	subl	rr6,rr2
    40bc:	a152           	ld	r2,r5
    40be:	8342           	sub	r2,r4
    40c0:	a121           	ld	r1,r2
    40c2:	b10a           	exts	rr0
    40c4:	9804           	multl	rq4,rr0
    40c6:	1df6           	ldl	@r15,rr6
    40c8:	a1a2           	ld	r2,r10
    40ca:	83b2           	sub	r2,r11
    40cc:	a121           	ld	r1,r2
    40ce:	b10a           	exts	rr0
    40d0:	9466           	ldl	rr6,rr6
    40d2:	b147           	extsl	rq4
    40d4:	9a04           	divl	rq4,rr0
    40d6:	817e           	add	r14,r7
    40d8:	a1e2           	ld	r2,r14
    40da:	5cf1 0a04 0004 	ldm	r10,0x4(r15),#0x5
    40e0:	a9fd           	inc	r15,#0xe
    40e2:	9e08           	ret	t
    40e4:	abf1           	dec	r15,#0x2
    40e6:	2ffe           	ld	@r15,r14
    40e8:	a17e           	ld	r14,r7
    40ea:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    40f0:	5f00 74d8      	call	0x74d8
    40f4:	bd71           	ldk	r7,#0x1
    40f6:	5f00 7212      	call	0x7212
    40fa:	5f00 3f1a      	call	0x3f1a
    40fe:	a7ea           	bit	r14,#0xa
    4100:	e602           	jr	eq,0x4106
    4102:	bd21           	ldk	r2,#0x1
    4104:	e801           	jr	t,0x4108
    4106:	bd22           	ldk	r2,#0x2
    4108:	6e0a c23f      	ldb	0xc23f,rl2
    410c:	5f00 6f96      	call	0x6f96
    4110:	6107 c2ee      	ld	r7,0xc2ee
    4114:	6106 c2f0      	ld	r6,0xc2f0
    4118:	6105 c2ea      	ld	r5,0xc2ea
    411c:	6104 c2ec      	ld	r4,0xc2ec
    4120:	5f00 152c      	call	0x152c
    4124:	5f00 6fb6      	call	0x6fb6
    4128:	4c08 c23f      	clrb	0xc23f
    412c:	21fe           	ld	r14,@r15
    412e:	a9f1           	inc	r15,#0x2
    4130:	9e08           	ret	t
    4132:	2107 0807      	ld	r7,#0x807
    4136:	5f00 74d8      	call	0x74d8
    413a:	5f00 1b04      	call	0x1b04
    413e:	5f00 2ef4      	call	0x2ef4
    4142:	5f00 0e64      	call	0xe64
    4146:	5f00 3f1a      	call	0x3f1a
    414a:	4c08 c24b      	clrb	0xc24b
    414e:	4d08 c2b0      	clr	0xc2b0
    4152:	4d05 c2b2 01d2 	ld	0xc2b2,#0x1d2
    4158:	4c01 c232 0303 	cpb	0xc232,#0x3
    415e:	ee0d           	jr	ne,0x417a
    4160:	4d08 c2ca      	clr	0xc2ca
    4164:	8377           	sub	r7,r7
    4166:	6106 c2d6      	ld	r6,0xc2d6
    416a:	5f00 4260      	call	0x4260
    416e:	4d01 c2c2 0003 	cp	0xc2c2,#0x3
    4174:	ee02           	jr	ne,0x417a
    4176:	5f00 1aee      	call	0x1aee
    417a:	9e08           	ret	t
    417c:	abf5           	dec	r15,#0x6
    417e:	a171           	ld	r1,r7
    4180:	a163           	ld	r3,r6
    4182:	4b07 c2ee      	cp	r7,0xc2ee
    4186:	e902           	jr	ge,0x418c
    4188:	bd21           	ldk	r2,#0x1
    418a:	e806           	jr	t,0x4198
    418c:	4b01 c2ea      	cp	r1,0xc2ea
    4190:	e202           	jr	le,0x4196
    4192:	bd22           	ldk	r2,#0x2
    4194:	e801           	jr	t,0x4198
    4196:	8322           	sub	r2,r2
    4198:	a124           	ld	r4,r2
    419a:	4b03 c2f0      	cp	r3,0xc2f0
    419e:	e902           	jr	ge,0x41a4
    41a0:	a542           	set	r4,#0x2
    41a2:	e804           	jr	t,0x41ac
    41a4:	4b03 c2ec      	cp	r3,0xc2ec
    41a8:	e201           	jr	le,0x41ac
    41aa:	a543           	set	r4,#0x3
    41ac:	a142           	ld	r2,r4
    41ae:	a9f5           	inc	r15,#0x6
    41b0:	9e08           	ret	t
    41b2:	abf3           	dec	r15,#0x4
    41b4:	1cf9 0d01      	ldm	@r15,r13,#0x2
    41b8:	a17e           	ld	r14,r7
    41ba:	a16d           	ld	r13,r6
    41bc:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    41c2:	5f00 6f96      	call	0x6f96
    41c6:	4c04 c28a      	testb	0xc28a
    41ca:	e605           	jr	eq,0x41d6
    41cc:	a1e7           	ld	r7,r14
    41ce:	a1d6           	ld	r6,r13
    41d0:	5f00 43e2      	call	0x43e2
    41d4:	e80c           	jr	t,0x41ee
    41d6:	6107 c2ac      	ld	r7,0xc2ac
    41da:	6106 c2ae      	ld	r6,0xc2ae
    41de:	a1e5           	ld	r5,r14
    41e0:	a1d4           	ld	r4,r13
    41e2:	5f00 3f4e      	call	0x3f4e
    41e6:	6f0e c2ac      	ld	0xc2ac,r14
    41ea:	6f0d c2ae      	ld	0xc2ae,r13
    41ee:	5f00 6fb6      	call	0x6fb6
    41f2:	1cf1 0d01      	ldm	r13,@r15,#0x2
    41f6:	a9f3           	inc	r15,#0x4
    41f8:	9e08           	ret	t
    41fa:	abfd           	dec	r15,#0xe
    41fc:	5cf9 0a04 0004 	ldm	0x4(r15),r10,#0x5
    4202:	a17e           	ld	r14,r7
    4204:	a16d           	ld	r13,r6
    4206:	a15c           	ld	r12,r5
    4208:	a14b           	ld	r11,r4
    420a:	a13a           	ld	r10,r3
    420c:	a176           	ld	r6,r7
    420e:	81d6           	add	r6,r13
    4210:	a163           	ld	r3,r6
    4212:	b12a           	exts	rr2
    4214:	9426           	ldl	rr6,rr2
    4216:	a153           	ld	r3,r5
    4218:	b12a           	exts	rr2
    421a:	9824           	multl	rq4,rr2
    421c:	1df6           	ldl	@r15,rr6
    421e:	0b0e 0000      	cp	r14,#0x0
    4222:	e102           	jr	lt,0x4228
    4224:	a1b2           	ld	r2,r11
    4226:	e802           	jr	t,0x422c
    4228:	a1b2           	ld	r2,r11
    422a:	8d22           	neg	r2
    422c:	b329 ffff      	sra	r2,#0x1
    4230:	a121           	ld	r1,r2
    4232:	b10a           	exts	rr0
    4234:	16f0           	addl	rr0,@r15
    4236:	9406           	ldl	rr6,rr0
    4238:	a1b3           	ld	r3,r11
    423a:	b12a           	exts	rr2
    423c:	b147           	extsl	rq4
    423e:	9a24           	divl	rq4,rr2
    4240:	a1a3           	ld	r3,r10
    4242:	b12a           	exts	rr2
    4244:	9626           	addl	rr6,rr2
    4246:	a172           	ld	r2,r7
    4248:	5cf1 0a04 0004 	ldm	r10,0x4(r15),#0x5
    424e:	a9fd           	inc	r15,#0xe
    4250:	9e08           	ret	t
    4252:	5f00 6f96      	call	0x6f96
    4256:	5f00 1d96      	call	0x1d96
    425a:	5f00 6fb6      	call	0x6fb6
    425e:	9e08           	ret	t
    4260:	abf3           	dec	r15,#0x4
    4262:	1cf9 0d01      	ldm	@r15,r13,#0x2
    4266:	a17e           	ld	r14,r7
    4268:	a16d           	ld	r13,r6
    426a:	0b07 0000      	cp	r7,#0x0
    426e:	e10b           	jr	lt,0x4286
    4270:	0b07 0320      	cp	r7,#0x320
    4274:	e908           	jr	ge,0x4286
    4276:	0b06 0000      	cp	r6,#0x0
    427a:	e105           	jr	lt,0x4286
    427c:	0b06 01e0      	cp	r6,#0x1e0
    4280:	e902           	jr	ge,0x4286
    4282:	5f00 0eca      	call	0xeca
    4286:	4c04 c244      	testb	0xc244
    428a:	e605           	jr	eq,0x4296
    428c:	6f0e c2b0      	ld	0xc2b0,r14
    4290:	6f0d c2b2      	ld	0xc2b2,r13
    4294:	e804           	jr	t,0x429e
    4296:	6f0e c2ac      	ld	0xc2ac,r14
    429a:	6f0d c2ae      	ld	0xc2ae,r13
    429e:	1cf1 0d01      	ldm	r13,@r15,#0x2
    42a2:	a9f3           	inc	r15,#0x4
    42a4:	9e08           	ret	t
    42a6:	abf5           	dec	r15,#0x6
    42a8:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    42ae:	a17e           	ld	r14,r7
    42b0:	a172           	ld	r2,r7
    42b2:	6efa 0001      	ldb	0x1(r15),rl2
    42b6:	0a0a d3d3      	cpb	rl2,#0xd3
    42ba:	ee33           	jr	ne,0x4322
    42bc:	6102 c2ce      	ld	r2,0xc2ce
    42c0:	4b02 c2f0      	cp	r2,0xc2f0
    42c4:	5e06 43d8      	jp	eq,0x43d8
    42c8:	600f c230      	ldb	rl7,0xc230
    42cc:	b170           	extsb	r7
    42ce:	bd61           	ldk	r6,#0x1
    42d0:	5f00 78b0      	call	0x78b0
    42d4:	a12d           	ld	r13,r2
    42d6:	6102 c2ce      	ld	r2,0xc2ce
    42da:	83d2           	sub	r2,r13
    42dc:	6f02 c2ce      	ld	0xc2ce,r2
    42e0:	4b02 c2f0      	cp	r2,0xc2f0
    42e4:	e904           	jr	ge,0x42ee
    42e6:	6102 c2f0      	ld	r2,0xc2f0
    42ea:	6f02 c2ce      	ld	0xc2ce,r2
    42ee:	5f00 1260      	call	0x1260
    42f2:	e872           	jr	t,0x43d8
    42f4:	6102 c2ce      	ld	r2,0xc2ce
    42f8:	4b02 c2ec      	cp	r2,0xc2ec
    42fc:	e66d           	jr	eq,0x43d8
    42fe:	600f c230      	ldb	rl7,0xc230
    4302:	b170           	extsb	r7
    4304:	bd61           	ldk	r6,#0x1
    4306:	5f00 78b0      	call	0x78b0
    430a:	a12d           	ld	r13,r2
    430c:	6102 c2ce      	ld	r2,0xc2ce
    4310:	81d2           	add	r2,r13
    4312:	6f02 c2ce      	ld	0xc2ce,r2
    4316:	4b02 c2ec      	cp	r2,0xc2ec
    431a:	e2e9           	jr	le,0x42ee
    431c:	6102 c2ec      	ld	r2,0xc2ec
    4320:	e8e4           	jr	t,0x42ea
    4322:	4cf1 0001 d2d2 	cpb	0x1(r15),#0xd2
    4328:	e6e5           	jr	eq,0x42f4
    432a:	4cf1 0001 d5d5 	cpb	0x1(r15),#0xd5
    4330:	ee32           	jr	ne,0x4396
    4332:	6102 c2cc      	ld	r2,0xc2cc
    4336:	4b02 c2ee      	cp	r2,0xc2ee
    433a:	e64e           	jr	eq,0x43d8
    433c:	600f c230      	ldb	rl7,0xc230
    4340:	b170           	extsb	r7
    4342:	bd61           	ldk	r6,#0x1
    4344:	5f00 78b0      	call	0x78b0
    4348:	a12d           	ld	r13,r2
    434a:	6102 c2cc      	ld	r2,0xc2cc
    434e:	83d2           	sub	r2,r13
    4350:	6f02 c2cc      	ld	0xc2cc,r2
    4354:	4b02 c2ee      	cp	r2,0xc2ee
    4358:	e904           	jr	ge,0x4362
    435a:	6102 c2ee      	ld	r2,0xc2ee
    435e:	6f02 c2cc      	ld	0xc2cc,r2
    4362:	5f00 1232      	call	0x1232
    4366:	e838           	jr	t,0x43d8
    4368:	6102 c2cc      	ld	r2,0xc2cc
    436c:	4b02 c2ea      	cp	r2,0xc2ea
    4370:	e633           	jr	eq,0x43d8
    4372:	600f c230      	ldb	rl7,0xc230
    4376:	b170           	extsb	r7
    4378:	bd61           	ldk	r6,#0x1
    437a:	5f00 78b0      	call	0x78b0
    437e:	a12d           	ld	r13,r2
    4380:	6102 c2cc      	ld	r2,0xc2cc
    4384:	81d2           	add	r2,r13
    4386:	6f02 c2cc      	ld	0xc2cc,r2
    438a:	4b02 c2ea      	cp	r2,0xc2ea
    438e:	e2e9           	jr	le,0x4362
    4390:	6102 c2ea      	ld	r2,0xc2ea
    4394:	e8e4           	jr	t,0x435e
    4396:	4cf1 0001 d4d4 	cpb	0x1(r15),#0xd4
    439c:	e6e5           	jr	eq,0x4368
    439e:	4cf1 0001 e8e8 	cpb	0x1(r15),#0xe8
    43a4:	ee19           	jr	ne,0x43d8
    43a6:	2107 c2cc      	ld	r7,#0xc2cc
    43aa:	2106 c2ce      	ld	r6,#0xc2ce
    43ae:	5f00 4444      	call	0x4444
    43b2:	a12d           	ld	r13,r2
    43b4:	4c01 c22d 0101 	cpb	0xc22d,#0x1
    43ba:	e609           	jr	eq,0x43ce
    43bc:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    43c2:	ee09           	jr	ne,0x43d6
    43c4:	600a c298      	ldb	rl2,0xc298
    43c8:	b120           	extsb	r2
    43ca:	a722           	bit	r2,#0x2
    43cc:	e604           	jr	eq,0x43d6
    43ce:	5f00 1232      	call	0x1232
    43d2:	5f00 1260      	call	0x1260
    43d6:	a1d2           	ld	r2,r13
    43d8:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    43de:	a9f5           	inc	r15,#0x6
    43e0:	9e08           	ret	t
    43e2:	abf3           	dec	r15,#0x4
    43e4:	1cf9 0d01      	ldm	@r15,r13,#0x2
    43e8:	a17e           	ld	r14,r7
    43ea:	a16d           	ld	r13,r6
    43ec:	5f00 4260      	call	0x4260
    43f0:	a1e7           	ld	r7,r14
    43f2:	a1d6           	ld	r6,r13
    43f4:	5f00 417c      	call	0x417c
    43f8:	8d24           	test	r2
    43fa:	ee06           	jr	ne,0x4408
    43fc:	5f00 6f96      	call	0x6f96
    4400:	5f00 11ea      	call	0x11ea
    4404:	5f00 6fb6      	call	0x6fb6
    4408:	1cf1 0d01      	ldm	r13,@r15,#0x2
    440c:	a9f3           	inc	r15,#0x4
    440e:	9e08           	ret	t
    4410:	abf1           	dec	r15,#0x2
    4412:	2ffe           	ld	@r15,r14
    4414:	8366           	sub	r6,r6
    4416:	6105 c2fa      	ld	r5,0xc2fa
    441a:	6104 c2fc      	ld	r4,0xc2fc
    441e:	8333           	sub	r3,r3
    4420:	5f00 41fa      	call	0x41fa
    4424:	21fe           	ld	r14,@r15
    4426:	a9f1           	inc	r15,#0x2
    4428:	9e08           	ret	t
    442a:	abf1           	dec	r15,#0x2
    442c:	2ffe           	ld	@r15,r14
    442e:	8366           	sub	r6,r6
    4430:	6105 c2fe      	ld	r5,0xc2fe
    4434:	6104 c300      	ld	r4,0xc300
    4438:	8333           	sub	r3,r3
    443a:	5f00 41fa      	call	0x41fa
    443e:	21fe           	ld	r14,@r15
    4440:	a9f1           	inc	r15,#0x2
    4442:	9e08           	ret	t
    4444:	abf5           	dec	r15,#0x6
    4446:	1cf9 0c02      	ldm	@r15,r12,#0x3
    444a:	a17e           	ld	r14,r7
    444c:	a16d           	ld	r13,r6
    444e:	21e7           	ld	r7,@r14
    4450:	21d6           	ld	r6,@r13
    4452:	5f00 417c      	call	0x417c
    4456:	a12c           	ld	r12,r2
    4458:	a720           	bit	r2,#0x0
    445a:	e603           	jr	eq,0x4462
    445c:	6102 c2ee      	ld	r2,0xc2ee
    4460:	e806           	jr	t,0x446e
    4462:	a7c1           	bit	r12,#0x1
    4464:	e603           	jr	eq,0x446c
    4466:	6102 c2ea      	ld	r2,0xc2ea
    446a:	e801           	jr	t,0x446e
    446c:	21e2           	ld	r2,@r14
    446e:	2fe2           	ld	@r14,r2
    4470:	a7c2           	bit	r12,#0x2
    4472:	e603           	jr	eq,0x447a
    4474:	6102 c2f0      	ld	r2,0xc2f0
    4478:	e806           	jr	t,0x4486
    447a:	a7c3           	bit	r12,#0x3
    447c:	e603           	jr	eq,0x4484
    447e:	6102 c2ec      	ld	r2,0xc2ec
    4482:	e801           	jr	t,0x4486
    4484:	21d2           	ld	r2,@r13
    4486:	2fd2           	ld	@r13,r2
    4488:	a1c2           	ld	r2,r12
    448a:	1cf1 0c02      	ldm	r12,@r15,#0x3
    448e:	a9f5           	inc	r15,#0x6
    4490:	9e08           	ret	t
    4492:	abfb           	dec	r15,#0xc
    4494:	5cf9 0b03 0004 	ldm	0x4(r15),r11,#0x4
    449a:	1df6           	ldl	@r15,rr6
    449c:	a15e           	ld	r14,r5
    449e:	8d54           	test	r5
    44a0:	e655           	jr	eq,0x454c
    44a2:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    44a8:	5f00 6f96      	call	0x6f96
    44ac:	6107 c30a      	ld	r7,0xc30a
    44b0:	5f00 74d8      	call	0x74d8
    44b4:	bd71           	ldk	r7,#0x1
    44b6:	5f00 7212      	call	0x7212
    44ba:	670a c30a      	bit	0xc30a,#0xa
    44be:	e602           	jr	eq,0x44c4
    44c0:	bd21           	ldk	r2,#0x1
    44c2:	e801           	jr	t,0x44c6
    44c4:	bd22           	ldk	r2,#0x2
    44c6:	6e0a c23f      	ldb	0xc23f,rl2
    44ca:	600a c22d      	ldb	rl2,0xc22d
    44ce:	b120           	extsb	r2
    44d0:	a12b           	ld	r11,r2
    44d2:	4c08 c22d      	clrb	0xc22d
    44d6:	5f00 45aa      	call	0x45aa
    44da:	8d24           	test	r2
    44dc:	e60b           	jr	eq,0x44f4
    44de:	6107 d200      	ld	r7,0xd200
    44e2:	6106 d2ca      	ld	r6,0xd2ca
    44e6:	6105 d204      	ld	r5,0xd204
    44ea:	6104 d2ce      	ld	r4,0xd2ce
    44ee:	5f00 152c      	call	0x152c
    44f2:	e806           	jr	t,0x4500
    44f4:	61f7 0002      	ld	r7,0x2(r15)
    44f8:	21f6           	ld	r6,@r15
    44fa:	a1e5           	ld	r5,r14
    44fc:	5f00 4556      	call	0x4556
    4500:	4c08 c23f      	clrb	0xc23f
    4504:	6107 c306      	ld	r7,0xc306
    4508:	5f00 74d8      	call	0x74d8
    450c:	600f c238      	ldb	rl7,0xc238
    4510:	b170           	extsb	r7
    4512:	5f00 7212      	call	0x7212
    4516:	61fc 0002      	ld	r12,0x2(r15)
    451a:	21fd           	ld	r13,@r15
    451c:	21c7           	ld	r7,@r12
    451e:	21d6           	ld	r6,@r13
    4520:	5f00 4260      	call	0x4260
    4524:	e806           	jr	t,0x4532
    4526:	a9c1           	inc	r12,#0x2
    4528:	21c7           	ld	r7,@r12
    452a:	a9d1           	inc	r13,#0x2
    452c:	21d6           	ld	r6,@r13
    452e:	5f00 41b2      	call	0x41b2
    4532:	fe87           	djnz	r14,0x4526
    4534:	61f7 0002      	ld	r7,0x2(r15)
    4538:	2177           	ld	r7,@r7
    453a:	21f6           	ld	r6,@r15
    453c:	2166           	ld	r6,@r6
    453e:	5f00 41b2      	call	0x41b2
    4542:	a1b2           	ld	r2,r11
    4544:	6e0a c22d      	ldb	0xc22d,rl2
    4548:	5f00 6fb6      	call	0x6fb6
    454c:	5cf1 0b03 0004 	ldm	r11,0x4(r15),#0x4
    4552:	a9fb           	inc	r15,#0xc
    4554:	9e08           	ret	t
    4556:	abf9           	dec	r15,#0xa
    4558:	5cf9 0c02 0004 	ldm	0x4(r15),r12,#0x3
    455e:	1df6           	ldl	@r15,rr6
    4560:	a15e           	ld	r14,r5
    4562:	4d05 c2c6 3fff 	ld	0xc2c6,#0x3fff
    4568:	6f05 c2ba      	ld	0xc2ba,r5
    456c:	4d08 c2bc      	clr	0xc2bc
    4570:	5f00 47c4      	call	0x47c4
    4574:	4d04 c2ba      	test	0xc2ba
    4578:	e613           	jr	eq,0x45a0
    457a:	6107 c2c6      	ld	r7,0xc2c6
    457e:	6106 c2f0      	ld	r6,0xc2f0
    4582:	5f00 78b0      	call	0x78b0
    4586:	6f02 c2c6      	ld	0xc2c6,r2
    458a:	610c e8d6      	ld	r12,0xe8d6
    458e:	a1cd           	ld	r13,r12
    4590:	e804           	jr	t,0x459a
    4592:	a1d7           	ld	r7,r13
    4594:	5f00 4648      	call	0x4648
    4598:	abd0           	dec	r13,#0x1
    459a:	4b0d c2c6      	cp	r13,0xc2c6
    459e:	e9f9           	jr	ge,0x4592
    45a0:	5cf1 0c02 0004 	ldm	r12,0x4(r15),#0x3
    45a6:	a9f9           	inc	r15,#0xa
    45a8:	9e08           	ret	t
    45aa:	abfd           	dec	r15,#0xe
    45ac:	1cf9 0806      	ldm	@r15,r8,#0x7
    45b0:	4d01 c2b4 0004 	cp	0xc2b4,#0x4
    45b6:	e104           	jr	lt,0x45c0
    45b8:	4d01 c2b4 0005 	cp	0xc2b4,#0x5
    45be:	e202           	jr	le,0x45c4
    45c0:	8322           	sub	r2,r2
    45c2:	e83e           	jr	t,0x4640
    45c4:	bd80           	ldk	r8,#0x0
    45c6:	610e d200      	ld	r14,0xd200
    45ca:	610d d2ca      	ld	r13,0xd2ca
    45ce:	610a d202      	ld	r10,0xd202
    45d2:	6109 d2cc      	ld	r9,0xd2cc
    45d6:	610c d204      	ld	r12,0xd204
    45da:	610b d2ce      	ld	r11,0xd2ce
    45de:	8bae           	cp	r14,r10
    45e0:	ee08           	jr	ne,0x45f2
    45e2:	4b0c d206      	cp	r12,0xd206
    45e6:	ee05           	jr	ne,0x45f2
    45e8:	4b0d d2d0      	cp	r13,0xd2d0
    45ec:	ee02           	jr	ne,0x45f2
    45ee:	8bb9           	cp	r9,r11
    45f0:	e60a           	jr	eq,0x4606
    45f2:	8b9d           	cp	r13,r9
    45f4:	ee09           	jr	ne,0x4608
    45f6:	4b0b d2d0      	cp	r11,0xd2d0
    45fa:	ee06           	jr	ne,0x4608
    45fc:	4b0e d206      	cp	r14,0xd206
    4600:	ee03           	jr	ne,0x4608
    4602:	8bca           	cp	r10,r12
    4604:	ee01           	jr	ne,0x4608
    4606:	bd81           	ldk	r8,#0x1
    4608:	8d84           	test	r8
    460a:	e60b           	jr	eq,0x4622
    460c:	4d01 c2b4 0005 	cp	0xc2b4,#0x5
    4612:	ee07           	jr	ne,0x4622
    4614:	4b0e d208      	cp	r14,0xd208
    4618:	ee03           	jr	ne,0x4620
    461a:	4b0d d2d2      	cp	r13,0xd2d2
    461e:	e601           	jr	eq,0x4622
    4620:	bd80           	ldk	r8,#0x0
    4622:	8d84           	test	r8
    4624:	e60c           	jr	eq,0x463e
    4626:	2107 d200      	ld	r7,#0xd200
    462a:	2106 d2ca      	ld	r6,#0xd2ca
    462e:	5f00 4444      	call	0x4444
    4632:	2107 d204      	ld	r7,#0xd204
    4636:	2106 d2ce      	ld	r6,#0xd2ce
    463a:	5f00 4444      	call	0x4444
    463e:	a182           	ld	r2,r8
    4640:	1cf1 0806      	ldm	r8,@r15,#0x7
    4644:	a9fd           	inc	r15,#0xe
    4646:	9e08           	ret	t
    4648:	abf7           	dec	r15,#0x8
    464a:	1cf9 0b03      	ldm	@r15,r11,#0x4
    464e:	a17e           	ld	r14,r7
    4650:	5f00 4718      	call	0x4718
    4654:	4d04 c2bc      	test	0xc2bc
    4658:	e65b           	jr	eq,0x4710
    465a:	210b dee4      	ld	r11,#0xdee4
    465e:	bdd2           	ldk	r13,#0x2
    4660:	e80d           	jr	t,0x467c
    4662:	21b7           	ld	r7,@r11
    4664:	6177 0008      	ld	r7,0x8(r7)
    4668:	61b5 0002      	ld	r5,0x2(r11)
    466c:	6155 0008      	ld	r5,0x8(r5)
    4670:	a1e6           	ld	r6,r14
    4672:	a1e4           	ld	r4,r14
    4674:	5f00 3f4e      	call	0x3f4e
    4678:	a9b3           	inc	r11,#0x4
    467a:	a9d1           	inc	r13,#0x2
    467c:	4b0d c2bc      	cp	r13,0xc2bc
    4680:	e2f0           	jr	le,0x4662
    4682:	210b dee4      	ld	r11,#0xdee4
    4686:	bdd0           	ldk	r13,#0x0
    4688:	e840           	jr	t,0x470a
    468a:	61c2 0010      	ld	r2,0x10(r12)
    468e:	b329 fff3      	sra	r2,#0xd
    4692:	a720           	bit	r2,#0x0
    4694:	e603           	jr	eq,0x469c
    4696:	2102 ffff      	ld	r2,#0xffff
    469a:	e806           	jr	t,0x46a8
    469c:	61c2 0010      	ld	r2,0x10(r12)
    46a0:	b329 fff4      	sra	r2,#0xc
    46a4:	0702 0001      	and	r2,#0x1
    46a8:	41c2 0008      	add	r2,0x8(r12)
    46ac:	6fc2 0008      	ld	0x8(r12),r2
    46b0:	61c2 000e      	ld	r2,0xe(r12)
    46b4:	41c2 000c      	add	r2,0xc(r12)
    46b8:	6fc2 000e      	ld	0xe(r12),r2
    46bc:	e824           	jr	t,0x4706
    46be:	21bc           	ld	r12,@r11
    46c0:	4dc1 000e 0000 	cp	0xe(r12),#0x0
    46c6:	e9e1           	jr	ge,0x468a
    46c8:	61c2 0010      	ld	r2,0x10(r12)
    46cc:	b329 fff1      	sra	r2,#0xf
    46d0:	a720           	bit	r2,#0x0
    46d2:	e603           	jr	eq,0x46da
    46d4:	2102 ffff      	ld	r2,#0xffff
    46d8:	e806           	jr	t,0x46e6
    46da:	61c2 0010      	ld	r2,0x10(r12)
    46de:	b329 fff2      	sra	r2,#0xe
    46e2:	0702 0001      	and	r2,#0x1
    46e6:	41c2 0008      	add	r2,0x8(r12)
    46ea:	6fc2 0008      	ld	0x8(r12),r2
    46ee:	61c2 000e      	ld	r2,0xe(r12)
    46f2:	41c2 000a      	add	r2,0xa(r12)
    46f6:	6fc2 000e      	ld	0xe(r12),r2
    46fa:	61c2 0010      	ld	r2,0x10(r12)
    46fe:	b329 fff5      	sra	r2,#0xb
    4702:	a720           	bit	r2,#0x0
    4704:	e6dd           	jr	eq,0x46c0
    4706:	a9b1           	inc	r11,#0x2
    4708:	a9d0           	inc	r13,#0x1
    470a:	4b0d c2bc      	cp	r13,0xc2bc
    470e:	e1d7           	jr	lt,0x46be
    4710:	1cf1 0b03      	ldm	r11,@r15,#0x4
    4714:	a9f7           	inc	r15,#0x8
    4716:	9e08           	ret	t
    4718:	abfb           	dec	r15,#0xc
    471a:	1cf9 0905      	ldm	@r15,r9,#0x6
    471e:	bdd0           	ldk	r13,#0x0
    4720:	a172           	ld	r2,r7
    4722:	8172           	add	r2,r7
    4724:	a12e           	ld	r14,r2
    4726:	4d04 c2bc      	test	0xc2bc
    472a:	e620           	jr	eq,0x476c
    472c:	210a dee4      	ld	r10,#0xdee4
    4730:	e81a           	jr	t,0x4766
    4732:	a1d2           	ld	r2,r13
    4734:	81d2           	add	r2,r13
    4736:	0102 dee4      	add	r2,#0xdee4
    473a:	a129           	ld	r9,r2
    473c:	76d2 0001      	lda	r2,0x1(r13)
    4740:	a12c           	ld	r12,r2
    4742:	e805           	jr	t,0x474e
    4744:	6192 0002      	ld	r2,0x2(r9)
    4748:	2f92           	ld	@r9,r2
    474a:	a991           	inc	r9,#0x2
    474c:	a9c0           	inc	r12,#0x1
    474e:	4b0c c2bc      	cp	r12,0xc2bc
    4752:	e1f8           	jr	lt,0x4744
    4754:	6b00 c2bc      	dec	0xc2bc,#0x1
    4758:	e806           	jr	t,0x4766
    475a:	21a2           	ld	r2,@r10
    475c:	4b2e 0002      	cp	r14,0x2(r2)
    4760:	e1e8           	jr	lt,0x4732
    4762:	a9d0           	inc	r13,#0x1
    4764:	a9a1           	inc	r10,#0x2
    4766:	4b0d c2bc      	cp	r13,0xc2bc
    476a:	e1f7           	jr	lt,0x475a
    476c:	210b e8d0      	ld	r11,#0xe8d0
    4770:	6102 c2bc      	ld	r2,0xc2bc
    4774:	8122           	add	r2,r2
    4776:	0102 dee4      	add	r2,#0xdee4
    477a:	a12a           	ld	r10,r2
    477c:	bdc0           	ldk	r12,#0x0
    477e:	e816           	jr	t,0x47ac
    4780:	4bbe 0006      	cp	r14,0x6(r11)
    4784:	ea16           	jr	gt,0x47b2
    4786:	61b2 0010      	ld	r2,0x10(r11)
    478a:	b329 fff7      	sra	r2,#0x9
    478e:	a720           	bit	r2,#0x0
    4790:	e60a           	jr	eq,0x47a6
    4792:	2fab           	ld	@r10,r11
    4794:	a9a1           	inc	r10,#0x2
    4796:	6900 c2bc      	inc	0xc2bc,#0x1
    479a:	61b2 0010      	ld	r2,0x10(r11)
    479e:	0702 fdff      	and	r2,#0xfdff
    47a2:	6fb2 0010      	ld	0x10(r11),r2
    47a6:	010b 0012      	add	r11,#0x12
    47aa:	a9c0           	inc	r12,#0x1
    47ac:	4b0c c2ba      	cp	r12,0xc2ba
    47b0:	e1e7           	jr	lt,0x4780
    47b2:	4d04 c2bc      	test	0xc2bc
    47b6:	e602           	jr	eq,0x47bc
    47b8:	5f00 4a5a      	call	0x4a5a
    47bc:	1cf1 0905      	ldm	r9,@r15,#0x6
    47c0:	a9fb           	inc	r15,#0xc
    47c2:	9e08           	ret	t
    47c4:	030f 0018      	sub	r15,#0x18
    47c8:	5cf9 0806 000a 	ldm	0xa(r15),r8,#0x7
    47ce:	1df6           	ldl	@r15,rr6
    47d0:	bdd0           	ldk	r13,#0x0
    47d2:	2109 e8d0      	ld	r9,#0xe8d0
    47d6:	6ff7 0006      	ld	0x6(r15),r7
    47da:	6ff6 0008      	ld	0x8(r15),r6
    47de:	6102 c2ba      	ld	r2,0xc2ba
    47e2:	8122           	add	r2,r2
    47e4:	a173           	ld	r3,r7
    47e6:	8123           	add	r3,r2
    47e8:	a172           	ld	r2,r7
    47ea:	2120           	ld	r0,@r2
    47ec:	2f30           	ld	@r3,r0
    47ee:	6102 c2ba      	ld	r2,0xc2ba
    47f2:	8122           	add	r2,r2
    47f4:	a163           	ld	r3,r6
    47f6:	8123           	add	r3,r2
    47f8:	a162           	ld	r2,r6
    47fa:	2120           	ld	r0,@r2
    47fc:	2f30           	ld	@r3,r0
    47fe:	a1de           	ld	r14,r13
    4800:	e83c           	jr	t,0x487a
    4802:	61f2 0008      	ld	r2,0x8(r15)
    4806:	212b           	ld	r11,@r2
    4808:	612a 0002      	ld	r10,0x2(r2)
    480c:	8bab           	cp	r11,r10
    480e:	e630           	jr	eq,0x4870
    4810:	4b0b c2c6      	cp	r11,0xc2c6
    4814:	e902           	jr	ge,0x481a
    4816:	6f0b c2c6      	ld	0xc2c6,r11
    481a:	61f2 0006      	ld	r2,0x6(r15)
    481e:	2123           	ld	r3,@r2
    4820:	2f93           	ld	@r9,r3
    4822:	a1b2           	ld	r2,r11
    4824:	81b2           	add	r2,r11
    4826:	0502 0001      	or	r2,#0x1
    482a:	6f92 0002      	ld	0x2(r9),r2
    482e:	61f2 0006      	ld	r2,0x6(r15)
    4832:	6123 0002      	ld	r3,0x2(r2)
    4836:	6f93 0004      	ld	0x4(r9),r3
    483a:	a1a2           	ld	r2,r10
    483c:	81a2           	add	r2,r10
    483e:	0502 0001      	or	r2,#0x1
    4842:	6f92 0006      	ld	0x6(r9),r2
    4846:	6192 0006      	ld	r2,0x6(r9)
    484a:	4b92 0002      	cp	r2,0x2(r9)
    484e:	e90d           	jr	ge,0x486a
    4850:	7696 0004      	lda	r6,0x4(r9)
    4854:	a197           	ld	r7,r9
    4856:	bd52           	ldk	r5,#0x2
    4858:	5f00 4aa6      	call	0x4aa6
    485c:	7697 0002      	lda	r7,0x2(r9)
    4860:	7696 0006      	lda	r6,0x6(r9)
    4864:	bd52           	ldk	r5,#0x2
    4866:	5f00 4aa6      	call	0x4aa6
    486a:	a9d0           	inc	r13,#0x1
    486c:	0109 0012      	add	r9,#0x12
    4870:	69f1 0006      	inc	0x6(r15),#0x2
    4874:	69f1 0008      	inc	0x8(r15),#0x2
    4878:	a9e0           	inc	r14,#0x1
    487a:	4b0e c2ba      	cp	r14,0xc2ba
    487e:	e1c1           	jr	lt,0x4802
    4880:	6f0d c2ba      	ld	0xc2ba,r13
    4884:	2109 e8d0      	ld	r9,#0xe8d0
    4888:	bde2           	ldk	r14,#0x2
    488a:	e816           	jr	t,0x48b8
    488c:	a198           	ld	r8,r9
    488e:	a1ed           	ld	r13,r14
    4890:	e80d           	jr	t,0x48ac
    4892:	0108 0012      	add	r8,#0x12
    4896:	6192 0006      	ld	r2,0x6(r9)
    489a:	4b82 0006      	cp	r2,0x6(r8)
    489e:	e905           	jr	ge,0x48aa
    48a0:	a197           	ld	r7,r9
    48a2:	a186           	ld	r6,r8
    48a4:	bd58           	ldk	r5,#0x8
    48a6:	5f00 4aa6      	call	0x4aa6
    48aa:	a9d0           	inc	r13,#0x1
    48ac:	4b0d c2ba      	cp	r13,0xc2ba
    48b0:	e2f0           	jr	le,0x4892
    48b2:	0109 0012      	add	r9,#0x12
    48b6:	a9e0           	inc	r14,#0x1
    48b8:	4b0e c2ba      	cp	r14,0xc2ba
    48bc:	e2e7           	jr	le,0x488c
    48be:	2109 e8d0      	ld	r9,#0xe8d0
    48c2:	bdc0           	ldk	r12,#0x0
    48c4:	5e08 4a46      	jp	t,0x4a46
    48c8:	2197           	ld	r7,@r9
    48ca:	4397 0004      	sub	r7,0x4(r9)
    48ce:	5f00 784e      	call	0x784e
    48d2:	a12e           	ld	r14,r2
    48d4:	6197 0002      	ld	r7,0x2(r9)
    48d8:	4397 0006      	sub	r7,0x6(r9)
    48dc:	b379 ffff      	sra	r7,#0x1
    48e0:	5f00 784e      	call	0x784e
    48e4:	a12d           	ld	r13,r2
    48e6:	2192           	ld	r2,@r9
    48e8:	4b92 0004      	cp	r2,0x4(r9)
    48ec:	bd20           	ldk	r2,#0x0
    48ee:	af21           	tcc	lt,r2
    48f0:	6efa 0005      	ldb	0x5(r15),rl2
    48f4:	8bde           	cp	r14,r13
    48f6:	e142           	jr	lt,0x497c
    48f8:	a1eb           	ld	r11,r14
    48fa:	a1da           	ld	r10,r13
    48fc:	b120           	extsb	r2
    48fe:	a120           	ld	r0,r2
    4900:	b329 000d      	sla	r2,#0xd
    4904:	0702 2000      	and	r2,#0x2000
    4908:	6193 0010      	ld	r3,0x10(r9)
    490c:	0703 dfff      	and	r3,#0xdfff
    4910:	8523           	or	r3,r2
    4912:	6f93 0010      	ld	0x10(r9),r3
    4916:	a102           	ld	r2,r0
    4918:	b329 000f      	sla	r2,#0xf
    491c:	0702 8000      	and	r2,#0x8000
    4920:	6193 0010      	ld	r3,0x10(r9)
    4924:	0703 7fff      	and	r3,#0x7fff
    4928:	8523           	or	r3,r2
    492a:	6f93 0010      	ld	0x10(r9),r3
    492e:	2102 0001      	ld	r2,#0x1
    4932:	b329 000c      	sla	r2,#0xc
    4936:	0702 1000      	and	r2,#0x1000
    493a:	6193 0010      	ld	r3,0x10(r9)
    493e:	0703 efff      	and	r3,#0xefff
    4942:	8523           	or	r3,r2
    4944:	6f93 0010      	ld	0x10(r9),r3
    4948:	2102 0001      	ld	r2,#0x1
    494c:	b329 000e      	sla	r2,#0xe
    4950:	0702 4000      	and	r2,#0x4000
    4954:	6193 0010      	ld	r3,0x10(r9)
    4958:	0703 bfff      	and	r3,#0xbfff
    495c:	8523           	or	r3,r2
    495e:	6f93 0010      	ld	0x10(r9),r3
    4962:	6192 0010      	ld	r2,0x10(r9)
    4966:	0702 fbff      	and	r2,#0xfbff
    496a:	6f92 0010      	ld	0x10(r9),r2
    496e:	6192 0010      	ld	r2,0x10(r9)
    4972:	0702 f7ff      	and	r2,#0xf7ff
    4976:	6f92 0010      	ld	0x10(r9),r2
    497a:	e843           	jr	t,0x4a02
    497c:	a1db           	ld	r11,r13
    497e:	a1ea           	ld	r10,r14
    4980:	6192 0010      	ld	r2,0x10(r9)
    4984:	0702 bfff      	and	r2,#0xbfff
    4988:	6f92 0010      	ld	0x10(r9),r2
    498c:	6192 0010      	ld	r2,0x10(r9)
    4990:	0702 7fff      	and	r2,#0x7fff
    4994:	6f92 0010      	ld	0x10(r9),r2
    4998:	60fa 0005      	ldb	rl2,0x5(r15)
    499c:	b120           	extsb	r2
    499e:	b329 000d      	sla	r2,#0xd
    49a2:	0702 2000      	and	r2,#0x2000
    49a6:	6193 0010      	ld	r3,0x10(r9)
    49aa:	0703 dfff      	and	r3,#0xdfff
    49ae:	8523           	or	r3,r2
    49b0:	6f93 0010      	ld	0x10(r9),r3
    49b4:	2102 0001      	ld	r2,#0x1
    49b8:	b329 000c      	sla	r2,#0xc
    49bc:	0702 1000      	and	r2,#0x1000
    49c0:	6193 0010      	ld	r3,0x10(r9)
    49c4:	0703 efff      	and	r3,#0xefff
    49c8:	8523           	or	r3,r2
    49ca:	6f93 0010      	ld	0x10(r9),r3
    49ce:	2102 0001      	ld	r2,#0x1
    49d2:	b329 000a      	sla	r2,#0xa
    49d6:	0702 0400      	and	r2,#0x400
    49da:	6193 0010      	ld	r3,0x10(r9)
    49de:	0703 fbff      	and	r3,#0xfbff
    49e2:	8523           	or	r3,r2
    49e4:	6f93 0010      	ld	0x10(r9),r3
    49e8:	2102 0001      	ld	r2,#0x1
    49ec:	b329 000b      	sla	r2,#0xb
    49f0:	0702 0800      	and	r2,#0x800
    49f4:	6193 0010      	ld	r3,0x10(r9)
    49f8:	0703 f7ff      	and	r3,#0xf7ff
    49fc:	8523           	or	r3,r2
    49fe:	6f93 0010      	ld	0x10(r9),r3
    4a02:	a1a2           	ld	r2,r10
    4a04:	81a2           	add	r2,r10
    4a06:	6f92 000a      	ld	0xa(r9),r2
    4a0a:	6192 000a      	ld	r2,0xa(r9)
    4a0e:	83b2           	sub	r2,r11
    4a10:	6f92 000e      	ld	0xe(r9),r2
    4a14:	6192 000e      	ld	r2,0xe(r9)
    4a18:	83b2           	sub	r2,r11
    4a1a:	6f92 000c      	ld	0xc(r9),r2
    4a1e:	6192 0004      	ld	r2,0x4(r9)
    4a22:	6f92 0008      	ld	0x8(r9),r2
    4a26:	2102 0001      	ld	r2,#0x1
    4a2a:	b329 0009      	sla	r2,#0x9
    4a2e:	0702 0200      	and	r2,#0x200
    4a32:	6193 0010      	ld	r3,0x10(r9)
    4a36:	0703 fdff      	and	r3,#0xfdff
    4a3a:	8523           	or	r3,r2
    4a3c:	6f93 0010      	ld	0x10(r9),r3
    4a40:	0109 0012      	add	r9,#0x12
    4a44:	a9c0           	inc	r12,#0x1
    4a46:	4b0c c2ba      	cp	r12,0xc2ba
    4a4a:	5e01 48c8      	jp	lt,0x48c8
    4a4e:	5cf1 0806 000a 	ldm	r8,0xa(r15),#0x7
    4a54:	010f 0018      	add	r15,#0x18
    4a58:	9e08           	ret	t
    4a5a:	abf9           	dec	r15,#0xa
    4a5c:	2106 dee4      	ld	r6,#0xdee4
    4a60:	bd40           	ldk	r4,#0x0
    4a62:	e81a           	jr	t,0x4a98
    4a64:	7667 0002      	lda	r7,0x2(r6)
    4a68:	7642 0001      	lda	r2,0x1(r4)
    4a6c:	a125           	ld	r5,r2
    4a6e:	e80d           	jr	t,0x4a8a
    4a70:	2172           	ld	r2,@r7
    4a72:	2163           	ld	r3,@r6
    4a74:	6133 0008      	ld	r3,0x8(r3)
    4a78:	4b23 0008      	cp	r3,0x8(r2)
    4a7c:	e204           	jr	le,0x4a86
    4a7e:	2161           	ld	r1,@r6
    4a80:	2172           	ld	r2,@r7
    4a82:	2f62           	ld	@r6,r2
    4a84:	2f71           	ld	@r7,r1
    4a86:	a971           	inc	r7,#0x2
    4a88:	a950           	inc	r5,#0x1
    4a8a:	6102 c2bc      	ld	r2,0xc2bc
    4a8e:	ab20           	dec	r2,#0x1
    4a90:	8b25           	cp	r5,r2
    4a92:	e2ee           	jr	le,0x4a70
    4a94:	a961           	inc	r6,#0x2
    4a96:	a940           	inc	r4,#0x1
    4a98:	6102 c2bc      	ld	r2,0xc2bc
    4a9c:	ab21           	dec	r2,#0x2
    4a9e:	8b24           	cp	r4,r2
    4aa0:	e2e1           	jr	le,0x4a64
    4aa2:	a9f9           	inc	r15,#0xa
    4aa4:	9e08           	ret	t
    4aa6:	abf7           	dec	r15,#0x8
    4aa8:	2ffb           	ld	@r15,r11
    4aaa:	a171           	ld	r1,r7
    4aac:	a163           	ld	r3,r6
    4aae:	a154           	ld	r4,r5
    4ab0:	a940           	inc	r4,#0x1
    4ab2:	e809           	jr	t,0x4ac6
    4ab4:	201a           	ldb	rl2,@r1
    4ab6:	b120           	extsb	r2
    4ab8:	a12b           	ld	r11,r2
    4aba:	203a           	ldb	rl2,@r3
    4abc:	2e1a           	ldb	@r1,rl2
    4abe:	a910           	inc	r1,#0x1
    4ac0:	a1b2           	ld	r2,r11
    4ac2:	2e3a           	ldb	@r3,rl2
    4ac4:	a930           	inc	r3,#0x1
    4ac6:	f48a           	djnz	r4,0x4ab4
    4ac8:	21fb           	ld	r11,@r15
    4aca:	a9f7           	inc	r15,#0x8
    4acc:	9e08           	ret	t
    4ace:	001c           	addb	rl4,@r1
    4ad0:	001d           	addb	rl5,@r1
    4ad2:	00c9           	addb	rl1,@r12
    4ad4:	00ca           	addb	rl2,@r12
    4ad6:	4b08 4afe      	cp	r8,0x4afe
    4ada:	4b10 4b14      	cp	r0,0x4b14(r1)
    4ade:	5f00 4b1c      	call	0x4b1c
    4ae2:	5f00 5a1e      	call	0x5a1e
    4ae6:	0702 00ff      	and	r2,#0xff
    4aea:	2103 4ace      	ld	r3,#0x4ace
    4aee:	2104 0004      	ld	r4,#0x4
    4af2:	bb34 0426      	cpir	r2,@r3,r4,eq
    4af6:	ee07           	jr	ne,0x4b06
    4af8:	6132 0006      	ld	r2,0x6(r3)
    4afc:	1e28           	jp	t,@r2
    4afe:	4d05 c2c2 0001 	ld	0xc2c2,#0x1
    4b04:	bd23           	ldk	r2,#0x3
    4b06:	9e08           	ret	t
    4b08:	4d05 c2c2 0002 	ld	0xc2c2,#0x2
    4b0e:	e8fa           	jr	t,0x4b04
    4b10:	bd22           	ldk	r2,#0x2
    4b12:	e8f9           	jr	t,0x4b06
    4b14:	4d05 c2c2 0003 	ld	0xc2c2,#0x3
    4b1a:	e8f4           	jr	t,0x4b04
    4b1c:	5f00 2ef4      	call	0x2ef4
    4b20:	4d08 c260      	clr	0xc260
    4b24:	9e08           	ret	t
    4b26:	7e60           	rsvd7e	
    4b28:	5316 5316      	push	@r1,0x5316(r6)
    4b2c:	2288           	resb	@r8,#0x8
    4b2e:	7c78           	.word 7c78
    4b30:	2386           	res	@r8,#0x6
    4b32:	7cf0           	.word 7cf0
    4b34:	a0bc           	ldb	rl4,rl3
    4b36:	5316 85a8      	push	@r1,0x85a8(r6)
    4b3a:	8fae           	ext8f	#0xae
    4b3c:	8fea           	ext8f	#0xea
    4b3e:	5316 2e2c      	push	@r1,0x2e2c(r6)
    4b42:	7f6e           	sc	#0x6e
    4b44:	23e2           	res	@r14,#0x2
    4b46:	9030           	cpl	rr0,rr3
    4b48:	9070           	cpl	rr0,rr7
    4b4a:	2408           	.word 2408
    4b4c:	7e68           	rsvd7e	
    4b4e:	5316 7f84      	push	@r1,0x7f84(r6)
    4b52:	7f9a           	sc	#0x9a
    4b54:	7fdc           	sc	#0xdc
    4b56:	7fe6           	sc	#0xe6
    4b58:	8018           	addb	rl0,rh1
    4b5a:	5316 5316      	push	@r1,0x5316(r6)
    4b5e:	5316 907a      	push	@r1,0x907a(r6)
    4b62:	2e74           	ldb	@r7,rh4
    4b64:	847c           	orb	rl4,rh7
    4b66:	5316 2ef4      	push	@r1,0x2ef4(r6)
    4b6a:	5316 7d26      	push	@r1,0x7d26(r6)
    4b6e:	5316 2478      	push	@r1,0x2478(r6)
    4b72:	a4f2           	setb	rl7,#0x2
    4b74:	2f46           	ld	@r4,r6
    4b76:	90c6           	cpl	rr6,rr12
    4b78:	5316 5316      	push	@r1,0x5316(r6)
    4b7c:	2fb0           	ld	@r11,r0
    4b7e:	5316 81ca      	push	@r1,0x81ca(r6)
    4b82:	5316 3070      	push	@r1,0x3070(r6)
    4b86:	5316 253c      	push	@r1,0x253c(r6)
    4b8a:	a52a           	set	r2,#0xa
    4b8c:	85fe           	or	r14,r15
    4b8e:	5316 5316      	push	@r1,0x5316(r6)
    4b92:	5316 5316      	push	@r1,0x5316(r6)
    4b96:	328c 90fe      	ldb	r8(#0x90fe),rl4
    4b9a:	5316 7d2e      	push	@r1,0x7d2e(r6)
    4b9e:	5316 912e      	push	@r1,0x912e(r6)
    4ba2:	8256           	subb	rh6,rh5
    4ba4:	7dbe           	ldctl	nspseg,r11
    4ba6:	3296 8608      	ldb	r9(#0x8608),rh6
    4baa:	91be           	pushl	@r11,rr14
    4bac:	5316 794e      	push	@r1,0x794e(r6)
    4bb0:	7ea6           	rsvd7e	
    4bb2:	79d4           	.word 79d4
    4bb4:	26be           	bitb	@r11,#0xe
    4bb6:	a0de           	ldb	rl6,rl5
    4bb8:	26ce           	bitb	@r12,#0xe
    4bba:	9202           	subl	rr2,rr0
    4bbc:	5316 2722      	push	@r1,0x2722(r6)
    4bc0:	5316 79dc      	push	@r1,0x79dc(r6)
    4bc4:	920c           	subl	rr12,rr0
    4bc6:	86d2           	andb	rh2,rl5
    4bc8:	5316 5316      	push	@r1,0x5316(r6)
    4bcc:	27ac           	bit	@r10,#0xc
    4bce:	3346 5316      	ld	r4(#0x5316),r6
    4bd2:	3396 5316      	ld	r9(#0x5316),r6
    4bd6:	a236           	resb	rh3,#0x6
    4bd8:	5316 a33a      	push	@r1,0xa33a(r6)
    4bdc:	873a           	and	r10,r3
    4bde:	7dc6           	ldctl	r12,nspseg
    4be0:	7a14           	.word 7a14
    4be2:	5316 33ec      	push	@r1,0x33ec(r6)
    4be6:	282a           	incb	@r2,#0xb
    4be8:	5316 345a      	push	@r1,0x345a(r6)
    4bec:	9222           	subl	rr2,rr2
    4bee:	28f4           	incb	@r15,#0x5
    4bf0:	28fa           	incb	@r15,#0xb
    4bf2:	5316 5316      	push	@r1,0x5316(r6)
    4bf6:	9264           	subl	rr4,rr6
    4bf8:	3472 7f20      	lda	r2,r7(#0x7f20)
    4bfc:	7f2a           	sc	#0x2a
    4bfe:	34c8 3592      	lda	r8,r12(#0x3592)
    4c02:	293c           	inc	@r3,#0xd
    4c04:	7dce           	ldctl	nspseg,r12
    4c06:	5316 a58a      	push	@r1,0xa58a(r6)
    4c0a:	92cc           	subl	rr12,rr12
    4c0c:	92e4           	subl	rr4,rr14
    4c0e:	35ec 9328      	ldl	rr12,r14(#0x9328)
    4c12:	5316 2bea      	push	@r1,0x2bea(r6)
    4c16:	02b0           	subb	rh0,@r11
    4c18:	058c           	or	r12,@r8
    4c1a:	05d3           	or	r3,@r13
    4c1c:	0694           	andb	rh4,@r9
    4c1e:	0823           	xorb	rh3,@r2
    4c20:	0835           	xorb	rh5,@r3
    4c22:	08ac           	xorb	rl4,@r10
    4c24:	0934           	xor	r4,@r3
    4c26:	0989           	xor	r9,@r8
    4c28:	0a03 0a49      	cpb	rh3,#0x49
    4c2c:	0a70           	cpb	rh0,@r7
    4c2e:	0aa6           	cpb	rh6,@r10
    4c30:	0d32           	neg	@r3
    4c32:	0d34           	test	@r3
    4c34:	0d85 0d8d      	ld	@r8,#0xd8d
    4c38:	0daf           	.word 0daf
    4c3a:	0dec           	.word 0dec
    4c3c:	0ded           	.word 0ded
    4c3e:	0df0           	com	@r15
    4c40:	0e4f           	ext0e	#0x4f
    4c42:	0e63           	ext0e	#0x63
    4c44:	0e70           	ext0e	#0x70
    4c46:	0ec5           	ext0e	#0xc5
    4c48:	0ed3           	ext0e	#0xd3
    4c4a:	1034           	cpl	rr4,@r3
    4c4c:	1068           	cpl	rr8,@r6
    4c4e:	10ac           	cpl	rr12,@r10
    4c50:	10cc           	cpl	rr12,@r12
    4c52:	10cf           	cpl	rr15,@r12
    4c54:	1127           	pushl	@r2,@r7
    4c56:	1132           	pushl	@r3,@r2
    4c58:	1133           	pushl	@r3,@r3
    4c5a:	1189           	pushl	@r8,@r9
    4c5c:	11f7           	pushl	@r15,@r7
    4c5e:	1241           	subl	rr1,@r4
    4c60:	12b0           	subl	rr0,@r11
    4c62:	1468           	ldl	rr8,@r6
    4c64:	15c1           	popl	@r1,@r12
    4c66:	15d4           	popl	@r4,@r13
    4c68:	15e6           	popl	@r6,@r14
    4c6a:	15ec           	popl	@r12,@r14
    4c6c:	1641           	addl	rr1,@r4
    4c6e:	1663           	addl	rr3,@r6
    4c70:	1710           	.word 1710
    4c72:	1925           	mult	rr5,@r2
    4c74:	19ee           	mult	rr14,@r14
    4c76:	19f2           	mult	rr2,@r15
    4c78:	1e41           	jp	lt,@r4
    4c7a:	1e85           	jp	mi,@r8
    4c7c:	206f           	ldb	rl7,@r6
    4c7e:	20b2           	ldb	rh2,@r11
    4c80:	2255           	resb	@r5,#0x5
    4c82:	2468           	setb	@r6,#0x8
    4c84:	2589           	set	@r8,#0x9
    4c86:	25cb           	set	@r12,#0xb
    4c88:	25d0           	set	@r13,#0x0
    4c8a:	25d4           	set	@r13,#0x4
    4c8c:	2aad           	decb	@r10,#0xe
    4c8e:	2d2c           	ex	r12,@r2
    4c90:	2daf           	ex	r15,@r10
    4c92:	30a1 30a6      	ldb	rh1,r10(#0x30a6)
    4c96:	312e 3212      	ld	r14,r2(#0x3212)
    4c9a:	3281 32f2      	ldb	r8(#0x32f2),rh1
    4c9e:	3430 3432      	lda	r0,r3(#0x3432)
    4ca2:	3538 35ee      	ldl	rr8,r3(#0x35ee)
    4ca6:	35f6 3849      	ldl	rr6,r15(#0x3849)
    4caa:	39e5           	.word 39e5
    4cac:	4024 4032      	addb	rh4,0x4032(r2)
    4cb0:	4033 4034      	addb	rh3,0x4034(r3)
    4cb4:	4035 4041      	addb	rh5,0x4041(r3)
    4cb8:	40b2 40c8      	addb	rh2,0x40c8(r11)
    4cbc:	40cb 4125      	addb	rl3,0x4125(r12)
    4cc0:	41a9 41ec      	add	r9,0x41ec(r10)
    4cc4:	424f 4833      	subb	rl7,0x4833(r4)
    4cc8:	488f 48a1      	xorb	rl7,0x48a1(r8)
    4ccc:	48b0 4927      	xorb	rh0,0x4927(r11)
    4cd0:	49a1 4a04      	xor	r1,0x4a04(r10)
    4cd4:	4a0f 4a73      	cpb	rl7,0x4a73
    4cd8:	4ab0 4ac5      	cpb	rh0,0x4ac5(r11)
    4cdc:	4af2 4c36      	cpb	rh2,0x4c36(r15)
    4ce0:	4c49           	.word 4c49
    4ce2:	4cae           	.word 4cae
    4ce4:	4cb4 4ccf      	testb	0x4ccf(r11)
    4ce8:	4d12 4dcf      	neg	0x4dcf(r1)
    4cec:	4e8f           	.word 4e8f
    4cee:	4e92           	.word 4e92
    4cf0:	4f2d           	.word 4f2d
    4cf2:	4f33           	.word 4f33
    4cf4:	5022 50b2      	cpl	rr2,0x50b2(r2)
    4cf8:	50b3 51af      	cpl	rr3,0x51af(r11)
    4cfc:	5241 58a3      	subl	rr1,0x58a3(r4)
    4d00:	5925 5a55      	mult	rr5,0x5a55(r2)
    4d04:	5df2 0041      	ldl	0x41(r15),rr2
    4d08:	0042           	addb	rh2,@r4
    4d0a:	0043           	addb	rh3,@r4
    4d0c:	0044           	addb	rh4,@r4
    4d0e:	0045           	addb	rh5,@r4
    4d10:	0046           	addb	rh6,@r4
    4d12:	0047           	addb	rh7,@r4
    4d14:	0048           	addb	rl0,@r4
    4d16:	004b           	addb	rl3,@r4
    4d18:	004c           	addb	rl4,@r4
    4d1a:	004d           	addb	rl5,@r4
    4d1c:	004e           	addb	rl6,@r4
    4d1e:	004f           	addb	rl7,@r4
    4d20:	0050           	addb	rh0,@r5
    4d22:	0052           	addb	rh2,@r5
    4d24:	0053           	addb	rh3,@r5
    4d26:	0054           	addb	rh4,@r5
    4d28:	0056           	addb	rh6,@r5
    4d2a:	0057           	addb	rh7,@r5
    4d2c:	0059           	addb	rl1,@r5
    4d2e:	4451 3635      	orb	rh1,0x3635(r5)
    4d32:	304d 2046      	ldb	rl5,r4(#0x2046)
    4d36:	5730 3536      	pop	0x3536,@r3
    4d3a:	2000 5631      	ldb	rh0,#0x31
    4d3e:	2e34           	ldb	@r3,rh4
    4d40:	0000 2028      	addb	rh0,#0x28
    4d44:	4329 2043      	sub	r9,0x2043(r2)
    4d48:	6f70 7972      	ld	0x7972(r7),r0
    4d4c:	6967 6874      	inc	0x6874(r6),#0x8
    4d50:	2044           	ldb	rh4,@r4
    4d52:	6967 6974      	inc	0x6974(r6),#0x8
    4d56:	616c 2045      	ld	r12,0x2045(r6)
    4d5a:	6e67 696e      	ldb	0x696e(r6),rh7
    4d5e:	6565 7269      	set	0x7269(r6),#0x5
    4d62:	6e67 2c20      	ldb	0x2c20(r6),rh7
    4d66:	496e 632e      	xor	r14,0x632e(r6)
    4d6a:	2031           	ldb	rh1,@r3
    4d6c:	3938           	.word 3938
    4d6e:	335c 6e00      	ld	r5(#0x6e00),r12
    4d72:	0032           	addb	rh2,@r3
    4d74:	004b           	addb	rl3,@r4
    4d76:	006e           	addb	rl6,@r6
    4d78:	0086           	addb	rh6,@r8
    4d7a:	0096           	addb	rh6,@r9
    4d7c:	012c           	add	r12,@r2
    4d7e:	0258           	subb	rl0,@r5
    4d80:	04b0           	orb	rh0,@r11
    4d82:	0708 07d0      	and	r8,#0x7d0
    4d86:	0960           	xor	r0,@r6
    4d88:	0e10           	ext0e	#0x10
    4d8a:	12c0           	subl	rr0,@r12
    4d8c:	00c8           	addb	rl0,@r12
    4d8e:	2580           	set	@r8,#0x0
    4d90:	4b00 000a      	cp	r0,0xa
    4d94:	0a0c 050a      	cpb	rl4,#0xa
    4d98:	1805 0a00 050a 	multl	rq5,#0xa00050a
    4d9e:	1205 0a1e 050a 	subl	rr5,#0xa1e050a
    4da4:	0605 0a00      	andb	rh5,#0x0
    4da8:	000a 3813      	addb	rl2,#0x13
    4dac:	2e19           	ldb	@r1,rl1
    4dae:	260d           	.word 260d
    4db0:	3205 0833      	ldrb	0x55e7,rh5
    4db4:	0039           	addb	rl1,@r3
    4db6:	162d           	addl	rr13,@r2
    4db8:	1c25           	.word 1c25
    4dba:	281f           	incb	@r1,#0x10
    4dbc:	2009 3601      	ldb	rl1,#0x1
    4dc0:	3c15           	inb	rh5,@r1
    4dc2:	043e           	orb	rl6,@r3
    4dc4:	1029           	cpl	rr9,@r2
    4dc6:	1a21           	divl	rq1,@r2
    4dc8:	0c35 240f      	ldb	@r3,#0xf
    4dcc:	3007 3a11      	ldrb	rh7,0x87e1
    4dd0:	2c1b           	exb	rl3,@r1
    4dd2:	142f           	ldl	rr15,@r2
    4dd4:	1e27           	jp	c/ult,@r2
    4dd6:	0a31           	cpb	rh1,@r3
    4dd8:	023b           	subb	rl3,@r3
    4dda:	3403 3e17      	ldar	r3,0x8bf5
    4dde:	2a1d           	decb	@r1,#0xe
    4de0:	220b           	.word 220b
    4de2:	1823           	multl	rq3,@r2
    4de4:	0e37           	ext0e	#0x37
    4de6:	063d           	andb	rl5,@r3
    4de8:	122b           	subl	rr11,@r2
    4dea:	1011           	cpl	rr1,@r1
    4dec:	0105 0414      	add	r5,#0x414
    4df0:	1000 2021 2212 	cpl	rr0,#0x20212212
    4df6:	0206 0a09      	subb	rh6,#0x9
    4dfa:	0818           	xorb	rl0,@r1
    4dfc:	2824           	incb	@r2,#0x5
    4dfe:	2000 1b1c      	ldb	rh0,#0x1c
    4e02:	1d1e           	ldl	@r1,rr14
    4e04:	0efe           	ext0e	#0xfe
    4e06:	eef2           	jr	ne,0x4dec
    4e08:	f6fa           	djnz	r6,0x4d16
    4e0a:	f9f8           	djnz	r9,0x4d1c
    4e0c:	f707           	dbjnz	rh7,0x4e00
    4e0e:	1727           	pop	@r7,@r2
    4e10:	231f           	res	@r1,#0xf
    4e12:	1b00 434c      	div	rr0,#0x434c
    4e16:	5220 3430      	subl	rr0,0x3430(r2)
    4e1a:	3237 2034      	ldb	r3(#0x2034),rh7
    4e1e:	3031 3020      	ldb	rh1,r3(#0x3020)
    4e22:	5452 414e      	ldl	rr2,0x414e(r5)
    4e26:	2050           	ldb	rh0,@r5
    4e28:	5254 2046      	subl	rr4,0x2046(r5)
    4e2c:	3132 3334      	ld	r2,r3(#0x3334)
    4e30:	3536 3738      	ldl	rr6,r3(#0x3738)
    4e34:	3930           	ldps	@r3
    4e36:	3132 3320      	ld	r2,r3(#0x3320)
    4e3a:	5346 3132      	push	@r4,0x3132(r6)
    4e3e:	3334 3536      	ld	r3(#0x3536),r4
    4e42:	3738 3930      	ldl	r3(#0x3930),rr8
    4e46:	3132 3320      	ld	r2,r3(#0x3320)
    4e4a:	5044 3031      	cpl	rr4,0x3031(r4)
    4e4e:	3233 3435      	ldb	r3(#0x3435),rh3
    4e52:	3637           	rsvd36	
    4e54:	3839           	rsvd38	
    4e56:	2e54           	ldb	@r5,rh4
    4e58:	4553 4220      	or	r3,0x4220(r5)
    4e5c:	0000 5200      	addb	rh0,#0x0
    4e60:	5201 5206      	subl	rr1,0x5206
    4e64:	520b 5210      	subl	rr11,0x5210
    4e68:	1142           	pushl	@r4,@r2
    4e6a:	08ff           	xorb	rl7,@r15
    4e6c:	1fff           	.word 1fff
    4e6e:	1fff           	.word 1fff
    4e70:	7f00           	sc	#0x0
    4e72:	c900           	ldb	rl1,#0x0
    4e74:	c900           	ldb	rl1,#0x0
    4e76:	caca           	ldb	rl2,#0xca
    4e78:	00ca           	addb	rl2,@r12
    4e7a:	00c9           	addb	rl1,@r12
    4e7c:	cac9           	ldb	rl2,#0xc9
    4e7e:	0000 b288      	addb	rh0,#0x88
    4e82:	f28c           	djnz	r2,0x4e6c
    4e84:	0089           	addb	rl1,@r8
    4e86:	d2b5           	calr	0x491e
    4e88:	f592           	djnz	r5,0x4e66
    4e8a:	95af           	popl	rr15,@r10
    4e8c:	aca8           	exb	rl0,rl2
    4e8e:	d5a9           	calr	0x433e
    4e90:	008f           	addb	rl7,@r8
    4e92:	1818           	multl	rq8,@r1
    4e94:	1817           	multl	rq7,@r1
    4e96:	1616           	addl	rr6,@r1
    4e98:	1514           	popl	@r4,@r1
    4e9a:	1413           	ldl	rr3,@r1
    4e9c:	1211           	subl	rr1,@r1
    4e9e:	1110           	.word 1110
    4ea0:	0f0f           	ext0f	#0xf
    4ea2:	0e0d           	ext0e	#0xd
    4ea4:	0d0c           	.word 0d0c
    4ea6:	0b0a 0a09      	cp	r10,#0xa09
    4eaa:	0808 0706      	xorb	rl0,#0x6
    4eae:	0605 0403      	andb	rh5,#0x3
    4eb2:	0302 0100      	sub	r2,#0x100
    4eb6:	4e4c           	.word 4e4c
    4eb8:	4520 4f20      	or	r0,0x4f20(r2)
    4ebc:	2020           	ldb	rh0,@r2
    4ebe:	4800 0000      	xorb	rh0,0x0
    4ec2:	011e           	add	r14,@r1
    4ec4:	023b           	subb	rl3,@r3
    4ec6:	0358           	sub	r8,@r5
    4ec8:	0474           	orb	rh4,@r7
    4eca:	058f           	or	r15,@r8
    4ecc:	06a7           	andb	rh7,@r10
    4ece:	07be           	and	r14,@r11
    4ed0:	08d2           	xorb	rh2,@r13
    4ed2:	09e3           	xor	r3,@r14
    4ed4:	0af2           	cpb	rh2,@r15
    4ed6:	0bfd           	cp	r13,@r15
    4ed8:	0d04           	.word 0d04
    4eda:	0e07           	ext0e	#0x7
    4edc:	0f06           	ext0f	#0x6
    4ede:	1000 10f5 11e5 	cpl	rr0,#0x10f511e5
    4ee4:	12cf           	subl	rr15,@r12
    4ee6:	13b3           	push	@r11,@r3
    4ee8:	1492           	ldl	rr2,@r9
    4eea:	156a           	popl	@r10,@r6
    4eec:	163b           	addl	rr11,@r3
    4eee:	1705           	.word 1705
    4ef0:	17c8           	pop	@r8,@r12
    4ef2:	1883           	multl	rq3,@r8
    4ef4:	1937           	mult	rr7,@r3
    4ef6:	19e3           	mult	rr3,@r14
    4ef8:	1a87           	divl	rq7,@r8
    4efa:	1b23           	div	rr3,@r2
    4efc:	1bb6           	div	rr6,@r11
    4efe:	1c41           	.word 1c41
    4f00:	1cc3           	.word 1cc3
    4f02:	1d3c           	ldl	@r3,rr12
    4f04:	1dab           	ldl	@r10,rr11
    4f06:	1e12           	jp	le,@r1
    4f08:	1e6f           	jp	nc/uge,@r6
    4f0a:	1ec3           	jp	ule,@r12
    4f0c:	1f0d           	.word 1f0d
    4f0e:	1f4d           	.word 1f4d
    4f10:	1f84           	.word 1f84
    4f12:	1fb0           	call	@r11
    4f14:	1fd3           	.word 1fd3
    4f16:	1fec           	.word 1fec
    4f18:	1ffb           	.word 1ffb
    4f1a:	2000 216d      	ldb	rh0,#0x6d
    4f1e:	6f6e 3121      	ld	0x3121(r6),r14
    4f22:	6772 6131      	bit	0x6131(r7),#0x2
    4f26:	2c33           	exb	rh3,@r3
    4f28:	3321 7665      	ld	r2(#0x7665),r1
    4f2c:	6331 3030      	res	0x3030(r3),#0x1
    4f30:	2c34           	exb	rh4,@r3
    4f32:	3235 2163      	ldb	r3(#0x2163),rh5
    4f36:	7370           	.word 7370
    4f38:	2163           	ld	r3,@r6
    4f3a:	7363           	.word 7363
    4f3c:	3130 302c      	ld	r0,r3(#0x302c)
    4f40:	3230 3021      	ldb	r3(#0x3021),rh0
    4f44:	6369 742d      	res	0x742d(r6),#0x9
    4f48:	3135 2161      	ld	r5,r3(#0x2161)
    4f4c:	7474           	.word 7474
    4f4e:	3332 2063      	ld	r3(#0x2063),r2
    4f52:	3521 7374      	ldl	rr1,r2(#0x7374)
    4f56:	722f           	.word 722f
    4f58:	4451 3635      	orb	rh1,0x3635(r5)
    4f5c:	304d 2047      	ldb	rl5,r4(#0x2047)
    4f60:	7261           	.word 7261
    4f62:	7068           	.word 7068
    4f64:	6963 7320      	inc	0x7320(r6),#0x4
    4f68:	5465 7374      	ldl	rr5,0x7374(r6)
    4f6c:	2f21           	ld	@r2,r1
    4f6e:	6373 6331      	res	0x6331(r7),#0x3
    4f72:	3030 2163      	ldb	rh0,r3(#0x2163)
    4f76:	6974 3021      	inc	0x3021(r7),#0x5
    4f7a:	636d 6f21      	res	0x6f21(r6),#0xd
    4f7e:	7665 6331      	lda	r5,0x6331(r6)
    4f82:	3630           	rsvd36	
    4f84:	2c33           	exb	rh3,@r3
    4f86:	3030 2163      	ldb	rh0,r3(#0x2163)
    4f8a:	6f6c 2063      	ld	0x2063(r6),r12
    4f8e:	3120 6337      	ld	r0,r2(#0x6337)
    4f92:	2170           	ld	r0,@r7
    4f94:	6965 3730      	inc	0x3730(r6),#0x6
    4f98:	2172           	ld	r2,@r7
    4f9a:	7665 2d33      	lda	r5,0x2d33(r6)
    4f9e:	352c 2d36      	ldl	rr12,r2(#0x2d36)
    4fa2:	3121 636f      	ld	r1,r2(#0x636f)
    4fa6:	6c20 6332      	exb	rh0,0x6332(r2)
    4faa:	2063           	ldb	rh3,@r6
    4fac:	3721 7069      	ldl	r2(#0x7069),rr1
    4fb0:	6537 3021      	set	0x3021(r3),#0x7
    4fb4:	7276           	.word 7276
    4fb6:	6537 302c      	set	0x302c(r3),#0x7
    4fba:	3021 636f      	ldb	rh1,r2(#0x636f)
    4fbe:	6c20 6333      	exb	rh0,0x6333(r2)
    4fc2:	2063           	ldb	rh3,@r6
    4fc4:	3721 7069      	ldl	r2(#0x7069),rr1
    4fc8:	6537 3021      	set	0x3021(r3),#0x7
    4fcc:	636d 6f20      	res	0x6f20(r6),#0xd
    4fd0:	6e21 636f      	ldb	0x636f(r2),rh1
    4fd4:	6c20 6330      	exb	rh0,0x6330(r2)
    4fd8:	2163           	ld	r3,@r6
    4fda:	6972 3730      	inc	0x3730(r7),#0x3
    4fde:	2172           	ld	r2,@r7
    4fe0:	7665 2d37      	lda	r5,0x2d37(r6)
    4fe4:	302c 3021      	ldb	rl4,r2(#0x3021)
    4fe8:	6369 7237      	res	0x7237(r6),#0x9
    4fec:	3021 7276      	ldb	rh1,r2(#0x7276)
    4ff0:	6533 352c      	set	0x352c(r3),#0x3
    4ff4:	3631           	rsvd36	
    4ff6:	2163           	ld	r3,@r6
    4ff8:	6972 3730      	inc	0x3730(r7),#0x3
    4ffc:	2170           	ld	r0,@r7
    4ffe:	6f6c 3332      	ld	0x3332(r6),r12
    5002:	302c 3134      	ldb	rl4,r2(#0x3134)
    5006:	3020 3332      	ldb	rh0,r2(#0x3332)
    500a:	302c 3339      	ldb	rl4,r2(#0x3339)
    500e:	3520 3633      	ldl	rr0,r2(#0x3633)
    5012:	302c 3339      	ldb	rl4,r2(#0x3339)
    5016:	3520 3633      	ldl	rr0,r2(#0x3633)
    501a:	302c 3134      	ldb	rl4,r2(#0x3134)
    501e:	3021 636d      	ldb	rh1,r2(#0x636d)
    5022:	6f21 6d6f      	ld	0x6d6f(r2),r1
    5026:	7630 2c31      	lda	r0,0x2c31(r3)
    502a:	3630           	rsvd36	
    502c:	2032           	ldb	rh2,@r3
    502e:	3731 2c33      	ldl	r3(#0x2c33),rr1
    5032:	3735 2033      	ldl	r3(#0x2033),rr5
    5036:	3230 2c31      	ldb	r3(#0x2c31),rh0
    503a:	3630           	rsvd36	
    503c:	2163           	ld	r3,@r6
    503e:	6d6f 206e      	ex	r15,0x206e(r6)
    5042:	2176           	ld	r6,@r7
    5044:	6563 3535      	set	0x3535(r6),#0x3
    5048:	2c31           	exb	rh1,@r3
    504a:	3135 2161      	ld	r5,r3(#0x2161)
    504e:	7474           	.word 7474
    5050:	2063           	ldb	rh3,@r6
    5052:	3021 7366      	ldb	rh1,r2(#0x7366)
    5056:	6f36 352c      	ld	0x352c(r3),r6
    505a:	3930           	ldps	@r3
    505c:	2163           	ld	r3,@r6
    505e:	7370           	.word 7370
    5060:	206e           	ldb	rl6,@r6
    5062:	2173           	ld	r3,@r7
    5064:	6e6f 2176      	ldb	0x2176(r6),rl7
    5068:	6563 3132      	set	0x3132(r6),#0x3
    506c:	2c39           	exb	rl1,@r3
    506e:	3121 6174      	ld	r1,r2(#0x6174)
    5072:	7430           	.word 7430
    5074:	2173           	ld	r3,@r7
    5076:	666f 3020      	bitb	0x3020(r6),#0xf
    507a:	3633           	rsvd36	
    507c:	2176           	ld	r6,@r7
    507e:	6563 3132      	set	0x3132(r6),#0x3
    5082:	2c37           	exb	rh7,@r3
    5084:	3721 7366      	ldl	r2(#0x7366),rr1
    5088:	6f36 3421      	ld	0x3421(r3),r6
    508c:	7665 6331      	lda	r5,0x6331(r6)
    5090:	322c 3633      	ldb	r2(#0x3633),rl4
    5094:	2161           	ld	r1,@r6
    5096:	7474           	.word 7474
    5098:	3121 7366      	ld	r1,r2(#0x7366)
    509c:	6f30 2036      	ld	0x2036(r3),r0
    50a0:	3321 7665      	ld	r2(#0x7665),r1
    50a4:	6331 322c      	res	0x322c(r3),#0x1
    50a8:	3439 2173      	lda	r9,r3(#0x2173)
    50ac:	666f 3634      	bitb	0x3634(r6),#0xf
    50b0:	2173           	ld	r3,@r7
    50b2:	6e6f 206e      	ldb	0x206e(r6),rl7
    50b6:	2176           	ld	r6,@r7
    50b8:	6563 3132      	set	0x3132(r6),#0x3
    50bc:	2c32           	exb	rh2,@r3
    50be:	3121 6174      	ld	r1,r2(#0x6174)
    50c2:	7430           	.word 7430
    50c4:	2063           	ldb	rh3,@r6
    50c6:	3021 7366      	ldb	rh1,r2(#0x7366)
    50ca:	6f36 352c      	ld	0x352c(r3),r6
    50ce:	3637           	rsvd36	
    50d0:	2161           	ld	r1,@r6
    50d2:	7474           	.word 7474
    50d4:	2063           	ldb	rh3,@r6
    50d6:	3121 7366      	ld	r1,r2(#0x7366)
    50da:	6f36 382c      	ld	0x382c(r3),r6
    50de:	3730 2161      	ldl	r3(#0x2161),rr0
    50e2:	7474           	.word 7474
    50e4:	2063           	ldb	rh3,@r6
    50e6:	3221 7366      	ldb	r2(#0x7366),rh1
    50ea:	6f37 312c      	ld	0x312c(r3),r7
    50ee:	3733 2161      	ldl	r3(#0x2161),rr3
    50f2:	7474           	.word 7474
    50f4:	2063           	ldb	rh3,@r6
    50f6:	3321 7366      	ld	r2(#0x7366),r1
    50fa:	6f37 342c      	ld	0x342c(r3),r7
    50fe:	3736 2161      	ldl	r3(#0x2161),rr6
    5102:	7474           	.word 7474
    5104:	2063           	ldb	rh3,@r6
    5106:	3421 7366      	lda	r1,r2(#0x7366)
    510a:	6f37 372c      	ld	0x372c(r3),r7
    510e:	3739 2161      	ldl	r3(#0x2161),rr9
    5112:	7474           	.word 7474
    5114:	2063           	ldb	rh3,@r6
    5116:	3521 7366      	ldl	rr1,r2(#0x7366)
    511a:	6f38 302c      	ld	0x302c(r3),r8
    511e:	3832           	rsvd38	
    5120:	2161           	ld	r1,@r6
    5122:	7474           	.word 7474
    5124:	2063           	ldb	rh3,@r6
    5126:	3621           	rsvd36	
    5128:	7366           	.word 7366
    512a:	6f38 332c      	ld	0x332c(r3),r8
    512e:	3835           	rsvd38	
    5130:	2161           	ld	r1,@r6
    5132:	7474           	.word 7474
    5134:	2069           	ldb	rl1,@r6
    5136:	6330 2173      	res	0x2173(r3),#0x0
    513a:	666f 3836      	bitb	0x3836(r6),#0xf
    513e:	2c38           	exb	rl0,@r3
    5140:	3821           	rsvd38	
    5142:	6174 7420      	ld	r4,0x7420(r7)
    5146:	6330 2176      	res	0x2176(r3),#0x0
    514a:	6563 3237      	set	0x3237(r6),#0x3
    514e:	352c 3721      	ldl	rr12,r2(#0x3721)
    5152:	7374           	.word 7374
    5154:	722f           	.word 722f
    5156:	2843           	incb	@r4,#0x4
    5158:	2920           	inc	@r2,#0x1
    515a:	436f 7079      	sub	r15,0x7079(r6)
    515e:	7269           	.word 7269
    5160:	6768 7420      	bit	0x7420(r6),#0x8
    5164:	4469 6769      	orb	rl1,0x6769(r6)
    5168:	7461           	.word 7461
    516a:	6c20 456e      	exb	rh0,0x456e(r2)
    516e:	6769 6e65      	bit	0x6e65(r6),#0x9
    5172:	6572 696e      	set	0x696e(r7),#0x2
    5176:	672c 2049      	bit	0x2049(r2),#0xc
    517a:	6e63 2e20      	ldb	0x2e20(r6),rh3
    517e:	3139 3833      	ld	r9,r3(#0x3833)
    5182:	2f21           	ld	@r2,r1
    5184:	636f 6c20      	res	0x6c20(r6),#0xf
    5188:	6334 2176      	res	0x2176(r3),#0x4
    518c:	6563 302c      	set	0x302c(r6),#0x3
    5190:	3020 302c      	ldb	rh0,r2(#0x302c)
    5194:	3436 3020      	lda	r6,r3(#0x3020)
    5198:	3633           	rsvd36	
    519a:	392c           	.word 392c
    519c:	3436 3020      	lda	r6,r3(#0x3020)
    51a0:	3633           	rsvd36	
    51a2:	392c           	.word 392c
    51a4:	3020 302c      	ldb	rh0,r2(#0x302c)
    51a8:	3021 636f      	ldb	rh1,r2(#0x636f)
    51ac:	6c20 6330      	exb	rh0,0x6330(r2)
    51b0:	3b00           	.word 3b00
    51b2:	ff00           	dbjnz	rl7,0x51b4
    51b4:	8102           	add	r2,r0
    51b6:	8100           	add	r0,r0
    51b8:	8808           	xorb	rl0,rh0
    51ba:	0085           	addb	rh5,@r8
    51bc:	0282           	subb	rh2,@r8
    51be:	0285           	subb	rh5,@r8
    51c0:	008b           	addb	rl3,@r8
    51c2:	0484           	orb	rh4,@r8
    51c4:	0588           	or	r8,@r8
    51c6:	008d           	addb	rl5,@r8
    51c8:	0282           	subb	rh2,@r8
    51ca:	0282           	subb	rh2,@r8
    51cc:	0282           	subb	rh2,@r8
    51ce:	0285           	subb	rh5,@r8
    51d0:	0007 8891      	addb	rh7,#0x91
    51d4:	009b           	addb	rl3,@r9
    51d6:	0484           	orb	rh4,@r8
    51d8:	0484           	orb	rh4,@r8
    51da:	0484           	orb	rh4,@r8
    51dc:	0489           	orb	rl1,@r8
    51de:	0000 0002      	addb	rh0,#0x2
    51e2:	0609 0f15      	andb	rl1,#0x15
    51e6:	1f23           	.word 1f23
    51e8:	0102 0403      	add	r2,#0x403
    51ec:	0705 0608      	and	r5,#0x608
    51f0:	0000 0000      	addb	rh0,#0x0
    51f4:	fec7           	djnz	r14,0x5168
    51f6:	00f4           	addb	rh4,@r15
    51f8:	0100 00f8      	add	r0,#0xf8
    51fc:	0000 0078      	addb	rh0,#0x78
    5200:	0054           	addb	rh4,@r5
    5202:	5241 4e00      	subl	rr1,0x4e00(r4)
    5206:	3430 3237      	lda	r0,r3(#0x3237)
    520a:	0034           	addb	rh4,@r3
    520c:	3031 3000      	ldb	rh1,r3(#0x3000)
    5210:	3430 3237      	lda	r0,r3(#0x3237)
    5214:	00ff           	addb	rl7,@r15
    5216:	abf1           	dec	r15,#0x2
    5218:	2ffe           	ld	@r15,r14
    521a:	5f00 566c      	call	0x566c
    521e:	e85f           	jr	t,0x52de
    5220:	0b02 00ca      	cp	r2,#0xca
    5224:	e610           	jr	eq,0x5246
    5226:	e85b           	jr	t,0x52de
    5228:	670d c43c      	bit	0xc43c,#0xd
    522c:	e658           	jr	eq,0x52de
    522e:	6102 c43a      	ld	r2,0xc43a
    5232:	0702 00ff      	and	r2,#0xff
    5236:	0b02 001d      	cp	r2,#0x1d
    523a:	e60a           	jr	eq,0x5250
    523c:	0b02 00c9      	cp	r2,#0xc9
    5240:	eeef           	jr	ne,0x5220
    5242:	bd21           	ldk	r2,#0x1
    5244:	e865           	jr	t,0x5310
    5246:	4d05 c2c2 0003 	ld	0xc2c2,#0x3
    524c:	bd23           	ldk	r2,#0x3
    524e:	e860           	jr	t,0x5310
    5250:	4d05 c2c2 0001 	ld	0xc2c2,#0x1
    5256:	5f00 acda      	call	0xacda
    525a:	a12e           	ld	r14,r2
    525c:	8d24           	test	r2
    525e:	ee58           	jr	ne,0x5310
    5260:	4c08 c234      	clrb	0xc234
    5264:	4c08 c235      	clrb	0xc235
    5268:	e83a           	jr	t,0x52de
    526a:	4c04 c235      	testb	0xc235
    526e:	e627           	jr	eq,0x52be
    5270:	4c05 c244 0101 	ldb	0xc244,#0x1
    5276:	600f c23a      	ldb	rl7,0xc23a
    527a:	b170           	extsb	r7
    527c:	600e c237      	ldb	rl6,0xc237
    5280:	b160           	extsb	r6
    5282:	5f00 6044      	call	0x6044
    5286:	4d01 c43c 0001 	cp	0xc43c,#0x1
    528c:	ee09           	jr	ne,0x52a0
    528e:	8377           	sub	r7,r7
    5290:	6106 c43a      	ld	r6,0xc43a
    5294:	600d c237      	ldb	rl5,0xc237
    5298:	b150           	extsb	r5
    529a:	5f00 678a      	call	0x678a
    529e:	e80a           	jr	t,0x52b4
    52a0:	4d04 c43c      	test	0xc43c
    52a4:	ee07           	jr	ne,0x52b4
    52a6:	2107 c338      	ld	r7,#0xc338
    52aa:	600e c237      	ldb	rl6,0xc237
    52ae:	b160           	extsb	r6
    52b0:	5f00 67ea      	call	0x67ea
    52b4:	4c08 c235      	clrb	0xc235
    52b8:	4c08 c244      	clrb	0xc244
    52bc:	e810           	jr	t,0x52de
    52be:	5f00 5712      	call	0x5712
    52c2:	4c08 c234      	clrb	0xc234
    52c6:	4d01 c440 0004 	cp	0xc440,#0x4
    52cc:	ee08           	jr	ne,0x52de
    52ce:	600a c23a      	ldb	rl2,0xc23a
    52d2:	b120           	extsb	r2
    52d4:	4b02 c43e      	cp	r2,0xc43e
    52d8:	e602           	jr	eq,0x52de
    52da:	4d08 c440      	clr	0xc440
    52de:	bd78           	ldk	r7,#0x8
    52e0:	5f00 532c      	call	0x532c
    52e4:	8d24           	test	r2
    52e6:	eea0           	jr	ne,0x5228
    52e8:	2107 0010      	ld	r7,#0x10
    52ec:	5f00 532c      	call	0x532c
    52f0:	8d24           	test	r2
    52f2:	eebb           	jr	ne,0x526a
    52f4:	6102 c43a      	ld	r2,0xc43a
    52f8:	8122           	add	r2,r2
    52fa:	6122 4b26      	ld	r2,0x4b26(r2)
    52fe:	1f20           	call	@r2
    5300:	4d01 c43c 0004 	cp	0xc43c,#0x4
    5306:	e6ac           	jr	eq,0x5260
    5308:	bd74           	ldk	r7,#0x4
    530a:	5f00 532c      	call	0x532c
    530e:	e8a8           	jr	t,0x5260
    5310:	21fe           	ld	r14,@r15
    5312:	a9f1           	inc	r15,#0x2
    5314:	9e08           	ret	t
    5316:	4c05 c24f 0101 	ldb	0xc24f,#0x1
    531c:	bd74           	ldk	r7,#0x4
    531e:	5f00 532c      	call	0x532c
    5322:	8d24           	test	r2
    5324:	eefb           	jr	ne,0x531c
    5326:	4c08 c24f      	clrb	0xc24f
    532a:	9e08           	ret	t
    532c:	abf7           	dec	r15,#0x8
    532e:	5cf9 0c02 0002 	ldm	0x2(r15),r12,#0x3
    5334:	a17e           	ld	r14,r7
    5336:	6102 c43c      	ld	r2,0xc43c
    533a:	6f02 c2c4      	ld	0xc2c4,r2
    533e:	4d05 c43a 0001 	ld	0xc43a,#0x1
    5344:	5f00 5a1e      	call	0x5a1e
    5348:	a12d           	ld	r13,r2
    534a:	a72d           	bit	r2,#0xd
    534c:	e61b           	jr	eq,0x5384
    534e:	6f02 c43a      	ld	0xc43a,r2
    5352:	4d05 c43c 2100 	ld	0xc43c,#0x2100
    5358:	070e 0100      	and	r14,#0x100
    535c:	8de4           	test	r14
    535e:	ee0f           	jr	ne,0x537e
    5360:	5e08 5632      	jp	t,0x5632
    5364:	5f00 704a      	call	0x704a
    5368:	8d24           	test	r2
    536a:	5e06 5632      	jp	eq,0x5632
    536e:	4d05 c43c 2080 	ld	0xc43c,#0x2080
    5374:	070e 0080      	and	r14,#0x80
    5378:	8de4           	test	r14
    537a:	5e06 5632      	jp	eq,0x5632
    537e:	bd20           	ldk	r2,#0x0
    5380:	5e08 5634      	jp	t,0x5634
    5384:	0b0d 001b      	cp	r13,#0x1b
    5388:	e6ed           	jr	eq,0x5364
    538a:	0b0d 001d      	cp	r13,#0x1d
    538e:	ee09           	jr	ne,0x53a2
    5390:	4d01 c2c4 0004 	cp	0xc2c4,#0x4
    5396:	e623           	jr	eq,0x53de
    5398:	a1d7           	ld	r7,r13
    539a:	5f00 6002      	call	0x6002
    539e:	210d 003b      	ld	r13,#0x3b
    53a2:	600a c23a      	ldb	rl2,0xc23a
    53a6:	b120           	extsb	r2
    53a8:	8b2d           	cp	r13,r2
    53aa:	ee09           	jr	ne,0x53be
    53ac:	4d01 c2c4 0004 	cp	0xc2c4,#0x4
    53b2:	e621           	jr	eq,0x53f6
    53b4:	a1d7           	ld	r7,r13
    53b6:	5f00 6002      	call	0x6002
    53ba:	210d 003b      	ld	r13,#0x3b
    53be:	a1d7           	ld	r7,r13
    53c0:	5f00 6fd6      	call	0x6fd6
    53c4:	8d24           	test	r2
    53c6:	e620           	jr	eq,0x5408
    53c8:	6f0d c43a      	ld	0xc43a,r13
    53cc:	4d05 c43c 0004 	ld	0xc43c,#0x4
    53d2:	070e 0004      	and	r14,#0x4
    53d6:	8de4           	test	r14
    53d8:	eed2           	jr	ne,0x537e
    53da:	5e08 5632      	jp	t,0x5632
    53de:	4d05 c43a 001d 	ld	0xc43a,#0x1d
    53e4:	4d05 c43c 2200 	ld	0xc43c,#0x2200
    53ea:	070e 0200      	and	r14,#0x200
    53ee:	8de4           	test	r14
    53f0:	eec6           	jr	ne,0x537e
    53f2:	5e08 5632      	jp	t,0x5632
    53f6:	4d05 c43c 0008 	ld	0xc43c,#0x8
    53fc:	070e 0008      	and	r14,#0x8
    5400:	8de4           	test	r14
    5402:	eebd           	jr	ne,0x537e
    5404:	5e08 5632      	jp	t,0x5632
    5408:	0b0d 0021      	cp	r13,#0x21
    540c:	e19b           	jr	lt,0x5344
    540e:	0b0d 007f      	cp	r13,#0x7f
    5412:	ea98           	jr	gt,0x5344
    5414:	0b0d 0030      	cp	r13,#0x30
    5418:	e114           	jr	lt,0x5442
    541a:	0b0d 0039      	cp	r13,#0x39
    541e:	ea11           	jr	gt,0x5442
    5420:	a1d7           	ld	r7,r13
    5422:	5f00 70e8      	call	0x70e8
    5426:	6101 c43a      	ld	r1,0xc43a
    542a:	9920           	mult	rr0,r2
    542c:	6f01 c43a      	ld	0xc43a,r1
    5430:	4d05 c43c 0001 	ld	0xc43c,#0x1
    5436:	070e 0001      	and	r14,#0x1
    543a:	8de4           	test	r14
    543c:	eea0           	jr	ne,0x537e
    543e:	5e08 5632      	jp	t,0x5632
    5442:	a1d7           	ld	r7,r13
    5444:	5f00 7868      	call	0x7868
    5448:	8d24           	test	r2
    544a:	e64d           	jr	eq,0x54e6
    544c:	a7e4           	bit	r14,#0x4
    544e:	ee02           	jr	ne,0x5454
    5450:	a7e5           	bit	r14,#0x5
    5452:	e649           	jr	eq,0x54e6
    5454:	a1d7           	ld	r7,r13
    5456:	5f00 700a      	call	0x700a
    545a:	a7e4           	bit	r14,#0x4
    545c:	e629           	jr	eq,0x54b0
    545e:	bdc0           	ldk	r12,#0x0
    5460:	bdd0           	ldk	r13,#0x0
    5462:	e80e           	jr	t,0x5480
    5464:	0b0c 0003      	cp	r12,#0x3
    5468:	e90e           	jr	ge,0x5486
    546a:	a1d2           	ld	r2,r13
    546c:	b329 0005      	sla	r2,#0x5
    5470:	60cb c338      	ldb	rl3,0xc338(r12)
    5474:	b130           	extsb	r3
    5476:	8132           	add	r2,r3
    5478:	0302 0040      	sub	r2,#0x40
    547c:	a12d           	ld	r13,r2
    547e:	a9c0           	inc	r12,#0x1
    5480:	4cc4 c338      	testb	0xc338(r12)
    5484:	eeef           	jr	ne,0x5464
    5486:	a1d7           	ld	r7,r13
    5488:	2106 4c16      	ld	r6,#0x4c16
    548c:	2105 0078      	ld	r5,#0x78
    5490:	2104 c43a      	ld	r4,#0xc43a
    5494:	5f00 725c      	call	0x725c
    5498:	8d24           	test	r2
    549a:	e621           	jr	eq,0x54de
    549c:	4d05 c43c 0010 	ld	0xc43c,#0x10
    54a2:	070e 0010      	and	r14,#0x10
    54a6:	8de4           	test	r14
    54a8:	5e0e 537e      	jp	ne,0x537e
    54ac:	5e08 5632      	jp	t,0x5632
    54b0:	600f c338      	ldb	rl7,0xc338
    54b4:	b170           	extsb	r7
    54b6:	2106 4d06      	ld	r6,#0x4d06
    54ba:	2105 0014      	ld	r5,#0x14
    54be:	2104 c43a      	ld	r4,#0xc43a
    54c2:	5f00 725c      	call	0x725c
    54c6:	8d24           	test	r2
    54c8:	e60a           	jr	eq,0x54de
    54ca:	4d05 c43c 0020 	ld	0xc43c,#0x20
    54d0:	070e 0020      	and	r14,#0x20
    54d4:	8de4           	test	r14
    54d6:	5e06 5632      	jp	eq,0x5632
    54da:	5e08 537e      	jp	t,0x537e
    54de:	4d08 c43c      	clr	0xc43c
    54e2:	5e08 5632      	jp	t,0x5632
    54e6:	a7eb           	bit	r14,#0xb
    54e8:	e611           	jr	eq,0x550c
    54ea:	a1d2           	ld	r2,r13
    54ec:	0702 00ff      	and	r2,#0xff
    54f0:	6e0a c338      	ldb	0xc338,rl2
    54f4:	4c08 c339      	clrb	0xc339
    54f8:	4d05 c43c 0800 	ld	0xc43c,#0x800
    54fe:	070e 0800      	and	r14,#0x800
    5502:	8de4           	test	r14
    5504:	5e06 5632      	jp	eq,0x5632
    5508:	5e08 537e      	jp	t,0x537e
    550c:	a7e1           	bit	r14,#0x1
    550e:	e634           	jr	eq,0x5578
    5510:	0b0d 002c      	cp	r13,#0x2c
    5514:	5e06 5344      	jp	eq,0x5344
    5518:	a1d7           	ld	r7,r13
    551a:	5f00 7470      	call	0x7470
    551e:	8d24           	test	r2
    5520:	e62b           	jr	eq,0x5578
    5522:	4c08 c338      	clrb	0xc338
    5526:	e809           	jr	t,0x553a
    5528:	5f00 5a1e      	call	0x5a1e
    552c:	a12d           	ld	r13,r2
    552e:	2ff2           	ld	@r15,r2
    5530:	a127           	ld	r7,r2
    5532:	5f00 7470      	call	0x7470
    5536:	8d24           	test	r2
    5538:	e6f7           	jr	eq,0x5528
    553a:	2107 c338      	ld	r7,#0xc338
    553e:	5f00 78f6      	call	0x78f6
    5542:	0102 c338      	add	r2,#0xc338
    5546:	2ff2           	ld	@r15,r2
    5548:	a127           	ld	r7,r2
    554a:	a1d6           	ld	r6,r13
    554c:	2105 c438      	ld	r5,#0xc438
    5550:	5f00 71be      	call	0x71be
    5554:	4d05 c43c 0002 	ld	0xc43c,#0x2
    555a:	5f00 5a1e      	call	0x5a1e
    555e:	a12d           	ld	r13,r2
    5560:	0b02 002d      	cp	r2,#0x2d
    5564:	e6e1           	jr	eq,0x5528
    5566:	a127           	ld	r7,r2
    5568:	5f00 6002      	call	0x6002
    556c:	070e 0002      	and	r14,#0x2
    5570:	8de4           	test	r14
    5572:	e65f           	jr	eq,0x5632
    5574:	5e08 537e      	jp	t,0x537e
    5578:	a7e6           	bit	r14,#0x6
    557a:	e610           	jr	eq,0x559c
    557c:	a1d2           	ld	r2,r13
    557e:	0702 00ff      	and	r2,#0xff
    5582:	6e0a c338      	ldb	0xc338,rl2
    5586:	4c08 c339      	clrb	0xc339
    558a:	4d05 c43c 0040 	ld	0xc43c,#0x40
    5590:	070e 0040      	and	r14,#0x40
    5594:	8de4           	test	r14
    5596:	e64d           	jr	eq,0x5632
    5598:	5e08 537e      	jp	t,0x537e
    559c:	a7ea           	bit	r14,#0xa
    559e:	e614           	jr	eq,0x55c8
    55a0:	0b0d 002c      	cp	r13,#0x2c
    55a4:	5e06 5344      	jp	eq,0x5344
    55a8:	a1d2           	ld	r2,r13
    55aa:	0702 00ff      	and	r2,#0xff
    55ae:	6e0a c338      	ldb	0xc338,rl2
    55b2:	4c08 c339      	clrb	0xc339
    55b6:	4d05 c43c 0400 	ld	0xc43c,#0x400
    55bc:	070e 0400      	and	r14,#0x400
    55c0:	8de4           	test	r14
    55c2:	e637           	jr	eq,0x5632
    55c4:	5e08 537e      	jp	t,0x537e
    55c8:	0b0d 0026      	cp	r13,#0x26
    55cc:	ee1a           	jr	ne,0x5602
    55ce:	5f00 5a1e      	call	0x5a1e
    55d2:	a12d           	ld	r13,r2
    55d4:	0b02 0028      	cp	r2,#0x28
    55d8:	ee08           	jr	ne,0x55ea
    55da:	5f00 5a1e      	call	0x5a1e
    55de:	a12d           	ld	r13,r2
    55e0:	0b02 0029      	cp	r2,#0x29
    55e4:	eefa           	jr	ne,0x55da
    55e6:	5e08 5344      	jp	t,0x5344
    55ea:	5f00 5a1e      	call	0x5a1e
    55ee:	a12d           	ld	r13,r2
    55f0:	0b02 000a      	cp	r2,#0xa
    55f4:	5e06 5344      	jp	eq,0x5344
    55f8:	a127           	ld	r7,r2
    55fa:	5f00 6002      	call	0x6002
    55fe:	5e08 5344      	jp	t,0x5344
    5602:	a1d7           	ld	r7,r13
    5604:	5f00 7892      	call	0x7892
    5608:	8d24           	test	r2
    560a:	5e0e 5344      	jp	ne,0x5344
    560e:	0b0d 002d      	cp	r13,#0x2d
    5612:	ee05           	jr	ne,0x561e
    5614:	4d05 c43a ffff 	ld	0xc43a,#0xffff
    561a:	5e08 5344      	jp	t,0x5344
    561e:	0b0d 002b      	cp	r13,#0x2b
    5622:	5e06 5344      	jp	eq,0x5344
    5626:	4c04 c24f      	testb	0xc24f
    562a:	ee03           	jr	ne,0x5632
    562c:	a1d7           	ld	r7,r13
    562e:	5f00 6002      	call	0x6002
    5632:	bd21           	ldk	r2,#0x1
    5634:	5cf1 0c02 0002 	ldm	r12,0x2(r15),#0x3
    563a:	a9f7           	inc	r15,#0x8
    563c:	9e08           	ret	t
    563e:	abf3           	dec	r15,#0x4
    5640:	1cf9 0d01      	ldm	@r15,r13,#0x2
    5644:	610e c2c0      	ld	r14,0xc2c0
    5648:	610d c2be      	ld	r13,0xc2be
    564c:	2107 0022      	ld	r7,#0x22
    5650:	5f00 758c      	call	0x758c
    5654:	6f0e c2c0      	ld	0xc2c0,r14
    5658:	6f0d c2be      	ld	0xc2be,r13
    565c:	a1e7           	ld	r7,r14
    565e:	a1d6           	ld	r6,r13
    5660:	5f00 6f72      	call	0x6f72
    5664:	1cf1 0d01      	ldm	r13,@r15,#0x2
    5668:	a9f3           	inc	r15,#0x4
    566a:	9e08           	ret	t
    566c:	5f00 2ef4      	call	0x2ef4
    5670:	4d01 c2dc 0002 	cp	0xc2dc,#0x2
    5676:	ee03           	jr	ne,0x567e
    5678:	5f00 782e      	call	0x782e
    567c:	e809           	jr	t,0x5690
    567e:	4d01 c2dc 0003 	cp	0xc2dc,#0x3
    5684:	ee03           	jr	ne,0x568c
    5686:	5f00 780e      	call	0x780e
    568a:	e802           	jr	t,0x5690
    568c:	5f00 77ee      	call	0x77ee
    5690:	6102 c2f6      	ld	r2,0xc2f6
    5694:	6f02 c2ee      	ld	0xc2ee,r2
    5698:	6102 c2f2      	ld	r2,0xc2f2
    569c:	6f02 c2ea      	ld	0xc2ea,r2
    56a0:	6102 c2f8      	ld	r2,0xc2f8
    56a4:	6f02 c2f0      	ld	0xc2f0,r2
    56a8:	6102 c2f4      	ld	r2,0xc2f4
    56ac:	6f02 c2ec      	ld	0xc2ec,r2
    56b0:	4c05 c28e ffff 	ldb	0xc28e,#0xff
    56b6:	4c05 c28d ffff 	ldb	0xc28d,#0xff
    56bc:	4c05 c28c ffff 	ldb	0xc28c,#0xff
    56c2:	4c05 c28b ffff 	ldb	0xc28b,#0xff
    56c8:	4c08 c242      	clrb	0xc242
    56cc:	4c08 c234      	clrb	0xc234
    56d0:	4c08 c235      	clrb	0xc235
    56d4:	4d08 c260      	clr	0xc260
    56d8:	4d05 c2a2 d3c4 	ld	0xc2a2,#0xd3c4
    56de:	4d05 c294 f200 	ld	0xc294,#0xf200
    56e4:	4d08 c2c4      	clr	0xc2c4
    56e8:	4c08 c289      	clrb	0xc289
    56ec:	4c08 c24a      	clrb	0xc24a
    56f0:	4c08 c28a      	clrb	0xc28a
    56f4:	600f c250      	ldb	rl7,0xc250
    56f8:	b170           	extsb	r7
    56fa:	5f00 758c      	call	0x758c
    56fe:	8377           	sub	r7,r7
    5700:	5f00 1508      	call	0x1508
    5704:	4d05 c25e 892c 	ld	0xc25e,#0x892c
    570a:	4c05 c252 0909 	ldb	0xc252,#0x9
    5710:	9e08           	ret	t
    5712:	2107 571c      	ld	r7,#0x571c
    5716:	5f00 6ec8      	call	0x6ec8
    571a:	9e08           	ret	t
    571c:	5c6e           	.word 5c6e
    571e:	5748 4154      	pop	0x4154(r8),@r4
    5722:	3f5c           	out	@r5,r12
    5724:	6e00 5f00      	ldb	0x5f00,rh0
    5728:	577e 5f00      	pop	0x5f00(r14),@r7
    572c:	590a e806      	mult	rr10,0xe806
    5730:	0b02 0002      	cp	r2,#0x2
    5734:	e619           	jr	eq,0x5768
    5736:	0b02 0003      	cp	r2,#0x3
    573a:	e60f           	jr	eq,0x575a
    573c:	600a c232      	ldb	rl2,0xc232
    5740:	b120           	extsb	r2
    5742:	0b02 0001      	cp	r2,#0x1
    5746:	eef4           	jr	ne,0x5730
    5748:	8377           	sub	r7,r7
    574a:	8366           	sub	r6,r6
    574c:	5f00 7202      	call	0x7202
    5750:	5f00 4ade      	call	0x4ade
    5754:	6e0a c232      	ldb	0xc232,rl2
    5758:	e8f1           	jr	t,0x573c
    575a:	8377           	sub	r7,r7
    575c:	bd63           	ldk	r6,#0x3
    575e:	5f00 7202      	call	0x7202
    5762:	5f00 936a      	call	0x936a
    5766:	e8f6           	jr	t,0x5754
    5768:	8377           	sub	r7,r7
    576a:	bd62           	ldk	r6,#0x2
    576c:	5f00 7202      	call	0x7202
    5770:	5f00 5216      	call	0x5216
    5774:	6e0a c232      	ldb	0xc232,rl2
    5778:	5f00 563e      	call	0x563e
    577c:	e8df           	jr	t,0x573c
    577e:	abf5           	dec	r15,#0x6
    5780:	1cf9 0c02      	ldm	@r15,r12,#0x3
    5784:	4c08 c23c      	clrb	0xc23c
    5788:	4c08 c23e      	clrb	0xc23e
    578c:	4c08 c23b      	clrb	0xc23b
    5790:	4c08 c23f      	clrb	0xc23f
    5794:	4c05 c248 0101 	ldb	0xc248,#0x1
    579a:	4d08 c260      	clr	0xc260
    579e:	4c08 c244      	clrb	0xc244
    57a2:	4c05 c237 0202 	ldb	0xc237,#0x2
    57a8:	4c05 c236 0202 	ldb	0xc236,#0x2
    57ae:	4c08 c245      	clrb	0xc245
    57b2:	4c05 c446 0101 	ldb	0xc446,#0x1
    57b8:	4c05 c222 3f3f 	ldb	0xc222,#0x3f
    57be:	4c05 c223 0303 	ldb	0xc223,#0x3
    57c4:	4c05 c224 0c0c 	ldb	0xc224,#0xc
    57ca:	4c05 c225 3030 	ldb	0xc225,#0x30
    57d0:	4c05 c226 0f0f 	ldb	0xc226,#0xf
    57d6:	4c05 c227 3c3c 	ldb	0xc227,#0x3c
    57dc:	4c05 c228 3333 	ldb	0xc228,#0x33
    57e2:	4c08 c229      	clrb	0xc229
    57e6:	210d d394      	ld	r13,#0xd394
    57ea:	210c 4d92      	ld	r12,#0x4d92
    57ee:	210e 0019      	ld	r14,#0x19
    57f2:	e808           	jr	t,0x5804
    57f4:	20ca           	ldb	rl2,@r12
    57f6:	b120           	extsb	r2
    57f8:	a123           	ld	r3,r2
    57fa:	1902 000a      	mult	rr2,#0xa
    57fe:	2fd3           	ld	@r13,r3
    5800:	a9c0           	inc	r12,#0x1
    5802:	a9d1           	inc	r13,#0x2
    5804:	fe89           	djnz	r14,0x57f4
    5806:	4d05 c310 ffff 	ld	0xc310,#0xffff
    580c:	5f00 4132      	call	0x4132
    5810:	4c05 c250 2222 	ldb	0xc250,#0x22
    5816:	cf22           	ldb	rl7,#0x22
    5818:	b170           	extsb	r7
    581a:	5f00 758c      	call	0x758c
    581e:	4c08 c251      	clrb	0xc251
    5822:	4c05 c238 0101 	ldb	0xc238,#0x1
    5828:	cf01           	ldb	rl7,#0x1
    582a:	b170           	extsb	r7
    582c:	5f00 7212      	call	0x7212
    5830:	2107 0800      	ld	r7,#0x800
    5834:	5f00 74d8      	call	0x74d8
    5838:	4d08 c304      	clr	0xc304
    583c:	8377           	sub	r7,r7
    583e:	4d05 c302 0007 	ld	0xc302,#0x7
    5844:	bd67           	ldk	r6,#0x7
    5846:	5f00 74a6      	call	0x74a6
    584a:	8377           	sub	r7,r7
    584c:	2106 01d6      	ld	r6,#0x1d6
    5850:	5f00 4260      	call	0x4260
    5854:	4d08 c2f0      	clr	0xc2f0
    5858:	4d08 c2f8      	clr	0xc2f8
    585c:	4d08 c2ee      	clr	0xc2ee
    5860:	4d08 c2f6      	clr	0xc2f6
    5864:	4d05 c2ea 031f 	ld	0xc2ea,#0x31f
    586a:	4d05 c2f2 031f 	ld	0xc2f2,#0x31f
    5870:	4d05 c2ec 01df 	ld	0xc2ec,#0x1df
    5876:	4d05 c2f4 01df 	ld	0xc2f4,#0x1df
    587c:	4d05 c2dc 0002 	ld	0xc2dc,#0x2
    5882:	4d05 c308 0800 	ld	0xc308,#0x800
    5888:	4d05 c306 0800 	ld	0xc306,#0x800
    588e:	4d05 c30c 0800 	ld	0xc30c,#0x800
    5894:	4d05 c30a 0800 	ld	0xc30a,#0x800
    589a:	4d05 c30e 0807 	ld	0xc30e,#0x807
    58a0:	4c08 c22f      	clrb	0xc22f
    58a4:	4c08 c22d      	clrb	0xc22d
    58a8:	4d08 c440      	clr	0xc440
    58ac:	4d05 c2cc 0190 	ld	0xc2cc,#0x190
    58b2:	4d05 c2ce 00f0 	ld	0xc2ce,#0xf0
    58b8:	4c08 c22a      	clrb	0xc22a
    58bc:	4d08 c2ca      	clr	0xc2ca
    58c0:	4d05 c2c2 0003 	ld	0xc2c2,#0x3
    58c6:	4d05 c314 0064 	ld	0xc314,#0x64
    58cc:	4d05 c312 0064 	ld	0xc312,#0x64
    58d2:	4d05 c316 000d 	ld	0xc316,#0xd
    58d8:	4d08 c318      	clr	0xc318
    58dc:	4d08 c31c      	clr	0xc31c
    58e0:	4c08 c231      	clrb	0xc231
    58e4:	4d08 c31a      	clr	0xc31a
    58e8:	4c05 c298 0f0f 	ldb	0xc298,#0xf
    58ee:	4d05 c326 031f 	ld	0xc326,#0x31f
    58f4:	4d05 c328 01df 	ld	0xc328,#0x1df
    58fa:	4c08 c233      	clrb	0xc233
    58fe:	4c08 c240      	clrb	0xc240
    5902:	1cf1 0c02      	ldm	r12,@r15,#0x3
    5906:	a9f5           	inc	r15,#0x6
    5908:	9e08           	ret	t
    590a:	abf1           	dec	r15,#0x2
    590c:	2ffe           	ld	@r15,r14
    590e:	600f c202      	ldb	rl7,0xc202
    5912:	b170           	extsb	r7
    5914:	0707 001f      	and	r7,#0x1f
    5918:	5f00 14da      	call	0x14da
    591c:	5f00 7736      	call	0x7736
    5920:	4d05 c2be 0001 	ld	0xc2be,#0x1
    5926:	4d05 c2c0 0001 	ld	0xc2c0,#0x1
    592c:	5f00 0abe      	call	0xabe
    5930:	bd7a           	ldk	r7,#0xa
    5932:	5f00 6c4c      	call	0x6c4c
    5936:	5f00 1e2c      	call	0x1e2c
    593a:	8d24           	test	r2
    593c:	e604           	jr	eq,0x5946
    593e:	2107 59f6      	ld	r7,#0x59f6
    5942:	5f00 6ec8      	call	0x6ec8
    5946:	5f00 1412      	call	0x1412
    594a:	8d24           	test	r2
    594c:	e604           	jr	eq,0x5956
    594e:	2107 5a06      	ld	r7,#0x5a06
    5952:	5f00 6ec8      	call	0x6ec8
    5956:	2107 4d2e      	ld	r7,#0x4d2e
    595a:	5f00 6ec8      	call	0x6ec8
    595e:	2107 4d3c      	ld	r7,#0x4d3c
    5962:	5f00 6ec8      	call	0x6ec8
    5966:	2107 4d42      	ld	r7,#0x4d42
    596a:	5f00 6ec8      	call	0x6ec8
    596e:	5f00 0ac4      	call	0xac4
    5972:	4c05 c23a 2121 	ldb	0xc23a,#0x21
    5978:	5f00 23e2      	call	0x23e2
    597c:	600a c206      	ldb	rl2,0xc206
    5980:	b120           	extsb	r2
    5982:	0702 0003      	and	r2,#0x3
    5986:	6e0a c232      	ldb	0xc232,rl2
    598a:	b120           	extsb	r2
    598c:	0b02 0001      	cp	r2,#0x1
    5990:	e104           	jr	lt,0x599a
    5992:	4c01 c232 0303 	cpb	0xc232,#0x3
    5998:	e203           	jr	le,0x59a0
    599a:	4c05 c232 0101 	ldb	0xc232,#0x1
    59a0:	2107 f410      	ld	r7,#0xf410
    59a4:	8366           	sub	r6,r6
    59a6:	2105 00c0      	ld	r5,#0xc0
    59aa:	5f00 1bd8      	call	0x1bd8
    59ae:	4d05 c460 f210 	ld	0xc460,#0xf210
    59b4:	6102 c460      	ld	r2,0xc460
    59b8:	0c25 c0c0      	ldb	@r2,#0xc0
    59bc:	210e c212      	ld	r14,#0xc212
    59c0:	21e2           	ld	r2,@r14
    59c2:	6f02 c32a      	ld	0xc32a,r2
    59c6:	a9e1           	inc	r14,#0x2
    59c8:	21e2           	ld	r2,@r14
    59ca:	6f02 c32c      	ld	0xc32c,r2
    59ce:	4d05 c2e8 013b 	ld	0xc2e8,#0x13b
    59d4:	4c08 c241      	clrb	0xc241
    59d8:	4c08 c292      	clrb	0xc292
    59dc:	5f00 9720      	call	0x9720
    59e0:	4d05 c2e0 0001 	ld	0xc2e0,#0x1
    59e6:	4d05 c2de 0001 	ld	0xc2de,#0x1
    59ec:	5f00 9744      	call	0x9744
    59f0:	21fe           	ld	r14,@r15
    59f2:	a9f1           	inc	r15,#0x2
    59f4:	9e08           	ret	t
    59f6:	524f 4d20      	subl	rr15,0x4d20(r4)
    59fa:	4352 4320      	sub	r2,0x4320(r5)
    59fe:	4552 524f      	or	r2,0x524f(r5)
    5a02:	525c 6e00      	subl	rr12,0x6e00(r5)
    5a06:	4e4f           	.word 4e4f
    5a08:	562d 5241      	addl	rr13,0x5241(r2)
    5a0c:	4d20 4552      	com	0x4552(r2)
    5a10:	524f 525c      	subl	rr15,0x525c(r4)
    5a14:	6e00 5bbc      	ldb	0x5bbc,rh0
    5a18:	5bc6 5bc6      	div	rr6,0x5bc6(r12)
    5a1c:	5bd4 abf3      	div	rr4,0xabf3(r13)
    5a20:	6ffe 0002      	ld	0x2(r15),r14
    5a24:	4c01 c246 0202 	cpb	0xc246,#0x2
    5a2a:	5e0e 5b66      	jp	ne,0x5b66
    5a2e:	4c01 c249 0303 	cpb	0xc249,#0x3
    5a34:	5e0e 5b5a      	jp	ne,0x5b5a
    5a38:	5e08 5b66      	jp	t,0x5b66
    5a3c:	210e ffff      	ld	r14,#0xffff
    5a40:	4d01 c440 0004 	cp	0xc440,#0x4
    5a46:	ee15           	jr	ne,0x5a72
    5a48:	4d01 c43e 00a9 	cp	0xc43e,#0xa9
    5a4e:	e111           	jr	lt,0x5a72
    5a50:	4d01 c43e 00b8 	cp	0xc43e,#0xb8
    5a56:	ea0d           	jr	gt,0x5a72
    5a58:	4d08 c440      	clr	0xc440
    5a5c:	6107 c220      	ld	r7,0xc220
    5a60:	5f00 7400      	call	0x7400
    5a64:	6102 c43e      	ld	r2,0xc43e
    5a68:	8122           	add	r2,r2
    5a6a:	6123 e75e      	ld	r3,0xe75e(r2)
    5a6e:	6f03 c220      	ld	0xc220,r3
    5a72:	4c05 c247 0404 	ldb	0xc247,#0x4
    5a78:	4d01 c440 0004 	cp	0xc440,#0x4
    5a7e:	ee05           	jr	ne,0x5a8a
    5a80:	4d08 c440      	clr	0xc440
    5a84:	610e c43e      	ld	r14,0xc43e
    5a88:	e828           	jr	t,0x5ada
    5a8a:	6102 c220      	ld	r2,0xc220
    5a8e:	0c24           	testb	@r2
    5a90:	ee1d           	jr	ne,0x5acc
    5a92:	4c04 c249      	testb	0xc249
    5a96:	e621           	jr	eq,0x5ada
    5a98:	5f00 73e8      	call	0x73e8
    5a9c:	6f02 c220      	ld	0xc220,r2
    5aa0:	4d01 c2a2 d3c4 	cp	0xc2a2,#0xd3c4
    5aa6:	ee04           	jr	ne,0x5ab0
    5aa8:	4d08 c260      	clr	0xc260
    5aac:	4c08 c249      	clrb	0xc249
    5ab0:	6b00 c294      	dec	0xc294,#0x1
    5ab4:	6102 c294      	ld	r2,0xc294
    5ab8:	0c24           	testb	@r2
    5aba:	e604           	jr	eq,0x5ac4
    5abc:	202a           	ldb	rl2,@r2
    5abe:	b120           	extsb	r2
    5ac0:	a12e           	ld	r14,r2
    5ac2:	e80b           	jr	t,0x5ada
    5ac4:	6102 c220      	ld	r2,0xc220
    5ac8:	0c24           	testb	@r2
    5aca:	e607           	jr	eq,0x5ada
    5acc:	6102 c220      	ld	r2,0xc220
    5ad0:	202a           	ldb	rl2,@r2
    5ad2:	b120           	extsb	r2
    5ad4:	a12e           	ld	r14,r2
    5ad6:	6900 c220      	inc	0xc220,#0x1
    5ada:	0b0e ffff      	cp	r14,#0xffff
    5ade:	e641           	jr	eq,0x5b62
    5ae0:	0b0e 0007      	cp	r14,#0x7
    5ae4:	e604           	jr	eq,0x5aee
    5ae6:	4c01 c234 0202 	cpb	0xc234,#0x2
    5aec:	e608           	jr	eq,0x5afe
    5aee:	600a c23a      	ldb	rl2,0xc23a
    5af2:	b120           	extsb	r2
    5af4:	8b2e           	cp	r14,r2
    5af6:	e603           	jr	eq,0x5afe
    5af8:	0b0e 001b      	cp	r14,#0x1b
    5afc:	ee09           	jr	ne,0x5b10
    5afe:	4c05 c234 0202 	ldb	0xc234,#0x2
    5b04:	0b0e 007f      	cp	r14,#0x7f
    5b08:	e628           	jr	eq,0x5b5a
    5b0a:	a1e2           	ld	r2,r14
    5b0c:	5e08 5e62      	jp	t,0x5e62
    5b10:	4c01 c236 0101 	cpb	0xc236,#0x1
    5b16:	ee1e           	jr	ne,0x5b54
    5b18:	a1e7           	ld	r7,r14
    5b1a:	bd61           	ldk	r6,#0x1
    5b1c:	5f00 7356      	call	0x7356
    5b20:	8d24           	test	r2
    5b22:	e61b           	jr	eq,0x5b5a
    5b24:	4c05 c244 0101 	ldb	0xc244,#0x1
    5b2a:	a1e7           	ld	r7,r14
    5b2c:	600e c236      	ldb	rl6,0xc236
    5b30:	b160           	extsb	r6
    5b32:	5f00 6044      	call	0x6044
    5b36:	4c01 c236 0101 	cpb	0xc236,#0x1
    5b3c:	ee08           	jr	ne,0x5b4e
    5b3e:	0b0e 000d      	cp	r14,#0xd
    5b42:	ee05           	jr	ne,0x5b4e
    5b44:	4c04 c22a      	testb	0xc22a
    5b48:	e602           	jr	eq,0x5b4e
    5b4a:	5f00 68ba      	call	0x68ba
    5b4e:	4c08 c244      	clrb	0xc244
    5b52:	e803           	jr	t,0x5b5a
    5b54:	a1e7           	ld	r7,r14
    5b56:	5f00 6c20      	call	0x6c20
    5b5a:	4c04 c246      	testb	0xc246
    5b5e:	5e0e 5a3c      	jp	ne,0x5a3c
    5b62:	4c08 c246      	clrb	0xc246
    5b66:	5f00 5f18      	call	0x5f18
    5b6a:	a12e           	ld	r14,r2
    5b6c:	0b02 ffff      	cp	r2,#0xffff
    5b70:	5e06 5d70      	jp	eq,0x5d70
    5b74:	4c05 c247 0404 	ldb	0xc247,#0x4
    5b7a:	600a c205      	ldb	rl2,0xc205
    5b7e:	b120           	extsb	r2
    5b80:	0702 001f      	and	r2,#0x1f
    5b84:	8b2e           	cp	r14,r2
    5b86:	ee0e           	jr	ne,0x5ba4
    5b88:	600a c205      	ldb	rl2,0xc205
    5b8c:	b120           	extsb	r2
    5b8e:	a725           	bit	r2,#0x5
    5b90:	ee03           	jr	ne,0x5b98
    5b92:	4d04 c2e8      	test	0xc2e8
    5b96:	e606           	jr	eq,0x5ba4
    5b98:	5f00 39c6      	call	0x39c6
    5b9c:	a12e           	ld	r14,r2
    5b9e:	8d24           	test	r2
    5ba0:	e6e2           	jr	eq,0x5b66
    5ba2:	e8b3           	jr	t,0x5b0a
    5ba4:	a7e7           	bit	r14,#0x7
    5ba6:	e621           	jr	eq,0x5bea
    5ba8:	a1e2           	ld	r2,r14
    5baa:	0302 00c8      	sub	r2,#0xc8
    5bae:	0b02 0003      	cp	r2,#0x3
    5bb2:	eb13           	jr	ugt,0x5bda
    5bb4:	b320           	rl	r2,#0x1
    5bb6:	6122 5a16      	ld	r2,0x5a16(r2)
    5bba:	1e28           	jp	t,@r2
    5bbc:	5f00 3f34      	call	0x3f34
    5bc0:	5f00 4132      	call	0x4132
    5bc4:	e8d0           	jr	t,0x5b66
    5bc6:	4c08 c234      	clrb	0xc234
    5bca:	a1e2           	ld	r2,r14
    5bcc:	0502 2000      	or	r2,#0x2000
    5bd0:	5e08 5e62      	jp	t,0x5e62
    5bd4:	5f00 4252      	call	0x4252
    5bd8:	e8c6           	jr	t,0x5b66
    5bda:	4c01 c22d 0101 	cpb	0xc22d,#0x1
    5be0:	ee04           	jr	ne,0x5bea
    5be2:	a1e7           	ld	r7,r14
    5be4:	5f00 60b4      	call	0x60b4
    5be8:	e8be           	jr	t,0x5b66
    5bea:	4c01 c232 0202 	cpb	0xc232,#0x2
    5bf0:	5e0e 5d52      	jp	ne,0x5d52
    5bf4:	4c01 c234 0101 	cpb	0xc234,#0x1
    5bfa:	e606           	jr	eq,0x5c08
    5bfc:	600a c23a      	ldb	rl2,0xc23a
    5c00:	b120           	extsb	r2
    5c02:	8b2e           	cp	r14,r2
    5c04:	5e0e 5d1a      	jp	ne,0x5d1a
    5c08:	600a c23a      	ldb	rl2,0xc23a
    5c0c:	b120           	extsb	r2
    5c0e:	8b2e           	cp	r14,r2
    5c10:	ee14           	jr	ne,0x5c3a
    5c12:	4c04 c234      	testb	0xc234
    5c16:	ee11           	jr	ne,0x5c3a
    5c18:	4d01 c2be 0001 	cp	0xc2be,#0x1
    5c1e:	e607           	jr	eq,0x5c2e
    5c20:	4d04 c260      	test	0xc260
    5c24:	ee04           	jr	ne,0x5c2e
    5c26:	2107 603e      	ld	r7,#0x603e
    5c2a:	5f00 6ec8      	call	0x6ec8
    5c2e:	4d05 c220 d3e4 	ld	0xc220,#0xd3e4
    5c34:	4c05 c234 0101 	ldb	0xc234,#0x1
    5c3a:	4c04 c249      	testb	0xc249
    5c3e:	ee16           	jr	ne,0x5c6c
    5c40:	0b0e 00e8      	cp	r14,#0xe8
    5c44:	e613           	jr	eq,0x5c6c
    5c46:	600a c23a      	ldb	rl2,0xc23a
    5c4a:	b120           	extsb	r2
    5c4c:	8b2e           	cp	r14,r2
    5c4e:	ee08           	jr	ne,0x5c60
    5c50:	a1e7           	ld	r7,r14
    5c52:	5f00 78d8      	call	0x78d8
    5c56:	8d24           	test	r2
    5c58:	ee03           	jr	ne,0x5c60
    5c5a:	2102 005c      	ld	r2,#0x5c
    5c5e:	e801           	jr	t,0x5c62
    5c60:	a1e2           	ld	r2,r14
    5c62:	2ff2           	ld	@r15,r2
    5c64:	a127           	ld	r7,r2
    5c66:	bd62           	ldk	r6,#0x2
    5c68:	5f00 6044      	call	0x6044
    5c6c:	4d01 c220 d4e2 	cp	0xc220,#0xd4e2
    5c72:	e603           	jr	eq,0x5c7a
    5c74:	0b0e 000d      	cp	r14,#0xd
    5c78:	ee32           	jr	ne,0x5cde
    5c7a:	a1e2           	ld	r2,r14
    5c7c:	6103 c220      	ld	r3,0xc220
    5c80:	2e3a           	ldb	@r3,rl2
    5c82:	6900 c220      	inc	0xc220,#0x1
    5c86:	0b0e 000d      	cp	r14,#0xd
    5c8a:	ee15           	jr	ne,0x5cb6
    5c8c:	4c04 c249      	testb	0xc249
    5c90:	ee12           	jr	ne,0x5cb6
    5c92:	bd7a           	ldk	r7,#0xa
    5c94:	5f00 6c4c      	call	0x6c4c
    5c98:	bd71           	ldk	r7,#0x1
    5c9a:	5f00 14c8      	call	0x14c8
    5c9e:	5f00 5f18      	call	0x5f18
    5ca2:	a12e           	ld	r14,r2
    5ca4:	0b02 ffff      	cp	r2,#0xffff
    5ca8:	e606           	jr	eq,0x5cb6
    5caa:	0b02 000a      	cp	r2,#0xa
    5cae:	e603           	jr	eq,0x5cb6
    5cb0:	a127           	ld	r7,r2
    5cb2:	5f00 6002      	call	0x6002
    5cb6:	6102 c220      	ld	r2,0xc220
    5cba:	0c28           	clrb	@r2
    5cbc:	4c05 c234 0202 	ldb	0xc234,#0x2
    5cc2:	4c05 c246 0202 	ldb	0xc246,#0x2
    5cc8:	4d05 c220 d3e4 	ld	0xc220,#0xd3e4
    5cce:	6102 c220      	ld	r2,0xc220
    5cd2:	202a           	ldb	rl2,@r2
    5cd4:	b120           	extsb	r2
    5cd6:	6900 c220      	inc	0xc220,#0x1
    5cda:	5e08 5e62      	jp	t,0x5e62
    5cde:	0b0e 0008      	cp	r14,#0x8
    5ce2:	ee0e           	jr	ne,0x5d00
    5ce4:	6b00 c220      	dec	0xc220,#0x1
    5ce8:	4d01 c220 d3e4 	cp	0xc220,#0xd3e4
    5cee:	ee40           	jr	ne,0x5d70
    5cf0:	e804           	jr	t,0x5cfa
    5cf2:	2107 6041      	ld	r7,#0x6041
    5cf6:	5f00 6ec8      	call	0x6ec8
    5cfa:	4c08 c234      	clrb	0xc234
    5cfe:	e838           	jr	t,0x5d70
    5d00:	0b0e 0018      	cp	r14,#0x18
    5d04:	e6f6           	jr	eq,0x5cf2
    5d06:	0b0e 00e8      	cp	r14,#0xe8
    5d0a:	e632           	jr	eq,0x5d70
    5d0c:	a1e2           	ld	r2,r14
    5d0e:	6103 c220      	ld	r3,0xc220
    5d12:	2e3a           	ldb	@r3,rl2
    5d14:	6900 c220      	inc	0xc220,#0x1
    5d18:	e82b           	jr	t,0x5d70
    5d1a:	4c04 c22d      	testb	0xc22d
    5d1e:	e604           	jr	eq,0x5d28
    5d20:	a1e7           	ld	r7,r14
    5d22:	5f00 617e      	call	0x617e
    5d26:	e824           	jr	t,0x5d70
    5d28:	4c01 c236 0101 	cpb	0xc236,#0x1
    5d2e:	ee1d           	jr	ne,0x5d6a
    5d30:	4c05 c244 0101 	ldb	0xc244,#0x1
    5d36:	a1e7           	ld	r7,r14
    5d38:	5f00 6cf6      	call	0x6cf6
    5d3c:	0b0e 000d      	cp	r14,#0xd
    5d40:	ee05           	jr	ne,0x5d4c
    5d42:	4c04 c22a      	testb	0xc22a
    5d46:	e602           	jr	eq,0x5d4c
    5d48:	5f00 68ba      	call	0x68ba
    5d4c:	4c08 c244      	clrb	0xc244
    5d50:	e80f           	jr	t,0x5d70
    5d52:	4c04 c22d      	testb	0xc22d
    5d56:	e609           	jr	eq,0x5d6a
    5d58:	a1e7           	ld	r7,r14
    5d5a:	5f00 617e      	call	0x617e
    5d5e:	4c01 c232 0404 	cpb	0xc232,#0x4
    5d64:	e605           	jr	eq,0x5d70
    5d66:	8322           	sub	r2,r2
    5d68:	e87c           	jr	t,0x5e62
    5d6a:	a1e7           	ld	r7,r14
    5d6c:	5f00 6c20      	call	0x6c20
    5d70:	5f00 5e6a      	call	0x5e6a
    5d74:	a12e           	ld	r14,r2
    5d76:	0b02 ffff      	cp	r2,#0xffff
    5d7a:	5e06 5b66      	jp	eq,0x5b66
    5d7e:	4c05 c247 0303 	ldb	0xc247,#0x3
    5d84:	4c04 c245      	testb	0xc245
    5d88:	e605           	jr	eq,0x5d94
    5d8a:	0b02 0020      	cp	r2,#0x20
    5d8e:	e902           	jr	ge,0x5d94
    5d90:	4c08 c245      	clrb	0xc245
    5d94:	4c04 c245      	testb	0xc245
    5d98:	5e0e 5b66      	jp	ne,0x5b66
    5d9c:	4c01 c232 0404 	cpb	0xc232,#0x4
    5da2:	5e06 5b0a      	jp	eq,0x5b0a
    5da6:	4c01 c232 0303 	cpb	0xc232,#0x3
    5dac:	ee09           	jr	ne,0x5dc0
    5dae:	600a c211      	ldb	rl2,0xc211
    5db2:	b120           	extsb	r2
    5db4:	8b2e           	cp	r14,r2
    5db6:	5e0e 5b0a      	jp	ne,0x5b0a
    5dba:	2102 20ca      	ld	r2,#0x20ca
    5dbe:	e851           	jr	t,0x5e62
    5dc0:	4c01 c232 0202 	cpb	0xc232,#0x2
    5dc6:	ee40           	jr	ne,0x5e48
    5dc8:	0b0e 0007      	cp	r14,#0x7
    5dcc:	e603           	jr	eq,0x5dd4
    5dce:	4c04 c235      	testb	0xc235
    5dd2:	ee0e           	jr	ne,0x5df0
    5dd4:	600a c23a      	ldb	rl2,0xc23a
    5dd8:	b120           	extsb	r2
    5dda:	8b2e           	cp	r14,r2
    5ddc:	e609           	jr	eq,0x5df0
    5dde:	0b0e 001b      	cp	r14,#0x1b
    5de2:	e606           	jr	eq,0x5df0
    5de4:	0b0e 001d      	cp	r14,#0x1d
    5de8:	ee12           	jr	ne,0x5e0e
    5dea:	4c04 c22a      	testb	0xc22a
    5dee:	ee0f           	jr	ne,0x5e0e
    5df0:	4c05 c235 0101 	ldb	0xc235,#0x1
    5df6:	0b0e 000d      	cp	r14,#0xd
    5dfa:	ee03           	jr	ne,0x5e02
    5dfc:	4c05 c24a 0101 	ldb	0xc24a,#0x1
    5e02:	0b0e 007f      	cp	r14,#0x7f
    5e06:	5e06 5b66      	jp	eq,0x5b66
    5e0a:	5e08 5b0a      	jp	t,0x5b0a
    5e0e:	a1e7           	ld	r7,r14
    5e10:	600e c237      	ldb	rl6,0xc237
    5e14:	b160           	extsb	r6
    5e16:	5f00 7356      	call	0x7356
    5e1a:	8d24           	test	r2
    5e1c:	e611           	jr	eq,0x5e40
    5e1e:	4c04 c24a      	testb	0xc24a
    5e22:	e603           	jr	eq,0x5e2a
    5e24:	0b0e 000a      	cp	r14,#0xa
    5e28:	e60b           	jr	eq,0x5e40
    5e2a:	4c05 c244 0101 	ldb	0xc244,#0x1
    5e30:	a1e7           	ld	r7,r14
    5e32:	600e c237      	ldb	rl6,0xc237
    5e36:	b160           	extsb	r6
    5e38:	5f00 6044      	call	0x6044
    5e3c:	4c08 c244      	clrb	0xc244
    5e40:	4c08 c24a      	clrb	0xc24a
    5e44:	5e08 5b66      	jp	t,0x5b66
    5e48:	0b0e 001d      	cp	r14,#0x1d
    5e4c:	5e06 5b0a      	jp	eq,0x5b0a
    5e50:	0b0e 001c      	cp	r14,#0x1c
    5e54:	5e06 5b0a      	jp	eq,0x5b0a
    5e58:	a1e7           	ld	r7,r14
    5e5a:	5f00 6c4c      	call	0x6c4c
    5e5e:	5e08 5b66      	jp	t,0x5b66
    5e62:	61fe 0002      	ld	r14,0x2(r15)
    5e66:	a9f3           	inc	r15,#0x4
    5e68:	9e08           	ret	t
    5e6a:	abf1           	dec	r15,#0x2
    5e6c:	2ffe           	ld	@r15,r14
    5e6e:	4d01 c440 0004 	cp	0xc440,#0x4
    5e74:	e604           	jr	eq,0x5e7e
    5e76:	4c01 c249 0404 	cpb	0xc249,#0x4
    5e7c:	ee03           	jr	ne,0x5e84
    5e7e:	2102 ffff      	ld	r2,#0xffff
    5e82:	e847           	jr	t,0x5f12
    5e84:	4d01 c440 0003 	cp	0xc440,#0x3
    5e8a:	ee0b           	jr	ne,0x5ea2
    5e8c:	4d08 c440      	clr	0xc440
    5e90:	610e c43e      	ld	r14,0xc43e
    5e94:	a1e7           	ld	r7,r14
    5e96:	5f00 6ffe      	call	0x6ffe
    5e9a:	8d24           	test	r2
    5e9c:	ee02           	jr	ne,0x5ea2
    5e9e:	a1e2           	ld	r2,r14
    5ea0:	e838           	jr	t,0x5f12
    5ea2:	4c01 c232 0202 	cpb	0xc232,#0x2
    5ea8:	ee17           	jr	ne,0x5ed8
    5eaa:	0b0e 00a9      	cp	r14,#0xa9
    5eae:	e114           	jr	lt,0x5ed8
    5eb0:	0b0e 00b8      	cp	r14,#0xb8
    5eb4:	ea11           	jr	gt,0x5ed8
    5eb6:	4c01 c249 0303 	cpb	0xc249,#0x3
    5ebc:	ee0d           	jr	ne,0x5ed8
    5ebe:	4d04 c260      	test	0xc260
    5ec2:	e604           	jr	eq,0x5ecc
    5ec4:	6107 c260      	ld	r7,0xc260
    5ec8:	5f00 7400      	call	0x7400
    5ecc:	a1e2           	ld	r2,r14
    5ece:	81e2           	add	r2,r14
    5ed0:	6123 e75e      	ld	r3,0xe75e(r2)
    5ed4:	6f03 c260      	ld	0xc260,r3
    5ed8:	4d04 c260      	test	0xc260
    5edc:	e618           	jr	eq,0x5f0e
    5ede:	6102 c260      	ld	r2,0xc260
    5ee2:	0c24           	testb	@r2
    5ee4:	e605           	jr	eq,0x5ef0
    5ee6:	202a           	ldb	rl2,@r2
    5ee8:	b120           	extsb	r2
    5eea:	6900 c260      	inc	0xc260,#0x1
    5eee:	e811           	jr	t,0x5f12
    5ef0:	5f00 73e8      	call	0x73e8
    5ef4:	6f02 c260      	ld	0xc260,r2
    5ef8:	8d24           	test	r2
    5efa:	ee02           	jr	ne,0x5f00
    5efc:	4c08 c249      	clrb	0xc249
    5f00:	6b00 c294      	dec	0xc294,#0x1
    5f04:	6102 c294      	ld	r2,0xc294
    5f08:	202a           	ldb	rl2,@r2
    5f0a:	b120           	extsb	r2
    5f0c:	e802           	jr	t,0x5f12
    5f0e:	5f00 16bc      	call	0x16bc
    5f12:	21fe           	ld	r14,@r15
    5f14:	a9f1           	inc	r15,#0x2
    5f16:	9e08           	ret	t
    5f18:	abf1           	dec	r15,#0x2
    5f1a:	2ffe           	ld	@r15,r14
    5f1c:	bde0           	ldk	r14,#0x0
    5f1e:	4d01 c440 0004 	cp	0xc440,#0x4
    5f24:	ee0a           	jr	ne,0x5f3a
    5f26:	4d08 c440      	clr	0xc440
    5f2a:	610e c43e      	ld	r14,0xc43e
    5f2e:	a1e7           	ld	r7,r14
    5f30:	5f00 6ffe      	call	0x6ffe
    5f34:	8d24           	test	r2
    5f36:	ee0c           	jr	ne,0x5f50
    5f38:	e860           	jr	t,0x5ffa
    5f3a:	4d01 c440 0003 	cp	0xc440,#0x3
    5f40:	e604           	jr	eq,0x5f4a
    5f42:	4c01 c249 0303 	cpb	0xc249,#0x3
    5f48:	ee03           	jr	ne,0x5f50
    5f4a:	2102 ffff      	ld	r2,#0xffff
    5f4e:	e856           	jr	t,0x5ffc
    5f50:	4d04 c260      	test	0xc260
    5f54:	e615           	jr	eq,0x5f80
    5f56:	6102 c260      	ld	r2,0xc260
    5f5a:	0c24           	testb	@r2
    5f5c:	e607           	jr	eq,0x5f6c
    5f5e:	6102 c260      	ld	r2,0xc260
    5f62:	202a           	ldb	rl2,@r2
    5f64:	b120           	extsb	r2
    5f66:	6900 c260      	inc	0xc260,#0x1
    5f6a:	e848           	jr	t,0x5ffc
    5f6c:	5f00 73e8      	call	0x73e8
    5f70:	6f02 c260      	ld	0xc260,r2
    5f74:	8d24           	test	r2
    5f76:	eef3           	jr	ne,0x5f5e
    5f78:	4d08 c260      	clr	0xc260
    5f7c:	4c08 c249      	clrb	0xc249
    5f80:	8de4           	test	r14
    5f82:	ee06           	jr	ne,0x5f90
    5f84:	5f00 16c8      	call	0x16c8
    5f88:	a12e           	ld	r14,r2
    5f8a:	0b02 ffff      	cp	r2,#0xffff
    5f8e:	e6dd           	jr	eq,0x5f4a
    5f90:	a1e2           	ld	r2,r14
    5f92:	0702 00ff      	and	r2,#0xff
    5f96:	a12e           	ld	r14,r2
    5f98:	4c01 c232 0202 	cpb	0xc232,#0x2
    5f9e:	ee2d           	jr	ne,0x5ffa
    5fa0:	8d24           	test	r2
    5fa2:	e126           	jr	lt,0x5ff0
    5fa4:	0b02 007f      	cp	r2,#0x7f
    5fa8:	ea23           	jr	gt,0x5ff0
    5faa:	8122           	add	r2,r2
    5fac:	4d24 e75e      	test	0xe75e(r2)
    5fb0:	e61f           	jr	eq,0x5ff0
    5fb2:	4d04 c260      	test	0xc260
    5fb6:	e604           	jr	eq,0x5fc0
    5fb8:	6107 c260      	ld	r7,0xc260
    5fbc:	5f00 7400      	call	0x7400
    5fc0:	a1e2           	ld	r2,r14
    5fc2:	81e2           	add	r2,r14
    5fc4:	6123 e75e      	ld	r3,0xe75e(r2)
    5fc8:	6f03 c260      	ld	0xc260,r3
    5fcc:	4c05 c249 0404 	ldb	0xc249,#0x4
    5fd2:	5f00 5f18      	call	0x5f18
    5fd6:	e812           	jr	t,0x5ffc
    5fd8:	a1e7           	ld	r7,r14
    5fda:	5f00 7668      	call	0x7668
    5fde:	a12e           	ld	r14,r2
    5fe0:	8122           	add	r2,r2
    5fe2:	4d24 e75e      	test	0xe75e(r2)
    5fe6:	e6b1           	jr	eq,0x5f4a
    5fe8:	4d04 c260      	test	0xc260
    5fec:	e6e9           	jr	eq,0x5fc0
    5fee:	e8e4           	jr	t,0x5fb8
    5ff0:	a1e7           	ld	r7,r14
    5ff2:	5f00 7608      	call	0x7608
    5ff6:	8d24           	test	r2
    5ff8:	eeef           	jr	ne,0x5fd8
    5ffa:	a1e2           	ld	r2,r14
    5ffc:	21fe           	ld	r14,@r15
    5ffe:	a9f1           	inc	r15,#0x2
    6000:	9e08           	ret	t
    6002:	abf1           	dec	r15,#0x2
    6004:	2ffe           	ld	@r15,r14
    6006:	a17e           	ld	r14,r7
    6008:	600a c247      	ldb	rl2,0xc247
    600c:	b120           	extsb	r2
    600e:	6f02 c440      	ld	0xc440,r2
    6012:	6f07 c43e      	ld	0xc43e,r7
    6016:	21fe           	ld	r14,@r15
    6018:	a9f1           	inc	r15,#0x2
    601a:	9e08           	ret	t
    601c:	4c04 c203      	testb	0xc203
    6020:	e605           	jr	eq,0x602c
    6022:	600f c203      	ldb	rl7,0xc203
    6026:	b170           	extsb	r7
    6028:	5f00 6c20      	call	0x6c20
    602c:	4c04 c204      	testb	0xc204
    6030:	e605           	jr	eq,0x603c
    6032:	600f c204      	ldb	rl7,0xc204
    6036:	b170           	extsb	r7
    6038:	5f00 6c20      	call	0x6c20
    603c:	9e08           	ret	t
    603e:	5c6e           	.word 5c6e
    6040:	005c           	addb	rl4,@r5
    6042:	6e00 abf3      	ldb	0xabf3,rh0
    6046:	1cf9 0d01      	ldm	@r15,r13,#0x2
    604a:	a17e           	ld	r14,r7
    604c:	a16d           	ld	r13,r6
    604e:	0b06 0003      	cp	r6,#0x3
    6052:	ee03           	jr	ne,0x605a
    6054:	5f00 6c20      	call	0x6c20
    6058:	e80a           	jr	t,0x606e
    605a:	0b0d 0002      	cp	r13,#0x2
    605e:	ee04           	jr	ne,0x6068
    6060:	a1e7           	ld	r7,r14
    6062:	5f00 6c4c      	call	0x6c4c
    6066:	e803           	jr	t,0x606e
    6068:	a1e7           	ld	r7,r14
    606a:	5f00 6cf6      	call	0x6cf6
    606e:	1cf1 0d01      	ldm	r13,@r15,#0x2
    6072:	a9f3           	inc	r15,#0x4
    6074:	9e08           	ret	t
    6076:	abf1           	dec	r15,#0x2
    6078:	2ffe           	ld	@r15,r14
    607a:	a17e           	ld	r14,r7
    607c:	a172           	ld	r2,r7
    607e:	0702 00ff      	and	r2,#0xff
    6082:	a12e           	ld	r14,r2
    6084:	0b02 00d2      	cp	r2,#0xd2
    6088:	ee02           	jr	ne,0x608e
    608a:	bd21           	ldk	r2,#0x1
    608c:	e810           	jr	t,0x60ae
    608e:	0b0e 00d3      	cp	r14,#0xd3
    6092:	ee02           	jr	ne,0x6098
    6094:	bd22           	ldk	r2,#0x2
    6096:	e80b           	jr	t,0x60ae
    6098:	0b0e 00d5      	cp	r14,#0xd5
    609c:	ee02           	jr	ne,0x60a2
    609e:	bd24           	ldk	r2,#0x4
    60a0:	e806           	jr	t,0x60ae
    60a2:	0b0e 00d4      	cp	r14,#0xd4
    60a6:	ee02           	jr	ne,0x60ac
    60a8:	bd28           	ldk	r2,#0x8
    60aa:	e801           	jr	t,0x60ae
    60ac:	8322           	sub	r2,r2
    60ae:	21fe           	ld	r14,@r15
    60b0:	a9f1           	inc	r15,#0x2
    60b2:	9e08           	ret	t
    60b4:	abf7           	dec	r15,#0x8
    60b6:	1cf9 0b03      	ldm	@r15,r11,#0x4
    60ba:	a17e           	ld	r14,r7
    60bc:	4c05 c230 0101 	ldb	0xc230,#0x1
    60c2:	bdb0           	ldk	r11,#0x0
    60c4:	a1bd           	ld	r13,r11
    60c6:	e81c           	jr	t,0x6100
    60c8:	a9d0           	inc	r13,#0x1
    60ca:	0b0d 0571      	cp	r13,#0x571
    60ce:	ee1b           	jr	ne,0x6106
    60d0:	4c08 c230      	clrb	0xc230
    60d4:	e827           	jr	t,0x6124
    60d6:	8bbc           	cp	r12,r11
    60d8:	ee0e           	jr	ne,0x60f6
    60da:	a1c6           	ld	r6,r12
    60dc:	0706 0003      	and	r6,#0x3
    60e0:	e602           	jr	eq,0x60e6
    60e2:	bd67           	ldk	r6,#0x7
    60e4:	e801           	jr	t,0x60e8
    60e6:	bd6d           	ldk	r6,#0xd
    60e8:	600f c230      	ldb	rl7,0xc230
    60ec:	b170           	extsb	r7
    60ee:	a970           	inc	r7,#0x1
    60f0:	5f00 78c4      	call	0x78c4
    60f4:	e801           	jr	t,0x60f8
    60f6:	bd21           	ldk	r2,#0x1
    60f8:	6e0a c230      	ldb	0xc230,rl2
    60fc:	a1cb           	ld	r11,r12
    60fe:	bdd0           	ldk	r13,#0x0
    6100:	a1e7           	ld	r7,r14
    6102:	5f00 42a6      	call	0x42a6
    6106:	5f00 16c8      	call	0x16c8
    610a:	a12e           	ld	r14,r2
    610c:	0b02 ffff      	cp	r2,#0xffff
    6110:	e6db           	jr	eq,0x60c8
    6112:	a127           	ld	r7,r2
    6114:	5f00 6076      	call	0x6076
    6118:	a12c           	ld	r12,r2
    611a:	8d24           	test	r2
    611c:	eedc           	jr	ne,0x60d6
    611e:	a1e7           	ld	r7,r14
    6120:	5f00 6002      	call	0x6002
    6124:	1cf1 0b03      	ldm	r11,@r15,#0x4
    6128:	a9f7           	inc	r15,#0x8
    612a:	9e08           	ret	t
    612c:	abf9           	dec	r15,#0xa
    612e:	1cf9 0a01      	ldm	@r15,r10,#0x2
    6132:	a171           	ld	r1,r7
    6134:	a164           	ld	r4,r6
    6136:	bd50           	ldk	r5,#0x0
    6138:	210b 2710      	ld	r11,#0x2710
    613c:	a113           	ld	r3,r1
    613e:	b12a           	exts	rr2
    6140:	9bb2           	div	rr2,r11
    6142:	a13a           	ld	r10,r3
    6144:	8d34           	test	r3
    6146:	ee05           	jr	ne,0x6152
    6148:	8d54           	test	r5
    614a:	ee03           	jr	ne,0x6152
    614c:	0b0b 0001      	cp	r11,#0x1
    6150:	ee05           	jr	ne,0x615c
    6152:	76a2 0030      	lda	r2,0x30(r10)
    6156:	2e4a           	ldb	@r4,rl2
    6158:	a940           	inc	r4,#0x1
    615a:	bd51           	ldk	r5,#0x1
    615c:	a1a3           	ld	r3,r10
    615e:	99b2           	mult	rr2,r11
    6160:	a112           	ld	r2,r1
    6162:	8332           	sub	r2,r3
    6164:	a121           	ld	r1,r2
    6166:	a1b3           	ld	r3,r11
    6168:	b12a           	exts	rr2
    616a:	1b02 000a      	div	rr2,#0xa
    616e:	a13b           	ld	r11,r3
    6170:	8d34           	test	r3
    6172:	eee4           	jr	ne,0x613c
    6174:	0c48           	clrb	@r4
    6176:	1cf1 0a01      	ldm	r10,@r15,#0x2
    617a:	a9f9           	inc	r15,#0xa
    617c:	9e08           	ret	t
    617e:	abf9           	dec	r15,#0xa
    6180:	1cf9 0a04      	ldm	@r15,r10,#0x5
    6184:	a17e           	ld	r14,r7
    6186:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    618c:	ee20           	jr	ne,0x61ce
    618e:	0b07 00f0      	cp	r7,#0xf0
    6192:	e605           	jr	eq,0x619e
    6194:	a172           	ld	r2,r7
    6196:	6e0a c22e      	ldb	0xc22e,rl2
    619a:	5e08 6420      	jp	t,0x6420
    619e:	600a c22e      	ldb	rl2,0xc22e
    61a2:	b120           	extsb	r2
    61a4:	a12e           	ld	r14,r2
    61a6:	5f00 1d48      	call	0x1d48
    61aa:	6107 c2cc      	ld	r7,0xc2cc
    61ae:	6106 c2ce      	ld	r6,0xc2ce
    61b2:	5f00 417c      	call	0x417c
    61b6:	8d24           	test	r2
    61b8:	e60a           	jr	eq,0x61ce
    61ba:	6102 c2ac      	ld	r2,0xc2ac
    61be:	6f02 c2cc      	ld	0xc2cc,r2
    61c2:	6102 c2ae      	ld	r2,0xc2ae
    61c6:	6f02 c2ce      	ld	0xc2ce,r2
    61ca:	5e08 6420      	jp	t,0x6420
    61ce:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    61d4:	ee6e           	jr	ne,0x62b2
    61d6:	0b0e 00e8      	cp	r14,#0xe8
    61da:	ee11           	jr	ne,0x61fe
    61dc:	4c04 c299      	testb	0xc299
    61e0:	e607           	jr	eq,0x61f0
    61e2:	600a c298      	ldb	rl2,0xc298
    61e6:	b120           	extsb	r2
    61e8:	a723           	bit	r2,#0x3
    61ea:	e602           	jr	eq,0x61f0
    61ec:	4c08 c29d      	clrb	0xc29d
    61f0:	600a c299      	ldb	rl2,0xc299
    61f4:	b120           	extsb	r2
    61f6:	0102 0040      	add	r2,#0x40
    61fa:	a12e           	ld	r14,r2
    61fc:	e807           	jr	t,0x620c
    61fe:	600a c298      	ldb	rl2,0xc298
    6202:	b120           	extsb	r2
    6204:	a723           	bit	r2,#0x3
    6206:	e602           	jr	eq,0x620c
    6208:	4c08 c29d      	clrb	0xc29d
    620c:	6107 c31e      	ld	r7,0xc31e
    6210:	8366           	sub	r6,r6
    6212:	6105 c326      	ld	r5,0xc326
    6216:	6104 c32a      	ld	r4,0xc32a
    621a:	6103 c2ee      	ld	r3,0xc2ee
    621e:	5f00 41fa      	call	0x41fa
    6222:	6f02 c2cc      	ld	0xc2cc,r2
    6226:	6107 c320      	ld	r7,0xc320
    622a:	8366           	sub	r6,r6
    622c:	6105 c328      	ld	r5,0xc328
    6230:	6104 c32c      	ld	r4,0xc32c
    6234:	6103 c2f0      	ld	r3,0xc2f0
    6238:	5f00 41fa      	call	0x41fa
    623c:	6f02 c2ce      	ld	0xc2ce,r2
    6240:	2107 00e8      	ld	r7,#0xe8
    6244:	5f00 42a6      	call	0x42a6
    6248:	8d24           	test	r2
    624a:	5e0e 641c      	jp	ne,0x641c
    624e:	600a c298      	ldb	rl2,0xc298
    6252:	b120           	extsb	r2
    6254:	a725           	bit	r2,#0x5
    6256:	e62d           	jr	eq,0x62b2
    6258:	600a c298      	ldb	rl2,0xc298
    625c:	b120           	extsb	r2
    625e:	a720           	bit	r2,#0x0
    6260:	e628           	jr	eq,0x62b2
    6262:	4c01 c299 0101 	cpb	0xc299,#0x1
    6268:	ee1e           	jr	ne,0x62a6
    626a:	6107 c30a      	ld	r7,0xc30a
    626e:	5f00 74d8      	call	0x74d8
    6272:	4c04 c22f      	testb	0xc22f
    6276:	e60c           	jr	eq,0x6290
    6278:	600f c238      	ldb	rl7,0xc238
    627c:	b170           	extsb	r7
    627e:	5f00 7212      	call	0x7212
    6282:	6107 c2ac      	ld	r7,0xc2ac
    6286:	6106 c2ae      	ld	r6,0xc2ae
    628a:	5f00 4260      	call	0x4260
    628e:	e803           	jr	t,0x6296
    6290:	4c05 c28a 0101 	ldb	0xc28a,#0x1
    6296:	6107 c2cc      	ld	r7,0xc2cc
    629a:	6106 c2ce      	ld	r6,0xc2ce
    629e:	5f00 41b2      	call	0x41b2
    62a2:	4c08 c28a      	clrb	0xc28a
    62a6:	6107 c2cc      	ld	r7,0xc2cc
    62aa:	6106 c2ce      	ld	r6,0xc2ce
    62ae:	5f00 4260      	call	0x4260
    62b2:	4c04 c29d      	testb	0xc29d
    62b6:	5e0e 641c      	jp	ne,0x641c
    62ba:	4c01 c232 0303 	cpb	0xc232,#0x3
    62c0:	e618           	jr	eq,0x62f2
    62c2:	4c04 c22f      	testb	0xc22f
    62c6:	e615           	jr	eq,0x62f2
    62c8:	6107 c30a      	ld	r7,0xc30a
    62cc:	5f00 74d8      	call	0x74d8
    62d0:	600f c238      	ldb	rl7,0xc238
    62d4:	b170           	extsb	r7
    62d6:	5f00 7212      	call	0x7212
    62da:	6107 c2ac      	ld	r7,0xc2ac
    62de:	6106 c2ae      	ld	r6,0xc2ae
    62e2:	5f00 4260      	call	0x4260
    62e6:	6107 c2cc      	ld	r7,0xc2cc
    62ea:	6106 c2ce      	ld	r6,0xc2ce
    62ee:	5f00 41b2      	call	0x41b2
    62f2:	4c01 c232 0202 	cpb	0xc232,#0x2
    62f8:	ee4e           	jr	ne,0x6396
    62fa:	4c04 c253      	testb	0xc253
    62fe:	ee4b           	jr	ne,0x6396
    6300:	4c01 c243 0303 	cpb	0xc243,#0x3
    6306:	ee04           	jr	ne,0x6310
    6308:	bdb3           	ldk	r11,#0x3
    630a:	5f00 782e      	call	0x782e
    630e:	e802           	jr	t,0x6314
    6310:	210b ffff      	ld	r11,#0xffff
    6314:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    631a:	ee0b           	jr	ne,0x6332
    631c:	600a c298      	ldb	rl2,0xc298
    6320:	b120           	extsb	r2
    6322:	a721           	bit	r2,#0x1
    6324:	ee06           	jr	ne,0x6332
    6326:	bda4           	ldk	r10,#0x4
    6328:	610d c31e      	ld	r13,0xc31e
    632c:	610c c320      	ld	r12,0xc320
    6330:	e80b           	jr	t,0x6348
    6332:	bda3           	ldk	r10,#0x3
    6334:	6107 c2cc      	ld	r7,0xc2cc
    6338:	5f00 3b74      	call	0x3b74
    633c:	a12d           	ld	r13,r2
    633e:	6107 c2ce      	ld	r7,0xc2ce
    6342:	5f00 3bae      	call	0x3bae
    6346:	a12c           	ld	r12,r2
    6348:	600f c23a      	ldb	rl7,0xc23a
    634c:	b170           	extsb	r7
    634e:	5f00 6c20      	call	0x6c20
    6352:	2107 683a      	ld	r7,#0x683a
    6356:	5f00 6eb8      	call	0x6eb8
    635a:	a1a7           	ld	r7,r10
    635c:	a1e6           	ld	r6,r14
    635e:	5f00 6e88      	call	0x6e88
    6362:	2107 002c      	ld	r7,#0x2c
    6366:	5f00 6c20      	call	0x6c20
    636a:	a1a7           	ld	r7,r10
    636c:	a1d6           	ld	r6,r13
    636e:	5f00 6e88      	call	0x6e88
    6372:	2107 002c      	ld	r7,#0x2c
    6376:	5f00 6c20      	call	0x6c20
    637a:	a1a7           	ld	r7,r10
    637c:	a1c6           	ld	r6,r12
    637e:	5f00 6e88      	call	0x6e88
    6382:	2107 6842      	ld	r7,#0x6842
    6386:	5f00 6eb8      	call	0x6eb8
    638a:	0b0b 0003      	cp	r11,#0x3
    638e:	ee20           	jr	ne,0x63d0
    6390:	5f00 780e      	call	0x780e
    6394:	e81d           	jr	t,0x63d0
    6396:	4c05 c245 0101 	ldb	0xc245,#0x1
    639c:	6107 c2cc      	ld	r7,0xc2cc
    63a0:	5f00 3b74      	call	0x3b74
    63a4:	a12d           	ld	r13,r2
    63a6:	6107 c2ce      	ld	r7,0xc2ce
    63aa:	5f00 3bae      	call	0x3bae
    63ae:	a12c           	ld	r12,r2
    63b0:	a1e7           	ld	r7,r14
    63b2:	5f00 6c20      	call	0x6c20
    63b6:	a1d7           	ld	r7,r13
    63b8:	a1c6           	ld	r6,r12
    63ba:	5f00 9c68      	call	0x9c68
    63be:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    63c4:	ee05           	jr	ne,0x63d0
    63c6:	600f c24c      	ldb	rl7,0xc24c
    63ca:	b170           	extsb	r7
    63cc:	5f00 72c2      	call	0x72c2
    63d0:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    63d6:	ee11           	jr	ne,0x63fa
    63d8:	600a c298      	ldb	rl2,0xc298
    63dc:	b120           	extsb	r2
    63de:	a722           	bit	r2,#0x2
    63e0:	ee05           	jr	ne,0x63ec
    63e2:	600a c298      	ldb	rl2,0xc298
    63e6:	b120           	extsb	r2
    63e8:	a725           	bit	r2,#0x5
    63ea:	ee07           	jr	ne,0x63fa
    63ec:	4c05 c29d 0101 	ldb	0xc29d,#0x1
    63f2:	600a c299      	ldb	rl2,0xc299
    63f6:	6e0a c29a      	ldb	0xc29a,rl2
    63fa:	5f00 6f96      	call	0x6f96
    63fe:	6107 c2cc      	ld	r7,0xc2cc
    6402:	6106 c2ce      	ld	r6,0xc2ce
    6406:	5f00 4260      	call	0x4260
    640a:	5f00 6fb6      	call	0x6fb6
    640e:	6b00 c2c8      	dec	0xc2c8,#0x1
    6412:	4d04 c2c8      	test	0xc2c8
    6416:	ee02           	jr	ne,0x641c
    6418:	5f00 2ef4      	call	0x2ef4
    641c:	4c08 c29c      	clrb	0xc29c
    6420:	1cf1 0a04      	ldm	r10,@r15,#0x5
    6424:	a9f9           	inc	r15,#0xa
    6426:	9e08           	ret	t
    6428:	0000 0001      	addb	rh0,#0x1
    642c:	0007 0008      	addb	rh7,#0x8
    6430:	0009 000a      	addb	rl1,#0xa
    6434:	000b 000d      	addb	rl3,#0xd
    6438:	0020           	addb	rh0,@r2
    643a:	6494 6518      	setb	0x6518(r9),#0x4
    643e:	6650 6596      	bitb	0x6596(r5),#0x0
    6442:	65e6 6580      	set	0x6580(r14),#0x6
    6446:	6646 6570      	bitb	0x6570(r4),#0x6
    644a:	6518 0008      	set	0x8(r1),#0x8
    644e:	0009 000a      	addb	rl1,#0xa
    6452:	000b 000d      	addb	rl3,#0xd
    6456:	0020           	addb	rh0,@r2
    6458:	6678 6694      	bitb	0x6694(r7),#0x8
    645c:	66b4 6700      	bitb	0x6700(r11),#0x4
    6460:	670a 6694      	bit	0x6694,#0xa
    6464:	030f 0012      	sub	r15,#0x12
    6468:	5cf9 0806 0004 	ldm	0x4(r15),r8,#0x7
    646e:	a17e           	ld	r14,r7
    6470:	a16d           	ld	r13,r6
    6472:	a15c           	ld	r12,r5
    6474:	4c01 c232 0202 	cpb	0xc232,#0x2
    647a:	5e0e 665a      	jp	ne,0x665a
    647e:	a152           	ld	r2,r5
    6480:	2103 6428      	ld	r3,#0x6428
    6484:	2104 0009      	ld	r4,#0x9
    6488:	bb34 0426      	cpir	r2,@r3,r4,eq
    648c:	ee20           	jr	ne,0x64ce
    648e:	6132 0010      	ld	r2,0x10(r3)
    6492:	1e28           	jp	t,@r2
    6494:	0de1 031f      	cp	@r14,#0x31f
    6498:	e228           	jr	le,0x64ea
    649a:	600f c20d      	ldb	rl7,0xc20d
    649e:	b170           	extsb	r7
    64a0:	5f00 7792      	call	0x7792
    64a4:	2ff2           	ld	@r15,r2
    64a6:	21d6           	ld	r6,@r13
    64a8:	ab6d           	dec	r6,#0xe
    64aa:	a127           	ld	r7,r2
    64ac:	5f00 4260      	call	0x4260
    64b0:	21d2           	ld	r2,@r13
    64b2:	4b02 c2b8      	cp	r2,0xc2b8
    64b6:	e90b           	jr	ge,0x64ce
    64b8:	600f c20d      	ldb	rl7,0xc20d
    64bc:	b170           	extsb	r7
    64be:	5f00 7792      	call	0x7792
    64c2:	2ff2           	ld	@r15,r2
    64c4:	a127           	ld	r7,r2
    64c6:	6106 c2b8      	ld	r6,0xc2b8
    64ca:	5f00 4260      	call	0x4260
    64ce:	0dd1 01df      	cp	@r13,#0x1df
    64d2:	5e02 677e      	jp	le,0x677e
    64d6:	bd71           	ldk	r7,#0x1
    64d8:	5f00 77a8      	call	0x77a8
    64dc:	2ff2           	ld	@r15,r2
    64de:	21e7           	ld	r7,@r14
    64e0:	a126           	ld	r6,r2
    64e2:	5f00 4260      	call	0x4260
    64e6:	5e08 677e      	jp	t,0x677e
    64ea:	21e3           	ld	r3,@r14
    64ec:	b12a           	exts	rr2
    64ee:	1b02 000a      	div	rr2,#0xa
    64f2:	1902 000a      	mult	rr2,#0xa
    64f6:	2fe3           	ld	@r14,r3
    64f8:	21d2           	ld	r2,@r13
    64fa:	4302 c2f0      	sub	r2,0xc2f0
    64fe:	a121           	ld	r1,r2
    6500:	b10a           	exts	rr0
    6502:	1b00 000e      	div	rr0,#0xe
    6506:	a113           	ld	r3,r1
    6508:	1902 000e      	mult	rr2,#0xe
    650c:	4103 c2f0      	add	r3,0xc2f0
    6510:	2fd3           	ld	@r13,r3
    6512:	21e7           	ld	r7,@r14
    6514:	21d6           	ld	r6,@r13
    6516:	e8d9           	jr	t,0x64ca
    6518:	21ea           	ld	r10,@r14
    651a:	21e7           	ld	r7,@r14
    651c:	a979           	inc	r7,#0xa
    651e:	21d6           	ld	r6,@r13
    6520:	5f00 4260      	call	0x4260
    6524:	600f c20e      	ldb	rl7,0xc20e
    6528:	b170           	extsb	r7
    652a:	a970           	inc	r7,#0x1
    652c:	5f00 7792      	call	0x7792
    6530:	8b2a           	cp	r10,r2
    6532:	ea0b           	jr	gt,0x654a
    6534:	600f c20e      	ldb	rl7,0xc20e
    6538:	b170           	extsb	r7
    653a:	a970           	inc	r7,#0x1
    653c:	5f00 7792      	call	0x7792
    6540:	0be2           	cp	r2,@r14
    6542:	e903           	jr	ge,0x654a
    6544:	bd77           	ldk	r7,#0x7
    6546:	5f00 6c4c      	call	0x6c4c
    654a:	0de1 031f      	cp	@r14,#0x31f
    654e:	e2bf           	jr	le,0x64ce
    6550:	600f c20d      	ldb	rl7,0xc20d
    6554:	b170           	extsb	r7
    6556:	5f00 7792      	call	0x7792
    655a:	2ff2           	ld	@r15,r2
    655c:	21d6           	ld	r6,@r13
    655e:	ab6d           	dec	r6,#0xe
    6560:	a127           	ld	r7,r2
    6562:	5f00 4260      	call	0x4260
    6566:	21d2           	ld	r2,@r13
    6568:	4b02 c2b8      	cp	r2,0xc2b8
    656c:	e9b0           	jr	ge,0x64ce
    656e:	e8a4           	jr	t,0x64b8
    6570:	600f c20d      	ldb	rl7,0xc20d
    6574:	b170           	extsb	r7
    6576:	5f00 7792      	call	0x7792
    657a:	2ff2           	ld	@r15,r2
    657c:	a127           	ld	r7,r2
    657e:	e8ca           	jr	t,0x6514
    6580:	21d6           	ld	r6,@r13
    6582:	ab6d           	dec	r6,#0xe
    6584:	21e7           	ld	r7,@r14
    6586:	5f00 4260      	call	0x4260
    658a:	21d2           	ld	r2,@r13
    658c:	4b02 c2b8      	cp	r2,0xc2b8
    6590:	e99e           	jr	ge,0x64ce
    6592:	21e7           	ld	r7,@r14
    6594:	e898           	jr	t,0x64c6
    6596:	21e7           	ld	r7,@r14
    6598:	ab79           	dec	r7,#0xa
    659a:	21d6           	ld	r6,@r13
    659c:	5f00 4260      	call	0x4260
    65a0:	600f c20d      	ldb	rl7,0xc20d
    65a4:	b170           	extsb	r7
    65a6:	5f00 7792      	call	0x7792
    65aa:	0be2           	cp	r2,@r14
    65ac:	e290           	jr	le,0x64ce
    65ae:	2107 0050      	ld	r7,#0x50
    65b2:	5f00 7792      	call	0x7792
    65b6:	2ff2           	ld	@r15,r2
    65b8:	21d6           	ld	r6,@r13
    65ba:	a96d           	inc	r6,#0xe
    65bc:	a127           	ld	r7,r2
    65be:	5f00 4260      	call	0x4260
    65c2:	0dd1 01df      	cp	@r13,#0x1df
    65c6:	e283           	jr	le,0x64ce
    65c8:	bd71           	ldk	r7,#0x1
    65ca:	5f00 77a8      	call	0x77a8
    65ce:	2ff2           	ld	@r15,r2
    65d0:	600f c20d      	ldb	rl7,0xc20d
    65d4:	b170           	extsb	r7
    65d6:	5f00 7792      	call	0x7792
    65da:	6ff2 0002      	ld	0x2(r15),r2
    65de:	a127           	ld	r7,r2
    65e0:	21f6           	ld	r6,@r15
    65e2:	5e08 64ca      	jp	t,0x64ca
    65e6:	210b c216      	ld	r11,#0xc216
    65ea:	e801           	jr	t,0x65ee
    65ec:	a9b0           	inc	r11,#0x1
    65ee:	20bf           	ldb	rl7,@r11
    65f0:	b170           	extsb	r7
    65f2:	5f00 7792      	call	0x7792
    65f6:	0be2           	cp	r2,@r14
    65f8:	e1f9           	jr	lt,0x65ec
    65fa:	21ea           	ld	r10,@r14
    65fc:	20bf           	ldb	rl7,@r11
    65fe:	b170           	extsb	r7
    6600:	5f00 7792      	call	0x7792
    6604:	2ff2           	ld	@r15,r2
    6606:	a127           	ld	r7,r2
    6608:	21d6           	ld	r6,@r13
    660a:	5f00 4260      	call	0x4260
    660e:	600f c20e      	ldb	rl7,0xc20e
    6612:	b170           	extsb	r7
    6614:	a970           	inc	r7,#0x1
    6616:	5f00 7792      	call	0x7792
    661a:	8b2a           	cp	r10,r2
    661c:	ea0b           	jr	gt,0x6634
    661e:	600f c20e      	ldb	rl7,0xc20e
    6622:	b170           	extsb	r7
    6624:	a970           	inc	r7,#0x1
    6626:	5f00 7792      	call	0x7792
    662a:	0be2           	cp	r2,@r14
    662c:	e903           	jr	ge,0x6634
    662e:	bd77           	ldk	r7,#0x7
    6630:	5f00 6c4c      	call	0x6c4c
    6634:	0de1 031f      	cp	@r14,#0x31f
    6638:	5e02 64ce      	jp	le,0x64ce
    663c:	bd7a           	ldk	r7,#0xa
    663e:	5f00 6cf6      	call	0x6cf6
    6642:	5e08 64ce      	jp	t,0x64ce
    6646:	21d6           	ld	r6,@r13
    6648:	a96d           	inc	r6,#0xe
    664a:	21e7           	ld	r7,@r14
    664c:	5e08 64ca      	jp	t,0x64ca
    6650:	bd77           	ldk	r7,#0x7
    6652:	5f00 6c4c      	call	0x6c4c
    6656:	5e08 64ce      	jp	t,0x64ce
    665a:	610a c2ac      	ld	r10,0xc2ac
    665e:	6109 c2ae      	ld	r9,0xc2ae
    6662:	a1c2           	ld	r2,r12
    6664:	2103 644c      	ld	r3,#0x644c
    6668:	2104 0006      	ld	r4,#0x6
    666c:	bb34 0426      	cpir	r2,@r3,r4,eq
    6670:	ee50           	jr	ne,0x6712
    6672:	6132 000a      	ld	r2,0xa(r3)
    6676:	1e28           	jp	t,@r2
    6678:	600a c28f      	ldb	rl2,0xc28f
    667c:	b120           	extsb	r2
    667e:	832a           	sub	r10,r2
    6680:	e848           	jr	t,0x6712
    6682:	6107 c2d4      	ld	r7,0xc2d4
    6686:	6106 c2ae      	ld	r6,0xc2ae
    668a:	5f00 4260      	call	0x4260
    668e:	4c08 c291      	clrb	0xc291
    6692:	e851           	jr	t,0x6736
    6694:	600a c28f      	ldb	rl2,0xc28f
    6698:	b120           	extsb	r2
    669a:	812a           	add	r10,r2
    669c:	4b0a c2d4      	cp	r10,0xc2d4
    66a0:	e238           	jr	le,0x6712
    66a2:	610a c2ca      	ld	r10,0xc2ca
    66a6:	600a c290      	ldb	rl2,0xc290
    66aa:	b120           	extsb	r2
    66ac:	a193           	ld	r3,r9
    66ae:	8323           	sub	r3,r2
    66b0:	a139           	ld	r9,r3
    66b2:	e82d           	jr	t,0x670e
    66b4:	600a c290      	ldb	rl2,0xc290
    66b8:	b120           	extsb	r2
    66ba:	8329           	sub	r9,r2
    66bc:	0b09 0000      	cp	r9,#0x0
    66c0:	e928           	jr	ge,0x6712
    66c2:	4d04 c2ca      	test	0xc2ca
    66c6:	ee0f           	jr	ne,0x66e6
    66c8:	76a2 0190      	lda	r2,0x190(r10)
    66cc:	a128           	ld	r8,r2
    66ce:	4b02 c2d4      	cp	r2,0xc2d4
    66d2:	e204           	jr	le,0x66dc
    66d4:	4c05 c291 0101 	ldb	0xc291,#0x1
    66da:	e801           	jr	t,0x66de
    66dc:	a18a           	ld	r10,r8
    66de:	4d05 c2ca 0190 	ld	0xc2ca,#0x190
    66e4:	e80a           	jr	t,0x66fa
    66e6:	4c04 c291      	testb	0xc291
    66ea:	ee05           	jr	ne,0x66f6
    66ec:	6102 c2ac      	ld	r2,0xc2ac
    66f0:	0302 0190      	sub	r2,#0x190
    66f4:	a12a           	ld	r10,r2
    66f6:	4d08 c2ca      	clr	0xc2ca
    66fa:	6109 c2d6      	ld	r9,0xc2d6
    66fe:	e809           	jr	t,0x6712
    6700:	600a c290      	ldb	rl2,0xc290
    6704:	b120           	extsb	r2
    6706:	8129           	add	r9,r2
    6708:	e804           	jr	t,0x6712
    670a:	610a c2ca      	ld	r10,0xc2ca
    670e:	4c08 c291      	clrb	0xc291
    6712:	a1a7           	ld	r7,r10
    6714:	a196           	ld	r6,r9
    6716:	5f00 4260      	call	0x4260
    671a:	6102 c2ac      	ld	r2,0xc2ac
    671e:	4b02 c2ca      	cp	r2,0xc2ca
    6722:	e1af           	jr	lt,0x6682
    6724:	4b02 c2d4      	cp	r2,0xc2d4
    6728:	e206           	jr	le,0x6736
    672a:	6107 c2d4      	ld	r7,0xc2d4
    672e:	6106 c2ae      	ld	r6,0xc2ae
    6732:	5f00 4260      	call	0x4260
    6736:	6102 c2ae      	ld	r2,0xc2ae
    673a:	4b02 c2d6      	cp	r2,0xc2d6
    673e:	e203           	jr	le,0x6746
    6740:	6107 c2ac      	ld	r7,0xc2ac
    6744:	e80e           	jr	t,0x6762
    6746:	4d01 c2ae 0000 	cp	0xc2ae,#0x0
    674c:	e90e           	jr	ge,0x676a
    674e:	4d04 c2ca      	test	0xc2ca
    6752:	ee03           	jr	ne,0x675a
    6754:	2102 0190      	ld	r2,#0x190
    6758:	e801           	jr	t,0x675c
    675a:	8322           	sub	r2,r2
    675c:	6f02 c2ca      	ld	0xc2ca,r2
    6760:	a127           	ld	r7,r2
    6762:	6106 c2d6      	ld	r6,0xc2d6
    6766:	5f00 4260      	call	0x4260
    676a:	0b0c 0008      	cp	r12,#0x8
    676e:	ee07           	jr	ne,0x677e
    6770:	600a c206      	ldb	rl2,0xc206
    6774:	b120           	extsb	r2
    6776:	a724           	bit	r2,#0x4
    6778:	e602           	jr	eq,0x677e
    677a:	5f00 1870      	call	0x1870
    677e:	5cf1 0806 0004 	ldm	r8,0x4(r15),#0x7
    6784:	010f 0012      	add	r15,#0x12
    6788:	9e08           	ret	t
    678a:	abfd           	dec	r15,#0xe
    678c:	5cf9 0b03 0006 	ldm	0x6(r15),r11,#0x4
    6792:	a17e           	ld	r14,r7
    6794:	a16d           	ld	r13,r6
    6796:	a15c           	ld	r12,r5
    6798:	0b06 0000      	cp	r6,#0x0
    679c:	e909           	jr	ge,0x67b0
    679e:	2107 002d      	ld	r7,#0x2d
    67a2:	a156           	ld	r6,r5
    67a4:	5f00 6044      	call	0x6044
    67a8:	a1d2           	ld	r2,r13
    67aa:	8d22           	neg	r2
    67ac:	a12d           	ld	r13,r2
    67ae:	abe0           	dec	r14,#0x1
    67b0:	76f6 0000      	lda	r6,0x0(r15)
    67b4:	a1d7           	ld	r7,r13
    67b6:	5f00 612c      	call	0x612c
    67ba:	76f7 0000      	lda	r7,0x0(r15)
    67be:	5f00 78f6      	call	0x78f6
    67c2:	a12b           	ld	r11,r2
    67c4:	e806           	jr	t,0x67d2
    67c6:	2107 0030      	ld	r7,#0x30
    67ca:	a1c6           	ld	r6,r12
    67cc:	5f00 6044      	call	0x6044
    67d0:	a9b0           	inc	r11,#0x1
    67d2:	8beb           	cp	r11,r14
    67d4:	e1f8           	jr	lt,0x67c6
    67d6:	76f7 0000      	lda	r7,0x0(r15)
    67da:	a1c6           	ld	r6,r12
    67dc:	5f00 67ea      	call	0x67ea
    67e0:	5cf1 0b03 0006 	ldm	r11,0x6(r15),#0x4
    67e6:	a9fd           	inc	r15,#0xe
    67e8:	9e08           	ret	t
    67ea:	abf3           	dec	r15,#0x4
    67ec:	1cf9 0d01      	ldm	@r15,r13,#0x2
    67f0:	a17e           	ld	r14,r7
    67f2:	a16d           	ld	r13,r6
    67f4:	e81c           	jr	t,0x682e
    67f6:	0ce1 5c5c      	cpb	@r14,#0x5c
    67fa:	ee13           	jr	ne,0x6822
    67fc:	a9e0           	inc	r14,#0x1
    67fe:	20ea           	ldb	rl2,@r14
    6800:	b120           	extsb	r2
    6802:	0b02 0065      	cp	r2,#0x65
    6806:	e604           	jr	eq,0x6810
    6808:	0b02 006e      	cp	r2,#0x6e
    680c:	e604           	jr	eq,0x6816
    680e:	e80e           	jr	t,0x682c
    6810:	2107 001b      	ld	r7,#0x1b
    6814:	e808           	jr	t,0x6826
    6816:	bd7d           	ldk	r7,#0xd
    6818:	a1d6           	ld	r6,r13
    681a:	5f00 6044      	call	0x6044
    681e:	bd7a           	ldk	r7,#0xa
    6820:	e802           	jr	t,0x6826
    6822:	20ef           	ldb	rl7,@r14
    6824:	b170           	extsb	r7
    6826:	a1d6           	ld	r6,r13
    6828:	5f00 6044      	call	0x6044
    682c:	a9e0           	inc	r14,#0x1
    682e:	0ce4           	testb	@r14
    6830:	eee2           	jr	ne,0x67f6
    6832:	1cf1 0d01      	ldm	r13,@r15,#0x2
    6836:	a9f3           	inc	r15,#0x4
    6838:	9e08           	ret	t
    683a:	4441 5420      	orb	rh1,0x5420(r4)
    683e:	3033 2c00      	ldb	rh3,r3(#0x2c00)
    6842:	2c30           	exb	rh0,@r3
    6844:	3030 3b00      	ldb	rh0,r3(#0x3b00)
    6848:	abf9           	dec	r15,#0xa
    684a:	5cf9 0c02 0004 	ldm	0x4(r15),r12,#0x3
    6850:	a17e           	ld	r14,r7
    6852:	a16d           	ld	r13,r6
    6854:	76f6 0000      	lda	r6,0x0(r15)
    6858:	a1d7           	ld	r7,r13
    685a:	5f00 612c      	call	0x612c
    685e:	76f7 0000      	lda	r7,0x0(r15)
    6862:	5f00 78f6      	call	0x78f6
    6866:	a12c           	ld	r12,r2
    6868:	e805           	jr	t,0x6874
    686a:	2107 0030      	ld	r7,#0x30
    686e:	5f00 16f8      	call	0x16f8
    6872:	a9c0           	inc	r12,#0x1
    6874:	8bec           	cp	r12,r14
    6876:	e1f9           	jr	lt,0x686a
    6878:	76f7 0000      	lda	r7,0x0(r15)
    687c:	5f00 688a      	call	0x688a
    6880:	5cf1 0c02 0004 	ldm	r12,0x4(r15),#0x3
    6886:	a9f9           	inc	r15,#0xa
    6888:	9e08           	ret	t
    688a:	abf1           	dec	r15,#0x2
    688c:	2ffe           	ld	@r15,r14
    688e:	a17e           	ld	r14,r7
    6890:	e80f           	jr	t,0x68b0
    6892:	0ce1 5c5c      	cpb	@r14,#0x5c
    6896:	ee07           	jr	ne,0x68a6
    6898:	a9e0           	inc	r14,#0x1
    689a:	0ce1 6565      	cpb	@r14,#0x65
    689e:	ee07           	jr	ne,0x68ae
    68a0:	2107 001b      	ld	r7,#0x1b
    68a4:	e802           	jr	t,0x68aa
    68a6:	20ef           	ldb	rl7,@r14
    68a8:	b170           	extsb	r7
    68aa:	5f00 16f8      	call	0x16f8
    68ae:	a9e0           	inc	r14,#0x1
    68b0:	0ce4           	testb	@r14
    68b2:	eeef           	jr	ne,0x6892
    68b4:	21fe           	ld	r14,@r15
    68b6:	a9f1           	inc	r15,#0x2
    68b8:	9e08           	ret	t
    68ba:	bd7a           	ldk	r7,#0xa
    68bc:	5f00 6cf6      	call	0x6cf6
    68c0:	4c08 c22a      	clrb	0xc22a
    68c4:	bd7d           	ldk	r7,#0xd
    68c6:	5f00 6cf6      	call	0x6cf6
    68ca:	bd7a           	ldk	r7,#0xa
    68cc:	5f00 6cf6      	call	0x6cf6
    68d0:	4c05 c22a 0101 	ldb	0xc22a,#0x1
    68d6:	9e08           	ret	t
    68d8:	abf9           	dec	r15,#0xa
    68da:	1cf9 0a04      	ldm	@r15,r10,#0x5
    68de:	a17e           	ld	r14,r7
    68e0:	0b07 0020      	cp	r7,#0x20
    68e4:	5e01 69e8      	jp	lt,0x69e8
    68e8:	bd71           	ldk	r7,#0x1
    68ea:	5f00 7212      	call	0x7212
    68ee:	600a c28a      	ldb	rl2,0xc28a
    68f2:	b120           	extsb	r2
    68f4:	a12a           	ld	r10,r2
    68f6:	4c08 c28a      	clrb	0xc28a
    68fa:	6107 c304      	ld	r7,0xc304
    68fe:	5f00 74d8      	call	0x74d8
    6902:	6107 c2ac      	ld	r7,0xc2ac
    6906:	5f00 3b74      	call	0x3b74
    690a:	6f02 c2d8      	ld	0xc2d8,r2
    690e:	6107 c2ae      	ld	r7,0xc2ae
    6912:	5f00 3bae      	call	0x3bae
    6916:	6f02 c2da      	ld	0xc2da,r2
    691a:	4c01 c233 2020 	cpb	0xc233,#0x20
    6920:	ee07           	jr	ne,0x6930
    6922:	a1e2           	ld	r2,r14
    6924:	0302 0020      	sub	r2,#0x20
    6928:	8122           	add	r2,r2
    692a:	6123 a5f0      	ld	r3,0xa5f0(r2)
    692e:	e806           	jr	t,0x693c
    6930:	a1e2           	ld	r2,r14
    6932:	0302 0020      	sub	r2,#0x20
    6936:	8122           	add	r2,r2
    6938:	6123 f410      	ld	r3,0xf410(r2)
    693c:	6f03 c296      	ld	0xc296,r3
    6940:	4d08 c2e4      	clr	0xc2e4
    6944:	4d08 c2e2      	clr	0xc2e2
    6948:	5f00 69f0      	call	0x69f0
    694c:	4c04 c231      	testb	0xc231
    6950:	e603           	jr	eq,0x6958
    6952:	610b c2d2      	ld	r11,0xc2d2
    6956:	e804           	jr	t,0x6960
    6958:	610b c316      	ld	r11,0xc316
    695c:	6f0b c2d0      	ld	0xc2d0,r11
    6960:	6102 c318      	ld	r2,0xc318
    6964:	6f02 c2d2      	ld	0xc2d2,r2
    6968:	5f00 6a9a      	call	0x6a9a
    696c:	6107 c2d0      	ld	r7,0xc2d0
    6970:	5f00 3b74      	call	0x3b74
    6974:	6f02 c2d8      	ld	0xc2d8,r2
    6978:	6107 c2d2      	ld	r7,0xc2d2
    697c:	5f00 3bae      	call	0x3bae
    6980:	6f02 c2da      	ld	0xc2da,r2
    6984:	bdc1           	ldk	r12,#0x1
    6986:	5f00 69f0      	call	0x69f0
    698a:	a12d           	ld	r13,r2
    698c:	5f00 6a9a      	call	0x6a9a
    6990:	0b0d 0001      	cp	r13,#0x1
    6994:	e602           	jr	eq,0x699a
    6996:	8dc4           	test	r12
    6998:	e607           	jr	eq,0x69a8
    699a:	6107 c2d0      	ld	r7,0xc2d0
    699e:	6106 c2d2      	ld	r6,0xc2d2
    69a2:	5f00 4260      	call	0x4260
    69a6:	e806           	jr	t,0x69b4
    69a8:	6107 c2d0      	ld	r7,0xc2d0
    69ac:	6106 c2d2      	ld	r6,0xc2d2
    69b0:	5f00 41b2      	call	0x41b2
    69b4:	bdc0           	ldk	r12,#0x0
    69b6:	0b0d 0003      	cp	r13,#0x3
    69ba:	eee5           	jr	ne,0x6986
    69bc:	6f0b c2d0      	ld	0xc2d0,r11
    69c0:	6102 c318      	ld	r2,0xc318
    69c4:	6f02 c2d2      	ld	0xc2d2,r2
    69c8:	5f00 6a9a      	call	0x6a9a
    69cc:	6107 c2d0      	ld	r7,0xc2d0
    69d0:	6106 c2d2      	ld	r6,0xc2d2
    69d4:	5f00 4260      	call	0x4260
    69d8:	600f c238      	ldb	rl7,0xc238
    69dc:	b170           	extsb	r7
    69de:	5f00 7212      	call	0x7212
    69e2:	a1a2           	ld	r2,r10
    69e4:	6e0a c28a      	ldb	0xc28a,rl2
    69e8:	1cf1 0a04      	ldm	r10,@r15,#0x5
    69ec:	a9f9           	inc	r15,#0xa
    69ee:	9e08           	ret	t
    69f0:	abfb           	dec	r15,#0xc
    69f2:	2ff9           	ld	@r15,r9
    69f4:	6102 c296      	ld	r2,0xc296
    69f8:	202a           	ldb	rl2,@r2
    69fa:	b120           	extsb	r2
    69fc:	a121           	ld	r1,r2
    69fe:	6900 c296      	inc	0xc296,#0x1
    6a02:	b329 fffd      	sra	r2,#0x3
    6a06:	0702 0003      	and	r2,#0x3
    6a0a:	a127           	ld	r7,r2
    6a0c:	a112           	ld	r2,r1
    6a0e:	0702 0003      	and	r2,#0x3
    6a12:	a129           	ld	r9,r2
    6a14:	a112           	ld	r2,r1
    6a16:	0702 00c0      	and	r2,#0xc0
    6a1a:	b329 fffa      	sra	r2,#0x6
    6a1e:	a126           	ld	r6,r2
    6a20:	bd50           	ldk	r5,#0x0
    6a22:	e81d           	jr	t,0x6a5e
    6a24:	6102 c296      	ld	r2,0xc296
    6a28:	202a           	ldb	rl2,@r2
    6a2a:	b120           	extsb	r2
    6a2c:	a124           	ld	r4,r2
    6a2e:	6900 c296      	inc	0xc296,#0x1
    6a32:	0702 0038      	and	r2,#0x38
    6a36:	a153           	ld	r3,r5
    6a38:	ab30           	dec	r3,#0x1
    6a3a:	b32b 0300      	sda	r2,r3
    6a3e:	8527           	or	r7,r2
    6a40:	a142           	ld	r2,r4
    6a42:	0702 0007      	and	r2,#0x7
    6a46:	7653 0002      	lda	r3,0x2(r5)
    6a4a:	b32b 0300      	sda	r2,r3
    6a4e:	8529           	or	r9,r2
    6a50:	a142           	ld	r2,r4
    6a52:	b329 fffa      	sra	r2,#0x6
    6a56:	0702 0003      	and	r2,#0x3
    6a5a:	a126           	ld	r6,r2
    6a5c:	a952           	inc	r5,#0x3
    6a5e:	8d64           	test	r6
    6a60:	e6e1           	jr	eq,0x6a24
    6a62:	a715           	bit	r1,#0x5
    6a64:	e603           	jr	eq,0x6a6c
    6a66:	a172           	ld	r2,r7
    6a68:	8d22           	neg	r2
    6a6a:	a127           	ld	r7,r2
    6a6c:	a712           	bit	r1,#0x2
    6a6e:	e603           	jr	eq,0x6a76
    6a70:	a192           	ld	r2,r9
    6a72:	8d22           	neg	r2
    6a74:	a129           	ld	r9,r2
    6a76:	6102 c2e2      	ld	r2,0xc2e2
    6a7a:	8372           	sub	r2,r7
    6a7c:	6f02 c2e2      	ld	0xc2e2,r2
    6a80:	6f02 c2d0      	ld	0xc2d0,r2
    6a84:	6102 c2e4      	ld	r2,0xc2e4
    6a88:	8392           	sub	r2,r9
    6a8a:	6f02 c2e4      	ld	0xc2e4,r2
    6a8e:	6f02 c2d2      	ld	0xc2d2,r2
    6a92:	a162           	ld	r2,r6
    6a94:	21f9           	ld	r9,@r15
    6a96:	a9fb           	inc	r15,#0xc
    6a98:	9e08           	ret	t
    6a9a:	abfd           	dec	r15,#0xe
    6a9c:	5cf9 0a04 0004 	ldm	0x4(r15),r10,#0x5
    6aa2:	610e c2d0      	ld	r14,0xc2d0
    6aa6:	610d c2d2      	ld	r13,0xc2d2
    6aaa:	0b0e 0000      	cp	r14,#0x0
    6aae:	e102           	jr	lt,0x6ab4
    6ab0:	bdb1           	ldk	r11,#0x1
    6ab2:	e805           	jr	t,0x6abe
    6ab4:	210b ffff      	ld	r11,#0xffff
    6ab8:	a1e2           	ld	r2,r14
    6aba:	8d22           	neg	r2
    6abc:	a12e           	ld	r14,r2
    6abe:	0b0d 0000      	cp	r13,#0x0
    6ac2:	e102           	jr	lt,0x6ac8
    6ac4:	bda1           	ldk	r10,#0x1
    6ac6:	e805           	jr	t,0x6ad2
    6ac8:	210a ffff      	ld	r10,#0xffff
    6acc:	a1d2           	ld	r2,r13
    6ace:	8d22           	neg	r2
    6ad0:	a12d           	ld	r13,r2
    6ad2:	a1e7           	ld	r7,r14
    6ad4:	b16a           	exts	rr6
    6ad6:	6103 c312      	ld	r3,0xc312
    6ada:	b12a           	exts	rr2
    6adc:	9824           	multl	rq4,rr2
    6ade:	1df6           	ldl	@r15,rr6
    6ae0:	1606 0000 0032 	addl	rr6,#0x32
    6ae6:	b147           	extsl	rq4
    6ae8:	1a04 0000 0064 	divl	rq4,#0x64
    6aee:	a17e           	ld	r14,r7
    6af0:	a1d7           	ld	r7,r13
    6af2:	b16a           	exts	rr6
    6af4:	6103 c314      	ld	r3,0xc314
    6af8:	b12a           	exts	rr2
    6afa:	9824           	multl	rq4,rr2
    6afc:	1df6           	ldl	@r15,rr6
    6afe:	1606 0000 0032 	addl	rr6,#0x32
    6b04:	b147           	extsl	rq4
    6b06:	1a04 0000 0064 	divl	rq4,#0x64
    6b0c:	a17d           	ld	r13,r7
    6b0e:	4d04 c31c      	test	0xc31c
    6b12:	ee03           	jr	ne,0x6b1a
    6b14:	4d04 c31a      	test	0xc31a
    6b18:	e62b           	jr	eq,0x6b70
    6b1a:	a1ec           	ld	r12,r14
    6b1c:	2106 005a      	ld	r6,#0x5a
    6b20:	4306 c31a      	sub	r6,0xc31a
    6b24:	a1e7           	ld	r7,r14
    6b26:	5f00 768e      	call	0x768e
    6b2a:	a1b1           	ld	r1,r11
    6b2c:	9920           	mult	rr0,r2
    6b2e:	a11e           	ld	r14,r1
    6b30:	6106 c31a      	ld	r6,0xc31a
    6b34:	4106 c31c      	add	r6,0xc31c
    6b38:	a1d7           	ld	r7,r13
    6b3a:	5f00 768e      	call	0x768e
    6b3e:	a1a1           	ld	r1,r10
    6b40:	9920           	mult	rr0,r2
    6b42:	831e           	sub	r14,r1
    6b44:	a1c7           	ld	r7,r12
    6b46:	6106 c31a      	ld	r6,0xc31a
    6b4a:	5f00 768e      	call	0x768e
    6b4e:	a1b1           	ld	r1,r11
    6b50:	9920           	mult	rr0,r2
    6b52:	a11c           	ld	r12,r1
    6b54:	2106 005a      	ld	r6,#0x5a
    6b58:	4306 c31a      	sub	r6,0xc31a
    6b5c:	4306 c31c      	sub	r6,0xc31c
    6b60:	a1d7           	ld	r7,r13
    6b62:	5f00 768e      	call	0x768e
    6b66:	a1a1           	ld	r1,r10
    6b68:	9920           	mult	rr0,r2
    6b6a:	81c1           	add	r1,r12
    6b6c:	a11d           	ld	r13,r1
    6b6e:	e806           	jr	t,0x6b7c
    6b70:	a1b3           	ld	r3,r11
    6b72:	99e2           	mult	rr2,r14
    6b74:	a13e           	ld	r14,r3
    6b76:	a1a3           	ld	r3,r10
    6b78:	99d2           	mult	rr2,r13
    6b7a:	a13d           	ld	r13,r3
    6b7c:	6107 c2d8      	ld	r7,0xc2d8
    6b80:	81e7           	add	r7,r14
    6b82:	5f00 3b58      	call	0x3b58
    6b86:	6f02 c2d0      	ld	0xc2d0,r2
    6b8a:	6107 c2da      	ld	r7,0xc2da
    6b8e:	81d7           	add	r7,r13
    6b90:	5f00 3b92      	call	0x3b92
    6b94:	6f02 c2d2      	ld	0xc2d2,r2
    6b98:	5cf1 0a04 0004 	ldm	r10,0x4(r15),#0x5
    6b9e:	a9fd           	inc	r15,#0xe
    6ba0:	9e08           	ret	t
    6ba2:	abf1           	dec	r15,#0x2
    6ba4:	2ffe           	ld	@r15,r14
    6ba6:	a17e           	ld	r14,r7
    6ba8:	4c01 c233 0101 	cpb	0xc233,#0x1
    6bae:	ee23           	jr	ne,0x6bf6
    6bb0:	0b07 0021      	cp	r7,#0x21
    6bb4:	e106           	jr	lt,0x6bc2
    6bb6:	0b07 002d      	cp	r7,#0x2d
    6bba:	ea03           	jr	gt,0x6bc2
    6bbc:	010e 0060      	add	r14,#0x60
    6bc0:	e81a           	jr	t,0x6bf6
    6bc2:	0b0e 003a      	cp	r14,#0x3a
    6bc6:	e106           	jr	lt,0x6bd4
    6bc8:	0b0e 0060      	cp	r14,#0x60
    6bcc:	ea03           	jr	gt,0x6bd4
    6bce:	010e 0054      	add	r14,#0x54
    6bd2:	e811           	jr	t,0x6bf6
    6bd4:	0b0e 0061      	cp	r14,#0x61
    6bd8:	e106           	jr	lt,0x6be6
    6bda:	0b0e 007a      	cp	r14,#0x7a
    6bde:	ea03           	jr	gt,0x6be6
    6be0:	030e 0020      	sub	r14,#0x20
    6be4:	e808           	jr	t,0x6bf6
    6be6:	0b0e 007b      	cp	r14,#0x7b
    6bea:	e105           	jr	lt,0x6bf6
    6bec:	0b0e 007e      	cp	r14,#0x7e
    6bf0:	ea02           	jr	gt,0x6bf6
    6bf2:	010e 0039      	add	r14,#0x39
    6bf6:	4c01 c232 0303 	cpb	0xc232,#0x3
    6bfc:	ee06           	jr	ne,0x6c0a
    6bfe:	4c01 c292 0202 	cpb	0xc292,#0x2
    6c04:	e202           	jr	le,0x6c0a
    6c06:	030e 0020      	sub	r14,#0x20
    6c0a:	600a c252      	ldb	rl2,0xc252
    6c0e:	b120           	extsb	r2
    6c10:	a1e1           	ld	r1,r14
    6c12:	9920           	mult	rr0,r2
    6c14:	4101 c25e      	add	r1,0xc25e
    6c18:	a112           	ld	r2,r1
    6c1a:	21fe           	ld	r14,@r15
    6c1c:	a9f1           	inc	r15,#0x2
    6c1e:	9e08           	ret	t
    6c20:	abf1           	dec	r15,#0x2
    6c22:	2ffe           	ld	@r15,r14
    6c24:	a17e           	ld	r14,r7
    6c26:	5f00 16da      	call	0x16da
    6c2a:	4c04 c20c      	testb	0xc20c
    6c2e:	e605           	jr	eq,0x6c3a
    6c30:	600f c20c      	ldb	rl7,0xc20c
    6c34:	b170           	extsb	r7
    6c36:	5f00 14c8      	call	0x14c8
    6c3a:	21fe           	ld	r14,@r15
    6c3c:	a9f1           	inc	r15,#0x2
    6c3e:	9e08           	ret	t
    6c40:	6c68 6c74      	exb	rl0,0x6c74(r6)
    6c44:	6c9a 6c6e      	exb	rl2,0x6c6e(r9)
    6c48:	6c9a 6cac      	exb	rl2,0x6cac(r9)
    6c4c:	abf1           	dec	r15,#0x2
    6c4e:	2ffe           	ld	@r15,r14
    6c50:	a17e           	ld	r14,r7
    6c52:	5f00 16f8      	call	0x16f8
    6c56:	a1e2           	ld	r2,r14
    6c58:	ab27           	dec	r2,#0x8
    6c5a:	0b02 0005      	cp	r2,#0x5
    6c5e:	eb0a           	jr	ugt,0x6c74
    6c60:	b320           	rl	r2,#0x1
    6c62:	6122 6c40      	ld	r2,0x6c40(r2)
    6c66:	1e28           	jp	t,@r2
    6c68:	6b00 c2be      	dec	0xc2be,#0x1
    6c6c:	e81b           	jr	t,0x6ca4
    6c6e:	6b00 c2c0      	dec	0xc2c0,#0x1
    6c72:	e818           	jr	t,0x6ca4
    6c74:	a1e7           	ld	r7,r14
    6c76:	5f00 78d8      	call	0x78d8
    6c7a:	8d24           	test	r2
    6c7c:	e639           	jr	eq,0x6cf0
    6c7e:	600a c22b      	ldb	rl2,0xc22b
    6c82:	b120           	extsb	r2
    6c84:	4b02 c2be      	cp	r2,0xc2be
    6c88:	ee0b           	jr	ne,0x6ca0
    6c8a:	4d05 c2be 0001 	ld	0xc2be,#0x1
    6c90:	600a c206      	ldb	rl2,0xc206
    6c94:	b120           	extsb	r2
    6c96:	a725           	bit	r2,#0x5
    6c98:	e605           	jr	eq,0x6ca4
    6c9a:	6900 c2c0      	inc	0xc2c0,#0x1
    6c9e:	e802           	jr	t,0x6ca4
    6ca0:	6900 c2be      	inc	0xc2be,#0x1
    6ca4:	4d01 c2be 0001 	cp	0xc2be,#0x1
    6caa:	e903           	jr	ge,0x6cb2
    6cac:	4d05 c2be 0001 	ld	0xc2be,#0x1
    6cb2:	6102 c2c0      	ld	r2,0xc2c0
    6cb6:	4b02 c2b6      	cp	r2,0xc2b6
    6cba:	e904           	jr	ge,0x6cc4
    6cbc:	6102 c2b6      	ld	r2,0xc2b6
    6cc0:	6f02 c2c0      	ld	0xc2c0,r2
    6cc4:	4d01 c2c0 0018 	cp	0xc2c0,#0x18
    6cca:	e212           	jr	le,0x6cf0
    6ccc:	6b00 c2c0      	dec	0xc2c0,#0x1
    6cd0:	4d01 c2b6 0018 	cp	0xc2b6,#0x18
    6cd6:	ee0c           	jr	ne,0x6cf0
    6cd8:	2107 0017      	ld	r7,#0x17
    6cdc:	bd61           	ldk	r6,#0x1
    6cde:	5f00 6f72      	call	0x6f72
    6ce2:	5f00 6f8c      	call	0x6f8c
    6ce6:	2107 0018      	ld	r7,#0x18
    6cea:	bd61           	ldk	r6,#0x1
    6cec:	5f00 6f72      	call	0x6f72
    6cf0:	21fe           	ld	r14,@r15
    6cf2:	a9f1           	inc	r15,#0x2
    6cf4:	9e08           	ret	t
    6cf6:	abf7           	dec	r15,#0x8
    6cf8:	6ffe 0006      	ld	0x6(r15),r14
    6cfc:	a17e           	ld	r14,r7
    6cfe:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    6d04:	4c01 c233 2020 	cpb	0xc233,#0x20
    6d0a:	e104           	jr	lt,0x6d14
    6d0c:	4c04 c244      	testb	0xc244
    6d10:	5e06 6e7a      	jp	eq,0x6e7a
    6d14:	4c04 c244      	testb	0xc244
    6d18:	e603           	jr	eq,0x6d20
    6d1a:	2102 c2b0      	ld	r2,#0xc2b0
    6d1e:	e802           	jr	t,0x6d24
    6d20:	2102 c2ac      	ld	r2,#0xc2ac
    6d24:	2ff2           	ld	@r15,r2
    6d26:	4c04 c244      	testb	0xc244
    6d2a:	e603           	jr	eq,0x6d32
    6d2c:	2102 c2b2      	ld	r2,#0xc2b2
    6d30:	e802           	jr	t,0x6d36
    6d32:	2102 c2ae      	ld	r2,#0xc2ae
    6d36:	6ff2 0002      	ld	0x2(r15),r2
    6d3a:	a1e7           	ld	r7,r14
    6d3c:	5f00 78d8      	call	0x78d8
    6d40:	8d24           	test	r2
    6d42:	ee0f           	jr	ne,0x6d62
    6d44:	4c04 c22a      	testb	0xc22a
    6d48:	e604           	jr	eq,0x6d52
    6d4a:	4c01 c252 0606 	cpb	0xc252,#0x6
    6d50:	ee08           	jr	ne,0x6d62
    6d52:	21f7           	ld	r7,@r15
    6d54:	61f6 0002      	ld	r6,0x2(r15)
    6d58:	a1e5           	ld	r5,r14
    6d5a:	5f00 6464      	call	0x6464
    6d5e:	5e08 6e80      	jp	t,0x6e80
    6d62:	21f7           	ld	r7,@r15
    6d64:	61f6 0002      	ld	r6,0x2(r15)
    6d68:	8355           	sub	r5,r5
    6d6a:	5f00 6464      	call	0x6464
    6d6e:	21f7           	ld	r7,@r15
    6d70:	2177           	ld	r7,@r7
    6d72:	61f6 0002      	ld	r6,0x2(r15)
    6d76:	2166           	ld	r6,@r6
    6d78:	5f00 417c      	call	0x417c
    6d7c:	8d24           	test	r2
    6d7e:	e603           	jr	eq,0x6d86
    6d80:	8377           	sub	r7,r7
    6d82:	bd67           	ldk	r6,#0x7
    6d84:	e804           	jr	t,0x6d8e
    6d86:	6107 c304      	ld	r7,0xc304
    6d8a:	6106 c302      	ld	r6,0xc302
    6d8e:	5f00 74a6      	call	0x74a6
    6d92:	5f00 6f96      	call	0x6f96
    6d96:	4c01 c23e 0101 	cpb	0xc23e,#0x1
    6d9c:	ee03           	jr	ne,0x6da4
    6d9e:	bd72           	ldk	r7,#0x2
    6da0:	5f00 152a      	call	0x152a
    6da4:	a1e7           	ld	r7,r14
    6da6:	5f00 6ba2      	call	0x6ba2
    6daa:	6ff2 0004      	ld	0x4(r15),r2
    6dae:	a127           	ld	r7,r2
    6db0:	5f00 18a8      	call	0x18a8
    6db4:	4c01 c23e 0101 	cpb	0xc23e,#0x1
    6dba:	ee03           	jr	ne,0x6dc2
    6dbc:	bd71           	ldk	r7,#0x1
    6dbe:	5f00 152a      	call	0x152a
    6dc2:	5f00 6fb6      	call	0x6fb6
    6dc6:	4c01 c232 0202 	cpb	0xc232,#0x2
    6dcc:	ee4f           	jr	ne,0x6e6c
    6dce:	21f7           	ld	r7,@r15
    6dd0:	2177           	ld	r7,@r7
    6dd2:	5f00 77c0      	call	0x77c0
    6dd6:	6f02 c2d0      	ld	0xc2d0,r2
    6dda:	61f7 0002      	ld	r7,0x2(r15)
    6dde:	2177           	ld	r7,@r7
    6de0:	5f00 77d4      	call	0x77d4
    6de4:	6f02 c2d2      	ld	0xc2d2,r2
    6de8:	ab20           	dec	r2,#0x1
    6dea:	a123           	ld	r3,r2
    6dec:	1902 000a      	mult	rr2,#0xa
    6df0:	6102 c2d0      	ld	r2,0xc2d0
    6df4:	ab20           	dec	r2,#0x1
    6df6:	b329 fffd      	sra	r2,#0x3
    6dfa:	8123           	add	r3,r2
    6dfc:	6f03 c2d8      	ld	0xc2d8,r3
    6e00:	6102 c2d0      	ld	r2,0xc2d0
    6e04:	ab20           	dec	r2,#0x1
    6e06:	a123           	ld	r3,r2
    6e08:	8d32           	neg	r3
    6e0a:	0103 0007      	add	r3,#0x7
    6e0e:	0703 0007      	and	r3,#0x7
    6e12:	6f03 c2d2      	ld	0xc2d2,r3
    6e16:	bd21           	ldk	r2,#0x1
    6e18:	6103 c2d2      	ld	r3,0xc2d2
    6e1c:	b32b 0300      	sda	r2,r3
    6e20:	0902 ffff      	xor	r2,#0xffff
    6e24:	6103 c2d8      	ld	r3,0xc2d8
    6e28:	463a e200      	andb	rl2,0xe200(r3)
    6e2c:	6e3a e200      	ldb	0xe200(r3),rl2
    6e30:	4d01 c304 0000 	cp	0xc304,#0x0
    6e36:	bd20           	ldk	r2,#0x0
    6e38:	af26           	tcc	eq,r2
    6e3a:	6103 c2d2      	ld	r3,0xc2d2
    6e3e:	b32b 0300      	sda	r2,r3
    6e42:	6103 c2d8      	ld	r3,0xc2d8
    6e46:	443a e200      	orb	rl2,0xe200(r3)
    6e4a:	6e3a e200      	ldb	0xe200(r3),rl2
    6e4e:	21f7           	ld	r7,@r15
    6e50:	2177           	ld	r7,@r7
    6e52:	61f6 0002      	ld	r6,0x2(r15)
    6e56:	2166           	ld	r6,@r6
    6e58:	5f00 417c      	call	0x417c
    6e5c:	8d24           	test	r2
    6e5e:	ee06           	jr	ne,0x6e6c
    6e60:	4d04 c304      	test	0xc304
    6e64:	ee03           	jr	ne,0x6e6c
    6e66:	4c05 c248 0101 	ldb	0xc248,#0x1
    6e6c:	21f7           	ld	r7,@r15
    6e6e:	61f6 0002      	ld	r6,0x2(r15)
    6e72:	2105 0020      	ld	r5,#0x20
    6e76:	5e08 6d5a      	jp	t,0x6d5a
    6e7a:	a1e7           	ld	r7,r14
    6e7c:	5f00 68d8      	call	0x68d8
    6e80:	61fe 0006      	ld	r14,0x6(r15)
    6e84:	a9f7           	inc	r15,#0x8
    6e86:	9e08           	ret	t
    6e88:	abf3           	dec	r15,#0x4
    6e8a:	1cf9 0d01      	ldm	@r15,r13,#0x2
    6e8e:	a17e           	ld	r14,r7
    6e90:	a16d           	ld	r13,r6
    6e92:	bd53           	ldk	r5,#0x3
    6e94:	5f00 678a      	call	0x678a
    6e98:	1cf1 0d01      	ldm	r13,@r15,#0x2
    6e9c:	a9f3           	inc	r15,#0x4
    6e9e:	9e08           	ret	t
    6ea0:	abf3           	dec	r15,#0x4
    6ea2:	1cf9 0d01      	ldm	@r15,r13,#0x2
    6ea6:	a17e           	ld	r14,r7
    6ea8:	a16d           	ld	r13,r6
    6eaa:	bd52           	ldk	r5,#0x2
    6eac:	5f00 678a      	call	0x678a
    6eb0:	1cf1 0d01      	ldm	r13,@r15,#0x2
    6eb4:	a9f3           	inc	r15,#0x4
    6eb6:	9e08           	ret	t
    6eb8:	abf1           	dec	r15,#0x2
    6eba:	2ffe           	ld	@r15,r14
    6ebc:	bd63           	ldk	r6,#0x3
    6ebe:	5f00 67ea      	call	0x67ea
    6ec2:	21fe           	ld	r14,@r15
    6ec4:	a9f1           	inc	r15,#0x2
    6ec6:	9e08           	ret	t
    6ec8:	abf1           	dec	r15,#0x2
    6eca:	2ffe           	ld	@r15,r14
    6ecc:	bd62           	ldk	r6,#0x2
    6ece:	5f00 67ea      	call	0x67ea
    6ed2:	21fe           	ld	r14,@r15
    6ed4:	a9f1           	inc	r15,#0x2
    6ed6:	9e08           	ret	t
    6ed8:	abf7           	dec	r15,#0x8
    6eda:	5cf9 0c02 0002 	ldm	0x2(r15),r12,#0x3
    6ee0:	a17e           	ld	r14,r7
    6ee2:	4c05 c244 0101 	ldb	0xc244,#0x1
    6ee8:	0df8           	clr	@r15
    6eea:	76f7 0000      	lda	r7,0x0(r15)
    6eee:	2106 8001      	ld	r6,#0x8001
    6ef2:	2105 7fff      	ld	r5,#0x7fff
    6ef6:	bd41           	ldk	r4,#0x1
    6ef8:	a143           	ld	r3,r4
    6efa:	5f00 7390      	call	0x7390
    6efe:	21fd           	ld	r13,@r15
    6f00:	0b0d 0000      	cp	r13,#0x0
    6f04:	e213           	jr	le,0x6f2c
    6f06:	600a c22a      	ldb	rl2,0xc22a
    6f0a:	b120           	extsb	r2
    6f0c:	a12c           	ld	r12,r2
    6f0e:	4c08 c22a      	clrb	0xc22a
    6f12:	e803           	jr	t,0x6f1a
    6f14:	a1e7           	ld	r7,r14
    6f16:	5f00 6cf6      	call	0x6cf6
    6f1a:	a1d2           	ld	r2,r13
    6f1c:	abd0           	dec	r13,#0x1
    6f1e:	8d24           	test	r2
    6f20:	eef9           	jr	ne,0x6f14
    6f22:	a1c2           	ld	r2,r12
    6f24:	6e0a c22a      	ldb	0xc22a,rl2
    6f28:	4c08 c244      	clrb	0xc244
    6f2c:	5cf1 0c02 0002 	ldm	r12,0x2(r15),#0x3
    6f32:	a9f7           	inc	r15,#0x8
    6f34:	9e08           	ret	t
    6f36:	abf1           	dec	r15,#0x2
    6f38:	2ffe           	ld	@r15,r14
    6f3a:	a17e           	ld	r14,r7
    6f3c:	600a c201      	ldb	rl2,0xc201
    6f40:	b120           	extsb	r2
    6f42:	0702 000e      	and	r2,#0xe
    6f46:	b329 ffff      	sra	r2,#0x1
    6f4a:	0b02 0003      	cp	r2,#0x3
    6f4e:	e602           	jr	eq,0x6f54
    6f50:	8322           	sub	r2,r2
    6f52:	e80c           	jr	t,0x6f6c
    6f54:	600a c20b      	ldb	rl2,0xc20b
    6f58:	b120           	extsb	r2
    6f5a:	0702 001f      	and	r2,#0x1f
    6f5e:	8b2e           	cp	r14,r2
    6f60:	bd20           	ldk	r2,#0x0
    6f62:	af26           	tcc	eq,r2
    6f64:	6e0a c23c      	ldb	0xc23c,rl2
    6f68:	a0aa           	ldb	rl2,rl2
    6f6a:	b120           	extsb	r2
    6f6c:	21fe           	ld	r14,@r15
    6f6e:	a9f1           	inc	r15,#0x2
    6f70:	9e08           	ret	t
    6f72:	abf3           	dec	r15,#0x4
    6f74:	1df6           	ldl	@r15,rr6
    6f76:	2105 0066      	ld	r5,#0x66
    6f7a:	5f00 7438      	call	0x7438
    6f7e:	a9f3           	inc	r15,#0x4
    6f80:	9e08           	ret	t
    6f82:	2107 71f6      	ld	r7,#0x71f6
    6f86:	5f00 688a      	call	0x688a
    6f8a:	9e08           	ret	t
    6f8c:	2107 71fc      	ld	r7,#0x71fc
    6f90:	5f00 688a      	call	0x688a
    6f94:	9e08           	ret	t
    6f96:	4c01 c22d 0101 	cpb	0xc22d,#0x1
    6f9c:	e609           	jr	eq,0x6fb0
    6f9e:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    6fa4:	ee07           	jr	ne,0x6fb4
    6fa6:	600a c298      	ldb	rl2,0xc298
    6faa:	b120           	extsb	r2
    6fac:	a722           	bit	r2,#0x2
    6fae:	e602           	jr	eq,0x6fb4
    6fb0:	5f00 13f4      	call	0x13f4
    6fb4:	9e08           	ret	t
    6fb6:	4c01 c22d 0101 	cpb	0xc22d,#0x1
    6fbc:	e609           	jr	eq,0x6fd0
    6fbe:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    6fc4:	ee07           	jr	ne,0x6fd4
    6fc6:	600a c298      	ldb	rl2,0xc298
    6fca:	b120           	extsb	r2
    6fcc:	a722           	bit	r2,#0x2
    6fce:	e602           	jr	eq,0x6fd4
    6fd0:	5f00 13d6      	call	0x13d6
    6fd4:	9e08           	ret	t
    6fd6:	abf1           	dec	r15,#0x2
    6fd8:	2ffe           	ld	@r15,r14
    6fda:	a17e           	ld	r14,r7
    6fdc:	0b07 000d      	cp	r7,#0xd
    6fe0:	e608           	jr	eq,0x6ff2
    6fe2:	0b07 003b      	cp	r7,#0x3b
    6fe6:	e605           	jr	eq,0x6ff2
    6fe8:	600a c23a      	ldb	rl2,0xc23a
    6fec:	b120           	extsb	r2
    6fee:	8b27           	cp	r7,r2
    6ff0:	ee02           	jr	ne,0x6ff6
    6ff2:	bd21           	ldk	r2,#0x1
    6ff4:	e801           	jr	t,0x6ff8
    6ff6:	bd20           	ldk	r2,#0x0
    6ff8:	21fe           	ld	r14,@r15
    6ffa:	a9f1           	inc	r15,#0x2
    6ffc:	9e08           	ret	t
    6ffe:	abf1           	dec	r15,#0x2
    7000:	2ff7           	ld	@r15,r7
    7002:	5f00 7608      	call	0x7608
    7006:	a9f1           	inc	r15,#0x2
    7008:	9e08           	ret	t
    700a:	abf5           	dec	r15,#0x6
    700c:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    7012:	a17e           	ld	r14,r7
    7014:	210d c338      	ld	r13,#0xc338
    7018:	a1e7           	ld	r7,r14
    701a:	0707 00ff      	and	r7,#0xff
    701e:	5f00 790c      	call	0x790c
    7022:	2eda           	ldb	@r13,rl2
    7024:	a9d0           	inc	r13,#0x1
    7026:	5f00 5a1e      	call	0x5a1e
    702a:	a12e           	ld	r14,r2
    702c:	2ff2           	ld	@r15,r2
    702e:	a127           	ld	r7,r2
    7030:	5f00 7868      	call	0x7868
    7034:	8d24           	test	r2
    7036:	eef0           	jr	ne,0x7018
    7038:	a1e7           	ld	r7,r14
    703a:	5f00 6002      	call	0x6002
    703e:	0cd8           	clrb	@r13
    7040:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    7046:	a9f5           	inc	r15,#0x6
    7048:	9e08           	ret	t
    704a:	abf5           	dec	r15,#0x6
    704c:	1cf9 0c02      	ldm	@r15,r12,#0x3
    7050:	4c05 c235 0101 	ldb	0xc235,#0x1
    7056:	4d08 c43a      	clr	0xc43a
    705a:	5f00 5a1e      	call	0x5a1e
    705e:	a12e           	ld	r14,r2
    7060:	0b02 0022      	cp	r2,#0x22
    7064:	e622           	jr	eq,0x70aa
    7066:	0b02 000c      	cp	r2,#0xc
    706a:	ee0b           	jr	ne,0x7082
    706c:	610d c2b0      	ld	r13,0xc2b0
    7070:	610c c2b2      	ld	r12,0xc2b2
    7074:	5f00 4132      	call	0x4132
    7078:	6f0d c2b0      	ld	0xc2b0,r13
    707c:	6f0c c2b2      	ld	0xc2b2,r12
    7080:	e80f           	jr	t,0x70a0
    7082:	0b0e 001a      	cp	r14,#0x1a
    7086:	ee0c           	jr	ne,0x70a0
    7088:	4c05 c253 0101 	ldb	0xc253,#0x1
    708e:	5f00 2f46      	call	0x2f46
    7092:	e806           	jr	t,0x70a0
    7094:	0b02 0036      	cp	r2,#0x36
    7098:	e610           	jr	eq,0x70ba
    709a:	0b02 0037      	cp	r2,#0x37
    709e:	e60f           	jr	eq,0x70be
    70a0:	4c08 c235      	clrb	0xc235
    70a4:	82aa           	subb	rl2,rl2
    70a6:	b120           	extsb	r2
    70a8:	e81b           	jr	t,0x70e0
    70aa:	5f00 5a1e      	call	0x5a1e
    70ae:	0b02 0030      	cp	r2,#0x30
    70b2:	eef0           	jr	ne,0x7094
    70b4:	210e 00c9      	ld	r14,#0xc9
    70b8:	e804           	jr	t,0x70c2
    70ba:	bde0           	ldk	r14,#0x0
    70bc:	e802           	jr	t,0x70c2
    70be:	210e 00ca      	ld	r14,#0xca
    70c2:	5f00 5a1e      	call	0x5a1e
    70c6:	0b02 0067      	cp	r2,#0x67
    70ca:	eeea           	jr	ne,0x70a0
    70cc:	8de4           	test	r14
    70ce:	e605           	jr	eq,0x70da
    70d0:	a1e2           	ld	r2,r14
    70d2:	0502 2000      	or	r2,#0x2000
    70d6:	6f02 c43a      	ld	0xc43a,r2
    70da:	4c08 c235      	clrb	0xc235
    70de:	bd21           	ldk	r2,#0x1
    70e0:	1cf1 0c02      	ldm	r12,@r15,#0x3
    70e4:	a9f5           	inc	r15,#0x6
    70e6:	9e08           	ret	t
    70e8:	abf5           	dec	r15,#0x6
    70ea:	1cf9 0c02      	ldm	@r15,r12,#0x3
    70ee:	a17e           	ld	r14,r7
    70f0:	bdc1           	ldk	r12,#0x1
    70f2:	a172           	ld	r2,r7
    70f4:	0302 0030      	sub	r2,#0x30
    70f8:	a12d           	ld	r13,r2
    70fa:	0b0e 0030      	cp	r14,#0x30
    70fe:	bd20           	ldk	r2,#0x0
    7100:	af26           	tcc	eq,r2
    7102:	6e0a c438      	ldb	0xc438,rl2
    7106:	5f00 5a1e      	call	0x5a1e
    710a:	a12e           	ld	r14,r2
    710c:	0b02 0030      	cp	r2,#0x30
    7110:	e907           	jr	ge,0x7120
    7112:	0b0e 002e      	cp	r14,#0x2e
    7116:	ee17           	jr	ne,0x7146
    7118:	5f00 5a1e      	call	0x5a1e
    711c:	a12e           	ld	r14,r2
    711e:	e810           	jr	t,0x7140
    7120:	0b0e 0039      	cp	r14,#0x39
    7124:	eaf6           	jr	gt,0x7112
    7126:	bdc0           	ldk	r12,#0x0
    7128:	a1d3           	ld	r3,r13
    712a:	1902 000a      	mult	rr2,#0xa
    712e:	81e3           	add	r3,r14
    7130:	0303 0030      	sub	r3,#0x30
    7134:	a13d           	ld	r13,r3
    7136:	e8e7           	jr	t,0x7106
    7138:	0b0e 0039      	cp	r14,#0x39
    713c:	ea04           	jr	gt,0x7146
    713e:	e8ec           	jr	t,0x7118
    7140:	0b0e 0030      	cp	r14,#0x30
    7144:	e9f9           	jr	ge,0x7138
    7146:	8dd4           	test	r13
    7148:	ee04           	jr	ne,0x7152
    714a:	8dc4           	test	r12
    714c:	e602           	jr	eq,0x7152
    714e:	4c08 c438      	clrb	0xc438
    7152:	a1e7           	ld	r7,r14
    7154:	5f00 6002      	call	0x6002
    7158:	a1d2           	ld	r2,r13
    715a:	1cf1 0c02      	ldm	r12,@r15,#0x3
    715e:	a9f5           	inc	r15,#0x6
    7160:	9e08           	ret	t
    7162:	abf3           	dec	r15,#0x4
    7164:	1cf9 0d01      	ldm	@r15,r13,#0x2
    7168:	4d08 c2b4      	clr	0xc2b4
    716c:	210e d200      	ld	r14,#0xd200
    7170:	210d d2ca      	ld	r13,#0xd2ca
    7174:	bd71           	ldk	r7,#0x1
    7176:	5f00 532c      	call	0x532c
    717a:	8d24           	test	r2
    717c:	ee13           	jr	ne,0x71a4
    717e:	6102 c43a      	ld	r2,0xc43a
    7182:	2fe2           	ld	@r14,r2
    7184:	a9e1           	inc	r14,#0x2
    7186:	bd71           	ldk	r7,#0x1
    7188:	5f00 532c      	call	0x532c
    718c:	8d24           	test	r2
    718e:	ee0a           	jr	ne,0x71a4
    7190:	6102 c43a      	ld	r2,0xc43a
    7194:	2fd2           	ld	@r13,r2
    7196:	a9d1           	inc	r13,#0x2
    7198:	6900 c2b4      	inc	0xc2b4,#0x1
    719c:	4d01 c2b4 0064 	cp	0xc2b4,#0x64
    71a2:	eee8           	jr	ne,0x7174
    71a4:	4d01 c43c 0001 	cp	0xc43c,#0x1
    71aa:	ee05           	jr	ne,0x71b6
    71ac:	bd71           	ldk	r7,#0x1
    71ae:	5f00 532c      	call	0x532c
    71b2:	8d24           	test	r2
    71b4:	e6fb           	jr	eq,0x71ac
    71b6:	1cf1 0d01      	ldm	r13,@r15,#0x2
    71ba:	a9f3           	inc	r15,#0x4
    71bc:	9e08           	ret	t
    71be:	abf5           	dec	r15,#0x6
    71c0:	1cf9 0c02      	ldm	@r15,r12,#0x3
    71c4:	a17e           	ld	r14,r7
    71c6:	a16d           	ld	r13,r6
    71c8:	a15c           	ld	r12,r5
    71ca:	e80a           	jr	t,0x71e0
    71cc:	0ce1 0d0d      	cpb	@r14,#0xd
    71d0:	e602           	jr	eq,0x71d6
    71d2:	8bce           	cp	r14,r12
    71d4:	ee04           	jr	ne,0x71de
    71d6:	bd7d           	ldk	r7,#0xd
    71d8:	5f00 6002      	call	0x6002
    71dc:	e807           	jr	t,0x71ec
    71de:	a9e0           	inc	r14,#0x1
    71e0:	5f00 5a1e      	call	0x5a1e
    71e4:	2eea           	ldb	@r14,rl2
    71e6:	b120           	extsb	r2
    71e8:	8b2d           	cp	r13,r2
    71ea:	eef0           	jr	ne,0x71cc
    71ec:	0ce8           	clrb	@r14
    71ee:	1cf1 0c02      	ldm	r12,@r15,#0x3
    71f2:	a9f5           	inc	r15,#0x6
    71f4:	9e08           	ret	t
    71f6:	5c65           	.word 5c65
    71f8:	5b32 4a00      	div	rr2,0x4a00(r3)
    71fc:	5c65           	.word 5c65
    71fe:	5b4b 00ff      	div	rr11,0xff(r4)
    7202:	abf3           	dec	r15,#0x4
    7204:	1df6           	ldl	@r15,rr6
    7206:	2105 0071      	ld	r5,#0x71
    720a:	5f00 7438      	call	0x7438
    720e:	a9f3           	inc	r15,#0x4
    7210:	9e08           	ret	t
    7212:	abf1           	dec	r15,#0x2
    7214:	2ffe           	ld	@r15,r14
    7216:	a17e           	ld	r14,r7
    7218:	0b07 0001      	cp	r7,#0x1
    721c:	e11c           	jr	lt,0x7256
    721e:	0b07 000b      	cp	r7,#0xb
    7222:	ea19           	jr	gt,0x7256
    7224:	0b07 0009      	cp	r7,#0x9
    7228:	e108           	jr	lt,0x723a
    722a:	a172           	ld	r2,r7
    722c:	ab28           	dec	r2,#0x9
    722e:	a123           	ld	r3,r2
    7230:	1902 000c      	mult	rr2,#0xc
    7234:	0103 c264      	add	r3,#0xc264
    7238:	e808           	jr	t,0x724a
    723a:	a1e2           	ld	r2,r14
    723c:	ab20           	dec	r2,#0x1
    723e:	602a 51e0      	ldb	rl2,0x51e0(r2)
    7242:	b120           	extsb	r2
    7244:	0102 51b2      	add	r2,#0x51b2
    7248:	a123           	ld	r3,r2
    724a:	6f03 c25a      	ld	0xc25a,r3
    724e:	6f03 c258      	ld	0xc258,r3
    7252:	4c08 c25c      	clrb	0xc25c
    7256:	21fe           	ld	r14,@r15
    7258:	a9f1           	inc	r15,#0x2
    725a:	9e08           	ret	t
    725c:	abfd           	dec	r15,#0xe
    725e:	6ffc 0008      	ld	0x8(r15),r12
    7262:	1cf9 0403      	ldm	@r15,r4,#0x4
    7266:	a164           	ld	r4,r6
    7268:	a152           	ld	r2,r5
    726a:	ab20           	dec	r2,#0x1
    726c:	8122           	add	r2,r2
    726e:	8162           	add	r2,r6
    7270:	e806           	jr	t,0x727e
    7272:	76c2 0002      	lda	r2,0x2(r12)
    7276:	a124           	ld	r4,r2
    7278:	e803           	jr	t,0x7280
    727a:	a1c2           	ld	r2,r12
    727c:	ab21           	dec	r2,#0x2
    727e:	a127           	ld	r7,r2
    7280:	8b74           	cp	r4,r7
    7282:	eb1a           	jr	ugt,0x72b8
    7284:	a172           	ld	r2,r7
    7286:	8342           	sub	r2,r4
    7288:	b329 ffff      	sra	r2,#0x1
    728c:	a121           	ld	r1,r2
    728e:	b10a           	exts	rr0
    7290:	1b00 0002      	div	rr0,#0x2
    7294:	8111           	add	r1,r1
    7296:	8141           	add	r1,r4
    7298:	a11c           	ld	r12,r1
    729a:	61f2 0006      	ld	r2,0x6(r15)
    729e:	0bc2           	cp	r2,@r12
    72a0:	e1ec           	jr	lt,0x727a
    72a2:	0bc2           	cp	r2,@r12
    72a4:	eae6           	jr	gt,0x7272
    72a6:	a112           	ld	r2,r1
    72a8:	43f2 0004      	sub	r2,0x4(r15)
    72ac:	b329 ffff      	sra	r2,#0x1
    72b0:	21f3           	ld	r3,@r15
    72b2:	2f32           	ld	@r3,r2
    72b4:	bd21           	ldk	r2,#0x1
    72b6:	e801           	jr	t,0x72ba
    72b8:	8322           	sub	r2,r2
    72ba:	61fc 0008      	ld	r12,0x8(r15)
    72be:	a9fd           	inc	r15,#0xe
    72c0:	9e08           	ret	t
    72c2:	abf1           	dec	r15,#0x2
    72c4:	2ffe           	ld	@r15,r14
    72c6:	a17e           	ld	r14,r7
    72c8:	a770           	bit	r7,#0x0
    72ca:	e604           	jr	eq,0x72d4
    72cc:	8377           	sub	r7,r7
    72ce:	bd63           	ldk	r6,#0x3
    72d0:	5f00 7202      	call	0x7202
    72d4:	a7e1           	bit	r14,#0x1
    72d6:	e603           	jr	eq,0x72de
    72d8:	bd77           	ldk	r7,#0x7
    72da:	5f00 6c4c      	call	0x6c4c
    72de:	a7e2           	bit	r14,#0x2
    72e0:	e60f           	jr	eq,0x7300
    72e2:	2107 0018      	ld	r7,#0x18
    72e6:	bd61           	ldk	r6,#0x1
    72e8:	5f00 6f72      	call	0x6f72
    72ec:	2107 7418      	ld	r7,#0x7418
    72f0:	5f00 688a      	call	0x688a
    72f4:	6107 c2c0      	ld	r7,0xc2c0
    72f8:	6106 c2be      	ld	r6,0xc2be
    72fc:	5f00 6f72      	call	0x6f72
    7300:	21fe           	ld	r14,@r15
    7302:	a9f1           	inc	r15,#0x2
    7304:	9e08           	ret	t
    7306:	abf1           	dec	r15,#0x2
    7308:	2ffe           	ld	@r15,r14
    730a:	a17e           	ld	r14,r7
    730c:	a770           	bit	r7,#0x0
    730e:	e604           	jr	eq,0x7318
    7310:	bd71           	ldk	r7,#0x1
    7312:	bd61           	ldk	r6,#0x1
    7314:	5f00 7202      	call	0x7202
    7318:	a7e1           	bit	r14,#0x1
    731a:	e603           	jr	eq,0x7322
    731c:	bd77           	ldk	r7,#0x7
    731e:	5f00 6c4c      	call	0x6c4c
    7322:	a7e2           	bit	r14,#0x2
    7324:	e615           	jr	eq,0x7350
    7326:	2107 0018      	ld	r7,#0x18
    732a:	bd61           	ldk	r6,#0x1
    732c:	5f00 6f72      	call	0x6f72
    7330:	bd75           	ldk	r7,#0x5
    7332:	5f00 7724      	call	0x7724
    7336:	2107 7428      	ld	r7,#0x7428
    733a:	5f00 688a      	call	0x688a
    733e:	8377           	sub	r7,r7
    7340:	5f00 7724      	call	0x7724
    7344:	6107 c2c0      	ld	r7,0xc2c0
    7348:	6106 c2be      	ld	r6,0xc2be
    734c:	5f00 6f72      	call	0x6f72
    7350:	21fe           	ld	r14,@r15
    7352:	a9f1           	inc	r15,#0x2
    7354:	9e08           	ret	t
    7356:	abf3           	dec	r15,#0x4
    7358:	1cf9 0d01      	ldm	@r15,r13,#0x2
    735c:	a17e           	ld	r14,r7
    735e:	a16d           	ld	r13,r6
    7360:	5f00 78d8      	call	0x78d8
    7364:	8d24           	test	r2
    7366:	ee06           	jr	ne,0x7374
    7368:	0b0e 0007      	cp	r14,#0x7
    736c:	e105           	jr	lt,0x7378
    736e:	0b0e 000d      	cp	r14,#0xd
    7372:	ea02           	jr	gt,0x7378
    7374:	bd21           	ldk	r2,#0x1
    7376:	e808           	jr	t,0x7388
    7378:	0b0d 0001      	cp	r13,#0x1
    737c:	e602           	jr	eq,0x7382
    737e:	8322           	sub	r2,r2
    7380:	e803           	jr	t,0x7388
    7382:	600a c22a      	ldb	rl2,0xc22a
    7386:	b120           	extsb	r2
    7388:	1cf1 0d01      	ldm	r13,@r15,#0x2
    738c:	a9f3           	inc	r15,#0x4
    738e:	9e08           	ret	t
    7390:	abf9           	dec	r15,#0xa
    7392:	1cf9 0a04      	ldm	@r15,r10,#0x5
    7396:	a17e           	ld	r14,r7
    7398:	a16d           	ld	r13,r6
    739a:	a15c           	ld	r12,r5
    739c:	a14b           	ld	r11,r4
    739e:	a13a           	ld	r10,r3
    73a0:	bd75           	ldk	r7,#0x5
    73a2:	5f00 532c      	call	0x532c
    73a6:	8d24           	test	r2
    73a8:	e604           	jr	eq,0x73b2
    73aa:	5f00 5712      	call	0x5712
    73ae:	bd21           	ldk	r2,#0x1
    73b0:	e817           	jr	t,0x73e0
    73b2:	4d01 c43c 0004 	cp	0xc43c,#0x4
    73b8:	ee02           	jr	ne,0x73be
    73ba:	6f0b c43a      	ld	0xc43a,r11
    73be:	4b0d c43a      	cp	r13,0xc43a
    73c2:	eaf3           	jr	gt,0x73aa
    73c4:	4b0c c43a      	cp	r12,0xc43a
    73c8:	e1f0           	jr	lt,0x73aa
    73ca:	0b0a 0001      	cp	r10,#0x1
    73ce:	ee04           	jr	ne,0x73d8
    73d0:	6102 c43a      	ld	r2,0xc43a
    73d4:	2fe2           	ld	@r14,r2
    73d6:	e803           	jr	t,0x73de
    73d8:	600a c43b      	ldb	rl2,0xc43b
    73dc:	2eea           	ldb	@r14,rl2
    73de:	8322           	sub	r2,r2
    73e0:	1cf1 0a04      	ldm	r10,@r15,#0x5
    73e4:	a9f9           	inc	r15,#0xa
    73e6:	9e08           	ret	t
    73e8:	4d01 c2a2 d3c4 	cp	0xc2a2,#0xd3c4
    73ee:	ee02           	jr	ne,0x73f4
    73f0:	8322           	sub	r2,r2
    73f2:	9e08           	ret	t
    73f4:	6b01 c2a2      	dec	0xc2a2,#0x2
    73f8:	6102 c2a2      	ld	r2,0xc2a2
    73fc:	2122           	ld	r2,@r2
    73fe:	e8f9           	jr	t,0x73f2
    7400:	abf1           	dec	r15,#0x2
    7402:	4d01 c2a2 d404 	cp	0xc2a2,#0xd404
    7408:	ef05           	jr	nc/uge,0x7414
    740a:	6102 c2a2      	ld	r2,0xc2a2
    740e:	2f27           	ld	@r2,r7
    7410:	6901 c2a2      	inc	0xc2a2,#0x2
    7414:	a9f1           	inc	r15,#0x2
    7416:	9e08           	ret	t
    7418:	2020           	ldb	rh0,@r2
    741a:	2020           	ldb	rh0,@r2
    741c:	2020           	ldb	rh0,@r2
    741e:	2020           	ldb	rh0,@r2
    7420:	2020           	ldb	rh0,@r2
    7422:	2020           	ldb	rh0,@r2
    7424:	2020           	ldb	rh0,@r2
    7426:	2000 4c49      	ldb	rh0,#0x49
    742a:	4748 5420      	and	r8,0x5420(r4)
    742e:	5045 4e20      	cpl	rr5,0x4e20(r4)
    7432:	5245 4144      	subl	rr5,0x4144(r4)
    7436:	5900 abf5      	mult	rr0,0xabf5
    743a:	1cf9 0502      	ldm	@r15,r5,#0x3
    743e:	2107 778e      	ld	r7,#0x778e
    7442:	5f00 688a      	call	0x688a
    7446:	8377           	sub	r7,r7
    7448:	61f6 0004      	ld	r6,0x4(r15)
    744c:	5f00 6848      	call	0x6848
    7450:	2107 003b      	ld	r7,#0x3b
    7454:	5f00 16f8      	call	0x16f8
    7458:	8377           	sub	r7,r7
    745a:	61f6 0002      	ld	r6,0x2(r15)
    745e:	5f00 6848      	call	0x6848
    7462:	60ff 0001      	ldb	rl7,0x1(r15)
    7466:	b170           	extsb	r7
    7468:	5f00 16f8      	call	0x16f8
    746c:	a9f5           	inc	r15,#0x6
    746e:	9e08           	ret	t
    7470:	abf3           	dec	r15,#0x4
    7472:	a171           	ld	r1,r7
    7474:	a174           	ld	r4,r7
    7476:	600a c23a      	ldb	rl2,0xc23a
    747a:	b120           	extsb	r2
    747c:	8b27           	cp	r7,r2
    747e:	e610           	jr	eq,0x74a0
    7480:	a172           	ld	r2,r7
    7482:	b329 fffd      	sra	r2,#0x3
    7486:	602a 51f0      	ldb	rl2,0x51f0(r2)
    748a:	b120           	extsb	r2
    748c:	a143           	ld	r3,r4
    748e:	0703 0007      	and	r3,#0x7
    7492:	bd01           	ldk	r0,#0x1
    7494:	b30b 0300      	sda	r0,r3
    7498:	8702           	and	r2,r0
    749a:	e602           	jr	eq,0x74a0
    749c:	bd21           	ldk	r2,#0x1
    749e:	e801           	jr	t,0x74a2
    74a0:	bd20           	ldk	r2,#0x0
    74a2:	a9f3           	inc	r15,#0x4
    74a4:	9e08           	ret	t
    74a6:	abf3           	dec	r15,#0x4
    74a8:	a171           	ld	r1,r7
    74aa:	a163           	ld	r3,r6
    74ac:	4c11 c222 0000 	cpb	0xc222(r1),#0x0
    74b2:	e203           	jr	le,0x74ba
    74b4:	2102 ffff      	ld	r2,#0xffff
    74b8:	e801           	jr	t,0x74bc
    74ba:	8322           	sub	r2,r2
    74bc:	6f02 c2a6      	ld	0xc2a6,r2
    74c0:	4c31 c222 0000 	cpb	0xc222(r3),#0x0
    74c6:	e203           	jr	le,0x74ce
    74c8:	2102 ffff      	ld	r2,#0xffff
    74cc:	e801           	jr	t,0x74d0
    74ce:	8322           	sub	r2,r2
    74d0:	6f02 c2a8      	ld	0xc2a8,r2
    74d4:	a9f3           	inc	r15,#0x4
    74d6:	9e08           	ret	t
    74d8:	abf9           	dec	r15,#0xa
    74da:	2ffa           	ld	@r15,r10
    74dc:	a171           	ld	r1,r7
    74de:	4b07 c310      	cp	r7,0xc310
    74e2:	e651           	jr	eq,0x7586
    74e4:	a77a           	bit	r7,#0xa
    74e6:	e617           	jr	eq,0x7516
    74e8:	a172           	ld	r2,r7
    74ea:	0702 00ff      	and	r2,#0xff
    74ee:	a123           	ld	r3,r2
    74f0:	1902 0014      	mult	rr2,#0x14
    74f4:	0103 f4d0      	add	r3,#0xf4d0
    74f8:	a13a           	ld	r10,r3
    74fa:	bd40           	ldk	r4,#0x0
    74fc:	0b04 000a      	cp	r4,#0xa
    7500:	e931           	jr	ge,0x7564
    7502:	a142           	ld	r2,r4
    7504:	8142           	add	r2,r4
    7506:	81a2           	add	r2,r10
    7508:	a143           	ld	r3,r4
    750a:	8143           	add	r3,r4
    750c:	2120           	ld	r0,@r2
    750e:	6f30 c44c      	ld	0xc44c(r3),r0
    7512:	a940           	inc	r4,#0x1
    7514:	e8f3           	jr	t,0x74fc
    7516:	a112           	ld	r2,r1
    7518:	0702 0007      	and	r2,#0x7
    751c:	602a c222      	ldb	rl2,0xc222(r2)
    7520:	b120           	extsb	r2
    7522:	a126           	ld	r6,r2
    7524:	bd40           	ldk	r4,#0x0
    7526:	a142           	ld	r2,r4
    7528:	8142           	add	r2,r4
    752a:	4d28 c44c      	clr	0xc44c(r2)
    752e:	bd50           	ldk	r5,#0x0
    7530:	a142           	ld	r2,r4
    7532:	b329 0003      	sla	r2,#0x3
    7536:	8552           	or	r2,r5
    7538:	602a 4daa      	ldb	rl2,0x4daa(r2)
    753c:	b120           	extsb	r2
    753e:	8b26           	cp	r6,r2
    7540:	bd20           	ldk	r2,#0x0
    7542:	af2a           	tcc	gt,r2
    7544:	b32b 0500      	sda	r2,r5
    7548:	a143           	ld	r3,r4
    754a:	8143           	add	r3,r4
    754c:	4532 c44c      	or	r2,0xc44c(r3)
    7550:	6f32 c44c      	ld	0xc44c(r3),r2
    7554:	a950           	inc	r5,#0x1
    7556:	0b05 0008      	cp	r5,#0x8
    755a:	e1ea           	jr	lt,0x7530
    755c:	a940           	inc	r4,#0x1
    755e:	0b04 0008      	cp	r4,#0x8
    7562:	e1e1           	jr	lt,0x7526
    7564:	a71a           	bit	r1,#0xa
    7566:	ee07           	jr	ne,0x7576
    7568:	a112           	ld	r2,r1
    756a:	0702 00ff      	and	r2,#0xff
    756e:	4c21 c222 0000 	cpb	0xc222(r2),#0x0
    7574:	e204           	jr	le,0x757e
    7576:	4d05 c2aa ffff 	ld	0xc2aa,#0xffff
    757c:	e802           	jr	t,0x7582
    757e:	4d08 c2aa      	clr	0xc2aa
    7582:	6f01 c310      	ld	0xc310,r1
    7586:	21fa           	ld	r10,@r15
    7588:	a9f9           	inc	r15,#0xa
    758a:	9e08           	ret	t
    758c:	abf1           	dec	r15,#0x2
    758e:	2ffe           	ld	@r15,r14
    7590:	a17e           	ld	r14,r7
    7592:	60ea 4e92      	ldb	rl2,0x4e92(r14)
    7596:	b120           	extsb	r2
    7598:	6f02 c2b6      	ld	0xc2b6,r2
    759c:	8d74           	test	r7
    759e:	ee02           	jr	ne,0x75a4
    75a0:	8322           	sub	r2,r2
    75a2:	e806           	jr	t,0x75b0
    75a4:	a1e7           	ld	r7,r14
    75a6:	8d72           	neg	r7
    75a8:	0107 0022      	add	r7,#0x22
    75ac:	5f00 77a8      	call	0x77a8
    75b0:	6f02 c2b8      	ld	0xc2b8,r2
    75b4:	6107 c2b6      	ld	r7,0xc2b6
    75b8:	5f00 75e6      	call	0x75e6
    75bc:	6102 c2c0      	ld	r2,0xc2c0
    75c0:	4b02 c2b6      	cp	r2,0xc2b6
    75c4:	e907           	jr	ge,0x75d4
    75c6:	6102 c2b6      	ld	r2,0xc2b6
    75ca:	6f02 c2c0      	ld	0xc2c0,r2
    75ce:	4d05 c2be 0001 	ld	0xc2be,#0x1
    75d4:	6107 c2c0      	ld	r7,0xc2c0
    75d8:	6106 c2be      	ld	r6,0xc2be
    75dc:	5f00 6f72      	call	0x6f72
    75e0:	21fe           	ld	r14,@r15
    75e2:	a9f1           	inc	r15,#0x2
    75e4:	9e08           	ret	t
    75e6:	abf1           	dec	r15,#0x2
    75e8:	2ff7           	ld	@r15,r7
    75ea:	0b07 0018      	cp	r7,#0x18
    75ee:	ee03           	jr	ne,0x75f6
    75f0:	2107 0017      	ld	r7,#0x17
    75f4:	e801           	jr	t,0x75f8
    75f6:	21f7           	ld	r7,@r15
    75f8:	2106 0018      	ld	r6,#0x18
    75fc:	2105 0072      	ld	r5,#0x72
    7600:	5f00 7438      	call	0x7438
    7604:	a9f1           	inc	r15,#0x2
    7606:	9e08           	ret	t
    7608:	abf1           	dec	r15,#0x2
    760a:	2ffe           	ld	@r15,r14
    760c:	a17e           	ld	r14,r7
    760e:	0b07 0080      	cp	r7,#0x80
    7612:	e116           	jr	lt,0x7640
    7614:	0b07 00b8      	cp	r7,#0xb8
    7618:	ea13           	jr	gt,0x7640
    761a:	a172           	ld	r2,r7
    761c:	0302 0068      	sub	r2,#0x68
    7620:	b329 fffd      	sra	r2,#0x3
    7624:	602a 4e68      	ldb	rl2,0x4e68(r2)
    7628:	b120           	extsb	r2
    762a:	a1e3           	ld	r3,r14
    762c:	0303 0068      	sub	r3,#0x68
    7630:	0703 0007      	and	r3,#0x7
    7634:	bd01           	ldk	r0,#0x1
    7636:	b30b 0300      	sda	r0,r3
    763a:	8702           	and	r2,r0
    763c:	8d24           	test	r2
    763e:	ee0e           	jr	ne,0x765c
    7640:	0b0e 00a9      	cp	r14,#0xa9
    7644:	e108           	jr	lt,0x7656
    7646:	0b0e 00b8      	cp	r14,#0xb8
    764a:	ea05           	jr	gt,0x7656
    764c:	4c04 c249      	testb	0xc249
    7650:	e602           	jr	eq,0x7656
    7652:	bd21           	ldk	r2,#0x1
    7654:	e801           	jr	t,0x7658
    7656:	bd20           	ldk	r2,#0x0
    7658:	8d24           	test	r2
    765a:	e602           	jr	eq,0x7660
    765c:	bd21           	ldk	r2,#0x1
    765e:	e801           	jr	t,0x7662
    7660:	bd20           	ldk	r2,#0x0
    7662:	21fe           	ld	r14,@r15
    7664:	a9f1           	inc	r15,#0x2
    7666:	9e08           	ret	t
    7668:	abf1           	dec	r15,#0x2
    766a:	2ffe           	ld	@r15,r14
    766c:	a17e           	ld	r14,r7
    766e:	0b07 008c      	cp	r7,#0x8c
    7672:	ea02           	jr	gt,0x7678
    7674:	a172           	ld	r2,r7
    7676:	e808           	jr	t,0x7688
    7678:	0b0e 009c      	cp	r14,#0x9c
    767c:	ea03           	jr	gt,0x7684
    767e:	a1e2           	ld	r2,r14
    7680:	ab22           	dec	r2,#0x3
    7682:	e802           	jr	t,0x7688
    7684:	a1e2           	ld	r2,r14
    7686:	ab25           	dec	r2,#0x6
    7688:	21fe           	ld	r14,@r15
    768a:	a9f1           	inc	r15,#0x2
    768c:	9e08           	ret	t
    768e:	abf9           	dec	r15,#0xa
    7690:	1cf9 0a03      	ldm	@r15,r10,#0x4
    7694:	a171           	ld	r1,r7
    7696:	a16d           	ld	r13,r6
    7698:	0b06 0168      	cp	r6,#0x168
    769c:	ea03           	jr	gt,0x76a4
    769e:	0b06 fe98      	cp	r6,#0xfe98
    76a2:	e905           	jr	ge,0x76ae
    76a4:	a1d3           	ld	r3,r13
    76a6:	b12a           	exts	rr2
    76a8:	1b02 0168      	div	rr2,#0x168
    76ac:	a12d           	ld	r13,r2
    76ae:	0b0d 0000      	cp	r13,#0x0
    76b2:	e902           	jr	ge,0x76b8
    76b4:	010d 0168      	add	r13,#0x168
    76b8:	0b0d 00b4      	cp	r13,#0xb4
    76bc:	e205           	jr	le,0x76c8
    76be:	210b ffff      	ld	r11,#0xffff
    76c2:	030d 00b4      	sub	r13,#0xb4
    76c6:	e801           	jr	t,0x76ca
    76c8:	bdb1           	ldk	r11,#0x1
    76ca:	0b0d 005a      	cp	r13,#0x5a
    76ce:	e205           	jr	le,0x76da
    76d0:	a1d2           	ld	r2,r13
    76d2:	8d22           	neg	r2
    76d4:	0102 00b4      	add	r2,#0xb4
    76d8:	a12d           	ld	r13,r2
    76da:	a1d2           	ld	r2,r13
    76dc:	b329 ffff      	sra	r2,#0x1
    76e0:	8122           	add	r2,r2
    76e2:	0102 4ec0      	add	r2,#0x4ec0
    76e6:	a12a           	ld	r10,r2
    76e8:	a7d0           	bit	r13,#0x0
    76ea:	e607           	jr	eq,0x76fa
    76ec:	21a2           	ld	r2,@r10
    76ee:	41a2 0002      	add	r2,0x2(r10)
    76f2:	b329 ffff      	sra	r2,#0x1
    76f6:	a12c           	ld	r12,r2
    76f8:	e801           	jr	t,0x76fc
    76fa:	21ac           	ld	r12,@r10
    76fc:	a117           	ld	r7,r1
    76fe:	b16a           	exts	rr6
    7700:	a1c3           	ld	r3,r12
    7702:	b12a           	exts	rr2
    7704:	9824           	multl	rq4,rr2
    7706:	1606 0000 1000 	addl	rr6,#0x1000
    770c:	2102 000d      	ld	r2,#0xd
    7710:	8d22           	neg	r2
    7712:	b36f 0200      	sdal	rr6,r2
    7716:	a1b3           	ld	r3,r11
    7718:	9972           	mult	rr2,r7
    771a:	a132           	ld	r2,r3
    771c:	1cf1 0a03      	ldm	r10,@r15,#0x4
    7720:	a9f9           	inc	r15,#0xa
    7722:	9e08           	ret	t
    7724:	abf1           	dec	r15,#0x2
    7726:	2ff7           	ld	@r15,r7
    7728:	21f6           	ld	r6,@r15
    772a:	2105 006d      	ld	r5,#0x6d
    772e:	5f00 7438      	call	0x7438
    7732:	a9f1           	inc	r15,#0x2
    7734:	9e08           	ret	t
    7736:	600a c206      	ldb	rl2,0xc206
    773a:	b120           	extsb	r2
    773c:	a726           	bit	r2,#0x6
    773e:	e604           	jr	eq,0x7748
    7740:	4c05 c22b 8484 	ldb	0xc22b,#0x84
    7746:	e803           	jr	t,0x774e
    7748:	4c05 c22b 5050 	ldb	0xc22b,#0x50
    774e:	9e08           	ret	t
    7750:	abf1           	dec	r15,#0x2
    7752:	2ffe           	ld	@r15,r14
    7754:	a17e           	ld	r14,r7
    7756:	2107 0024      	ld	r7,#0x24
    775a:	5f00 532c      	call	0x532c
    775e:	8d24           	test	r2
    7760:	ee11           	jr	ne,0x7784
    7762:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7768:	ee03           	jr	ne,0x7770
    776a:	0ce5 0101      	ldb	@r14,#0x1
    776e:	e80c           	jr	t,0x7788
    7770:	4d01 c43a 0013 	cp	0xc43a,#0x13
    7776:	e6f9           	jr	eq,0x776a
    7778:	4d01 c43a 000b 	cp	0xc43a,#0xb
    777e:	ee02           	jr	ne,0x7784
    7780:	0ce8           	clrb	@r14
    7782:	e802           	jr	t,0x7788
    7784:	5f00 5712      	call	0x5712
    7788:	21fe           	ld	r14,@r15
    778a:	a9f1           	inc	r15,#0x2
    778c:	9e08           	ret	t
    778e:	5c65           	.word 5c65
    7790:	5b00 abf1      	div	rr0,0xabf1
    7794:	2ffe           	ld	@r15,r14
    7796:	ab70           	dec	r7,#0x1
    7798:	bd6a           	ldk	r6,#0xa
    779a:	bd51           	ldk	r5,#0x1
    779c:	8344           	sub	r4,r4
    779e:	5f00 792a      	call	0x792a
    77a2:	21fe           	ld	r14,@r15
    77a4:	a9f1           	inc	r15,#0x2
    77a6:	9e08           	ret	t
    77a8:	abf1           	dec	r15,#0x2
    77aa:	2ffe           	ld	@r15,r14
    77ac:	8d72           	neg	r7
    77ae:	bd6e           	ldk	r6,#0xe
    77b0:	bd51           	ldk	r5,#0x1
    77b2:	2104 01e0      	ld	r4,#0x1e0
    77b6:	5f00 792a      	call	0x792a
    77ba:	21fe           	ld	r14,@r15
    77bc:	a9f1           	inc	r15,#0x2
    77be:	9e08           	ret	t
    77c0:	abf1           	dec	r15,#0x2
    77c2:	2ffe           	ld	@r15,r14
    77c4:	bd61           	ldk	r6,#0x1
    77c6:	bd5a           	ldk	r5,#0xa
    77c8:	a164           	ld	r4,r6
    77ca:	5f00 792a      	call	0x792a
    77ce:	21fe           	ld	r14,@r15
    77d0:	a9f1           	inc	r15,#0x2
    77d2:	9e08           	ret	t
    77d4:	abf1           	dec	r15,#0x2
    77d6:	2ffe           	ld	@r15,r14
    77d8:	8d72           	neg	r7
    77da:	0107 01e0      	add	r7,#0x1e0
    77de:	bd61           	ldk	r6,#0x1
    77e0:	bd5e           	ldk	r5,#0xe
    77e2:	8344           	sub	r4,r4
    77e4:	5f00 792a      	call	0x792a
    77e8:	21fe           	ld	r14,@r15
    77ea:	a9f1           	inc	r15,#0x2
    77ec:	9e08           	ret	t
    77ee:	4d05 c300 0001 	ld	0xc300,#0x1
    77f4:	4d05 c2fe 0001 	ld	0xc2fe,#0x1
    77fa:	4d05 c2fc 0001 	ld	0xc2fc,#0x1
    7800:	4d05 c2fa 0001 	ld	0xc2fa,#0x1
    7806:	4c05 c243 0101 	ldb	0xc243,#0x1
    780c:	9e08           	ret	t
    780e:	4d05 c2fa 031f 	ld	0xc2fa,#0x31f
    7814:	4d05 c2fc 03ff 	ld	0xc2fc,#0x3ff
    781a:	4d05 c2fe 01df 	ld	0xc2fe,#0x1df
    7820:	4d05 c300 030b 	ld	0xc300,#0x30b
    7826:	4c05 c243 0303 	ldb	0xc243,#0x3
    782c:	9e08           	ret	t
    782e:	4d05 c2fa 031f 	ld	0xc2fa,#0x31f
    7834:	4d05 c2fc 027f 	ld	0xc2fc,#0x27f
    783a:	4d05 c2fe 0001 	ld	0xc2fe,#0x1
    7840:	4d05 c300 0001 	ld	0xc300,#0x1
    7846:	4c05 c243 0202 	ldb	0xc243,#0x2
    784c:	9e08           	ret	t
    784e:	abf1           	dec	r15,#0x2
    7850:	2ffe           	ld	@r15,r14
    7852:	a17e           	ld	r14,r7
    7854:	0b07 0000      	cp	r7,#0x0
    7858:	e102           	jr	lt,0x785e
    785a:	a172           	ld	r2,r7
    785c:	e802           	jr	t,0x7862
    785e:	a1e2           	ld	r2,r14
    7860:	8d22           	neg	r2
    7862:	21fe           	ld	r14,@r15
    7864:	a9f1           	inc	r15,#0x2
    7866:	9e08           	ret	t
    7868:	abf1           	dec	r15,#0x2
    786a:	2ffe           	ld	@r15,r14
    786c:	a17e           	ld	r14,r7
    786e:	0b07 0061      	cp	r7,#0x61
    7872:	e103           	jr	lt,0x787a
    7874:	0b07 007a      	cp	r7,#0x7a
    7878:	e206           	jr	le,0x7886
    787a:	0b0e 0041      	cp	r14,#0x41
    787e:	e105           	jr	lt,0x788a
    7880:	0b0e 005a      	cp	r14,#0x5a
    7884:	ea02           	jr	gt,0x788a
    7886:	bd21           	ldk	r2,#0x1
    7888:	e801           	jr	t,0x788c
    788a:	bd20           	ldk	r2,#0x0
    788c:	21fe           	ld	r14,@r15
    788e:	a9f1           	inc	r15,#0x2
    7890:	9e08           	ret	t
    7892:	abf1           	dec	r15,#0x2
    7894:	2ffe           	ld	@r15,r14
    7896:	a17e           	ld	r14,r7
    7898:	0b07 0020      	cp	r7,#0x20
    789c:	e603           	jr	eq,0x78a4
    789e:	0b07 002c      	cp	r7,#0x2c
    78a2:	ee02           	jr	ne,0x78a8
    78a4:	bd21           	ldk	r2,#0x1
    78a6:	e801           	jr	t,0x78aa
    78a8:	bd20           	ldk	r2,#0x0
    78aa:	21fe           	ld	r14,@r15
    78ac:	a9f1           	inc	r15,#0x2
    78ae:	9e08           	ret	t
    78b0:	abf3           	dec	r15,#0x4
    78b2:	a171           	ld	r1,r7
    78b4:	a163           	ld	r3,r6
    78b6:	8b67           	cp	r7,r6
    78b8:	e202           	jr	le,0x78be
    78ba:	a172           	ld	r2,r7
    78bc:	e801           	jr	t,0x78c0
    78be:	a132           	ld	r2,r3
    78c0:	a9f3           	inc	r15,#0x4
    78c2:	9e08           	ret	t
    78c4:	abf3           	dec	r15,#0x4
    78c6:	a171           	ld	r1,r7
    78c8:	a163           	ld	r3,r6
    78ca:	8b67           	cp	r7,r6
    78cc:	e902           	jr	ge,0x78d2
    78ce:	a172           	ld	r2,r7
    78d0:	e801           	jr	t,0x78d4
    78d2:	a132           	ld	r2,r3
    78d4:	a9f3           	inc	r15,#0x4
    78d6:	9e08           	ret	t
    78d8:	abf1           	dec	r15,#0x2
    78da:	2ffe           	ld	@r15,r14
    78dc:	a17e           	ld	r14,r7
    78de:	0b07 0020      	cp	r7,#0x20
    78e2:	e105           	jr	lt,0x78ee
    78e4:	0b07 007e      	cp	r7,#0x7e
    78e8:	ea02           	jr	gt,0x78ee
    78ea:	bd21           	ldk	r2,#0x1
    78ec:	e801           	jr	t,0x78f0
    78ee:	bd20           	ldk	r2,#0x0
    78f0:	21fe           	ld	r14,@r15
    78f2:	a9f1           	inc	r15,#0x2
    78f4:	9e08           	ret	t
    78f6:	abf3           	dec	r15,#0x4
    78f8:	a171           	ld	r1,r7
    78fa:	bd30           	ldk	r3,#0x0
    78fc:	e802           	jr	t,0x7902
    78fe:	a930           	inc	r3,#0x1
    7900:	a910           	inc	r1,#0x1
    7902:	0c14           	testb	@r1
    7904:	eefc           	jr	ne,0x78fe
    7906:	a132           	ld	r2,r3
    7908:	a9f3           	inc	r15,#0x4
    790a:	9e08           	ret	t
    790c:	abf1           	dec	r15,#0x2
    790e:	2ffe           	ld	@r15,r14
    7910:	a17e           	ld	r14,r7
    7912:	5f00 7868      	call	0x7868
    7916:	8d24           	test	r2
    7918:	e604           	jr	eq,0x7922
    791a:	a1e2           	ld	r2,r14
    791c:	0702 005f      	and	r2,#0x5f
    7920:	e801           	jr	t,0x7924
    7922:	a1e2           	ld	r2,r14
    7924:	21fe           	ld	r14,@r15
    7926:	a9f1           	inc	r15,#0x2
    7928:	9e08           	ret	t
    792a:	abf7           	dec	r15,#0x8
    792c:	1cf9 0b03      	ldm	@r15,r11,#0x4
    7930:	a17e           	ld	r14,r7
    7932:	a16d           	ld	r13,r6
    7934:	a15c           	ld	r12,r5
    7936:	a14b           	ld	r11,r4
    7938:	a173           	ld	r3,r7
    793a:	9962           	mult	rr2,r6
    793c:	a131           	ld	r1,r3
    793e:	b10a           	exts	rr0
    7940:	9b50           	div	rr0,r5
    7942:	81b1           	add	r1,r11
    7944:	a112           	ld	r2,r1
    7946:	1cf1 0b03      	ldm	r11,@r15,#0x4
    794a:	a9f7           	inc	r15,#0x8
    794c:	9e08           	ret	t
    794e:	abf7           	dec	r15,#0x8
    7950:	1cf9 0b03      	ldm	@r15,r11,#0x4
    7954:	210c 0064      	ld	r12,#0x64
    7958:	a1cb           	ld	r11,r12
    795a:	5f00 2c24      	call	0x2c24
    795e:	8d24           	test	r2
    7960:	ee35           	jr	ne,0x79cc
    7962:	610e c43a      	ld	r14,0xc43a
    7966:	bd71           	ldk	r7,#0x1
    7968:	5f00 532c      	call	0x532c
    796c:	8d24           	test	r2
    796e:	ee2e           	jr	ne,0x79cc
    7970:	6103 c43a      	ld	r3,0xc43a
    7974:	b12a           	exts	rr2
    7976:	1b02 0168      	div	rr2,#0x168
    797a:	a12d           	ld	r13,r2
    797c:	8d24           	test	r2
    797e:	e902           	jr	ge,0x7984
    7980:	010d 0168      	add	r13,#0x168
    7984:	bd75           	ldk	r7,#0x5
    7986:	5f00 532c      	call	0x532c
    798a:	8d24           	test	r2
    798c:	ee19           	jr	ne,0x79c0
    798e:	4d01 c43c 0001 	cp	0xc43c,#0x1
    7994:	ee15           	jr	ne,0x79c0
    7996:	610c c43a      	ld	r12,0xc43a
    799a:	0b0c 0000      	cp	r12,#0x0
    799e:	e116           	jr	lt,0x79cc
    79a0:	0b0c 0064      	cp	r12,#0x64
    79a4:	ea13           	jr	gt,0x79cc
    79a6:	bd71           	ldk	r7,#0x1
    79a8:	5f00 532c      	call	0x532c
    79ac:	8d24           	test	r2
    79ae:	ee08           	jr	ne,0x79c0
    79b0:	610b c43a      	ld	r11,0xc43a
    79b4:	0b0b 0000      	cp	r11,#0x0
    79b8:	e109           	jr	lt,0x79cc
    79ba:	0b0b 0064      	cp	r11,#0x64
    79be:	ea06           	jr	gt,0x79cc
    79c0:	a1e7           	ld	r7,r14
    79c2:	a1d6           	ld	r6,r13
    79c4:	a1c5           	ld	r5,r12
    79c6:	a1b4           	ld	r4,r11
    79c8:	5f00 7abe      	call	0x7abe
    79cc:	1cf1 0b03      	ldm	r11,@r15,#0x4
    79d0:	a9f7           	inc	r15,#0x8
    79d2:	9e08           	ret	t
    79d4:	bd71           	ldk	r7,#0x1
    79d6:	5f00 7bf2      	call	0x7bf2
    79da:	9e08           	ret	t
    79dc:	2107 0020      	ld	r7,#0x20
    79e0:	5f00 532c      	call	0x532c
    79e4:	8d24           	test	r2
    79e6:	ee15           	jr	ne,0x7a12
    79e8:	5f00 2c66      	call	0x2c66
    79ec:	8d24           	test	r2
    79ee:	ee11           	jr	ne,0x7a12
    79f0:	6103 c43a      	ld	r3,0xc43a
    79f4:	1902 0014      	mult	rr2,#0x14
    79f8:	0103 f4d0      	add	r3,#0xf4d0
    79fc:	a137           	ld	r7,r3
    79fe:	8366           	sub	r6,r6
    7a00:	5f00 366c      	call	0x366c
    7a04:	8d24           	test	r2
    7a06:	e602           	jr	eq,0x7a0c
    7a08:	5f00 5712      	call	0x5712
    7a0c:	4d05 c310 ffff 	ld	0xc310,#0xffff
    7a12:	9e08           	ret	t
    7a14:	abfb           	dec	r15,#0xc
    7a16:	5cf9 0b03 0004 	ldm	0x4(r15),r11,#0x4
    7a1c:	5f00 2c24      	call	0x2c24
    7a20:	8d24           	test	r2
    7a22:	ee48           	jr	ne,0x7ab4
    7a24:	610e c43a      	ld	r14,0xc43a
    7a28:	a1e3           	ld	r3,r14
    7a2a:	1902 0003      	mult	rr2,#0x3
    7a2e:	a930           	inc	r3,#0x1
    7a30:	8133           	add	r3,r3
    7a32:	613c d394      	ld	r12,0xd394(r3)
    7a36:	a1e3           	ld	r3,r14
    7a38:	1902 0003      	mult	rr2,#0x3
    7a3c:	a931           	inc	r3,#0x2
    7a3e:	8133           	add	r3,r3
    7a40:	613b d394      	ld	r11,0xd394(r3)
    7a44:	bd71           	ldk	r7,#0x1
    7a46:	5f00 532c      	call	0x532c
    7a4a:	8d24           	test	r2
    7a4c:	ee33           	jr	ne,0x7ab4
    7a4e:	a1e3           	ld	r3,r14
    7a50:	1902 0003      	mult	rr2,#0x3
    7a54:	8133           	add	r3,r3
    7a56:	6102 c43a      	ld	r2,0xc43a
    7a5a:	4132 d394      	add	r2,0xd394(r3)
    7a5e:	a121           	ld	r1,r2
    7a60:	b10a           	exts	rr0
    7a62:	1b00 0168      	div	rr0,#0x168
    7a66:	a10d           	ld	r13,r0
    7a68:	0b00 0000      	cp	r0,#0x0
    7a6c:	e902           	jr	ge,0x7a72
    7a6e:	010d 0168      	add	r13,#0x168
    7a72:	bd75           	ldk	r7,#0x5
    7a74:	5f00 532c      	call	0x532c
    7a78:	8d24           	test	r2
    7a7a:	ee0d           	jr	ne,0x7a96
    7a7c:	4d01 c43c 0001 	cp	0xc43c,#0x1
    7a82:	ee09           	jr	ne,0x7a96
    7a84:	410c c43a      	add	r12,0xc43a
    7a88:	bd71           	ldk	r7,#0x1
    7a8a:	5f00 532c      	call	0x532c
    7a8e:	8d24           	test	r2
    7a90:	ee02           	jr	ne,0x7a96
    7a92:	410b c43a      	add	r11,0xc43a
    7a96:	a1b7           	ld	r7,r11
    7a98:	5f00 7bbe      	call	0x7bbe
    7a9c:	2ff2           	ld	@r15,r2
    7a9e:	a1c7           	ld	r7,r12
    7aa0:	5f00 7bbe      	call	0x7bbe
    7aa4:	6ff2 0002      	ld	0x2(r15),r2
    7aa8:	a1e7           	ld	r7,r14
    7aaa:	a1d6           	ld	r6,r13
    7aac:	a125           	ld	r5,r2
    7aae:	21f4           	ld	r4,@r15
    7ab0:	5f00 7abe      	call	0x7abe
    7ab4:	5cf1 0b03 0004 	ldm	r11,0x4(r15),#0x4
    7aba:	a9fb           	inc	r15,#0xc
    7abc:	9e08           	ret	t
    7abe:	abfb           	dec	r15,#0xc
    7ac0:	1cf9 0905      	ldm	@r15,r9,#0x6
    7ac4:	a17e           	ld	r14,r7
    7ac6:	a16d           	ld	r13,r6
    7ac8:	a15c           	ld	r12,r5
    7aca:	a14b           	ld	r11,r4
    7acc:	a173           	ld	r3,r7
    7ace:	1902 0003      	mult	rr2,#0x3
    7ad2:	8133           	add	r3,r3
    7ad4:	0103 d394      	add	r3,#0xd394
    7ad8:	a13a           	ld	r10,r3
    7ada:	2fa6           	ld	@r10,r6
    7adc:	a9a1           	inc	r10,#0x2
    7ade:	2fac           	ld	@r10,r12
    7ae0:	a9a1           	inc	r10,#0x2
    7ae2:	2fab           	ld	@r10,r11
    7ae4:	0b0c 000e      	cp	r12,#0xe
    7ae8:	ee02           	jr	ne,0x7aee
    7aea:	a9c0           	inc	r12,#0x1
    7aec:	e80a           	jr	t,0x7b02
    7aee:	0b0c 0055      	cp	r12,#0x55
    7af2:	ee02           	jr	ne,0x7af8
    7af4:	abc0           	dec	r12,#0x1
    7af6:	e805           	jr	t,0x7b02
    7af8:	0b0c 0062      	cp	r12,#0x62
    7afc:	e202           	jr	le,0x7b02
    7afe:	210c 0062      	ld	r12,#0x62
    7b02:	a1c2           	ld	r2,r12
    7b04:	ab20           	dec	r2,#0x1
    7b06:	a121           	ld	r1,r2
    7b08:	b10a           	exts	rr0
    7b0a:	1b00 000e      	div	rr0,#0xe
    7b0e:	a11c           	ld	r12,r1
    7b10:	76b2 0031      	lda	r2,0x31(r11)
    7b14:	a121           	ld	r1,r2
    7b16:	b10a           	exts	rr0
    7b18:	1b00 0032      	div	rr0,#0x32
    7b1c:	a11b           	ld	r11,r1
    7b1e:	8dc4           	test	r12
    7b20:	e603           	jr	eq,0x7b28
    7b22:	0b0c 0006      	cp	r12,#0x6
    7b26:	ee02           	jr	ne,0x7b2c
    7b28:	bd90           	ldk	r9,#0x0
    7b2a:	e830           	jr	t,0x7b8c
    7b2c:	0b0c 0002      	cp	r12,#0x2
    7b30:	e603           	jr	eq,0x7b38
    7b32:	0b0c 0004      	cp	r12,#0x4
    7b36:	ee0f           	jr	ne,0x7b56
    7b38:	0b0b 0002      	cp	r11,#0x2
    7b3c:	e903           	jr	ge,0x7b44
    7b3e:	2109 0015      	ld	r9,#0x15
    7b42:	e824           	jr	t,0x7b8c
    7b44:	76d2 000f      	lda	r2,0xf(r13)
    7b48:	a121           	ld	r1,r2
    7b4a:	b10a           	exts	rr0
    7b4c:	1b00 001e      	div	rr0,#0x1e
    7b50:	601a 4df2      	ldb	rl2,0x4df2(r1)
    7b54:	e819           	jr	t,0x7b88
    7b56:	0b0c 0003      	cp	r12,#0x3
    7b5a:	ee0c           	jr	ne,0x7b74
    7b5c:	0b0b 0002      	cp	r11,#0x2
    7b60:	ee09           	jr	ne,0x7b74
    7b62:	76d2 000a      	lda	r2,0xa(r13)
    7b66:	a121           	ld	r1,r2
    7b68:	b10a           	exts	rr0
    7b6a:	1b00 0014      	div	rr0,#0x14
    7b6e:	601a 4e00      	ldb	rl2,0x4e00(r1)
    7b72:	e80a           	jr	t,0x7b88
    7b74:	8db4           	test	r11
    7b76:	e6e3           	jr	eq,0x7b3e
    7b78:	76d2 001e      	lda	r2,0x1e(r13)
    7b7c:	a121           	ld	r1,r2
    7b7e:	b10a           	exts	rr0
    7b80:	1b00 003c      	div	rr0,#0x3c
    7b84:	601a 4dea      	ldb	rl2,0x4dea(r1)
    7b88:	b120           	extsb	r2
    7b8a:	a129           	ld	r9,r2
    7b8c:	0b0c 0002      	cp	r12,#0x2
    7b90:	e202           	jr	le,0x7b96
    7b92:	0109 0015      	add	r9,#0x15
    7b96:	0b0c 0005      	cp	r12,#0x5
    7b9a:	ee02           	jr	ne,0x7ba0
    7b9c:	0109 0015      	add	r9,#0x15
    7ba0:	0b0c 0006      	cp	r12,#0x6
    7ba4:	ee02           	jr	ne,0x7baa
    7ba6:	0109 002a      	add	r9,#0x2a
    7baa:	a192           	ld	r2,r9
    7bac:	6eea c222      	ldb	0xc222(r14),rl2
    7bb0:	4d05 c310 ffff 	ld	0xc310,#0xffff
    7bb6:	1cf1 0905      	ldm	r9,@r15,#0x6
    7bba:	a9fb           	inc	r15,#0xc
    7bbc:	9e08           	ret	t
    7bbe:	abf1           	dec	r15,#0x2
    7bc0:	2ffe           	ld	@r15,r14
    7bc2:	a17e           	ld	r14,r7
    7bc4:	a173           	ld	r3,r7
    7bc6:	b12a           	exts	rr2
    7bc8:	1b02 0100      	div	rr2,#0x100
    7bcc:	a12e           	ld	r14,r2
    7bce:	8d24           	test	r2
    7bd0:	e902           	jr	ge,0x7bd6
    7bd2:	010e 0100      	add	r14,#0x100
    7bd6:	0b0e 0080      	cp	r14,#0x80
    7bda:	e102           	jr	lt,0x7be0
    7bdc:	bde0           	ldk	r14,#0x0
    7bde:	e805           	jr	t,0x7bea
    7be0:	0b0e 0065      	cp	r14,#0x65
    7be4:	e102           	jr	lt,0x7bea
    7be6:	210e 0064      	ld	r14,#0x64
    7bea:	a1e2           	ld	r2,r14
    7bec:	21fe           	ld	r14,@r15
    7bee:	a9f1           	inc	r15,#0x2
    7bf0:	9e08           	ret	t
    7bf2:	abfb           	dec	r15,#0xc
    7bf4:	1cf9 0905      	ldm	@r15,r9,#0x6
    7bf8:	a17e           	ld	r14,r7
    7bfa:	bdc0           	ldk	r12,#0x0
    7bfc:	5f00 2c24      	call	0x2c24
    7c00:	8d24           	test	r2
    7c02:	ee36           	jr	ne,0x7c70
    7c04:	610d c43a      	ld	r13,0xc43a
    7c08:	bdb0           	ldk	r11,#0x0
    7c0a:	bd71           	ldk	r7,#0x1
    7c0c:	5f00 532c      	call	0x532c
    7c10:	8d24           	test	r2
    7c12:	ee19           	jr	ne,0x7c46
    7c14:	6109 c43a      	ld	r9,0xc43a
    7c18:	0b09 0000      	cp	r9,#0x0
    7c1c:	e129           	jr	lt,0x7c70
    7c1e:	0b09 0064      	cp	r9,#0x64
    7c22:	ea26           	jr	gt,0x7c70
    7c24:	a193           	ld	r3,r9
    7c26:	b12a           	exts	rr2
    7c28:	1b02 0019      	div	rr2,#0x19
    7c2c:	a139           	ld	r9,r3
    7c2e:	0b03 0004      	cp	r3,#0x4
    7c32:	ee01           	jr	ne,0x7c36
    7c34:	bd93           	ldk	r9,#0x3
    7c36:	a192           	ld	r2,r9
    7c38:	b32b 0b00      	sda	r2,r11
    7c3c:	852c           	or	r12,r2
    7c3e:	a9b1           	inc	r11,#0x2
    7c40:	0b0b 0004      	cp	r11,#0x4
    7c44:	e2e2           	jr	le,0x7c0a
    7c46:	8de4           	test	r14
    7c48:	e613           	jr	eq,0x7c70
    7c4a:	a1c2           	ld	r2,r12
    7c4c:	6eda c222      	ldb	0xc222(r13),rl2
    7c50:	4d05 c310 ffff 	ld	0xc310,#0xffff
    7c56:	a1d3           	ld	r3,r13
    7c58:	1902 0003      	mult	rr2,#0x3
    7c5c:	8133           	add	r3,r3
    7c5e:	0103 d394      	add	r3,#0xd394
    7c62:	a13a           	ld	r10,r3
    7c64:	0da8           	clr	@r10
    7c66:	a9a1           	inc	r10,#0x2
    7c68:	0da8           	clr	@r10
    7c6a:	a9a1           	inc	r10,#0x2
    7c6c:	0da8           	clr	@r10
    7c6e:	a9a1           	inc	r10,#0x2
    7c70:	1cf1 0905      	ldm	r9,@r15,#0x6
    7c74:	a9fb           	inc	r15,#0xc
    7c76:	9e08           	ret	t
    7c78:	abf5           	dec	r15,#0x6
    7c7a:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    7c80:	76f7 0000      	lda	r7,0x0(r15)
    7c84:	2106 8001      	ld	r6,#0x8001
    7c88:	2105 7fff      	ld	r5,#0x7fff
    7c8c:	bd41           	ldk	r4,#0x1
    7c8e:	a143           	ld	r3,r4
    7c90:	5f00 7390      	call	0x7390
    7c94:	210d c216      	ld	r13,#0xc216
    7c98:	21fe           	ld	r14,@r15
    7c9a:	0b0e 0000      	cp	r14,#0x0
    7c9e:	ea02           	jr	gt,0x7ca4
    7ca0:	e822           	jr	t,0x7ce6
    7ca2:	a9d0           	inc	r13,#0x1
    7ca4:	20df           	ldb	rl7,@r13
    7ca6:	b170           	extsb	r7
    7ca8:	5f00 7792      	call	0x7792
    7cac:	4b02 c2b0      	cp	r2,0xc2b0
    7cb0:	e1f8           	jr	lt,0x7ca2
    7cb2:	e80a           	jr	t,0x7cc8
    7cb4:	0b0d c216      	cp	r13,#0xc216
    7cb8:	e60b           	jr	eq,0x7cd0
    7cba:	abd0           	dec	r13,#0x1
    7cbc:	20df           	ldb	rl7,@r13
    7cbe:	b170           	extsb	r7
    7cc0:	5f00 7792      	call	0x7792
    7cc4:	6f02 c2b0      	ld	0xc2b0,r2
    7cc8:	a1e2           	ld	r2,r14
    7cca:	abe0           	dec	r14,#0x1
    7ccc:	8d24           	test	r2
    7cce:	eef2           	jr	ne,0x7cb4
    7cd0:	600f c20d      	ldb	rl7,0xc20d
    7cd4:	b170           	extsb	r7
    7cd6:	5f00 7792      	call	0x7792
    7cda:	a12e           	ld	r14,r2
    7cdc:	4b02 c2b0      	cp	r2,0xc2b0
    7ce0:	e202           	jr	le,0x7ce6
    7ce2:	6f02 c2b0      	ld	0xc2b0,r2
    7ce6:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    7cec:	a9f5           	inc	r15,#0x6
    7cee:	9e08           	ret	t
    7cf0:	bd75           	ldk	r7,#0x5
    7cf2:	5f00 532c      	call	0x532c
    7cf6:	8d24           	test	r2
    7cf8:	ee15           	jr	ne,0x7d24
    7cfa:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7d00:	ee0b           	jr	ne,0x7d18
    7d02:	4d05 c43a 0001 	ld	0xc43a,#0x1
    7d08:	e807           	jr	t,0x7d18
    7d0a:	bd77           	ldk	r7,#0x7
    7d0c:	5f00 6c4c      	call	0x6c4c
    7d10:	2107 003c      	ld	r7,#0x3c
    7d14:	5f00 14c8      	call	0x14c8
    7d18:	6102 c43a      	ld	r2,0xc43a
    7d1c:	6b00 c43a      	dec	0xc43a,#0x1
    7d20:	8d24           	test	r2
    7d22:	eaf3           	jr	gt,0x7d0a
    7d24:	9e08           	ret	t
    7d26:	bd7a           	ldk	r7,#0xa
    7d28:	5f00 6ed8      	call	0x6ed8
    7d2c:	9e08           	ret	t
    7d2e:	abf3           	dec	r15,#0x4
    7d30:	1cf9 0d01      	ldm	@r15,r13,#0x2
    7d34:	bd75           	ldk	r7,#0x5
    7d36:	5f00 532c      	call	0x532c
    7d3a:	8d24           	test	r2
    7d3c:	ee3c           	jr	ne,0x7db6
    7d3e:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7d44:	ee07           	jr	ne,0x7d54
    7d46:	bdd1           	ldk	r13,#0x1
    7d48:	a1de           	ld	r14,r13
    7d4a:	0b0e 0001      	cp	r14,#0x1
    7d4e:	e918           	jr	ge,0x7d80
    7d50:	bd21           	ldk	r2,#0x1
    7d52:	e817           	jr	t,0x7d82
    7d54:	610e c43a      	ld	r14,0xc43a
    7d58:	bd75           	ldk	r7,#0x5
    7d5a:	5f00 532c      	call	0x532c
    7d5e:	8d24           	test	r2
    7d60:	ee2a           	jr	ne,0x7db6
    7d62:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7d68:	ee02           	jr	ne,0x7d6e
    7d6a:	bd21           	ldk	r2,#0x1
    7d6c:	e802           	jr	t,0x7d72
    7d6e:	6102 c43a      	ld	r2,0xc43a
    7d72:	a12d           	ld	r13,r2
    7d74:	0b0e 0022      	cp	r14,#0x22
    7d78:	e2e8           	jr	le,0x7d4a
    7d7a:	2102 0022      	ld	r2,#0x22
    7d7e:	e801           	jr	t,0x7d82
    7d80:	a1e2           	ld	r2,r14
    7d82:	a12e           	ld	r14,r2
    7d84:	0b0d 0001      	cp	r13,#0x1
    7d88:	e10d           	jr	lt,0x7da4
    7d8a:	0b0d 0050      	cp	r13,#0x50
    7d8e:	ea0a           	jr	gt,0x7da4
    7d90:	a1d7           	ld	r7,r13
    7d92:	5f00 7792      	call	0x7792
    7d96:	6f02 c2b0      	ld	0xc2b0,r2
    7d9a:	a1e7           	ld	r7,r14
    7d9c:	5f00 77a8      	call	0x77a8
    7da0:	6f02 c2b2      	ld	0xc2b2,r2
    7da4:	6102 c2b2      	ld	r2,0xc2b2
    7da8:	4b02 c2b8      	cp	r2,0xc2b8
    7dac:	e904           	jr	ge,0x7db6
    7dae:	6102 c2b8      	ld	r2,0xc2b8
    7db2:	6f02 c2b2      	ld	0xc2b2,r2
    7db6:	1cf1 0d01      	ldm	r13,@r15,#0x2
    7dba:	a9f3           	inc	r15,#0x4
    7dbc:	9e08           	ret	t
    7dbe:	bd78           	ldk	r7,#0x8
    7dc0:	5f00 6ed8      	call	0x6ed8
    7dc4:	9e08           	ret	t
    7dc6:	bd71           	ldk	r7,#0x1
    7dc8:	5f00 6ed8      	call	0x6ed8
    7dcc:	9e08           	ret	t
    7dce:	abf5           	dec	r15,#0x6
    7dd0:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    7dd6:	0df8           	clr	@r15
    7dd8:	76f7 0000      	lda	r7,0x0(r15)
    7ddc:	2106 8001      	ld	r6,#0x8001
    7de0:	2105 7fff      	ld	r5,#0x7fff
    7de4:	bd41           	ldk	r4,#0x1
    7de6:	a143           	ld	r3,r4
    7de8:	5f00 7390      	call	0x7390
    7dec:	21fe           	ld	r14,@r15
    7dee:	0b0e 0000      	cp	r14,#0x0
    7df2:	e231           	jr	le,0x7e56
    7df4:	210d c216      	ld	r13,#0xc216
    7df8:	e801           	jr	t,0x7dfc
    7dfa:	a9d0           	inc	r13,#0x1
    7dfc:	20df           	ldb	rl7,@r13
    7dfe:	b170           	extsb	r7
    7e00:	5f00 7792      	call	0x7792
    7e04:	4b02 c2b0      	cp	r2,0xc2b0
    7e08:	e1f8           	jr	lt,0x7dfa
    7e0a:	e821           	jr	t,0x7e4e
    7e0c:	210d c216      	ld	r13,#0xc216
    7e10:	20df           	ldb	rl7,@r13
    7e12:	b170           	extsb	r7
    7e14:	5f00 7792      	call	0x7792
    7e18:	6f02 c2b0      	ld	0xc2b0,r2
    7e1c:	6b0d c2b2      	dec	0xc2b2,#0xe
    7e20:	6102 c2b2      	ld	r2,0xc2b2
    7e24:	4b02 c2b8      	cp	r2,0xc2b8
    7e28:	e912           	jr	ge,0x7e4e
    7e2a:	6102 c2b8      	ld	r2,0xc2b8
    7e2e:	6f02 c2b2      	ld	0xc2b2,r2
    7e32:	e80d           	jr	t,0x7e4e
    7e34:	20df           	ldb	rl7,@r13
    7e36:	b170           	extsb	r7
    7e38:	5f00 7792      	call	0x7792
    7e3c:	6f02 c2b0      	ld	0xc2b0,r2
    7e40:	0b02 031f      	cp	r2,#0x31f
    7e44:	e9e3           	jr	ge,0x7e0c
    7e46:	0b0d c21f      	cp	r13,#0xc21f
    7e4a:	e6e0           	jr	eq,0x7e0c
    7e4c:	a9d0           	inc	r13,#0x1
    7e4e:	a1e2           	ld	r2,r14
    7e50:	abe0           	dec	r14,#0x1
    7e52:	8d24           	test	r2
    7e54:	eeef           	jr	ne,0x7e34
    7e56:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    7e5c:	a9f5           	inc	r15,#0x6
    7e5e:	9e08           	ret	t
    7e60:	bd7b           	ldk	r7,#0xb
    7e62:	5f00 6ed8      	call	0x6ed8
    7e66:	9e08           	ret	t
    7e68:	2107 0041      	ld	r7,#0x41
    7e6c:	5f00 532c      	call	0x532c
    7e70:	8d24           	test	r2
    7e72:	ee18           	jr	ne,0x7ea4
    7e74:	4d01 c43c 0040 	cp	0xc43c,#0x40
    7e7a:	ee04           	jr	ne,0x7e84
    7e7c:	600a c338      	ldb	rl2,0xc338
    7e80:	b120           	extsb	r2
    7e82:	e80e           	jr	t,0x7ea0
    7e84:	4d01 c43a 0009 	cp	0xc43a,#0x9
    7e8a:	ea08           	jr	gt,0x7e9c
    7e8c:	4c04 c438      	testb	0xc438
    7e90:	ee05           	jr	ne,0x7e9c
    7e92:	6102 c43a      	ld	r2,0xc43a
    7e96:	0102 0030      	add	r2,#0x30
    7e9a:	e802           	jr	t,0x7ea0
    7e9c:	6102 c43a      	ld	r2,0xc43a
    7ea0:	6e0a c23a      	ldb	0xc23a,rl2
    7ea4:	9e08           	ret	t
    7ea6:	abf3           	dec	r15,#0x4
    7ea8:	1cf9 0d01      	ldm	@r15,r13,#0x2
    7eac:	bd75           	ldk	r7,#0x5
    7eae:	5f00 532c      	call	0x532c
    7eb2:	8d24           	test	r2
    7eb4:	ee31           	jr	ne,0x7f18
    7eb6:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7ebc:	ee07           	jr	ne,0x7ecc
    7ebe:	4c05 c20d 0101 	ldb	0xc20d,#0x1
    7ec4:	4c05 c20e 5050 	ldb	0xc20e,#0x50
    7eca:	e826           	jr	t,0x7f18
    7ecc:	610d c43a      	ld	r13,0xc43a
    7ed0:	0b0d 0001      	cp	r13,#0x1
    7ed4:	e121           	jr	lt,0x7f18
    7ed6:	0b0d 0050      	cp	r13,#0x50
    7eda:	ea1e           	jr	gt,0x7f18
    7edc:	bd75           	ldk	r7,#0x5
    7ede:	5f00 532c      	call	0x532c
    7ee2:	8d24           	test	r2
    7ee4:	ee19           	jr	ne,0x7f18
    7ee6:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7eec:	ee04           	jr	ne,0x7ef6
    7eee:	600a c20e      	ldb	rl2,0xc20e
    7ef2:	b120           	extsb	r2
    7ef4:	e802           	jr	t,0x7efa
    7ef6:	6102 c43a      	ld	r2,0xc43a
    7efa:	a12e           	ld	r14,r2
    7efc:	0b02 0001      	cp	r2,#0x1
    7f00:	e10b           	jr	lt,0x7f18
    7f02:	0b02 0050      	cp	r2,#0x50
    7f06:	ea08           	jr	gt,0x7f18
    7f08:	8b2d           	cp	r13,r2
    7f0a:	e906           	jr	ge,0x7f18
    7f0c:	a1d2           	ld	r2,r13
    7f0e:	6e0a c20d      	ldb	0xc20d,rl2
    7f12:	a1e2           	ld	r2,r14
    7f14:	6e0a c20e      	ldb	0xc20e,rl2
    7f18:	1cf1 0d01      	ldm	r13,@r15,#0x2
    7f1c:	a9f3           	inc	r15,#0x4
    7f1e:	9e08           	ret	t
    7f20:	2107 c22a      	ld	r7,#0xc22a
    7f24:	5f00 7750      	call	0x7750
    7f28:	9e08           	ret	t
    7f2a:	abf3           	dec	r15,#0x4
    7f2c:	1cf9 0d01      	ldm	@r15,r13,#0x2
    7f30:	210d c216      	ld	r13,#0xc216
    7f34:	bde0           	ldk	r14,#0x0
    7f36:	e810           	jr	t,0x7f58
    7f38:	4d01 c43a 0001 	cp	0xc43a,#0x1
    7f3e:	e108           	jr	lt,0x7f50
    7f40:	4d01 c43a 0050 	cp	0xc43a,#0x50
    7f46:	ea04           	jr	gt,0x7f50
    7f48:	600a c43b      	ldb	rl2,0xc43b
    7f4c:	2eda           	ldb	@r13,rl2
    7f4e:	a9d0           	inc	r13,#0x1
    7f50:	a9e0           	inc	r14,#0x1
    7f52:	0b0e 0009      	cp	r14,#0x9
    7f56:	e907           	jr	ge,0x7f66
    7f58:	bd71           	ldk	r7,#0x1
    7f5a:	5f00 532c      	call	0x532c
    7f5e:	8d24           	test	r2
    7f60:	e6eb           	jr	eq,0x7f38
    7f62:	0cd5 5151      	ldb	@r13,#0x51
    7f66:	1cf1 0d01      	ldm	r13,@r15,#0x2
    7f6a:	a9f3           	inc	r15,#0x4
    7f6c:	9e08           	ret	t
    7f6e:	2107 c31c      	ld	r7,#0xc31c
    7f72:	2106 8001      	ld	r6,#0x8001
    7f76:	2105 7fff      	ld	r5,#0x7fff
    7f7a:	8344           	sub	r4,r4
    7f7c:	bd31           	ldk	r3,#0x1
    7f7e:	5f00 7390      	call	0x7390
    7f82:	9e08           	ret	t
    7f84:	2107 c31a      	ld	r7,#0xc31a
    7f88:	2106 8001      	ld	r6,#0x8001
    7f8c:	2105 7fff      	ld	r5,#0x7fff
    7f90:	8344           	sub	r4,r4
    7f92:	bd31           	ldk	r3,#0x1
    7f94:	5f00 7390      	call	0x7390
    7f98:	9e08           	ret	t
    7f9a:	2107 c312      	ld	r7,#0xc312
    7f9e:	2106 8001      	ld	r6,#0x8001
    7fa2:	2105 7fff      	ld	r5,#0x7fff
    7fa6:	2104 0064      	ld	r4,#0x64
    7faa:	bd31           	ldk	r3,#0x1
    7fac:	5f00 7390      	call	0x7390
    7fb0:	8d24           	test	r2
    7fb2:	ee13           	jr	ne,0x7fda
    7fb4:	4d01 c43c 0004 	cp	0xc43c,#0x4
    7fba:	ee04           	jr	ne,0x7fc4
    7fbc:	4d05 c314 0064 	ld	0xc314,#0x64
    7fc2:	e80b           	jr	t,0x7fda
    7fc4:	2107 c314      	ld	r7,#0xc314
    7fc8:	2106 8001      	ld	r6,#0x8001
    7fcc:	2105 7fff      	ld	r5,#0x7fff
    7fd0:	6104 c312      	ld	r4,0xc312
    7fd4:	bd31           	ldk	r3,#0x1
    7fd6:	5f00 7390      	call	0x7390
    7fda:	9e08           	ret	t
    7fdc:	2107 c231      	ld	r7,#0xc231
    7fe0:	5f00 7750      	call	0x7750
    7fe4:	9e08           	ret	t
    7fe6:	bd71           	ldk	r7,#0x1
    7fe8:	5f00 532c      	call	0x532c
    7fec:	8d24           	test	r2
    7fee:	ee13           	jr	ne,0x8016
    7ff0:	6102 c43a      	ld	r2,0xc43a
    7ff4:	b329 ffff      	sra	r2,#0x1
    7ff8:	6f02 c316      	ld	0xc316,r2
    7ffc:	4d08 c318      	clr	0xc318
    8000:	bd71           	ldk	r7,#0x1
    8002:	5f00 532c      	call	0x532c
    8006:	8d24           	test	r2
    8008:	ee06           	jr	ne,0x8016
    800a:	6102 c43a      	ld	r2,0xc43a
    800e:	b329 ffff      	sra	r2,#0x1
    8012:	6f02 c318      	ld	0xc318,r2
    8016:	9e08           	ret	t
    8018:	030f 0014      	sub	r15,#0x14
    801c:	5cf9 0806 0006 	ldm	0x6(r15),r8,#0x7
    8022:	bd71           	ldk	r7,#0x1
    8024:	5f00 532c      	call	0x532c
    8028:	8d24           	test	r2
    802a:	e604           	jr	eq,0x8034
    802c:	5f00 5712      	call	0x5712
    8030:	5e08 817e      	jp	t,0x817e
    8034:	4d01 c43a 0020 	cp	0xc43a,#0x20
    803a:	e1f8           	jr	lt,0x802c
    803c:	4d01 c43a 007f 	cp	0xc43a,#0x7f
    8042:	eaf4           	jr	gt,0x802c
    8044:	6102 c43a      	ld	r2,0xc43a
    8048:	0302 0020      	sub	r2,#0x20
    804c:	8122           	add	r2,r2
    804e:	6103 c460      	ld	r3,0xc460
    8052:	6f23 f410      	ld	0xf410(r2),r3
    8056:	5f00 7162      	call	0x7162
    805a:	4d01 c2b4 0002 	cp	0xc2b4,#0x2
    8060:	e1e5           	jr	lt,0x802c
    8062:	bd90           	ldk	r9,#0x0
    8064:	a19a           	ld	r10,r9
    8066:	210c d200      	ld	r12,#0xd200
    806a:	210b d2ca      	ld	r11,#0xd2ca
    806e:	bd81           	ldk	r8,#0x1
    8070:	6102 c2b4      	ld	r2,0xc2b4
    8074:	6b00 c2b4      	dec	0xc2b4,#0x1
    8078:	8d24           	test	r2
    807a:	e677           	jr	eq,0x816a
    807c:	21c7           	ld	r7,@r12
    807e:	5f00 784e      	call	0x784e
    8082:	0b02 003f      	cp	r2,#0x3f
    8086:	ea06           	jr	gt,0x8094
    8088:	21b7           	ld	r7,@r11
    808a:	5f00 784e      	call	0x784e
    808e:	0b02 003f      	cp	r2,#0x3f
    8092:	e202           	jr	le,0x8098
    8094:	bd81           	ldk	r8,#0x1
    8096:	e837           	jr	t,0x8106
    8098:	a1a2           	ld	r2,r10
    809a:	03c2           	sub	r2,@r12
    809c:	a12e           	ld	r14,r2
    809e:	a192           	ld	r2,r9
    80a0:	03b2           	sub	r2,@r11
    80a2:	a12d           	ld	r13,r2
    80a4:	a1e7           	ld	r7,r14
    80a6:	5f00 784e      	call	0x784e
    80aa:	0702 0003      	and	r2,#0x3
    80ae:	6ff2 0002      	ld	0x2(r15),r2
    80b2:	a1d7           	ld	r7,r13
    80b4:	5f00 784e      	call	0x784e
    80b8:	0702 0003      	and	r2,#0x3
    80bc:	6ff2 0004      	ld	0x4(r15),r2
    80c0:	0b0e 0000      	cp	r14,#0x0
    80c4:	e902           	jr	ge,0x80ca
    80c6:	65f2 0002      	set	0x2(r15),#0x2
    80ca:	0b0d 0000      	cp	r13,#0x0
    80ce:	e902           	jr	ge,0x80d4
    80d0:	65f2 0004      	set	0x4(r15),#0x2
    80d4:	0b0e fffd      	cp	r14,#0xfffd
    80d8:	e119           	jr	lt,0x810c
    80da:	0b0e 0003      	cp	r14,#0x3
    80de:	ea16           	jr	gt,0x810c
    80e0:	0b0d fffd      	cp	r13,#0xfffd
    80e4:	e113           	jr	lt,0x810c
    80e6:	0b0d 0003      	cp	r13,#0x3
    80ea:	ea10           	jr	gt,0x810c
    80ec:	a187           	ld	r7,r8
    80ee:	61f6 0002      	ld	r6,0x2(r15)
    80f2:	61f5 0004      	ld	r5,0x4(r15)
    80f6:	5f00 818a      	call	0x818a
    80fa:	0b0c d200      	cp	r12,#0xd200
    80fe:	e601           	jr	eq,0x8102
    8100:	bd82           	ldk	r8,#0x2
    8102:	21ca           	ld	r10,@r12
    8104:	21b9           	ld	r9,@r11
    8106:	a9c1           	inc	r12,#0x2
    8108:	a9b1           	inc	r11,#0x2
    810a:	e8b2           	jr	t,0x8070
    810c:	8377           	sub	r7,r7
    810e:	61f6 0002      	ld	r6,0x2(r15)
    8112:	61f5 0004      	ld	r5,0x4(r15)
    8116:	5f00 818a      	call	0x818a
    811a:	a1e7           	ld	r7,r14
    811c:	5f00 784e      	call	0x784e
    8120:	b329 fffe      	sra	r2,#0x2
    8124:	a12e           	ld	r14,r2
    8126:	a1d7           	ld	r7,r13
    8128:	5f00 784e      	call	0x784e
    812c:	b329 fffe      	sra	r2,#0x2
    8130:	a12d           	ld	r13,r2
    8132:	8de4           	test	r14
    8134:	ee02           	jr	ne,0x813a
    8136:	8dd4           	test	r13
    8138:	e6e0           	jr	eq,0x80fa
    813a:	0b0e 0008      	cp	r14,#0x8
    813e:	e905           	jr	ge,0x814a
    8140:	0b0d 0008      	cp	r13,#0x8
    8144:	e902           	jr	ge,0x814a
    8146:	a182           	ld	r2,r8
    8148:	e801           	jr	t,0x814c
    814a:	8322           	sub	r2,r2
    814c:	2ff2           	ld	@r15,r2
    814e:	a1e6           	ld	r6,r14
    8150:	0706 0007      	and	r6,#0x7
    8154:	a1d5           	ld	r5,r13
    8156:	0705 0007      	and	r5,#0x7
    815a:	a127           	ld	r7,r2
    815c:	5f00 818a      	call	0x818a
    8160:	b3e9 fffd      	sra	r14,#0x3
    8164:	b3d9 fffd      	sra	r13,#0x3
    8168:	e8e4           	jr	t,0x8132
    816a:	6b00 c460      	dec	0xc460,#0x1
    816e:	6102 c460      	ld	r2,0xc460
    8172:	202b           	ldb	rl3,@r2
    8174:	040b c0c0      	orb	rl3,#0xc0
    8178:	2e2b           	ldb	@r2,rl3
    817a:	6900 c460      	inc	0xc460,#0x1
    817e:	5cf1 0806 0006 	ldm	r8,0x6(r15),#0x7
    8184:	010f 0014      	add	r15,#0x14
    8188:	9e08           	ret	t
    818a:	abf5           	dec	r15,#0x6
    818c:	2ffc           	ld	@r15,r12
    818e:	a171           	ld	r1,r7
    8190:	a164           	ld	r4,r6
    8192:	a15c           	ld	r12,r5
    8194:	4d01 c460 f410 	cp	0xc460,#0xf410
    819a:	ef0e           	jr	nc/uge,0x81b8
    819c:	a172           	ld	r2,r7
    819e:	b329 0006      	sla	r2,#0x6
    81a2:	a163           	ld	r3,r6
    81a4:	b339 0003      	sla	r3,#0x3
    81a8:	8532           	or	r2,r3
    81aa:	8552           	or	r2,r5
    81ac:	6103 c460      	ld	r3,0xc460
    81b0:	2e3a           	ldb	@r3,rl2
    81b2:	6900 c460      	inc	0xc460,#0x1
    81b6:	e806           	jr	t,0x81c4
    81b8:	6102 c460      	ld	r2,0xc460
    81bc:	202b           	ldb	rl3,@r2
    81be:	040b c0c0      	orb	rl3,#0xc0
    81c2:	2e2b           	ldb	@r2,rl3
    81c4:	21fc           	ld	r12,@r15
    81c6:	a9f5           	inc	r15,#0x6
    81c8:	9e08           	ret	t
    81ca:	2107 0020      	ld	r7,#0x20
    81ce:	5f00 532c      	call	0x532c
    81d2:	8d24           	test	r2
    81d4:	ee04           	jr	ne,0x81de
    81d6:	4d01 c43a 000a 	cp	0xc43a,#0xa
    81dc:	e603           	jr	eq,0x81e4
    81de:	5f00 5712      	call	0x5712
    81e2:	e838           	jr	t,0x8254
    81e4:	bd71           	ldk	r7,#0x1
    81e6:	5f00 532c      	call	0x532c
    81ea:	8d24           	test	r2
    81ec:	eef8           	jr	ne,0x81de
    81ee:	4d01 c43a 0001 	cp	0xc43a,#0x1
    81f4:	e1f4           	jr	lt,0x81de
    81f6:	4d01 c43a 0010 	cp	0xc43a,#0x10
    81fc:	eaf0           	jr	gt,0x81de
    81fe:	6102 c43a      	ld	r2,0xc43a
    8202:	0102 00a8      	add	r2,#0xa8
    8206:	8122           	add	r2,r2
    8208:	4d24 e75e      	test	0xe75e(r2)
    820c:	e623           	jr	eq,0x8254
    820e:	4d01 c294 f220 	cp	0xc294,#0xf220
    8214:	ef12           	jr	nc/uge,0x823a
    8216:	4d04 c440      	test	0xc440
    821a:	e60a           	jr	eq,0x8230
    821c:	4d01 c43e 003b 	cp	0xc43e,#0x3b
    8222:	e606           	jr	eq,0x8230
    8224:	6102 c294      	ld	r2,0xc294
    8228:	600b c43f      	ldb	rl3,0xc43f
    822c:	2e2b           	ldb	@r2,rl3
    822e:	e803           	jr	t,0x8236
    8230:	6102 c294      	ld	r2,0xc294
    8234:	0c28           	clrb	@r2
    8236:	6900 c294      	inc	0xc294,#0x1
    823a:	6107 c43a      	ld	r7,0xc43a
    823e:	0107 00a8      	add	r7,#0xa8
    8242:	5f00 6002      	call	0x6002
    8246:	600a c247      	ldb	rl2,0xc247
    824a:	6e0a c249      	ldb	0xc249,rl2
    824e:	4d05 c43c 0004 	ld	0xc43c,#0x4
    8254:	9e08           	ret	t
    8256:	abf7           	dec	r15,#0x8
    8258:	5cf9 0c02 0002 	ldm	0x2(r15),r12,#0x3
    825e:	4cf5 0001 0101 	ldb	0x1(r15),#0x1
    8264:	2107 0041      	ld	r7,#0x41
    8268:	5f00 532c      	call	0x532c
    826c:	8d24           	test	r2
    826e:	5e0e 8454      	jp	ne,0x8454
    8272:	6102 c43c      	ld	r2,0xc43c
    8276:	0b02 0001      	cp	r2,#0x1
    827a:	5e06 8396      	jp	eq,0x8396
    827e:	0b02 0040      	cp	r2,#0x40
    8282:	5e0e 83c8      	jp	ne,0x83c8
    8286:	600a c338      	ldb	rl2,0xc338
    828a:	b120           	extsb	r2
    828c:	a12e           	ld	r14,r2
    828e:	a127           	ld	r7,r2
    8290:	5f00 790c      	call	0x790c
    8294:	6e0a c338      	ldb	0xc338,rl2
    8298:	0a0a 4d4d      	cpb	rl2,#0x4d
    829c:	e60a           	jr	eq,0x82b2
    829e:	0a0a 4646      	cpb	rl2,#0x46
    82a2:	e607           	jr	eq,0x82b2
    82a4:	0a0a 5353      	cpb	rl2,#0x53
    82a8:	e604           	jr	eq,0x82b2
    82aa:	0a0a 5050      	cpb	rl2,#0x50
    82ae:	5e0e 83c8      	jp	ne,0x83c8
    82b2:	2107 0843      	ld	r7,#0x843
    82b6:	5f00 532c      	call	0x532c
    82ba:	8d24           	test	r2
    82bc:	5e0e 8454      	jp	ne,0x8454
    82c0:	4d01 c43c 0002 	cp	0xc43c,#0x2
    82c6:	ee03           	jr	ne,0x82ce
    82c8:	4cf8 0001      	clrb	0x1(r15)
    82cc:	e87d           	jr	t,0x83c8
    82ce:	4d01 c43c 0001 	cp	0xc43c,#0x1
    82d4:	ee30           	jr	ne,0x8336
    82d6:	4c01 c338 4d4d 	cpb	0xc338,#0x4d
    82dc:	ee0d           	jr	ne,0x82f8
    82de:	4d01 c43a 0001 	cp	0xc43a,#0x1
    82e4:	e155           	jr	lt,0x8390
    82e6:	4d01 c43a 0010 	cp	0xc43a,#0x10
    82ec:	ea51           	jr	gt,0x8390
    82ee:	6102 c43a      	ld	r2,0xc43a
    82f2:	0102 00a8      	add	r2,#0xa8
    82f6:	e867           	jr	t,0x83c6
    82f8:	4d01 c43a 0000 	cp	0xc43a,#0x0
    82fe:	e118           	jr	lt,0x8330
    8300:	4d01 c43a 000d 	cp	0xc43a,#0xd
    8306:	ea14           	jr	gt,0x8330
    8308:	4c01 c338 4646 	cpb	0xc338,#0x46
    830e:	ee03           	jr	ne,0x8316
    8310:	6102 c43a      	ld	r2,0xc43a
    8314:	e80c           	jr	t,0x832e
    8316:	4c01 c338 5353 	cpb	0xc338,#0x53
    831c:	ee04           	jr	ne,0x8326
    831e:	6102 c43a      	ld	r2,0xc43a
    8322:	a92c           	inc	r2,#0xd
    8324:	e804           	jr	t,0x832e
    8326:	6102 c43a      	ld	r2,0xc43a
    832a:	0102 001b      	add	r2,#0x1b
    832e:	a12e           	ld	r14,r2
    8330:	010e 007f      	add	r14,#0x7f
    8334:	e849           	jr	t,0x83c8
    8336:	600f c338      	ldb	rl7,0xc338
    833a:	b170           	extsb	r7
    833c:	5f00 790c      	call	0x790c
    8340:	6e0a c338      	ldb	0xc338,rl2
    8344:	0a0a 2e2e      	cpb	rl2,#0x2e
    8348:	ee03           	jr	ne,0x8350
    834a:	2102 00a4      	ld	r2,#0xa4
    834e:	e81d           	jr	t,0x838a
    8350:	4c01 c338 5454 	cpb	0xc338,#0x54
    8356:	ee03           	jr	ne,0x835e
    8358:	2102 00a5      	ld	r2,#0xa5
    835c:	e816           	jr	t,0x838a
    835e:	4c01 c338 4545 	cpb	0xc338,#0x45
    8364:	ee03           	jr	ne,0x836c
    8366:	2102 00a6      	ld	r2,#0xa6
    836a:	e80f           	jr	t,0x838a
    836c:	4c01 c338 5353 	cpb	0xc338,#0x53
    8372:	ee03           	jr	ne,0x837a
    8374:	2102 00a7      	ld	r2,#0xa7
    8378:	e808           	jr	t,0x838a
    837a:	4c01 c338 4242 	cpb	0xc338,#0x42
    8380:	ee03           	jr	ne,0x8388
    8382:	2102 00a8      	ld	r2,#0xa8
    8386:	e801           	jr	t,0x838a
    8388:	8322           	sub	r2,r2
    838a:	a12e           	ld	r14,r2
    838c:	8d24           	test	r2
    838e:	ee1c           	jr	ne,0x83c8
    8390:	5f00 5712      	call	0x5712
    8394:	e85f           	jr	t,0x8454
    8396:	610e c43a      	ld	r14,0xc43a
    839a:	0b0e 000a      	cp	r14,#0xa
    839e:	e905           	jr	ge,0x83aa
    83a0:	4c04 c438      	testb	0xc438
    83a4:	ee02           	jr	ne,0x83aa
    83a6:	010e 0030      	add	r14,#0x30
    83aa:	4d01 c43a 007f 	cp	0xc43a,#0x7f
    83b0:	e20b           	jr	le,0x83c8
    83b2:	6107 c43a      	ld	r7,0xc43a
    83b6:	5f00 7608      	call	0x7608
    83ba:	8d24           	test	r2
    83bc:	e6e9           	jr	eq,0x8390
    83be:	6107 c43a      	ld	r7,0xc43a
    83c2:	5f00 7668      	call	0x7668
    83c6:	a12e           	ld	r14,r2
    83c8:	a1e2           	ld	r2,r14
    83ca:	81e2           	add	r2,r14
    83cc:	4d28 e75e      	clr	0xe75e(r2)
    83d0:	4cf4 0001      	testb	0x1(r15)
    83d4:	e603           	jr	eq,0x83dc
    83d6:	bd73           	ldk	r7,#0x3
    83d8:	5f00 532c      	call	0x532c
    83dc:	6102 c43c      	ld	r2,0xc43c
    83e0:	0702 0003      	and	r2,#0x3
    83e4:	e637           	jr	eq,0x8454
    83e6:	4d01 c262 e75e 	cp	0xc262,#0xe75e
    83ec:	e633           	jr	eq,0x8454
    83ee:	a1e2           	ld	r2,r14
    83f0:	81e2           	add	r2,r14
    83f2:	6103 c262      	ld	r3,0xc262
    83f6:	6f23 e75e      	ld	0xe75e(r2),r3
    83fa:	a13d           	ld	r13,r3
    83fc:	6102 c43c      	ld	r2,0xc43c
    8400:	e817           	jr	t,0x8430
    8402:	210c c338      	ld	r12,#0xc338
    8406:	a1c2           	ld	r2,r12
    8408:	a9c0           	inc	r12,#0x1
    840a:	a1d3           	ld	r3,r13
    840c:	a9d0           	inc	r13,#0x1
    840e:	2028           	ldb	rl0,@r2
    8410:	2e38           	ldb	@r3,rl0
    8412:	8c84           	testb	rl0
    8414:	e603           	jr	eq,0x841c
    8416:	0b0d e75e      	cp	r13,#0xe75e
    841a:	e7f5           	jr	c/ult,0x8406
    841c:	abd0           	dec	r13,#0x1
    841e:	e80e           	jr	t,0x843c
    8420:	0b0d e75c      	cp	r13,#0xe75c
    8424:	eb0b           	jr	ugt,0x843c
    8426:	600a c43b      	ldb	rl2,0xc43b
    842a:	2eda           	ldb	@r13,rl2
    842c:	a9d0           	inc	r13,#0x1
    842e:	e806           	jr	t,0x843c
    8430:	0b02 0001      	cp	r2,#0x1
    8434:	e6f5           	jr	eq,0x8420
    8436:	0b02 0002      	cp	r2,#0x2
    843a:	e6e3           	jr	eq,0x8402
    843c:	bd73           	ldk	r7,#0x3
    843e:	5f00 532c      	call	0x532c
    8442:	8d24           	test	r2
    8444:	e6db           	jr	eq,0x83fc
    8446:	0cd8           	clrb	@r13
    8448:	0b0d e75e      	cp	r13,#0xe75e
    844c:	ef01           	jr	nc/uge,0x8450
    844e:	a9d0           	inc	r13,#0x1
    8450:	6f0d c262      	ld	0xc262,r13
    8454:	5cf1 0c02 0002 	ldm	r12,0x2(r15),#0x3
    845a:	a9f7           	inc	r15,#0x8
    845c:	9e08           	ret	t
    845e:	84ba           	orb	rl2,rl3
    8460:	84ba           	orb	rl2,rl3
    8462:	84e2           	orb	rh2,rl6
    8464:	84e2           	orb	rh2,rl6
    8466:	84e2           	orb	rh2,rl6
    8468:	0001 0005      	addb	rh1,#0x5
    846c:	0007 0010      	addb	rh7,#0x10
    8470:	0011           	addb	rh1,@r1
    8472:	8598           	or	r8,r9
    8474:	8550           	or	r0,r5
    8476:	8550           	or	r0,r5
    8478:	8592           	or	r2,r9
    847a:	8550           	or	r0,r5
    847c:	abf1           	dec	r15,#0x2
    847e:	2ffe           	ld	@r15,r14
    8480:	2107 0021      	ld	r7,#0x21
    8484:	5f00 532c      	call	0x532c
    8488:	8d24           	test	r2
    848a:	5e0e 859e      	jp	ne,0x859e
    848e:	4d01 c43c 0001 	cp	0xc43c,#0x1
    8494:	ee50           	jr	ne,0x8536
    8496:	5f00 6f96      	call	0x6f96
    849a:	4c05 c29d 0101 	ldb	0xc29d,#0x1
    84a0:	4c08 c29b      	clrb	0xc29b
    84a4:	610e c43a      	ld	r14,0xc43a
    84a8:	a1e2           	ld	r2,r14
    84aa:	ab20           	dec	r2,#0x1
    84ac:	0b02 0004      	cp	r2,#0x4
    84b0:	eb36           	jr	ugt,0x851e
    84b2:	b320           	rl	r2,#0x1
    84b4:	6122 845e      	ld	r2,0x845e(r2)
    84b8:	1e28           	jp	t,@r2
    84ba:	600a c298      	ldb	rl2,0xc298
    84be:	040a 0d0d      	orb	rl2,#0xd
    84c2:	6e0a c298      	ldb	0xc298,rl2
    84c6:	6205 c298      	resb	0xc298,#0x5
    84ca:	0b0e 0001      	cp	r14,#0x1
    84ce:	ee03           	jr	ne,0x84d6
    84d0:	6204 c298      	resb	0xc298,#0x4
    84d4:	e824           	jr	t,0x851e
    84d6:	4c05 c29b 0101 	ldb	0xc29b,#0x1
    84dc:	6404 c298      	setb	0xc298,#0x4
    84e0:	e81e           	jr	t,0x851e
    84e2:	600a c298      	ldb	rl2,0xc298
    84e6:	060a ebeb      	andb	rl2,#0xeb
    84ea:	6e0a c298      	ldb	0xc298,rl2
    84ee:	0b0e 0005      	cp	r14,#0x5
    84f2:	ee07           	jr	ne,0x8502
    84f4:	040a 2121      	orb	rl2,#0x21
    84f8:	6e0a c298      	ldb	0xc298,rl2
    84fc:	6203 c298      	resb	0xc298,#0x3
    8500:	e80e           	jr	t,0x851e
    8502:	6200 c298      	resb	0xc298,#0x0
    8506:	6403 c298      	setb	0xc298,#0x3
    850a:	0b0e 0004      	cp	r14,#0x4
    850e:	ee05           	jr	ne,0x851a
    8510:	4c08 c29d      	clrb	0xc29d
    8514:	6405 c298      	setb	0xc298,#0x5
    8518:	e802           	jr	t,0x851e
    851a:	6205 c298      	resb	0xc298,#0x5
    851e:	5f00 6fb6      	call	0x6fb6
    8522:	2107 0024      	ld	r7,#0x24
    8526:	5f00 532c      	call	0x532c
    852a:	8d24           	test	r2
    852c:	ee38           	jr	ne,0x859e
    852e:	4d01 c43c 0004 	cp	0xc43c,#0x4
    8534:	e636           	jr	eq,0x85a2
    8536:	610e c43a      	ld	r14,0xc43a
    853a:	a1e2           	ld	r2,r14
    853c:	2103 8468      	ld	r3,#0x8468
    8540:	2104 0005      	ld	r4,#0x5
    8544:	bb34 0426      	cpir	r2,@r3,r4,eq
    8548:	ee2a           	jr	ne,0x859e
    854a:	6132 0008      	ld	r2,0x8(r3)
    854e:	1e28           	jp	t,@r2
    8550:	4d05 c326 031f 	ld	0xc326,#0x31f
    8556:	4d05 c328 027f 	ld	0xc328,#0x27f
    855c:	0b0e 0011      	cp	r14,#0x11
    8560:	ee11           	jr	ne,0x8584
    8562:	4d05 c326 0257 	ld	0xc326,#0x257
    8568:	4d05 c328 01df 	ld	0xc328,#0x1df
    856e:	2107 0020      	ld	r7,#0x20
    8572:	5f00 532c      	call	0x532c
    8576:	8d24           	test	r2
    8578:	e6de           	jr	eq,0x8536
    857a:	4d01 c43c 0004 	cp	0xc43c,#0x4
    8580:	e610           	jr	eq,0x85a2
    8582:	e80d           	jr	t,0x859e
    8584:	0b0e 0005      	cp	r14,#0x5
    8588:	eef2           	jr	ne,0x856e
    858a:	4d05 c326 031f 	ld	0xc326,#0x31f
    8590:	e8eb           	jr	t,0x8568
    8592:	6401 c298      	setb	0xc298,#0x1
    8596:	e8eb           	jr	t,0x856e
    8598:	6201 c298      	resb	0xc298,#0x1
    859c:	e8e8           	jr	t,0x856e
    859e:	5f00 5712      	call	0x5712
    85a2:	21fe           	ld	r14,@r15
    85a4:	a9f1           	inc	r15,#0x2
    85a6:	9e08           	ret	t
    85a8:	abf1           	dec	r15,#0x2
    85aa:	2ffe           	ld	@r15,r14
    85ac:	210e c212      	ld	r14,#0xc212
    85b0:	bd75           	ldk	r7,#0x5
    85b2:	5f00 532c      	call	0x532c
    85b6:	8d24           	test	r2
    85b8:	e603           	jr	eq,0x85c0
    85ba:	5f00 5712      	call	0x5712
    85be:	e81c           	jr	t,0x85f8
    85c0:	4d01 c43c 0004 	cp	0xc43c,#0x4
    85c6:	ee03           	jr	ne,0x85ce
    85c8:	4d05 c43a 0898 	ld	0xc43a,#0x898
    85ce:	6102 c43a      	ld	r2,0xc43a
    85d2:	6f02 c32a      	ld	0xc32a,r2
    85d6:	2fe2           	ld	@r14,r2
    85d8:	a9e1           	inc	r14,#0x2
    85da:	6102 c43a      	ld	r2,0xc43a
    85de:	6f02 c32c      	ld	0xc32c,r2
    85e2:	2fe2           	ld	@r14,r2
    85e4:	bd71           	ldk	r7,#0x1
    85e6:	5f00 532c      	call	0x532c
    85ea:	8d24           	test	r2
    85ec:	ee05           	jr	ne,0x85f8
    85ee:	6102 c43a      	ld	r2,0xc43a
    85f2:	6f02 c32c      	ld	0xc32c,r2
    85f6:	2fe2           	ld	@r14,r2
    85f8:	21fe           	ld	r14,@r15
    85fa:	a9f1           	inc	r15,#0x2
    85fc:	9e08           	ret	t
    85fe:	5f00 5316      	call	0x5316
    8602:	5f00 4252      	call	0x4252
    8606:	9e08           	ret	t
    8608:	abf3           	dec	r15,#0x4
    860a:	1cf9 0d01      	ldm	@r15,r13,#0x2
    860e:	2107 0021      	ld	r7,#0x21
    8612:	5f00 532c      	call	0x532c
    8616:	8d24           	test	r2
    8618:	ee56           	jr	ne,0x86c6
    861a:	4d01 c43c 0001 	cp	0xc43c,#0x1
    8620:	ee21           	jr	ne,0x8664
    8622:	4d01 c43a 0000 	cp	0xc43a,#0x0
    8628:	e14e           	jr	lt,0x86c6
    862a:	4d01 c43a 000d 	cp	0xc43a,#0xd
    8630:	ea4a           	jr	gt,0x86c6
    8632:	600a c20f      	ldb	rl2,0xc20f
    8636:	060a f0f0      	andb	rl2,#0xf0
    863a:	6e0a c20f      	ldb	0xc20f,rl2
    863e:	b120           	extsb	r2
    8640:	4502 c43a      	or	r2,0xc43a
    8644:	440a c20f      	orb	rl2,0xc20f
    8648:	6e0a c20f      	ldb	0xc20f,rl2
    864c:	5f00 aefc      	call	0xaefc
    8650:	2107 0024      	ld	r7,#0x24
    8654:	5f00 532c      	call	0x532c
    8658:	8d24           	test	r2
    865a:	ee35           	jr	ne,0x86c6
    865c:	4d01 c43c 0004 	cp	0xc43c,#0x4
    8662:	e633           	jr	eq,0x86ca
    8664:	6102 c43a      	ld	r2,0xc43a
    8668:	602a 4e7e      	ldb	rl2,0x4e7e(r2)
    866c:	b120           	extsb	r2
    866e:	a12e           	ld	r14,r2
    8670:	a727           	bit	r2,#0x7
    8672:	e629           	jr	eq,0x86c6
    8674:	0702 001f      	and	r2,#0x1f
    8678:	b329 fffd      	sra	r2,#0x3
    867c:	2103 ffff      	ld	r3,#0xffff
    8680:	b33b 0200      	sda	r3,r2
    8684:	8d30           	com	r3
    8686:	a1e2           	ld	r2,r14
    8688:	0702 0007      	and	r2,#0x7
    868c:	a12d           	ld	r13,r2
    868e:	b33b 0200      	sda	r3,r2
    8692:	8d30           	com	r3
    8694:	460b c210      	andb	rl3,0xc210
    8698:	6e0b c210      	ldb	0xc210,rl3
    869c:	a1e2           	ld	r2,r14
    869e:	0702 0060      	and	r2,#0x60
    86a2:	b329 fffb      	sra	r2,#0x5
    86a6:	b32b 0d00      	sda	r2,r13
    86aa:	440a c210      	orb	rl2,0xc210
    86ae:	6e0a c210      	ldb	0xc210,rl2
    86b2:	2107 0020      	ld	r7,#0x20
    86b6:	5f00 532c      	call	0x532c
    86ba:	8d24           	test	r2
    86bc:	e6d3           	jr	eq,0x8664
    86be:	4d01 c43c 0004 	cp	0xc43c,#0x4
    86c4:	e602           	jr	eq,0x86ca
    86c6:	5f00 5712      	call	0x5712
    86ca:	1cf1 0d01      	ldm	r13,@r15,#0x2
    86ce:	a9f3           	inc	r15,#0x4
    86d0:	9e08           	ret	t
    86d2:	abf1           	dec	r15,#0x2
    86d4:	2ffe           	ld	@r15,r14
    86d6:	bd71           	ldk	r7,#0x1
    86d8:	5f00 532c      	call	0x532c
    86dc:	8d24           	test	r2
    86de:	ee04           	jr	ne,0x86e8
    86e0:	4d01 c43a 00c8 	cp	0xc43a,#0xc8
    86e6:	ee03           	jr	ne,0x86ee
    86e8:	5f00 5712      	call	0x5712
    86ec:	e813           	jr	t,0x8714
    86ee:	5f00 2bfa      	call	0x2bfa
    86f2:	a12e           	ld	r14,r2
    86f4:	0b02 ffff      	cp	r2,#0xffff
    86f8:	e6f7           	jr	eq,0x86e8
    86fa:	600a c20f      	ldb	rl2,0xc20f
    86fe:	b120           	extsb	r2
    8700:	0702 000f      	and	r2,#0xf
    8704:	a1e3           	ld	r3,r14
    8706:	b339 0004      	sla	r3,#0x4
    870a:	8532           	or	r2,r3
    870c:	6e0a c20f      	ldb	0xc20f,rl2
    8710:	5f00 1d84      	call	0x1d84
    8714:	21fe           	ld	r14,@r15
    8716:	a9f1           	inc	r15,#0x2
    8718:	9e08           	ret	t
    871a:	8798           	and	r8,r9
    871c:	87b0           	and	r0,r11
    871e:	87b8           	and	r8,r11
    8720:	87f6           	and	r6,r15
    8722:	8886           	xorb	rh6,rl0
    8724:	88c8           	xorb	rl0,rl4
    8726:	88c8           	xorb	rl0,rl4
    8728:	88c8           	xorb	rl0,rl4
    872a:	88c8           	xorb	rl0,rl4
    872c:	88c8           	xorb	rl0,rl4
    872e:	88c8           	xorb	rl0,rl4
    8730:	88ce           	xorb	rl6,rl4
    8732:	88ce           	xorb	rl6,rl4
    8734:	88ce           	xorb	rl6,rl4
    8736:	88ce           	xorb	rl6,rl4
    8738:	88d4           	xorb	rh4,rl5
    873a:	abf5           	dec	r15,#0x6
    873c:	6ffe 0004      	ld	0x4(r15),r14
    8740:	bd71           	ldk	r7,#0x1
    8742:	5f00 532c      	call	0x532c
    8746:	8d24           	test	r2
    8748:	5e0e 88f2      	jp	ne,0x88f2
    874c:	210e ffff      	ld	r14,#0xffff
    8750:	4c01 c243 0303 	cpb	0xc243,#0x3
    8756:	ee03           	jr	ne,0x875e
    8758:	5f00 782e      	call	0x782e
    875c:	bde3           	ldk	r14,#0x3
    875e:	600f c23a      	ldb	rl7,0xc23a
    8762:	b170           	extsb	r7
    8764:	5f00 6c20      	call	0x6c20
    8768:	2107 88fa      	ld	r7,#0x88fa
    876c:	5f00 6eb8      	call	0x6eb8
    8770:	bd72           	ldk	r7,#0x2
    8772:	6106 c43a      	ld	r6,0xc43a
    8776:	5f00 6e88      	call	0x6e88
    877a:	2107 002c      	ld	r7,#0x2c
    877e:	5f00 6c20      	call	0x6c20
    8782:	6102 c43a      	ld	r2,0xc43a
    8786:	a920           	inc	r2,#0x1
    8788:	0b02 000f      	cp	r2,#0xf
    878c:	5e0b 88dc      	jp	ugt,0x88dc
    8790:	b320           	rl	r2,#0x1
    8792:	6122 871a      	ld	r2,0x871a(r2)
    8796:	1e28           	jp	t,@r2
    8798:	2107 4d3c      	ld	r7,#0x4d3c
    879c:	5f00 6eb8      	call	0x6eb8
    87a0:	2107 002c      	ld	r7,#0x2c
    87a4:	5f00 6c20      	call	0x6c20
    87a8:	2107 88fe      	ld	r7,#0x88fe
    87ac:	5e08 88d8      	jp	t,0x88d8
    87b0:	2107 8904      	ld	r7,#0x8904
    87b4:	5e08 88d8      	jp	t,0x88d8
    87b8:	6107 c2b2      	ld	r7,0xc2b2
    87bc:	5f00 77d4      	call	0x77d4
    87c0:	2ff2           	ld	@r15,r2
    87c2:	bd73           	ldk	r7,#0x3
    87c4:	a126           	ld	r6,r2
    87c6:	5f00 6e88      	call	0x6e88
    87ca:	2107 002c      	ld	r7,#0x2c
    87ce:	5f00 6c20      	call	0x6c20
    87d2:	6107 c2b0      	ld	r7,0xc2b0
    87d6:	5f00 77c0      	call	0x77c0
    87da:	2ff2           	ld	@r15,r2
    87dc:	bd73           	ldk	r7,#0x3
    87de:	a126           	ld	r6,r2
    87e0:	5f00 6e88      	call	0x6e88
    87e4:	2107 002c      	ld	r7,#0x2c
    87e8:	5f00 6c20      	call	0x6c20
    87ec:	2107 0020      	ld	r7,#0x20
    87f0:	5f00 6c20      	call	0x6c20
    87f4:	e873           	jr	t,0x88dc
    87f6:	6107 c2ac      	ld	r7,0xc2ac
    87fa:	5f00 3b74      	call	0x3b74
    87fe:	a121           	ld	r1,r2
    8800:	b10a           	exts	rr0
    8802:	1b00 03e8      	div	rr0,#0x3e8
    8806:	2ff0           	ld	@r15,r0
    8808:	8377           	sub	r7,r7
    880a:	a106           	ld	r6,r0
    880c:	5f00 78b0      	call	0x78b0
    8810:	6ff2 0002      	ld	0x2(r15),r2
    8814:	bd73           	ldk	r7,#0x3
    8816:	a126           	ld	r6,r2
    8818:	5f00 6e88      	call	0x6e88
    881c:	2107 002c      	ld	r7,#0x2c
    8820:	5f00 6c20      	call	0x6c20
    8824:	6107 c2ae      	ld	r7,0xc2ae
    8828:	5f00 3bae      	call	0x3bae
    882c:	a121           	ld	r1,r2
    882e:	b10a           	exts	rr0
    8830:	1b00 03e8      	div	rr0,#0x3e8
    8834:	2ff0           	ld	@r15,r0
    8836:	8377           	sub	r7,r7
    8838:	a106           	ld	r6,r0
    883a:	5f00 78b0      	call	0x78b0
    883e:	6ff2 0002      	ld	0x2(r15),r2
    8842:	bd73           	ldk	r7,#0x3
    8844:	a126           	ld	r6,r2
    8846:	5f00 6e88      	call	0x6e88
    884a:	2107 002c      	ld	r7,#0x2c
    884e:	5f00 6c20      	call	0x6c20
    8852:	670a c30a      	bit	0xc30a,#0xa
    8856:	e603           	jr	eq,0x885e
    8858:	2107 0050      	ld	r7,#0x50
    885c:	e802           	jr	t,0x8862
    885e:	2107 0043      	ld	r7,#0x43
    8862:	5f00 6c20      	call	0x6c20
    8866:	670a c30a      	bit	0xc30a,#0xa
    886a:	6106 c30a      	ld	r6,0xc30a
    886e:	0706 00ff      	and	r6,#0xff
    8872:	bd73           	ldk	r7,#0x3
    8874:	5f00 6e88      	call	0x6e88
    8878:	2107 002c      	ld	r7,#0x2c
    887c:	5f00 6c20      	call	0x6c20
    8880:	2107 890d      	ld	r7,#0x890d
    8884:	e829           	jr	t,0x88d8
    8886:	bd73           	ldk	r7,#0x3
    8888:	600e c22d      	ldb	rl6,0xc22d
    888c:	b160           	extsb	r6
    888e:	5f00 6e88      	call	0x6e88
    8892:	2107 002c      	ld	r7,#0x2c
    8896:	5f00 6c20      	call	0x6c20
    889a:	6107 c2cc      	ld	r7,0xc2cc
    889e:	5f00 3b74      	call	0x3b74
    88a2:	2ff2           	ld	@r15,r2
    88a4:	bd73           	ldk	r7,#0x3
    88a6:	a126           	ld	r6,r2
    88a8:	5f00 6e88      	call	0x6e88
    88ac:	2107 002c      	ld	r7,#0x2c
    88b0:	5f00 6c20      	call	0x6c20
    88b4:	6107 c2ce      	ld	r7,0xc2ce
    88b8:	5f00 3bae      	call	0x3bae
    88bc:	2ff2           	ld	@r15,r2
    88be:	bd73           	ldk	r7,#0x3
    88c0:	a126           	ld	r6,r2
    88c2:	5f00 6e88      	call	0x6e88
    88c6:	e80a           	jr	t,0x88dc
    88c8:	2107 8911      	ld	r7,#0x8911
    88cc:	e805           	jr	t,0x88d8
    88ce:	2107 891b      	ld	r7,#0x891b
    88d2:	e802           	jr	t,0x88d8
    88d4:	2107 8924      	ld	r7,#0x8924
    88d8:	5f00 6eb8      	call	0x6eb8
    88dc:	2107 003b      	ld	r7,#0x3b
    88e0:	5f00 6c20      	call	0x6c20
    88e4:	5f00 601c      	call	0x601c
    88e8:	0b0e 0003      	cp	r14,#0x3
    88ec:	ee02           	jr	ne,0x88f2
    88ee:	5f00 780e      	call	0x780e
    88f2:	61fe 0004      	ld	r14,0x4(r15)
    88f6:	a9f5           	inc	r15,#0x6
    88f8:	9e08           	ret	t
    88fa:	414e 5300      	add	r14,0x5300(r4)
    88fe:	4451 3635      	orb	rh1,0x3635(r5)
    8902:	3000 3030      	ldrb	rh0,0xb936
    8906:	3030 2c30      	ldb	rh0,r3(#0x2c30)
    890a:	3030 0030      	ldb	rh0,r3(#0x30)
    890e:	3031 0030      	ldb	rh1,r3(#0x30)
    8912:	2c30           	exb	rh0,@r3
    8914:	302c 3030      	ldb	rl4,r2(#0x3030)
    8918:	3030 0030      	ldb	rh0,r3(#0x30)
    891c:	2c30           	exb	rh0,@r3
    891e:	3030 3030      	ldb	rh0,r3(#0x3030)
    8922:	3000 302c      	ldrb	rh0,0xb952
    8926:	462c 3030      	andb	rl4,0x3030(r2)
    892a:	3000 0090      	ldrb	rh0,0x89be
    892e:	90d0           	cpl	rr0,rr13
    8930:	b292           	rlb	rl1,#0x2
    8932:	1212           	subl	rr2,@r1
    8934:	0c00           	.word 0c00
    8936:	608a 8a4a      	ldb	rl2,0x8a4a(r8)
    893a:	2e2a           	ldb	@r2,rl2
    893c:	ca0a           	ldb	rl2,#0xa
    893e:	6080 8040      	ldb	rh0,0x8040(r8)
    8942:	2a2a           	decb	@r2,#0xb
    8944:	c40a           	ldb	rh4,#0xa
    8946:	0ae0           	cpb	rh0,@r14
    8948:	8080           	addb	rh0,rl0
    894a:	c08a           	ldb	rh0,#0x8a
    894c:	8ae4           	cpb	rh4,rl6
    894e:	0a0a e08e      	cpb	rl2,#0x8e
    8952:	84c4           	orb	rh4,rl4
    8954:	8484           	orb	rh4,rl0
    8956:	e404           	jr	ov/pe,0x8960
    8958:	04e0           	orb	rh0,@r14
    895a:	8c92           	negb	rl1
    895c:	d292           	calr	0x843a
    895e:	92fa           	subl	rr10,rr15
    8960:	0e02           	ext0e	#0x2
    8962:	0060           	addb	rh0,@r6
    8964:	9092           	cpl	rr2,rr9
    8966:	f498           	djnz	r4,0x8938
    8968:	9894           	multl	rq4,rr9
    896a:	12c0           	subl	rr0,@r12
    896c:	a0a8           	ldb	rl0,rl2
    896e:	c8a8           	ldb	rl0,#0xa8
    8970:	a8c8           	incb	rl4,#0x9
    8972:	080e 00c0      	xorb	rl6,#0xc0
    8976:	a6a8           	bitb	rl2,#0x8
    8978:	c8a4           	ldb	rl0,#0xa4
    897a:	a2c2           	resb	rl4,#0x2
    897c:	0ca0           	comb	@r10
    897e:	a0ae           	ldb	rl6,rl2
    8980:	e4a4           	jr	ov/pe,0x88ca
    8982:	a4a4           	setb	rl2,#0x4
    8984:	0404 0080      	orb	rh4,#0x80
    8988:	808e           	addb	rl6,rl0
    898a:	888c           	xorb	rl4,rl0
    898c:	e808           	jr	t,0x899e
    898e:	08a0           	xorb	rh0,@r10
    8990:	a0ae           	ldb	rl6,rl2
    8992:	a444           	setb	rh4,#0x4
    8994:	4404 0404      	orb	rh4,0x404
    8998:	e080           	jr	f,0x889a
    899a:	8ec8           	ext8e	#0xc8
    899c:	8c88           	clrb	rl0
    899e:	8808           	xorb	rl0,rh0
    89a0:	0800 6080      	xorb	rh0,#0x80
    89a4:	8c8a           	.word 8c8a
    89a6:	8c6c           	.word 8c6c
    89a8:	0a0a 0060      	cpb	rl2,#0x60
    89ac:	808c           	addb	rl4,rl0
    89ae:	5232 32d2      	subl	rr2,0x32d2(r3)
    89b2:	0c60           	comb	@r6
    89b4:	808e           	addb	rl6,rl0
    89b6:	4424 2464      	orb	rh4,0x2464(r2)
    89ba:	040e c0a0      	orb	rl6,#0xa0
    89be:	a8a8           	incb	rl2,#0x9
    89c0:	a8a8           	incb	rl2,#0x9
    89c2:	c808           	ldb	rl0,#0x8
    89c4:	0ec0           	ext0e	#0xc0
    89c6:	a0a4           	ldb	rh4,rl2
    89c8:	aca4           	exb	rh4,rl2
    89ca:	a4c4           	setb	rl4,#0x4
    89cc:	040e c0a0      	orb	rl6,#0xa0
    89d0:	a4aa           	setb	rl2,#0xa
    89d2:	a2a2           	resb	rl2,#0x2
    89d4:	c408           	ldb	rh4,#0x8
    89d6:	0ec0           	ext0e	#0xc0
    89d8:	a0ac           	ldb	rl4,rl2
    89da:	a2a2           	resb	rl2,#0x2
    89dc:	a4c2           	setb	rl4,#0x2
    89de:	020c 00c0      	subb	rl4,#0xc0
    89e2:	a0a2           	ldb	rh2,rl2
    89e4:	a6aa           	bitb	rl2,#0xa
    89e6:	de02           	calr	0x8de4
    89e8:	0200 9090      	subb	rh0,#0x90
    89ec:	d2b4           	calr	0x8486
    89ee:	9898           	multl	rq8,rr9
    89f0:	1412           	ldl	rr2,@r1
    89f2:	6080 8a4a      	ldb	rh0,0x8a4a(r8)
    89f6:	2424           	setb	@r2,#0x4
    89f8:	c404           	ldb	rh4,#0x4
    89fa:	0400 e08c      	orb	rh0,#0x8c
    89fe:	82ca           	subb	rl2,rl4
    8a00:	8c82           	negb	rl0
    8a02:	ea0c           	jr	gt,0x8a1c
    8a04:	6080 8092      	ldb	rh0,0x8092(r8)
    8a08:	929a           	subl	rr10,rr9
    8a0a:	7612 1200      	lda	r2,0x1200(r1)
    8a0e:	e080           	jr	f,0x8910
    8a10:	8ace           	cpb	rl6,rl4
    8a12:	8e8a           	ext8e	#0x8a
    8a14:	ea0a           	jr	gt,0x8a2a
    8a16:	0060           	addb	rh0,@r6
    8a18:	8c8a           	.word 8c8a
    8a1a:	4a2c 2aca      	cpb	rl4,0x2aca(r2)
    8a1e:	0c00           	.word 0c00
    8a20:	e086           	jr	f,0x892e
    8a22:	88c8           	xorb	rl0,rl4
    8a24:	8888           	xorb	rl0,rl0
    8a26:	e806           	jr	t,0x8a34
    8a28:	00e0           	addb	rh0,@r14
    8a2a:	8688           	andb	rl0,rl0
    8a2c:	c884           	ldb	rl0,#0x84
    8a2e:	8282           	subb	rh2,rl0
    8a30:	0c00           	.word 0c00
    8a32:	7086           	.word 7086
    8a34:	88b8           	xorb	rl0,rl3
    8a36:	9462           	ldl	rr2,rr6
    8a38:	0206 00c0      	subb	rh6,#0xc0
    8a3c:	a6a8           	bitb	rl2,#0x8
    8a3e:	c8c4           	ldb	rl0,#0xc4
    8a40:	a2a2           	resb	rl2,#0x2
    8a42:	0c90           	comb	@r9
    8a44:	9096           	cpl	rr6,rr9
    8a46:	9898           	multl	rq8,rr9
    8a48:	6402 020c      	setb	0x20c,#0x2
	...
    8a54:	0010           	addb	rh0,@r1
    8a56:	1010           	cpl	rr0,@r1
    8a58:	1010           	cpl	rr0,@r1
    8a5a:	1000 0010 4848 	cpl	rr0,#0x104848
    8a60:	4848 0000      	xorb	rl0,0x0(r4)
    8a64:	0000 0028      	addb	rh0,#0x28
    8a68:	28fe           	incb	@r15,#0xf
    8a6a:	2828           	incb	@r2,#0x9
    8a6c:	28fe           	incb	@r15,#0xf
    8a6e:	2828           	incb	@r2,#0x9
    8a70:	287e           	incb	@r7,#0xf
    8a72:	a8a8           	incb	rl2,#0x9
    8a74:	7c2a           	.word 7c2a
    8a76:	2afc           	decb	@r15,#0xd
    8a78:	2840           	incb	@r4,#0x1
    8a7a:	a244           	resb	rh4,#0x4
    8a7c:	0810           	xorb	rh0,@r1
    8a7e:	2044           	ldb	rh4,@r4
    8a80:	8a04           	cpb	rh4,rh0
    8a82:	6090 9060      	ldb	rh0,0x9060(r9)
    8a86:	6094 8c84      	ldb	rh4,0x8c84(r9)
    8a8a:	7a18           	.word 7a18
    8a8c:	1810           	multl	rq0,@r1
    8a8e:	2000 0000      	ldb	rh0,#0x0
    8a92:	0000 0810      	addb	rh0,#0x10
    8a96:	2020           	ldb	rh0,@r2
    8a98:	2020           	ldb	rh0,@r2
    8a9a:	2010           	ldb	rh0,@r1
    8a9c:	0820           	xorb	rh0,@r2
    8a9e:	1008 0808 0808 	cpl	rr8,#0x8080808
    8aa4:	1020           	cpl	rr0,@r2
    8aa6:	1092           	cpl	rr2,@r9
    8aa8:	5438 1038      	ldl	rr8,0x1038(r3)
    8aac:	5492 1000      	ldl	rr2,0x1000(r9)
    8ab0:	1010           	cpl	rr0,@r1
    8ab2:	10fe           	cpl	rr14,@r15
    8ab4:	1010           	cpl	rr0,@r1
    8ab6:	1000 0000 0000 	cpl	rr0,#0x0
    8abc:	0018           	addb	rl0,@r1
    8abe:	1810           	multl	rq0,@r1
    8ac0:	2000 0000      	ldb	rh0,#0x0
    8ac4:	00fe           	addb	rl6,@r15
	...
    8ace:	0000 0030      	addb	rh0,#0x30
    8ad2:	3000 0204      	ldrb	rh0,0x8cda
    8ad6:	0810           	xorb	rh0,@r1
    8ad8:	2040           	ldb	rh0,@r4
    8ada:	8000           	addb	rh0,rh0
    8adc:	3844           	rsvd38	
    8ade:	868a           	andb	rl2,rl0
    8ae0:	92a2           	subl	rr2,rr10
    8ae2:	c244           	ldb	rh2,#0x44
    8ae4:	3810           	rsvd38	
    8ae6:	3050 1010      	ldb	rh0,r5(#0x1010)
    8aea:	1010           	cpl	rr0,@r1
    8aec:	107c           	cpl	rr12,@r7
    8aee:	7c82           	.word 7c82
    8af0:	0204 3840      	subb	rh4,#0x40
    8af4:	8080           	addb	rh0,rl0
    8af6:	fe7c           	dbjnz	rl6,0x8a00
    8af8:	8202           	subb	rh2,rh0
    8afa:	021c           	subb	rl4,@r1
    8afc:	0202 827c      	subb	rh2,#0x7c
    8b00:	0818           	xorb	rl0,@r1
    8b02:	2848           	incb	@r4,#0x9
    8b04:	8888           	xorb	rl0,rl0
    8b06:	fe08           	dbjnz	rl6,0x8af8
    8b08:	08fe           	xorb	rl6,@r15
    8b0a:	8080           	addb	rh0,rl0
    8b0c:	80fc           	addb	rl4,rl7
    8b0e:	0202 827c      	subb	rh2,#0x7c
    8b12:	3c42           	inb	rh2,@r4
    8b14:	8080           	addb	rh0,rl0
    8b16:	bcc2           	rrdb	rh2,rl4
    8b18:	8282           	subb	rh2,rl0
    8b1a:	7cfe           	.word 7cfe
    8b1c:	0202 0408      	subb	rh2,#0x8
    8b20:	1020           	cpl	rr0,@r2
    8b22:	4080 7c82      	addb	rh0,0x7c82(r8)
    8b26:	8244           	subb	rh4,rh4
    8b28:	3844           	rsvd38	
    8b2a:	8282           	subb	rh2,rl0
    8b2c:	7c7c           	.word 7c7c
    8b2e:	8282           	subb	rh2,rl0
    8b30:	867c           	andb	rl4,rh7
    8b32:	0202 8478      	subb	rh2,#0x78
    8b36:	0000 0030      	addb	rh0,#0x30
    8b3a:	3000 0030      	ldrb	rh0,0x8b6e
    8b3e:	3000 3030      	ldrb	rh0,0xbb72
    8b42:	0000 3030      	addb	rh0,#0x30
    8b46:	2040           	ldb	rh0,@r4
    8b48:	0408 1020      	orb	rl0,#0x20
    8b4c:	4020 1008      	addb	rh0,0x1008(r2)
    8b50:	0400 0000      	orb	rh0,#0x0
    8b54:	fe00           	dbjnz	rl6,0x8b56
    8b56:	00fe           	addb	rl6,@r15
    8b58:	0000 4020      	addb	rh0,#0x20
    8b5c:	1008 0408 1020 	cpl	rr8,#0x4081020
    8b62:	407c 8202      	addb	rl4,0x8202(r7)
    8b66:	020c 1010      	subb	rl4,#0x10
    8b6a:	0010           	addb	rh0,@r1
    8b6c:	3c42           	inb	rh2,@r4
    8b6e:	9aaa           	divl	rq10,rr10
    8b70:	aabe           	decb	rl3,#0xf
    8b72:	8042           	addb	rh2,rh4
    8b74:	3c10           	inb	rh0,@r1
    8b76:	2844           	incb	@r4,#0x5
    8b78:	8282           	subb	rh2,rl0
    8b7a:	fe82           	djnz	r14,0x8b78
    8b7c:	8282           	subb	rh2,rl0
    8b7e:	f844           	dbjnz	rl0,0x8af8
    8b80:	4244 7844      	subb	rh4,0x7844(r4)
    8b84:	4244 f83c      	subb	rh4,0xf83c(r4)
    8b88:	4280 8080      	subb	rh0,0x8080(r8)
    8b8c:	8080           	addb	rh0,rl0
    8b8e:	423c f844      	subb	rl4,0xf844(r3)
    8b92:	4242 4242      	subb	rh2,0x4242(r4)
    8b96:	4244 f8fe      	subb	rh4,0xf8fe(r4)
    8b9a:	8080           	addb	rh0,rl0
    8b9c:	80f8           	addb	rl0,rl7
    8b9e:	8080           	addb	rh0,rl0
    8ba0:	80fe           	addb	rl6,rl7
    8ba2:	fe80           	djnz	r14,0x8ba4
    8ba4:	8080           	addb	rh0,rl0
    8ba6:	f880           	djnz	r8,0x8ba8
    8ba8:	8080           	addb	rh0,rl0
    8baa:	803c           	addb	rl4,rh3
    8bac:	4280 8080      	subb	rh0,0x8080(r8)
    8bb0:	8e82           	ext8e	#0x82
    8bb2:	463a 8282      	andb	rl2,0x8282(r3)
    8bb6:	8282           	subb	rh2,rl0
    8bb8:	fe82           	djnz	r14,0x8bb6
    8bba:	8282           	subb	rh2,rl0
    8bbc:	8238           	subb	rl0,rh3
    8bbe:	1010           	cpl	rr0,@r1
    8bc0:	1010           	cpl	rr0,@r1
    8bc2:	1010           	cpl	rr0,@r1
    8bc4:	1038           	cpl	rr8,@r3
    8bc6:	0202 0202      	subb	rh2,#0x2
    8bca:	0202 8244      	subb	rh2,#0x44
    8bce:	3882           	rsvd38	
    8bd0:	8488           	orb	rl0,rl0
    8bd2:	90a0           	cpl	rr0,rr10
    8bd4:	d088           	calr	0x8ac6
    8bd6:	8482           	orb	rh2,rl0
    8bd8:	8080           	addb	rh0,rl0
    8bda:	8080           	addb	rh0,rl0
    8bdc:	8080           	addb	rh0,rl0
    8bde:	8080           	addb	rh0,rl0
    8be0:	fe82           	djnz	r14,0x8bde
    8be2:	82c6           	subb	rh6,rl4
    8be4:	aa92           	decb	rl1,#0x3
    8be6:	9292           	subl	rr2,rr9
    8be8:	8282           	subb	rh2,rl0
    8bea:	8282           	subb	rh2,rl0
    8bec:	c2a2           	ldb	rh2,#0xa2
    8bee:	928a           	subl	rr10,rr8
    8bf0:	8682           	andb	rh2,rl0
    8bf2:	8238           	subb	rl0,rh3
    8bf4:	4482 8282      	orb	rh2,0x8282(r8)
    8bf8:	8282           	subb	rh2,rl0
    8bfa:	4438 fc82      	orb	rl0,0xfc82(r3)
    8bfe:	8282           	subb	rh2,rl0
    8c00:	fc80           	djnz	r12,0x8c02
    8c02:	8080           	addb	rh0,rl0
    8c04:	8038           	addb	rl0,rh3
    8c06:	4482 8282      	orb	rh2,0x8282(r8)
    8c0a:	928a           	subl	rr10,rr8
    8c0c:	443a fc82      	orb	rl2,0xfc82(r3)
    8c10:	8282           	subb	rh2,rl0
    8c12:	fc90           	djnz	r12,0x8bf4
    8c14:	8884           	xorb	rh4,rl0
    8c16:	823c           	subb	rl4,rh3
    8c18:	4280 4038      	subb	rh0,0x4038(r8)
    8c1c:	0402 8478      	orb	rh2,#0x78
    8c20:	fe92           	djnz	r14,0x8bfe
    8c22:	1010           	cpl	rr0,@r1
    8c24:	1010           	cpl	rr0,@r1
    8c26:	1010           	cpl	rr0,@r1
    8c28:	1082           	cpl	rr2,@r8
    8c2a:	8282           	subb	rh2,rl0
    8c2c:	8282           	subb	rh2,rl0
    8c2e:	8282           	subb	rh2,rl0
    8c30:	4438 8282      	orb	rl0,0x8282(r3)
    8c34:	8244           	subb	rh4,rh4
    8c36:	4444 2828      	orb	rh4,0x2828(r4)
    8c3a:	1082           	cpl	rr2,@r8
    8c3c:	8282           	subb	rh2,rl0
    8c3e:	8292           	subb	rh2,rl1
    8c40:	9292           	subl	rr2,rr9
    8c42:	aa44           	decb	rh4,#0x5
    8c44:	8282           	subb	rh2,rl0
    8c46:	4428 1028      	orb	rl0,0x1028(r2)
    8c4a:	4482 8282      	orb	rh2,0x8282(r8)
    8c4e:	8244           	subb	rh4,rh4
    8c50:	2810           	incb	@r1,#0x1
    8c52:	1010           	cpl	rr0,@r1
    8c54:	1010           	cpl	rr0,@r1
    8c56:	fe02           	dbjnz	rl6,0x8c54
    8c58:	0408 1020      	orb	rl0,#0x20
    8c5c:	4080 fefe      	addb	rh0,0xfefe(r8)
    8c60:	c0c0           	ldb	rh0,#0xc0
    8c62:	c0c0           	ldb	rh0,#0xc0
    8c64:	c0c0           	ldb	rh0,#0xc0
    8c66:	c0fe           	ldb	rh0,#0xfe
    8c68:	0080           	addb	rh0,@r8
    8c6a:	4020 1008      	addb	rh0,0x1008(r2)
    8c6e:	0402 00fe      	orb	rh2,#0xfe
    8c72:	0606 0606      	andb	rh6,#0x6
    8c76:	0606 06fe      	andb	rh6,#0xfe
    8c7a:	0000 0010      	addb	rh0,#0x10
    8c7e:	2844           	incb	@r4,#0x5
    8c80:	8200           	subb	rh0,rh0
	...
    8c8a:	00fe           	addb	rl6,@r15
    8c8c:	3030 1008      	ldb	rh0,r3(#0x1008)
	...
    8c98:	7804           	rsvd78	
    8c9a:	7c84           	.word 7c84
    8c9c:	847a           	orb	rl2,rh7
    8c9e:	8080           	addb	rh0,rl0
    8ca0:	80b8           	addb	rl0,rl3
    8ca2:	c484           	ldb	rh4,#0x84
    8ca4:	84c4           	orb	rh4,rl4
    8ca6:	b800           	.word b800
    8ca8:	0000 7884      	addb	rh0,#0x84
    8cac:	8080           	addb	rh0,rl0
    8cae:	8478           	orb	rl0,rh7
    8cb0:	0404 0474      	orb	rh4,#0x74
    8cb4:	8c84           	testb	rl0
    8cb6:	848c           	orb	rl4,rl0
    8cb8:	7400           	.word 7400
    8cba:	0000 7884      	addb	rh0,#0x84
    8cbe:	fc80           	djnz	r12,0x8cc0
    8cc0:	8078           	addb	rl0,rh7
    8cc2:	1824           	multl	rq4,@r2
    8cc4:	2020           	ldb	rh0,@r2
    8cc6:	f820           	dbjnz	rl0,0x8c88
    8cc8:	2020           	ldb	rh0,@r2
    8cca:	2075           	ldb	rh5,@r7
    8ccc:	8c84           	testb	rl0
    8cce:	8c74           	testb	rh7
    8cd0:	0404 8478      	orb	rh4,#0x78
    8cd4:	8080           	addb	rh0,rl0
    8cd6:	80b8           	addb	rl0,rl3
    8cd8:	c484           	ldb	rh4,#0x84
    8cda:	8484           	orb	rh4,rl0
    8cdc:	8400           	orb	rh0,rh0
    8cde:	1000 3010 1010 	cpl	rr0,#0x30101010
    8ce4:	1038           	cpl	rr8,@r3
    8ce6:	0d04           	.word 0d04
    8ce8:	0404 0404      	orb	rh4,#0x4
    8cec:	0444           	orb	rh4,@r4
    8cee:	3880           	rsvd38	
    8cf0:	8080           	addb	rh0,rl0
    8cf2:	8890           	xorb	rh0,rl1
    8cf4:	a0d0           	ldb	rh0,rl5
    8cf6:	8884           	xorb	rh4,rl0
    8cf8:	3010 1010      	ldb	rh0,r1(#0x1010)
    8cfc:	1010           	cpl	rr0,@r1
    8cfe:	1010           	cpl	rr0,@r1
    8d00:	3800           	rsvd38	
    8d02:	0000 ec92      	addb	rh0,#0x92
    8d06:	9292           	subl	rr2,rr9
    8d08:	9292           	subl	rr2,rr9
    8d0a:	0000 00b8      	addb	rh0,#0xb8
    8d0e:	c484           	ldb	rh4,#0x84
    8d10:	8484           	orb	rh4,rl0
    8d12:	8400           	orb	rh0,rh0
    8d14:	0000 7884      	addb	rh0,#0x84
    8d18:	8484           	orb	rh4,rl0
    8d1a:	8478           	orb	rl0,rh7
    8d1c:	b9c4           	rsvdb9	
    8d1e:	84c4           	orb	rh4,rl4
    8d20:	b880           	.word b880
    8d22:	8080           	addb	rh0,rl0
    8d24:	8075           	addb	rh5,rh7
    8d26:	8c84           	testb	rl0
    8d28:	8c74           	testb	rh7
    8d2a:	0404 0404      	orb	rh4,#0x4
    8d2e:	0000 00b8      	addb	rh0,#0xb8
    8d32:	c480           	ldb	rh4,#0x80
    8d34:	8080           	addb	rh0,rl0
    8d36:	8000           	addb	rh0,rh0
    8d38:	0000 7884      	addb	rh0,#0x84
    8d3c:	6018 8478      	ldb	rl0,0x8478(r1)
    8d40:	0020           	addb	rh0,@r2
    8d42:	20f8           	ldb	rl0,@r15
    8d44:	2020           	ldb	rh0,@r2
    8d46:	2024           	ldb	rh4,@r2
    8d48:	1800 0000 8484 	multl	rq0,#0x8484
    8d4e:	8484           	orb	rh4,rl0
    8d50:	8c74           	testb	rh7
    8d52:	0000 0044      	addb	rh0,#0x44
    8d56:	4444 4428      	orb	rh4,0x4428(r4)
    8d5a:	1000 0000 8282 	cpl	rr0,#0x8282
    8d60:	9292           	subl	rr2,rr9
    8d62:	926c           	subl	rr12,rr6
    8d64:	0000 0084      	addb	rh0,#0x84
    8d68:	4830 3048      	xorb	rh0,0x3048(r3)
    8d6c:	8485           	orb	rh5,rl0
    8d6e:	8484           	orb	rh4,rl0
    8d70:	8c74           	testb	rh7
    8d72:	0404 8478      	orb	rh4,#0x78
    8d76:	0000 00fc      	addb	rh0,#0xfc
    8d7a:	0810           	xorb	rh0,@r1
    8d7c:	2040           	ldb	rh0,@r4
    8d7e:	fc18           	dbjnz	rl4,0x8d50
    8d80:	2020           	ldb	rh0,@r2
    8d82:	2040           	ldb	rh0,@r4
    8d84:	2020           	ldb	rh0,@r2
    8d86:	2018           	ldb	rl0,@r1
    8d88:	1010           	cpl	rr0,@r1
    8d8a:	1000 0010 1010 	cpl	rr0,#0x101010
    8d90:	0030           	addb	rh0,@r3
    8d92:	0808 0804      	xorb	rl0,#0x4
    8d96:	0808 0830      	xorb	rl0,#0x30
    8d9a:	6092 0c00      	ldb	rh2,0xc00(r9)
    8d9e:	0000 0000      	addb	rh0,#0x0
    8da2:	00fe           	addb	rl6,@r15
    8da4:	fefe           	djnz	r14,0x8caa
    8da6:	fefe           	djnz	r14,0x8cac
    8da8:	fefe           	djnz	r14,0x8cae
    8daa:	fefe           	djnz	r14,0x8cb0
    8dac:	ffff           	djnz	r15,0x8cb0
    8dae:	ffff           	djnz	r15,0x8cb2
    8db0:	ffff           	djnz	r15,0x8cb4
    8db2:	ffff           	djnz	r15,0x8cb6
    8db4:	ff00           	dbjnz	rl7,0x8db6
    8db6:	0000 0044      	addb	rh0,#0x44
    8dba:	0000 0000      	addb	rh0,#0x0
    8dbe:	1008 0404 0404 	cpl	rr8,#0x4040404
    8dc4:	0408 1000      	orb	rl0,#0x0
    8dc8:	0408 1020      	orb	rl0,#0x20
    8dcc:	1008 0400 0008 	cpl	rr8,#0x4000008
    8dd2:	1020           	cpl	rr0,@r2
    8dd4:	1008 007c 0000 	cpl	rr8,#0x7c0000
    8dda:	0000 7c00      	addb	rh0,#0x0
    8dde:	007c           	addb	rl4,@r7
    8de0:	0000 0040      	addb	rh0,#0x40
    8de4:	2010           	ldb	rh0,@r1
    8de6:	0810           	xorb	rh0,@r1
    8de8:	2040           	ldb	rh0,@r4
    8dea:	007c           	addb	rl4,@r7
    8dec:	0404 0404      	orb	rh4,#0x4
    8df0:	0404 047c      	orb	rh4,#0x7c
    8df4:	0000 0000      	addb	rh0,#0x0
    8df8:	8244           	subb	rh4,rh4
    8dfa:	2810           	incb	@r1,#0x1
    8dfc:	0000 1028      	addb	rh0,#0x28
    8e00:	4482 0000      	orb	rh2,0x0(r8)
    8e04:	0000 0002      	addb	rh0,#0x2
    8e08:	04fe           	orb	rl6,@r15
    8e0a:	10fe           	cpl	rr14,@r15
    8e0c:	4080 0000      	addb	rh0,0x0(r8)
    8e10:	1000 00fe 0000 	cpl	rr0,#0xfe0000
    8e16:	1000 0000 0000 	cpl	rr0,#0x0
    8e1c:	0018           	addb	rl0,@r1
    8e1e:	1820           	multl	rq0,@r2
    8e20:	4000 0010      	addb	rh0,0x10
    8e24:	107c           	cpl	rr12,@r7
    8e26:	1010           	cpl	rr0,@r1
    8e28:	0000 0810      	addb	rh0,#0x10
    8e2c:	2020           	ldb	rh0,@r2
    8e2e:	2020           	ldb	rh0,@r2
    8e30:	2010           	ldb	rh0,@r1
    8e32:	087c           	xorb	rl4,@r7
    8e34:	4040 4040      	addb	rh0,0x4040(r4)
    8e38:	4040 407c      	addb	rh0,0x407c(r4)
    8e3c:	0000 1800      	addb	rh0,#0x0
    8e40:	0018           	addb	rl0,@r1
    8e42:	1820           	multl	rq0,@r2
    8e44:	4000 8244      	addb	rh0,0x8244
    8e48:	2810           	incb	@r1,#0x1
    8e4a:	2844           	incb	@r4,#0x5
    8e4c:	8200           	subb	rh0,rh0
    8e4e:	0000 0018      	addb	rh0,#0x18
    8e52:	0000 1800      	addb	rh0,#0x0
    8e56:	0000 8040      	addb	rh0,#0x40
    8e5a:	2010           	ldb	rh0,@r1
    8e5c:	0804 0200      	xorb	rh4,#0x0
    8e60:	00fe           	addb	rl6,@r15
	...
    8e6a:	0004 6890      	addb	rh4,#0x90
    8e6e:	6804 0000      	incb	0x0,#0x5
    8e72:	0000 1010      	addb	rh0,#0x10
    8e76:	1010           	cpl	rr0,@r1
    8e78:	10fe           	cpl	rr14,@r15
    8e7a:	0000 0038      	addb	rh0,#0x38
    8e7e:	4482 8282      	orb	rh2,0x8282(r8)
    8e82:	8282           	subb	rh2,rl0
    8e84:	0040           	addb	rh0,@r4
    8e86:	4040 4040      	addb	rh0,0x4040(r4)
    8e8a:	4040 7e38      	addb	rh0,0x7e38(r4)
    8e8e:	4480 8070      	orb	rh0,0x8070(r8)
    8e92:	8080           	addb	rh0,rl0
    8e94:	4438 0000      	orb	rl0,0x0(r3)
    8e98:	0000 0000      	addb	rh0,#0x0
    8e9c:	0000 fe00      	addb	rh0,#0x0
    8ea0:	00fe           	addb	rl6,@r15
    8ea2:	8244           	subb	rh4,rh4
    8ea4:	2810           	incb	@r1,#0x1
    8ea6:	0000 0000      	addb	rh0,#0x0
    8eaa:	1028           	cpl	rr8,@r2
    8eac:	4482 fe00      	orb	rh2,0xfe00(r8)
    8eb0:	0000 7010      	addb	rh0,#0x10
    8eb4:	1010           	cpl	rr0,@r1
    8eb6:	1010           	cpl	rr0,@r1
    8eb8:	1c00           	.word 1c00
    8eba:	3844           	rsvd38	
    8ebc:	4438 0000      	orb	rl0,0x0(r3)
    8ec0:	0000 0018      	addb	rh0,#0x18
    8ec4:	1818           	multl	rq8,@r1
    8ec6:	0000 1818      	addb	rh0,#0x18
    8eca:	1800 0000 fe82 	multl	rq0,#0xfe82
    8ed0:	8282           	subb	rh2,rl0
    8ed2:	fe00           	dbjnz	rl6,0x8ed4
    8ed4:	0000 1010      	addb	rh0,#0x10
    8ed8:	1010           	cpl	rr0,@r1
    8eda:	1010           	cpl	rr0,@r1
    8edc:	1000 00fe 1010 	cpl	rr0,#0xfe1010
    8ee2:	1010           	cpl	rr0,@r1
    8ee4:	1010           	cpl	rr0,@r1
    8ee6:	1000 0038 4444 	cpl	rr0,#0x384444
    8eec:	3800           	rsvd38	
    8eee:	0000 0010      	addb	rh0,#0x10
    8ef2:	38c6           	rsvd38	
    8ef4:	4438 4400      	orb	rl0,0x4400(r3)
    8ef8:	0038           	addb	rl0,@r3
    8efa:	4444 0810      	orb	rh4,0x810(r4)
    8efe:	1010           	cpl	rr0,@r1
    8f00:	0010           	addb	rh0,@r1
    8f02:	0000 0038      	addb	rh0,#0x38
    8f06:	4444 7840      	orb	rh4,0x7840(r4)
    8f0a:	4000 7e40      	addb	rh0,0x7e40
    8f0e:	4040 4040      	addb	rh0,0x4040(r4)
    8f12:	4040 0000      	addb	rh0,0x0(r4)
    8f16:	6092 0c00      	ldb	rh2,0xc00(r9)
    8f1a:	0000 0000      	addb	rh0,#0x0
    8f1e:	1010           	cpl	rr0,@r1
    8f20:	1010           	cpl	rr0,@r1
    8f22:	9254           	subl	rr4,rr5
    8f24:	3810           	rsvd38	
    8f26:	0044           	addb	rh4,@r4
    8f28:	4444 4444      	orb	rh4,0x4444(r4)
    8f2c:	3800           	rsvd38	
    8f2e:	0000 0000      	addb	rh0,#0x0
    8f32:	4492 926c      	orb	rh2,0x926c(r9)
    8f36:	0000 0000      	addb	rh0,#0x0
    8f3a:	fc02           	dbjnz	rl4,0x8f38
    8f3c:	0202 fc00      	subb	rh2,#0x0
    8f40:	0010           	addb	rh0,@r1
    8f42:	3854           	rsvd38	
    8f44:	9210           	subl	rr0,rr1
    8f46:	1010           	cpl	rr0,@r1
    8f48:	1010           	cpl	rr0,@r1
    8f4a:	0000 7e80      	addb	rh0,#0x80
    8f4e:	8080           	addb	rh0,rl0
    8f50:	7e00           	rsvd7e	
    8f52:	0000 0020      	addb	rh0,#0x20
    8f56:	40fe 4020      	addb	rl6,0x4020(r15)
    8f5a:	0000 0080      	addb	rh0,#0x80
    8f5e:	8080           	addb	rh0,rl0
    8f60:	fe80           	djnz	r14,0x8f62
    8f62:	8080           	addb	rh0,rl0
    8f64:	0000 0008      	addb	rh0,#0x8
    8f68:	04fe           	orb	rl6,@r15
    8f6a:	0408 0000      	orb	rl0,#0x0
    8f6e:	0020           	addb	rh0,@r2
    8f70:	1008 1020 007c 	cpl	rr8,#0x1020007c
    8f76:	0000 0000      	addb	rh0,#0x0
    8f7a:	00fe           	addb	rl6,@r15
    8f7c:	0000 0000      	addb	rh0,#0x0
    8f80:	0010           	addb	rh0,@r1
    8f82:	2844           	incb	@r4,#0x5
    8f84:	8244           	subb	rh4,rh4
    8f86:	2810           	incb	@r1,#0x1
    8f88:	0018           	addb	rl0,@r1
    8f8a:	2020           	ldb	rh0,@r2
    8f8c:	2040           	ldb	rh0,@r4
    8f8e:	2020           	ldb	rh0,@r2
    8f90:	2018           	ldb	rl0,@r1
    8f92:	0002 0202      	addb	rh2,#0x2
    8f96:	fe02           	dbjnz	rl6,0x8f94
    8f98:	0202 0030      	subb	rh2,#0x30
    8f9c:	0808 0804      	xorb	rl0,#0x4
    8fa0:	0808 0830      	xorb	rl0,#0x30
    8fa4:	107c           	cpl	rr12,@r7
    8fa6:	9290           	subl	rr0,rr9
    8fa8:	7c12           	.word 7c12
    8faa:	927c           	subl	rr12,rr7
    8fac:	10ff           	cpl	rr15,@r15
    8fae:	abf1           	dec	r15,#0x2
    8fb0:	76f7 0000      	lda	r7,0x0(r15)
    8fb4:	8366           	sub	r6,r6
    8fb6:	2105 001f      	ld	r5,#0x1f
    8fba:	a154           	ld	r4,r5
    8fbc:	bd31           	ldk	r3,#0x1
    8fbe:	5f00 7390      	call	0x7390
    8fc2:	8d24           	test	r2
    8fc4:	ee10           	jr	ne,0x8fe6
    8fc6:	600a c202      	ldb	rl2,0xc202
    8fca:	060a e0e0      	andb	rl2,#0xe0
    8fce:	6e0a c202      	ldb	0xc202,rl2
    8fd2:	b120           	extsb	r2
    8fd4:	05f2           	or	r2,@r15
    8fd6:	440a c202      	orb	rl2,0xc202
    8fda:	6e0a c202      	ldb	0xc202,rl2
    8fde:	6107 c43a      	ld	r7,0xc43a
    8fe2:	5f00 14da      	call	0x14da
    8fe6:	a9f1           	inc	r15,#0x2
    8fe8:	9e08           	ret	t
    8fea:	2107 0024      	ld	r7,#0x24
    8fee:	5f00 532c      	call	0x532c
    8ff2:	8d24           	test	r2
    8ff4:	e60d           	jr	eq,0x9010
    8ff6:	5f00 5712      	call	0x5712
    8ffa:	e809           	jr	t,0x900e
    8ffc:	6404 c206      	setb	0xc206,#0x4
    9000:	e806           	jr	t,0x900e
    9002:	600a c206      	ldb	rl2,0xc206
    9006:	060a 0f0f      	andb	rl2,#0xf
    900a:	6e0a c206      	ldb	0xc206,rl2
    900e:	9e08           	ret	t
    9010:	4d01 c43c 0004 	cp	0xc43c,#0x4
    9016:	ee03           	jr	ne,0x901e
    9018:	4d05 c43a 000b 	ld	0xc43a,#0xb
    901e:	4d01 c43a 0003 	cp	0xc43a,#0x3
    9024:	e6eb           	jr	eq,0x8ffc
    9026:	4d01 c43a 000b 	cp	0xc43a,#0xb
    902c:	e6ea           	jr	eq,0x9002
    902e:	e8e3           	jr	t,0x8ff6
    9030:	bd75           	ldk	r7,#0x5
    9032:	5f00 532c      	call	0x532c
    9036:	8d24           	test	r2
    9038:	e603           	jr	eq,0x9040
    903a:	5f00 5712      	call	0x5712
    903e:	e812           	jr	t,0x9064
    9040:	4d01 c43c 0004 	cp	0xc43c,#0x4
    9046:	ee03           	jr	ne,0x904e
    9048:	4d05 c43a 0084 	ld	0xc43a,#0x84
    904e:	4d01 c43a 0084 	cp	0xc43a,#0x84
    9054:	ee08           	jr	ne,0x9066
    9056:	6406 c206      	setb	0xc206,#0x6
    905a:	e802           	jr	t,0x9060
    905c:	6206 c206      	resb	0xc206,#0x6
    9060:	5f00 7736      	call	0x7736
    9064:	9e08           	ret	t
    9066:	4d01 c43a 0050 	cp	0xc43a,#0x50
    906c:	e6f7           	jr	eq,0x905c
    906e:	e8e5           	jr	t,0x903a
    9070:	2107 c240      	ld	r7,#0xc240
    9074:	5f00 7750      	call	0x7750
    9078:	9e08           	ret	t
    907a:	abf1           	dec	r15,#0x2
    907c:	2ffe           	ld	@r15,r14
    907e:	bde0           	ldk	r14,#0x0
    9080:	bd71           	ldk	r7,#0x1
    9082:	5f00 532c      	call	0x532c
    9086:	8d24           	test	r2
    9088:	ee19           	jr	ne,0x90bc
    908a:	4d01 c43a 0000 	cp	0xc43a,#0x0
    9090:	e215           	jr	le,0x90bc
    9092:	4d01 c43a 003f 	cp	0xc43a,#0x3f
    9098:	e203           	jr	le,0x90a0
    909a:	4d05 c43a 003f 	ld	0xc43a,#0x3f
    90a0:	a7e0           	bit	r14,#0x0
    90a2:	e602           	jr	eq,0x90a8
    90a4:	8322           	sub	r2,r2
    90a6:	e802           	jr	t,0x90ac
    90a8:	2102 0080      	ld	r2,#0x80
    90ac:	4502 c43a      	or	r2,0xc43a
    90b0:	6eea c264      	ldb	0xc264(r14),rl2
    90b4:	a9e0           	inc	r14,#0x1
    90b6:	0b0e 0007      	cp	r14,#0x7
    90ba:	e2e2           	jr	le,0x9080
    90bc:	4ce8 c264      	clrb	0xc264(r14)
    90c0:	21fe           	ld	r14,@r15
    90c2:	a9f1           	inc	r15,#0x2
    90c4:	9e08           	ret	t
    90c6:	abf1           	dec	r15,#0x2
    90c8:	76f7 0001      	lda	r7,0x1(r15)
    90cc:	bd61           	ldk	r6,#0x1
    90ce:	bd53           	ldk	r5,#0x3
    90d0:	a164           	ld	r4,r6
    90d2:	2103 0040      	ld	r3,#0x40
    90d6:	5f00 7390      	call	0x7390
    90da:	600a c206      	ldb	rl2,0xc206
    90de:	060a fcfc      	andb	rl2,#0xfc
    90e2:	6e0a c206      	ldb	0xc206,rl2
    90e6:	a0aa           	ldb	rl2,rl2
    90e8:	b120           	extsb	r2
    90ea:	60fb 0001      	ldb	rl3,0x1(r15)
    90ee:	b130           	extsb	r3
    90f0:	8532           	or	r2,r3
    90f2:	440a c206      	orb	rl2,0xc206
    90f6:	6e0a c206      	ldb	0xc206,rl2
    90fa:	a9f1           	inc	r15,#0x2
    90fc:	9e08           	ret	t
    90fe:	abf1           	dec	r15,#0x2
    9100:	76f7 0000      	lda	r7,0x0(r15)
    9104:	bd61           	ldk	r6,#0x1
    9106:	bd53           	ldk	r5,#0x3
    9108:	a164           	ld	r4,r6
    910a:	a163           	ld	r3,r6
    910c:	5f00 7390      	call	0x7390
    9110:	8d24           	test	r2
    9112:	ee0b           	jr	ne,0x912a
    9114:	600a c206      	ldb	rl2,0xc206
    9118:	b120           	extsb	r2
    911a:	0702 00f3      	and	r2,#0xf3
    911e:	21f3           	ld	r3,@r15
    9120:	b339 0002      	sla	r3,#0x2
    9124:	8532           	or	r2,r3
    9126:	6e0a c206      	ldb	0xc206,rl2
    912a:	a9f1           	inc	r15,#0x2
    912c:	9e08           	ret	t
    912e:	bd75           	ldk	r7,#0x5
    9130:	5f00 532c      	call	0x532c
    9134:	8d24           	test	r2
    9136:	e622           	jr	eq,0x917c
    9138:	e81e           	jr	t,0x9176
    913a:	6205 c205      	resb	0xc205,#0x5
    913e:	4d05 c2e8 013b 	ld	0xc2e8,#0x13b
    9144:	e831           	jr	t,0x91a8
    9146:	4d01 c43a ffff 	cp	0xc43a,#0xffff
    914c:	e114           	jr	lt,0x9176
    914e:	4d01 c43a 001f 	cp	0xc43a,#0x1f
    9154:	ea10           	jr	gt,0x9176
    9156:	4d01 c43a 0011 	cp	0xc43a,#0x11
    915c:	e60c           	jr	eq,0x9176
    915e:	4d01 c43a 0013 	cp	0xc43a,#0x13
    9164:	e608           	jr	eq,0x9176
    9166:	4d01 c43a 000d 	cp	0xc43a,#0xd
    916c:	e604           	jr	eq,0x9176
    916e:	4d01 c43a 0008 	cp	0xc43a,#0x8
    9174:	ee0a           	jr	ne,0x918a
    9176:	5f00 5712      	call	0x5712
    917a:	e816           	jr	t,0x91a8
    917c:	4d01 c43c 0004 	cp	0xc43c,#0x4
    9182:	eee1           	jr	ne,0x9146
    9184:	4d05 c43a 0002 	ld	0xc43a,#0x2
    918a:	4d01 c43a ffff 	cp	0xc43a,#0xffff
    9190:	e6d4           	jr	eq,0x913a
    9192:	600a c205      	ldb	rl2,0xc205
    9196:	b120           	extsb	r2
    9198:	0702 00c0      	and	r2,#0xc0
    919c:	4502 c43a      	or	r2,0xc43a
    91a0:	0502 0020      	or	r2,#0x20
    91a4:	6e0a c205      	ldb	0xc205,rl2
    91a8:	9e08           	ret	t
    91aa:	0003 0004      	addb	rh3,#0x4
    91ae:	000c 000d      	addb	rl4,#0xd
    91b2:	0013           	addb	rh3,@r1
    91b4:	91e0           	pushl	@r14,rr0
    91b6:	91e0           	pushl	@r14,rr0
    91b8:	91e0           	pushl	@r14,rr0
    91ba:	91e0           	pushl	@r14,rr0
    91bc:	91e0           	pushl	@r14,rr0
    91be:	bd71           	ldk	r7,#0x1
    91c0:	5f00 532c      	call	0x532c
    91c4:	8d24           	test	r2
    91c6:	ee19           	jr	ne,0x91fa
    91c8:	6102 c43a      	ld	r2,0xc43a
    91cc:	2103 91aa      	ld	r3,#0x91aa
    91d0:	2104 0005      	ld	r4,#0x5
    91d4:	bb34 0426      	cpir	r2,@r3,r4,eq
    91d8:	ee11           	jr	ne,0x91fc
    91da:	6132 0008      	ld	r2,0x8(r3)
    91de:	1e28           	jp	t,@r2
    91e0:	600a c20b      	ldb	rl2,0xc20b
    91e4:	060a e0e0      	andb	rl2,#0xe0
    91e8:	6e0a c20b      	ldb	0xc20b,rl2
    91ec:	b120           	extsb	r2
    91ee:	4502 c43a      	or	r2,0xc43a
    91f2:	440a c20b      	orb	rl2,0xc20b
    91f6:	6e0a c20b      	ldb	0xc20b,rl2
    91fa:	9e08           	ret	t
    91fc:	5f00 5712      	call	0x5712
    9200:	e8fc           	jr	t,0x91fa
    9202:	2107 c251      	ld	r7,#0xc251
    9206:	5f00 7750      	call	0x7750
    920a:	9e08           	ret	t
    920c:	2107 c20c      	ld	r7,#0xc20c
    9210:	8366           	sub	r6,r6
    9212:	2105 007f      	ld	r5,#0x7f
    9216:	8344           	sub	r4,r4
    9218:	2103 0040      	ld	r3,#0x40
    921c:	5f00 7390      	call	0x7390
    9220:	9e08           	ret	t
    9222:	2107 0024      	ld	r7,#0x24
    9226:	5f00 532c      	call	0x532c
    922a:	8d24           	test	r2
    922c:	e603           	jr	eq,0x9234
    922e:	5f00 5712      	call	0x5712
    9232:	e812           	jr	t,0x9258
    9234:	4d01 c43c 0004 	cp	0xc43c,#0x4
    923a:	ee03           	jr	ne,0x9242
    923c:	4d05 c43a 0013 	ld	0xc43a,#0x13
    9242:	4d01 c43a 0013 	cp	0xc43a,#0x13
    9248:	ee08           	jr	ne,0x925a
    924a:	6405 c206      	setb	0xc206,#0x5
    924e:	e802           	jr	t,0x9254
    9250:	6205 c206      	resb	0xc206,#0x5
    9254:	5f00 7736      	call	0x7736
    9258:	9e08           	ret	t
    925a:	4d01 c43a 000b 	cp	0xc43a,#0xb
    9260:	e6f7           	jr	eq,0x9250
    9262:	e8e5           	jr	t,0x922e
    9264:	abf7           	dec	r15,#0x8
    9266:	5cf9 0c02 0002 	ldm	0x2(r15),r12,#0x3
    926c:	76f7 0000      	lda	r7,0x0(r15)
    9270:	8366           	sub	r6,r6
    9272:	2105 007f      	ld	r5,#0x7f
    9276:	8344           	sub	r4,r4
    9278:	bd31           	ldk	r3,#0x1
    927a:	5f00 7390      	call	0x7390
    927e:	8d24           	test	r2
    9280:	ee20           	jr	ne,0x92c2
    9282:	21fe           	ld	r14,@r15
    9284:	4d01 c43c 0004 	cp	0xc43c,#0x4
    928a:	e60d           	jr	eq,0x92a6
    928c:	76f7 0000      	lda	r7,0x0(r15)
    9290:	8366           	sub	r6,r6
    9292:	2105 007f      	ld	r5,#0x7f
    9296:	a154           	ld	r4,r5
    9298:	bd31           	ldk	r3,#0x1
    929a:	5f00 7390      	call	0x7390
    929e:	8d24           	test	r2
    92a0:	ee10           	jr	ne,0x92c2
    92a2:	21fd           	ld	r13,@r15
    92a4:	e802           	jr	t,0x92aa
    92a6:	210d 007f      	ld	r13,#0x7f
    92aa:	8bde           	cp	r14,r13
    92ac:	e208           	jr	le,0x92be
    92ae:	a1ec           	ld	r12,r14
    92b0:	a1de           	ld	r14,r13
    92b2:	a1cd           	ld	r13,r12
    92b4:	e804           	jr	t,0x92be
    92b6:	a1e7           	ld	r7,r14
    92b8:	5f00 6cf6      	call	0x6cf6
    92bc:	a9e0           	inc	r14,#0x1
    92be:	8bde           	cp	r14,r13
    92c0:	e2fa           	jr	le,0x92b6
    92c2:	5cf1 0c02 0002 	ldm	r12,0x2(r15),#0x3
    92c8:	a9f7           	inc	r15,#0x8
    92ca:	9e08           	ret	t
    92cc:	2107 c211      	ld	r7,#0xc211
    92d0:	8366           	sub	r6,r6
    92d2:	2105 001f      	ld	r5,#0x1f
    92d6:	2104 0018      	ld	r4,#0x18
    92da:	2103 0040      	ld	r3,#0x40
    92de:	5f00 7390      	call	0x7390
    92e2:	9e08           	ret	t
    92e4:	bd75           	ldk	r7,#0x5
    92e6:	5f00 532c      	call	0x532c
    92ea:	8d24           	test	r2
    92ec:	ee1c           	jr	ne,0x9326
    92ee:	4d01 c43c 0001 	cp	0xc43c,#0x1
    92f4:	ee16           	jr	ne,0x9322
    92f6:	6102 c43a      	ld	r2,0xc43a
    92fa:	0702 00ff      	and	r2,#0xff
    92fe:	6e0a c203      	ldb	0xc203,rl2
    9302:	bd71           	ldk	r7,#0x1
    9304:	5f00 532c      	call	0x532c
    9308:	4d01 c43c 0001 	cp	0xc43c,#0x1
    930e:	ee05           	jr	ne,0x931a
    9310:	6102 c43a      	ld	r2,0xc43a
    9314:	0702 00ff      	and	r2,#0xff
    9318:	e801           	jr	t,0x931c
    931a:	8322           	sub	r2,r2
    931c:	6e0a c204      	ldb	0xc204,rl2
    9320:	e802           	jr	t,0x9326
    9322:	4c08 c203      	clrb	0xc203
    9326:	9e08           	ret	t
    9328:	bd75           	ldk	r7,#0x5
    932a:	5f00 532c      	call	0x532c
    932e:	8d24           	test	r2
    9330:	e603           	jr	eq,0x9338
    9332:	5f00 5712      	call	0x5712
    9336:	e813           	jr	t,0x935e
    9338:	4d01 c43c 0004 	cp	0xc43c,#0x4
    933e:	ee03           	jr	ne,0x9346
    9340:	4d05 c43a 0001 	ld	0xc43a,#0x1
    9346:	4d01 c43a 0000 	cp	0xc43a,#0x0
    934c:	e1f2           	jr	lt,0x9332
    934e:	4d01 c43a 0001 	cp	0xc43a,#0x1
    9354:	eaee           	jr	gt,0x9332
    9356:	6107 c43a      	ld	r7,0xc43a
    935a:	5f00 1504      	call	0x1504
    935e:	9e08           	ret	t
    9360:	9378           	push	@r7,r8
    9362:	9382           	push	@r8,r2
    9364:	938a           	push	@r8,r10
    9366:	9390           	push	@r9,r0
    9368:	9396           	push	@r9,r6
    936a:	5f00 9cb8      	call	0x9cb8
    936e:	e817           	jr	t,0x939e
    9370:	b320           	rl	r2,#0x1
    9372:	6122 9360      	ld	r2,0x9360(r2)
    9376:	1e28           	jp	t,@r2
    9378:	4c08 c28a      	clrb	0xc28a
    937c:	5f00 952c      	call	0x952c
    9380:	e80c           	jr	t,0x939a
    9382:	4c05 c28a 0101 	ldb	0xc28a,#0x1
    9388:	e8f9           	jr	t,0x937c
    938a:	5f00 93d6      	call	0x93d6
    938e:	e805           	jr	t,0x939a
    9390:	5f00 9586      	call	0x9586
    9394:	e802           	jr	t,0x939a
    9396:	5f00 9414      	call	0x9414
    939a:	6f02 c2c2      	ld	0xc2c2,r2
    939e:	6102 c2c2      	ld	r2,0xc2c2
    93a2:	ab20           	dec	r2,#0x1
    93a4:	0b02 0004      	cp	r2,#0x4
    93a8:	e3e3           	jr	ule,0x9370
    93aa:	670d c2c2      	bit	0xc2c2,#0xd
    93ae:	e6f7           	jr	eq,0x939e
    93b0:	6102 c2c2      	ld	r2,0xc2c2
    93b4:	0702 00ff      	and	r2,#0xff
    93b8:	0b02 00c9      	cp	r2,#0xc9
    93bc:	ee04           	jr	ne,0x93c6
    93be:	bd22           	ldk	r2,#0x2
    93c0:	e801           	jr	t,0x93c4
    93c2:	bd21           	ldk	r2,#0x1
    93c4:	9e08           	ret	t
    93c6:	6102 c2c2      	ld	r2,0xc2c2
    93ca:	0702 00ff      	and	r2,#0xff
    93ce:	0b02 00ca      	cp	r2,#0xca
    93d2:	e6f7           	jr	eq,0x93c2
    93d4:	e8e4           	jr	t,0x939e
    93d6:	abf5           	dec	r15,#0x6
    93d8:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    93de:	5f00 1aee      	call	0x1aee
    93e2:	e806           	jr	t,0x93f0
    93e4:	5f00 1b04      	call	0x1b04
    93e8:	a1d7           	ld	r7,r13
    93ea:	5f00 6cf6      	call	0x6cf6
    93ee:	e8f7           	jr	t,0x93de
    93f0:	5f00 5a1e      	call	0x5a1e
    93f4:	a12d           	ld	r13,r2
    93f6:	2ff2           	ld	@r15,r2
    93f8:	a127           	ld	r7,r2
    93fa:	5f00 96c6      	call	0x96c6
    93fe:	a12e           	ld	r14,r2
    9400:	8d24           	test	r2
    9402:	e2f0           	jr	le,0x93e4
    9404:	5f00 1b04      	call	0x1b04
    9408:	a1e2           	ld	r2,r14
    940a:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    9410:	a9f5           	inc	r15,#0x6
    9412:	9e08           	ret	t
    9414:	030f 0012      	sub	r15,#0x12
    9418:	5cf9 0806 0004 	ldm	0x4(r15),r8,#0x7
    941e:	6107 c2ac      	ld	r7,0xc2ac
    9422:	5f00 3b74      	call	0x3b74
    9426:	a129           	ld	r9,r2
    9428:	6107 c2ae      	ld	r7,0xc2ae
    942c:	5f00 3bae      	call	0x3bae
    9430:	a128           	ld	r8,r2
    9432:	bdd1           	ldk	r13,#0x1
    9434:	e86b           	jr	t,0x950c
    9436:	bdd0           	ldk	r13,#0x0
    9438:	e869           	jr	t,0x950c
    943a:	8de4           	test	r14
    943c:	ee67           	jr	ne,0x950c
    943e:	a1a2           	ld	r2,r10
    9440:	0702 00ff      	and	r2,#0xff
    9444:	0b02 0020      	cp	r2,#0x20
    9448:	e6f6           	jr	eq,0x9436
    944a:	a1a2           	ld	r2,r10
    944c:	0702 00ff      	and	r2,#0xff
    9450:	0b02 0050      	cp	r2,#0x50
    9454:	e6ee           	jr	eq,0x9432
    9456:	a1a2           	ld	r2,r10
    9458:	0702 0070      	and	r2,#0x70
    945c:	0b02 0040      	cp	r2,#0x40
    9460:	ee55           	jr	ne,0x950c
    9462:	a1a2           	ld	r2,r10
    9464:	0702 0003      	and	r2,#0x3
    9468:	0b02 0003      	cp	r2,#0x3
    946c:	e64f           	jr	eq,0x950c
    946e:	a1a2           	ld	r2,r10
    9470:	0702 000c      	and	r2,#0xc
    9474:	0b02 000c      	cp	r2,#0xc
    9478:	e649           	jr	eq,0x950c
    947a:	a1a2           	ld	r2,r10
    947c:	0702 0001      	and	r2,#0x1
    9480:	a1a3           	ld	r3,r10
    9482:	0703 0002      	and	r3,#0x2
    9486:	0b03 0002      	cp	r3,#0x2
    948a:	bd30           	ldk	r3,#0x0
    948c:	af36           	tcc	eq,r3
    948e:	8332           	sub	r2,r3
    9490:	8129           	add	r9,r2
    9492:	a1a2           	ld	r2,r10
    9494:	0702 0004      	and	r2,#0x4
    9498:	0b02 0004      	cp	r2,#0x4
    949c:	bd20           	ldk	r2,#0x0
    949e:	af26           	tcc	eq,r2
    94a0:	a1a3           	ld	r3,r10
    94a2:	0703 0008      	and	r3,#0x8
    94a6:	0b03 0008      	cp	r3,#0x8
    94aa:	bd30           	ldk	r3,#0x0
    94ac:	af36           	tcc	eq,r3
    94ae:	8332           	sub	r2,r3
    94b0:	8128           	add	r8,r2
    94b2:	a197           	ld	r7,r9
    94b4:	2106 03ff      	ld	r6,#0x3ff
    94b8:	5f00 78c4      	call	0x78c4
    94bc:	2ff2           	ld	@r15,r2
    94be:	8377           	sub	r7,r7
    94c0:	a126           	ld	r6,r2
    94c2:	5f00 78b0      	call	0x78b0
    94c6:	a129           	ld	r9,r2
    94c8:	6ff2 0002      	ld	0x2(r15),r2
    94cc:	a127           	ld	r7,r2
    94ce:	5f00 3b58      	call	0x3b58
    94d2:	a12c           	ld	r12,r2
    94d4:	a187           	ld	r7,r8
    94d6:	2106 030b      	ld	r6,#0x30b
    94da:	5f00 78c4      	call	0x78c4
    94de:	2ff2           	ld	@r15,r2
    94e0:	8377           	sub	r7,r7
    94e2:	a126           	ld	r6,r2
    94e4:	5f00 78b0      	call	0x78b0
    94e8:	a128           	ld	r8,r2
    94ea:	6ff2 0002      	ld	0x2(r15),r2
    94ee:	a127           	ld	r7,r2
    94f0:	5f00 3b92      	call	0x3b92
    94f4:	a12b           	ld	r11,r2
    94f6:	8dd4           	test	r13
    94f8:	e605           	jr	eq,0x9504
    94fa:	a1c7           	ld	r7,r12
    94fc:	a126           	ld	r6,r2
    94fe:	5f00 43e2      	call	0x43e2
    9502:	e804           	jr	t,0x950c
    9504:	a1c7           	ld	r7,r12
    9506:	a1b6           	ld	r6,r11
    9508:	5f00 4260      	call	0x4260
    950c:	5f00 5a1e      	call	0x5a1e
    9510:	a12a           	ld	r10,r2
    9512:	2ff2           	ld	@r15,r2
    9514:	a127           	ld	r7,r2
    9516:	5f00 96c6      	call	0x96c6
    951a:	a12e           	ld	r14,r2
    951c:	8d24           	test	r2
    951e:	e28d           	jr	le,0x943a
    9520:	5cf1 0806 0004 	ldm	r8,0x4(r15),#0x7
    9526:	010f 0012      	add	r15,#0x12
    952a:	9e08           	ret	t
    952c:	abf5           	dec	r15,#0x6
    952e:	5cf9 0d01 0002 	ldm	0x2(r15),r13,#0x2
    9534:	600f c238      	ldb	rl7,0xc238
    9538:	b170           	extsb	r7
    953a:	5f00 7212      	call	0x7212
    953e:	6107 c30a      	ld	r7,0xc30a
    9542:	5f00 74d8      	call	0x74d8
    9546:	4c05 c288 0101 	ldb	0xc288,#0x1
    954c:	4c08 c289      	clrb	0xc289
    9550:	e808           	jr	t,0x9562
    9552:	bde0           	ldk	r14,#0x0
    9554:	210d 007f      	ld	r13,#0x7f
    9558:	8de4           	test	r14
    955a:	ee03           	jr	ne,0x9562
    955c:	a1d7           	ld	r7,r13
    955e:	5f00 95fc      	call	0x95fc
    9562:	5f00 5a1e      	call	0x5a1e
    9566:	a12d           	ld	r13,r2
    9568:	2ff2           	ld	@r15,r2
    956a:	a127           	ld	r7,r2
    956c:	5f00 96c6      	call	0x96c6
    9570:	a12e           	ld	r14,r2
    9572:	8d24           	test	r2
    9574:	e2f1           	jr	le,0x9558
    9576:	0b02 007f      	cp	r2,#0x7f
    957a:	e6eb           	jr	eq,0x9552
    957c:	5cf1 0d01 0002 	ldm	r13,0x2(r15),#0x2
    9582:	a9f5           	inc	r15,#0x6
    9584:	9e08           	ret	t
    9586:	abf3           	dec	r15,#0x4
    9588:	1cf9 0d01      	ldm	@r15,r13,#0x2
    958c:	bd71           	ldk	r7,#0x1
    958e:	5f00 392e      	call	0x392e
    9592:	bdd3           	ldk	r13,#0x3
    9594:	e81a           	jr	t,0x95ca
    9596:	5f00 9872      	call	0x9872
    959a:	e817           	jr	t,0x95ca
    959c:	4c01 c22d 0202 	cpb	0xc22d,#0x2
    95a2:	ee03           	jr	ne,0x95aa
    95a4:	5f00 1d6a      	call	0x1d6a
    95a8:	e806           	jr	t,0x95b6
    95aa:	4c01 c22d 0303 	cpb	0xc22d,#0x3
    95b0:	ee02           	jr	ne,0x95b6
    95b2:	5f00 1dc2      	call	0x1dc2
    95b6:	5f00 6f96      	call	0x6f96
    95ba:	4c08 c22d      	clrb	0xc22d
    95be:	6107 c2ca      	ld	r7,0xc2ca
    95c2:	6106 c2ce      	ld	r6,0xc2ce
    95c6:	5f00 4260      	call	0x4260
    95ca:	4c04 c22d      	testb	0xc22d
    95ce:	e611           	jr	eq,0x95f2
    95d0:	5f00 5a1e      	call	0x5a1e
    95d4:	a12e           	ld	r14,r2
    95d6:	4c04 c22d      	testb	0xc22d
    95da:	e60b           	jr	eq,0x95f2
    95dc:	0b02 001b      	cp	r2,#0x1b
    95e0:	e6da           	jr	eq,0x9596
    95e2:	0b02 000d      	cp	r2,#0xd
    95e6:	e6da           	jr	eq,0x959c
    95e8:	a72d           	bit	r2,#0xd
    95ea:	e6ef           	jr	eq,0x95ca
    95ec:	a12d           	ld	r13,r2
    95ee:	5f00 2ef4      	call	0x2ef4
    95f2:	a1d2           	ld	r2,r13
    95f4:	1cf1 0d01      	ldm	r13,@r15,#0x2
    95f8:	a9f3           	inc	r15,#0x4
    95fa:	9e08           	ret	t
    95fc:	abf7           	dec	r15,#0x8
    95fe:	1cf9 0b03      	ldm	@r15,r11,#0x4
    9602:	a17e           	ld	r14,r7
    9604:	a172           	ld	r2,r7
    9606:	0702 001f      	and	r2,#0x1f
    960a:	a12d           	ld	r13,r2
    960c:	a1e2           	ld	r2,r14
    960e:	0702 0060      	and	r2,#0x60
    9612:	e83e           	jr	t,0x9690
    9614:	a1d2           	ld	r2,r13
    9616:	6e0a c28b      	ldb	0xc28b,rl2
    961a:	4c08 c289      	clrb	0xc289
    961e:	600f c28c      	ldb	rl7,0xc28c
    9622:	b170           	extsb	r7
    9624:	b379 0005      	sla	r7,#0x5
    9628:	b120           	extsb	r2
    962a:	8527           	or	r7,r2
    962c:	5f00 3b58      	call	0x3b58
    9630:	a12c           	ld	r12,r2
    9632:	600f c28e      	ldb	rl7,0xc28e
    9636:	b170           	extsb	r7
    9638:	b379 0005      	sla	r7,#0x5
    963c:	600a c28d      	ldb	rl2,0xc28d
    9640:	b120           	extsb	r2
    9642:	8527           	or	r7,r2
    9644:	5f00 3b92      	call	0x3b92
    9648:	a12b           	ld	r11,r2
    964a:	4c04 c288      	testb	0xc288
    964e:	e607           	jr	eq,0x965e
    9650:	a1c7           	ld	r7,r12
    9652:	a126           	ld	r6,r2
    9654:	5f00 4260      	call	0x4260
    9658:	4c08 c288      	clrb	0xc288
    965c:	e804           	jr	t,0x9666
    965e:	a1c7           	ld	r7,r12
    9660:	a1b6           	ld	r6,r11
    9662:	5f00 41b2      	call	0x41b2
    9666:	4d08 c2ca      	clr	0xc2ca
    966a:	e81b           	jr	t,0x96a2
    966c:	a1d2           	ld	r2,r13
    966e:	6e0a c28d      	ldb	0xc28d,rl2
    9672:	4c05 c289 0101 	ldb	0xc289,#0x1
    9678:	e814           	jr	t,0x96a2
    967a:	4c04 c289      	testb	0xc289
    967e:	e604           	jr	eq,0x9688
    9680:	a1d2           	ld	r2,r13
    9682:	6e0a c28c      	ldb	0xc28c,rl2
    9686:	e80d           	jr	t,0x96a2
    9688:	a1d2           	ld	r2,r13
    968a:	6e0a c28e      	ldb	0xc28e,rl2
    968e:	e809           	jr	t,0x96a2
    9690:	0b02 0020      	cp	r2,#0x20
    9694:	e6f2           	jr	eq,0x967a
    9696:	0b02 0040      	cp	r2,#0x40
    969a:	e6bc           	jr	eq,0x9614
    969c:	0b02 0060      	cp	r2,#0x60
    96a0:	e6e5           	jr	eq,0x966c
    96a2:	1cf1 0b03      	ldm	r11,@r15,#0x4
    96a6:	a9f7           	inc	r15,#0x8
    96a8:	9e08           	ret	t
    96aa:	0007 000d      	addb	rh7,#0xd
    96ae:	001b           	addb	rl3,@r1
    96b0:	001c           	addb	rl4,@r1
    96b2:	001d           	addb	rl5,@r1
    96b4:	001e           	addb	rl6,@r1
    96b6:	001f           	addb	rl7,@r1
    96b8:	96e2           	addl	rr2,rr14
    96ba:	96fa           	addl	rr10,rr15
    96bc:	9704           	.word 9704
    96be:	96f2           	addl	rr2,rr15
    96c0:	96ee           	addl	rr14,rr14
    96c2:	96f6           	addl	rr6,rr15
    96c4:	9700           	.word 9700
    96c6:	abf1           	dec	r15,#0x2
    96c8:	2ffe           	ld	@r15,r14
    96ca:	a17e           	ld	r14,r7
    96cc:	a172           	ld	r2,r7
    96ce:	2103 96aa      	ld	r3,#0x96aa
    96d2:	2104 0007      	ld	r4,#0x7
    96d6:	bb34 0426      	cpir	r2,@r3,r4,eq
    96da:	ee17           	jr	ne,0x970a
    96dc:	6132 000c      	ld	r2,0xc(r3)
    96e0:	1e28           	jp	t,@r2
    96e2:	bd77           	ldk	r7,#0x7
    96e4:	5f00 6c4c      	call	0x6c4c
    96e8:	2102 ffff      	ld	r2,#0xffff
    96ec:	e816           	jr	t,0x971a
    96ee:	bd21           	ldk	r2,#0x1
    96f0:	e814           	jr	t,0x971a
    96f2:	bd22           	ldk	r2,#0x2
    96f4:	e812           	jr	t,0x971a
    96f6:	bd25           	ldk	r2,#0x5
    96f8:	e810           	jr	t,0x971a
    96fa:	bd7d           	ldk	r7,#0xd
    96fc:	5f00 6cf6      	call	0x6cf6
    9700:	bd23           	ldk	r2,#0x3
    9702:	e80b           	jr	t,0x971a
    9704:	5f00 9872      	call	0x9872
    9708:	e808           	jr	t,0x971a
    970a:	a7ed           	bit	r14,#0xd
    970c:	e602           	jr	eq,0x9712
    970e:	a1e2           	ld	r2,r14
    9710:	e804           	jr	t,0x971a
    9712:	0b0e 0020      	cp	r14,#0x20
    9716:	e1e8           	jr	lt,0x96e8
    9718:	8322           	sub	r2,r2
    971a:	21fe           	ld	r14,@r15
    971c:	a9f1           	inc	r15,#0x2
    971e:	9e08           	ret	t
    9720:	4c01 c292 0202 	cpb	0xc292,#0x2
    9726:	ea07           	jr	gt,0x9736
    9728:	4d05 c25e 892c 	ld	0xc25e,#0x892c
    972e:	4c05 c252 0909 	ldb	0xc252,#0x9
    9734:	e806           	jr	t,0x9742
    9736:	4d05 c25e 9d26 	ld	0xc25e,#0x9d26
    973c:	4c05 c252 0606 	ldb	0xc252,#0x6
    9742:	9e08           	ret	t
    9744:	abf3           	dec	r15,#0x4
    9746:	4d01 c2c2 0003 	cp	0xc2c2,#0x3
    974c:	ee02           	jr	ne,0x9752
    974e:	5f00 1b04      	call	0x1b04
    9752:	6103 c2de      	ld	r3,0xc2de
    9756:	5902 c688      	mult	rr2,0xc688
    975a:	6e0b c28f      	ldb	0xc28f,rl3
    975e:	6102 c686      	ld	r2,0xc686
    9762:	a920           	inc	r2,#0x1
    9764:	6101 c2e0      	ld	r1,0xc2e0
    9768:	9920           	mult	rr0,r2
    976a:	6e09 c290      	ldb	0xc290,rl1
    976e:	a0ba           	ldb	rl2,rl3
    9770:	b120           	extsb	r2
    9772:	a123           	ld	r3,r2
    9774:	8d32           	neg	r3
    9776:	0103 0320      	add	r3,#0x320
    977a:	6f03 c2d4      	ld	0xc2d4,r3
    977e:	6103 c2e0      	ld	r3,0xc2e0
    9782:	5902 c684      	mult	rr2,0xc684
    9786:	a132           	ld	r2,r3
    9788:	8d22           	neg	r2
    978a:	0102 01e0      	add	r2,#0x1e0
    978e:	6f02 c2d6      	ld	0xc2d6,r2
    9792:	6107 c2ae      	ld	r7,0xc2ae
    9796:	a126           	ld	r6,r2
    9798:	5f00 78c4      	call	0x78c4
    979c:	2ff2           	ld	@r15,r2
    979e:	6107 c2ac      	ld	r7,0xc2ac
    97a2:	6106 c2d4      	ld	r6,0xc2d4
    97a6:	5f00 78c4      	call	0x78c4
    97aa:	6ff2 0002      	ld	0x2(r15),r2
    97ae:	a127           	ld	r7,r2
    97b0:	21f6           	ld	r6,@r15
    97b2:	5f00 4260      	call	0x4260
    97b6:	4d01 c2c2 0003 	cp	0xc2c2,#0x3
    97bc:	ee06           	jr	ne,0x97ca
    97be:	4c01 c232 0303 	cpb	0xc232,#0x3
    97c4:	ee02           	jr	ne,0x97ca
    97c6:	5f00 1aee      	call	0x1aee
    97ca:	a9f3           	inc	r15,#0x4
    97cc:	9e08           	ret	t
    97ce:	9968           	mult	rr8,r6
    97d0:	9968           	mult	rr8,r6
    97d2:	9968           	mult	rr8,r6
    97d4:	99c2           	mult	rr2,r12
    97d6:	9c08           	testl	rr0
    97d8:	9a1c           	divl	rq12,rr1
    97da:	9ba4           	div	rr4,r10
    97dc:	9c08           	testl	rr0
    97de:	9c08           	testl	rr0
    97e0:	9c08           	testl	rr0
    97e2:	9bb2           	div	rr2,r11
    97e4:	9bc6           	div	rr6,r12
    97e6:	9bea           	div	rr10,r14
    97e8:	9bf0           	div	rr0,r15
    97ea:	9bd8           	div	rr8,r13
    97ec:	9928           	mult	rr8,r2
    97ee:	9c08           	testl	rr0
    97f0:	9928           	mult	rr8,r2
    97f2:	9c08           	testl	rr0
    97f4:	9b5e           	div	rr14,r5
    97f6:	9c08           	testl	rr0
    97f8:	9b92           	div	rr2,r9
    97fa:	0005 000c      	addb	rh5,#0xc
    97fe:	000e 000f      	addb	rl6,#0xf
    9802:	0017           	addb	rh7,@r1
    9804:	0018           	addb	rl0,@r1
    9806:	001a           	addb	rl2,@r1
    9808:	0022           	addb	rh2,@r2
    980a:	002b           	addb	rl3,@r2
    980c:	002f           	addb	rl7,@r2
    980e:	0030           	addb	rh0,@r3
    9810:	0031           	addb	rh1,@r3
    9812:	0032           	addb	rh2,@r3
    9814:	0033           	addb	rh3,@r3
    9816:	0038           	addb	rl0,@r3
    9818:	0039           	addb	rl1,@r3
    981a:	003a           	addb	rl2,@r3
    981c:	003b           	addb	rl3,@r3
    981e:	003f           	addb	rl7,@r3
    9820:	0060           	addb	rh0,@r6
    9822:	0061           	addb	rh1,@r6
    9824:	0062           	addb	rh2,@r6
    9826:	0063           	addb	rh3,@r6
    9828:	0064           	addb	rh4,@r6
    982a:	0065           	addb	rh5,@r6
    982c:	0066           	addb	rh6,@r6
    982e:	0067           	addb	rh7,@r6
    9830:	0078           	addb	rl0,@r7
    9832:	0079           	addb	rl1,@r7
    9834:	007a           	addb	rl2,@r7
    9836:	9a96           	divl	rq6,rr9
    9838:	98d8           	multl	rq8,rr13
    983a:	993a           	mult	rr10,r3
    983c:	9934           	mult	rr4,r3
    983e:	992e           	mult	rr14,r2
    9840:	9922           	mult	rr2,r2
    9842:	991c           	mult	rr12,r1
    9844:	9b40           	div	rr0,r4
    9846:	9b14           	div	rr4,r1
    9848:	9942           	mult	rr2,r4
    984a:	9a3a           	divl	rq10,rr3
    984c:	9a3a           	divl	rq10,rr3
    984e:	9a3a           	divl	rq10,rr3
    9850:	9a3a           	divl	rq10,rr3
    9852:	9a52           	divl	rq2,rr5
    9854:	9a52           	divl	rq2,rr5
    9856:	9a52           	divl	rq2,rr5
    9858:	9a52           	divl	rq2,rr5
    985a:	9b3a           	div	rr10,r3
    985c:	9a6e           	divl	rq14,rr6
    985e:	9a6e           	divl	rq14,rr6
    9860:	9a6e           	divl	rq14,rr6
    9862:	9a6e           	divl	rq14,rr6
    9864:	9a6e           	divl	rq14,rr6
    9866:	9a6e           	divl	rq14,rr6
    9868:	9a6e           	divl	rq14,rr6
    986a:	9a6e           	divl	rq14,rr6
    986c:	9a6e           	divl	rq14,rr6
    986e:	9a6e           	divl	rq14,rr6
    9870:	9a6e           	divl	rq14,rr6
    9872:	abfd           	dec	r15,#0xe
    9874:	5cf9 0a04 0004 	ldm	0x4(r15),r10,#0x5
    987a:	5f00 5a1e      	call	0x5a1e
    987e:	a12e           	ld	r14,r2
    9880:	a72d           	bit	r2,#0xd
    9882:	e603           	jr	eq,0x988a
    9884:	a1e2           	ld	r2,r14
    9886:	5e08 9c0c      	jp	t,0x9c0c
    988a:	0b0e 001b      	cp	r14,#0x1b
    988e:	e6f5           	jr	eq,0x987a
    9890:	8de4           	test	r14
    9892:	e6f3           	jr	eq,0x987a
    9894:	0b0e 000d      	cp	r14,#0xd
    9898:	e6f0           	jr	eq,0x987a
    989a:	0b0e 000a      	cp	r14,#0xa
    989e:	e6ed           	jr	eq,0x987a
    98a0:	0b0e 0068      	cp	r14,#0x68
    98a4:	e10d           	jr	lt,0x98c0
    98a6:	0b0e 0077      	cp	r14,#0x77
    98aa:	ea0a           	jr	gt,0x98c0
    98ac:	a1e2           	ld	r2,r14
    98ae:	0302 0068      	sub	r2,#0x68
    98b2:	a121           	ld	r1,r2
    98b4:	b10a           	exts	rr0
    98b6:	1b00 0008      	div	rr0,#0x8
    98ba:	0100 0060      	add	r0,#0x60
    98be:	a10e           	ld	r14,r0
    98c0:	a1e2           	ld	r2,r14
    98c2:	2103 97fa      	ld	r3,#0x97fa
    98c6:	2104 001e      	ld	r4,#0x1e
    98ca:	bb34 0426      	cpir	r2,@r3,r4,eq
    98ce:	5e0e 9bfa      	jp	ne,0x9bfa
    98d2:	6132 003a      	ld	r2,0x3a(r3)
    98d6:	1e28           	jp	t,@r2
    98d8:	4c04 c22d      	testb	0xc22d
    98dc:	e602           	jr	eq,0x98e2
    98de:	5f00 2ef4      	call	0x2ef4
    98e2:	4c08 c240      	clrb	0xc240
    98e6:	4d08 c30a      	clr	0xc30a
    98ea:	8377           	sub	r7,r7
    98ec:	5f00 74d8      	call	0x74d8
    98f0:	4d05 c2e0 0001 	ld	0xc2e0,#0x1
    98f6:	4d05 c2de 0001 	ld	0xc2de,#0x1
    98fc:	5f00 9744      	call	0x9744
    9900:	4c05 c238 0101 	ldb	0xc238,#0x1
    9906:	cf01           	ldb	rl7,#0x1
    9908:	b170           	extsb	r7
    990a:	5f00 7212      	call	0x7212
    990e:	5f00 4132      	call	0x4132
    9912:	5f00 3f34      	call	0x3f34
    9916:	bd23           	ldk	r2,#0x3
    9918:	5e08 9c0c      	jp	t,0x9c0c
    991c:	bd24           	ldk	r2,#0x4
    991e:	5e08 9c0c      	jp	t,0x9c0c
    9922:	4c05 c245 0101 	ldb	0xc245,#0x1
    9928:	8322           	sub	r2,r2
    992a:	5e08 9c0c      	jp	t,0x9c0c
    992e:	5f00 4252      	call	0x4252
    9932:	e8fa           	jr	t,0x9928
    9934:	4c08 c233      	clrb	0xc233
    9938:	e8f7           	jr	t,0x9928
    993a:	4c05 c233 0101 	ldb	0xc233,#0x1
    9940:	e8f3           	jr	t,0x9928
    9942:	5f00 9c16      	call	0x9c16
    9946:	a12d           	ld	r13,r2
    9948:	a72d           	bit	r2,#0xd
    994a:	e603           	jr	eq,0x9952
    994c:	a1d2           	ld	r2,r13
    994e:	5e08 9c0c      	jp	t,0x9c0c
    9952:	a1d2           	ld	r2,r13
    9954:	0302 0061      	sub	r2,#0x61
    9958:	0b02 0005      	cp	r2,#0x5
    995c:	5e0b 9c08      	jp	ugt,0x9c08
    9960:	b320           	rl	r2,#0x1
    9962:	6122 97ce      	ld	r2,0x97ce(r2)
    9966:	1e28           	jp	t,@r2
    9968:	210a ffff      	ld	r10,#0xffff
    996c:	210b d200      	ld	r11,#0xd200
    9970:	a1d2           	ld	r2,r13
    9972:	0302 0061      	sub	r2,#0x61
    9976:	a123           	ld	r3,r2
    9978:	1902 000c      	mult	rr2,#0xc
    997c:	0103 c264      	add	r3,#0xc264
    9980:	a13c           	ld	r12,r3
    9982:	4d01 c2b4 000a 	cp	0xc2b4,#0xa
    9988:	e214           	jr	le,0x99b2
    998a:	4d05 c2b4 000a 	ld	0xc2b4,#0xa
    9990:	e810           	jr	t,0x99b2
    9992:	8da4           	test	r10
    9994:	e603           	jr	eq,0x999c
    9996:	2102 0080      	ld	r2,#0x80
    999a:	e801           	jr	t,0x999e
    999c:	8322           	sub	r2,r2
    999e:	05b2           	or	r2,@r11
    99a0:	2eca           	ldb	@r12,rl2
    99a2:	a9b1           	inc	r11,#0x2
    99a4:	a9c0           	inc	r12,#0x1
    99a6:	8da4           	test	r10
    99a8:	ee02           	jr	ne,0x99ae
    99aa:	bd21           	ldk	r2,#0x1
    99ac:	e801           	jr	t,0x99b0
    99ae:	bd20           	ldk	r2,#0x0
    99b0:	a12a           	ld	r10,r2
    99b2:	6102 c2b4      	ld	r2,0xc2b4
    99b6:	6b00 c2b4      	dec	0xc2b4,#0x1
    99ba:	8d24           	test	r2
    99bc:	eeea           	jr	ne,0x9992
    99be:	0cc8           	clrb	@r12
    99c0:	e8b3           	jr	t,0x9928
    99c2:	4d01 d200 0002 	cp	0xd200,#0x2
    99c8:	ee0e           	jr	ne,0x99e6
    99ca:	4c05 c240 0101 	ldb	0xc240,#0x1
    99d0:	4d08 c30a      	clr	0xc30a
    99d4:	8377           	sub	r7,r7
    99d6:	5f00 74d8      	call	0x74d8
    99da:	4d08 c304      	clr	0xc304
    99de:	4d05 c302 0007 	ld	0xc302,#0x7
    99e4:	e8a1           	jr	t,0x9928
    99e6:	4c08 c240      	clrb	0xc240
    99ea:	4d01 d200 0001 	cp	0xd200,#0x1
    99f0:	ee0a           	jr	ne,0x9a06
    99f2:	4d05 c30a 0007 	ld	0xc30a,#0x7
    99f8:	bd77           	ldk	r7,#0x7
    99fa:	5f00 74d8      	call	0x74d8
    99fe:	4d05 c304 0007 	ld	0xc304,#0x7
    9a04:	e807           	jr	t,0x9a14
    9a06:	4d08 c30a      	clr	0xc30a
    9a0a:	8377           	sub	r7,r7
    9a0c:	5f00 74d8      	call	0x74d8
    9a10:	4d08 c304      	clr	0xc304
    9a14:	4d05 c302 0007 	ld	0xc302,#0x7
    9a1a:	e886           	jr	t,0x9928
    9a1c:	4d01 c2b4 0001 	cp	0xc2b4,#0x1
    9a22:	5e0e 9c08      	jp	ne,0x9c08
    9a26:	6102 c2ac      	ld	r2,0xc2ac
    9a2a:	6f02 c2cc      	ld	0xc2cc,r2
    9a2e:	6102 c2ae      	ld	r2,0xc2ae
    9a32:	6f02 c2ce      	ld	0xc2ce,r2
    9a36:	5e08 9928      	jp	t,0x9928
    9a3a:	a1e2           	ld	r2,r14
    9a3c:	0702 0003      	and	r2,#0x3
    9a40:	a920           	inc	r2,#0x1
    9a42:	6f02 c2e0      	ld	0xc2e0,r2
    9a46:	6f02 c2de      	ld	0xc2de,r2
    9a4a:	5f00 9744      	call	0x9744
    9a4e:	5e08 9928      	jp	t,0x9928
    9a52:	a1e7           	ld	r7,r14
    9a54:	0307 0037      	sub	r7,#0x37
    9a58:	6e0f c292      	ldb	0xc292,rl7
    9a5c:	b170           	extsb	r7
    9a5e:	5f00 1508      	call	0x1508
    9a62:	5f00 9720      	call	0x9720
    9a66:	5f00 9744      	call	0x9744
    9a6a:	5e08 9928      	jp	t,0x9928
    9a6e:	0b0e 0078      	cp	r14,#0x78
    9a72:	e104           	jr	lt,0x9a7c
    9a74:	a1e7           	ld	r7,r14
    9a76:	0307 006f      	sub	r7,#0x6f
    9a7a:	e806           	jr	t,0x9a88
    9a7c:	a1e2           	ld	r2,r14
    9a7e:	0302 0060      	sub	r2,#0x60
    9a82:	602f 51e8      	ldb	rl7,0x51e8(r2)
    9a86:	b170           	extsb	r7
    9a88:	6e0f c238      	ldb	0xc238,rl7
    9a8c:	b170           	extsb	r7
    9a8e:	5f00 7212      	call	0x7212
    9a92:	5e08 9928      	jp	t,0x9928
    9a96:	4c05 c245 0101 	ldb	0xc245,#0x1
    9a9c:	4c04 c22d      	testb	0xc22d
    9aa0:	e605           	jr	eq,0x9aac
    9aa2:	610e c2cc      	ld	r14,0xc2cc
    9aa6:	610d c2ce      	ld	r13,0xc2ce
    9aaa:	e816           	jr	t,0x9ad8
    9aac:	4d01 c2c2 0003 	cp	0xc2c2,#0x3
    9ab2:	bd70           	ldk	r7,#0x0
    9ab4:	af76           	tcc	eq,r7
    9ab6:	b379 0002      	sla	r7,#0x2
    9aba:	0507 0031      	or	r7,#0x31
    9abe:	4d01 c2ca 0000 	cp	0xc2ca,#0x0
    9ac4:	bd20           	ldk	r2,#0x0
    9ac6:	af2e           	tcc	ne,r2
    9ac8:	8122           	add	r2,r2
    9aca:	8527           	or	r7,r2
    9acc:	5f00 6c20      	call	0x6c20
    9ad0:	610e c2ac      	ld	r14,0xc2ac
    9ad4:	610d c2ae      	ld	r13,0xc2ae
    9ad8:	a1d7           	ld	r7,r13
    9ada:	5f00 3bae      	call	0x3bae
    9ade:	2ff2           	ld	@r15,r2
    9ae0:	a1e7           	ld	r7,r14
    9ae2:	5f00 3b74      	call	0x3b74
    9ae6:	6ff2 0002      	ld	0x2(r15),r2
    9aea:	a127           	ld	r7,r2
    9aec:	21f6           	ld	r6,@r15
    9aee:	5f00 9c68      	call	0x9c68
    9af2:	4c04 c22d      	testb	0xc22d
    9af6:	e60a           	jr	eq,0x9b0c
    9af8:	5f00 2ef4      	call	0x2ef4
    9afc:	6107 c2cc      	ld	r7,0xc2cc
    9b00:	6106 c2ce      	ld	r6,0xc2ce
    9b04:	5f00 4260      	call	0x4260
    9b08:	5e08 9928      	jp	t,0x9928
    9b0c:	5f00 601c      	call	0x601c
    9b10:	5e08 9928      	jp	t,0x9928
    9b14:	5f00 5a1e      	call	0x5a1e
    9b18:	a12e           	ld	r14,r2
    9b1a:	a72d           	bit	r2,#0xd
    9b1c:	5e0e 9884      	jp	ne,0x9884
    9b20:	0b02 0040      	cp	r2,#0x40
    9b24:	5e01 9928      	jp	lt,0x9928
    9b28:	0b02 005f      	cp	r2,#0x5f
    9b2c:	5e0a 9928      	jp	gt,0x9928
    9b30:	0b02 0023      	cp	r2,#0x23
    9b34:	eeef           	jr	ne,0x9b14
    9b36:	5e08 9928      	jp	t,0x9928
    9b3a:	2102 007f      	ld	r2,#0x7f
    9b3e:	e866           	jr	t,0x9c0c
    9b40:	5f00 9c16      	call	0x9c16
    9b44:	a12d           	ld	r13,r2
    9b46:	a72d           	bit	r2,#0xd
    9b48:	5e0e 994c      	jp	ne,0x994c
    9b4c:	0302 0061      	sub	r2,#0x61
    9b50:	0b02 0006      	cp	r2,#0x6
    9b54:	eb59           	jr	ugt,0x9c08
    9b56:	b320           	rl	r2,#0x1
    9b58:	6122 97ec      	ld	r2,0x97ec(r2)
    9b5c:	1e28           	jp	t,@r2
    9b5e:	210b d200      	ld	r11,#0xd200
    9b62:	4c08 c24c      	clrb	0xc24c
    9b66:	e80d           	jr	t,0x9b82
    9b68:	bd21           	ldk	r2,#0x1
    9b6a:	21b3           	ld	r3,@r11
    9b6c:	b32b 0300      	sda	r2,r3
    9b70:	b329 ffff      	sra	r2,#0x1
    9b74:	0702 0007      	and	r2,#0x7
    9b78:	440a c24c      	orb	rl2,0xc24c
    9b7c:	6e0a c24c      	ldb	0xc24c,rl2
    9b80:	a9b1           	inc	r11,#0x2
    9b82:	6102 c2b4      	ld	r2,0xc2b4
    9b86:	6b00 c2b4      	dec	0xc2b4,#0x1
    9b8a:	8d24           	test	r2
    9b8c:	eeed           	jr	ne,0x9b68
    9b8e:	5e08 9928      	jp	t,0x9928
    9b92:	6102 d200      	ld	r2,0xd200
    9b96:	0b02 0008      	cp	r2,#0x8
    9b9a:	eb36           	jr	ugt,0x9c08
    9b9c:	b320           	rl	r2,#0x1
    9b9e:	6122 97da      	ld	r2,0x97da(r2)
    9ba2:	1e28           	jp	t,@r2
    9ba4:	210d 00ca      	ld	r13,#0xca
    9ba8:	e824           	jr	t,0x9bf2
    9baa:	a1d2           	ld	r2,r13
    9bac:	0502 2000      	or	r2,#0x2000
    9bb0:	e82d           	jr	t,0x9c0c
    9bb2:	bdd4           	ldk	r13,#0x4
    9bb4:	600a c206      	ldb	rl2,0xc206
    9bb8:	b120           	extsb	r2
    9bba:	0702 00f3      	and	r2,#0xf3
    9bbe:	85d2           	or	r2,r13
    9bc0:	6e0a c206      	ldb	0xc206,rl2
    9bc4:	e816           	jr	t,0x9bf2
    9bc6:	bdd4           	ldk	r13,#0x4
    9bc8:	600a c206      	ldb	rl2,0xc206
    9bcc:	b120           	extsb	r2
    9bce:	0702 00f3      	and	r2,#0xf3
    9bd2:	0502 0008      	or	r2,#0x8
    9bd6:	e8f4           	jr	t,0x9bc0
    9bd8:	bdd4           	ldk	r13,#0x4
    9bda:	600a c206      	ldb	rl2,0xc206
    9bde:	b120           	extsb	r2
    9be0:	0702 00f3      	and	r2,#0xf3
    9be4:	0502 000c      	or	r2,#0xc
    9be8:	e8eb           	jr	t,0x9bc0
    9bea:	210d 00c9      	ld	r13,#0xc9
    9bee:	e801           	jr	t,0x9bf2
    9bf0:	bdd0           	ldk	r13,#0x0
    9bf2:	a7d7           	bit	r13,#0x7
    9bf4:	eeda           	jr	ne,0x9baa
    9bf6:	5e08 994c      	jp	t,0x994c
    9bfa:	0b0e 0020      	cp	r14,#0x20
    9bfe:	e904           	jr	ge,0x9c08
    9c00:	a1e7           	ld	r7,r14
    9c02:	5f00 96c6      	call	0x96c6
    9c06:	e802           	jr	t,0x9c0c
    9c08:	2102 ffff      	ld	r2,#0xffff
    9c0c:	5cf1 0a04 0004 	ldm	r10,0x4(r15),#0x5
    9c12:	a9fd           	inc	r15,#0xe
    9c14:	9e08           	ret	t
    9c16:	abf3           	dec	r15,#0x4
    9c18:	1cf9 0d01      	ldm	@r15,r13,#0x2
    9c1c:	4d08 c2b4      	clr	0xc2b4
    9c20:	bdd0           	ldk	r13,#0x0
    9c22:	e80b           	jr	t,0x9c3a
    9c24:	0b0e 0039      	cp	r14,#0x39
    9c28:	ea10           	jr	gt,0x9c4a
    9c2a:	a1d3           	ld	r3,r13
    9c2c:	1902 000a      	mult	rr2,#0xa
    9c30:	a1e2           	ld	r2,r14
    9c32:	0302 0030      	sub	r2,#0x30
    9c36:	8123           	add	r3,r2
    9c38:	a13d           	ld	r13,r3
    9c3a:	5f00 5a1e      	call	0x5a1e
    9c3e:	a12e           	ld	r14,r2
    9c40:	a72d           	bit	r2,#0xd
    9c42:	ee0d           	jr	ne,0x9c5e
    9c44:	0b02 0030      	cp	r2,#0x30
    9c48:	e9ed           	jr	ge,0x9c24
    9c4a:	6102 c2b4      	ld	r2,0xc2b4
    9c4e:	8122           	add	r2,r2
    9c50:	6f2d d200      	ld	0xd200(r2),r13
    9c54:	6900 c2b4      	inc	0xc2b4,#0x1
    9c58:	0b0e 003b      	cp	r14,#0x3b
    9c5c:	e6e1           	jr	eq,0x9c20
    9c5e:	a1e2           	ld	r2,r14
    9c60:	1cf1 0d01      	ldm	r13,@r15,#0x2
    9c64:	a9f3           	inc	r15,#0x4
    9c66:	9e08           	ret	t
    9c68:	abf3           	dec	r15,#0x4
    9c6a:	1cf9 0d01      	ldm	@r15,r13,#0x2
    9c6e:	a17e           	ld	r14,r7
    9c70:	a16d           	ld	r13,r6
    9c72:	b379 fffb      	sra	r7,#0x5
    9c76:	0707 001f      	and	r7,#0x1f
    9c7a:	0507 0020      	or	r7,#0x20
    9c7e:	5f00 6c20      	call	0x6c20
    9c82:	a1e7           	ld	r7,r14
    9c84:	0707 001f      	and	r7,#0x1f
    9c88:	0507 0020      	or	r7,#0x20
    9c8c:	5f00 6c20      	call	0x6c20
    9c90:	a1d7           	ld	r7,r13
    9c92:	b379 fffb      	sra	r7,#0x5
    9c96:	0707 001f      	and	r7,#0x1f
    9c9a:	0507 0020      	or	r7,#0x20
    9c9e:	5f00 6c20      	call	0x6c20
    9ca2:	a1d7           	ld	r7,r13
    9ca4:	0707 001f      	and	r7,#0x1f
    9ca8:	0507 0020      	or	r7,#0x20
    9cac:	5f00 6c20      	call	0x6c20
    9cb0:	1cf1 0d01      	ldm	r13,@r15,#0x2
    9cb4:	a9f3           	inc	r15,#0x4
    9cb6:	9e08           	ret	t
    9cb8:	5f00 2ef4      	call	0x2ef4
    9cbc:	6107 c2ac      	ld	r7,0xc2ac
    9cc0:	6106 c2ae      	ld	r6,0xc2ae
    9cc4:	5f00 4260      	call	0x4260
    9cc8:	4c01 c233 0101 	cpb	0xc233,#0x1
    9cce:	e202           	jr	le,0x9cd4
    9cd0:	4c08 c233      	clrb	0xc233
    9cd4:	5f00 9720      	call	0x9720
    9cd8:	4c08 c23e      	clrb	0xc23e
    9cdc:	600f c292      	ldb	rl7,0xc292
    9ce0:	b170           	extsb	r7
    9ce2:	5f00 1508      	call	0x1508
    9ce6:	5f00 9744      	call	0x9744
    9cea:	5f00 780e      	call	0x780e
    9cee:	4d08 c2f0      	clr	0xc2f0
    9cf2:	4d08 c2ee      	clr	0xc2ee
    9cf6:	4d05 c2ea 031f 	ld	0xc2ea,#0x31f
    9cfc:	4d05 c2ec 01df 	ld	0xc2ec,#0x1df
    9d02:	4d05 c2b6 0001 	ld	0xc2b6,#0x1
    9d08:	4d08 c260      	clr	0xc260
    9d0c:	4c05 c28e ffff 	ldb	0xc28e,#0xff
    9d12:	4c05 c28d ffff 	ldb	0xc28d,#0xff
    9d18:	4c05 c28c ffff 	ldb	0xc28c,#0xff
    9d1e:	4c05 c28b ffff 	ldb	0xc28b,#0xff
    9d24:	9e08           	ret	t
    9d26:	0100 0000      	add	r0,#0x0
    9d2a:	0000 2020      	addb	rh0,#0x20
    9d2e:	2020           	ldb	rh0,@r2
    9d30:	0020           	addb	rh0,@r2
    9d32:	5050 5000      	cpl	rr0,0x5000(r5)
    9d36:	0000 50f8      	addb	rh0,#0xf8
    9d3a:	5050 f850      	cpl	rr0,0xf850(r5)
    9d3e:	2078           	ldb	rl0,@r7
    9d40:	a028           	ldb	rl0,rh2
    9d42:	f020           	dbjnz	rh0,0x9d04
    9d44:	00c8           	addb	rl0,@r12
    9d46:	1020           	cpl	rr0,@r2
    9d48:	4098 6090      	addb	rl0,0x6090(r9)
    9d4c:	6090 8878      	ldb	rh0,0x8878(r9)
    9d50:	6060 4000      	ldb	rh0,0x4000(r6)
    9d54:	0000 1020      	addb	rh0,#0x20
    9d58:	4040 2010      	addb	rh0,0x2010(r4)
    9d5c:	4020 1010      	addb	rh0,0x1010(r2)
    9d60:	2040           	ldb	rh0,@r4
    9d62:	0050           	addb	rh0,@r5
    9d64:	20d8           	ldb	rl0,@r13
    9d66:	2050           	ldb	rh0,@r5
    9d68:	0020           	addb	rh0,@r2
    9d6a:	20f8           	ldb	rl0,@r15
    9d6c:	2020           	ldb	rh0,@r2
    9d6e:	0000 0030      	addb	rh0,#0x30
    9d72:	3040 0000      	ldb	rh0,r4(#0x0)
    9d76:	00f8           	addb	rl0,@r15
    9d78:	0000 0000      	addb	rh0,#0x0
    9d7c:	0000 0060      	addb	rh0,#0x60
    9d80:	0008 1020      	addb	rl0,#0x20
    9d84:	4080 7088      	addb	rh0,0x7088(r8)
    9d88:	98a8           	multl	rq8,rr10
    9d8a:	c870           	ldb	rl0,#0x70
    9d8c:	2060           	ldb	rh0,@r6
    9d8e:	2020           	ldb	rh0,@r2
    9d90:	20f8           	ldb	rl0,@r15
    9d92:	7088           	.word 7088
    9d94:	3040 80f8      	ldb	rh0,r4(#0x80f8)
    9d98:	7088           	.word 7088
    9d9a:	3008 8870      	ldrb	rl0,0x260e
    9d9e:	3050 90f8      	ldb	rh0,r5(#0x90f8)
    9da2:	1010           	cpl	rr0,@r1
    9da4:	f880           	djnz	r8,0x9da6
    9da6:	f008           	dbjnz	rh0,0x9d98
    9da8:	8870           	xorb	rh0,rh7
    9daa:	7080           	.word 7080
    9dac:	b0c8           	.word b0c8
    9dae:	8870           	xorb	rh0,rh7
    9db0:	f808           	dbjnz	rl0,0x9da2
    9db2:	1020           	cpl	rr0,@r2
    9db4:	4080 7088      	addb	rh0,0x7088(r8)
    9db8:	7088           	.word 7088
    9dba:	8870           	xorb	rh0,rh7
    9dbc:	7088           	.word 7088
    9dbe:	7808           	rsvd78	
    9dc0:	8870           	xorb	rh0,rh7
    9dc2:	0000 6000      	addb	rh0,#0x0
    9dc6:	0060           	addb	rh0,@r6
    9dc8:	0060           	addb	rh0,@r6
    9dca:	0060           	addb	rh0,@r6
    9dcc:	6040 0010      	ldb	rh0,0x10(r4)
    9dd0:	2040           	ldb	rh0,@r4
    9dd2:	2010           	ldb	rh0,@r1
    9dd4:	0000 f800      	addb	rh0,#0x0
    9dd8:	f800           	dbjnz	rl0,0x9dda
    9dda:	0040           	addb	rh0,@r4
    9ddc:	2010           	ldb	rh0,@r1
    9dde:	2040           	ldb	rh0,@r4
    9de0:	f008           	dbjnz	rh0,0x9dd2
    9de2:	3040 0040      	ldb	rh0,r4(#0x40)
    9de6:	3048 a8b8      	ldb	rl0,r4(#0xa8b8)
    9dea:	4830 2050      	xorb	rh0,0x2050(r3)
    9dee:	88f8           	xorb	rl0,rl7
    9df0:	8888           	xorb	rl0,rl0
    9df2:	f048           	dbjnz	rh0,0x9d64
    9df4:	7048           	.word 7048
    9df6:	48f0 3048      	xorb	rh0,0x3048(r15)
    9dfa:	8080           	addb	rh0,rl0
    9dfc:	4830 e090      	xorb	rh0,0xe090(r3)
    9e00:	8888           	xorb	rl0,rl0
    9e02:	90e0           	cpl	rr0,rr14
    9e04:	f880           	djnz	r8,0x9e06
    9e06:	f080           	djnz	r0,0x9e08
    9e08:	80f8           	addb	rl0,rl7
    9e0a:	f880           	djnz	r8,0x9e0c
    9e0c:	80f0           	addb	rh0,rl7
    9e0e:	8080           	addb	rh0,rl0
    9e10:	7880           	rsvd78	
    9e12:	8098           	addb	rl0,rl1
    9e14:	8870           	xorb	rh0,rh7
    9e16:	8888           	xorb	rl0,rl0
    9e18:	f888           	djnz	r8,0x9e0a
    9e1a:	8888           	xorb	rl0,rl0
    9e1c:	7020           	.word 7020
    9e1e:	2020           	ldb	rh0,@r2
    9e20:	2070           	ldb	rh0,@r7
    9e22:	0808 0808      	xorb	rl0,#0x8
    9e26:	9060           	cpl	rr0,rr6
    9e28:	8890           	xorb	rh0,rl1
    9e2a:	a0e0           	ldb	rh0,rl6
    9e2c:	9088           	cpl	rr8,rr8
    9e2e:	8080           	addb	rh0,rl0
    9e30:	8080           	addb	rh0,rl0
    9e32:	80f8           	addb	rl0,rl7
    9e34:	88d8           	xorb	rl0,rl5
    9e36:	a8a8           	incb	rl2,#0x9
    9e38:	8888           	xorb	rl0,rl0
    9e3a:	88c8           	xorb	rl0,rl4
    9e3c:	a898           	incb	rl1,#0x9
    9e3e:	8888           	xorb	rl0,rl0
    9e40:	7088           	.word 7088
    9e42:	8888           	xorb	rl0,rl0
    9e44:	8870           	xorb	rh0,rh7
    9e46:	f088           	djnz	r0,0x9e38
    9e48:	88f0           	xorb	rh0,rl7
    9e4a:	8080           	addb	rh0,rl0
    9e4c:	7088           	.word 7088
    9e4e:	8888           	xorb	rl0,rl0
    9e50:	9068           	cpl	rr8,rr6
    9e52:	f088           	djnz	r0,0x9e44
    9e54:	f0a0           	djnz	r0,0x9e16
    9e56:	9088           	cpl	rr8,rr8
    9e58:	7880           	rsvd78	
    9e5a:	7008           	.word 7008
    9e5c:	8870           	xorb	rh0,rh7
    9e5e:	f8a8           	djnz	r8,0x9e10
    9e60:	2020           	ldb	rh0,@r2
    9e62:	2020           	ldb	rh0,@r2
    9e64:	8888           	xorb	rl0,rl0
    9e66:	8888           	xorb	rl0,rl0
    9e68:	8870           	xorb	rh0,rh7
    9e6a:	8888           	xorb	rl0,rl0
    9e6c:	8850           	xorb	rh0,rh5
    9e6e:	2020           	ldb	rh0,@r2
    9e70:	8888           	xorb	rl0,rl0
    9e72:	a8a8           	incb	rl2,#0x9
    9e74:	d888           	calr	0xad66
    9e76:	8850           	xorb	rh0,rh5
    9e78:	2020           	ldb	rh0,@r2
    9e7a:	5088 8850      	cpl	rr8,0x8850(r8)
    9e7e:	2020           	ldb	rh0,@r2
    9e80:	2020           	ldb	rh0,@r2
    9e82:	f808           	dbjnz	rl0,0x9e74
    9e84:	1020           	cpl	rr0,@r2
    9e86:	40f8 f8c0      	addb	rl0,0xf8c0(r15)
    9e8a:	c0c0           	ldb	rh0,#0xc0
    9e8c:	c0f8           	ldb	rh0,#0xf8
    9e8e:	8040           	addb	rh0,rh4
    9e90:	2010           	ldb	rh0,@r1
    9e92:	0800 f818      	xorb	rh0,#0x18
    9e96:	1818           	multl	rq8,@r1
    9e98:	18f8           	multl	rq8,@r15
    9e9a:	0020           	addb	rh0,@r2
    9e9c:	5088 0000      	cpl	rr8,0x0(r8)
    9ea0:	0000 0000      	addb	rh0,#0x0
    9ea4:	00f8           	addb	rl0,@r15
    9ea6:	6060 2000      	ldb	rh0,0x2000(r6)
    9eaa:	0000 0060      	addb	rh0,#0x60
    9eae:	1070           	cpl	rr0,@r7
    9eb0:	9068           	cpl	rr8,rr6
    9eb2:	8080           	addb	rh0,rl0
    9eb4:	b0c8           	.word b0c8
    9eb6:	c8b0           	ldb	rl0,#0xb0
    9eb8:	0060           	addb	rh0,@r6
    9eba:	9080           	cpl	rr0,rr8
    9ebc:	9060           	cpl	rr0,rr6
    9ebe:	0808 6898      	xorb	rl0,#0x98
    9ec2:	9868           	multl	rq8,rr6
    9ec4:	0070           	addb	rh0,@r7
    9ec6:	88f8           	xorb	rl0,rl7
    9ec8:	8070           	addb	rh0,rh7
    9eca:	3048 40e0      	ldb	rl0,r4(#0x40e0)
    9ece:	4040 6898      	addb	rh0,0x6898(r4)
    9ed2:	6808 8870      	incb	0x8870,#0x9
    9ed6:	8080           	addb	rh0,rl0
    9ed8:	b0c8           	.word b0c8
    9eda:	8888           	xorb	rl0,rl0
    9edc:	2000 6020      	ldb	rh0,#0x20
    9ee0:	2070           	ldb	rh0,@r7
    9ee2:	1808 0808 8870 	multl	rq8,#0x8088870
    9ee8:	8080           	addb	rh0,rl0
    9eea:	90e0           	cpl	rr0,rr14
    9eec:	d088           	calr	0x9dde
    9eee:	6020 2020      	ldb	rh0,0x2020(r2)
    9ef2:	2070           	ldb	rh0,@r7
    9ef4:	00d0           	addb	rh0,@r13
    9ef6:	a8a8           	incb	rl2,#0x9
    9ef8:	a8a8           	incb	rl2,#0x9
    9efa:	00b0           	addb	rh0,@r11
    9efc:	c888           	ldb	rl0,#0x88
    9efe:	8888           	xorb	rl0,rl0
    9f00:	0070           	addb	rh0,@r7
    9f02:	8888           	xorb	rl0,rl0
    9f04:	8870           	xorb	rh0,rh7
    9f06:	b090           	dab	rl1
    9f08:	90b0           	cpl	rr0,rr11
    9f0a:	8080           	addb	rh0,rl0
    9f0c:	6898 9868      	incb	0x9868(r9),#0x9
    9f10:	0808 00b0      	xorb	rl0,#0xb0
    9f14:	c880           	ldb	rl0,#0x80
    9f16:	8080           	addb	rh0,rl0
    9f18:	0078           	addb	rl0,@r7
    9f1a:	8070           	addb	rh0,rh7
    9f1c:	08f0           	xorb	rh0,@r15
    9f1e:	20f8           	ldb	rl0,@r15
    9f20:	2020           	ldb	rh0,@r2
    9f22:	2810           	incb	@r1,#0x1
    9f24:	0088           	addb	rl0,@r8
    9f26:	8888           	xorb	rl0,rl0
    9f28:	9868           	multl	rq8,rr6
    9f2a:	0088           	addb	rl0,@r8
    9f2c:	8888           	xorb	rl0,rl0
    9f2e:	5020 0088      	cpl	rr0,0x88(r2)
    9f32:	88a8           	xorb	rl0,rl2
    9f34:	5050 0088      	cpl	rr0,0x88(r5)
    9f38:	5020 5088      	cpl	rr0,0x5088(r2)
    9f3c:	8898           	xorb	rl0,rl1
    9f3e:	6808 8870      	incb	0x8870,#0x9
    9f42:	00f8           	addb	rl0,@r15
    9f44:	1020           	cpl	rr0,@r2
    9f46:	40f8 0038      	addb	rl0,0x38(r15)
    9f4a:	20e0           	ldb	rh0,@r14
    9f4c:	2038           	ldb	rl0,@r3
    9f4e:	2020           	ldb	rh0,@r2
    9f50:	0000 2020      	addb	rh0,#0x20
    9f54:	00e0           	addb	rh0,@r14
    9f56:	2038           	ldb	rl0,@r3
    9f58:	20e0           	ldb	rh0,@r14
    9f5a:	40a8 1000      	addb	rl0,0x1000(r10)
    9f5e:	0000 f8f8      	addb	rh0,#0xf8
    9f62:	f8f8           	djnz	r8,0x9e74
    9f64:	f8f8           	djnz	r8,0x9e76
    9f66:	f9f9           	djnz	r9,0x9e76
    9f68:	f9f9           	djnz	r9,0x9e78
    9f6a:	f9f9           	djnz	r9,0x9e7a
    9f6c:	0000 8800      	addb	rh0,#0x0
    9f70:	0000 4020      	addb	rh0,#0x20
    9f74:	1010           	cpl	rr0,@r1
    9f76:	2040           	ldb	rh0,@r4
    9f78:	0010           	addb	rh0,@r1
    9f7a:	2040           	ldb	rh0,@r4
    9f7c:	2010           	ldb	rh0,@r1
    9f7e:	0020           	addb	rh0,@r2
    9f80:	4020 00f8      	addb	rh0,0xf8(r2)
    9f84:	0000 f800      	addb	rh0,#0x0
    9f88:	f800           	dbjnz	rl0,0x9f8a
    9f8a:	0040           	addb	rh0,@r4
    9f8c:	2010           	ldb	rh0,@r1
    9f8e:	2040           	ldb	rh0,@r4
    9f90:	f808           	dbjnz	rl0,0x9f82
    9f92:	0808 08f8      	xorb	rl0,#0xf8
    9f96:	0000 0088      	addb	rh0,#0x88
    9f9a:	5020 0020      	cpl	rr0,0x20(r2)
    9f9e:	5088 0000      	cpl	rr8,0x0(r8)
    9fa2:	08f8           	xorb	rl0,@r15
    9fa4:	20f8           	ldb	rl0,@r15
    9fa6:	8000           	addb	rh0,rh0
    9fa8:	2000 f800      	ldb	rh0,#0x0
    9fac:	2000 0000      	ldb	rh0,#0x0
    9fb0:	0030           	addb	rh0,@r3
    9fb2:	3040 0020      	ldb	rh0,r4(#0x20)
    9fb6:	20f8           	ldb	rl0,@r15
    9fb8:	2020           	ldb	rh0,@r2
    9fba:	1020           	cpl	rr0,@r2
    9fbc:	4040 2010      	addb	rh0,0x2010(r4)
    9fc0:	f880           	djnz	r8,0x9fc2
    9fc2:	8080           	addb	rh0,rl0
    9fc4:	80f8           	addb	rl0,rl7
    9fc6:	0060           	addb	rh0,@r6
    9fc8:	0060           	addb	rh0,@r6
    9fca:	6040 8850      	ldb	rh0,0x8850(r4)
    9fce:	2050           	ldb	rh0,@r5
    9fd0:	8800           	xorb	rh0,rh0
    9fd2:	0060           	addb	rh0,@r6
    9fd4:	0000 6000      	addb	rh0,#0x0
    9fd8:	8040           	addb	rh0,rh4
    9fda:	2010           	ldb	rh0,@r1
    9fdc:	0800 00f8      	xorb	rh0,#0xf8
    9fe0:	0000 0000      	addb	rh0,#0x0
    9fe4:	0850           	xorb	rh0,@r5
    9fe6:	a050           	ldb	rh0,rh5
    9fe8:	0800 2020      	xorb	rh0,#0x20
    9fec:	2020           	ldb	rh0,@r2
    9fee:	20f8           	ldb	rl0,@r15
    9ff0:	2050           	ldb	rh0,@r5
    9ff2:	8888           	xorb	rl0,rl0
    9ff4:	8888           	xorb	rl0,rl0
    9ff6:	8080           	addb	rh0,rl0
    9ff8:	8080           	addb	rh0,rl0
    9ffa:	80f8           	addb	rl0,rl7
    9ffc:	7088           	.word 7088
    9ffe:	e080           	jr	f,0x9f00
    a000:	8870           	xorb	rh0,rh7
    a002:	0000 0000      	addb	rh0,#0x0
    a006:	00f8           	addb	rl0,@r15
    a008:	00f8           	addb	rl0,@r15
    a00a:	8850           	xorb	rh0,rh5
    a00c:	2000 0020      	ldb	rh0,#0x20
    a010:	5088 f800      	cpl	rr8,0xf800(r8)
    a014:	e020           	jr	f,0xa056
    a016:	2020           	ldb	rh0,@r2
    a018:	2038           	ldb	rl0,@r3
    a01a:	7088           	.word 7088
    a01c:	8870           	xorb	rh0,rh7
    a01e:	0000 3030      	addb	rh0,#0x30
    a022:	0000 3030      	addb	rh0,#0x30
    a026:	f888           	djnz	r8,0xa018
    a028:	8888           	xorb	rl0,rl0
    a02a:	f800           	dbjnz	rl0,0xa02c
    a02c:	2020           	ldb	rh0,@r2
    a02e:	2020           	ldb	rh0,@r2
    a030:	2020           	ldb	rh0,@r2
    a032:	f820           	dbjnz	rl0,0x9ff4
    a034:	2020           	ldb	rh0,@r2
    a036:	2020           	ldb	rh0,@r2
    a038:	0070           	addb	rh0,@r7
    a03a:	8888           	xorb	rl0,rl0
    a03c:	7000           	.word 7000
    a03e:	2020           	ldb	rh0,@r2
    a040:	d850           	calr	0xafa2
    a042:	2050           	ldb	rh0,@r5
    a044:	7088           	.word 7088
    a046:	1020           	cpl	rr0,@r2
    a048:	0020           	addb	rh0,@r2
    a04a:	7088           	.word 7088
    a04c:	88f0           	xorb	rh0,rl7
    a04e:	8080           	addb	rh0,rl0
    a050:	f880           	djnz	r8,0xa052
    a052:	8080           	addb	rh0,rl0
    a054:	8080           	addb	rh0,rl0
    a056:	40a8 1000      	addb	rl0,0x1000(r10)
    a05a:	0000 2020      	addb	rh0,#0x20
    a05e:	20a8           	ldb	rl0,@r10
    a060:	7020           	.word 7020
    a062:	8888           	xorb	rl0,rl0
    a064:	8888           	xorb	rl0,rl0
    a066:	8870           	xorb	rh0,rh7
    a068:	5088 a8a8      	cpl	rr8,0xa8a8(r8)
    a06c:	5000 00f0      	cpl	rr0,0xf0
    a070:	0808 08f0      	xorb	rl0,#0xf0
    a074:	2070           	ldb	rh0,@r7
    a076:	a820           	incb	rh2,#0x1
    a078:	2020           	ldb	rh0,@r2
    a07a:	0078           	addb	rl0,@r7
    a07c:	8080           	addb	rh0,rl0
    a07e:	8078           	addb	rl0,rh7
    a080:	0020           	addb	rh0,@r2
    a082:	40f8 4020      	addb	rl0,0x4020(r15)
    a086:	8080           	addb	rh0,rl0
    a088:	f880           	djnz	r8,0xa08a
    a08a:	8000           	addb	rh0,rh0
    a08c:	0020           	addb	rh0,@r2
    a08e:	10f8           	cpl	rr8,@r15
    a090:	1020           	cpl	rr0,@r2
    a092:	0020           	addb	rh0,@r2
    a094:	1020           	cpl	rr0,@r2
    a096:	00f8           	addb	rl0,@r15
    a098:	0000 f800      	addb	rh0,#0x0
    a09c:	0000 2050      	addb	rh0,#0x50
    a0a0:	8888           	xorb	rl0,rl0
    a0a2:	5020 0038      	cpl	rr0,0x38(r2)
    a0a6:	20e0           	ldb	rh0,@r14
    a0a8:	2038           	ldb	rl0,@r3
    a0aa:	0808 f808      	xorb	rl0,#0x8
    a0ae:	0800 00e0      	xorb	rh0,#0xe0
    a0b2:	2038           	ldb	rl0,@r3
    a0b4:	20e0           	ldb	rh0,@r14
    a0b6:	2078           	ldb	rl0,@r7
    a0b8:	a028           	ldb	rl0,rh2
    a0ba:	f020           	dbjnz	rh0,0xa07c
    a0bc:	2107 c446      	ld	r7,#0xc446
    a0c0:	bd61           	ldk	r6,#0x1
    a0c2:	bd56           	ldk	r5,#0x6
    a0c4:	a164           	ld	r4,r6
    a0c6:	2103 0040      	ld	r3,#0x40
    a0ca:	5f00 7390      	call	0x7390
    a0ce:	4c01 c446 0303 	cpb	0xc446,#0x3
    a0d4:	e203           	jr	le,0xa0dc
    a0d6:	4c05 c446 0606 	ldb	0xc446,#0x6
    a0dc:	9e08           	ret	t
    a0de:	030f 0014      	sub	r15,#0x14
    a0e2:	5cf9 0806 0006 	ldm	0x6(r15),r8,#0x7
    a0e8:	5f00 7162      	call	0x7162
    a0ec:	4d01 c2b4 0003 	cp	0xc2b4,#0x3
    a0f2:	e604           	jr	eq,0xa0fc
    a0f4:	5f00 5712      	call	0x5712
    a0f8:	5e08 a22a      	jp	t,0xa22a
    a0fc:	5f00 6f96      	call	0x6f96
    a100:	2108 d200      	ld	r8,#0xd200
    a104:	0df5 d2ca      	ld	@r15,#0xd2ca
    a108:	e80c           	jr	t,0xa122
    a10a:	2187           	ld	r7,@r8
    a10c:	5f00 3b58      	call	0x3b58
    a110:	2f82           	ld	@r8,r2
    a112:	a981           	inc	r8,#0x2
    a114:	21f7           	ld	r7,@r15
    a116:	2177           	ld	r7,@r7
    a118:	5f00 3b92      	call	0x3b92
    a11c:	21f3           	ld	r3,@r15
    a11e:	2f32           	ld	@r3,r2
    a120:	29f1           	inc	@r15,#0x2
    a122:	6102 c2b4      	ld	r2,0xc2b4
    a126:	6b00 c2b4      	dec	0xc2b4,#0x1
    a12a:	8d24           	test	r2
    a12c:	eeee           	jr	ne,0xa10a
    a12e:	2108 d200      	ld	r8,#0xd200
    a132:	0df5 d2ca      	ld	@r15,#0xd2ca
    a136:	978e           	pop	r14,@r8
    a138:	21f2           	ld	r2,@r15
    a13a:	212d           	ld	r13,@r2
    a13c:	29f1           	inc	@r15,#0x2
    a13e:	978c           	pop	r12,@r8
    a140:	21f2           	ld	r2,@r15
    a142:	212b           	ld	r11,@r2
    a144:	29f1           	inc	@r15,#0x2
    a146:	218a           	ld	r10,@r8
    a148:	21f2           	ld	r2,@r15
    a14a:	2129           	ld	r9,@r2
    a14c:	4b0a c2ea      	cp	r10,0xc2ea
    a150:	ea6c           	jr	gt,0xa22a
    a152:	4b09 c2ec      	cp	r9,0xc2ec
    a156:	ea69           	jr	gt,0xa22a
    a158:	8bec           	cp	r12,r14
    a15a:	e905           	jr	ge,0xa166
    a15c:	6ffe 0002      	ld	0x2(r15),r14
    a160:	a1ce           	ld	r14,r12
    a162:	61fc 0002      	ld	r12,0x2(r15)
    a166:	8bdb           	cp	r11,r13
    a168:	e905           	jr	ge,0xa174
    a16a:	6ffd 0002      	ld	0x2(r15),r13
    a16e:	a1bd           	ld	r13,r11
    a170:	61fb 0002      	ld	r11,0x2(r15)
    a174:	a1c7           	ld	r7,r12
    a176:	a1b6           	ld	r6,r11
    a178:	5f00 417c      	call	0x417c
    a17c:	6ff2 0004      	ld	0x4(r15),r2
    a180:	a1e7           	ld	r7,r14
    a182:	a1d6           	ld	r6,r13
    a184:	5f00 417c      	call	0x417c
    a188:	47f2 0004      	and	r2,0x4(r15)
    a18c:	ee4e           	jr	ne,0xa22a
    a18e:	4b0e c2ee      	cp	r14,0xc2ee
    a192:	e906           	jr	ge,0xa1a0
    a194:	6102 c2ee      	ld	r2,0xc2ee
    a198:	83e2           	sub	r2,r14
    a19a:	812a           	add	r10,r2
    a19c:	610e c2ee      	ld	r14,0xc2ee
    a1a0:	4b0a c2ee      	cp	r10,0xc2ee
    a1a4:	e906           	jr	ge,0xa1b2
    a1a6:	6102 c2ee      	ld	r2,0xc2ee
    a1aa:	83a2           	sub	r2,r10
    a1ac:	812e           	add	r14,r2
    a1ae:	610a c2ee      	ld	r10,0xc2ee
    a1b2:	4b0c c2ea      	cp	r12,0xc2ea
    a1b6:	e202           	jr	le,0xa1bc
    a1b8:	610c c2ea      	ld	r12,0xc2ea
    a1bc:	4b0d c2f0      	cp	r13,0xc2f0
    a1c0:	e906           	jr	ge,0xa1ce
    a1c2:	6102 c2f0      	ld	r2,0xc2f0
    a1c6:	83d2           	sub	r2,r13
    a1c8:	8129           	add	r9,r2
    a1ca:	610d c2f0      	ld	r13,0xc2f0
    a1ce:	4b09 c2f0      	cp	r9,0xc2f0
    a1d2:	e906           	jr	ge,0xa1e0
    a1d4:	6102 c2f0      	ld	r2,0xc2f0
    a1d8:	8392           	sub	r2,r9
    a1da:	812d           	add	r13,r2
    a1dc:	6109 c2f0      	ld	r9,0xc2f0
    a1e0:	4b0b c2ec      	cp	r11,0xc2ec
    a1e4:	e202           	jr	le,0xa1ea
    a1e6:	610b c2ec      	ld	r11,0xc2ec
    a1ea:	a1c2           	ld	r2,r12
    a1ec:	83e2           	sub	r2,r14
    a1ee:	81a2           	add	r2,r10
    a1f0:	4b02 c2ea      	cp	r2,0xc2ea
    a1f4:	e205           	jr	le,0xa200
    a1f6:	6102 c2ea      	ld	r2,0xc2ea
    a1fa:	83a2           	sub	r2,r10
    a1fc:	81e2           	add	r2,r14
    a1fe:	a12c           	ld	r12,r2
    a200:	a1b2           	ld	r2,r11
    a202:	83d2           	sub	r2,r13
    a204:	8192           	add	r2,r9
    a206:	4b02 c2ec      	cp	r2,0xc2ec
    a20a:	e205           	jr	le,0xa216
    a20c:	6102 c2ec      	ld	r2,0xc2ec
    a210:	8392           	sub	r2,r9
    a212:	81d2           	add	r2,r13
    a214:	a12b           	ld	r11,r2
    a216:	a1e7           	ld	r7,r14
    a218:	a1d6           	ld	r6,r13
    a21a:	a1c5           	ld	r5,r12
    a21c:	a1b4           	ld	r4,r11
    a21e:	a1a3           	ld	r3,r10
    a220:	a192           	ld	r2,r9
    a222:	5f00 1e84      	call	0x1e84
    a226:	5f00 6fb6      	call	0x6fb6
    a22a:	5cf1 0806 0006 	ldm	r8,0x6(r15),#0x7
    a230:	010f 0014      	add	r15,#0x14
    a234:	9e08           	ret	t
    a236:	abf3           	dec	r15,#0x4
    a238:	1cf9 0d01      	ldm	@r15,r13,#0x2
    a23c:	4c04 c241      	testb	0xc241
    a240:	ee03           	jr	ne,0xa248
    a242:	5f00 5316      	call	0x5316
    a246:	e875           	jr	t,0xa332
    a248:	6107 c2ac      	ld	r7,0xc2ac
    a24c:	6106 c2ae      	ld	r6,0xc2ae
    a250:	5f00 417c      	call	0x417c
    a254:	8d24           	test	r2
    a256:	e603           	jr	eq,0xa25e
    a258:	5f00 5712      	call	0x5712
    a25c:	e86a           	jr	t,0xa332
    a25e:	6107 c2ac      	ld	r7,0xc2ac
    a262:	6106 c2ae      	ld	r6,0xc2ae
    a266:	5f00 4260      	call	0x4260
    a26a:	4c05 c24b 0101 	ldb	0xc24b,#0x1
    a270:	5f00 6f96      	call	0x6f96
    a274:	600a c446      	ldb	rl2,0xc446
    a278:	b120           	extsb	r2
    a27a:	2103 ffff      	ld	r3,#0xffff
    a27e:	b33b 0200      	sda	r3,r2
    a282:	8d30           	com	r3
    a284:	a13d           	ld	r13,r3
    a286:	2107 0041      	ld	r7,#0x41
    a28a:	5f00 532c      	call	0x532c
    a28e:	8d24           	test	r2
    a290:	ee46           	jr	ne,0xa31e
    a292:	4d01 c43c 0001 	cp	0xc43c,#0x1
    a298:	ee03           	jr	ne,0xa2a0
    a29a:	6102 c43a      	ld	r2,0xc43a
    a29e:	e801           	jr	t,0xa2a2
    a2a0:	8322           	sub	r2,r2
    a2a2:	a12e           	ld	r14,r2
    a2a4:	4d05 c448 e8d0 	ld	0xc448,#0xe8d0
    a2aa:	4d08 c44a      	clr	0xc44a
    a2ae:	8d24           	test	r2
    a2b0:	e626           	jr	eq,0xa2fe
    a2b2:	2107 0040      	ld	r7,#0x40
    a2b6:	5f00 532c      	call	0x532c
    a2ba:	8d24           	test	r2
    a2bc:	ee30           	jr	ne,0xa31e
    a2be:	4c01 c338 2828 	cpb	0xc338,#0x28
    a2c4:	e60b           	jr	eq,0xa2dc
    a2c6:	e82b           	jr	t,0xa31e
    a2c8:	4c01 c338 2929 	cpb	0xc338,#0x29
    a2ce:	e60c           	jr	eq,0xa2e8
    a2d0:	600f c338      	ldb	rl7,0xc338
    a2d4:	b170           	extsb	r7
    a2d6:	a1d6           	ld	r6,r13
    a2d8:	5f00 a434      	call	0xa434
    a2dc:	2107 0040      	ld	r7,#0x40
    a2e0:	5f00 532c      	call	0x532c
    a2e4:	8d24           	test	r2
    a2e6:	e6f0           	jr	eq,0xa2c8
    a2e8:	a1e2           	ld	r2,r14
    a2ea:	abe0           	dec	r14,#0x1
    a2ec:	8d24           	test	r2
    a2ee:	e613           	jr	eq,0xa316
    a2f0:	6107 c44a      	ld	r7,0xc44a
    a2f4:	2106 e8d0      	ld	r6,#0xe8d0
    a2f8:	5f00 1c64      	call	0x1c64
    a2fc:	e8f5           	jr	t,0xa2e8
    a2fe:	600f c338      	ldb	rl7,0xc338
    a302:	b170           	extsb	r7
    a304:	a1d6           	ld	r6,r13
    a306:	5f00 a434      	call	0xa434
    a30a:	6107 c44a      	ld	r7,0xc44a
    a30e:	2106 e8d0      	ld	r6,#0xe8d0
    a312:	5f00 1c64      	call	0x1c64
    a316:	4d01 c43c 0004 	cp	0xc43c,#0x4
    a31c:	eeb4           	jr	ne,0xa286
    a31e:	2106 01df      	ld	r6,#0x1df
    a322:	4306 c2a0      	sub	r6,0xc2a0
    a326:	6107 c29e      	ld	r7,0xc29e
    a32a:	5f00 4260      	call	0x4260
    a32e:	5f00 6fb6      	call	0x6fb6
    a332:	1cf1 0d01      	ldm	r13,@r15,#0x2
    a336:	a9f3           	inc	r15,#0x4
    a338:	9e08           	ret	t
    a33a:	abf3           	dec	r15,#0x4
    a33c:	1cf9 0d01      	ldm	@r15,r13,#0x2
    a340:	6107 c2ac      	ld	r7,0xc2ac
    a344:	6106 c2ae      	ld	r6,0xc2ae
    a348:	5f00 417c      	call	0x417c
    a34c:	8d24           	test	r2
    a34e:	e603           	jr	eq,0xa356
    a350:	5f00 5712      	call	0x5712
    a354:	e83c           	jr	t,0xa3ce
    a356:	bd71           	ldk	r7,#0x1
    a358:	5f00 532c      	call	0x532c
    a35c:	8d24           	test	r2
    a35e:	eef8           	jr	ne,0xa350
    a360:	5f00 6f96      	call	0x6f96
    a364:	4d08 c44a      	clr	0xc44a
    a368:	4d08 c444      	clr	0xc444
    a36c:	4d08 c442      	clr	0xc442
    a370:	4c05 c239 4040 	ldb	0xc239,#0x40
    a376:	4c05 c245 0101 	ldb	0xc245,#0x1
    a37c:	600a c446      	ldb	rl2,0xc446
    a380:	b120           	extsb	r2
    a382:	2103 ffff      	ld	r3,#0xffff
    a386:	b33b 0200      	sda	r3,r2
    a38a:	8d30           	com	r3
    a38c:	a13e           	ld	r14,r3
    a38e:	6900 c43a      	inc	0xc43a,#0x1
    a392:	e80b           	jr	t,0xa3aa
    a394:	5f00 1bec      	call	0x1bec
    a398:	a12d           	ld	r13,r2
    a39a:	0b02 ffff      	cp	r2,#0xffff
    a39e:	ee01           	jr	ne,0xa3a2
    a3a0:	a9d0           	inc	r13,#0x1
    a3a2:	a1d7           	ld	r7,r13
    a3a4:	a1e6           	ld	r6,r14
    a3a6:	5f00 a3d6      	call	0xa3d6
    a3aa:	6b00 c43a      	dec	0xc43a,#0x1
    a3ae:	e605           	jr	eq,0xa3ba
    a3b0:	e8f1           	jr	t,0xa394
    a3b2:	8377           	sub	r7,r7
    a3b4:	a1e6           	ld	r6,r14
    a3b6:	5f00 a3d6      	call	0xa3d6
    a3ba:	4d04 c44a      	test	0xc44a
    a3be:	eef9           	jr	ne,0xa3b2
    a3c0:	8377           	sub	r7,r7
    a3c2:	5f00 a478      	call	0xa478
    a3c6:	5f00 601c      	call	0x601c
    a3ca:	5f00 6fb6      	call	0x6fb6
    a3ce:	1cf1 0d01      	ldm	r13,@r15,#0x2
    a3d2:	a9f3           	inc	r15,#0x4
    a3d4:	9e08           	ret	t
    a3d6:	abf3           	dec	r15,#0x4
    a3d8:	1cf9 0d01      	ldm	@r15,r13,#0x2
    a3dc:	a17e           	ld	r14,r7
    a3de:	a16d           	ld	r13,r6
    a3e0:	8d74           	test	r7
    a3e2:	e60e           	jr	eq,0xa400
    a3e4:	600a c446      	ldb	rl2,0xc446
    a3e8:	b120           	extsb	r2
    a3ea:	a123           	ld	r3,r2
    a3ec:	5902 c44a      	mult	rr2,0xc44a
    a3f0:	a172           	ld	r2,r7
    a3f2:	8762           	and	r2,r6
    a3f4:	b32b 0300      	sda	r2,r3
    a3f8:	440a c239      	orb	rl2,0xc239
    a3fc:	6e0a c239      	ldb	0xc239,rl2
    a400:	600a c446      	ldb	rl2,0xc446
    a404:	b120           	extsb	r2
    a406:	2101 0006      	ld	r1,#0x6
    a40a:	b10a           	exts	rr0
    a40c:	9b20           	div	rr0,r2
    a40e:	6900 c44a      	inc	0xc44a,#0x1
    a412:	4b01 c44a      	cp	r1,0xc44a
    a416:	ee0a           	jr	ne,0xa42c
    a418:	600f c239      	ldb	rl7,0xc239
    a41c:	b170           	extsb	r7
    a41e:	5f00 a478      	call	0xa478
    a422:	4c05 c239 4040 	ldb	0xc239,#0x40
    a428:	4d08 c44a      	clr	0xc44a
    a42c:	1cf1 0d01      	ldm	r13,@r15,#0x2
    a430:	a9f3           	inc	r15,#0x4
    a432:	9e08           	ret	t
    a434:	abf5           	dec	r15,#0x6
    a436:	a174           	ld	r4,r7
    a438:	a165           	ld	r5,r6
    a43a:	600a c446      	ldb	rl2,0xc446
    a43e:	b120           	extsb	r2
    a440:	2101 0006      	ld	r1,#0x6
    a444:	b10a           	exts	rr0
    a446:	9b20           	div	rr0,r2
    a448:	a910           	inc	r1,#0x1
    a44a:	2ff1           	ld	@r15,r1
    a44c:	e811           	jr	t,0xa470
    a44e:	a142           	ld	r2,r4
    a450:	8752           	and	r2,r5
    a452:	6103 c448      	ld	r3,0xc448
    a456:	2e3a           	ldb	@r3,rl2
    a458:	6900 c448      	inc	0xc448,#0x1
    a45c:	6900 c44a      	inc	0xc44a,#0x1
    a460:	600a c446      	ldb	rl2,0xc446
    a464:	b120           	extsb	r2
    a466:	a143           	ld	r3,r4
    a468:	8d22           	neg	r2
    a46a:	b33b 0200      	sda	r3,r2
    a46e:	a134           	ld	r4,r3
    a470:	2bf0           	dec	@r15,#0x1
    a472:	eeed           	jr	ne,0xa44e
    a474:	a9f5           	inc	r15,#0x6
    a476:	9e08           	ret	t
    a478:	abf1           	dec	r15,#0x2
    a47a:	2ffe           	ld	@r15,r14
    a47c:	a17e           	ld	r14,r7
    a47e:	4b07 c442      	cp	r7,0xc442
    a482:	ee07           	jr	ne,0xa492
    a484:	4d01 c444 7fff 	cp	0xc444,#0x7fff
    a48a:	e903           	jr	ge,0xa492
    a48c:	6900 c444      	inc	0xc444,#0x1
    a490:	e82d           	jr	t,0xa4ec
    a492:	4d01 c442 007f 	cp	0xc442,#0x7f
    a498:	ee03           	jr	ne,0xa4a0
    a49a:	4d05 c442 003f 	ld	0xc442,#0x3f
    a4a0:	4d01 c444 0004 	cp	0xc444,#0x4
    a4a6:	e212           	jr	le,0xa4cc
    a4a8:	8377           	sub	r7,r7
    a4aa:	6106 c444      	ld	r6,0xc444
    a4ae:	5f00 6e88      	call	0x6e88
    a4b2:	2107 0028      	ld	r7,#0x28
    a4b6:	5f00 6c20      	call	0x6c20
    a4ba:	6107 c442      	ld	r7,0xc442
    a4be:	5f00 6c20      	call	0x6c20
    a4c2:	2107 0029      	ld	r7,#0x29
    a4c6:	5f00 6c20      	call	0x6c20
    a4ca:	e80b           	jr	t,0xa4e2
    a4cc:	6102 c444      	ld	r2,0xc444
    a4d0:	6b00 c444      	dec	0xc444,#0x1
    a4d4:	8d24           	test	r2
    a4d6:	e605           	jr	eq,0xa4e2
    a4d8:	6107 c442      	ld	r7,0xc442
    a4dc:	5f00 6c20      	call	0x6c20
    a4e0:	e8f5           	jr	t,0xa4cc
    a4e2:	4d05 c444 0001 	ld	0xc444,#0x1
    a4e8:	6f0e c442      	ld	0xc442,r14
    a4ec:	21fe           	ld	r14,@r15
    a4ee:	a9f1           	inc	r15,#0x2
    a4f0:	9e08           	ret	t
    a4f2:	2107 0024      	ld	r7,#0x24
    a4f6:	5f00 532c      	call	0x532c
    a4fa:	8d24           	test	r2
    a4fc:	ee11           	jr	ne,0xa520
    a4fe:	4d01 c43c 0004 	cp	0xc43c,#0x4
    a504:	e604           	jr	eq,0xa50e
    a506:	4d01 c43a 0009 	cp	0xc43a,#0x9
    a50c:	ee03           	jr	ne,0xa514
    a50e:	6400 c201      	setb	0xc201,#0x0
    a512:	e806           	jr	t,0xa520
    a514:	4d01 c43a 000e 	cp	0xc43a,#0xe
    a51a:	ee02           	jr	ne,0xa520
    a51c:	6200 c201      	resb	0xc201,#0x0
    a520:	9e08           	ret	t
    a522:	a546           	set	r4,#0x6
    a524:	a55c           	set	r5,#0xc
    a526:	a54c           	set	r4,#0xc
    a528:	a55c           	set	r5,#0xc
    a52a:	abf1           	dec	r15,#0x2
    a52c:	2ffe           	ld	@r15,r14
    a52e:	5f00 0abe      	call	0xabe
    a532:	5f00 1dca      	call	0x1dca
    a536:	a12e           	ld	r14,r2
    a538:	0b02 0003      	cp	r2,#0x3
    a53c:	eb16           	jr	ugt,0xa56a
    a53e:	b320           	rl	r2,#0x1
    a540:	6122 a522      	ld	r2,0xa522(r2)
    a544:	1e28           	jp	t,@r2
    a546:	2107 a5a6      	ld	r7,#0xa5a6
    a54a:	e802           	jr	t,0xa550
    a54c:	2107 a5c2      	ld	r7,#0xa5c2
    a550:	5f00 6ec8      	call	0x6ec8
    a554:	e80a           	jr	t,0xa56a
    a556:	2107 a5d7      	ld	r7,#0xa5d7
    a55a:	e80e           	jr	t,0xa578
    a55c:	2107 a5af      	ld	r7,#0xa5af
    a560:	5f00 6ec8      	call	0x6ec8
    a564:	0b0e 0001      	cp	r14,#0x1
    a568:	eef1           	jr	ne,0xa54c
    a56a:	5f00 1e2c      	call	0x1e2c
    a56e:	a12e           	ld	r14,r2
    a570:	8d24           	test	r2
    a572:	eef1           	jr	ne,0xa556
    a574:	2107 a5e7      	ld	r7,#0xa5e7
    a578:	5f00 6ec8      	call	0x6ec8
    a57c:	5f00 0ac4      	call	0xac4
    a580:	4c08 c241      	clrb	0xc241
    a584:	21fe           	ld	r14,@r15
    a586:	a9f1           	inc	r15,#0x2
    a588:	9e08           	ret	t
    a58a:	5f00 577e      	call	0x577e
    a58e:	5f00 566c      	call	0x566c
    a592:	4c05 c234 0202 	ldb	0xc234,#0x2
    a598:	4c05 c246 0202 	ldb	0xc246,#0x2
    a59e:	4d05 c220 4f1c 	ld	0xc220,#0x4f1c
    a5a4:	9e08           	ret	t
    a5a6:	5241 4d20      	subl	rr1,0x4d20(r4)
    a5aa:	4f4b           	.word 4f4b
    a5ac:	5c6e           	.word 5c6e
    a5ae:	0053           	addb	rh3,@r5
    a5b0:	5441 5449      	ldl	rr1,0x5449(r4)
    a5b4:	4320 5241      	sub	r0,0x5241(r2)
    a5b8:	4d20 4552      	com	0x4552(r2)
    a5bc:	524f 525c      	subl	rr15,0x525c(r4)
    a5c0:	6e00 4752      	ldb	0x4752,rh0
    a5c4:	4150 4849      	add	r0,0x4849(r5)
    a5c8:	4353 2052      	sub	r3,0x2052(r5)
    a5cc:	414d 2045      	add	r13,0x2045(r4)
    a5d0:	5252 4f52      	subl	rr2,0x4f52(r5)
    a5d4:	5c6e           	.word 5c6e
    a5d6:	0052           	addb	rh2,@r5
    a5d8:	4f4d           	.word 4f4d
    a5da:	2043           	ldb	rh3,@r4
    a5dc:	5243 2045      	subl	rr3,0x2045(r4)
    a5e0:	5252 4f52      	subl	rr2,0x4f52(r5)
    a5e4:	5c6e           	.word 5c6e
    a5e6:	0052           	addb	rh2,@r5
    a5e8:	4f4d           	.word 4f4d
    a5ea:	204f           	ldb	rl7,@r4
    a5ec:	4b5c 6e00      	cp	r12,0x6e00(r5)
    a5f0:	a6b0           	bitb	rl3,#0x0
    a5f2:	a6b4           	bitb	rl3,#0x4
    a5f4:	a6c0           	bitb	rl4,#0x0
    a5f6:	a6ca           	bitb	rl4,#0xa
    a5f8:	a6dc           	bitb	rl5,#0xc
    a5fa:	a6fe           	bitb	rl7,#0xe
    a5fc:	a720           	bit	r2,#0x0
    a5fe:	a749           	bit	r4,#0x9
    a600:	a753           	bit	r5,#0x3
    a602:	a765           	bit	r6,#0x5
    a604:	a777           	bit	r7,#0x7
    a606:	a785           	bit	r8,#0x5
    a608:	a78f           	bit	r8,#0xf
    a60a:	a79a           	bit	r9,#0xa
    a60c:	a7a0           	bit	r10,#0x0
    a60e:	a7a8           	bit	r10,#0x8
    a610:	a7ae           	bit	r10,#0xe
    a612:	a7c6           	bit	r12,#0x6
    a614:	a7ce           	bit	r12,#0xe
    a616:	a7e2           	bit	r14,#0x2
    a618:	a7f6           	bit	r15,#0x6
    a61a:	a802           	incb	rh0,#0x3
    a61c:	a818           	incb	rh1,#0x9
    a61e:	a835           	incb	rh3,#0x6
    a620:	a83d           	incb	rh3,#0xe
    a622:	a861           	incb	rh6,#0x2
    a624:	a87e           	incb	rh7,#0xf
    a626:	a88c           	incb	rl0,#0xd
    a628:	a89d           	incb	rl1,#0xe
    a62a:	a8a4           	incb	rl2,#0x5
    a62c:	a8ae           	incb	rl2,#0xf
    a62e:	a8b6           	incb	rl3,#0x7
    a630:	a8cf           	incb	rl4,#0x10
    a632:	a8f8           	incb	rl7,#0x9
    a634:	a904           	inc	r0,#0x5
    a636:	a91e           	inc	r1,#0xf
    a638:	a936           	inc	r3,#0x7
    a63a:	a94a           	inc	r4,#0xb
    a63c:	a95c           	inc	r5,#0xd
    a63e:	a96a           	inc	r6,#0xb
    a640:	a985           	inc	r8,#0x6
    a642:	a993           	inc	r9,#0x4
    a644:	a999           	inc	r9,#0xa
    a646:	a9a7           	inc	r10,#0x8
    a648:	a9b5           	inc	r11,#0x6
    a64a:	a9bd           	inc	r11,#0xe
    a64c:	a9c9           	inc	r12,#0xa
    a64e:	a9d3           	inc	r13,#0x4
    a650:	a9ef           	inc	r14,#0x10
    a652:	aa00           	decb	rh0,#0x1
    a654:	aa20           	decb	rh2,#0x1
    a656:	aa35           	decb	rh3,#0x6
    a658:	aa4e           	decb	rh4,#0xf
    a65a:	aa58           	decb	rh5,#0x9
    a65c:	aa67           	decb	rh6,#0x8
    a65e:	aa6f           	decb	rh6,#0x10
    a660:	aa7b           	decb	rh7,#0xc
    a662:	aa85           	decb	rl0,#0x6
    a664:	aa91           	decb	rl1,#0x2
    a666:	aa9b           	decb	rl1,#0xc
    a668:	aaa5           	decb	rl2,#0x6
    a66a:	aaab           	decb	rl2,#0xc
    a66c:	aab5           	decb	rl3,#0x6
    a66e:	aabd           	decb	rl3,#0xe
    a670:	aac3           	decb	rl4,#0x4
    a672:	aacd           	decb	rl4,#0xe
    a674:	aae2           	decb	rl6,#0x3
    a676:	aaf7           	decb	rl7,#0x8
    a678:	ab08           	dec	r0,#0x9
    a67a:	ab1c           	dec	r1,#0xd
    a67c:	ab31           	dec	r3,#0x2
    a67e:	ab3e           	dec	r3,#0xf
    a680:	ab58           	dec	r5,#0x9
    a682:	ab67           	dec	r6,#0x8
    a684:	ab73           	dec	r7,#0x4
    a686:	ab82           	dec	r8,#0x3
    a688:	ab90           	dec	r9,#0x1
    a68a:	ab96           	dec	r9,#0x7
    a68c:	abae           	dec	r10,#0xf
    a68e:	abbd           	dec	r11,#0xe
    a690:	abd1           	dec	r13,#0x2
    a692:	abe6           	dec	r14,#0x7
    a694:	abfb           	dec	r15,#0xc
    a696:	ac07           	exb	rh7,rh0
    a698:	ac1c           	exb	rl4,rh1
    a69a:	ac29           	exb	rl1,rh2
    a69c:	ac38           	exb	rl0,rh3
    a69e:	ac40           	exb	rh0,rh4
    a6a0:	ac4c           	exb	rl4,rh4
    a6a2:	ac56           	exb	rh6,rh5
    a6a4:	ac65           	exb	rh5,rh6
    a6a6:	ac6f           	exb	rl7,rh6
    a6a8:	ac85           	exb	rh5,rl0
    a6aa:	ac8b           	exb	rl3,rl0
    a6ac:	aca1           	exb	rh1,rl2
    a6ae:	acad           	exb	rl5,rl2
    a6b0:	2d5b           	ex	r11,@r5
    a6b2:	09db           	xor	r11,@r13
    a6b4:	2d49           	ex	r9,@r4
    a6b6:	0f89           	ext0f	#0x89
    a6b8:	0283           	subb	rh3,@r8
    a6ba:	0141           	add	r1,@r4
    a6bc:	89a9           	xor	r9,r10
    a6be:	adcd           	ex	r13,r12
    a6c0:	2452           	setb	@r5,#0x2
    a6c2:	0499           	orb	rl1,@r9
    a6c4:	0381           	sub	r1,@r8
    a6c6:	2751           	bit	@r5,#0x1
    a6c8:	03c1           	sub	r1,@r12
    a6ca:	3752 0d91      	ldl	r5(#0xd91),rr2
    a6ce:	1b8f           	div	rr15,@r8
    a6d0:	2f5f           	ld	@r5,r15
    a6d2:	1b8f           	div	rr15,@r8
    a6d4:	164c           	addl	rr12,@r4
    a6d6:	3098 1a59      	ldb	rl0,r9(#0x1a59)
    a6da:	30d8 3652      	ldb	rl0,r13(#0x3652)
    a6de:	0699           	andb	rl1,@r9
    a6e0:	0187           	add	r7,@r8
    a6e2:	254f           	set	@r4,#0xf
    a6e4:	0187           	add	r7,@r8
    a6e6:	2e4d           	ldb	@r4,rl5
    a6e8:	969d           	addl	rr13,rr9
    a6ea:	0088           	addb	rl0,@r8
    a6ec:	9992           	mult	rr2,r9
    a6ee:	82aa           	subb	rl2,rl2
    a6f0:	a9b1           	inc	r11,#0x2
    a6f2:	3288 b1a9      	ldb	r8(#0xb1a9),rl0
    a6f6:	aa83           	decb	rl0,#0x4
    a6f8:	9299           	subl	rr9,rr9
    a6fa:	0088           	addb	rl0,@r8
    a6fc:	9dd6           	rsvd9d	
    a6fe:	365b           	rsvd36	
    a700:	02a8           	subb	rl0,@r10
    a702:	918a           	pushl	@r8,rr10
    a704:	82aa           	subb	rl2,rl2
    a706:	b1b0           	extsb	r11
    a708:	b5ae           	adc	r14,r10
    a70a:	868e           	andb	rl6,rl0
    a70c:	9590           	popl	rr0,@r9
    a70e:	3060 00b6      	ldb	rh0,r6(#0xb6)
    a712:	2060           	ldb	rh0,@r6
    a714:	958e           	popl	rr14,@r8
    a716:	86ae           	andb	rl6,rl2
    a718:	b5a8           	adc	r8,r10
    a71a:	b9aa           	rsvdb9	
    a71c:	828a           	subb	rl2,rl0
    a71e:	91d0           	pushl	@r13,rr0
    a720:	2d5b           	ex	r11,@r5
    a722:	1a82           	divl	rq2,@r8
    a724:	858d           	or	r13,r8
    a726:	8889           	xorb	rl1,rl0
    a728:	8a11           	cpb	rh1,rh1
    a72a:	8193           	add	r3,r9
    a72c:	9291           	subl	rr1,rr9
    a72e:	0088           	addb	rl0,@r8
    a730:	958d           	popl	rr13,@r8
    a732:	8e86           	ext8e	#0x86
    a734:	aead           	tccb	pl,rl2
    a736:	3c89           	inb	rl1,@r8
    a738:	adae           	ex	r14,r10
    a73a:	868e           	andb	rl6,rl0
    a73c:	9591           	popl	rr1,@r9
    a73e:	8a82           	cpb	rh2,rl0
    a740:	abb3           	dec	r11,#0x4
    a742:	2b89           	dec	@r8,#0xa
    a744:	b2b1           	.word b2b1
    a746:	b0ad           	.word b0ad
    a748:	c52d           	ldb	rh5,#0x2d
    a74a:	490d 898d      	xor	r13,0x898d
    a74e:	ada9           	ex	r9,r10
    a750:	828a           	subb	rl2,rl0
    a752:	c93f           	ldb	rl1,#0x3f
    a754:	491d 8292      	xor	r13,0x8292(r1)
    a758:	9310           	push	@r1,r0
    a75a:	8109           	add	r9,r0
    a75c:	8100           	add	r0,r0
    a75e:	8129           	add	r9,r2
    a760:	8130           	add	r0,r3
    a762:	81b3           	add	r3,r11
    a764:	f23f           	dbjnz	rh2,0xa6e8
    a766:	491d 92b2      	xor	r13,0x92b2(r1)
    a76a:	b330           	rl	r3,#0x1
    a76c:	8129           	add	r9,r2
    a76e:	8100           	add	r0,r0
    a770:	8109           	add	r9,r0
    a772:	8110           	add	r0,r1
    a774:	8193           	add	r3,r9
    a776:	d224           	calr	0xa330
    a778:	5202 9000      	subl	rr2,0x9000
    a77c:	830d           	sub	r13,r0
    a77e:	4a32 9106      	cpb	rh2,0x9106(r3)
    a782:	4112 d12d      	add	r2,0xd12d(r1)
    a786:	5b08 9902      	div	rr8,0x9902
    a78a:	840d           	orb	rl5,rh0
    a78c:	5230 e02d      	subl	rr0,0xe02d(r3)
    a790:	4901 8b89      	xor	r1,0x8b89
    a794:	8dad           	.word 8dad
    a796:	a982           	inc	r8,#0x3
    a798:	8ac9           	cpb	rl1,rl4
    a79a:	2d5b           	ex	r11,@r5
    a79c:	11ab           	pushl	@r10,@r11
    a79e:	30e0 2d49      	ldb	rh0,r14(#0x2d49)
    a7a2:	088b           	xorb	rl3,@r8
    a7a4:	89a9           	xor	r9,r10
    a7a6:	adcd           	ex	r13,r12
    a7a8:	3f52           	out	@r5,r2
    a7aa:	1581           	popl	@r1,@r8
    a7ac:	13e7           	push	@r14,@r7
    a7ae:	3652           	rsvd36	
    a7b0:	1e90           	jp	f,@r9
    a7b2:	9993           	mult	rr3,r9
    a7b4:	0981           	xor	r1,@r8
    a7b6:	8329           	sub	r9,r2
    a7b8:	81b3           	add	r3,r11
    a7ba:	b9b0           	rsvdb9	
    a7bc:	bdb7           	ldk	r11,#0x7
    a7be:	2d81           	ex	r1,@r8
    a7c0:	870d           	and	r13,r0
    a7c2:	8197           	add	r7,r9
    a7c4:	9dd0           	rsvd9d	
    a7c6:	3652           	rsvd36	
    a7c8:	1298           	subl	rr8,@r9
    a7ca:	b5bf           	adc	r15,r11
    a7cc:	01c5           	add	r5,@r12
    a7ce:	3652           	rsvd36	
    a7d0:	03a0           	sub	r0,@r10
    a7d2:	85ae           	or	r14,r10
    a7d4:	adb5           	ex	r5,r11
    a7d6:	2088           	ldb	rl0,@r8
    a7d8:	b1a9           	.word b1a9
    a7da:	aa82           	decb	rl0,#0x3
    a7dc:	8a93           	cpb	rh3,rl1
    a7de:	1292           	subl	rr2,@r9
    a7e0:	30d8 3652      	ldb	rl0,r13(#0x3652)
    a7e4:	1e98           	jp	t,@r9
    a7e6:	3890           	rsvd38	
    a7e8:	108a           	cpl	rr10,@r8
    a7ea:	b8b1           	.word b8b1
    a7ec:	a9ab           	inc	r10,#0xc
    a7ee:	828b           	subb	rl3,rl0
    a7f0:	9299           	subl	rr9,rr9
    a7f2:	989d           	multl	rq13,rr9
    a7f4:	8dce           	.word 8dce
    a7f6:	3652           	rsvd36	
    a7f8:	1e88           	jp	t,@r8
    a7fa:	1293           	subl	rr3,@r9
    a7fc:	3898           	rsvd38	
    a7fe:	0e4b           	ext0e	#0x4b
    a800:	01c5           	add	r5,@r12
    a802:	3652           	rsvd36	
    a804:	0e88           	ext0e	#0x88
    a806:	1090           	cpl	rr0,@r9
    a808:	0982           	xor	r2,@r8
    a80a:	adbd           	ex	r13,r11
    a80c:	b8b9           	.word b8b9
    a80e:	b2ab           	.word b2ab
    a810:	828b           	subb	rl3,rl0
    a812:	9299           	subl	rr9,rr9
    a814:	989d           	multl	rq13,rr9
    a816:	8dce           	.word 8dce
    a818:	3652           	rsvd36	
    a81a:	0188           	add	r8,@r8
    a81c:	8e9d           	ext8e	#0x9d
    a81e:	9099           	cpl	rr9,rr9
    a820:	9309           	.word 9309
    a822:	8101           	add	r1,r0
    a824:	8128           	add	r8,r2
    a826:	81b2           	add	r2,r11
    a828:	b9a8           	rsvdb9	
    a82a:	bdb6           	ldk	r11,#0x6
    a82c:	af85           	tcc	mi,r8
    a82e:	8f96           	ext8f	#0x96
    a830:	9d88           	rsvd9d	
    a832:	9992           	mult	rr2,r9
    a834:	cb36           	ldb	rl3,#0x36
    a836:	520e a030      	subl	rr14,0xa030
    a83a:	9811           	multl	rq1,rr1
    a83c:	d536           	calr	0x9dd2
    a83e:	5206 9899      	subl	rr6,0x9899
    a842:	8a82           	cpb	rh2,rl0
    a844:	aab1           	decb	rl3,#0x2
    a846:	2188           	ld	r8,@r8
    a848:	b9b2           	rsvdb9	
    a84a:	aa83           	decb	rl0,#0x4
    a84c:	8a89           	cpb	rl1,rl0
    a84e:	9900           	mult	rr0,r0
    a850:	889d           	xorb	rl5,rl1
    a852:	8d8e           	.word 8d8e
    a854:	87ae           	and	r14,r10
    a856:	b6bd           	sbcb	rl5,rl3
    a858:	2588           	set	@r8,#0x8
    a85a:	b5ae           	adc	r14,r10
    a85c:	868e           	andb	rl6,rl0
    a85e:	9d00           	rsvd9d	
    a860:	c836           	ldb	rl0,#0x36
    a862:	5201 898b      	subl	rr1,0x898b
    a866:	9299           	subl	rr9,rr9
    a868:	889d           	xorb	rl5,rl1
    a86a:	968f           	addl	rr15,rr8
    a86c:	85af           	or	r15,r10
    a86e:	b6bd           	sbcb	rl5,rl3
    a870:	a8b9           	incb	rl3,#0xa
    a872:	b228           	rlcb	rh2,#0x1
    a874:	8101           	add	r1,r0
    a876:	8109           	add	r9,r0
    a878:	8193           	add	r3,r9
    a87a:	9990           	mult	rr0,r9
    a87c:	9dce           	rsvd9d	
    a87e:	2d49           	ex	r9,@r4
    a880:	0888           	xorb	rl0,@r8
    a882:	89a9           	xor	r9,r10
    a884:	ad8d           	ex	r13,r8
    a886:	0043           	addb	rh3,@r4
    a888:	89a9           	xor	r9,r10
    a88a:	adcd           	ex	r13,r12
    a88c:	2d49           	ex	r9,@r4
    a88e:	0888           	xorb	rl0,@r8
    a890:	89a9           	xor	r9,r10
    a892:	ad8d           	ex	r13,r8
    a894:	2943           	inc	@r4,#0x4
    a896:	898d           	xor	r13,r8
    a898:	ada9           	ex	r9,r10
    a89a:	828a           	subb	rl2,rl0
    a89c:	c924           	ldb	rl1,#0x24
    a89e:	5292 0299      	subl	rr2,0x299(r9)
    a8a2:	22d9           	resb	@r13,#0x9
    a8a4:	2d5b           	ex	r11,@r5
    a8a6:	12aa           	subl	rr10,@r10
    a8a8:	30a0 1261      	ldb	rh0,r10(#0x1261)
    a8ac:	30e0 2452      	ldb	rh0,r14(#0x2452)
    a8b0:	1298           	subl	rr8,@r9
    a8b2:	2299           	resb	@r9,#0x9
    a8b4:	02d9           	subb	rl1,@r13
    a8b6:	2d52           	ex	r2,@r5
    a8b8:	1a98           	divl	rq8,@r9
    a8ba:	85ae           	or	r14,r10
    a8bc:	adb5           	ex	r5,r11
    a8be:	2088           	ldb	rl0,@r8
    a8c0:	b1a9           	.word b1a9
    a8c2:	aa82           	decb	rl0,#0x3
    a8c4:	8a89           	cpb	rl1,rl0
    a8c6:	0288           	subb	rl0,@r8
    a8c8:	8301           	sub	r1,r0
    a8ca:	4189 a9ad      	add	r9,0xa9ad(r8)
    a8ce:	cd25           	ldb	rl5,#0x25
    a8d0:	5b02 948a      	div	rr2,0x948a
    a8d4:	9190           	pushl	@r9,rr0
    a8d6:	958e           	popl	rr14,@r8
    a8d8:	2e81           	ldb	@r8,rh1
    a8da:	adb5           	ex	r5,r11
    a8dc:	b8b1           	.word b8b1
    a8de:	0a82           	cpb	rh2,@r8
    a8e0:	b1bf           	.word b1bf
    a8e2:	af04           	tcc	ov/pe,r0
    a8e4:	8115           	add	r5,r1
    a8e6:	819e           	add	r14,r9
    a8e8:	9598           	popl	rr8,@r9
    a8ea:	999a           	mult	rr10,r9
    a8ec:	9308           	.word 9308
    a8ee:	8100           	add	r0,r0
    a8f0:	8128           	add	r8,r2
    a8f2:	81b2           	add	r2,r11
    a8f4:	bab9           	.word bab9
    a8f6:	b8fd           	.word b8fd
    a8f8:	2d52           	ex	r2,@r5
    a8fa:	0a84           	cpb	rh4,@r8
    a8fc:	0595           	or	r5,@r9
    a8fe:	0195           	add	r5,@r9
    a900:	3f41           	out	@r4,r1
    a902:	30d0 3e52      	ldb	rh0,r13(#0x3e52)
    a906:	10a2           	cpl	rr2,@r10
    a908:	2890           	incb	@r9,#0x1
    a90a:	b9a9           	rsvdb9	
    a90c:	aa83           	decb	rl0,#0x4
    a90e:	8a89           	cpb	rl1,rl0
    a910:	9908           	mult	rr8,r0
    a912:	9005           	cpl	rr5,rr0
    a914:	8528           	or	r8,r2
    a916:	90b9           	cpl	rr9,rr11
    a918:	a9aa           	inc	r10,#0xb
    a91a:	828a           	subb	rl2,rl0
    a91c:	89d9           	xor	r9,r13
    a91e:	3752 1081      	ldl	r5(#0x1081),rr2
    a922:	8e96           	ext8e	#0x96
    a924:	9500           	.word 9500
    a926:	8891           	xorb	rh1,rl1
    a928:	928a           	subl	rr10,rr8
    a92a:	8b01           	cp	r1,r0
    a92c:	81ab           	add	r11,r10
    a92e:	aab2           	decb	rl3,#0x3
    a930:	b120           	extsb	r2
    a932:	88b5           	xorb	rh5,rl3
    a934:	b6ee           	sbcb	rl6,rl6
    a936:	3e52           	outb	@r5,rh2
    a938:	13a4           	push	@r10,@r4
    a93a:	0585           	or	r5,@r8
    a93c:	3888           	rsvd38	
    a93e:	b9b2           	rsvdb9	
    a940:	aaab           	decb	rl2,#0xc
    a942:	0181           	add	r1,@r8
    a944:	8b8a           	cp	r10,r8
    a946:	9299           	subl	rr9,rr9
    a948:	18c8           	multl	rq8,@r12
    a94a:	3552 07a0      	ldl	rr2,r5(#0x7a0)
    a94e:	0185           	add	r5,@r8
    a950:	0545           	or	r5,@r4
    a952:	2898           	incb	@r9,#0x9
    a954:	0a5a           	cpb	rl2,@r5
    a956:	2090           	ldb	rh0,@r9
    a958:	0352           	sub	r2,@r5
    a95a:	28d8           	incb	@r13,#0x9
    a95c:	3452 04a1      	lda	r2,r5(#0x4a1)
    a960:	0185           	add	r5,@r8
    a962:	0545           	or	r5,@r4
    a964:	2898           	incb	@r9,#0x9
    a966:	0a5a           	cpb	rl2,@r5
    a968:	20d0           	ldb	rh0,@r13
    a96a:	3752 1081      	ldl	r5(#0x1081),rr2
    a96e:	8e96           	ext8e	#0x96
    a970:	9500           	.word 9500
    a972:	8891           	xorb	rh1,rl1
    a974:	928a           	subl	rr10,rr8
    a976:	8b01           	cp	r1,r0
    a978:	81ab           	add	r11,r10
    a97a:	aab2           	decb	rl3,#0x3
    a97c:	b120           	extsb	r2
    a97e:	88b5           	xorb	rh5,rl3
    a980:	b6ae           	sbcb	rl6,rl2
    a982:	8708           	and	r8,r0
    a984:	c83f           	ldb	rl0,#0x3f
    a986:	5215 a001      	subl	rr5,0xa001(r1)
    a98a:	8535           	or	r5,r3
    a98c:	5d01 8517      	ldl	0x8517,rr1
    a990:	5a30 d824      	divl	rq0,0xd824(r3)
    a994:	4904 8a01      	xor	r4,0x8a01
    a998:	c524           	ldb	rh5,#0x24
    a99a:	5204 8900      	subl	rr4,0x8900
    a99e:	848b           	orb	rl3,rl0
    a9a0:	8991           	xor	r1,r9
    a9a2:	9095           	cpl	rr5,rr9
    a9a4:	8d8f           	.word 8d8f
    a9a6:	c63e           	ldb	rh6,#0x3e
    a9a8:	5216 a001      	subl	rr6,0xa001(r1)
    a9ac:	8535           	or	r5,r3
    a9ae:	5d12 9b2d      	ldl	0x9b2d(r1),rr2
    a9b2:	4928 d337      	xor	r8,0xd337(r2)
    a9b6:	5105           	.word 5105
    a9b8:	a101           	ld	r1,r0
    a9ba:	8520           	or	r0,r2
    a9bc:	d824           	calr	0xb976
    a9be:	5b01 ad05      	div	rr1,0xad05
    a9c2:	8521           	or	r1,r2
    a9c4:	9525           	popl	rr5,@r2
    a9c6:	9501           	.word 9501
    a9c8:	c53f           	ldb	rh5,#0x3f
    a9ca:	5210 a505      	subl	rr0,0xa505(r1)
    a9ce:	8531           	or	r1,r3
    a9d0:	9d05           	rsvd9d	
    a9d2:	c53f           	ldb	rh5,#0x3f
    a9d4:	520d 9891      	subl	rr13,0x9891
    a9d8:	928a           	subl	rr10,rr8
    a9da:	8b01           	cp	r1,r0
    a9dc:	81ab           	add	r11,r10
    a9de:	aab2           	decb	rl3,#0x3
    a9e0:	b120           	extsb	r2
    a9e2:	88b5           	xorb	rh5,rl3
    a9e4:	b6ae           	sbcb	rl6,rl2
    a9e6:	af05           	tcc	mi,r0
    a9e8:	818f           	add	r15,r8
    a9ea:	8e96           	ext8e	#0x96
    a9ec:	9500           	.word 9500
    a9ee:	c83e           	ldb	rl0,#0x3e
    a9f0:	5213 a405      	subl	rr3,0xa405(r1)
    a9f4:	8528           	or	r8,r2
    a9f6:	90b9           	cpl	rr9,rr11
    a9f8:	a9aa           	inc	r10,#0xb
    a9fa:	838a           	sub	r10,r8
    a9fc:	8999           	xor	r9,r9
    a9fe:	08d0           	xorb	rh0,@r13
    aa00:	3f52           	out	@r5,r2
    aa02:	0d98           	clr	@r9
    aa04:	9192           	pushl	@r9,rr2
    aa06:	8a8b           	cpb	rl3,rl0
    aa08:	0181           	add	r1,@r8
    aa0a:	abaa           	dec	r10,#0xb
    aa0c:	b2b1           	.word b2b1
    aa0e:	2088           	ldb	rl0,@r8
    aa10:	b5b6           	adc	r6,r11
    aa12:	aeaf           	tccb	nc/uge,rl2
    aa14:	0581           	or	r1,@r8
    aa16:	8f8e           	ext8f	#0x8e
    aa18:	9695           	addl	rr5,rr9
    aa1a:	0088           	addb	rl0,@r8
    aa1c:	3944           	.word 3944
    aa1e:	32c9 3e52      	ldb	r12(#0x3e52),rl1
    aa22:	13a4           	push	@r10,@r4
    aa24:	0585           	or	r5,@r8
    aa26:	2890           	incb	@r9,#0x1
    aa28:	b9a9           	rsvdb9	
    aa2a:	aa82           	decb	rl0,#0x3
    aa2c:	8a89           	cpb	rl1,rl0
    aa2e:	9908           	mult	rr8,r0
    aa30:	9038           	cpl	rr8,rr3
    aa32:	483b ca36      	xorb	rl3,0xca36(r3)
    aa36:	5299 969d      	subl	rr9,0x969d(r9)
    aa3a:	0088           	addb	rl0,@r8
    aa3c:	9992           	mult	rr2,r9
    aa3e:	82aa           	subb	rl2,rl2
    aa40:	a9b1           	inc	r11,#0x2
    aa42:	3288 b1a9      	ldb	r8(#0xb1a9),rl0
    aa46:	aa83           	decb	rl0,#0x4
    aa48:	9299           	subl	rr9,rr9
    aa4a:	0088           	addb	rl0,@r8
    aa4c:	9dd6           	rsvd9d	
    aa4e:	2452           	setb	@r5,#0x2
    aa50:	0491           	orb	rh1,@r9
    aa52:	0185           	add	r5,@r8
    aa54:	1d4d           	ldl	@r4,rr13
    aa56:	30d8 3f52      	ldb	rl0,r13(#0x3f52)
    aa5a:	15a0           	.word 15a0
    aa5c:	0383           	sub	r3,@r8
    aa5e:	abb2           	dec	r11,#0x3
    aa60:	b9b0           	rsvdb9	
    aa62:	bdb6           	ldk	r11,#0x6
    aa64:	af07           	tcc	c/ult,r0
    aa66:	c32d           	ldb	rh3,#0x2d
    aa68:	520f a021      	subl	rr15,0xa021
    aa6c:	9525           	popl	rr5,@r2
    aa6e:	d524           	calr	0xa028
    aa70:	5b10 a829      	div	rr0,0xa829(r1)
    aa74:	8d2d           	.word 8d2d
    aa76:	8d29           	.word 8d29
    aa78:	8d2d           	.word 8d2d
    aa7a:	cd36           	ldb	rl5,#0x36
    aa7c:	520e a031      	subl	rr14,0xa031
    aa80:	9d05           	rsvd9d	
    aa82:	4511 dd2d      	or	r1,0xdd2d(r1)
    aa86:	520f a022      	subl	rr15,0xa022
    aa8a:	9203           	subl	rr3,rr0
    aa8c:	8225           	subb	rh5,rh2
    aa8e:	5502           	.word 5502
    aa90:	d236           	calr	0xa626
    aa92:	520e a030      	subl	rr14,0xa030
    aa96:	9811           	multl	rq1,rr1
    aa98:	9d30           	rsvd9d	
    aa9a:	d824           	calr	0xba54
    aa9c:	4917 8200      	xor	r7,0x8200(r1)
    aaa0:	8800           	xorb	rh0,rh0
    aaa2:	8720           	and	r0,r2
    aaa4:	c83f           	ldb	rl0,#0x3f
    aaa6:	5205 a933      	subl	rr5,0xa933
    aaaa:	e724           	jr	c/ult,0xaaf4
    aaac:	4917 8a20      	xor	r7,0x8a20(r1)
    aab0:	8800           	xorb	rh0,rh0
    aab2:	8700           	and	r0,r0
    aab4:	c824           	ldb	rl0,#0x24
    aab6:	5210 9c34      	subl	rr0,0x9c34(r1)
    aaba:	8c30           	comb	rh3
    aabc:	cc24           	ldb	rl4,#0x24
    aabe:	5b13 ae20      	div	rr3,0xae20(r1)
    aac2:	e82d           	jr	t,0xab1e
    aac4:	4907 8989      	xor	r7,0x8989
    aac8:	8a82           	cpb	rh2,rl0
    aaca:	a9ad           	inc	r10,#0xe
    aacc:	cd2e           	ldb	rl5,#0x2e
    aace:	5219 8102      	subl	rr9,0x8102(r1)
    aad2:	8307           	sub	r7,r0
    aad4:	4296 9598      	subb	rh6,0x9598(r9)
    aad8:	9192           	pushl	@r9,rr2
    aada:	8b82           	cp	r2,r8
    aadc:	abb2           	dec	r11,#0x3
    aade:	b1b8           	.word b1b8
    aae0:	b5f6           	adc	r6,r15
    aae2:	3552 07a0      	ldl	rr2,r5(#0x7a0)
    aae6:	0185           	add	r5,@r8
    aae8:	0742           	and	r2,@r4
    aaea:	b6b5           	sbcb	rh5,rl3
    aaec:	b8b1           	.word b8b1
    aaee:	b2ab           	.word b2ab
    aaf0:	828b           	subb	rl3,rl0
    aaf2:	9291           	subl	rr1,rr9
    aaf4:	9895           	multl	rq5,rr9
    aaf6:	d62d           	calr	0x9e9e
    aaf8:	521b 8196      	subl	rr11,0x8196(r1)
    aafc:	9598           	popl	rr8,@r9
    aafe:	9192           	pushl	@r9,rr2
    ab00:	8b82           	cp	r2,r8
    ab02:	abb2           	dec	r11,#0x3
    ab04:	b1b8           	.word b1b8
    ab06:	b5f6           	adc	r6,r15
    ab08:	2e52           	ldb	@r5,rh2
    ab0a:	9e01           	ret	lt
    ab0c:	8507           	or	r7,r0
    ab0e:	4296 9598      	subb	rh6,0x9598(r9)
    ab12:	9192           	pushl	@r9,rr2
    ab14:	8b82           	cp	r2,r8
    ab16:	abb2           	dec	r11,#0x3
    ab18:	b1b8           	.word b1b8
    ab1a:	b5f6           	adc	r6,r15
    ab1c:	2d52           	ex	r2,@r5
    ab1e:	1a9a           	divl	rq10,@r9
    ab20:	2098           	ldb	rl0,@r9
    ab22:	868e           	andb	rl6,rl0
    ab24:	8d95           	comflg	c,p
    ab26:	9891           	multl	rq1,rr9
    ab28:	928b           	subl	rr11,rr8
    ab2a:	82ab           	subb	rl3,rl2
    ab2c:	b2b1           	.word b2b1
    ab2e:	b8b5           	.word b8b5
    ab30:	f62f           	dbjnz	rh6,0xaad4
    ab32:	4905 8190      	xor	r5,0x8190
    ab36:	918b           	pushl	@r8,rr11
    ab38:	0184           	add	r4,@r8
    ab3a:	1e43           	jp	ule,@r4
    ab3c:	38c8           	rsvd38	
    ab3e:	2e52           	ldb	@r5,rh2
    ab40:	1981           	mult	rr1,@r8
    ab42:	0084           	addb	rh4,@r8
    ab44:	8b89           	cp	r9,r8
    ab46:	9198           	pushl	@r9,rr8
    ab48:	952d           	popl	rr13,@r2
    ab4a:	5496 9598      	ldl	rr6,0x9598(r9)
    ab4e:	9192           	pushl	@r9,rr2
    ab50:	8b82           	cp	r2,r8
    ab52:	abb2           	dec	r11,#0x3
    ab54:	b1b8           	.word b1b8
    ab56:	b5f6           	adc	r6,r15
    ab58:	2e52           	ldb	@r5,rh2
    ab5a:	1698           	addl	rr8,@r9
    ab5c:	0185           	add	r5,@r8
    ab5e:	0642           	andb	rh2,@r4
    ab60:	bfb5           	rsvdbf	
    ab62:	b8b1           	.word b8b1
    ab64:	ab02           	dec	r0,#0x3
    ab66:	c224           	ldb	rh2,#0x24
    ab68:	490c 8aa9      	xor	r12,0x8aa9
    ab6c:	ad8d           	ex	r13,r8
    ab6e:	892b           	xor	r11,r2
    ab70:	4102 c32d      	add	r2,0xc32d
    ab74:	490f 89a9      	xor	r15,0x89a9
    ab78:	ad8d           	ex	r13,r8
    ab7a:	892b           	xor	r11,r2
    ab7c:	4101 848b      	add	r1,0x848b
    ab80:	91d0           	pushl	@r13,rr0
    ab82:	2c52           	exb	rh2,@r5
    ab84:	1499           	ldl	rr9,@r9
    ab86:	0185           	add	r5,@r8
    ab88:	3653           	rsvd36	
    ab8a:	1292           	subl	rr2,@r9
    ab8c:	2449           	setb	@r4,#0x9
    ab8e:	38ca           	rsvd38	
    ab90:	2449           	setb	@r4,#0x9
    ab92:	048a           	orb	rl2,@r8
    ab94:	01c5           	add	r5,@r12
    ab96:	3f5b           	out	@r5,r11
    ab98:	12b2           	subl	rr2,@r11
    ab9a:	0283           	subb	rh3,@r8
    ab9c:	0642           	andb	rh2,@r4
    ab9e:	bfb5           	rsvdbf	
    aba0:	b8b1           	.word b8b1
    aba2:	ab02           	dec	r0,#0x3
    aba4:	8206           	subb	rh6,rh0
    aba6:	42bf b5b8      	subb	rl7,0xb5b8(r11)
    abaa:	b1ab           	.word b1ab
    abac:	02c2           	subb	rh2,@r12
    abae:	2e52           	ldb	@r5,rh2
    abb0:	1199           	pushl	@r9,@r9
    abb2:	0283           	subb	rh3,@r8
    abb4:	0642           	andb	rh2,@r4
    abb6:	bfb5           	rsvdbf	
    abb8:	b8b1           	.word b8b1
    abba:	ab02           	dec	r0,#0x3
    abbc:	c22e           	ldb	rh2,#0x2e
    abbe:	5211 9191      	subl	rr1,0x9191(r1)
    abc2:	928b           	subl	rr11,rr8
    abc4:	82ab           	subb	rl3,rl2
    abc6:	b2b1           	.word b2b1
    abc8:	b8b5           	.word b8b5
    abca:	b6af           	sbcb	rl7,rl2
    abcc:	868f           	andb	rl7,rl0
    abce:	9695           	addl	rr5,rr9
    abd0:	d835           	calr	0xbb68
    abd2:	5200 a101      	subl	rr0,0xa101
    abd6:	8506           	or	r6,r0
    abd8:	44b6 b5b8      	orb	rh6,0xb5b8(r11)
    abdc:	b1b2           	.word b1b2
    abde:	ab82           	dec	r8,#0x3
    abe0:	8b92           	cp	r2,r9
    abe2:	9198           	pushl	@r9,rr8
    abe4:	95d6           	popl	rr6,@r13
    abe6:	2e52           	ldb	@r5,rh2
    abe8:	1981           	mult	rr1,@r8
    abea:	0185           	add	r5,@r8
    abec:	0644           	andb	rh4,@r4
    abee:	9695           	addl	rr5,rr9
    abf0:	9891           	multl	rq1,rr9
    abf2:	928b           	subl	rr11,rr8
    abf4:	82ab           	subb	rl3,rl2
    abf6:	b2b1           	.word b2b1
    abf8:	b8b5           	.word b8b5
    abfa:	f63e           	dbjnz	rh6,0xab80
    abfc:	4911 9002      	xor	r1,0x9002(r1)
    ac00:	8304           	sub	r4,r0
    ac02:	42af b6b5      	subb	rl7,0xb6b5(r10)
    ac06:	f825           	dbjnz	rl0,0xabbe
    ac08:	5213 818e      	subl	rr3,0x818e(r1)
    ac0c:	9d98           	rsvd9d	
    ac0e:	998a           	mult	rr10,r8
    ac10:	aab1           	decb	rl3,#0x2
    ac12:	2988           	inc	@r8,#0x9
    ac14:	b1aa           	exts	rr10
    ac16:	818a           	add	r10,r8
    ac18:	9998           	mult	rr8,r9
    ac1a:	9dce           	rsvd9d	
    ac1c:	2f49           	ld	@r4,r9
    ac1e:	0d89 0184      	push	@r8,#0x184
    ac22:	abb1           	dec	r11,#0x2
    ac24:	b006           	.word b006
    ac26:	5338 c82e      	push	@r3,0xc82e(r8)
    ac2a:	5211 9902      	subl	rr1,0x9902(r1)
    ac2e:	82ab           	subb	rl3,rl2
    ac30:	b1b8           	.word b1b8
    ac32:	b5bf           	adc	r15,r11
    ac34:	0642           	andb	rh2,@r4
    ac36:	02c3           	subb	rh3,@r12
    ac38:	2452           	setb	@r5,#0x2
    ac3a:	1398           	push	@r9,@r8
    ac3c:	328b 36cb      	ldb	r8(#0x36cb),rl3
    ac40:	3f52           	out	@r5,r2
    ac42:	1aa1           	divl	rq1,@r10
    ac44:	228b           	resb	@r8,#0xb
    ac46:	268b           	bitb	@r8,#0xb
    ac48:	228b           	resb	@r8,#0xb
    ac4a:	26cb           	bitb	@r12,#0xb
    ac4c:	2552           	set	@r5,#0x2
    ac4e:	0899           	xorb	rl1,@r9
    ac50:	3a93           	.word 3a93
    ac52:	0643           	andb	rh3,@r4
    ac54:	1ad3           	divl	rq3,@r13
    ac56:	2452           	setb	@r5,#0x2
    ac58:	1398           	push	@r9,@r8
    ac5a:	328b 364b      	ldb	r8(#0x364b),rl3
    ac5e:	128b           	subl	rr11,@r8
    ac60:	1081           	cpl	rr1,@r8
    ac62:	9291           	subl	rr1,rr9
    ac64:	c825           	ldb	rl0,#0x25
    ac66:	5208 9938      	subl	rr8,0x9938
    ac6a:	901a           	cpl	rr10,rr1
    ac6c:	9338           	push	@r3,r8
    ac6e:	d035           	calr	0xac06
    ac70:	4917 8290      	xor	r7,0x8290(r1)
    ac74:	9a8a           	divl	rq10,rr8
    ac76:	82aa           	subb	rl2,rl2
    ac78:	b383           	.word b383
    ac7a:	8999           	xor	r9,r9
    ac7c:	b9a9           	rsvdb9	
    ac7e:	8393           	sub	r3,r9
    ac80:	8a82           	cpb	rh2,rl0
    ac82:	aaba           	decb	rl3,#0xb
    ac84:	f024           	dbjnz	rh0,0xac3e
    ac86:	4904 8b03      	xor	r4,0x8b03
    ac8a:	c735           	ldb	rh7,#0x35
    ac8c:	4917 92b0      	xor	r7,0x92b0(r1)
    ac90:	baaa           	.word baaa
    ac92:	828a           	subb	rl2,rl0
    ac94:	9383           	push	@r8,r3
    ac96:	a9b9           	inc	r11,#0xa
    ac98:	9989           	mult	rr9,r8
    ac9a:	83b3           	sub	r3,r11
    ac9c:	aa82           	decb	rl0,#0x3
    ac9e:	8a9a           	cpb	rl2,rl1
    aca0:	d03f           	calr	0xac24
    aca2:	5203 aaad      	subl	rr3,0xaaad
    aca6:	b5b0           	adc	r0,r11
    aca8:	2091           	ldb	rh1,@r9
    acaa:	b0b5           	.word b0b5
    acac:	ed36           	jr	pl,0xad1a
    acae:	5216 a080      	subl	rr6,0xa080(r1)
    acb2:	0041           	addb	rh1,@r4
    acb4:	2489           	setb	@r8,#0x9
    acb6:	004a           	addb	rl2,@r4
    acb8:	2492           	setb	@r9,#0x2
    acba:	0053           	addb	rh3,@r5
    acbc:	249b           	setb	@r9,#0xb
    acbe:	005c           	addb	rl4,@r5
    acc0:	24a4           	setb	@r10,#0x4
    acc2:	0065           	addb	rh5,@r6
    acc4:	24a4           	setb	@r10,#0x4
    acc6:	0065           	addb	rh5,@r6
    acc8:	24a4           	setb	@r10,#0x4
    acca:	005c           	addb	rl4,@r5
    accc:	249b           	setb	@r9,#0xb
    acce:	0053           	addb	rh3,@r5
    acd0:	2492           	setb	@r9,#0x2
    acd2:	004a           	addb	rl2,@r4
    acd4:	2489           	setb	@r8,#0x9
    acd6:	0041           	addb	rh1,@r4
    acd8:	c0ff           	ldb	rh0,#0xff
    acda:	abf1           	dec	r15,#0x2
    acdc:	2ffe           	ld	@r15,r14
    acde:	4c05 c232 0404 	ldb	0xc232,#0x4
    ace4:	6107 c30a      	ld	r7,0xc30a
    ace8:	5f00 74d8      	call	0x74d8
    acec:	e819           	jr	t,0xad20
    acee:	4c04 c241      	testb	0xc241
    acf2:	e61b           	jr	eq,0xad2a
    acf4:	a1e7           	ld	r7,r14
    acf6:	5f00 95fc      	call	0x95fc
    acfa:	e817           	jr	t,0xad2a
    acfc:	a7ed           	bit	r14,#0xd
    acfe:	e60a           	jr	eq,0xad14
    ad00:	a1e2           	ld	r2,r14
    ad02:	0702 00ff      	and	r2,#0xff
    ad06:	0b02 00c9      	cp	r2,#0xc9
    ad0a:	ee02           	jr	ne,0xad10
    ad0c:	bd21           	ldk	r2,#0x1
    ad0e:	e81f           	jr	t,0xad4e
    ad10:	bd23           	ldk	r2,#0x3
    ad12:	e81d           	jr	t,0xad4e
    ad14:	0b0e 0020      	cp	r14,#0x20
    ad18:	e9ea           	jr	ge,0xacee
    ad1a:	0b0e 001d      	cp	r14,#0x1d
    ad1e:	ee05           	jr	ne,0xad2a
    ad20:	4c05 c288 0101 	ldb	0xc288,#0x1
    ad26:	4c08 c289      	clrb	0xc289
    ad2a:	5f00 5a1e      	call	0x5a1e
    ad2e:	a12e           	ld	r14,r2
    ad30:	0b02 001f      	cp	r2,#0x1f
    ad34:	eee3           	jr	ne,0xacfc
    ad36:	4c05 c232 0202 	ldb	0xc232,#0x2
    ad3c:	6102 c2ac      	ld	r2,0xc2ac
    ad40:	6f02 c2b0      	ld	0xc2b0,r2
    ad44:	6102 c2ae      	ld	r2,0xc2ae
    ad48:	6f02 c2b2      	ld	0xc2b2,r2
    ad4c:	8322           	sub	r2,r2
    ad4e:	21fe           	ld	r14,@r15
    ad50:	a9f1           	inc	r15,#0x2
    ad52:	9e08           	ret	t
    ad54:	abf3           	dec	r15,#0x4
    ad56:	1cf9 0d01      	ldm	@r15,r13,#0x2
    ad5a:	4d05 c336 ffff 	ld	0xc336,#0xffff
    ad60:	210e c000      	ld	r14,#0xc000
    ad64:	bdd0           	ldk	r13,#0x0
    ad66:	e80c           	jr	t,0xad80
    ad68:	20df           	ldb	rl7,@r13
    ad6a:	b170           	extsb	r7
    ad6c:	b379 fffc      	sra	r7,#0x4
    ad70:	5f00 ad94      	call	0xad94
    ad74:	a1d7           	ld	r7,r13
    ad76:	a9d0           	inc	r13,#0x1
    ad78:	207f           	ldb	rl7,@r7
    ad7a:	b170           	extsb	r7
    ad7c:	5f00 ad94      	call	0xad94
    ad80:	a1e2           	ld	r2,r14
    ad82:	abe0           	dec	r14,#0x1
    ad84:	8d24           	test	r2
    ad86:	eef0           	jr	ne,0xad68
    ad88:	6102 c336      	ld	r2,0xc336
    ad8c:	1cf1 0d01      	ldm	r13,@r15,#0x2
    ad90:	a9f3           	inc	r15,#0x4
    ad92:	9e08           	ret	t
    ad94:	abf5           	dec	r15,#0x6
    ad96:	6104 c336      	ld	r4,0xc336
    ad9a:	a142           	ld	r2,r4
    ad9c:	b321 fff4      	srl	r2,#0xc
    ada0:	0702 000f      	and	r2,#0xf
    ada4:	a0fb           	ldb	rl3,rl7
    ada6:	b130           	extsb	r3
    ada8:	0703 000f      	and	r3,#0xf
    adac:	8932           	xor	r2,r3
    adae:	a121           	ld	r1,r2
    adb0:	a142           	ld	r2,r4
    adb2:	b329 0004      	sla	r2,#0x4
    adb6:	0702 fff0      	and	r2,#0xfff0
    adba:	a124           	ld	r4,r2
    adbc:	8914           	xor	r4,r1
    adbe:	b319 0005      	sla	r1,#0x5
    adc2:	8914           	xor	r4,r1
    adc4:	b319 0007      	sla	r1,#0x7
    adc8:	8914           	xor	r4,r1
    adca:	6f04 c336      	ld	0xc336,r4
    adce:	a9f5           	inc	r15,#0x6
    add0:	9e08           	ret	t
    add2:	2101 0202      	ld	r1,#0x202
    add6:	3b16 2006      	out	#0x2006,r1
    adda:	3b14 2006      	in	r1,#0x2006
    adde:	4c04 c6aa      	testb	0xc6aa
    ade2:	e601           	jr	eq,0xade6
    ade4:	a019           	ldb	rl1,rh1
    ade6:	8811           	xorb	rh1,rh1
    ade8:	0101 adf0      	add	r1,#0xadf0
    adec:	2112           	ld	r2,@r1
    adee:	1e28           	jp	t,@r2
    adf0:	bde8           	ldk	r14,#0x8
    adf2:	bdf2           	ldk	r15,#0x2
    adf4:	bcba           	rrdb	rl2,rl3
    adf6:	bdfc           	ldk	r15,#0xc
    adf8:	b086           	.word b086
    adfa:	b10e           	.word b10e
    adfc:	b0c6           	.word b0c6
    adfe:	b132           	.word b132
    ae00:	df94           	calr	0xaeda
    ae02:	dff4           	calr	0xae1c
    ae04:	2100 c94a      	ld	r0,#0xc94a
    ae08:	6f00 c47a      	ld	0xc47a,r0
    ae0c:	6f00 c47c      	ld	0xc47c,r0
    ae10:	4c08 c48f      	clrb	0xc48f
    ae14:	4c05 c492 7c7c 	ldb	0xc492,#0x7c
    ae1a:	9e08           	ret	t
    ae1c:	6000 c20f      	ldb	rh0,0xc20f
    ae20:	a008           	ldb	rl0,rh0
    ae22:	0608 f0f0      	andb	rl0,#0xf0
    ae26:	b201 fffc      	srlb	rh0,#0x4
    ae2a:	8408           	orb	rl0,rh0
    ae2c:	6000 c200      	ldb	rh0,0xc200
    ae30:	3b06 4000      	out	#0x4000,r0
    ae34:	9e08           	ret	t
    ae36:	4c04 c948      	testb	0xc948
    ae3a:	9e06           	ret	eq
    ae3c:	0b01 0002      	cp	r1,#0x2
    ae40:	e610           	jr	eq,0xae62
    ae42:	4c05 c6a2 ffff 	ldb	0xc6a2,#0xff
    ae48:	4c08 c6a1      	clrb	0xc6a1
    ae4c:	4c08 c482      	clrb	0xc482
    ae50:	5f00 b16e      	call	0xb16e
    ae54:	5f00 bc4e      	call	0xbc4e
    ae58:	4c08 c6a2      	clrb	0xc6a2
    ae5c:	4c08 c682      	clrb	0xc682
    ae60:	9e08           	ret	t
    ae62:	0a08 7f7f      	cpb	rl0,#0x7f
    ae66:	9e0b           	ret	ugt
    ae68:	0608 7f7f      	andb	rl0,#0x7f
    ae6c:	5f00 af70      	call	0xaf70
    ae70:	9e08           	ret	t
    ae72:	b284           	rrb	rl0,#0x1
    ae74:	b8e4           	.word b8e4
    ae76:	ba7a           	.word ba7a
    ae78:	b48e           	adcb	rl6,rl0
    ae7a:	b2b0           	rlb	rl3,#0x1
    ae7c:	b8f6           	.word b8f6
    ae7e:	ba80           	.word ba80
    ae80:	b4b0           	adcb	rh0,rl3
    ae82:	b2d2           	rlb	rl5,#0x2
    ae84:	b8da           	.word b8da
    ae86:	baa8           	.word baa8
    ae88:	b4ba           	adcb	rl2,rl3
    ae8a:	b2f8           	rlcb	rl7,#0x1
    ae8c:	b8da           	.word b8da
    ae8e:	baa8           	.word baa8
    ae90:	b4ba           	adcb	rl2,rl3
    ae92:	b2f8           	rlcb	rl7,#0x1
    ae94:	b8da           	.word b8da
    ae96:	baa8           	.word baa8
    ae98:	b4ba           	adcb	rl2,rl3
    ae9a:	b374           	rr	r7,#0x1
    ae9c:	b8fa           	.word b8fa
    ae9e:	baae           	.word baae
    aea0:	b4c4           	adcb	rh4,rl4
    aea2:	b38e           	rrc	r8,#0x2
    aea4:	b8fe           	.word b8fe
    aea6:	bab8           	.word bab8
    aea8:	b4ce           	adcb	rl6,rl4
    aeaa:	b3be           	rrc	r11,#0x2
    aeac:	b90c           	rsvdb9	
    aeae:	bacc           	.word bacc
    aeb0:	b4ce           	adcb	rl6,rl4
    aeb2:	b3d8           	rlc	r13,#0x1
    aeb4:	b91a           	rsvdb9	
    aeb6:	bb02           	.word bb02
    aeb8:	b4da           	adcb	rl2,rl5
    aeba:	b3fe           	rrc	r15,#0x2
    aebc:	b8e4           	.word b8e4
    aebe:	bad6           	.word bad6
    aec0:	b4d0           	adcb	rh0,rl5
    aec2:	b432           	adcb	rh2,rh3
    aec4:	b91a           	rsvdb9	
    aec6:	bb02           	.word bb02
    aec8:	b4da           	adcb	rl2,rl5
    aeca:	b462           	adcb	rh2,rh6
    aecc:	b948           	rsvdb9	
    aece:	bb0c           	.word bb0c
    aed0:	b4e4           	adcb	rh4,rl6
    aed2:	b350           	rl	r5,#0x1
    aed4:	b8da           	.word b8da
    aed6:	baa8           	.word baa8
    aed8:	b4ba           	adcb	rl2,rl3
    aeda:	bd0a           	ldk	r0,#0xa
    aedc:	2101 2004      	ld	r1,#0x2004
    aee0:	7602 af36      	lda	r2,0xaf36
    aee4:	7c02           	di	nvi
    aee6:	3b22 0018      	outi	@r1,@r2,r0
    aeea:	ecfd           	jr	nov/po,0xaee6
    aeec:	bd0c           	ldk	r0,#0xc
    aeee:	2101 2006      	ld	r1,#0x2006
    aef2:	7602 af4a      	lda	r2,0xaf4a
    aef6:	3b22 0018      	outi	@r1,@r2,r0
    aefa:	ecfd           	jr	nov/po,0xaef6
    aefc:	6009 c20f      	ldb	rl1,0xc20f
    af00:	0609 0f0f      	andb	rl1,#0xf
    af04:	6e09 c948      	ldb	0xc948,rl1
    af08:	4c08 c482      	clrb	0xc482
    af0c:	bd07           	ldk	r0,#0x7
    af0e:	2101 2004      	ld	r1,#0x2004
    af12:	7602 af3c      	lda	r2,0xaf3c
    af16:	4c01 c948 0606 	cpb	0xc948,#0x6
    af1c:	e604           	jr	eq,0xaf26
    af1e:	4c01 c948 0707 	cpb	0xc948,#0x7
    af24:	ee02           	jr	ne,0xaf2a
    af26:	7602 af62      	lda	r2,0xaf62
    af2a:	7c02           	di	nvi
    af2c:	3b22 0018      	outi	@r1,@r2,r0
    af30:	ecfd           	jr	nov/po,0xaf2c
    af32:	7c06           	ei	nvi
    af34:	9e08           	ret	t
    af36:	1818           	multl	rq8,@r1
    af38:	0101 1f1f      	add	r1,#0x1f1f
    af3c:	0303 4141      	sub	r3,#0x4141
    af40:	0404 4545      	orb	rh4,#0x45
    af44:	0505 aaaa      	or	r5,#0xaaaa
    af48:	0000 1818      	addb	rh0,#0x18
    af4c:	0101 1f1f      	add	r1,#0x1f1f
    af50:	0202 0000      	subb	rh2,#0x0
    af54:	0303 4141      	sub	r3,#0x4141
    af58:	0404 4545      	orb	rh4,#0x45
    af5c:	0505 aaaa      	or	r5,#0xaaaa
    af60:	0000 0303      	addb	rh0,#0x3
    af64:	c1c1           	ldb	rh1,#0xc1
    af66:	0404 4444      	orb	rh4,#0x44
    af6a:	0505 eaea      	or	r5,#0xeaea
    af6e:	0000 030f      	addb	rh0,#0xf
    af72:	0008 1cf9      	addb	rl0,#0xf9
    af76:	0203 4c01      	subb	rh3,#0x1
    af7a:	c948           	ldb	rl1,#0x48
    af7c:	0808 ee08      	xorb	rl0,#0x8
    af80:	2102 0100      	ld	r2,#0x100
    af84:	6600 c6a2      	bitb	0xc6a2,#0x0
    af88:	ee02           	jr	ne,0xaf8e
    af8a:	2102 0a00      	ld	r2,#0xa00
    af8e:	f281           	djnz	r2,0xaf8e
    af90:	7c02           	di	nvi
    af92:	600b c48f      	ldb	rl3,0xc48f
    af96:	6104 c47c      	ld	r4,0xc47c
    af9a:	0a0b 1010      	cpb	rl3,#0x10
    af9e:	e626           	jr	eq,0xafec
    afa0:	a8b0           	incb	rl3,#0x1
    afa2:	6e0b c48f      	ldb	0xc48f,rl3
    afa6:	2e48           	ldb	@r4,rl0
    afa8:	0b04 c959      	cp	r4,#0xc959
    afac:	ee02           	jr	ne,0xafb2
    afae:	2104 c949      	ld	r4,#0xc949
    afb2:	a940           	inc	r4,#0x1
    afb4:	6f04 c47c      	ld	0xc47c,r4
    afb8:	6700 c493      	bit	0xc493,#0x0
    afbc:	ee0b           	jr	ne,0xafd4
    afbe:	dfbd           	calr	0xb046
    afc0:	3b34 2004      	in	r3,#0x2004
    afc4:	4c04 c6aa      	testb	0xc6aa
    afc8:	e601           	jr	eq,0xafcc
    afca:	a03b           	ldb	rl3,rh3
    afcc:	060b 0404      	andb	rl3,#0x4
    afd0:	e6f7           	jr	eq,0xafc0
    afd2:	dfa4           	calr	0xb08c
    afd4:	4d05 c46e ffff 	ld	0xc46e,#0xffff
    afda:	4d05 c470 0060 	ld	0xc470,#0x60
    afe0:	7c06           	ei	nvi
    afe2:	1cf1 0203      	ldm	r2,@r15,#0x4
    afe6:	010f 0008      	add	r15,#0x8
    afea:	9e08           	ret	t
    afec:	7c06           	ei	nvi
    afee:	6600 c482      	bitb	0xc482,#0x0
    aff2:	eef7           	jr	ne,0xafe2
    aff4:	4c01 c948 0707 	cpb	0xc948,#0x7
    affa:	e612           	jr	eq,0xb020
    affc:	4c01 c948 0909 	cpb	0xc948,#0x9
    b002:	e60e           	jr	eq,0xb020
    b004:	4c01 c948 0101 	cpb	0xc948,#0x1
    b00a:	e60a           	jr	eq,0xb020
    b00c:	7c02           	di	nvi
    b00e:	3b24 2004      	in	r2,#0x2004
    b012:	4c04 c6aa      	testb	0xc6aa
    b016:	e601           	jr	eq,0xb01a
    b018:	a02a           	ldb	rl2,rh2
    b01a:	a6a3           	bitb	rl2,#0x3
    b01c:	7c06           	ei	nvi
    b01e:	e609           	jr	eq,0xb032
    b020:	6b00 c46e      	dec	0xc46e,#0x1
    b024:	eeb5           	jr	ne,0xaf90
    b026:	4d05 c46e ffff 	ld	0xc46e,#0xffff
    b02c:	6b00 c470      	dec	0xc470,#0x1
    b030:	eeaf           	jr	ne,0xaf90
    b032:	4c05 c482 ffff 	ldb	0xc482,#0xff
    b038:	6600 c6a2      	bitb	0xc6a2,#0x0
    b03c:	e6d2           	jr	eq,0xafe2
    b03e:	760e c46c      	lda	r14,0xc46c
    b042:	21ef           	ld	r15,@r14
    b044:	9e08           	ret	t
    b046:	2102 0101      	ld	r2,#0x101
    b04a:	3b26 2004      	out	#0x2004,r2
    b04e:	6102 af3a      	ld	r2,0xaf3a
    b052:	0502 0202      	or	r2,#0x202
    b056:	3b26 2004      	out	#0x2004,r2
    b05a:	4c05 c493 0f0f 	ldb	0xc493,#0xf
    b060:	9e08           	ret	t
    b062:	2102 0101      	ld	r2,#0x101
    b066:	3b26 2004      	out	#0x2004,r2
    b06a:	6102 af3a      	ld	r2,0xaf3a
    b06e:	0702 fdfd      	and	r2,#0xfdfd
    b072:	3b26 2004      	out	#0x2004,r2
    b076:	9e08           	ret	t
    b078:	2102 2828      	ld	r2,#0x2828
    b07c:	3b26 2004      	out	#0x2004,r2
    b080:	4c08 c493      	clrb	0xc493
    b084:	9e08           	ret	t
    b086:	dffe           	calr	0xb08c
    b088:	5e08 b0fe      	jp	t,0xb0fe
    b08c:	600b c48f      	ldb	rl3,0xc48f
    b090:	6105 c47a      	ld	r5,0xc47a
    b094:	6002 c490      	ldb	rh2,0xc490
    b098:	0a02 1313      	cpb	rh2,#0x13
    b09c:	e6e2           	jr	eq,0xb062
    b09e:	84bb           	orb	rl3,rl3
    b0a0:	e6eb           	jr	eq,0xb078
    b0a2:	2052           	ldb	rh2,@r5
    b0a4:	aab0           	decb	rl3,#0x1
    b0a6:	6e0b c48f      	ldb	0xc48f,rl3
    b0aa:	0b05 c959      	cp	r5,#0xc959
    b0ae:	ee02           	jr	ne,0xb0b4
    b0b0:	2105 c949      	ld	r5,#0xc949
    b0b4:	a950           	inc	r5,#0x1
    b0b6:	6f05 c47a      	ld	0xc47a,r5
    b0ba:	a02a           	ldb	rl2,rh2
    b0bc:	3b26 2000      	out	#0x2000,r2
    b0c0:	4c08 c482      	clrb	0xc482
    b0c4:	9e08           	ret	t
    b0c6:	dffe           	calr	0xb0cc
    b0c8:	5e08 b0fe      	jp	t,0xb0fe
    b0cc:	3b04 2000      	in	r0,#0x2000
    b0d0:	4c04 c6aa      	testb	0xc6aa
    b0d4:	e601           	jr	eq,0xb0d8
    b0d6:	a008           	ldb	rl0,rh0
    b0d8:	0608 7f7f      	andb	rl0,#0x7f
    b0dc:	2101 3030      	ld	r1,#0x3030
    b0e0:	3b16 2004      	out	#0x2004,r1
    b0e4:	0a08 1111      	cpb	rl0,#0x11
    b0e8:	ee04           	jr	ne,0xb0f2
    b0ea:	6e08 c490      	ldb	0xc490,rl0
    b0ee:	d055           	calr	0xb046
    b0f0:	e8cd           	jr	t,0xb08c
    b0f2:	0a08 1313      	cpb	rl0,#0x13
    b0f6:	9e0e           	ret	ne
    b0f8:	6e08 c490      	ldb	0xc490,rl0
    b0fc:	e8b2           	jr	t,0xb062
    b0fe:	8900           	xor	r0,r0
    b100:	2101 3838      	ld	r1,#0x3838
    b104:	3b06 2004      	out	#0x2004,r0
    b108:	3b16 2004      	out	#0x2004,r1
    b10c:	9e08           	ret	t
    b10e:	dffe           	calr	0xb114
    b110:	5e08 b0fe      	jp	t,0xb0fe
    b114:	3b04 2004      	in	r0,#0x2004
    b118:	4c04 c6aa      	testb	0xc6aa
    b11c:	e601           	jr	eq,0xb120
    b11e:	a008           	ldb	rl0,rh0
    b120:	6009 c492      	ldb	rl1,0xc492
    b124:	6e08 c492      	ldb	0xc492,rl0
    b128:	2100 1010      	ld	r0,#0x1010
    b12c:	3b06 2004      	out	#0x2004,r0
    b130:	9e08           	ret	t
    b132:	3b04 2000      	in	r0,#0x2000
    b136:	8900           	xor	r0,r0
    b138:	3b06 2004      	out	#0x2004,r0
    b13c:	2100 3030      	ld	r0,#0x3030
    b140:	3b06 2004      	out	#0x2004,r0
    b144:	5e08 b0fe      	jp	t,0xb0fe
    b148:	2018           	ldb	rl0,@r1
    b14a:	5f00 af70      	call	0xaf70
    b14e:	a910           	inc	r1,#0x1
    b150:	f205           	dbjnz	rh2,0xb148
    b152:	9e08           	ret	t
    b154:	7142 0c00      	ld	r2,r4(r12)
    b158:	1e28           	jp	t,@r2
    b15a:	6600 c496      	bitb	0xc496,#0x0
    b15e:	9e0e           	ret	ne
    b160:	6600 c495      	bitb	0xc495,#0x0
    b164:	8d45           	comflg	z
    b166:	9e06           	ret	eq
    b168:	6601 c210      	bitb	0xc210,#0x1
    b16c:	9e08           	ret	t
    b16e:	6f0f c46c      	ld	0xc46c,r15
    b172:	760c ae6a      	lda	r12,0xae6a
    b176:	6008 c948      	ldb	rl0,0xc948
    b17a:	a9c7           	inc	r12,#0x8
    b17c:	f802           	dbjnz	rl0,0xb17a
    b17e:	600f c210      	ldb	rl7,0xc210
    b182:	7601 b218      	lda	r1,0xb218
    b186:	c203           	ldb	rh2,#0x3
    b188:	a6f5           	bitb	rl7,#0x5
    b18a:	ee02           	jr	ne,0xb190
    b18c:	a910           	inc	r1,#0x1
    b18e:	aa20           	decb	rh2,#0x1
    b190:	d025           	calr	0xb148
    b192:	4c08 c495      	clrb	0xc495
    b196:	4c08 c497      	clrb	0xc497
    b19a:	4c08 c496      	clrb	0xc496
    b19e:	4c08 c494      	clrb	0xc494
    b1a2:	4c08 c48b      	clrb	0xc48b
    b1a6:	2109 01e0      	ld	r9,#0x1e0
    b1aa:	4d05 c47e 0032 	ld	0xc47e,#0x32
    b1b0:	4d05 c488 0002 	ld	0xc488,#0x2
    b1b6:	bd40           	ldk	r4,#0x0
    b1b8:	d033           	calr	0xb154
    b1ba:	6008 c481      	ldb	rl0,0xc481
    b1be:	6e08 c480      	ldb	0xc480,rl0
    b1c2:	6e08 c48d      	ldb	0xc48d,rl0
    b1c6:	4d05 c474 fffe 	ld	0xc474,#0xfffe
    b1cc:	d03a           	calr	0xb15a
    b1ce:	e603           	jr	eq,0xb1d6
    b1d0:	4d05 c474 f146 	ld	0xc474,#0xf146
    b1d6:	a6f0           	bitb	rl7,#0x0
    b1d8:	e606           	jr	eq,0xb1e6
    b1da:	6600 c48b      	bitb	0xc48b,#0x0
    b1de:	ee03           	jr	ne,0xb1e6
    b1e0:	5f00 bb68      	call	0xbb68
    b1e4:	e804           	jr	t,0xb1ee
    b1e6:	6008 c484      	ldb	rl0,0xc484
    b1ea:	6e08 c485      	ldb	0xc485,rl0
    b1ee:	4c05 c487 1010 	ldb	0xc487,#0x10
    b1f4:	4c05 c486 1111 	ldb	0xc486,#0x11
    b1fa:	6008 c948      	ldb	rl0,0xc948
    b1fe:	0a08 0808      	cpb	rl0,#0x8
    b202:	5e06 b722      	jp	eq,0xb722
    b206:	0a08 0606      	cpb	rl0,#0x6
    b20a:	5e06 b722      	jp	eq,0xb722
    b20e:	d05b           	calr	0xb15a
    b210:	5e06 b4ee      	jp	eq,0xb4ee
    b214:	5e08 b65e      	jp	t,0xb65e
    b218:	0c0a           	.word 0c0a
    b21a:	0d1b           	.word 0d1b
    b21c:	5037 711b      	cpl	rr7,0x711b(r3)
    b220:	5c1c           	.word 5c1c
    b222:	361d           	rsvd36	
    b224:	1b48           	div	rr8,@r4
    b226:	1b34           	div	rr4,@r3
    b228:	3036 361b      	ldb	rh6,r3(#0x361b)
    b22c:	0d1b           	.word 0d1b
    b22e:	5020 0660      	cpl	rr0,0x660(r2)
    b232:	032a           	sub	r10,@r2
    b234:	087f           	xorb	rl7,@r7
    b236:	1b57           	div	rr7,@r5
    b238:	300c 7f1b      	ldrb	rl4,0x13157
    b23c:	2a72           	decb	@r7,#0x3
    b23e:	411b 2a62      	add	r11,0x2a62(r1)
    b242:	3630           	rsvd36	
    b244:	571b 2a72      	pop	0x2a72(r11),@r1
    b248:	421b 4108      	subb	rl3,0x4108(r1)
    b24c:	0a1b           	cpb	rl3,@r1
    b24e:	4b20 030a      	cp	r0,0x30a(r2)
    b252:	1b4b           	div	rr11,@r4
    b254:	e001           	jr	f,0xb258
    b256:	1b4a           	div	rr10,@r4
    b258:	3030 371b      	ldb	rh0,r3(#0x371b)
    b25c:	5030 3639      	cpl	rr0,0x3639(r3)
    b260:	1b47           	div	rr7,@r4
    b262:	0303 0e03      	sub	r3,#0xe03
    b266:	0203 0e1d      	subb	rh3,#0x1d
    b26a:	1b25           	div	rr5,@r2
    b26c:	390e           	.word 390e
    b26e:	0a1b           	cpb	rl3,@r1
    b270:	2532           	set	@r3,#0x2
    b272:	0620           	andb	rh0,@r2
    b274:	0a1b           	cpb	rl3,@r1
    b276:	2532           	set	@r3,#0x2
    b278:	0360           	sub	r0,@r6
    b27a:	0a1b           	cpb	rl3,@r1
    b27c:	2532           	set	@r3,#0x2
    b27e:	0457           	orb	rh7,@r5
    b280:	1b36           	div	rr6,@r3
    b282:	1eff           	jp	nc/uge,@r15
    b284:	6400 c496      	setb	0xc496,#0x0
    b288:	4c05 c484 0606 	ldb	0xc484,#0x6
    b28e:	4d05 c476 0087 	ld	0xc476,#0x87
    b294:	6600 c210      	bitb	0xc210,#0x0
    b298:	e608           	jr	eq,0xb2aa
    b29a:	6400 c494      	setb	0xc494,#0x0
    b29e:	4d05 c476 0066 	ld	0xc476,#0x66
    b2a4:	c803           	ldb	rl0,#0x3
    b2a6:	6e08 c481      	ldb	0xc481,rl0
    b2aa:	c81c           	ldb	rl0,#0x1c
    b2ac:	5e08 af70      	jp	t,0xaf70
    b2b0:	4c05 c484 0707 	ldb	0xc484,#0x7
    b2b6:	4d05 c476 0074 	ld	0xc476,#0x74
    b2bc:	6600 c210      	bitb	0xc210,#0x0
    b2c0:	e607           	jr	eq,0xb2d0
    b2c2:	6400 c48b      	setb	0xc48b,#0x0
    b2c6:	6400 c495      	setb	0xc495,#0x0
    b2ca:	c803           	ldb	rl0,#0x3
    b2cc:	6e08 c481      	ldb	0xc481,rl0
    b2d0:	9e08           	ret	t
    b2d2:	4c05 c484 0606 	ldb	0xc484,#0x6
    b2d8:	4d05 c476 0087 	ld	0xc476,#0x87
    b2de:	6600 c210      	bitb	0xc210,#0x0
    b2e2:	e631           	jr	eq,0xb346
    b2e4:	6601 c210      	bitb	0xc210,#0x1
    b2e8:	e602           	jr	eq,0xb2ee
    b2ea:	6400 c48b      	setb	0xc48b,#0x0
    b2ee:	a990           	inc	r9,#0x1
    b2f0:	c804           	ldb	rl0,#0x4
    b2f2:	6e08 c481      	ldb	0xc481,rl0
    b2f6:	e827           	jr	t,0xb346
    b2f8:	4c05 c484 0606 	ldb	0xc484,#0x6
    b2fe:	4d05 c476 0087 	ld	0xc476,#0x87
    b304:	4c05 c483 0202 	ldb	0xc483,#0x2
    b30a:	6600 c210      	bitb	0xc210,#0x0
    b30e:	e60d           	jr	eq,0xb32a
    b310:	6400 c48b      	setb	0xc48b,#0x0
    b314:	6604 c210      	bitb	0xc210,#0x4
    b318:	c802           	ldb	rl0,#0x2
    b31a:	e603           	jr	eq,0xb322
    b31c:	c803           	ldb	rl0,#0x3
    b31e:	4c08 c48b      	clrb	0xc48b
    b322:	6400 c495      	setb	0xc495,#0x0
    b326:	6e08 c481      	ldb	0xc481,rl0
    b32a:	6604 c210      	bitb	0xc210,#0x4
    b32e:	e60b           	jr	eq,0xb346
    b330:	4c01 c948 0d0d 	cpb	0xc948,#0xd
    b336:	e607           	jr	eq,0xb346
    b338:	2109 00f0      	ld	r9,#0xf0
    b33c:	6600 c210      	bitb	0xc210,#0x0
    b340:	e602           	jr	eq,0xb346
    b342:	2109 010b      	ld	r9,#0x10b
    b346:	7601 b21b      	lda	r1,0xb21b
    b34a:	c204           	ldb	rh2,#0x4
    b34c:	5e08 b148      	jp	t,0xb148
    b350:	4c05 c484 0606 	ldb	0xc484,#0x6
    b356:	4d05 c476 0087 	ld	0xc476,#0x87
    b35c:	6600 c210      	bitb	0xc210,#0x0
    b360:	e6f2           	jr	eq,0xb346
    b362:	6400 c48b      	setb	0xc48b,#0x0
    b366:	2109 0190      	ld	r9,#0x190
    b36a:	4c05 c48c 0505 	ldb	0xc48c,#0x5
    b370:	c803           	ldb	rl0,#0x3
    b372:	e8d7           	jr	t,0xb322
    b374:	4c05 c484 0808 	ldb	0xc484,#0x8
    b37a:	4d05 c476 0064 	ld	0xc476,#0x64
    b380:	6400 c496      	setb	0xc496,#0x0
    b384:	7601 b23b      	lda	r1,0xb23b
    b388:	c204           	ldb	rh2,#0x4
    b38a:	5e08 b148      	jp	t,0xb148
    b38e:	4c05 c484 0808 	ldb	0xc484,#0x8
    b394:	4d05 c476 0066 	ld	0xc476,#0x66
    b39a:	a6f0           	bitb	rl7,#0x0
    b39c:	e60b           	jr	eq,0xb3b4
    b39e:	c802           	ldb	rl0,#0x2
    b3a0:	a6f1           	bitb	rl7,#0x1
    b3a2:	e606           	jr	eq,0xb3b0
    b3a4:	6400 c494      	setb	0xc494,#0x0
    b3a8:	4d05 c476 0063 	ld	0xc476,#0x63
    b3ae:	c819           	ldb	rl0,#0x19
    b3b0:	6e08 c481      	ldb	0xc481,rl0
    b3b4:	7601 b249      	lda	r1,0xb249
    b3b8:	c203           	ldb	rh2,#0x3
    b3ba:	5e08 b148      	jp	t,0xb148
    b3be:	4c05 c484 0707 	ldb	0xc484,#0x7
    b3c4:	4d05 c476 0073 	ld	0xc476,#0x73
    b3ca:	6400 c496      	setb	0xc496,#0x0
    b3ce:	7601 b256      	lda	r1,0xb256
    b3d2:	c20a           	ldb	rh2,#0xa
    b3d4:	5e08 b148      	jp	t,0xb148
    b3d8:	4c05 c484 0707 	ldb	0xc484,#0x7
    b3de:	4d05 c476 0074 	ld	0xc476,#0x74
    b3e4:	6600 c210      	bitb	0xc210,#0x0
    b3e8:	e637           	jr	eq,0xb458
    b3ea:	6601 c210      	bitb	0xc210,#0x1
    b3ee:	e602           	jr	eq,0xb3f4
    b3f0:	6400 c48b      	setb	0xc48b,#0x0
    b3f4:	a990           	inc	r9,#0x1
    b3f6:	c804           	ldb	rl0,#0x4
    b3f8:	6e08 c481      	ldb	0xc481,rl0
    b3fc:	e82d           	jr	t,0xb458
    b3fe:	4c05 c484 0606 	ldb	0xc484,#0x6
    b404:	6600 c210      	bitb	0xc210,#0x0
    b408:	e60f           	jr	eq,0xb428
    b40a:	6601 c210      	bitb	0xc210,#0x1
    b40e:	e609           	jr	eq,0xb422
    b410:	6400 c48b      	setb	0xc48b,#0x0
    b414:	4c05 c48c 0303 	ldb	0xc48c,#0x3
    b41a:	dc00           	calr	0xbc1c
    b41c:	6008 c48d      	ldb	rl0,0xc48d
    b420:	e801           	jr	t,0xb424
    b422:	c805           	ldb	rl0,#0x5
    b424:	6e08 c481      	ldb	0xc481,rl0
    b428:	4d05 c476 0087 	ld	0xc476,#0x87
    b42e:	5e08 b2aa      	jp	t,0xb2aa
    b432:	4c05 c484 0707 	ldb	0xc484,#0x7
    b438:	4d05 c476 0074 	ld	0xc476,#0x74
    b43e:	6600 c210      	bitb	0xc210,#0x0
    b442:	e60a           	jr	eq,0xb458
    b444:	4d05 c476 0066 	ld	0xc476,#0x66
    b44a:	6400 c494      	setb	0xc494,#0x0
    b44e:	c807           	ldb	rl0,#0x7
    b450:	6400 c496      	setb	0xc496,#0x0
    b454:	6e08 c481      	ldb	0xc481,rl0
    b458:	7601 b262      	lda	r1,0xb262
    b45c:	c203           	ldb	rh2,#0x3
    b45e:	5e08 b148      	jp	t,0xb148
    b462:	4c05 c484 0707 	ldb	0xc484,#0x7
    b468:	4d05 c476 0074 	ld	0xc476,#0x74
    b46e:	6600 c210      	bitb	0xc210,#0x0
    b472:	e608           	jr	eq,0xb484
    b474:	6601 c210      	bitb	0xc210,#0x1
    b478:	e602           	jr	eq,0xb47e
    b47a:	6400 c48b      	setb	0xc48b,#0x0
    b47e:	c804           	ldb	rl0,#0x4
    b480:	6e08 c481      	ldb	0xc481,rl0
    b484:	7601 b269      	lda	r1,0xb269
    b488:	c205           	ldb	rh2,#0x5
    b48a:	5e08 b148      	jp	t,0xb148
    b48e:	c81d           	ldb	rl0,#0x1d
    b490:	5f00 af70      	call	0xaf70
    b494:	6600 c210      	bitb	0xc210,#0x0
    b498:	e606           	jr	eq,0xb4a6
    b49a:	2101 0010      	ld	r1,#0x10
    b49e:	c80a           	ldb	rl0,#0xa
    b4a0:	5f00 af70      	call	0xaf70
    b4a4:	f184           	djnz	r1,0xb49e
    b4a6:	7601 b224      	lda	r1,0xb224
    b4aa:	c207           	ldb	rh2,#0x7
    b4ac:	5e08 b148      	jp	t,0xb148
    b4b0:	7601 b235      	lda	r1,0xb235
    b4b4:	c206           	ldb	rh2,#0x6
    b4b6:	5e08 b148      	jp	t,0xb148
    b4ba:	7601 b21f      	lda	r1,0xb21f
    b4be:	c202           	ldb	rh2,#0x2
    b4c0:	5e08 b148      	jp	t,0xb148
    b4c4:	7601 b245      	lda	r1,0xb245
    b4c8:	c204           	ldb	rh2,#0x4
    b4ca:	5e08 b148      	jp	t,0xb148
    b4ce:	9e08           	ret	t
    b4d0:	7601 b222      	lda	r1,0xb222
    b4d4:	c202           	ldb	rh2,#0x2
    b4d6:	5e08 b148      	jp	t,0xb148
    b4da:	7601 b265      	lda	r1,0xb265
    b4de:	c202           	ldb	rh2,#0x2
    b4e0:	5e08 b148      	jp	t,0xb148
    b4e4:	7601 b280      	lda	r1,0xb280
    b4e8:	c203           	ldb	rh2,#0x3
    b4ea:	5e08 b148      	jp	t,0xb148
    b4ee:	dce3           	calr	0xbb2a
    b4f0:	9e06           	ret	eq
    b4f2:	dca7           	calr	0xbba6
    b4f4:	6108 c47e      	ld	r8,0xc47e
    b4f8:	4c01 c948 0d0d 	cpb	0xc948,#0xd
    b4fe:	ee04           	jr	ne,0xb508
    b500:	6008 c48c      	ldb	rl0,0xc48c
    b504:	6e08 c946      	ldb	0xc946,rl0
    b508:	6600 c48b      	bitb	0xc48b,#0x0
    b50c:	e604           	jr	eq,0xb516
    b50e:	6008 c481      	ldb	rl0,0xc481
    b512:	6e08 c480      	ldb	0xc480,rl0
    b516:	610b c474      	ld	r11,0xc474
    b51a:	a9b1           	inc	r11,#0x2
    b51c:	6f0b c474      	ld	0xc474,r11
    b520:	8800           	xorb	rh0,rh0
    b522:	6008 c484      	ldb	rl0,0xc484
    b526:	a10a           	ld	r10,r0
    b528:	6008 c480      	ldb	rl0,0xc480
    b52c:	6e08 c48d      	ldb	0xc48d,rl0
    b530:	4c01 c948 0d0d 	cpb	0xc948,#0xd
    b536:	ee04           	jr	ne,0xb540
    b538:	6008 c946      	ldb	rl0,0xc946
    b53c:	6e08 c48c      	ldb	0xc48c,rl0
    b540:	6400 fff8      	setb	0xfff8,#0x0
    b544:	7b09           	mres	
    b546:	21bd           	ld	r13,@r11
    b548:	6200 fff8      	resb	0xfff8,#0x0
    b54c:	7b08           	mset	
    b54e:	6604 c210      	bitb	0xc210,#0x4
    b552:	ee56           	jr	ne,0xb600
    b554:	6600 c210      	bitb	0xc210,#0x0
    b558:	e606           	jr	eq,0xb566
    b55a:	4c01 c948 0d0d 	cpb	0xc948,#0xd
    b560:	5e06 b638      	jp	eq,0xb638
    b564:	deb7           	calr	0xb7f8
    b566:	b3d8           	rlc	r13,#0x1
    b568:	b288           	rlcb	rl0,#0x1
    b56a:	b3d8           	rlc	r13,#0x1
    b56c:	b208           	rlcb	rh0,#0x1
    b56e:	b3d8           	rlc	r13,#0x1
    b570:	b298           	rlcb	rl1,#0x1
    b572:	b3d8           	rlc	r13,#0x1
    b574:	b218           	rlcb	rh1,#0x1
    b576:	b3d8           	rlc	r13,#0x1
    b578:	b2a8           	rlcb	rl2,#0x1
    b57a:	b3d8           	rlc	r13,#0x1
    b57c:	b228           	rlcb	rh2,#0x1
    b57e:	b3d8           	rlc	r13,#0x1
    b580:	b2b8           	rlcb	rl3,#0x1
    b582:	b3d8           	rlc	r13,#0x1
    b584:	b238           	rlcb	rh3,#0x1
    b586:	b3d8           	rlc	r13,#0x1
    b588:	b2c8           	rlcb	rl4,#0x1
    b58a:	b3d8           	rlc	r13,#0x1
    b58c:	b248           	rlcb	rh4,#0x1
    b58e:	b3d8           	rlc	r13,#0x1
    b590:	b2d8           	rlcb	rl5,#0x1
    b592:	b3d8           	rlc	r13,#0x1
    b594:	b258           	rlcb	rh5,#0x1
    b596:	b3d8           	rlc	r13,#0x1
    b598:	b2e8           	rlcb	rl6,#0x1
    b59a:	b3d8           	rlc	r13,#0x1
    b59c:	b268           	rlcb	rh6,#0x1
    b59e:	b3d8           	rlc	r13,#0x1
    b5a0:	b2f8           	rlcb	rl7,#0x1
    b5a2:	b3d8           	rlc	r13,#0x1
    b5a4:	b278           	rlcb	rh7,#0x1
    b5a6:	aba0           	dec	r10,#0x1
    b5a8:	e60c           	jr	eq,0xb5c2
    b5aa:	6600 c497      	bitb	0xc497,#0x0
    b5ae:	eec8           	jr	ne,0xb540
    b5b0:	010b 4000      	add	r11,#0x4000
    b5b4:	a7bf           	bit	r11,#0xf
    b5b6:	eec4           	jr	ne,0xb540
    b5b8:	a7be           	bit	r11,#0xe
    b5ba:	eec2           	jr	ne,0xb540
    b5bc:	010b 006a      	add	r11,#0x6a
    b5c0:	e8bf           	jr	t,0xb540
    b5c2:	de91           	calr	0xb8a2
    b5c4:	f8d8           	djnz	r8,0xb516
    b5c6:	6600 c210      	bitb	0xc210,#0x0
    b5ca:	e60b           	jr	eq,0xb5e2
    b5cc:	6600 c497      	bitb	0xc497,#0x0
    b5d0:	e608           	jr	eq,0xb5e2
    b5d2:	030b 4000      	sub	r11,#0x4000
    b5d6:	a7bf           	bit	r11,#0xf
    b5d8:	e604           	jr	eq,0xb5e2
    b5da:	a7be           	bit	r11,#0xe
    b5dc:	e602           	jr	eq,0xb5e2
    b5de:	030b 006a      	sub	r11,#0x6a
    b5e2:	030b 0062      	sub	r11,#0x62
    b5e6:	010b 4000      	add	r11,#0x4000
    b5ea:	a7bf           	bit	r11,#0xf
    b5ec:	ee04           	jr	ne,0xb5f6
    b5ee:	a7be           	bit	r11,#0xe
    b5f0:	ee02           	jr	ne,0xb5f6
    b5f2:	010b 006a      	add	r11,#0x6a
    b5f6:	abb1           	dec	r11,#0x2
    b5f8:	6f0b c474      	ld	0xc474,r11
    b5fc:	5e08 b4ee      	jp	t,0xb4ee
    b600:	4c01 c948 0404 	cpb	0xc948,#0x4
    b606:	e604           	jr	eq,0xb610
    b608:	4c01 c948 0505 	cpb	0xc948,#0x5
    b60e:	eea2           	jr	ne,0xb554
    b610:	6a00 c483      	decb	0xc483,#0x1
    b614:	e60a           	jr	eq,0xb62a
    b616:	6f0d c472      	ld	0xc472,r13
    b61a:	6600 c210      	bitb	0xc210,#0x0
    b61e:	e604           	jr	eq,0xb628
    b620:	df15           	calr	0xb7f8
    b622:	6600 c497      	bitb	0xc497,#0x0
    b626:	ee9f           	jr	ne,0xb566
    b628:	e8c0           	jr	t,0xb5aa
    b62a:	450d c472      	or	r13,0xc472
    b62e:	4c05 c483 0202 	ldb	0xc483,#0x2
    b634:	5e08 b554      	jp	t,0xb554
    b638:	4c04 c48c      	testb	0xc48c
    b63c:	e609           	jr	eq,0xb650
    b63e:	6a00 c48c      	decb	0xc48c,#0x1
    b642:	4c04 c48c      	testb	0xc48c
    b646:	5e0e b566      	jp	ne,0xb566
    b64a:	6f0d c472      	ld	0xc472,r13
    b64e:	e8ad           	jr	t,0xb5aa
    b650:	450d c472      	or	r13,0xc472
    b654:	4c05 c48c 0505 	ldb	0xc48c,#0x5
    b65a:	5e08 b566      	jp	t,0xb566
    b65e:	6108 c476      	ld	r8,0xc476
    b662:	ab80           	dec	r8,#0x1
    b664:	9e06           	ret	eq
    b666:	5f00 bba6      	call	0xbba6
    b66a:	0b08 0001      	cp	r8,#0x1
    b66e:	ee0c           	jr	ne,0xb688
    b670:	6008 c486      	ldb	rl0,0xc486
    b674:	a880           	incb	rl0,#0x1
    b676:	6e08 c484      	ldb	0xc484,rl0
    b67a:	4c01 c948 0101 	cpb	0xc948,#0x1
    b680:	ee03           	jr	ne,0xb688
    b682:	4c05 c480 0808 	ldb	0xc480,#0x8
    b688:	6600 c48b      	bitb	0xc48b,#0x0
    b68c:	e604           	jr	eq,0xb696
    b68e:	6008 c481      	ldb	rl0,0xc481
    b692:	6e08 c48d      	ldb	0xc48d,rl0
    b696:	2109 01e0      	ld	r9,#0x1e0
    b69a:	610b c474      	ld	r11,0xc474
    b69e:	6400 fff8      	setb	0xfff8,#0x0
    b6a2:	7b09           	mres	
    b6a4:	21b4           	ld	r4,@r11
    b6a6:	6200 fff8      	resb	0xfff8,#0x0
    b6aa:	7b08           	mset	
    b6ac:	8855           	xorb	rh5,rh5
    b6ae:	cd0f           	ldb	rl5,#0xf
    b6b0:	420d c486      	subb	rl5,0xc486
    b6b4:	b343 0500      	sdl	r4,r5
    b6b8:	600e c484      	ldb	rl6,0xc484
    b6bc:	600d c486      	ldb	rl5,0xc486
    b6c0:	6600 c210      	bitb	0xc210,#0x0
    b6c4:	e602           	jr	eq,0xb6ca
    b6c6:	5f00 b98e      	call	0xb98e
    b6ca:	b340           	rl	r4,#0x1
    b6cc:	b288           	rlcb	rl0,#0x1
    b6ce:	6600 c210      	bitb	0xc210,#0x0
    b6d2:	e602           	jr	eq,0xb6d8
    b6d4:	5f00 ba0a      	call	0xba0a
    b6d8:	aae0           	decb	rl6,#0x1
    b6da:	e60d           	jr	eq,0xb6f6
    b6dc:	aad0           	decb	rl5,#0x1
    b6de:	edf5           	jr	pl,0xb6ca
    b6e0:	a9b1           	inc	r11,#0x2
    b6e2:	6400 fff8      	setb	0xfff8,#0x0
    b6e6:	7b09           	mres	
    b6e8:	21b4           	ld	r4,@r11
    b6ea:	6200 fff8      	resb	0xfff8,#0x0
    b6ee:	7b08           	mset	
    b6f0:	abb1           	dec	r11,#0x2
    b6f2:	bd5f           	ldk	r5,#0xf
    b6f4:	e8ea           	jr	t,0xb6ca
    b6f6:	6600 c48b      	bitb	0xc48b,#0x0
    b6fa:	e602           	jr	eq,0xb700
    b6fc:	5f00 b866      	call	0xb866
    b700:	5f00 b956      	call	0xb956
    b704:	5f00 af70      	call	0xaf70
    b708:	ab90           	dec	r9,#0x1
    b70a:	7d32           	ldctl	r3,fcw
    b70c:	030b 4000      	sub	r11,#0x4000
    b710:	a7bf           	bit	r11,#0xf
    b712:	e604           	jr	eq,0xb71c
    b714:	a7be           	bit	r11,#0xe
    b716:	e602           	jr	eq,0xb71c
    b718:	030b 006a      	sub	r11,#0x6a
    b71c:	7d3a           	ldctl	fcw,r3
    b71e:	eebf           	jr	ne,0xb69e
    b720:	e8a0           	jr	t,0xb662
    b722:	4d05 c474 f144 	ld	0xc474,#0xf144
    b728:	210a 0032      	ld	r10,#0x32
    b72c:	6600 c210      	bitb	0xc210,#0x0
    b730:	e603           	jr	eq,0xb738
    b732:	4c05 c48d 0404 	ldb	0xc48d,#0x4
    b738:	610b c474      	ld	r11,0xc474
    b73c:	a9b1           	inc	r11,#0x2
    b73e:	6f0b c474      	ld	0xc474,r11
    b742:	2106 0010      	ld	r6,#0x10
    b746:	2105 01e0      	ld	r5,#0x1e0
    b74a:	dda2           	calr	0xbc08
    b74c:	610b c474      	ld	r11,0xc474
    b750:	6600 c210      	bitb	0xc210,#0x0
    b754:	e60a           	jr	eq,0xb76a
    b756:	4c08 c497      	clrb	0xc497
    b75a:	6a00 c48d      	decb	0xc48d,#0x1
    b75e:	ee05           	jr	ne,0xb76a
    b760:	6400 c497      	setb	0xc497,#0x0
    b764:	4c05 c48d 0404 	ldb	0xc48d,#0x4
    b76a:	dff8           	calr	0xb77c
    b76c:	6600 c497      	bitb	0xc497,#0x0
    b770:	e602           	jr	eq,0xb776
    b772:	ab60           	dec	r6,#0x1
    b774:	e601           	jr	eq,0xb778
    b776:	f699           	djnz	r6,0xb746
    b778:	faa1           	djnz	r10,0xb738
    b77a:	9e08           	ret	t
    b77c:	bd22           	ldk	r2,#0x2
    b77e:	8888           	xorb	rl0,rl0
    b780:	600c c484      	ldb	rl4,0xc484
    b784:	a169           	ld	r9,r6
    b786:	ab90           	dec	r9,#0x1
    b788:	6400 fff8      	setb	0xfff8,#0x0
    b78c:	7b09           	mres	
    b78e:	21b7           	ld	r7,@r11
    b790:	6200 fff8      	resb	0xfff8,#0x0
    b794:	7b08           	mset	
    b796:	2709 0700      	bit	r7,r9
    b79a:	8d81           	setflg	c
    b79c:	ee15           	jr	ne,0xb7c8
    b79e:	6600 c497      	bitb	0xc497,#0x0
    b7a2:	e611           	jr	eq,0xb7c6
    b7a4:	93f9           	push	@r15,r9
    b7a6:	ab90           	dec	r9,#0x1
    b7a8:	ed0a           	jr	pl,0xb7be
    b7aa:	a9b1           	inc	r11,#0x2
    b7ac:	6400 fff8      	setb	0xfff8,#0x0
    b7b0:	7b09           	mres	
    b7b2:	21b7           	ld	r7,@r11
    b7b4:	6200 fff8      	resb	0xfff8,#0x0
    b7b8:	7b08           	mset	
    b7ba:	abb1           	dec	r11,#0x2
    b7bc:	bd9f           	ldk	r9,#0xf
    b7be:	2709 0700      	bit	r7,r9
    b7c2:	97f9           	pop	r9,@r15
    b7c4:	ee01           	jr	ne,0xb7c8
    b7c6:	8d85           	comflg	c
    b7c8:	b288           	rlcb	rl0,#0x1
    b7ca:	aac0           	decb	rl4,#0x1
    b7cc:	ee04           	jr	ne,0xb7d6
    b7ce:	d430           	calr	0xaf70
    b7d0:	8888           	xorb	rl0,rl0
    b7d2:	600c c484      	ldb	rl4,0xc484
    b7d6:	030b 4000      	sub	r11,#0x4000
    b7da:	a7bf           	bit	r11,#0xf
    b7dc:	e604           	jr	eq,0xb7e6
    b7de:	a7be           	bit	r11,#0xe
    b7e0:	e602           	jr	eq,0xb7e6
    b7e2:	030b 006a      	sub	r11,#0x6a
    b7e6:	f5b2           	djnz	r5,0xb784
    b7e8:	4c01 c948 0606 	cpb	0xc948,#0x6
    b7ee:	9e06           	ret	eq
    b7f0:	b289 0003      	slab	rl0,#0x3
    b7f4:	d443           	calr	0xaf70
    b7f6:	9e08           	ret	t
    b7f8:	6600 c48b      	bitb	0xc48b,#0x0
    b7fc:	9e0e           	ret	ne
    b7fe:	4c01 c48d 0000 	cpb	0xc48d,#0x0
    b804:	e608           	jr	eq,0xb816
    b806:	4c08 c497      	clrb	0xc497
    b80a:	6a00 c48d      	decb	0xc48d,#0x1
    b80e:	9e0e           	ret	ne
    b810:	6f0d c478      	ld	0xc478,r13
    b814:	9e08           	ret	t
    b816:	93f0           	push	@r15,r0
    b818:	8900           	xor	r0,r0
    b81a:	6008 c484      	ldb	rl0,0xc484
    b81e:	8b0a           	cp	r10,r0
    b820:	ee1b           	jr	ne,0xb858
    b822:	93f4           	push	@r15,r4
    b824:	030b 4000      	sub	r11,#0x4000
    b828:	a7bf           	bit	r11,#0xf
    b82a:	e604           	jr	eq,0xb834
    b82c:	a7be           	bit	r11,#0xe
    b82e:	e602           	jr	eq,0xb834
    b830:	030b 006a      	sub	r11,#0x6a
    b834:	6400 fff8      	setb	0xfff8,#0x0
    b838:	7b09           	mres	
    b83a:	21b4           	ld	r4,@r11
    b83c:	6200 fff8      	resb	0xfff8,#0x0
    b840:	7b08           	mset	
    b842:	6f04 c478      	ld	0xc478,r4
    b846:	010b 4000      	add	r11,#0x4000
    b84a:	a7bf           	bit	r11,#0xf
    b84c:	ee04           	jr	ne,0xb856
    b84e:	a7be           	bit	r11,#0xe
    b850:	ee02           	jr	ne,0xb856
    b852:	010b 006a      	add	r11,#0x6a
    b856:	97f4           	pop	r4,@r15
    b858:	470d c478      	and	r13,0xc478
    b85c:	6400 c497      	setb	0xc497,#0x0
    b860:	97f0           	pop	r0,@r15
    b862:	5e08 bc1c      	jp	t,0xbc1c
    b866:	93f4           	push	@r15,r4
    b868:	4c01 c48d 0000 	cpb	0xc48d,#0x0
    b86e:	e60c           	jr	eq,0xb888
    b870:	600c c48d      	ldb	rl4,0xc48d
    b874:	aac0           	decb	rl4,#0x1
    b876:	6e0c c480      	ldb	0xc480,rl4
    b87a:	6e0c c48d      	ldb	0xc48d,rl4
    b87e:	ee02           	jr	ne,0xb884
    b880:	6e08 c48e      	ldb	0xc48e,rl0
    b884:	97f4           	pop	r4,@r15
    b886:	9e08           	ret	t
    b888:	93f0           	push	@r15,r0
    b88a:	4608 c48e      	andb	rl0,0xc48e
    b88e:	df9d           	calr	0xb956
    b890:	5f00 af70      	call	0xaf70
    b894:	de3d           	calr	0xbc1c
    b896:	6008 c48d      	ldb	rl0,0xc48d
    b89a:	6e08 c480      	ldb	0xc480,rl0
    b89e:	97f0           	pop	r0,@r15
    b8a0:	e8e3           	jr	t,0xb868
    b8a2:	030f 0004      	sub	r15,#0x4
    b8a6:	1cf9 0801      	ldm	@r15,r8,#0x2
    b8aa:	bd98           	ldk	r9,#0x8
    b8ac:	bd82           	ldk	r8,#0x2
    b8ae:	6600 c48b      	bitb	0xc48b,#0x0
    b8b2:	e601           	jr	eq,0xb8b6
    b8b4:	d028           	calr	0xb866
    b8b6:	dfb1           	calr	0xb956
    b8b8:	5f00 af70      	call	0xaf70
    b8bc:	a008           	ldb	rl0,rh0
    b8be:	f889           	djnz	r8,0xb8ae
    b8c0:	a110           	ld	r0,r1
    b8c2:	a121           	ld	r1,r2
    b8c4:	a132           	ld	r2,r3
    b8c6:	a143           	ld	r3,r4
    b8c8:	a154           	ld	r4,r5
    b8ca:	a165           	ld	r5,r6
    b8cc:	a176           	ld	r6,r7
    b8ce:	f992           	djnz	r9,0xb8ac
    b8d0:	1cf1 0801      	ldm	r8,@r15,#0x2
    b8d4:	010f 0004      	add	r15,#0x4
    b8d8:	9e08           	ret	t
    b8da:	dfae           	calr	0xb980
    b8dc:	dfbb           	calr	0xb968
    b8de:	0008 3f3f      	addb	rl0,#0x3f
    b8e2:	9e08           	ret	t
    b8e4:	dfbf           	calr	0xb968
    b8e6:	bd46           	ldk	r4,#0x6
    b8e8:	420c c484      	subb	rl4,0xc484
    b8ec:	b283 0400      	sdlb	rl0,r4
    b8f0:	0408 4040      	orb	rl0,#0x40
    b8f4:	9e08           	ret	t
    b8f6:	dfbc           	calr	0xb980
    b8f8:	e837           	jr	t,0xb968
    b8fa:	dfca           	calr	0xb968
    b8fc:	9e08           	ret	t
    b8fe:	dfcc           	calr	0xb968
    b900:	bd48           	ldk	r4,#0x8
    b902:	420c c484      	subb	rl4,0xc484
    b906:	b283 0400      	sdlb	rl0,r4
    b90a:	9e08           	ret	t
    b90c:	dfd3           	calr	0xb968
    b90e:	bd47           	ldk	r4,#0x7
    b910:	420c c484      	subb	rl4,0xc484
    b914:	b283 0400      	sdlb	rl0,r4
    b918:	9e08           	ret	t
    b91a:	dfce           	calr	0xb980
    b91c:	dfdb           	calr	0xb968
    b91e:	0a08 0303      	cpb	rl0,#0x3
    b922:	e603           	jr	eq,0xb92a
    b924:	4c08 c947      	clrb	0xc947
    b928:	9e08           	ret	t
    b92a:	6800 c947      	incb	0xc947,#0x1
    b92e:	4c01 c947 fefe 	cpb	0xc947,#0xfe
    b934:	ee07           	jr	ne,0xb944
    b936:	d4e4           	calr	0xaf70
    b938:	c802           	ldb	rl0,#0x2
    b93a:	d4e6           	calr	0xaf70
    b93c:	c803           	ldb	rl0,#0x3
    b93e:	d4e8           	calr	0xaf70
    b940:	4c08 c947      	clrb	0xc947
    b944:	5e08 af70      	jp	t,0xaf70
    b948:	dff1           	calr	0xb968
    b94a:	bd47           	ldk	r4,#0x7
    b94c:	420c c484      	subb	rl4,0xc484
    b950:	b283 0400      	sdlb	rl0,r4
    b954:	9e08           	ret	t
    b956:	93f4           	push	@r15,r4
    b958:	93f2           	push	@r15,r2
    b95a:	2104 0002      	ld	r4,#0x2
    b95e:	5f00 b154      	call	0xb154
    b962:	97f2           	pop	r2,@r15
    b964:	97f4           	pop	r4,@r15
    b966:	9e08           	ret	t
    b968:	6004 c484      	ldb	rh4,0xc484
    b96c:	8c42           	negb	rh4
    b96e:	0004 0808      	addb	rh4,#0x8
    b972:	9e06           	ret	eq
    b974:	ccff           	ldb	rl4,#0xff
    b976:	b2c1 ffff      	srlb	rl4,#0x1
    b97a:	f403           	dbjnz	rh4,0xb976
    b97c:	86c8           	andb	rl0,rl4
    b97e:	9e08           	ret	t
    b980:	6004 c484      	ldb	rh4,0xc484
    b984:	b28c           	rrcb	rl0,#0x1
    b986:	b2c8           	rlcb	rl4,#0x1
    b988:	f403           	dbjnz	rh4,0xb984
    b98a:	a0c8           	ldb	rl0,rl4
    b98c:	9e08           	ret	t
    b98e:	6600 c48b      	bitb	0xc48b,#0x0
    b992:	ee5e           	jr	ne,0xba50
    b994:	600b c480      	ldb	rl3,0xc480
    b998:	6e0b c48d      	ldb	0xc48d,rl3
    b99c:	86bb           	andb	rl3,rl3
    b99e:	ee58           	jr	ne,0xba50
    b9a0:	6600 c494      	bitb	0xc494,#0x0
    b9a4:	ee22           	jr	ne,0xb9ea
    b9a6:	4c01 c486 0f0f 	cpb	0xc486,#0xf
    b9ac:	ee0d           	jr	ne,0xb9c8
    b9ae:	a280           	resb	rl0,#0x0
    b9b0:	abb1           	dec	r11,#0x2
    b9b2:	6400 fff8      	setb	0xfff8,#0x0
    b9b6:	7b09           	mres	
    b9b8:	27b0           	bit	@r11,#0x0
    b9ba:	6200 fff8      	resb	0xfff8,#0x0
    b9be:	7b08           	mset	
    b9c0:	e601           	jr	eq,0xb9c4
    b9c2:	a480           	setb	rl0,#0x0
    b9c4:	a9b1           	inc	r11,#0x2
    b9c6:	e838           	jr	t,0xba38
    b9c8:	8833           	xorb	rh3,rh3
    b9ca:	600b c486      	ldb	rl3,0xc486
    b9ce:	000b 0202      	addb	rl3,#0x2
    b9d2:	8d32           	neg	r3
    b9d4:	6400 fff8      	setb	0xfff8,#0x0
    b9d8:	7b09           	mres	
    b9da:	21ba           	ld	r10,@r11
    b9dc:	6200 fff8      	resb	0xfff8,#0x0
    b9e0:	7b08           	mset	
    b9e2:	b3a3 0300      	sdl	r10,r3
    b9e6:	b288           	rlcb	rl0,#0x1
    b9e8:	e827           	jr	t,0xba38
    b9ea:	b340           	rl	r4,#0x1
    b9ec:	b288           	rlcb	rl0,#0x1
    b9ee:	aae0           	decb	rl6,#0x1
    b9f0:	aad0           	decb	rl5,#0x1
    b9f2:	ed22           	jr	pl,0xba38
    b9f4:	a9b1           	inc	r11,#0x2
    b9f6:	6400 fff8      	setb	0xfff8,#0x0
    b9fa:	7b09           	mres	
    b9fc:	21b4           	ld	r4,@r11
    b9fe:	6200 fff8      	resb	0xfff8,#0x0
    ba02:	7b08           	mset	
    ba04:	abb1           	dec	r11,#0x2
    ba06:	bd5f           	ldk	r5,#0xf
    ba08:	e817           	jr	t,0xba38
    ba0a:	6600 c48b      	bitb	0xc48b,#0x0
    ba0e:	ee20           	jr	ne,0xba50
    ba10:	6a00 c48d      	decb	0xc48d,#0x1
    ba14:	ee1d           	jr	ne,0xba50
    ba16:	0a0e 0101      	cpb	rl6,#0x1
    ba1a:	e61a           	jr	eq,0xba50
    ba1c:	84dd           	orb	rl5,rl5
    ba1e:	ee0c           	jr	ne,0xba38
    ba20:	a34f           	res	r4,#0xf
    ba22:	a9b1           	inc	r11,#0x2
    ba24:	6400 fff8      	setb	0xfff8,#0x0
    ba28:	7b09           	mres	
    ba2a:	27bf           	bit	@r11,#0xf
    ba2c:	6200 fff8      	resb	0xfff8,#0x0
    ba30:	7b08           	mset	
    ba32:	e601           	jr	eq,0xba36
    ba34:	a54f           	set	r4,#0xf
    ba36:	abb1           	dec	r11,#0x2
    ba38:	6600 c494      	bitb	0xc494,#0x0
    ba3c:	ee0a           	jr	ne,0xba52
    ba3e:	8d83           	resflg	c
    ba40:	a680           	bitb	rl0,#0x0
    ba42:	e603           	jr	eq,0xba4a
    ba44:	a74f           	bit	r4,#0xf
    ba46:	e601           	jr	eq,0xba4a
    ba48:	8d81           	setflg	c
    ba4a:	b288           	rlcb	rl0,#0x1
    ba4c:	aae0           	decb	rl6,#0x1
    ba4e:	df1a           	calr	0xbc1c
    ba50:	9e08           	ret	t
    ba52:	a680           	bitb	rl0,#0x0
    ba54:	ee03           	jr	ne,0xba5c
    ba56:	a74f           	bit	r4,#0xf
    ba58:	e601           	jr	eq,0xba5c
    ba5a:	a480           	setb	rl0,#0x0
    ba5c:	b340           	rl	r4,#0x1
    ba5e:	aad0           	decb	rl5,#0x1
    ba60:	edf6           	jr	pl,0xba4e
    ba62:	a9b1           	inc	r11,#0x2
    ba64:	6400 fff8      	setb	0xfff8,#0x0
    ba68:	7b09           	mres	
    ba6a:	21b4           	ld	r4,@r11
    ba6c:	6200 fff8      	resb	0xfff8,#0x0
    ba70:	7b08           	mset	
    ba72:	abb1           	dec	r11,#0x2
    ba74:	bd5f           	ldk	r5,#0xf
    ba76:	b340           	rl	r4,#0x1
    ba78:	e8ea           	jr	t,0xba4e
    ba7a:	c836           	ldb	rl0,#0x36
    ba7c:	5e08 af70      	jp	t,0xaf70
    ba80:	7601 b22b      	lda	r1,0xb22b
    ba84:	c204           	ldb	rh2,#0x4
    ba86:	5f00 b148      	call	0xb148
    ba8a:	7601 b22f      	lda	r1,0xb22f
    ba8e:	6601 c210      	bitb	0xc210,#0x1
    ba92:	e602           	jr	eq,0xba98
    ba94:	0101 0002      	add	r1,#0x2
    ba98:	6600 c210      	bitb	0xc210,#0x0
    ba9c:	e602           	jr	eq,0xbaa2
    ba9e:	7601 b233      	lda	r1,0xb233
    baa2:	c202           	ldb	rh2,#0x2
    baa4:	5e08 b148      	jp	t,0xb148
    baa8:	c82d           	ldb	rl0,#0x2d
    baaa:	5e08 af70      	jp	t,0xaf70
    baae:	7601 b23f      	lda	r1,0xb23f
    bab2:	c206           	ldb	rh2,#0x6
    bab4:	5e08 b148      	jp	t,0xb148
    bab8:	7601 b24c      	lda	r1,0xb24c
    babc:	6601 c210      	bitb	0xc210,#0x1
    bac0:	e602           	jr	eq,0xbac6
    bac2:	7601 b251      	lda	r1,0xb251
    bac6:	c205           	ldb	rh2,#0x5
    bac8:	5e08 b148      	jp	t,0xb148
    bacc:	7601 b260      	lda	r1,0xb260
    bad0:	c202           	ldb	rh2,#0x2
    bad2:	5e08 b148      	jp	t,0xb148
    bad6:	6600 c210      	bitb	0xc210,#0x0
    bada:	e612           	jr	eq,0xbb00
    badc:	6601 c210      	bitb	0xc210,#0x1
    bae0:	e60b           	jr	eq,0xbaf8
    bae2:	4c05 c48c 0303 	ldb	0xc48c,#0x3
    bae8:	df67           	calr	0xbc1c
    baea:	6008 c48d      	ldb	rl0,0xc48d
    baee:	6e08 c481      	ldb	0xc481,rl0
    baf2:	6e08 c480      	ldb	0xc480,rl0
    baf6:	e804           	jr	t,0xbb00
    baf8:	8d94           	test	r9
    bafa:	ee02           	jr	ne,0xbb00
    bafc:	6a00 c484      	decb	0xc484,#0x1
    bb00:	e8bc           	jr	t,0xba7a
    bb02:	7601 b267      	lda	r1,0xb267
    bb06:	c202           	ldb	rh2,#0x2
    bb08:	5e08 b148      	jp	t,0xb148
    bb0c:	7601 b26e      	lda	r1,0xb26e
    bb10:	6601 c210      	bitb	0xc210,#0x1
    bb14:	e607           	jr	eq,0xbb24
    bb16:	7601 b274      	lda	r1,0xb274
    bb1a:	6600 c210      	bitb	0xc210,#0x0
    bb1e:	e602           	jr	eq,0xbb24
    bb20:	7601 b27a      	lda	r1,0xb27a
    bb24:	c206           	ldb	rh2,#0x6
    bb26:	5e08 b148      	jp	t,0xb148
    bb2a:	8599           	or	r9,r9
    bb2c:	9e06           	ret	eq
    bb2e:	a19d           	ld	r13,r9
    bb30:	8855           	xorb	rh5,rh5
    bb32:	600d c485      	ldb	rl5,0xc485
    bb36:	8359           	sub	r9,r5
    bb38:	9e0b           	ret	ugt
    bb3a:	e702           	jr	c/ult,0xbb40
    bb3c:	8d43           	resflg	z
    bb3e:	9e08           	ret	t
    bb40:	6600 c210      	bitb	0xc210,#0x0
    bb44:	e60b           	jr	eq,0xbb5c
    bb46:	4c01 c948 0707 	cpb	0xc948,#0x7
    bb4c:	e606           	jr	eq,0xbb5a
    bb4e:	4c01 c948 0303 	cpb	0xc948,#0x3
    bb54:	ee03           	jr	ne,0xbb5c
    bb56:	a9d0           	inc	r13,#0x1
    bb58:	e801           	jr	t,0xbb5c
    bb5a:	a9d2           	inc	r13,#0x3
    bb5c:	a1d5           	ld	r5,r13
    bb5e:	6e0d c484      	ldb	0xc484,rl5
    bb62:	8999           	xor	r9,r9
    bb64:	8d43           	resflg	z
    bb66:	9e08           	ret	t
    bb68:	8888           	xorb	rl0,rl0
    bb6a:	6001 c484      	ldb	rh1,0xc484
    bb6e:	6000 c480      	ldb	rh0,0xc480
    bb72:	6009 c48c      	ldb	rl1,0xc48c
    bb76:	a800           	incb	rh0,#0x1
    bb78:	8a10           	cpb	rh0,rh1
    bb7a:	ea08           	jr	gt,0xbb8c
    bb7c:	a880           	incb	rl0,#0x1
    bb7e:	4c01 c948 0101 	cpb	0xc948,#0x1
    bb84:	e607           	jr	eq,0xbb94
    bb86:	4000 c481      	addb	rh0,0xc481
    bb8a:	e8f5           	jr	t,0xbb76
    bb8c:	8281           	subb	rh1,rl0
    bb8e:	6e01 c485      	ldb	0xc485,rh1
    bb92:	9e08           	ret	t
    bb94:	aa90           	decb	rl1,#0x1
    bb96:	e603           	jr	eq,0xbb9e
    bb98:	0000 0303      	addb	rh0,#0x3
    bb9c:	e8ec           	jr	t,0xbb76
    bb9e:	c903           	ldb	rl1,#0x3
    bba0:	0000 0404      	addb	rh0,#0x4
    bba4:	e8e8           	jr	t,0xbb76
    bba6:	6600 c210      	bitb	0xc210,#0x0
    bbaa:	e60a           	jr	eq,0xbbc0
    bbac:	6600 c48b      	bitb	0xc48b,#0x0
    bbb0:	ee07           	jr	ne,0xbbc0
    bbb2:	6008 c48d      	ldb	rl0,0xc48d
    bbb6:	6e08 c480      	ldb	0xc480,rl0
    bbba:	5f00 bb68      	call	0xbb68
    bbbe:	e800           	jr	t,0xbbc0
    bbc0:	d534           	calr	0xb15a
    bbc2:	e622           	jr	eq,0xbc08
    bbc4:	600c c487      	ldb	rl4,0xc487
    bbc8:	a0c4           	ldb	rh4,rl4
    bbca:	4a0c c486      	cpb	rl4,0xc486
    bbce:	e702           	jr	c/ult,0xbbd4
    bbd0:	6901 c474      	inc	0xc474,#0x2
    bbd4:	84cc           	orb	rl4,rl4
    bbd6:	ee02           	jr	ne,0xbbdc
    bbd8:	cc10           	ldb	rl4,#0x10
    bbda:	e8fa           	jr	t,0xbbd0
    bbdc:	aac0           	decb	rl4,#0x1
    bbde:	6e0c c486      	ldb	0xc486,rl4
    bbe2:	6600 c494      	bitb	0xc494,#0x0
    bbe6:	ee08           	jr	ne,0xbbf8
    bbe8:	4204 c485      	subb	rh4,0xc485
    bbec:	ef02           	jr	nc/uge,0xbbf2
    bbee:	0004 1010      	addb	rh4,#0x10
    bbf2:	6e04 c487      	ldb	0xc487,rh4
    bbf6:	e808           	jr	t,0xbc08
    bbf8:	600c c484      	ldb	rl4,0xc484
    bbfc:	420c c485      	subb	rl4,0xc485
    bc00:	400c c484      	addb	rl4,0xc484
    bc04:	82c4           	subb	rh4,rl4
    bc06:	e8f2           	jr	t,0xbbec
    bc08:	6600 c6a1      	bitb	0xc6a1,#0x0
    bc0c:	ee03           	jr	ne,0xbc14
    bc0e:	bd44           	ldk	r4,#0x4
    bc10:	5e08 b154      	jp	t,0xb154
    bc14:	760e c46c      	lda	r14,0xc46c
    bc18:	21ef           	ld	r15,@r14
    bc1a:	9e08           	ret	t
    bc1c:	93f0           	push	@r15,r0
    bc1e:	6008 c948      	ldb	rl0,0xc948
    bc22:	0a08 0a0a      	cpb	rl0,#0xa
    bc26:	e606           	jr	eq,0xbc34
    bc28:	6008 c481      	ldb	rl0,0xc481
    bc2c:	6e08 c48d      	ldb	0xc48d,rl0
    bc30:	97f0           	pop	r0,@r15
    bc32:	9e08           	ret	t
    bc34:	6601 c210      	bitb	0xc210,#0x1
    bc38:	e6f7           	jr	eq,0xbc28
    bc3a:	6a00 c48c      	decb	0xc48c,#0x1
    bc3e:	e602           	jr	eq,0xbc44
    bc40:	c803           	ldb	rl0,#0x3
    bc42:	e8f4           	jr	t,0xbc2c
    bc44:	4c05 c48c 0303 	ldb	0xc48c,#0x3
    bc4a:	c804           	ldb	rl0,#0x4
    bc4c:	e8ef           	jr	t,0xbc2c
    bc4e:	6600 c482      	bitb	0xc482,#0x0
    bc52:	ee0b           	jr	ne,0xbc6a
    bc54:	bd46           	ldk	r4,#0x6
    bc56:	d582           	calr	0xb154
    bc58:	7601 b218      	lda	r1,0xb218
    bc5c:	c203           	ldb	rh2,#0x3
    bc5e:	6606 c210      	bitb	0xc210,#0x6
    bc62:	ee02           	jr	ne,0xbc68
    bc64:	aa20           	decb	rh2,#0x1
    bc66:	a910           	inc	r1,#0x1
    bc68:	d591           	calr	0xb148
    bc6a:	9e08           	ret	t
    bc6c:	5e08 b0fe      	jp	t,0xb0fe
    bc70:	c1ff           	ldb	rh1,#0xff
    bc72:	6009 c298      	ldb	rl1,0xc298
    bc76:	a694           	bitb	rl1,#0x4
    bc78:	e602           	jr	eq,0xbc7e
    bc7a:	6e01 c29b      	ldb	0xc29b,rh1
    bc7e:	a693           	bitb	rl1,#0x3
    bc80:	e603           	jr	eq,0xbc88
    bc82:	a695           	bitb	rl1,#0x5
    bc84:	e601           	jr	eq,0xbc88
    bc86:	8811           	xorb	rh1,rh1
    bc88:	6e01 c29d      	ldb	0xc29d,rh1
    bc8c:	5f00 ae00      	call	0xae00
    bc90:	4c08 c498      	clrb	0xc498
    bc94:	2100 4f4f      	ld	r0,#0x4f4f
    bc98:	3b14 2006      	in	r1,#0x2006
    bc9c:	4c04 c6aa      	testb	0xc6aa
    bca0:	e601           	jr	eq,0xbca4
    bca2:	a019           	ldb	rl1,rh1
    bca4:	0609 0404      	andb	rl1,#0x4
    bca8:	e6f7           	jr	eq,0xbc98
    bcaa:	3b06 2002      	out	#0x2002,r0
    bcae:	9e08           	ret	t
    bcb0:	4c08 c29d      	clrb	0xc29d
    bcb4:	2100 5353      	ld	r0,#0x5353
    bcb8:	e8ef           	jr	t,0xbc98
    bcba:	dffe           	calr	0xbcc0
    bcbc:	5e08 bdd8      	jp	t,0xbdd8
    bcc0:	3b04 2002      	in	r0,#0x2002
    bcc4:	4c04 c6aa      	testb	0xc6aa
    bcc8:	e601           	jr	eq,0xbccc
    bcca:	a008           	ldb	rl0,rh0
    bccc:	0608 7f7f      	andb	rl0,#0x7f
    bcd0:	2101 3030      	ld	r1,#0x3030
    bcd4:	3b16 2006      	out	#0x2006,r1
    bcd8:	a686           	bitb	rl0,#0x6
    bcda:	e608           	jr	eq,0xbcec
    bcdc:	0608 3c3c      	andb	rl0,#0x3c
    bce0:	4c05 c498 0404 	ldb	0xc498,#0x4
    bce6:	6e08 c499      	ldb	0xc499,rl0
    bcea:	9e08           	ret	t
    bcec:	6000 c498      	ldb	rh0,0xc498
    bcf0:	8400           	orb	rh0,rh0
    bcf2:	9e06           	ret	eq
    bcf4:	aa00           	decb	rh0,#0x1
    bcf6:	6e00 c498      	ldb	0xc498,rh0
    bcfa:	ee29           	jr	ne,0xbd4e
    bcfc:	6e08 c49c      	ldb	0xc49c,rl0
    bd00:	6600 c29c      	bitb	0xc29c,#0x0
    bd04:	e606           	jr	eq,0xbd12
    bd06:	6000 c234      	ldb	rh0,0xc234
    bd0a:	8400           	orb	rh0,rh0
    bd0c:	9e06           	ret	eq
    bd0e:	4c08 c29c      	clrb	0xc29c
    bd12:	7604 c499      	lda	r4,0xc499
    bd16:	7603 c49f      	lda	r3,0xc49f
    bd1a:	bd25           	ldk	r2,#0x5
    bd1c:	ba46 023e      	cpsirb	@r3,@r4,r2,ne
    bd20:	e601           	jr	eq,0xbd24
    bd22:	9e08           	ret	t
    bd24:	dfdf           	calr	0xbd68
    bd26:	8d44           	test	r4
    bd28:	9e06           	ret	eq
    bd2a:	7604 c498      	lda	r4,0xc498
    bd2e:	7603 c49e      	lda	r3,0xc49e
    bd32:	bd23           	ldk	r2,#0x3
    bd34:	bb41 0230      	ldir	@r3,@r4,r2
    bd38:	6000 c234      	ldb	rh0,0xc234
    bd3c:	8400           	orb	rh0,rh0
    bd3e:	9e0e           	ret	ne
    bd40:	4c05 c29c ffff 	ldb	0xc29c,#0xff
    bd46:	c0e8           	ldb	rh0,#0xe8
    bd48:	5f00 057e      	call	0x57e
    bd4c:	9e08           	ret	t
    bd4e:	aa00           	decb	rh0,#0x1
    bd50:	ee03           	jr	ne,0xbd58
    bd52:	6e08 c49d      	ldb	0xc49d,rl0
    bd56:	9e08           	ret	t
    bd58:	aa00           	decb	rh0,#0x1
    bd5a:	ee03           	jr	ne,0xbd62
    bd5c:	6e08 c49a      	ldb	0xc49a,rl0
    bd60:	9e08           	ret	t
    bd62:	6e08 c49b      	ldb	0xc49b,rl0
    bd66:	9e08           	ret	t
    bd68:	bd42           	ldk	r4,#0x2
    bd6a:	6602 c298      	bitb	0xc298,#0x2
    bd6e:	e616           	jr	eq,0xbd9c
    bd70:	6008 c499      	ldb	rl0,0xc499
    bd74:	4a08 c49f      	cpb	rl0,0xc49f
    bd78:	ee11           	jr	ne,0xbd9c
    bd7a:	6103 c49a      	ld	r3,0xc49a
    bd7e:	6102 c4a0      	ld	r2,0xc4a0
    bd82:	a921           	inc	r2,#0x2
    bd84:	8b23           	cp	r3,r2
    bd86:	ea0a           	jr	gt,0xbd9c
    bd88:	a933           	inc	r3,#0x4
    bd8a:	8b32           	cp	r2,r3
    bd8c:	ea07           	jr	gt,0xbd9c
    bd8e:	ab40           	dec	r4,#0x1
    bd90:	9e06           	ret	eq
    bd92:	6103 c49c      	ld	r3,0xc49c
    bd96:	6102 c4a2      	ld	r2,0xc4a2
    bd9a:	e8f3           	jr	t,0xbd82
    bd9c:	6008 c499      	ldb	rl0,0xc499
    bda0:	b286           	rrb	rl0,#0x2
    bda2:	0608 0f0f      	andb	rl0,#0xf
    bda6:	6e08 c299      	ldb	0xc299,rl0
    bdaa:	6100 c49a      	ld	r0,0xc49a
    bdae:	b282           	rlb	rl0,#0x2
    bdb0:	b204           	rrb	rh0,#0x1
    bdb2:	b28c           	rrcb	rl0,#0x1
    bdb4:	b204           	rrb	rh0,#0x1
    bdb6:	b28c           	rrcb	rl0,#0x1
    bdb8:	0600 0f0f      	andb	rh0,#0xf
    bdbc:	6f00 c31e      	ld	0xc31e,r0
    bdc0:	6101 c49c      	ld	r1,0xc49c
    bdc4:	b292           	rlb	rl1,#0x2
    bdc6:	b214           	rrb	rh1,#0x1
    bdc8:	b29c           	rrcb	rl1,#0x1
    bdca:	b214           	rrb	rh1,#0x1
    bdcc:	b29c           	rrcb	rl1,#0x1
    bdce:	0601 0f0f      	andb	rh1,#0xf
    bdd2:	6f01 c320      	ld	0xc320,r1
    bdd6:	9e08           	ret	t
    bdd8:	8900           	xor	r0,r0
    bdda:	2101 3838      	ld	r1,#0x3838
    bdde:	3b06 2004      	out	#0x2004,r0
    bde2:	3b16 2004      	out	#0x2004,r1
    bde6:	9e08           	ret	t
    bde8:	2102 2828      	ld	r2,#0x2828
    bdec:	3b26 2006      	out	#0x2006,r2
    bdf0:	e8f3           	jr	t,0xbdd8
    bdf2:	2100 1010      	ld	r0,#0x1010
    bdf6:	3b06 2006      	out	#0x2006,r0
    bdfa:	e8ee           	jr	t,0xbdd8
    bdfc:	3b04 2002      	in	r0,#0x2002
    be00:	2101 3030      	ld	r1,#0x3030
    be04:	3b16 2006      	out	#0x2006,r1
    be08:	e8e7           	jr	t,0xbdd8
    be0a:	ffff           	djnz	r15,0xbd0e
    be0c:	ffff           	djnz	r15,0xbd10
    be0e:	ffff           	djnz	r15,0xbd12
    be10:	ffff           	djnz	r15,0xbd14
    be12:	ffff           	djnz	r15,0xbd16
    be14:	ffff           	djnz	r15,0xbd18
    be16:	ffff           	djnz	r15,0xbd1a
    be18:	ffff           	djnz	r15,0xbd1c
    be1a:	ffff           	djnz	r15,0xbd1e
    be1c:	ffff           	djnz	r15,0xbd20
    be1e:	ffff           	djnz	r15,0xbd22
    be20:	ffff           	djnz	r15,0xbd24
    be22:	ffff           	djnz	r15,0xbd26
    be24:	ffff           	djnz	r15,0xbd28
    be26:	ffff           	djnz	r15,0xbd2a
    be28:	ffff           	djnz	r15,0xbd2c
    be2a:	ffff           	djnz	r15,0xbd2e
    be2c:	ffff           	djnz	r15,0xbd30
    be2e:	ffff           	djnz	r15,0xbd32
    be30:	ffff           	djnz	r15,0xbd34
    be32:	ffff           	djnz	r15,0xbd36
    be34:	ffff           	djnz	r15,0xbd38
    be36:	ffff           	djnz	r15,0xbd3a
    be38:	ffff           	djnz	r15,0xbd3c
    be3a:	ffff           	djnz	r15,0xbd3e
    be3c:	ffff           	djnz	r15,0xbd40
    be3e:	ffff           	djnz	r15,0xbd42
    be40:	ffff           	djnz	r15,0xbd44
    be42:	ffff           	djnz	r15,0xbd46
    be44:	ffff           	djnz	r15,0xbd48
    be46:	ffff           	djnz	r15,0xbd4a
    be48:	ffff           	djnz	r15,0xbd4c
    be4a:	ffff           	djnz	r15,0xbd4e
    be4c:	ffff           	djnz	r15,0xbd50
    be4e:	ffff           	djnz	r15,0xbd52
    be50:	ffff           	djnz	r15,0xbd54
    be52:	ffff           	djnz	r15,0xbd56
    be54:	ffff           	djnz	r15,0xbd58
    be56:	ffff           	djnz	r15,0xbd5a
    be58:	ffff           	djnz	r15,0xbd5c
    be5a:	ffff           	djnz	r15,0xbd5e
    be5c:	ffff           	djnz	r15,0xbd60
    be5e:	ffff           	djnz	r15,0xbd62
    be60:	ffff           	djnz	r15,0xbd64
    be62:	ffff           	djnz	r15,0xbd66
    be64:	ffff           	djnz	r15,0xbd68
    be66:	ffff           	djnz	r15,0xbd6a
    be68:	ffff           	djnz	r15,0xbd6c
    be6a:	ffff           	djnz	r15,0xbd6e
    be6c:	ffff           	djnz	r15,0xbd70
    be6e:	ffff           	djnz	r15,0xbd72
    be70:	ffff           	djnz	r15,0xbd74
    be72:	ffff           	djnz	r15,0xbd76
    be74:	ffff           	djnz	r15,0xbd78
    be76:	ffff           	djnz	r15,0xbd7a
    be78:	ffff           	djnz	r15,0xbd7c
    be7a:	ffff           	djnz	r15,0xbd7e
    be7c:	ffff           	djnz	r15,0xbd80
    be7e:	ffff           	djnz	r15,0xbd82
    be80:	ffff           	djnz	r15,0xbd84
    be82:	ffff           	djnz	r15,0xbd86
    be84:	ffff           	djnz	r15,0xbd88
    be86:	ffff           	djnz	r15,0xbd8a
    be88:	ffff           	djnz	r15,0xbd8c
    be8a:	ffff           	djnz	r15,0xbd8e
    be8c:	ffff           	djnz	r15,0xbd90
    be8e:	ffff           	djnz	r15,0xbd92
    be90:	ffff           	djnz	r15,0xbd94
    be92:	ffff           	djnz	r15,0xbd96
    be94:	ffff           	djnz	r15,0xbd98
    be96:	ffff           	djnz	r15,0xbd9a
    be98:	ffff           	djnz	r15,0xbd9c
    be9a:	ffff           	djnz	r15,0xbd9e
    be9c:	ffff           	djnz	r15,0xbda0
    be9e:	ffff           	djnz	r15,0xbda2
    bea0:	ffff           	djnz	r15,0xbda4
    bea2:	ffff           	djnz	r15,0xbda6
    bea4:	ffff           	djnz	r15,0xbda8
    bea6:	ffff           	djnz	r15,0xbdaa
    bea8:	ffff           	djnz	r15,0xbdac
    beaa:	ffff           	djnz	r15,0xbdae
    beac:	ffff           	djnz	r15,0xbdb0
    beae:	ffff           	djnz	r15,0xbdb2
    beb0:	ffff           	djnz	r15,0xbdb4
    beb2:	ffff           	djnz	r15,0xbdb6
    beb4:	ffff           	djnz	r15,0xbdb8
    beb6:	ffff           	djnz	r15,0xbdba
    beb8:	ffff           	djnz	r15,0xbdbc
    beba:	ffff           	djnz	r15,0xbdbe
    bebc:	ffff           	djnz	r15,0xbdc0
    bebe:	ffff           	djnz	r15,0xbdc2
    bec0:	ffff           	djnz	r15,0xbdc4
    bec2:	ffff           	djnz	r15,0xbdc6
    bec4:	ffff           	djnz	r15,0xbdc8
    bec6:	ffff           	djnz	r15,0xbdca
    bec8:	ffff           	djnz	r15,0xbdcc
    beca:	ffff           	djnz	r15,0xbdce
    becc:	ffff           	djnz	r15,0xbdd0
    bece:	ffff           	djnz	r15,0xbdd2
    bed0:	ffff           	djnz	r15,0xbdd4
    bed2:	ffff           	djnz	r15,0xbdd6
    bed4:	ffff           	djnz	r15,0xbdd8
    bed6:	ffff           	djnz	r15,0xbdda
    bed8:	ffff           	djnz	r15,0xbddc
    beda:	ffff           	djnz	r15,0xbdde
    bedc:	ffff           	djnz	r15,0xbde0
    bede:	ffff           	djnz	r15,0xbde2
    bee0:	ffff           	djnz	r15,0xbde4
    bee2:	ffff           	djnz	r15,0xbde6
    bee4:	ffff           	djnz	r15,0xbde8
    bee6:	ffff           	djnz	r15,0xbdea
    bee8:	ffff           	djnz	r15,0xbdec
    beea:	ffff           	djnz	r15,0xbdee
    beec:	ffff           	djnz	r15,0xbdf0
    beee:	ffff           	djnz	r15,0xbdf2
    bef0:	ffff           	djnz	r15,0xbdf4
    bef2:	ffff           	djnz	r15,0xbdf6
    bef4:	ffff           	djnz	r15,0xbdf8
    bef6:	ffff           	djnz	r15,0xbdfa
    bef8:	ffff           	djnz	r15,0xbdfc
    befa:	ffff           	djnz	r15,0xbdfe
    befc:	ffff           	djnz	r15,0xbe00
    befe:	ffff           	djnz	r15,0xbe02
    bf00:	ffff           	djnz	r15,0xbe04
    bf02:	ffff           	djnz	r15,0xbe06
    bf04:	ffff           	djnz	r15,0xbe08
    bf06:	ffff           	djnz	r15,0xbe0a
    bf08:	ffff           	djnz	r15,0xbe0c
    bf0a:	ffff           	djnz	r15,0xbe0e
    bf0c:	ffff           	djnz	r15,0xbe10
    bf0e:	ffff           	djnz	r15,0xbe12
    bf10:	ffff           	djnz	r15,0xbe14
    bf12:	ffff           	djnz	r15,0xbe16
    bf14:	ffff           	djnz	r15,0xbe18
    bf16:	ffff           	djnz	r15,0xbe1a
    bf18:	ffff           	djnz	r15,0xbe1c
    bf1a:	ffff           	djnz	r15,0xbe1e
    bf1c:	ffff           	djnz	r15,0xbe20
    bf1e:	ffff           	djnz	r15,0xbe22
    bf20:	ffff           	djnz	r15,0xbe24
    bf22:	ffff           	djnz	r15,0xbe26
    bf24:	ffff           	djnz	r15,0xbe28
    bf26:	ffff           	djnz	r15,0xbe2a
    bf28:	ffff           	djnz	r15,0xbe2c
    bf2a:	ffff           	djnz	r15,0xbe2e
    bf2c:	ffff           	djnz	r15,0xbe30
    bf2e:	ffff           	djnz	r15,0xbe32
    bf30:	ffff           	djnz	r15,0xbe34
    bf32:	ffff           	djnz	r15,0xbe36
    bf34:	ffff           	djnz	r15,0xbe38
    bf36:	ffff           	djnz	r15,0xbe3a
    bf38:	ffff           	djnz	r15,0xbe3c
    bf3a:	ffff           	djnz	r15,0xbe3e
    bf3c:	ffff           	djnz	r15,0xbe40
    bf3e:	ffff           	djnz	r15,0xbe42
    bf40:	ffff           	djnz	r15,0xbe44
    bf42:	ffff           	djnz	r15,0xbe46
    bf44:	ffff           	djnz	r15,0xbe48
    bf46:	ffff           	djnz	r15,0xbe4a
    bf48:	ffff           	djnz	r15,0xbe4c
    bf4a:	ffff           	djnz	r15,0xbe4e
    bf4c:	ffff           	djnz	r15,0xbe50
    bf4e:	ffff           	djnz	r15,0xbe52
    bf50:	ffff           	djnz	r15,0xbe54
    bf52:	ffff           	djnz	r15,0xbe56
    bf54:	ffff           	djnz	r15,0xbe58
    bf56:	ffff           	djnz	r15,0xbe5a
    bf58:	ffff           	djnz	r15,0xbe5c
    bf5a:	ffff           	djnz	r15,0xbe5e
    bf5c:	ffff           	djnz	r15,0xbe60
    bf5e:	ffff           	djnz	r15,0xbe62
    bf60:	ffff           	djnz	r15,0xbe64
    bf62:	ffff           	djnz	r15,0xbe66
    bf64:	ffff           	djnz	r15,0xbe68
    bf66:	ffff           	djnz	r15,0xbe6a
    bf68:	ffff           	djnz	r15,0xbe6c
    bf6a:	ffff           	djnz	r15,0xbe6e
    bf6c:	ffff           	djnz	r15,0xbe70
    bf6e:	ffff           	djnz	r15,0xbe72
    bf70:	ffff           	djnz	r15,0xbe74
    bf72:	ffff           	djnz	r15,0xbe76
    bf74:	ffff           	djnz	r15,0xbe78
    bf76:	ffff           	djnz	r15,0xbe7a
    bf78:	ffff           	djnz	r15,0xbe7c
    bf7a:	ffff           	djnz	r15,0xbe7e
    bf7c:	ffff           	djnz	r15,0xbe80
    bf7e:	ffff           	djnz	r15,0xbe82
    bf80:	ffff           	djnz	r15,0xbe84
    bf82:	ffff           	djnz	r15,0xbe86
    bf84:	ffff           	djnz	r15,0xbe88
    bf86:	ffff           	djnz	r15,0xbe8a
    bf88:	ffff           	djnz	r15,0xbe8c
    bf8a:	ffff           	djnz	r15,0xbe8e
    bf8c:	ffff           	djnz	r15,0xbe90
    bf8e:	ffff           	djnz	r15,0xbe92
    bf90:	ffff           	djnz	r15,0xbe94
    bf92:	ffff           	djnz	r15,0xbe96
    bf94:	ffff           	djnz	r15,0xbe98
    bf96:	ffff           	djnz	r15,0xbe9a
    bf98:	ffff           	djnz	r15,0xbe9c
    bf9a:	ffff           	djnz	r15,0xbe9e
    bf9c:	ffff           	djnz	r15,0xbea0
    bf9e:	ffff           	djnz	r15,0xbea2
    bfa0:	ffff           	djnz	r15,0xbea4
    bfa2:	ffff           	djnz	r15,0xbea6
    bfa4:	ffff           	djnz	r15,0xbea8
    bfa6:	ffff           	djnz	r15,0xbeaa
    bfa8:	ffff           	djnz	r15,0xbeac
    bfaa:	ffff           	djnz	r15,0xbeae
    bfac:	ffff           	djnz	r15,0xbeb0
    bfae:	ffff           	djnz	r15,0xbeb2
    bfb0:	ffff           	djnz	r15,0xbeb4
    bfb2:	ffff           	djnz	r15,0xbeb6
    bfb4:	ffff           	djnz	r15,0xbeb8
    bfb6:	ffff           	djnz	r15,0xbeba
    bfb8:	ffff           	djnz	r15,0xbebc
    bfba:	ffff           	djnz	r15,0xbebe
    bfbc:	ffff           	djnz	r15,0xbec0
    bfbe:	ffff           	djnz	r15,0xbec2
    bfc0:	ffff           	djnz	r15,0xbec4
    bfc2:	ffff           	djnz	r15,0xbec6
    bfc4:	ffff           	djnz	r15,0xbec8
    bfc6:	ffff           	djnz	r15,0xbeca
    bfc8:	ffff           	djnz	r15,0xbecc
    bfca:	ffff           	djnz	r15,0xbece
    bfcc:	ffff           	djnz	r15,0xbed0
    bfce:	ffff           	djnz	r15,0xbed2
    bfd0:	ffff           	djnz	r15,0xbed4
    bfd2:	ffff           	djnz	r15,0xbed6
    bfd4:	ffff           	djnz	r15,0xbed8
    bfd6:	ffff           	djnz	r15,0xbeda
    bfd8:	ffff           	djnz	r15,0xbedc
    bfda:	ffff           	djnz	r15,0xbede
    bfdc:	ffff           	djnz	r15,0xbee0
    bfde:	ffff           	djnz	r15,0xbee2
    bfe0:	ffff           	djnz	r15,0xbee4
    bfe2:	ffff           	djnz	r15,0xbee6
    bfe4:	ffff           	djnz	r15,0xbee8
    bfe6:	ffff           	djnz	r15,0xbeea
    bfe8:	ffff           	djnz	r15,0xbeec
    bfea:	ffff           	djnz	r15,0xbeee
    bfec:	ffff           	djnz	r15,0xbef0
    bfee:	ffff           	djnz	r15,0xbef2
    bff0:	ffff           	djnz	r15,0xbef4
    bff2:	ffff           	djnz	r15,0xbef6
    bff4:	ffff           	djnz	r15,0xbef8
    bff6:	ffff           	djnz	r15,0xbefa
    bff8:	ffff           	djnz	r15,0xbefc
    bffa:	ffff           	djnz	r15,0xbefe
    bffc:	ffff           	djnz	r15,0xbf00
    bffe:	4890

