 opt 0			; désactiver opts (sinon erreurs dans routines gfx)

; a5 pointe en permanence ici, pour les jsr xx(a5)
u0000 jmp u0624
u0006 jmp u09dc
u000c jmp u1f2a		; ce n'est pas du code !
u0012 jmp u1e50
u0018 jmp u1f32		; ce n'est pas du code !
u001e jmp u1c6e
u0024 jmp u2fd2
u002a jmp u0af6
u0030 jmp u0f4a
u0036 jmp u10ae
u003c jmp u0ac0
u0042 jmp u13e4
u0048 jmp u31d6
u004e jmp u135c
u0054 jmp u0a84
u005a jmp u3264
u0060 jmp u2164
u0066 jmp u3222
u006c jmp u32ba
u0072 jmp u3048
u0078 jmp u31e8
u007e jmp u100e
u0084 jmp u1050
u008a jmp u1f2c		; ce n'est pas du code !
u0090 jmp u1030
u0096 jmp u1cf8
u009c jmp u1074
u00a2 jmp u0f7e
u00a8 jmp u3026
u00ae jmp u144e
u00b4 jmp u1d16
u00ba jmp u1c02
u00c0 jmp u1aa8
u00c6 jmp u31c4
u00cc jmp u0efc
u00d2 jmp u0ff8
u00d8 jmp u0fe2
u00de jmp u2336
u00e4 jmp u23b0
u00ea jmp u0fd2
u00f0 jmp u1c16
u00f6 jmp u2480
u00fc jmp u20ca
u0102 jmp u091c
u0108 jmp u1c42
u010e jmp u25a6
u0114 jmp u306c
u011a jmp u187e
u0120 jmp u219a
u0126 jmp u2f70
u012c jmp u30b8
u0132 jmp u2ef4
u0138 jmp u1ce8
u013e jmp u2036		; ce n'est pas du code !
u0144 jmp u2456
u014a jmp u1188
u0150 jmp u133e
u0156 jmp u1d0c
u015c jmp u0ec6
u0162 jmp u12a0
u0168 jmp u3158
u016e jmp u17d0
u0174 jmp u32e4
u017a jmp u154c
u0180 jmp u1f2e		; ce n'est pas du code !
u0186 jmp u114c
u018c jmp u327c
u0192 jmp u2572
u0198 jmp u1098
u019e jmp u0fb2
u01a4 jmp u1534
u01aa jmp u30e6
u01b0 jmp u0850
u01b6 jmp u332a
u01bc jmp u9134
u01c2 jmp u432c
u01c8 jmp u8e40
u01ce jmp u8e84
u01d4 jmp u3932
u01da jmp u84bc
u01e0 jmp u88d6
u01e6 jmp u805e
u01ec jmp u42fe
u01f2 jmp u90a2
u01f8 jmp u383e
u01fe jmp u4590
u0204 jmp u907c
u020a jmp u388e
u0210 jmp ub75e
u0216 jmp ucbea
u021c jmp u97fa
u0222 jmp u9a26
u0228 jmp ua0d4
u022e jmp u99d8
u0234 jmp u920a
u023a jmp u9646
u0240 jmp u94fe
u0246 jmp u9ab8
u024c jmp udd9c
u0252 jmp u9696
u0258 jmp udd16
u025e jmp ub086
u0264 jmp ubd64
u026a jmp u9494
u0270 jmp uab92
u0276 jmp ub546
u027c jmp ua9f8
u0282 jmp uaf3e
u0288 jmp ub6d0
u028e jmp u9c72
u0294 jmp u99f6
u029a jmp uafe0
u02a0 jmp ubbe2
u02a6 jmp uabd2
u02ac jmp ub214
u02b2 jmp uacc2
u02b8 jmp ua5be
u02be jmp ub5a4
u02c4 jmp ube2a
u02ca jmp u9178
u02d0 jmp ua192
u02d6 jmp ub050
u02dc jmp uaac0
u02e2 jmp ubd94
u02e8 jmp ua2a0
u02ee jmp u93f8
u02f4 jmp u9b2c
u02fa jmp u94d2
u0300 jmp ub176
u0306 jmp u932c
u030c jmp u9928
u0312 jmp u99a8
u0318 jmp uad3c
u031e jmp u9824
u0324 jmp u9aec
u032a jmp u9536
u0330 jmp u95bc
u0336 jmp u960c
u033c jmp ubb10
u0342 jmp u9574
u0348 jmp uf1de
u034e jmp uf5de
u0354 jmp v341a
u035a jmp ufd78
u0360 jmp uffa8
u0366 jmp v001a
u036c jmp uf566
u0372 jmp ufe4c
u0378 jmp v38f2
u037e jmp uf524
u0384 jmp v16e2
u038a jmp ue1b2
u0390 jmp v2b0e
u0396 jmp uf6f0
u039c jmp ue1d6
u03a2 jmp v1fd0
u03a8 jmp uddb4
u03ae jmp v1710
u03b4 jmp ue92a
u03ba jmp uf98c
u03c0 jmp udf04
u03c6 jmp uf39c
u03cc jmp ufe2a
u03d2 jmp ufc7c
u03d8 jmp uf74a
u03de jmp v1c74
u03e4 jmp v2f46
u03ea jmp v7100
u03f0 jmp v4400
u03f6 jmp v5fb6
u03fc jmp v47e6
u0402 jmp v650e
u0408 jmp v6616
u040e jmp v9366
u0414 jmp v674a
u041a jmp v9582
u0420 jmp v66a8
u0426 jmp v7612
u042c jmp v7530
u0432 jmp v77f8
u0438 jmp v4834
u043e jmp v758e
u0444 jmp v77d0
u044a jmp v93b6
u0450 jmp v8bbe
u0456 jmp v730c
u045c jmp v5ea4
u0462 jmp v47a4
u0468 jmp v64be
u046e jmp v6a40
u0474 jmp v470e
u047a jmp v575c
u0480 jmp v74c2
u0486 jmp v5802
u048c jmp v65a0
u0492 jmp v81ee
u0498 jmp v3984
u049e jmp v9326
u04a4 jmp v4e78
u04aa jmp v545a
u04b0 jmp v92aa
u04b6 jmp v78ba
u04bc jmp v6a84
u04c2 jmp v55a0
u04c8 jmp v90da
u04ce jmp v8072
u04d4 jmp v60f2
u04da jmp v542e
u04e0 jmp v7e60
u04e6 jmp v5ce4
u04ec jmp v6b0e
u04f2 jmp v5afe
u04f8 jmp v3a56
u04fe jmp v6eec
u0504 jmp v6ba8
u050a jmp v7446
u0510 jmp vb29c
u0516 jmp vcfae
u051c jmp va88e
u0522 jmp vb98a
u0528 jmp vb95c
u052e jmp v95fc
u0534 jmp vb802
u053a jmp vb376
u0540 jmp va858
u0546 jmp v9894
u054c jmp vb5ea
u0552 jmp vb174
u0558 jmp v969c
u055e jmp v979c
u0564 jmp v9d7a
u056a jmp vb00e
u0570 jmp vdf76
u0576 jmp w1814
u057c jmp w0c96
u0582 jmp vfeb8
u0588 jmp ve31a
u058e jmp w17ea
u0594 jmp w03ce
u059a jmp w1486
u05a0 jmp vfdfa
u05a6 jmp w0c40
u05ac jmp w166a
u05b2 jmp w2428
u05b8 jmp w315a
u05be jmp w1ca2
u05c4 jmp w342e
u05ca jmp w1cca
u05d0 jmp w18b6
u05d6 jmp w1c26
u05dc jmp w3244
u05e2 jmp w20d2
u05e8 jmp w21a2
u05ee jmp w2264
u05f4 jmp w3202
u05fa jmp w2200
u0600 jmp w2240
u0606 jmp w3050
u060c jmp w3228
u0612 jmp w27b4
u0618 jmp w2f2a
u061e jmp w2f5c
u0624 movea.l 4(a7),a5
 move.l $1c(a5),d6
 move.l $c(a5),d0
 add.l $14(a5),d0
 add.l d6,d0
 add.l #$8d0,d0
 move.l d0,d1
 add.l a5,d0
 andi.w #$fffe,d0
 movea.l d0,a7
 move.l d1,-(a7)
 move.l a5,-(a7)
 clr.w -(a7)
 move.w #$4a,-(a7)
 trap #1
 adda.w #$c,a7
 movea.l $18(a5),a0
 movea.l a0,a1
 adda.l d6,a1
 move.l $14(a5),d0
 subq.l #1,d0
 ble.s u066c
u0666 move.b -(a0),-(a1)
 dbf d0,u0666
u066c movea.l $10(a5),a0
 move.l d6,d0
 movea.l a0,a4
 adda.l d6,a4
 subq.l #1,d0
u0678 clr.b (a0)+
 dbf d0,u0678
 move.l a5,-4(a4)
 movea.l 8(a5),a5
 jsr $1b6(a5)
 jmp u08f2(pc)
u068e link a6,#0
 move.w #$a,-$2dd0(a4)
u0698 clr.w -$2dce(a4)
 cmpi.w #$ffff,-$2de4(a4)
 beq.s u06d0
u06a4 move.w -$2de4(a4),-(a7)
 jsr u0850(pc)
 addq.l #2,a7
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 clr.w -(a7)
 move.l #$ffffffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w #$ffff,-$2de4(a4)
 jsr $52e(a5)
u06d0 jsr $3ae(a5)
 cmpi.w #$ffff,-$2de4(a4)
 beq.s u06de
 bra.s u06a4
u06de move.w -$40e6(a4),d0
 bne.s u0730
 move.w -$2daa(a4),d0
 bne.s u0730
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w -$2dba(a4),-(a7)
 jsr $1e6(a5)
 addq.l #6,a7
 move.w -$2de0(a4),d0
 beq.s u0718
 clr.w -$2de0(a4)
 jsr u2fd2(pc)
 move.l -$40bc(a4),-(a7)
 jsr u2480(pc)
 addq.l #4,a7
 jsr u3026(pc)
u0718 move.w -$2de2(a4),d0
 beq.s u0730
 clr.w -$2de2(a4)
 move.w #1,-$5a6e(a4)
 jsr u2fd2(pc)
 jsr u3026(pc)
u0730 jsr $546(a5)
 jsr u2336(pc)
 jsr $4fe(a5)
 move.w -$2db0(a4),d0
 beq.s u0746
 bra u084c
u0746 addq.l #1,-$2dc6(a4)
 move.l -$2dc6(a4),d0
 and.w #$1ff,d0
 bne.s u0758
 jsr $492(a5)
u0758 move.b -$33d7(a4),d0
 beq.s u0762
 subq.b #1,-$33d7(a4)
u0762 jsr $53a(a5)
 move.l -$2dc6(a4),d0
 move.w -$2daa(a4),d1
 beq.s u0776
 move.w #$f,d1
 bra.s u077a
u0776 move.w #$3f,d1
u077a and.w d1,d0
 bne.s u0782
 jsr $4b6(a5)
u0782 move.w -$2dbe(a4),d0
 beq.s u078c
 subq.w #1,-$2dbe(a4)
u078c move.w -$2dc0(a4),d0
 beq.s u0796
 subq.w #1,-$2dc0(a4)
u0796 jsr u18f6(pc)
 move.l -$32ce(a4),d0
 move.l -$2dc6(a4),d1
 cmp.l d1,d0
 bge.s u07b0
 move.w #$3c,-(a7)
 jsr u0efc(pc)
 addq.l #2,a7
u07b0 clr.w -$2dd8(a4)
u07b4 bra.s u07c8
u07b6 move.w #7,-(a7)
 jsr u1cf8(pc)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $55e(a5)
 addq.l #4,a7
u07c8 move.w #$b,-(a7)
 jsr u1cf8(pc)
 addq.l #2,a7
 tst.w d0
 bne.s u07b6
 move.w -$2dee(a4),d0
 beq.s u07ea
 clr.w -$2dec(a4)
 clr.w -$2dee(a4)
 jsr $49e(a5)
 bra.s u07fc
u07ea move.w -$2df2(a4),d0
 beq.s u07fc
 clr.w -$2df0(a4)
 clr.w -$2df2(a4)
 jsr $4c8(a5)
u07fc jsr $51c(a5)
 move.w -$2dd8(a4),d0
 bne.s u080a
 jsr $546(a5)
u080a move.w -$2dd8(a4),d0
 beq.s u07b4
 move.w -$2dac(a4),d0
 beq.s u07b4
 move.l -$2dc6(a4),d0
 and.w #$3f,d0
 bne.s u0848
 move.w -$2dca(a4),d0
 move.w -$2dcc(a4),d1
 not.w d1
 and.w d1,d0
 beq.s u0848
 jsr $5a6(a5)
 clr.w -(a7)
 move.w #2,-(a7)
 jsr $570(a5)
 addq.l #4,a7
 jsr $57c(a5)
 move.w -$2dca(a4),-$2dcc(a4)
u0848 bra u0698
u084c unlk a6
 rts
u0850 link a6,#-$a
 jsr $264(a5)
 move.w 8(a6),-(a7)
 jsr $2dc(a5)
 addq.l #2,a7
 jsr $1d4(a5)
 move.l -$2dc6(a4),d0
 sub.l -$40d8(a4),d0
 cmpi.l #$1f4,d0
 ble.s u08e6
 move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.l d0,-$40d8(a4)
 move.b #$16,-6(a6)
 move.l -$40d8(a4),d0
 addq.l #2,d0
 move.w 8(a6),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 clr.w -(a7)
 clr.w -(a7)
 jsr $570(a5)
 addq.l #4,a7
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #7,-(a7)
 clr.w -(a7)
 clr.l -(a7)
 pea -$2d9e(a4)
 move.w #8,-(a7)
 jsr u1ce8(pc)
 adda.w #$14,a7
 move.w #$459,-$4b12(a4)
 move.w #$ff,-$396(a4)
 move.w #$22b,-$72a(a4)
u08e6 jsr $2e2(a5)
 jsr $4ce(a5)
 unlk a6
 rts
u08f2 link a6,#0
 lea u0b2c(pc),a0
 move.l a4,(a0)
 lea u0b30(pc),a0
 move.l a5,(a0)
 jsr $5ac(a5)
u0906 jsr u068e(pc)
 move.w -$2db0(a4),-(a7)
 jsr $582(a5)
 addq.l #2,a7
 bra.s u0906
 unlk a6
 rts
 rts
u091c link a6,#0
 movem.l d4-d7,-(a7)
 movea.l -$2ece(a4),a0
 move.w $c(a6),d5
 move.w $e(a6),d0
 sub.w d5,d0
 mulu #$a0,d5
 adda.w d5,a0
 move.w 8(a6),d5
 move.w d5,d6
 lsr.w #1,d5
 andi.w #$f8,d5
 move.w d5,d7
 adda.w d5,a0
 addq.l #4,a0
 andi.w #$f,d6
 move.w #$ffff,d3
 move.w d3,d4
 lsr.w d6,d3
 move.w $a(a6),d5
 move.w d5,d6
 lsr.w #1,d6
 andi.w #$f8,d6
 andi.w #$f,d5
 neg.w d5
 addi.w #$f,d5
 lsl.w d5,d4
 cmp.w d6,d7
 beq.s u09b8
 move.w d6,d1
 sub.w d7,d1
 subq.w #8,d1
 lsr.w #3,d1
u097a lea $a0(a0),a1
 move.w (a0),d5
 move.w d5,d6
 not.w d5
 and.w d3,d5
 move.w d3,d7
 not.w d7
 and.w d7,d6
 or.w d5,d6
 move.w d6,(a0)
 addq.l #8,a0
 move.w d1,d2
 bra.s u099a
u0996 not.w (a0)
 addq.l #8,a0
u099a dbf d2,u0996
 move.w (a0),d5
 move.w d5,d6
 not.w d5
 and.w d4,d5
 move.w d4,d7
 not.w d7
 and.w d7,d6
 or.w d5,d6
 move.w d6,(a0)
 movea.l a1,a0
 dbf d0,u097a
 bra.s u09d4
u09b8 and.w d4,d3
u09ba move.w (a0),d5
 move.w d5,d6
 not.w d5
 and.w d3,d5
 move.w d3,d7
 not.w d7
 and.w d7,d6
 or.w d5,d6
 move.w d6,(a0)
 lea $a0(a0),a0
 dbf d0,u09ba
u09d4 movem.l (a7)+,d4-d7
 unlk a6
 rts
u09dc link a6,#0
 movem.l d4-d7/a2-a6,-(a7)
 move.w $10(a6),d7
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.l a3,d0
 move.l a2,d1
 andi.w #1,d0
 beq.s u0a02
 andi.w #1,d1
 bne.s u0a22
 bra.s u0a1a
u0a02 andi.w #1,d1
 beq.s u0a28
 bra.s u0a1a
u0a0a move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
 move.b (a3)+,(a2)+
u0a1a subq.w #8,d7
 bpl.s u0a0a
 addq.w #8,d7
 bra.s u0a78
u0a22 subq.w #1,d7
 bmi.s u0a7c
 move.b (a3)+,(a2)+
u0a28 cmpa.l a2,a3
 bpl.s u0a6a
 adda.w d7,a3
 adda.w d7,a2
 moveq #1,d6
 and.w d7,d6
 beq.s u0a4a
 subq.w #1,d7
 bmi.s u0a7c
 move.b -(a3),-(a2)
 bra.s u0a4a
u0a3e lea -$30(a3),a3
 movem.l (a3),d0-d6/a0-a1/a4-a6
 movem.l d0-d6/a0-a1/a4-a6,-(a2)
u0a4a subi.w #$30,d7
 bpl.s u0a3e
 addi.w #$30,d7
 bra.s u0a58
u0a56 move.b -(a3),-(a2)
u0a58 dbf d7,u0a56
 bra.s u0a7c
u0a5e movem.l (a3)+,d0-d6/a0-a1/a4-a6
 movem.l d0-d6/a0-a1/a4-a6,(a2)
 lea $30(a2),a2
u0a6a subi.w #$30,d7
 bpl.s u0a5e
 addi.w #$30,d7
 bra.s u0a78
u0a76 move.b (a3)+,(a2)+
u0a78 dbf d7,u0a76
u0a7c movem.l (a7)+,d4-d7/a2-a6
 unlk a6
 rts
u0a84 link a6,#0
 movem.l d4-d7/a2-a6,-(a7)
 move.w $c(a6),d0
 movea.l 8(a6),a0
 adda.w d0,a0
 subi.w #$34,d0
 bmi.s u0aac
 movem.l -$2e8a(a4),d1-d7/a1-a6
u0aa2 movem.l d1-d7/a1-a6,-(a0)
 subi.w #$34,d0
 bpl.s u0aa2
u0aac addi.w #$34,d0
 bra.s u0ab4
u0ab2 clr.b -(a0)
u0ab4 dbf d0,u0ab2
 movem.l (a7)+,d4-d7/a2-a6
 unlk a6
 rts
u0ac0 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.b $f(a6),d6
 move.w $10(a6),d5
 cmpi.w #1,d5
 beq.s u0ae8
u0ade move.b d6,(a3)
 adda.w d5,a3
 subq.w #1,d7
 bne.s u0ade
 bra.s u0aee
u0ae8 move.b d6,(a3)+
 subq.w #1,d7
 bne.s u0ae8
u0aee movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
u0af6 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w $10(a6),d5
 cmpi.w #2,d5
 beq.s u0b1e
u0b14 move.w d6,(a3)
 adda.w d5,a3
 subq.w #1,d7
 bne.s u0b14
 bra.s u0b24
u0b1e move.w d6,(a3)+
 subq.w #1,d7
 bne.s u0b1e
u0b24 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
u0b2c ds.l 1
u0b30 ds.l 1
u0b34 rte
u0b36 move.w d0,-(a7)
 move.w sr,d0
 andi.w #$f8ff,d0
 ori.w #$500,d0
 move.w d0,sr
 move.w (a7)+,d0
u0b46 jmp 0
u0b4c movem.l a0/a4,-(a7)
 movea.l u0b2c(pc),a4
 movea.w #$fa00,a0
 tst.w -$2ed4(a4)
 bne.s u0b86
 clr.b $1b(a0)
 move.b #$8b,$21(a0)
 move.b #8,$1b(a0)
 movem.l d0-d7,-(a7)
 movem.l -$2eaa(a4),d0-d7
 movem.l d0-d7,$ffff8240
 addq.w #1,-$2ed4(a4)
 bra.s u0ba4
u0b86 movem.l d0-d7,-(a7)
 movem.l -$2eca(a4),d0-d7
 movem.l d0-d7,$ffff8240
 andi.b #$fe,$13(a0)
 andi.b #$fe,7(a0)
u0ba4 bclr #0,$f(a0)
 movem.l (a7)+,d0-d7/a0/a4
 rte
u0bb0 tst.w -$5ac4(a4)
 bpl.s u0bc6
 move.w -$2dc8(a4),d1
 or.w d1,-$2dca(a4)
 clr.w -$2dc8(a4)
 clr.w -$5ac4(a4)
u0bc6 tst.w -$5a68(a4)
 bne.s u0bce
 rts
u0bce tst.w d0
 bne.s u0c32
 tst.w -$3274(a4)
 blt.s u0bde
 cmpi.w #$97,d5
 bcc.s u0c32
u0bde tst.w -$2dde(a4)
 beq.s u0c24
 cmpi.w #$a9,d5
 bge.s u0c24
 cmpi.w #$e0,d4
 bge.s u0c0c
 tst.w -$5a72(a4)
 beq.s u0c04
 tst.w -$5a76(a4)
 beq.s u0c04
 cmpi.w #$17,d5
 ble.s u0c24
 bra.s u0c32
u0c04 cmpi.w #$10,d5
 blt.s u0c24
 bra.s u0c32
u0c0c tst.w -$5a72(a4)
 beq.s u0c24
 cmpi.w #$1c,d5
 bgt.s u0c24
 cmpi.w #$17,d5
 ble.s u0c24
 cmpi.w #$e8,d4
 blt.s u0c32
u0c24 tst.w -$2dfe(a4)
 beq.s u0c30
 cmpi.w #$c0,d4
 bge.s u0c32
u0c30 rts
u0c32 moveq #1,d0
 jsr u289a(pc)
 rts
u0c3a movem.l d0-d5/a0/a4-a5,-(a7)
 movea.l u0b2c(pc),a4
 movea.l u0b30(pc),a5
 tst.w -$2dde(a4)
 beq.s u0c52
 move.w -$2ddc(a4),-$2dda(a4)
u0c52 tst.w -$2dda(a4)
 beq.s u0c7c
 clr.w -$2ed4(a4)
 movea.w #$fa00,a0
 clr.b $1b(a0)
 move.b #$1f,$21(a0)
 move.b #8,$1b(a0)
 ori.b #1,$13(a0)
 ori.b #1,7(a0)
u0c7c tst.w -$2ed6(a4)
 beq.s u0c8c
 addq.w #1,-$2ed6(a4)
 movem.l (a7)+,d0-d5/a0/a4-a5
 rte
u0c8c addq.w #1,-$2ed6(a4)
u0c90 move.w sr,d0
 andi.w #$f8ff,d0
 ori.w #$300,d0
 move.w d0,sr
 tst.w -$5a6a(a4)
 bne u0e78
 moveq #0,d0
 move.l -$5a5c(a4),d3
 move.l d3,-$5a60(a4)
 move.l d3,d2
 swap d2
 move.w -$5a78(a4),d4
 move.w -$5a7a(a4),d5
 tst.w -$5a70(a4)
 beq.s u0cd8
 cmpi.w #$112,d3
 blt.s u0ccc
 cmpi.w #$1c,d2
 ble.s u0cd8
u0ccc movem.l d0-d3/a0-a1,-(a7)
 jsr u2818(pc)
 movem.l (a7)+,d0-d3/a0-a1
u0cd8 move.w -$5a64(a4),d0
 clr.w -$5a64(a4)
 tst.w -$5a62(a4)
 beq.s u0cfa
 tst.w -$5a6e(a4)
 bne.s u0cfa
 cmp.w d3,d4
 bne.s u0cfa
 cmp.w d2,d5
 bne.s u0cfa
 moveq #1,d0
 clr.w -$5a62(a4)
u0cfa jsr u0bb0(pc)
 move.l a0,-(a7)
 lea -$73a(a4),a0
 tst.w -$14(a0)
 bne.s u0d20
 tst.w -$2de6(a4)
 bne.s u0d20
 movem.l d0-d3/a0-a1,-(a7)
 jsr $1fe(a5)
 movem.l (a7)+,d0-d3/a0-a1
 addq.w #5,-$2de6(a4)
u0d20 movea.l (a7)+,a0
 tst.w d0
 beq.s u0d32
 cmpi.w #$f,d2
 bhi.s u0d32
 jsr u2c9e(pc)
 moveq #0,d0
u0d32 tst.w -$3274(a4)
 blt.s u0d6c
 movem.l d0-d3/a0-a1,-(a7)
 move.w #$1b,d1
 sub.w -$3274(a4),d1
 mulu #$a0,d1
 move.w d1,-(a7)
 move.l -$2ece(a4),d1
 addi.l #$6b80,d1
 move.l d1,-(a7)
 addi.l #$a0,d1
 move.l d1,-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 movem.l (a7)+,d0-d3/a0-a1
 bra.s u0d76
u0d6c tst.w -$3276(a4)
 beq.s u0dbe
 clr.w -$3276(a4)
u0d76 moveq #7,d1
 tst.w -$3274(a4)
 blt.s u0d92
 addq.w #1,-$3274(a4)
 move.w -$3274(a4),d1
 cmpi.w #7,d1
 bne.s u0d92
 move.w #$ffff,-$3274(a4)
u0d92 movem.l d0-d3/a0-a1,-(a7)
 move.w d1,d2
 mulu #$a0,d1
 move.w d1,-(a7)
 neg.w d2
 addi.w #$c8,d2
 mulu #$a0,d2
 add.l -$2ece(a4),d2
 move.l d2,-(a7)
 move.l -$327a(a4),-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 movem.l (a7)+,d0-d3/a0-a1
u0dbe tst.w -$2dde(a4)
 beq.s u0e24
 clr.w -$2dde(a4)
 movem.l d0-d7/a0-a4,-(a7)
 tst.w -$2e02(a4)
 beq.s u0dec
 clr.w -$2e02(a4)
 lea -$228(a4),a0
 move.w -$2db2(a4),d0
 lsl.w #5,d0
 adda.w d0,a0
 movem.l (a0),d0-d7
 movem.l d0-d7,-$2eaa(a4)
u0dec movea.l -$2da2(a4),a0
 movea.l -$2ece(a4),a1
 adda.w #$14a0,a1
 move.w #$87,d0
u0dfc movem.l (a0)+,d1-d7/a2-a4
 movem.l d1-d7/a2-a4,(a1)
 movem.l (a0)+,d1-d7/a2-a4
 movem.l d1-d7/a2-a4,$28(a1)
 movem.l (a0)+,d1-d7/a2
 movem.l d1-d7/a2,$50(a1)
 lea $a0(a1),a1
 dbf d0,u0dfc
 movem.l (a7)+,d0-d7/a0-a4
u0e24 tst.w -$2dfe(a4)
 beq.s u0e50
 clr.w -$2dfe(a4)
 not.w -$2e00(a4)
 movem.l d0-d3/a0-a1,-(a7)
 move.w -$2dfc(a4),-(a7)
 move.w -$2dfa(a4),-(a7)
 move.w -$2df8(a4),-(a7)
 move.w -$2df6(a4),-(a7)
 jsr u091c(pc)
 addq.l #8,a7
 movem.l (a7)+,d0-d3/a0-a1
u0e50 tst.w d0
 beq.s u0e58
 jsr u2c9e(pc)
u0e58 tst.w -$5a62(a4)
 beq.s u0e78
 clr.w -$5a62(a4)
 move.w #1,-$5a64(a4)
 clr.w -$5a6e(a4)
 movem.l d0-d3/a0-a1,-(a7)
 jsr u295e(pc)
 movem.l (a7)+,d0-d3/a0-a1
u0e78 tst.w -$5ac4(a4)
 ble.s u0e8a
 movea.l -$5ac8(a4),a0
 move.l a1,-(a7)
 jsr (a0)
 movea.l (a7)+,a1
 bra.s u0e96
u0e8a tst.w -$5ac2(a4)
 beq.s u0e96
 movea.l -$5acc(a4),a0
 jsr (a0)
u0e96 addq.w #1,-$2dce(a4)
 move.w -$2dce(a4),d0
 cmp.w -$2dd0(a4),d0
 bls.s u0eaa
 move.w #1,-$2dd8(a4)
u0eaa trap #4
 move.w sr,d0
 andi.w #$f8ff,d0
 ori.w #$400,d0
 move.w d0,sr
 subq.w #1,-$2ed6(a4)
 bne u0c90
 movem.l (a7)+,d0-d5/a0/a4-a5
 rte
u0ec6 link a6,#0
 lea u0b34(pc),a0
 move.l a0,$114.w
 lea u0b46+2(pc),a0	; u0b48
 move.l $118.w,(a0)
 lea u0b36(pc),a0
 move.l a0,$118.w
 lea u0b4c(pc),a0
 move.l a0,$120.w
 move.l $70.w,$90.w
 lea u0c3a(pc),a0
 move.l a0,$70.w
 unlk a6
 rts
u0efc link a6,#0
 pea 0(a4)
 move.w #9,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 move.w 8(a6),d0
 ext.l d0
 divs #$a,d0
 add.w #$30,d0
 move.w d0,-(a7)
 move.w #2,-(a7)
 jsr u1cf8(pc)
 addq.l #4,a7
 move.w 8(a6),d0
 ext.l d0
 divs #$a,d0
 swap d0
 add.w #$30,d0
 move.w d0,-(a7)
 move.w #2,-(a7)
 jsr u1cf8(pc)
 addq.l #4,a7
u0f44 bra.s u0f44
 unlk a6
 rts
u0f4a link a6,#0
 move.w #0,d0
 move.w d0,-$5a00(a4)
 move.w $12(a6),-(a7)
 move.w #$70,-(a7)
 move.w $10(a6),-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l $c(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 unlk a6
 rts
u0f7e link a6,#0
 move.w #0,d0
 move.w d0,-$5a00(a4)
 move.w $12(a6),-(a7)
 move.w #$a0,-(a7)
 move.w $10(a6),-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l $c(a6),-(a7)
 move.l -$2ece(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 unlk a6
 rts
u0fb2 link a6,#0
 bra.s u0fc2
u0fb8 move.w #$25,-(a7)
 jsr u1ce8(pc)
 addq.l #2,a7
u0fc2 move.w 8(a6),d0
 subq.w #1,8(a6)
 tst.w d0
 bne.s u0fb8
 unlk a6
 rts
u0fd2 link a6,#0
 move.w 8(a6),d0
 bpl.s u0fde
 neg.w d0
u0fde unlk a6
 rts
u0fe2 link a6,#0
 move.w 8(a6),d0
 cmp.w $a(a6),d0
 blt.s u0ff4
 move.w $a(a6),d0
u0ff4 unlk a6
 rts
u0ff8 link a6,#0
 move.w 8(a6),d0
 cmp.w $a(a6),d0
 bgt.s u100a
 move.w $a(a6),d0
u100a unlk a6
 rts
u100e link a6,#0
 move.w $a(a6),d0
 cmp.w 8(a6),d0
 bgt.s u1022
 move.w 8(a6),d0
 bra.s u102c
u1022 cmp.w $c(a6),d0
 ble.s u102c
 move.w $c(a6),d0
u102c unlk a6
 rts
u1030 link a6,#0
 move.l -$2ed2(a4),-(a7)
 move.l #$bb40e62d,-(a7)
 jsr u3158(pc)
 moveq #$b,d0
 add.l (a7)+,d0
 move.l d0,-$2ed2(a4)
 lsr.l #8,d0
 unlk a6
 rts
u1050 link a6,#0
 move.l -$2ed2(a4),-(a7)
 move.l #$bb40e62d,-(a7)
 jsr u3158(pc)
 moveq #$b,d0
 add.l (a7)+,d0
 move.l d0,-$2ed2(a4)
 lsr.l #8,d0
 and.w #1,d0
 unlk a6
 rts
u1074 link a6,#0
 move.l -$2ed2(a4),-(a7)
 move.l #$bb40e62d,-(a7)
 jsr u3158(pc)
 moveq #$b,d0
 add.l (a7)+,d0
 move.l d0,-$2ed2(a4)
 lsr.l #8,d0
 and.w #3,d0
 unlk a6
 rts
u1098 link a6,#0
 move.w 8(a6),d0
 mulu $c(a6),d0
 move.w $a(a6),d1
 asr.l d1,d0
 unlk a6
 rts
u10ae link a6,#0
 movem.l d7/a2-a3,-(a7)
 move.w #1,-(a7)
 move.l #$80,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$40bc(a4)
 move.l #$22c0001,-(a7)
 jsr $5dc(a5)
 addq.l #2,a7
 add.w #$c7,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 clr.w -(a7)
 move.l #$ae2,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a2
 move.l a2,-(a7)
 move.w #$822c,-(a7)
 jsr $606(a5)
 addq.l #6,a7
 clr.w d7
 bra.s u1132
u110a move.w d7,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l a3,(a0)
 bra.s u111a
u1118 move.b (a2)+,(a3)+
u111a clr.w d0
 move.b (a2),d0
 and.w #$80,d0
 beq.s u1118
 clr.w d0
 move.b (a2)+,d0
 and.w #$7f,d0
 move.b d0,(a3)+
 clr.b (a3)+
 addq.w #1,d7
u1132 cmpi.w #$c7,d7
 bcs.s u110a
 move.l #$ae2,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
u114c link a6,#0
 move.w d7,-(a7)
 cmpi.w #$ffff,8(a6)
 bne.s u1160
 move.w #$ffff,d0
 bra.s u1182
u1160 move.w 8(a6),-(a7)
 jsr $306(a5)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$ffff,d7
 beq.s u1180
 move.w d7,d0
 muls #6,d0
 lea -$20be(a4),a0
 adda.w d0,a0
 move.w (a0),d7
u1180 move.w d7,d0
u1182 move.w (a7)+,d7
 unlk a6
 rts
u1188 link a6,#0
 movem.l d7/a3,-(a7)
 move.w 8(a6),-(a7)
 jsr u114c(pc)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq u1296
 cmpi.w #$20,d7
 bge.s u11ae
 tst.w d7
 bge.s u11c2
u11ae cmpi.w #$94,d7
 blt.s u11ba
 cmpi.w #$a3,d7
 ble.s u11c2
u11ba cmpi.w #$c3,d7
 bne u1296
u11c2 move.w 8(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w d7,d0
 tst.w d0
 beq.s u11d6
 bra.s u11de
u11d6 add.w -$2dba(a4),d7
 bra u1296
u11de cmp.w #4,d0
 beq.s u11e6
 bra.s u1218
u11e6 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 beq.s u1214
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 lea -$280(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 add.w d0,d7
u1214 bra u1296
u1218 cmp.w #$1e,d0
 beq.s u1220
 bra.s u1236
u1220 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$fc00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 beq.s u1234
 addq.w #1,d7
u1234 bra.s u1296
u1236 cmp.w #8,d0
 beq.s u124a
 cmp.w #$c,d0
 beq.s u124a
 cmp.w #$a,d0
 beq.s u124a
 bra.s u125c
u124a move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 beq.s u125a
 addq.w #1,d7
u125a bra.s u1296
u125c cmp.w #$17,d0
 beq.s u1282
 cmp.w #$e,d0
 beq.s u1282
 cmp.w #$12,d0
 beq.s u1282
 cmp.w #$19,d0
 beq.s u1282
 cmp.w #$10,d0
 beq.s u1282
 cmp.w #$14,d0
 beq.s u1282
 bra.s u1296
u1282 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 beq.s u1296
 addq.w #1,d7
u1296 move.w d7,d0
 movem.l (a7)+,d7/a3
 unlk a6
 rts
u12a0 link a6,#-$10
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,-(a7)
 jsr u1188(pc)
 addq.l #2,a7
 move.w d0,d6
 cmpi.w #$93,d6
 bne.s u1308
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 pea -$10(a6)
 jsr u3264(pc)
 addq.l #8,a7
 move.w d6,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$10(a6)
 jsr u31e8(pc)
 addq.l #8,a7
 lea -$10(a6),a0
 movea.l a0,a3
 bra.s u1316
u1308 move.w d6,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
u1316 move.w #$e,-(a7)
 move.l a3,-(a7)
 clr.w -(a7)
 move.l #$250004,-(a7)
 move.l #$a000e9,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr u17d0(pc)
 adda.w #$14,a7
 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
u133e link a6,#0
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$270(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 unlk a6
 rts
u135c link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 movea.l $a(a6),a3
 clr.w d6
 bra.s u1384
u1370 move.w d6,d0
 asl.l #1,d0
 lea -$264(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 cmp.w d7,d0
 bls.s u1382
 bra.s u138a
u1382 addq.w #1,d6
u1384 cmpi.w #7,d6
 bcs.s u1370
u138a move.w #$2a,d0
 subq.w #1,d6
 move.w d6,d1
 add.w d1,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w d6,d0
 asl.l #1,d0
 lea -$264(a4),a0
 adda.w d0,a0
 sub.w (a0),d7
 move.w d7,d0
 and.w #$ff0,d0
 asl.w #5,d0
 move.w d7,d1
 and.w #$f,d1
 asl.w #1,d1
 add.w d1,d0
 and.l #$ffff,d0
 asl.l #2,d0
 adda.l d0,a2
 clr.w d6
 bra.s u13d6
u13ca move.l (a2)+,(a3)+
 move.l (a2),(a3)+
 adda.l #$7c,a2
 addq.w #1,d6
u13d6 cmpi.w #$10,d6
 bcs.s u13ca
 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
u13e4 link a6,#-$c
 clr.w -(a7)
 move.l #$80,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-4(a6)
 move.w $a(a6),d0
 move.w d0,-$c(a6)
 add.w #$f,d0
 move.w d0,-$a(a6)
 move.w $c(a6),d0
 move.w d0,-8(a6)
 add.w #$f,d0
 move.w d0,-6(a6)
 move.l -4(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u135c(pc)
 addq.l #6,a7
 move.l #$8ffff,-(a7)
 pea -$c(a6)
 move.l -4(a6),-(a7)
 jsr u0f7e(pc)
 adda.w #$c,a7
 move.l #$80,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 unlk a6
 rts
u144e link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 muls #6,d0
 lea -$394(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w d6,d0
 move.w d0,4(a3)
 cmpi.w #$ffff,d0
 bne.s u147e
 bra u152c
u147e move.w (a3),d0
 move.w d0,-8(a6)
 add.w #$f,d0
 move.w d0,-6(a6)
 move.w 2(a3),d0
 move.w d0,-4(a6)
 add.w #$f,d0
 move.w d0,-2(a6)
 clr.w d5
 bra.s u14b4
u14a0 move.w d5,d0
 asl.l #1,d0
 lea -$264(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 cmp.w d6,d0
 ble.s u14b2
 bra.s u14ba
u14b2 addq.w #1,d5
u14b4 cmpi.w #7,d5
 bcs.s u14a0
u14ba subq.w #1,d5
 move.w d5,d0
 add.w #$2a,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w d5,d0
 asl.l #1,d0
 lea -$264(a4),a0
 adda.w d0,a0
 sub.w (a0),d6
 cmpi.w #8,d7
 bcs.s u14ea
 move.l -$2da2(a4),-$c(a6)
 move.w #$70,d4
 bra.s u14f6
u14ea move.l -$2ece(a4),d0
 move.l d0,-$c(a6)
 move.w #$a0,d4
u14f6 move.w #0,d0
 move.w d0,-$5a00(a4)
 move.w #$ffff,-(a7)
 move.w d4,-(a7)
 move.w #$80,-(a7)
 move.w d6,d0
 and.w #$ff0,d0
 move.w d0,-(a7)
 move.w d6,d0
 and.w #$f,d0
 asl.w #4,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.l -$c(a6),-(a7)
 move.l a2,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
u152c movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u1534 link a6,#0
 move.w 8(a6),d0
 muls #6,d0
 lea -$390(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 unlk a6
 rts
u154c link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $e(a6),d7
 move.w $10(a6),d6
 move.w $12(a6),d5
 move.w $14(a6),d4
 movea.l $16(a6),a0
 move.b (a0),d0
 bne.s u1574
 bra u17c8
u1574 move.w d6,d0
 subq.w #4,d0
 mulu $c(a6),d0
 adda.w d0,a3
 move.w d7,d0
 andi.w #$fff0,d0
 lsr.w #1,d0
 adda.w d0,a3
 moveq #$f,d3
 and.w d7,d3
 move.w d5,d1
 add.w d5,d5
 add.w d1,d5
 add.w d5,d5
 jmp u1598(pc,d5.w)
u1598 lea u1758(pc),a0
 bra.s u15f6
 lea u170c(pc),a0
 bra.s u15f6
 lea u1710(pc),a0
 bra.s u15f6
 lea u1714(pc),a0
 bra.s u15f6
 lea u1718(pc),a0
 bra.s u15f6
 lea u171c(pc),a0
 bra.s u15f6
 lea u1722(pc),a0
 bra.s u15f6
 lea u1728(pc),a0
 bra.s u15f6
 lea u172e(pc),a0
 bra.s u15f6
 lea u1732(pc),a0
 bra.s u15f6
 lea u1738(pc),a0
 bra.s u15f6
 lea u173e(pc),a0
 bra.s u15f6
 lea u1744(pc),a0
 bra.s u15f6
 lea u1748(pc),a0
 bra.s u15f6
 lea u174e(pc),a0
 bra.s u15f6
 lea u1754(pc),a0
u15f6 move.w d4,d1
 add.w d4,d4
 add.w d1,d4
 add.w d4,d4
 jmp u1602(pc,d4.w)
u1602 lea u17b0(pc),a1
 bra.s u1660
 lea u1764(pc),a1
 bra.s u1660
 lea u1768(pc),a1
 bra.s u1660
 lea u176c(pc),a1
 bra.s u1660
 lea u1770(pc),a1
 bra.s u1660
 lea u1774(pc),a1
 bra.s u1660
 lea u177a(pc),a1
 bra.s u1660
 lea u1780(pc),a1
 bra.s u1660
 lea u1786(pc),a1
 bra.s u1660
 lea u178a(pc),a1
 bra.s u1660
 lea u1790(pc),a1
 bra.s u1660
 lea u1796(pc),a1
 bra.s u1660
 lea u179c(pc),a1
 bra.s u1660
 lea u17a0(pc),a1
 bra.s u1660
 lea u17a6(pc),a1
 bra.s u1660
 lea u17ac(pc),a1
u1660 moveq #0,d2
 movea.l $16(a6),a2
 move.b (a2),d2
 beq u17c8
 addq.l #1,$16(a6)
 movea.l -$327e(a4),a2
 lea 0(a2,d2.w),a2
 cmp.w #$b,d3
 bhi.s u16a0
 moveq #6,d4
 move.l #$7ff07ff,d2
 ror.l d3,d2
 moveq #0,d5
 move.l a3,-(a7)
 bsr.s u16d8
 movea.l (a7)+,a3
 addq.w #6,d3
 cmpi.w #$10,d3
 bcs.s u1660
 andi.w #1,d3
 addq.l #8,a3
 bra.s u1660
u16a0 moveq #6,d4
 move.l a3,-(a7)
 addq.l #8,(a7)
 move.l a2,-(a7)
 lsl.w #2,d3
 lea -$744(a4),a2
 move.l 0(a2,d3.w),d2
 lea -$754(a4),a2
 move.l 0(a2,d3.w),-(a7)
 lsr.w #2,d3
 movea.l 4(a7),a2
 moveq #8,d5
 bsr.s u16d8
 move.l (a7)+,d2
 movea.l (a7)+,a2
 movea.l (a7),a3
 moveq #6,d4
 moveq #$12,d5
 bsr.s u16d8
 movea.l (a7)+,a3
 subi.w #$a,d3
 bra.s u1660
u16d8 and.l d2,(a3)
 and.l d2,4(a3)
 moveq #0,d0
 move.b (a2),d0
 jmp u16e6(pc,d5.w)
u16e6 moveq #$b,d1
 sub.w d3,d1
 lsl.w d1,d0
 bra.s u16fe
 move.w d3,d1
 subi.w #$b,d1
 lsr.w d1,d0
 bra.s u16fe
 moveq #$1b,d1
 sub.w d3,d1
 lsl.w d1,d0
u16fe move.w d0,d1
 swap d1
 move.w d0,d1
 swap d0
 moveq #0,d6
 moveq #0,d7
 jmp (a0)
u170c move.l d0,d6
 bra.s u1758
u1710 move.w d1,d6
 bra.s u1758
u1714 move.l d1,d6
 bra.s u1758
u1718 move.l d0,d7
 bra.s u1758
u171c move.l d0,d6
 move.l d0,d7
 bra.s u1758
u1722 move.w d1,d6
 move.l d0,d7
 bra.s u1758
u1728 move.l d1,d6
 move.l d0,d7
 bra.s u1758
u172e move.w d1,d7
 bra.s u1758
u1732 move.l d0,d6
 move.w d1,d7
 bra.s u1758
u1738 move.w d1,d6
 move.w d1,d7
 bra.s u1758
u173e move.l d1,d6
 move.w d1,d7
 bra.s u1758
u1744 move.l d1,d7
 bra.s u1758
u1748 move.l d0,d6
 move.l d1,d7
 bra.s u1758
u174e move.w d1,d6
 move.l d1,d7
 bra.s u1758
u1754 move.l d1,d6
 move.l d1,d7
u1758 or.l d2,d0
 not.l d0
 clr.w d0
 or.l d2,d1
 not.l d1
 jmp (a1)
u1764 or.l d0,d6
 bra.s u17b0
u1768 or.w d1,d6
 bra.s u17b0
u176c or.l d1,d6
 bra.s u17b0
u1770 or.l d0,d7
 bra.s u17b0
u1774 or.l d0,d6
 or.l d0,d7
 bra.s u17b0
u177a or.w d1,d6
 or.l d0,d7
 bra.s u17b0
u1780 or.l d1,d6
 or.l d0,d7
 bra.s u17b0
u1786 or.w d1,d7
 bra.s u17b0
u178a or.l d0,d6
 or.w d1,d7
 bra.s u17b0
u1790 or.w d1,d6
 or.w d1,d7
 bra.s u17b0
u1796 or.l d1,d6
 or.w d1,d7
 bra.s u17b0
u179c or.l d1,d7
 bra.s u17b0
u17a0 or.l d0,d6
 or.l d1,d7
 bra.s u17b0
u17a6 or.w d1,d6
 or.l d1,d7
 bra.s u17b0
u17ac or.l d1,d6
 or.l d1,d7
u17b0 or.l d6,(a3)
 or.l d7,4(a3)
 subq.w #1,d4
 bne.s u17bc
 rts
u17bc lea $80(a2),a2
 adda.w $c(a6),a3
 bra u16d8
u17c8 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u17d0 link a6,#-$50
 movem.l d7/a3,-(a7)
 movea.l $16(a6),a3
 clr.w d7
 bra.s u17e2
u17e0 addq.w #1,d7
u17e2 lea -$50(a6),a0
 adda.w d7,a0
 move.b (a3)+,(a0)
 bne.s u17e0
 bra.s u17fa
u17ee lea -$50(a6),a0
 adda.w d7,a0
 move.b #$20,(a0)
 addq.w #1,d7
u17fa move.w d7,d0
 cmp.w $1a(a6),d0
 blt.s u17ee
 lea -$50(a6),a0
 adda.w d7,a0
 clr.b (a0)
 pea -$50(a6)
 move.w $14(a6),-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr u154c(pc)
 adda.w #$12,a7
 movem.l (a7)+,d7/a3
 unlk a6
 rts
u1836 link a6,#0
 movem.l d6-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 cmpi.w #0,d7
 bge.s u1850
 clr.w d7
 bra.s u185a
u1850 cmpi.w #$35,d7
 blt.s u185a
 move.w #$34,d7
u185a move.w d7,-$3282(a4)
 cmpi.w #0,d6
 bge.s u1868
 clr.w d6
 bra.s u1872
u1868 cmpi.w #4,d6
 blt.s u1872
 move.w #3,d6
u1872 move.w d6,-$3280(a4)
 movem.l (a7)+,d6-d7
 unlk a6
 rts
u187e link a6,#-8
 move.w d7,-(a7)
 clr.w -$5a00(a4)
 clr.w -8(a6)
 move.w #$13f,-6(a6)
 move.w #$a9,-4(a6)
 move.w #$c7,-2(a6)
u189e cmpi.w #0,-$3274(a4)
 bge.s u189e
 move.w -$3276(a4),d0
 bne.s u189e
 jsr u2fd2(pc)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -8(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 jsr u3026(pc)
 move.w #3,-$3280(a4)
 clr.w -$3282(a4)
 clr.w d7
 bra.s u18ea
u18d8 move.w d7,d0
 asl.l #2,d0
 lea -$3292(a4),a0
 adda.w d0,a0
 move.l #$ffffffff,(a0)
 addq.w #1,d7
u18ea cmpi.w #4,d7
 bcs.s u18d8
 move.w (a7)+,d7
 unlk a6
 rts
u18f6 link a6,#-8
 movem.l d5-d7,-(a7)
 clr.w -$5a00(a4)
 clr.w -8(a6)
 move.w #$13f,-6(a6)
 clr.w d6
 bra.s u1984
u1910 move.w d6,d5
 asl.l #2,d5
 lea -$3292(a4),a0
 adda.w d5,a0
 move.l (a0),d5
 cmpi.l #$ffffffff,d5
 beq.s u192e
 move.l d5,d0
 move.l -$2dc6(a4),d1
 cmp.l d1,d0
 ble.s u1930
u192e bra.s u1982
u1930 move.w #$ac,d0
 move.w d6,d1
 mulu #7,d1
 add.w d1,d0
 move.w d0,-4(a6)
 addq.w #6,d0
 move.w d0,-2(a6)
u1946 cmpi.w #0,-$3274(a4)
 bge.s u1946
 move.w -$3276(a4),d0
 bne.s u1946
 jsr u2fd2(pc)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -8(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 jsr u3026(pc)
 move.w d6,d0
 asl.l #2,d0
 lea -$3292(a4),a0
 adda.w d0,a0
 move.l #$ffffffff,(a0)
u1982 addq.w #1,d6
u1984 cmpi.w #4,d6
 bcs.s u1910
 movem.l (a7)+,d5-d7
 unlk a6
 rts
u1992 link a6,#0
 move.w d7,-(a7)
 cmpi.w #3,-$3280(a4)
 bne.s u19ee
u19a0 cmpi.w #0,-$3274(a4)
 bge.s u19a0
 move.w -$3276(a4),d0
 bne.s u19a0
 move.w #$460,-(a7)
 move.l -$327a(a4),-(a7)
 jsr u0a84(pc)
 addq.l #6,a7
 clr.w -$3274(a4)
 clr.w d7
 bra.s u19de
u19c4 move.w d7,d0
 asl.l #2,d0
 lea -$328e(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 move.w d7,d1
 asl.l #2,d1
 lea -$3292(a4),a0
 adda.w d1,a0
 move.l d0,(a0)
 addq.w #1,d7
u19de cmpi.w #3,d7
 bcs.s u19c4
 move.l #$ffffffff,-$3286(a4)
 bra.s u19f2
u19ee addq.w #1,-$3280(a4)
u19f2 move.w (a7)+,d7
 unlk a6
 rts
u19f8 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l $a(a6),a3
 move.l a3,-(a7)
 jsr u32ba(pc)
 addq.l #4,a7
 move.w d0,d7
 cmpi.w #$ffff,-$3274(a4)
 bne.s u1a4e
u1a16 move.w -$3276(a4),d0
 bne.s u1a16
 jsr u2fd2(pc)
 move.l a3,-(a7)
 clr.w -(a7)
 move.w 8(a6),-(a7)
 move.w -$3280(a4),d0
 muls #7,d0
 add.w #$b1,d0
 move.w d0,-(a7)
 move.w -$3282(a4),d0
 muls #6,d0
 move.w d0,-(a7)
 jsr u1c42(pc)
 adda.w #$c,a7
 jsr u3026(pc)
 bra.s u1a82
u1a4e move.l a3,-(a7)
 clr.w -(a7)
 move.w 8(a6),-(a7)
 move.w #5,-(a7)
 move.w -$3282(a4),d0
 muls #6,d0
 move.w d0,-(a7)
 move.w #$a0,-(a7)
 move.l -$327a(a4),-(a7)
 jsr u154c(pc)
 adda.w #$12,a7
 cmpi.w #$ffff,-$3274(a4)
 bne.s u1a82
 move.w #1,-$3276(a4)
u1a82 move.w d7,d0
 add.w d0,-$3282(a4)
 move.l -$2dc6(a4),d0
 add.l #$46,d0
 move.w -$3280(a4),d1
 asl.l #2,d1
 lea -$3292(a4),a0
 adda.w d1,a0
 move.l d0,(a0)
 movem.l (a7)+,d7/a3
 unlk a6
 rts
u1aa8 link a6,#-$38
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 movea.l $a(a6),a3
 bra u1b5c
u1abc move.b (a3),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s u1ae2
 addq.l #1,a3
 cmpi.w #0,-$3282(a4)
 bne.s u1ad8
 cmpi.w #0,-$3280(a4)
 beq.s u1ae0
u1ad8 clr.w -$3282(a4)
 jsr u1992(pc)
u1ae0 bra.s u1b5c
u1ae2 move.b (a3),d0
 ext.w d0
 cmp.w #$20,d0
 bne.s u1b0a
 addq.l #1,a3
 cmpi.w #$35,-$3282(a4)
 beq.s u1b08
 move.w #$2000,-2(a6)
 pea -2(a6)
 move.w d7,-(a7)
 jsr u19f8(pc)
 addq.l #6,a7
u1b08 bra.s u1b5c
u1b0a clr.w d6
u1b0c move.w d6,d0
 addq.w #1,d6
 lea -$38(a6),a0
 adda.w d0,a0
 move.b (a3)+,(a0)
 move.b (a3),d0
 beq.s u1b30
 move.b (a3),d0
 ext.w d0
 cmp.w #$20,d0
 beq.s u1b30
 move.b (a3),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s u1b0c
u1b30 move.w d6,d0
 lea -$38(a6),a0
 adda.w d0,a0
 clr.b (a0)
 move.w -$3282(a4),d0
 add.w d6,d0
 cmpi.w #$35,d0
 bls.s u1b50
 move.w #2,-$3282(a4)
 jsr u1992(pc)
u1b50 pea -$38(a6)
 move.w d7,-(a7)
 jsr u19f8(pc)
 addq.l #6,a7
u1b5c move.b (a3),d0
 bne u1abc
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
 link a6,#-2
 move.b $b(a6),-2(a6)
 clr.b -1(a6)
 pea -2(a6)
 move.w 8(a6),-(a7)
 jsr u1aa8(pc)
 addq.l #6,a7
 unlk a6
 rts
 link a6,#-8
 movem.l d6-d7,-(a7)
 move.w $a(a6),d7
 move.w #7,d6
 clr.b -1(a6)
u1b9e move.w #$30,d0
 move.w d7,d1
 and.l #$ffff,d1
 divu #$a,d1
 swap d1
 add.w d1,d0
 subq.w #1,d6
 move.w d6,d1
 lea -8(a6),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d7,d0
 and.l #$ffff,d0
 divu #$a,d0
 move.w d0,d7
 bne.s u1b9e
 move.w d6,d0
 lea -8(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w 8(a6),-(a7)
 jsr u1aa8(pc)
 addq.l #6,a7
 movem.l (a7)+,d6-d7
 unlk a6
 rts
 link a6,#0
 pea $10(a4)
 move.w #$f,-(a7)
 jsr u1aa8(pc)
 addq.l #6,a7
 unlk a6
 rts
u1c02 link a6,#0
 pea -$726(a4)
 clr.w -(a7)
 jsr u1aa8(pc)
 addq.l #6,a7
 unlk a6
 rts
u1c16 link a6,#0
 move.l $e(a6),-(a7)
 move.w #$c,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr u154c(pc)
 adda.w #$12,a7
 unlk a6
 rts
u1c42 link a6,#0
 move.l $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr u154c(pc)
 adda.w #$12,a7
 unlk a6
 rts
u1c6e link a6,#0
 move.w d7,-(a7)
 move.w #3,-(a7)
 clr.w -(a7)
 jsr u1836(pc)
 addq.l #4,a7
 move.w #1,-(a7)
 move.l #$460,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$327a(a4)
 move.w #1,-(a7)
 move.l #$300,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$327e(a4)
 move.l -$327e(a4),-(a7)
 move.w #$822d,-(a7)
 jsr $606(a5)
 addq.l #6,a7
 clr.w d7
 bra.s u1ccc
u1cba move.w d7,d0
 asl.l #2,d0
 lea -$3292(a4),a0
 adda.w d0,a0
 move.l #$ffffffff,(a0)
 addq.w #1,d7
u1ccc cmpi.w #4,d7
 bcs.s u1cba
 move.w (a7)+,d7
 unlk a6
 rts
 move.l a2,d3
 move.l (a7)+,-$5830(a4)
 trap #13
 movea.l -$5830(a4),a0
 movea.l d3,a2
 jmp (a0)
u1ce8 move.l a2,d3
 move.l (a7)+,-$5830(a4)
 trap #14
 movea.l -$5830(a4),a0
 movea.l d3,a2
 jmp (a0)
u1cf8 move.l a2,d3
 move.l (a7)+,-$5830(a4)
 trap #1
 movea.l -$5830(a4),a0
 movea.l d3,a2
 jmp (a0)
u1d08 moveq #-1,d0
 rts
u1d0c lea u1d08(pc),a0
 move.l a0,$404.w
 rts
u1d16 link a6,#-6
 movem.l d5-d7,-(a7)
 move.w $c(a6),d7
 move.l 8(a6),d6
 move.l d6,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.l #2,d0
 move.l d0,-(a7)
 jsr u3158(pc)
 move.l (a7)+,d0
 move.l d0,d6
 movea.l 8(a6),a0
 clr.w d5
 move.b (a0),d5
 and.w #$ff,d5
 asl.w #8,d5
 movea.l 8(a6),a0
 clr.w d1
 move.b 1(a0),d1
 and.w #$ff,d1
 or.w d1,d5
 move.w #$8b,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 move.w #$8c,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 move.w #7,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 ext.w d0
 move.w d0,-2(a6)
 move.w #$87,-(a7)
 move.w -2(a6),d0
 or.w #$3f,d0
 move.w d0,-(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 cmpi.w #$a,d7
 ble.s u1dd4
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 move.l d0,-6(a6)
 lea $fffffa1f,a0
 move.b d7,(a0)
 move.l -6(a6),-(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
u1dd4 lea u1f2e(pc),a0
 move.l d6,(a0)
 lea u1f2a(pc),a0
 move.w d5,(a0)
 lea u1f2c(pc),a0
 clr.w (a0)
 tst.w $e(a6)
 bne.s u1df8
 lea u2036(pc),a0
 lea u1f32(pc),a1
 move.l a0,(a1)
 bra.s u1e02
u1df8 lea u1f76(pc),a0
 lea u1f32(pc),a1
 move.l a0,(a1)
u1e02 move.l #$1b000d,-(a7)
 jsr u1ce8(pc)
 addq.l #4,a7
 movem.l (a7)+,d5-d7
 unlk a6
 rts
u1e16 link a6,#0
 movem.l d6-d7,-(a7)
 move.w 8(a6),d7
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 move.l d0,d6
 and.w #$f,d7
 add.b d7,d7
 add.b d7,d7
 movea.w #$8800,a1
 lea u1f76(pc),a0
 move.l -$40(a0,d7.w),(a1)
 move.l 0(a0,d7.w),(a1)
 move.l $40(a0,d7.w),(a1)
 bra u20b6
u1e50 movem.l d7/a0-a1,-(a7)
 lea u1f2a(pc),a0
 tst.w (a0)
 beq.s u1ec8
 subq.w #1,(a0)+
 tst.w (a0)+
 beq.s u1e66
 subq.w #1,-(a0)
 bra.s u1e8c
u1e66 move.l (a0),d7
 addq.l #1,(a0)+
 lsr.l #1,d7
 bcs.s u1e9a
 movea.l d7,a1
 move.b (a1),d7
 lsr.b #2,d7
 andi.w #$3c,d7
 beq.s u1ede
 movea.w #$8800,a1
 movea.l (a0),a0
 move.l -$40(a0,d7.w),(a1)
 move.l 0(a0,d7.w),(a1)
 move.l $40(a0,d7.w),(a1)
u1e8c bclr #5,$fffffa0f
 movem.l (a7)+,d7/a0-a1
 rte
u1e9a movea.l d7,a1
 move.b (a1),d7
 andi.w #$f,d7
 beq.s u1ede
 add.b d7,d7
 add.b d7,d7
 movea.w #$8800,a1
 movea.l (a0),a0
 move.l -$40(a0,d7.w),(a1)
 move.l 0(a0,d7.w),(a1)
 move.l $40(a0,d7.w),(a1)
 bclr #5,$fffffa0f
 movem.l (a7)+,d7/a0-a1
 rte
u1ec8 bclr #5,$fffffa07
 bclr #5,$fffffa0f
 movem.l (a7)+,d7/a0-a1
 rte
u1ede move.l d6,-(a7)
 clr.w d6
u1ee2 lea u1f2e(pc),a0
 move.l (a0),d7
 addq.l #1,(a0)
 lsr.l #1,d7
 bcs.s u1ef6
 movea.l d7,a1
 move.b (a1),d7
 lsr.b #4,d7
 bra.s u1efa
u1ef6 movea.l d7,a1
 move.b (a1),d7
u1efa btst #3,d7
 beq.s u1f0a
 and.w #7,d7
 lsl.w #3,d6
 add.w d7,d6
 bra.s u1ee2
u1f0a lsl.w #3,d6
 and.w #7,d7
 add.w d7,d6
 addq.w #2,d6
 lea u1f2c(pc),a0
 move.w d6,(a0)
 bclr #5,$fffffa0f
 move.l (a7)+,d6
 movem.l (a7)+,d7/a0-a1
 rte
u1f2a ds.w 1
u1f2c ds.w 1
u1f2e ds.l 1
u1f32 ds.l 1
;u1f36
 dc.w $0800,$0000,$0800,$0800,$0800,$0a00,$0800,$0b00
 dc.w $0800,$0c00,$0800,$0d00,$0800,$0d00,$0800,$0d00
 dc.w $0800,$0e00,$0800,$0e00,$0800,$0e00,$0800,$0e00
 dc.w $0800,$0f00,$0800,$0e00,$0800,$0e00,$0800,$0e00
u1f76
 dc.w $0900,$0000,$0900,$0500,$0900,$0700,$0900,$0900
 dc.w $0900,$0900,$0900,$0500,$0900,$0a00,$0900,$0c00
 dc.w $0900,$0800,$0900,$0a00,$0900,$0c00,$0900,$0d00
 dc.w $0900,$0b00,$0900,$0e00,$0900,$0e00,$0900,$0e00
 dc.w $0a00,$0000,$0a00,$0000,$0a00,$0000,$0a00,$0000
 dc.w $0a00,$0000,$0a00,$0000,$0a00,$0600,$0a00,$0000
 dc.w $0a00,$0000,$0a00,$0a00,$0a00,$0a00,$0a00,$0a00
 dc.w $0a00,$0000,$0a00,$0b00,$0a00,$0d00,$0a00,$0e00
 dc.w $0800,$0000,$0800,$0500,$0800,$0700,$0800,$0800
 dc.w $0800,$0900,$0800,$0900,$0800,$0a00,$0800,$0a00
 dc.w $0800,$0b00,$0800,$0b00,$0800,$0b00,$0800,$0b00
 dc.w $0800,$0c00,$0800,$0c00,$0800,$0c00,$0800,$0c00
u2036
 dc.w $0900,$0000,$0900,$0000,$0900,$0100,$0900,$0200
 dc.w $0900,$0200,$0900,$0500,$0900,$0200,$0900,$0600
 dc.w $0900,$0300,$0900,$0600,$0900,$0700,$0900,$0800
 dc.w $0900,$0400,$0900,$0600,$0900,$0800,$0900,$0900
 dc.w $0a00,$0000,$0a00,$0000,$0a00,$0000,$0a00,$0000
 dc.w $0a00,$0000,$0a00,$0200,$0a00,$0200,$0a00,$0100
 dc.w $0a00,$0100,$0a00,$0200,$0a00,$0400,$0a00,$0500
 dc.w $0a00,$0100,$0a00,$0200,$0a00,$0000,$0a00,$0000
u20b6 move.l d6,-(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 movem.l (a7)+,d6-d7
 unlk a6
 rts
u20ca link a6,#0
 jsr u2164(pc)
 move.w #$8b,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 move.w #$8c,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 move.w #7,-(a7)
 clr.w -(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 and.w #$ff,d0
 move.w d0,-$5a04(a4)
 move.w #$87,-(a7)
 move.w -$5a04(a4),d0
 or.w #$3f,d0
 move.w d0,-(a7)
 move.w #$1c,-(a7)
 jsr u1ce8(pc)
 addq.l #6,a7
 move.w #8,-(a7)
 jsr u1e16(pc)
 addq.l #2,a7
 move.l #$1a000d,-(a7)
 jsr u1ce8(pc)
 addq.l #4,a7
 lea u1e50(pc),a0
 move.l a0,d0
 move.l d0,-(a7)
 move.l #$10070,-(a7)
 clr.w -(a7)
 move.w #$1f,-(a7)
 jsr u1ce8(pc)
 adda.w #$c,a7
 move.l #$1a000d,-(a7)
 jsr u1ce8(pc)
 addq.l #4,a7
 unlk a6
 rts
u2164 link a6,#-4
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 move.l d0,-4(a6)
 movea.l -$5a08(a4),a0
 move.b (a0),-$5a0a(a4)
 movea.l -$5a08(a4),a0
 andi.b #$fe,(a0)
 move.l -4(a6),-(a7)
 move.w #$20,-(a7)
 jsr u1cf8(pc)
 addq.l #6,a7
 unlk a6
 rts
u219a link a6,#-$c
 movem.l d7/a3,-(a7)
 move.w $e(a6),d0
 beq.s u21b6
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 beq.s u21b6
 bra u232e
u21b6 move.w 8(a6),d0
 asl.l #3,d0
 lea -$6ec(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #1,$e(a6)
 bls.s u2224
 move.l -$2dc6(a4),d0
 move.w $e(a6),d3
 and.l #$ffff,d3
 add.l d3,d0
 subq.l #1,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.b #$14,-6(a6)
 move.b 4(a3),-5(a6)
 move.w 8(a6),-2(a6)
 move.w $a(a6),d0
 move.b d0,-4(a6)
 move.w $c(a6),d0
 move.b d0,-3(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 bra u232e
u2224 move.w $a(a6),d0
 sub.w -$2db6(a4),d0
 move.w d0,d7
 tst.w d0
 bge.s u2238
 move.w d7,d0
 neg.w d0
 bra.s u223a
u2238 move.w d7,d0
u223a move.w $c(a6),d1
 sub.w -$2db8(a4),d1
 move.w d1,d7
 tst.w d1
 bge.s u224e
 move.w d7,d1
 neg.w d1
 bra.s u2250
u224e move.w d7,d1
u2250 add.w d1,d0
 move.w d0,d7
 move.w d7,d0
 clr.w d1
 move.b 6(a3),d1
 cmp.w d1,d0
 bge.s u2268
 move.w #1,-$c(a6)
 bra.s u227e
u2268 move.w d7,d0
 clr.w d1
 move.b 7(a3),d1
 cmp.w d1,d0
 bge.s u227a
 clr.w -$c(a6)
 bra.s u227e
u227a bra u232e
u227e addq.w #1,-$5a54(a4)
 move.w -$5a54(a4),d0
 cmpi.w #$58,d0
 bcs.s u22c0
 move.w -$5ac4(a4),d0
 bne.s u22c0
 clr.w -$5a54(a4)
 addq.w #3,-$22bc(a4)
 ori.w #2,-$5b02(a4)
 move.l -$5b00(a4),d0
 add.l #$200,d0
 move.l d0,-(a7)
 jsr $576(a5)
 addq.l #4,a7
 move.w -$22bc(a4),d0
 asl.w #2,d0
 move.w d0,-$634(a4)
 and.w d0,-$2de8(a4)
u22c0 move.w $e(a6),d0
 bne.s u22ea
 move.w -$c(a6),-(a7)
 clr.w d0
 move.b 3(a3),d0
 move.w d0,-(a7)
 move.w (a3),d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u1d16(pc)
 addq.l #8,a7
 bra.s u232e
u22ea cmpi.w #$ffff,-$5a0c(a4)
 beq.s u2322
 move.w -$c(a6),d0
 cmp.w -$5a0e(a4),d0
 bhi.s u2322
 move.w -$c(a6),d0
 cmp.w -$5a0e(a4),d0
 bne.s u232e
 move.b 4(a3),d0
 move.w -$5a0c(a4),d1
 asl.l #3,d1
 lea -$6e8(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 and.w #$ff,d0
 cmp.w d1,d0
 ble.s u232e
u2322 move.w 8(a6),-$5a0c(a4)
 move.w -$c(a6),-$5a0e(a4)
u232e movem.l (a7)+,d7/a3
 unlk a6
 rts
u2336 link a6,#0
 move.l a3,-(a7)
 cmpi.w #$ffff,-$5a0c(a4)
 beq.s u23aa
 move.w -$5a0c(a4),d0
 asl.l #3,d0
 lea -$6ec(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w -$5a0e(a4),-(a7)
 clr.w d0
 move.b 3(a3),d0
 move.w d0,-(a7)
 move.w (a3),d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u1d16(pc)
 addq.l #8,a7
 move.w -$22bc(a4),d0
 and.w #1,d0
 beq.s u23a0
 move.w -$5ac4(a4),d0
 bne.s u23a0
 move.w -$2dcc(a4),d0
 and.w #4,d0
 beq.s u239c
 andi.w #$fffb,-$2dcc(a4)
 andi.w #$fffb,-$2dca(a4)
u239c addq.w #1,-$22bc(a4)
u23a0 move.w #$ffff,-$5a0c(a4)
 clr.w -$5a0e(a4)
u23aa movea.l (a7)+,a3
 unlk a6
 rts
u23b0 link a6,#0
 move.l a3,-(a7)
 move.w #1,-(a7)
 move.l #$120,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5a9e(a4)
 move.w #1,-(a7)
 move.l #$120,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5a9a(a4)
 move.w #1,-(a7)
 move.l #$100,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5a96(a4)
 move.w #1,-(a7)
 move.l #$100,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5a92(a4)
 move.w #1,-(a7)
 move.l #$1b0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5a8e(a4)
 move.w #1,-(a7)
 move.l #$1b0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5aa6(a4)
 move.w #$fb,-$5a5a(a4)
 move.w #$33,-$5a5c(a4)
 move.w #$22,-(a7)
 jsr u1ce8(pc)
 addq.l #2,a7
 movea.l d0,a3
 lea u2ef4(pc),a0
 move.l a0,d0
 move.l d0,$10(a3)
 movea.l (a7)+,a3
 unlk a6
 rts
u2456 link a6,#0
 jsr u2fd2(pc)
 clr.w -$5a72(a4)
 cmpi.w #1,8(a6)
 seq d0
 and.w #1,d0
 move.w d0,-$5a74(a4)
 move.w #1,-$5a6e(a4)
 jsr u3026(pc)
 unlk a6
 rts
u2480 link a6,#0
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 jsr u2fd2(pc)
 move.w #1,-$5a72(a4)
 clr.w -$5a74(a4)
 move.w #1,-$5a6e(a4)
 move.w #1,-$5a00(a4)
 movea.l -$5a9e(a4),a2
 move.l #$c0024,-(a7)
 move.l a2,-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 pea -$566(a4)
 move.l #$100010,-(a7)
 move.l #$100010,-(a7)
 move.l -$5aa6(a4),-(a7)
 move.l a3,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.l #$10ffff,-(a7)
 move.w #8,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$5aaa(a4)
 move.l a2,-(a7)
 move.l -$5aa6(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w #$120,-(a7)
 move.l -$5a9a(a4),-(a7)
 move.l a2,-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 pea -$556(a4)
 move.l #$100010,-(a7)
 move.l #$100010,-(a7)
 move.l -$5aa6(a4),-(a7)
 move.l a3,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.l #$10000c,-(a7)
 move.w #8,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$5aae(a4)
 move.l a2,-(a7)
 move.l -$5aa6(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l #$10000c,-(a7)
 move.w #8,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$5aae(a4)
 move.l -$5a9a(a4),-(a7)
 move.l a3,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 jsr u3026(pc)
 movem.l (a7)+,a2-a3
 unlk a6
 rts
u2572 link a6,#0
 move.w -$40c2(a4),d0
 beq.s u2598
 cmpi.w #$ffff,-$40b8(a4)
 bne.s u258a
 move.w #0,d0
 bra.s u258e
u258a move.w #1,d0
u258e move.w d0,-(a7)
 jsr u2456(pc)
 addq.l #2,a7
 bra.s u25a2
u2598 move.l -$40bc(a4),-(a7)
 jsr u2480(pc)
 addq.l #4,a7
u25a2 unlk a6
 rts
u25a6 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w -$5a70(a4),d0
 bne u2714
 move.w d7,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 bne.s u25d6
 bra u2810
u25d6 move.w #1,-$5a6e(a4)
 jsr u2fd2(pc)
 clr.w -$5a00(a4)
 movea.l -$5a96(a4),a2
 move.l #$c0020,-(a7)
 move.l a2,-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 move.w d7,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w -(a7)
 move.l #$a00010,-(a7)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),-(a7)
 move.w (a3),-(a7)
 pea -$5ab6(a4)
 move.l a2,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 pea -$566(a4)
 move.l #$200010,-(a7)
 move.l #$200010,-(a7)
 move.l a2,-(a7)
 move.l a2,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.w #$100,-(a7)
 move.l -$5a92(a4),-(a7)
 move.l a2,-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 clr.w -(a7)
 move.l #$a00010,-(a7)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),-(a7)
 move.w (a3),-(a7)
 pea -$5abe(a4)
 move.l -$5a92(a4),-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 movea.l -$5aa6(a4),a2
 move.l #$c0020,-(a7)
 move.l a2,-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 clr.w -(a7)
 move.l #$a00010,-(a7)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),-(a7)
 move.w (a3),-(a7)
 pea -$5abe(a4)
 move.l a2,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 pea -$556(a4)
 move.l #$20000e,-(a7)
 move.l #$20000e,-(a7)
 move.l a2,-(a7)
 move.l a2,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.l #$10000c,-(a7)
 move.w #$10,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$5abe(a4)
 move.l -$5a96(a4),-(a7)
 move.l a2,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 jsr u3026(pc)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-$5a70(a4)
 bra u2810
u2714 move.w #1,-$5a6e(a4)
 move.w -$5a70(a4),d6
 subq.w #1,d6
 clr.w -$5a70(a4)
 move.w d6,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 move.w d0,d4
 move.w -$2dba(a4),d0
 move.w d4,d1
 muls #$320,d1
 lea -$4046(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d6,d0
 cmp.w d7,d0
 bne.s u276c
 move.w d4,d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$400,(a0)
 move.w d4,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 bra u2810
u276c move.w d7,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 move.w d0,d5
 jsr u2fd2(pc)
 tst.w d5
 blt.s u27ba
 move.w d6,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d5,d1
 muls #$320,d1
 lea -$4045(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d5,d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$400,(a0)
 move.w d5,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 bra.s u27dc
u27ba move.w #$a0,-(a7)
 clr.w -(a7)
 move.w d6,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
u27dc move.w d7,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d4,d1
 muls #$320,d1
 lea -$4045(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d4,d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$400,(a0)
 move.w d4,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 jsr u3026(pc)
u2810 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u2818 link a6,#0
 movem.l d6-d7,-(a7)
 move.w -$5a70(a4),d6
 subq.w #1,d6
 clr.w -$5a70(a4)
 move.w #1,-$5a6e(a4)
 addq.w #1,-$5a56(a4)
 cmpi.w #1,-$5a56(a4)
 bne.s u2856
 clr.w -$5a66(a4)
 clr.w -$5a62(a4)
 clr.w -$5a64(a4)
 tst.w -$5a68(a4)
 beq.s u2856
 clr.w -$5a68(a4)
 jsr u289a(pc)
u2856 move.w -$5a00(a4),d7
 move.l #$10000c,-(a7)
 move.w d6,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$5a92(a4),-(a7)
 jsr u0f7e(pc)
 adda.w #$c,a7
 move.w d7,-$5a00(a4)
 subq.w #1,-$5a56(a4)
 bne.s u2892
 move.w #1,-$5a62(a4)
 move.w #1,-$5a66(a4)
u2892 movem.l (a7)+,d6-d7
 unlk a6
 rts
u289a movem.l d0-d5/a0-a1,-(a7)
 movea.l -$5aa2(a4),a0
 movea.l -$5aa6(a4),a1
 movem.l (a1)+,d0-d5
 movem.l d0-d5,(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$a0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$140(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$1e0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$280(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$320(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$3c0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$460(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$500(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$5a0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$640(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$6e0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$780(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$820(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$8c0(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$960(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$a00(a0)
 movem.l (a1)+,d0-d5
 movem.l d0-d5,$aa0(a0)
 movem.l (a7)+,d0-d5/a0-a1
 rts
u295e link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.l -$5a8e(a4),-$5a8a(a4)
 move.w -$5a00(a4),-6(a6)
 move.w #1,-$5a00(a4)
 move.l -$5a60(a4),d7
 move.l d7,d6
 swap d6
 move.w d7,-$5a80(a4)
 move.w d6,-$5a82(a4)
 tst.w -$5a70(a4)
 bne u2ad4
 lea -$4c6(a4),a3
 move.w #6,-8(a6)
 move.w #0,-$5a76(a4)
 cmpi.w #$a9,d6
 bge.s u29f8
 cmpi.w #$112,d7
 bge.s u29f8
 cmpi.w #$1c,d6
 ble.s u29ba
 cmpi.w #$e0,d7
 bge.s u29f8
 bra.s u29e0
u29ba moveq #0,d4
 move.w d7,d4
 divu #$45,d4
 move.w d4,d5
 cmp.w -$2db4(a4),d5
 bge.s u29e0
 swap d4
 cmpi.w #$2a,d4
 bgt.s u29e0
 addq.w #1,d5
 cmp.w -$40e6(a4),d5
 beq.s u29f8
 cmpi.w #6,d6
 ble.s u29f8
u29e0 tst.w -$5a72(a4)
 bne u2a8a
 tst.w -$5a74(a4)
 beq.s u29f8
 lea -$546(a4),a3
 move.w #0,-8(a6)
u29f8 move.w #$f,-$5a84(a4)
 clr.w -$5a7c(a4)
 clr.w -$5a7e(a4)
 andi.w #$f,d7
 beq.s u2a20
 move.w #2,-$5a86(a4)
 cmp.w -8(a6),d7
 bgt.s u2a2e
 move.w #1,-$5a86(a4)
 bra.s u2a2e
u2a20 move.w #1,-$5a86(a4)
 move.l a3,-$5a8a(a4)
 bra u2c8c
u2a2e move.w -$5a86(a4),d0
 asl.w #4,d0
 move.w d0,-(a7)
 move.w #$c,-(a7)
 move.l -$5a8e(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 move.l d7,d0
 move.b d0,-4(a6)
 and.w #$ff,d0
 add.w #$f,d0
 move.b d0,-3(a6)
 clr.b -2(a6)
 move.b #$f,-1(a6)
 move.w #$ffff,-(a7)
 move.w -$5a86(a4),d0
 asl.w #3,d0
 move.w d0,-(a7)
 move.w #8,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -4(a6)
 move.l -$5a8e(a4),-(a7)
 move.l a3,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 bra u2c8c
u2a8a move.w #1,-$5a76(a4)
 move.w #$11,-$5a84(a4)
 move.w #2,-$5a86(a4)
 move.w #8,-$5a7c(a4)
 move.w #8,-$5a7e(a4)
 moveq #$12,d5
 moveq #$11,d4
 movea.l -$5a9e(a4),a3
 movea.l -$5a9a(a4),a2
 move.l a2,-$c(a6)
 subq.w #8,d7
 andi.w #$f,d7
 cmpi.w #$f,d7
 bne.s u2aca
 move.w #3,-$5a86(a4)
u2aca subi.w #$13,d6
 ble u2c24
 bra.s u2b1c
u2ad4 move.w #$f,-$5a84(a4)
 move.w #2,-$5a86(a4)
 move.w #9,-$5a7c(a4)
 move.w #7,-$5a7e(a4)
 move.w #$10,d5
 move.w #$14,d4
 movea.l -$5a96(a4),a3
 movea.l -$5a92(a4),a2
 move.l a2,-$c(a6)
 subi.w #9,d7
 andi.w #$f,d7
 cmpi.w #$c,d7
 blt.s u2b14
 move.w #3,-$5a86(a4)
u2b14 subi.w #$14,d6
 ble u2c24
u2b1c tst.w -$2dda(a4)
 beq u2c24
 cmp.w d5,d6
 blt.s u2b30
 move.l a3,-$c(a6)
 bra u2c24
u2b30 move.l d7,d0
 tst.w d0
 bne.s u2b86
 move.w d5,d7
 move.l d6,d1
 sub.w d1,d7
 asl.w #4,d7
 and.l #$ffff,d7
 move.l d7,d0
 move.w d0,-(a7)
 move.l -$5a8e(a4),-(a7)
 move.l a2,-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 move.l d6,d0
 asl.w #4,d0
 move.w d0,-(a7)
 move.l -$5a8e(a4),d0
 move.l d7,d1
 and.l #$ffff,d1
 add.l d1,d0
 move.l d0,-(a7)
 move.l a3,d0
 move.l d7,d1
 and.l #$ffff,d1
 add.l d1,d0
 move.l d0,-(a7)
 jsr u09dc(pc)
 adda.w #$a,a7
 bra u2c22
u2b86 move.w -$5a86(a4),d0
 mulu d5,d0
 move.w d0,-(a7)
 move.w #$c,-(a7)
 move.l -$5a8e(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 move.w d5,d0
 move.l d6,d1
 sub.w d1,d0
 and.l #$ffff,d0
 move.l d0,d6
 move.l d7,d0
 move.b d0,-4(a6)
 and.w #$ff,d0
 add.w d4,d0
 move.b d0,-3(a6)
 clr.b -2(a6)
 move.l d6,d0
 subq.w #1,d0
 move.b d0,-1(a6)
 move.w #$ffff,-(a7)
 move.w -$5a86(a4),d0
 asl.w #3,d0
 move.w d0,-(a7)
 move.w #$10,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -4(a6)
 move.l -$5a8e(a4),-(a7)
 move.l a2,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l d6,d0
 move.b d0,-2(a6)
 move.w d5,d0
 subq.w #1,d0
 move.b d0,-1(a6)
 move.w #$ffff,-(a7)
 move.w -$5a86(a4),d0
 asl.w #3,d0
 move.w d0,-(a7)
 move.w #$10,-(a7)
 move.l d6,d0
 move.w d0,-(a7)
 clr.w -(a7)
 pea -4(a6)
 move.l -$5a8e(a4),-(a7)
 move.l a3,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
u2c22 bra.s u2c8c
u2c24 move.l d7,d0
 tst.w d0
 bne.s u2c32
 move.l -$c(a6),-$5a8a(a4)
 bra.s u2c8c
u2c32 move.l d7,d0
 move.b d0,-4(a6)
 and.w #$ff,d0
 add.w d4,d0
 move.b d0,-3(a6)
 clr.b -2(a6)
 move.w d5,d0
 subq.w #1,d0
 move.b d0,-1(a6)
 move.w -$5a86(a4),d0
 mulu d5,d0
 move.w d0,-(a7)
 move.w #$c,-(a7)
 move.l -$5a8e(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 move.w #$ffff,-(a7)
 move.w -$5a86(a4),d0
 asl.w #3,d0
 move.w d0,-(a7)
 move.w #$10,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -4(a6)
 move.l -$5a8e(a4),-(a7)
 move.l -$c(a6),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
u2c8c move.w -6(a6),-$5a00(a4)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
 link a6,#0
u2c9e movem.l d0-d7/a0-a2,-(a7)
 move.w #1,-$5a68(a4)
 move.w -$5a80(a4),d6
 move.w -$5a82(a4),d7
 move.w d6,-$5a78(a4)
 move.w d7,-$5a7a(a4)
 moveq #0,d2
 sub.w -$5a7c(a4),d6
 bpl.s u2cc8
 moveq #0,d6
 moveq #0,d1
 moveq #1,d2
 bra.s u2cd6
u2cc8 cmpi.w #$110,d6
 bmi.s u2cd4
 move.w #$88,d1
 bra.s u2cdc
u2cd4 move.w d6,d1
u2cd6 andi.w #$fff0,d1
 lsr.w #1,d1
u2cdc swap d2
 sub.w -$5a7e(a4),d7
 bpl.s u2cec
 move.w d7,d2
 moveq #0,d7
 neg.w d2
 bra.s u2d04
u2cec cmpi.w #$b6,d7
 bmi.s u2cf8
 addi.w #$71c0,d1
 bra.s u2d04
u2cf8 move.w d7,d0
 lsl.w #5,d0
 add.w d0,d1
 add.w d0,d0
 add.w d0,d0
 add.w d0,d1
u2d04 movea.l d2,a2
 movea.w d1,a0
 adda.l -$2ece(a4),a0
 move.l a0,-$5aa2(a4)
 movea.l -$5aa6(a4),a1
 lea $1b0(a1),a1
 movem.l $aa0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $a00(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $960(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $8c0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $820(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $780(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $6e0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $640(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $5a0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $500(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $460(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $3c0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $320(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $280(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $1e0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $140(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l $a0(a0),d0-d5
 movem.l d0-d5,-(a1)
 movem.l (a0),d0-d5
 movem.l d0-d5,-(a1)
 move.w -$5a84(a4),d0
 move.w -$5a86(a4),d1
 movea.l -$5a8a(a4),a1
 move.w a2,d2
 beq.s u2de4
 sub.w d2,d0
 mulu d1,d2
 lsl.w #3,d2
 adda.w d2,a1
 bra.s u2df0
u2de4 move.w d0,d3
 add.w d7,d3
 subi.w #$c8,d3
 bmi.s u2df0
 sub.w d3,d0
u2df0 move.l a2,d2
 swap d2
 tst.w d2
 beq.s u2e10
u2df8 subq.w #2,d1
 bne.s u2e06
 lea u2eb2(pc),a2
 move.w #$98,d5
 bra.s u2e42
u2e06 lea u2e86(pc),a2
 move.w #$90,d5
 bra.s u2e42
u2e10 move.w d1,d3
 lsl.w #4,d3
 add.w d6,d3
 subi.w #$150,d3
 bmi.s u2e20
 subq.l #8,a1
 bra.s u2df8
u2e20 subq.w #2,d1
 bpl.s u2e2e
 lea u2eb4(pc),a2
 move.w #$98,d5
 bra.s u2e42
u2e2e bne.s u2e3a
 lea u2e88(pc),a2
 move.w #$90,d5
 bra.s u2e42
u2e3a lea u2e5c(pc),a2
 move.w #$88,d5
u2e42 andi.w #$fff0,d6
 lsr.w #1,d6
 lsl.w #5,d7
 add.w d7,d6
 add.w d7,d7
 add.w d7,d7
 add.w d7,d6
 movea.w d6,a0
 adda.l -$2ece(a4),a0
 move.w d0,d7
 jmp (a2)
u2e5c movem.w (a1),d0-d3
 move.w d2,d4
 and.w d3,d4
 not.w d4
 or.w d0,d4
 or.w d1,d4
 swap d0
 move.w d1,d0
 swap d2
 move.w d3,d2
 move.w d4,d3
 swap d4
 move.w d3,d4
 and.l d4,d0
 and.l d4,d2
 not.l d4
 and.l d4,(a0)
 or.l d0,(a0)+
 and.l d4,(a0)
 or.l d2,(a0)+
u2e86 addq.l #8,a1
u2e88 movem.w (a1),d0-d3
 move.w d2,d4
 and.w d3,d4
 not.w d4
 or.w d0,d4
 or.w d1,d4
 swap d0
 move.w d1,d0
 swap d2
 move.w d3,d2
 move.w d4,d3
 swap d4
 move.w d3,d4
 and.l d4,d0
 and.l d4,d2
 not.l d4
 and.l d4,(a0)
 or.l d0,(a0)+
 and.l d4,(a0)
 or.l d2,(a0)+
u2eb2 addq.l #8,a1
u2eb4 movem.w (a1)+,d0-d3
 move.w d2,d4
 and.w d3,d4
 not.w d4
 or.w d0,d4
 or.w d1,d4
 swap d0
 move.w d1,d0
 swap d2
 move.w d3,d2
 move.w d4,d3
 swap d4
 move.w d3,d4
 and.l d4,d0
 and.l d4,d2
 not.l d4
 and.l d4,(a0)
 or.l d0,(a0)+
 and.l d4,(a0)
 or.l d2,(a0)+
 adda.w d5,a0
 subq.w #1,d7
 bmi.s u2ee6
 jmp (a2)
u2ee6 movem.l (a7)+,d0-d7/a0-a2
 rts
 unlk a6
 rts
 link a6,#0
u2ef4 movem.l d0/a4,-(a7)
 movea.l u0b2c(pc),a4
 move.b (a0),d0
 andi.w #3,d0
 cmp.w -$5a58(a4),d0
 beq.s u2f14
 move.l a5,-(a7)
 movea.l u0b30(pc),a5
 jsr u2f70(pc)
 movea.l (a7)+,a5
u2f14 tst.w -$5a6c(a4)
 bne.s u2f62
 move.b 1(a0),d0
 ext.w d0
 beq.s u2f38
 add.w -$5a5a(a4),d0
 bpl.s u2f2a
 clr.w d0
u2f2a cmpi.w #$13f,d0
 ble.s u2f34
 move.w #$13f,d0
u2f34 move.w d0,-$5a5a(a4)
u2f38 move.b 2(a0),d0
 ext.w d0
 beq.s u2f56
 add.w -$5a5c(a4),d0
 bpl.s u2f48
 clr.w d0
u2f48 cmpi.w #$c7,d0
 ble.s u2f52
 move.w #$c7,d0
u2f52 move.w d0,-$5a5c(a4)
u2f56 tst.w -$5a66(a4)
 beq.s u2f62
 move.w #1,-$5a62(a4)
u2f62 movem.l (a7)+,d0/a4
 rts
 unlk a6
 rts
 link a6,#0
u2f70 tas -$5ac0(a4)
 beq.s u2f78
 rts
u2f78 movem.l d0-d3/a0-a1,-(a7)
 tst.w -$5a58(a4)
 beq.s u2f86
 tst.w d0
 bne.s u2fc4
u2f86 move.w d0,-$5a58(a4)
 beq.s u2fa2
 move.l -$5a5c(a4),d1
 move.l d1,d2
 swap d2
 move.w d0,-(a7)
 move.w d2,-(a7)
 move.w d1,-(a7)
 jsr $558(a5)
 addq.l #6,a7
 bra.s u2fc4
u2fa2 tst.w -$2dec(a4)
 beq.s u2fb4
 clr.w -$5a6c(a4)
 move.w #1,-$2dee(a4)
 bra.s u2fc4
u2fb4 tst.w -$2df0(a4)
 beq.s u2fc4
 clr.w -$5a6c(a4)
 move.w #1,-$2df2(a4)
u2fc4 clr.w -$5ac0(a4)
 movem.l (a7)+,d0-d3/a0-a1
 rts
 unlk a6
 rts
u2fd2 link a6,#0
 move.w -$5a56(a4),d0
 addq.w #1,-$5a56(a4)
 tst.w d0
 bne.s u3006
 move.w #1,-$5a6a(a4)
 clr.w -$5a66(a4)
 clr.w -$5a62(a4)
 clr.w -$5a64(a4)
 tst.w -$5a68(a4)
 beq.s u3002
 clr.w -$5a68(a4)
 jsr u289a(pc)
u3002 clr.w -$5a6a(a4)
u3006 cmpi.w #$31e9,-$4b12(a4)
 beq.s u3022
 pea -$2d9e(a4)
 jsr $41a(a5)
 addq.l #4,a7
 tst.w d0
 bne.s u3022
 move.w #$459,-$fac(a4)
u3022 unlk a6
 rts
u3026 link a6,#0
 move.w -$5a56(a4),d0
 subq.w #1,-$5a56(a4)
 cmpi.w #1,d0
 bne.s u3044
 move.w #1,d0
 move.w d0,-$5a66(a4)
 move.w d0,-$5a62(a4)
u3044 unlk a6
 rts
u3048 link a6,#0
 movea.l 8(a6),a0
 cmpi.w #$4ef9,(a0)
 bne.s u305a
 movea.l 2(a0),a0
u305a moveq #$64,d0
 move.l #$4e5e4e75,d1
u3062 add.w (a0)+,d0
 cmp.l (a0),d1
 bne.s u3062
 unlk a6
 rts
u306c lea -$5ac4(a4),a1
 cmpi.w #$103,(a1)
 beq.s u3080
 btst #5,$fffffa01.w
 beq.s u3086
 moveq #-2,d0
u3080 subq.w #1,(a1)
 beq.s u30aa
 rts
u3086 movea.w #$8606,a0
 move.w #$90,(a0)
 moveq #1,d0
 and.w (a0),d0
 beq.s u30a8
 move.w #$80,(a0)
 moveq #$2c,d0
u309a subq.w #1,d0
 bne.s u309a
 moveq #$10,d0
 and.w -2(a0),d0
 beq.s u30aa
 moveq #-7,d0
u30a8 subq.w #1,d0
u30aa move.w d0,(a1)
 bne.s u30b2
 clr.w -$2dc8(a4)
u30b2 clr.w $43e.w
 rts
u30b8 tst.w $43e.w
 bne.s u30e4
 move.w $ffff8604.w,d0
 btst #7,d0
 bne.s u30e4
 movea.w #$8800,a0
 moveq #7,d0
 move.w sr,d1
 ori.w #$700,sr
 move.b #$e,(a0)
 or.b (a0),d0
 move.b d0,2(a0)
 move.w d1,sr
 clr.w -$5ac2(a4)
u30e4 rts
u30e6 link a6,#-2
 movem.l d0-d3,-(a7)
 move.l 8(a6),d2
 bne.s u30fe
 divu #0,d0
 clr.l d0
 clr.l d1
 bra.s u3148
u30fe move.l $c(a6),d1
 clr.w -2(a6)
 tst.l d1
 bge.s u3110
 addq.w #3,-2(a6)
 neg.l d1
u3110 tst.l d2
 bge.s u311a
 addq.w #1,-2(a6)
 neg.l d2
u311a moveq #1,d3
u311c cmp.l d1,d2
 bcc.s u3126
 asl.l #1,d2
 asl.l #1,d3
 bra.s u311c
u3126 clr.l d0
u3128 cmp.l d1,d2
 bhi.s u3130
 or.l d3,d0
 sub.l d2,d1
u3130 lsr.l #1,d2
 lsr.l #1,d3
 bcc.s u3128
 cmpi.w #3,-2(a6)
 blt.s u3140
 neg.l d1
u3140 lsr -2(a6)
 bcc.s u3148
 neg.l d0
u3148 move.l d0,8(a6)
 move.l d1,$c(a6)
 movem.l (a7)+,d0-d3
 unlk a6
 rts
u3158 link a6,#-6
 move.l d0,-(a7)
 clr.w -2(a6)
 tst.l 8(a6)
 bge.s u3170
 addq.w #1,-2(a6)
 neg.l 8(a6)
u3170 tst.l $c(a6)
 bge.s u317e
 addq.w #1,-2(a6)
 neg.l $c(a6)
u317e move.w $a(a6),d0
 mulu $e(a6),d0
 move.l d0,-6(a6)
 move.w 8(a6),d0
 mulu $e(a6),d0
 add.w d0,-6(a6)
 move.w $a(a6),d0
 mulu $c(a6),d0
 add.w d0,-6(a6)
 andi.w #1,-2(a6)
 beq.s u31ae
 neg.l -6(a6)
u31ae move.l (a7)+,d0
 move.l -6(a6),$c(a6)
 unlk a6
 move.l (a7)+,(a7)
 tst.l 4(a7)
 rts
 unlk a6
 rts
u31c4 link a6,#0
 move.l a1,-(a7)
u31ca move.w (a1)+,(a0)+
 dbf d0,u31ca
 movea.l (a7)+,a1
 unlk a6
 rts
u31d6 link a6,#0
 move.l a1,-(a7)
u31dc cmpm.w (a1)+,(a0)+
 dbne d0,u31dc
 movea.l (a7)+,a1
 unlk a6
 rts
u31e8 link a6,#-4
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.l a3,-4(a6)
 bra u3200
u3200 move.b (a3)+,d0
 bne u3200
 subq.l #1,a3
 bra u320c
u320c move.b (a2)+,(a3)+
 bne u320c
 move.l -4(a6),d0
 bra u321a
u321a movem.l (a7)+,a2-a3
 unlk a6
 rts
u3222 link a6,#0
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 bra u323a
u3236 addq.l #1,a3
 addq.l #1,a2
u323a move.b (a3),d0
 beq u324e
 move.b (a3),d0
 move.b (a2),d1
 ext.w d1
 ext.w d0
 cmp.w d1,d0
 beq u3236
u324e move.b (a3),d0
 ext.w d0
 move.b (a2),d3
 ext.w d3
 sub.w d3,d0
 bra u325c
u325c movem.l (a7)+,a2-a3
 unlk a6
 rts
u3264 link a6,#0
 movea.l 8(a6),a0
 move.l a0,d0
 movea.l $c(a6),a1
u3272 move.b (a1)+,(a0)+
 bne u3272
 unlk a6
 rts
u327c link a6,#-4
 movem.l d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.w $10(a6),d7
 move.l a3,-4(a6)
 bra u3298
u3298 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 beq u32aa
 move.b (a2)+,d0
 move.b d0,(a3)+
 bne u3298
u32aa move.l -4(a6),d0
 bra u32b2
u32b2 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
u32ba link a6,#0
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l a3,a2
 bra u32ce
u32cc addq.l #1,a3
u32ce move.b (a3),d0
 bne u32cc
 move.l a3,d0
 sub.l a2,d0
 bra u32dc
u32dc movem.l (a7)+,a2-a3
 unlk a6
 rts
u32e4 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 bra u32fa
u32f8 addq.l #1,a3
u32fa move.b (a3),d0
 move.b d0,d6
 beq u330c
 move.b d6,d0
 ext.w d0
 cmp.w d7,d0
 bne u32f8
u330c move.b d6,d0
 beq u3318
 move.l a3,d0
 bra u331e
u3318 move.l #0,d0
u331e bra u3322
u3322 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
u332a move.w #$200,-$72a(a4)
 move.w #$200,-$734(a4)
 move.w #1,-$74e(a4)
 lea -$812(a4),a1
 lea -$7be(a4),a0
 move.l a0,(a1)+
 lea -$72e(a4),a0
 move.l a0,(a1)+
 lea -$74e(a4),a0
 move.l a0,(a1)+
 lea -$734(a4),a0
 move.l a0,(a1)+
 lea -$9de(a4),a1
 lea -$802(a4),a0
 move.l a0,(a1)+
 lea -$8a2(a4),a0
 move.l a0,(a1)+
 lea -$90e(a4),a0
 move.l a0,(a1)+
 move.w #$ffff,-$1c52(a4)
 move.w #$ffff,-$1c54(a4)
 move.w #1,-$1c56(a4)
 move.w #$ffff,-$28ba(a4)
 move.w #1,-$2da4(a4)
 move.w #1,-$2dd8(a4)
 move.w #$ffff,-$2de4(a4)
 move.w #3,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.l d0,-$2ece(a4)
 move.w #$11,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.l d0,-$2ed2(a4)
 move.w #$ffff,-$3274(a4)
 move.l #$ffffff38,-$3296(a4)
 lea -$32bc(a4),a1
 lea -$5a52(a4),a0
 move.l a0,(a1)+
 lea -$2e4a(a4),a0
 move.l a0,(a1)+
 lea -$5894(a4),a0
 move.l a0,(a1)+
 lea -$40a6(a4),a0
 move.l a0,(a1)+
 lea -$333e(a4),a0
 move.l a0,(a1)+
 lea -$413e(a4),a0
 move.l a0,(a1)+
 move.w #0,-$32d6(a4)
 move.w #$ffff,-$335c(a4)
 move.w #$ffff,-$40b8(a4)
 lea -$40d4(a4),a1
 lea $12(a4),a0
 move.l a0,(a1)+
 lea $1a(a4),a0
 move.l a0,(a1)+
 lea $20(a4),a0
 move.l a0,(a1)+
 lea $28(a4),a0
 move.l a0,(a1)+
 move.l #$fffffe07,-$40d8(a4)
 move.w #0,-$40e8(a4)
 move.w #$ffff,-$40fa(a4)
 lea -$417a(a4),a1
 lea $92(a4),a0
 move.l a0,(a1)+
 lea $9c(a4),a0
 move.l a0,(a1)+
 lea $a4(a4),a0
 move.l a0,(a1)+
 lea $b0(a4),a0
 move.l a0,(a1)+
 lea $bc(a4),a0
 move.l a0,(a1)+
 lea $c6(a4),a0
 move.l a0,(a1)+
 lea $ce(a4),a0
 move.l a0,(a1)+
 lea $d4(a4),a0
 move.l a0,(a1)+
 lea $dc(a4),a0
 move.l a0,(a1)+
 lea $e6(a4),a0
 move.l a0,(a1)+
 lea $f0(a4),a0
 move.l a0,(a1)+
 lea $fa(a4),a0
 move.l a0,(a1)+
 lea $104(a4),a0
 move.l a0,(a1)+
 lea $10e(a4),a0
 move.l a0,(a1)+
 lea $118(a4),a0
 move.l a0,(a1)+
 lea -$418a(a4),a1
 lea -$298e(a4),a0
 move.l a0,d0
 move.l d0,(a1)+
 lea -$396(a4),a0
 move.l a0,d0
 move.l d0,(a1)+
 lea -$40d8(a4),a0
 move.l a0,d0
 move.l d0,(a1)+
 lea -$72a(a4),a0
 move.l a0,d0
 move.l d0,(a1)+
 lea -$419a(a4),a1
 lea $132(a4),a0
 move.l a0,(a1)+
 lea $138(a4),a0
 move.l a0,(a1)+
 lea $13e(a4),a0
 move.l a0,(a1)+
 lea $144(a4),a0
 move.l a0,(a1)+
 lea -$41b6(a4),a1
 lea $1cc(a4),a0
 move.l a0,(a1)+
 lea $1ce(a4),a0
 move.l a0,(a1)+
 lea $1d8(a4),a0
 move.l a0,(a1)+
 lea $1e2(a4),a0
 move.l a0,(a1)+
 lea $1ea(a4),a0
 move.l a0,(a1)+
 lea $1f4(a4),a0
 move.l a0,(a1)+
 lea $200(a4),a0
 move.l a0,(a1)+
 move.w #4,-$41d8(a4)
 move.w #1,-$41da(a4)
 lea -$4a1a(a4),a1
 lea -$48c0(a4),a0
 move.l a0,(a1)+
 lea -$48e4(a4),a0
 move.l a0,(a1)+
 lea -$4914(a4),a0
 move.l a0,(a1)+
 lea -$4950(a4),a0
 move.l a0,(a1)+
 lea -$4968(a4),a0
 move.l a0,(a1)+
 lea -$498c(a4),a0
 move.l a0,(a1)+
 lea -$49bc(a4),a0
 move.l a0,(a1)+
 lea -$49f8(a4),a0
 move.l a0,(a1)+
 move.w #$ffff,-$4f2a(a4)
 lea -$5920(a4),a1
 move.b #1,(a1)+
 move.b #2,(a1)+
 move.b #4,(a1)+
 move.b #8,(a1)+
 move.b #$10,(a1)+
 move.b #$20,(a1)+
 move.b #$40,(a1)+
 move.b #$80,(a1)+
 lea $308(a4),a0
 move.l a0,-$5924(a4)
 lea $324(a4),a0
 move.l a0,-$5928(a4)
 lea $34a(a4),a0
 move.l a0,-$592c(a4)
 lea $366(a4),a0
 move.l a0,-$5930(a4)
 lea $37e(a4),a0
 move.l a0,-$5934(a4)
 lea $394(a4),a0
 move.l a0,-$5938(a4)
 lea $3ac(a4),a0
 move.l a0,-$593c(a4)
 lea $3d0(a4),a0
 move.l a0,-$5940(a4)
 lea $3ea(a4),a0
 move.l a0,-$5944(a4)
 lea $408(a4),a0
 move.l a0,-$5948(a4)
 lea $420(a4),a0
 move.l a0,-$594c(a4)
 lea $43a(a4),a0
 move.l a0,-$5950(a4)
 lea $44e(a4),a0
 move.l a0,-$5954(a4)
 lea $46a(a4),a0
 move.l a0,-$5958(a4)
 lea $490(a4),a0
 move.l a0,-$595c(a4)
 lea $4a6(a4),a0
 move.l a0,-$5960(a4)
 lea $4b8(a4),a0
 move.l a0,-$5964(a4)
 lea $4cc(a4),a0
 move.l a0,-$5968(a4)
 lea $4e2(a4),a0
 move.l a0,-$596c(a4)
 lea $4f6(a4),a0
 move.l a0,-$5970(a4)
 lea $50e(a4),a0
 move.l a0,-$5974(a4)
 lea $51e(a4),a0
 move.l a0,-$5978(a4)
 lea $52c(a4),a0
 move.l a0,-$597c(a4)
 lea $53a(a4),a0
 move.l a0,-$5980(a4)
 lea $548(a4),a0
 move.l a0,-$5984(a4)
 lea $54c(a4),a0
 move.l a0,-$5988(a4)
 lea -$59e8(a4),a1
 move.b #$41,(a1)+		; A
 move.b #$3a,(a1)+		; :
 move.b #$5c,(a1)+		; \
 move.b #$43,(a1)+		; C
 move.b #$53,(a1)+		; S
 move.b #$42,(a1)+		; B
 move.b #$47,(a1)+		; G
 move.b #$41,(a1)+		; A
 move.b #$4d,(a1)+		; M
 move.b #$45,(a1)+		; E
 move.b #$2e,(a1)+		; .
 move.b #$44,(a1)+		; D
 move.b #$41,(a1)+		; A
 move.b #$54,(a1)+		; T
 move.b #0,(a1)+
 lea -$59f8(a4),a1
 move.b #$41,(a1)+		; A
 move.b #$3a,(a1)+		; :
 move.b #$5c,(a1)+		; \
 move.b #$43,(a1)+		; C
 move.b #$53,(a1)+		; S
 move.b #$42,(a1)+		; B
 move.b #$47,(a1)+		; G
 move.b #$41,(a1)+		; A
 move.b #$4d,(a1)+		; M
 move.b #$45,(a1)+		; E
 move.b #$2e,(a1)+		; .
 move.b #$42,(a1)+		; B
 move.b #$41,(a1)+		; A
 move.b #$4b,(a1)+		; K
 move.b #0,(a1)+
 lea -$59fe(a4),a1
 move.b #$41,(a1)+		; A
 move.b #$3a,(a1)+		; :
 move.b #$5c,(a1)+		; \
 move.b #$46,(a1)+		; F
 move.b #0,(a1)+
 move.w #0,-$5a00(a4)
 move.l #$484,-$5a08(a4)
 move.w #$ffff,-$5a0c(a4)
 move.w #0,-$5a0e(a4)
 move.w #1,-$5a56(a4)
 move.w #1,-$5a6e(a4)
 move.w #0,-$5a76(a4)
 lea -$5aaa(a4),a1
 move.b #2,(a1)+
 move.b #$11,(a1)+
 move.b #2,(a1)+
 move.b #$11,(a1)+
 lea -$5aae(a4),a1
 move.b #0,(a1)+
 move.b #$f,(a1)+
 move.b #0,(a1)+
 move.b #$f,(a1)+
 lea -$5ab6(a4),a1
 move.l #$20014,(a1)+
 move.l #$2000f,(a1)+
 lea -$5abe(a4),a1
 move.l #$12,(a1)+
 move.l #$d,(a1)+
 move.w #0,-$5ac0(a4)
 move.w #0,-$5ac2(a4)
 move.w #0,-$5ac4(a4)
 move.w #$ffff,-$5af4(a4)
 move.w #$1000,-$5b4e(a4)
 lea -$5b68(a4),a1
 move.b #$ff,(a1)+
 move.b #$fe,(a1)+
 move.b #$fc,(a1)+
 move.b #$f8,(a1)+
 move.b #$f0,(a1)+
 move.b #$e0,(a1)+
 move.b #$c0,(a1)+
 move.b #$80,(a1)+
 move.b #0,(a1)+
 lea -$5b72(a4),a1
 move.b #0,(a1)+
 move.b #1,(a1)+
 move.b #3,(a1)+
 move.b #7,(a1)+
 move.b #$f,(a1)+
 move.b #$1f,(a1)+
 move.b #$3f,(a1)+
 move.b #$7f,(a1)+
 move.b #$ff,(a1)+
 move.w #0,-$5b74(a4)
 move.w #0,-$5b76(a4)
 rts
u37ba link a6,#0
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 clr.w d5
 bra.s u37fc
u37ce move.w d5,d0
 move.w d6,d1
 muls #$e,d1
 lea -$19c4(a4),a0
 adda.w d1,a0
 asl.l #1,d0
 lea (a0),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 move.w d5,d2
 muls #$20,d2
 lea -$228(a4),a0
 add.l a0,d2
 asl.l #1,d1
 movea.l d2,a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d5
u37fc cmpi.w #6,d5
 blt.s u37ce
 move.w d6,d0
 muls #$e,d0
 lea -$19b8(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 lea -$19e4(a4),a0
 adda.w d7,a0
 and.w #$ff,d0
 move.b d0,(a0)
 move.w d6,d0
 muls #$e,d0
 lea -$19b7(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 lea -$19d4(a4),a0
 adda.w d7,a0
 and.w #$ff,d0
 move.b d0,(a0)
 movem.l (a7)+,d5-d7
 unlk a6
 rts
u383e link a6,#0
 move.w d7,-(a7)
 move.w 8(a6),d7
 move.w -$1c52(a4),d0
 cmp.w d7,d0
 beq.s u3888
 move.w d7,-$1c52(a4)
 move.w d7,d0
 muls #2,d0
 add.w #$4b,d0
 move.w d0,d7
 clr.w -(a7)
 clr.w -(a7)
 move.l -$816(a4),-(a7)
 move.w d7,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l -$81a(a4),-(a7)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
u3888 move.w (a7)+,d7
 unlk a6
 rts
u388e link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w -$1c54(a4),d0
 cmp.w d7,d0
 bne.s u38aa
 move.w -$5838(a4),d0
 beq u392a
u38aa move.w d7,-$1c54(a4)
 move.w d7,d0
 muls #$d,d0
 add.w #$4d,d0
 move.w d0,d7
 lea -$85a(a4),a0
 movea.l a0,a3
 move.w d7,d6
 add.w #$d,d6
 bra.s u38dc
u38c8 clr.w -(a7)
 clr.w -(a7)
 move.l (a3)+,-(a7)
 move.w d7,d0
 addq.w #1,d7
 move.w d0,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
u38dc move.w d7,d0
 cmp.w d6,d0
 blt.s u38c8
 move.b -$c3d(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$c3e(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$85e(a4),-(a7)
 move.l -$856(a4),-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.b -$b9d(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$b9e(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$826(a4),-(a7)
 move.l -$82a(a4),-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
u392a movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
u3932 link a6,#-$16
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$1c56(a4),d0
 bne.s u3948
 move.w -$5b42(a4),d0
 seq d0
 tst.b d0
u3948 sne d0
 and.w #1,d0
 move.w d0,-$a(a6)
 movea.l -$28b0(a4),a0
 move.w $e(a0),d5
 and.w #$f,d5
 movea.l -$28b0(a4),a0
 move.w $e(a0),d6
 and.w #$f0,d6
 lsr.w #4,d6
 move.w -$a(a6),d0
 bne.s u397e
 move.w d5,d0
 move.w -$1c52(a4),d1
 cmp.w d1,d0
 sne d0
 tst.b d0
u397e sne d0
 tst.b d0
 bne.s u398e
 move.w d6,d0
 cmp.w -$1c54(a4),d0
 sne d0
 tst.b d0
u398e and.w #1,d0
 move.w d0,-$16(a6)
 beq.s u39a8
 clr.w -(a7)
 clr.w -(a7)
 jsr $570(a5)
 addq.l #4,a7
 jsr $5fa(a5)
 bra.s u39ae
u39a8 move.w -$5ac4(a4),d0
 bne.s u39a8
u39ae clr.w -(a7)
 move.l #$466,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a2
 move.w #$8c,-(a7)
 move.l a2,-(a7)
 pea -$128(a4)
 jsr 6(a5)
 adda.w #$a,a7
 move.w #$46,d4
 move.w d5,-(a7)
 jsr u383e(pc)
 addq.l #2,a7
 move.w d6,-(a7)
 jsr u388e(pc)
 addq.l #2,a7
 move.w -$5b42(a4),d0
 beq u3b4a
 clr.w -(a7)
 move.l #$13f8,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$738(a4)
 move.w #1,-$5a00(a4)
 move.b -$bfd(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$bfe(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$82e(a4),d0
 move.l d0,-$8ba(a4)
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.l #$a0198,-(a7)
 move.l -$8a6(a4),-(a7)
 jsr u8e40(pc)
 addq.l #8,a7
 move.l #$40ffff,-(a7)
 move.w #$40,-(a7)
 clr.w -(a7)
 move.w #$b,-(a7)
 pea -$b8e(a4)
 move.l -$8a6(a4),-(a7)
 move.l -$738(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 move.b -$be5(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$be6(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$832(a4),d0
 move.l d0,-$8be(a4)
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.l #$a027f,-(a7)
 move.l -$8aa(a4),-(a7)
 jsr u8e40(pc)
 addq.l #8,a7
 move.l #$48ffff,-(a7)
 move.w #$48,-(a7)
 clr.w -(a7)
 move.w #8,-(a7)
 pea -$b92(a4)
 move.l -$8aa(a4),-(a7)
 move.l -$738(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 move.l #$13f8,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 move.b -$bcd(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$bce(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$8ae(a4),-(a7)
 move.l -$836(a4),d0
 move.l d0,-$8c2(a4)
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.b -$bad(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$bae(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$8b6(a4),-(a7)
 move.l -$83a(a4),d0
 move.l d0,-$8c6(a4)
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.b -$bad(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$bae(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l -$8b2(a4),-(a7)
 move.l -$83e(a4),d0
 move.l d0,-$8ca(a4)
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
u3b4a movea.l -$28b0(a4),a0
 move.w $c(a0),d0
 and.w #$f0,d0
 lsr.w #4,d0
 beq.s u3b60
 move.w -$5b42(a4),d0
 beq.s u3b8a
u3b60 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w #$28,(a0)
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w #$1a,(a0)
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w #$1b,(a0)
u3b8a lea -$750(a4),a0
 move.l a0,-4(a6)
 movea.l -$28b0(a4),a0
 move.w $e(a0),d6
 and.w #$f0,d6
 lsr.w #4,d6
 mulu #$12,d6
 add.w #$5a,d6
 move.w d6,d7
 add.w #$12,d7
 bra.s u3bd0
u3bb0 move.w -$5b42(a4),d0
 bne.s u3bc2
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d6,(a0)
u3bc2 move.w d6,d0
 addq.w #1,d6
 movea.l -4(a6),a0
 subq.l #2,-4(a6)
 move.w d0,(a0)
u3bd0 move.w d6,d0
 cmp.w d7,d0
 blt.s u3bb0
 move.w #$22c,d7
 move.w -$5b42(a4),d0
 bne.s u3be2
 subq.w #6,d7
u3be2 move.w #$215,d6
 bra.s u3bf8
u3be8 move.w d6,d0
 addq.w #1,d6
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3bf8 move.w d6,d0
 cmp.w d7,d0
 blt.s u3be8
 clr.w d6
 bra.s u3c4c
u3c02 move.w #$168,d5
 move.w d6,d1
 muls #6,d1
 lea -$15e4(a4),a0
 adda.w d1,a0
 clr.w d3
 move.b (a0),d3
 add.w d3,d5
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d5,(a0)
 move.w d6,d0
 muls #6,d0
 lea -$15e0(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #$10,d0
 beq.s u3c4a
 move.w d5,d0
 addq.w #1,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3c4a addq.w #1,d6
u3c4c cmpi.w #$55,d6
 blt.s u3c02
 clr.w d6
 bra.s u3cba
u3c56 move.w #$13c,d5
 move.w d6,d1
 muls #6,d1
 lea -$1638(a4),a0
 adda.w d1,a0
 clr.w d3
 move.b (a0),d3
 add.w d3,d5
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d5,(a0)
 move.w d6,d0
 muls #6,d0
 lea -$1634(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #3,d0
 move.w d0,d7
 cmpi.w #3,d0
 beq.s u3cb8
 move.w d5,d0
 addq.w #1,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
 cmpi.w #2,d7
 beq.s u3cb8
 move.w d5,d0
 addq.w #2,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3cb8 addq.w #1,d6
u3cba cmpi.w #$e,d6
 blt.s u3c56
 move.w #$15c,d6
 bra.s u3cd6
u3cc6 move.w d6,d0
 addq.w #1,d6
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3cd6 cmpi.w #$168,d6
 blt.s u3cc6
 movea.l -$28b0(a4),a0
 move.w $e(a0),d0
 and.w #$f00,d0
 lsr.w #8,d0
 move.b d0,-6(a6)
 movea.l -$28b0(a4),a0
 move.w $e(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.b d0,-5(a6)
 clr.w d5
 bra.s u3d5a
u3d06 move.w d5,d0
 asl.l #1,d0
 lea -$776(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-4(a6)
 move.w #$6c,d6
 move.w d5,d1
 lea -6(a6),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 muls #3,d1
 add.w d1,d6
 move.w d6,d7
 addq.w #3,d7
 bra.s u3d52
u3d32 move.w -$5b42(a4),d0
 bne.s u3d44
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d6,(a0)
u3d44 move.w d6,d0
 addq.w #1,d6
 movea.l -4(a6),a0
 move.w d0,(a0)
 subq.l #4,-4(a6)
u3d52 move.w d6,d0
 cmp.w d7,d0
 blt.s u3d32
 addq.w #1,d5
u3d5a cmpi.w #1,d5
 bls.s u3d06
 move.l #$ffff0002,-(a7)
 move.w #3,-(a7)
 pea -$28aa(a4)
 jsr $2a(a5)
 adda.w #$a,a7
 move.l #$ffff0002,-(a7)
 move.w #1,-(a7)
 pea -$28ac(a4)
 jsr $2a(a5)
 adda.w #$a,a7
 clr.w -$12(a6)
 clr.w -$14(a6)
 move.w #$ffff,-$28a4(a4)
 clr.w d5
 bra u3ee4
u3da0 move.w #$79,d6
 move.w d5,d1
 lea -$287a(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 move.w d1,d7
 muls #2,d1
 add.w d1,d6
 move.w d5,d0
 asl.l #2,d0
 lea -$94e(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
 clr.w -$10(a6)
 bra.s u3dfc
u3dca move.w d7,d0
 lea -$fc6(a4),a0
 adda.w -$10(a6),a0
 clr.w d1
 move.b (a0),d1
 cmp.w d1,d0
 bne.s u3df8
 move.w -$12(a6),d0
 addq.w #1,-$12(a6)
 asl.l #1,d0
 lea -$28aa(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
 cmpi.w #2,d7
 bne.s u3df8
 move.w d5,-$28a4(a4)
u3df8 addq.w #1,-$10(a6)
u3dfc cmpi.w #3,-$10(a6)
 blt.s u3dca
 clr.w -$10(a6)
 bra.s u3e32
u3e0a move.w d7,d0
 move.w -$10(a6),d1
 asl.l #1,d1
 lea -$fc8(a4),a0
 adda.w d1,a0
 cmp.w (a0),d0
 bne.s u3e2e
 move.w -$14(a6),d0
 addq.w #1,-$14(a6)
 asl.l #1,d0
 lea -$28ac(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
u3e2e addq.w #1,-$10(a6)
u3e32 cmpi.w #1,-$10(a6)
 blt.s u3e0a
 lea -$1004(a4),a0
 adda.w d7,a0
 move.b (a0),d0
 move.w d5,d1
 asl.l #2,d1
 lea -$94c(a4),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.w d0,(a0)
 muls #$4e,d0
 lea -$12e4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w -$5b42(a4),d0
 bne.s u3e86
 move.w d6,d0
 addq.w #1,d6
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,d0
 addq.w #1,d6
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3e86 move.w #4,d7
 move.w d5,d1
 mulu #4,d1
 add.w d1,d7
 move.w d7,d6
 addq.w #4,d7
 bra.s u3edc
u3e98 move.w d6,d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr $5b2(a5)
 addq.l #2,a7
 move.b 4(a3),d0
 clr.w d1
 move.b 5(a3),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d7,d0
 sub.w d6,d0
 cmpi.w #2,d0
 bne.s u3ed4
 move.w #$12,d0
 bra.s u3ed8
u3ed4 move.w #$c,d0
u3ed8 ext.l d0
 adda.l d0,a3
u3edc move.w d6,d0
 cmp.w d7,d0
 blt.s u3e98
 addq.w #1,d5
u3ee4 move.w d5,d0
 movea.l -$28b0(a4),a0
 move.w $a(a0),d1
 and.w #$f,d1
 cmp.w d1,d0
 bls u3da0
 clr.w d5
 bra.s u3f5c
u3efc move.w #$f7,d6
 move.w d5,d1
 lea -$288a(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 move.w d1,d7
 muls #6,d1
 add.w d1,d6
 move.w d5,d0
 asl.l #2,d0
 lea -$98e(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
 lea -$100e(a4),a0
 adda.w d7,a0
 move.b (a0),d0
 move.w d5,d1
 asl.l #2,d1
 lea -$98c(a4),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.w d0,(a0)
 move.w -$5b42(a4),d0
 bne.s u3f5a
 move.w d6,d7
 addq.w #6,d7
 bra.s u3f54
u3f44 move.w d6,d0
 addq.w #1,d6
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u3f54 move.w d6,d0
 cmp.w d7,d0
 blt.s u3f44
u3f5a addq.w #1,d5
u3f5c move.w d5,d0
 movea.l -$28b0(a4),a0
 move.w $a(a0),d1
 and.w #$f00,d1
 lsr.w #8,d1
 cmp.w d1,d0
 bcs.s u3efc
 clr.w d5
 bra u4016
u3f76 move.w #$12f,d6
 move.w d5,d1
 lea -$289c(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 move.w d1,d7
 add.w d1,d6
 move.w d5,d0
 asl.l #2,d0
 lea -$9d2(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
 move.w -$5b42(a4),d0
 bne.s u3fa8
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d6,(a0)
u3fa8 lea -$101a(a4),a0
 adda.w d7,a0
 move.b (a0),d0
 move.w d5,d1
 asl.l #2,d1
 lea -$9d0(a4),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.w d0,(a0)
 muls #$12,d0
 lea -$13ce(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w #$44,d7
 move.w d5,d1
 mulu #2,d1
 add.w d1,d7
 move.w d7,d6
 addq.w #2,d7
 bra.s u400e
u3fe0 move.w d6,d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr $5b2(a5)
 addq.l #2,a7
 move.b 4(a3),d0
 clr.w d1
 move.b 5(a3),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.l #6,a3
u400e move.w d6,d0
 cmp.w d7,d0
 blt.s u3fe0
 addq.w #1,d5
u4016 move.w d5,d0
 movea.l -$28b0(a4),a0
 move.w $c(a0),d1
 and.w #$f,d1
 cmp.w d1,d0
 bcs u3f76
 move.w #$66,d0
 move.w d0,d7
 move.w #0,d0
 move.w d0,d6
 bra.s u40a2
u4038 move.w d6,d0
 add.w #$13b,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
 lea -$101c(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 muls #$18,d0
 lea -$13e0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.b 4(a3),d0
 clr.w d1
 move.b 5(a3),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d7,d1
 addq.w #1,d7
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.l #6,a3
 move.b 4(a3),d0
 clr.w d1
 move.b 5(a3),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d7,d1
 addq.w #1,d7
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d6
u40a2 cmpi.w #1,d6
 blt.s u4038
 move.l #$90008,-(a7)
 jsr u37ba(pc)
 addq.l #4,a7
 move.l #$a000c,-(a7)
 jsr u37ba(pc)
 addq.l #4,a7
 clr.w -8(a6)
 bra u41f6
u40c8 movea.l -$28a0(a4),a0
 adda.w -8(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 muls #$c,d0
 lea -$190e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a3
 move.l a3,d5
 movea.l d5,a0
 clr.w d5
 move.b $b(a0),d5
 and.w #$f,d5
 beq.s u4106
 move.w d5,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w #9,-(a7)
 jsr u37ba(pc)
 addq.l #4,a7
u4106 move.l a3,d5
 movea.l d5,a0
 clr.w d5
 move.b $b(a0),d5
 asr.w #4,d5
 and.w #$f,d5
 beq.s u4128
 move.w d5,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w #$a,-(a7)
 jsr u37ba(pc)
 addq.l #4,a7
u4128 move.w -$5b42(a4),d0
 bne u41f2
 move.w d7,d0
 muls #$1a,d0
 lea -$25bf(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 beq.s u415c
 cmpi.w #6,d5
 bhi.s u415c
 move.w d5,d0
 add.w #$225,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u415c move.w #$1be,d6
 move.l a3,d1
 movea.l d1,a0
 add.w (a0),d6
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 movea.l a2,a0
 adda.w d0,a0
 move.w d6,(a0)
 move.w d7,d5
 muls #$1a,d5
 lea -$25bc(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w d5,d0
 and.w #8,d0
 beq.s u4198
 addq.w #1,d6
 move.w d6,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u4198 move.w d5,d0
 and.w #$10,d0
 beq.s u41b0
 addq.w #1,d6
 move.w d6,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u41b0 move.w d5,d0
 and.w #$20,d0
 beq.s u41c8
 addq.w #1,d6
 move.w d6,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u41c8 move.w d5,d0
 and.w #3,d0
 move.w d0,-$e(a6)
 beq.s u41f2
u41d4 move.w d5,d0
 and.w #4,d0
 bne.s u41ec
 addq.w #1,d6
 move.w d6,d0
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u41ec subq.w #1,-$e(a6)
 bne.s u41d4
u41f2 addq.w #1,-8(a6)
u41f6 move.w -8(a6),d0
 movea.l -$28b0(a4),a0
 move.w $c(a0),d1
 and.w #$f0,d1
 lsr.w #4,d1
 cmp.w d1,d0
 bcs u40c8
 move.w -$a(a6),d0
 beq u42d0
 move.w -$5b42(a4),d0
 beq u42c6
 move.w #$5a,d5
 bra.s u4234
u4224 move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u4234 cmpi.w #$6c,d5
 bcs.s u4224
 move.w #$6c,d5
 bra.s u4250
u4240 move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u4250 cmpi.w #$78,d5
 bcs.s u4240
 move.w #$79,d5
 bra.s u426c
u425c move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u426c cmpi.w #$f7,d5
 bcs.s u425c
 move.w #$f7,d5
 bra.s u4288
u4278 move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u4288 cmpi.w #$12d,d5
 bcs.s u4278
 move.w #$12f,d5
 bra.s u42a4
u4294 move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u42a4 cmpi.w #$13c,d5
 bcs.s u4294
 move.w #$1be,d5
 bra.s u42c0
u42b0 move.w d5,d0
 addq.w #1,d5
 move.w d4,d1
 addq.w #1,d4
 asl.l #1,d1
 movea.l a2,a0
 adda.w d1,a0
 move.w d0,(a0)
u42c0 cmpi.w #$215,d5
 bcs.s u42b0
u42c6 move.w d4,-(a7)
 move.l a2,-(a7)
 jsr $612(a5)
 addq.l #6,a7
u42d0 move.w -$16(a6),d0
 beq.s u42da
 jsr $600(a5)
u42da move.l #$466,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 move.w #1,-$2da4(a4)
 move.w #1,-$2e02(a4)
 clr.w -$1c56(a4)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u42fe link a6,#0
 cmpi.w #2,8(a6)
 bne.s u4312
 move.w -$2dda(a4),-$2ddc(a4)
 bra.s u4318
u4312 move.w 8(a6),-$2ddc(a4)
u4318 move.w #1,-$2dde(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 unlk a6
 rts
u432c link a6,#0
 move.w #$1030,-(a7)
 move.l -$81e(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #$cb0,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l -$81a(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w #$1ea0,-(a7)
 move.l -$822(a4),-(a7)
 move.l -$816(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w -$2da4(a4)
 unlk a6
 rts
u436e link a6,#0
 move.w $10(a6),d0
 mulu $12(a6),d0
 move.w d0,-(a7)
 move.l $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.l $c(a6),-(a7)
 jsr u8666(pc)
 addq.l #8,a7
 unlk a6
 rts
u43a2 link a6,#0
 move.l a3,-(a7)
 movea.l $c(a6),a3
 move.b 4(a3),d0
 beq.s u43e2
 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u43e2 movea.l (a7)+,a3
 unlk a6
 rts
u43e8 link a6,#0
 move.l a3,-(a7)
 movea.l $c(a6),a3
 move.b 4(a3),d0
 beq.s u4428
 move.l #$70ffff,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u4428 movea.l (a7)+,a3
 unlk a6
 rts
u442e link a6,#0
 move.l a3,-(a7)
 movea.l 8(a6),a3
 move.b 4(a3),d0
 beq.s u446e
 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l -$738(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u446e movea.l (a7)+,a3
 unlk a6
 rts
u4474 link a6,#0
 move.l a3,-(a7)
 movea.l $c(a6),a3
 move.b 4(a3),d0
 beq.s u44ce
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l 8(a6),-(a7)
 jsr u8666(pc)
 addq.l #8,a7
 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u44ce movea.l (a7)+,a3
 unlk a6
 rts
u44d4 link a6,#0
 move.l a3,-(a7)
 movea.l $a(a6),a3
 move.b 4(a3),d0
 beq.s u451c
 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.w 8(a6),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u451c movea.l (a7)+,a3
 unlk a6
 rts
u4522 link a6,#0
 move.l a3,-(a7)
 movea.l $a(a6),a3
 move.b 4(a3),d0
 beq.s u458a
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.w 8(a6),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l -$738(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u458a movea.l (a7)+,a3
 unlk a6
 rts
u4590 link a6,#0
 cmpi.w #5,-$732(a4)
 bcc.s u45ce
 move.w -$74e(a4),d0
 bne.s u45ce
 move.w -$5ac4(a4),d0
 bne.s u45bc
 move.w -$2dca(a4),d0
 and.w #1,d0
 bne.s u45bc
 ori.w #1,-$2dca(a4)
 addq.w #1,-$732(a4)
u45bc andi.w #$fffe,-$2dcc(a4)
 move.w #$f,-$72c(a4)
 move.w #1,-$74e(a4)
u45ce unlk a6
 rts
u45d2 link a6,#-$5c
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 beq u4a32
 subq.w #1,d7
 move.w d7,d5
 asl.l #2,d5
 lea -$94e(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w d6,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$94c(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d1,d4
 muls #$4e,d1
 lea -$12e4(a4),a0
 add.l a0,d1
 muls #6,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w d7,-(a7)
 jsr $336(a5)
 addq.l #2,a7
 move.w d0,-$c(a6)
 move.w d7,d0
 cmp.w -$28a2(a4),d0
 seq d0
 and.w #1,d0
 move.w d0,-$a(a6)
 beq.s u464a
 clr.w -(a7)
 move.w -$292c(a4),-(a7)
 pea -$5c(a6)
 jsr $2e8(a5)
 addq.l #8,a7
u464a clr.w -(a7)
 jsr u4590(pc)
 addq.l #2,a7
 cmpi.w #$a,d6
 blt u47d4
 cmpi.w #$c,d6
 bne u479c
 move.w -$a(a6),d0
 beq u4740
 move.l #$70ffff,-(a7)
 move.b -$bce(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.l #$5e001c,-(a7)
 pea -$1060(a4)
 move.l -$2da2(a4),-(a7)
 move.l -$836(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 lea -$5c(a6),a0
 movea.l a0,a3
 move.w #$78,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 clr.w -$e(a6)
u46ac clr.w d7
 movea.l a3,a2
 bra.s u46b4
u46b2 addq.w #1,d7
u46b4 clr.w d0
 move.b (a2)+,d0
 cmp.w #$80,d0
 blt.s u46b2
 move.w #$70,d0
 move.w d7,d1
 asl.w #2,d1
 sub.w d1,d0
 move.b d0,-$16(a6)
 and.w #$ff,d0
 addq.w #7,d0
 move.b d0,-$15(a6)
 move.w -$e(a6),d0
 addq.w #1,-$e(a6)
 lea -$1064(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.b d0,-$13(a6)
 and.w #$ff,d0
 subq.w #7,d0
 move.b d0,-$14(a6)
 bra.s u4728
u46f8 move.l #$70000a,-(a7)
 move.w #$90,-(a7)
 clr.w -(a7)
 clr.w d0
 move.b (a3)+,d0
 asl.w #3,d0
 move.w d0,-(a7)
 pea -$16(a6)
 move.l -$2da2(a4),-(a7)
 move.l -4(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 addq.b #8,-$16(a6)
 addq.b #8,-$15(a6)
u4728 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne.s u46f8
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$81,d0
 bne u46ac
 bra u4a2c
u4740 addq.w #1,d5
 move.w #4,-(a7)
 pea -$2930(a4)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$c(a6),-$2924(a4)
 move.w -$74e(a4),d0
 beq.s u476a
 move.w d7,d0
 cmp.w -$28a4(a4),d0
 seq d0
 tst.b d0
u476a sne d0
 and.w #1,d0
 move.w d0,-$2926(a4)
 clr.w -$2928(a4)
 clr.w d4
 bra.s u4796
u477c move.w d4,d0
 asl.l #1,d0
 lea -$28ac(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 cmp.w d7,d0
 bne.s u4794
 move.w #1,-$2928(a4)
 bra.s u479c
u4794 addq.w #1,d4
u4796 cmpi.w #1,d4
 blt.s u477c
u479c move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 cmpi.w #$b,d6
 bne.s u47ce
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a2,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 movea.l -$738(a4),a2
u47ce clr.w d4
 bra u4952
u47d4 clr.w -6(a6)
 cmpi.w #6,d6
 seq d0
 tst.b d0
 bne.s u47ea
 cmpi.w #1,d6
 seq d0
 tst.b d0
u47ea and.w #1,d0
 move.w d0,-8(a6)
 beq.s u4806
 move.w d4,d0
 muls #$4e,d0
 lea -$12a2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 bra.s u484e
u4806 cmpi.w #5,d6
 beq.s u4810
 tst.w d6
 bne.s u4822
u4810 move.w d4,d0
 muls #$4e,d0
 lea -$12a8(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 bra.s u484e
u4822 addq.w #1,d5
 move.w d4,d0
 muls #$4e,d0
 lea -$129c(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 cmpi.w #7,d6
 bne.s u4842
 move.w #6,-6(a6)
 bra.s u484e
u4842 cmpi.w #9,d6
 bne.s u484e
 move.w #$fffa,-6(a6)
u484e move.l a3,d4
 move.w -6(a6),d3
 ext.l d3
 add.l d3,d4
 movea.l d4,a0
 move.b 1(a0),d4
 move.l a3,d1
 move.w -6(a6),d3
 ext.l d3
 add.l d3,d1
 movea.l d1,a0
 and.w #$ff,d4
 clr.w d3
 move.b (a0),d3
 sub.w d3,d4
 move.w #4,d0
 move.w d7,d1
 asl.w #2,d1
 add.w d1,d0
 lea -$fb8(a4),a0
 adda.w d6,a0
 clr.w d3
 move.b (a0),d3
 add.w d3,d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 bne.s u48f8
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 cmpi.w #4,d6
 bgt.s u48b2
 lea -$102c(a4),a0
 move.l a0,d0
 bra.s u48b8
u48b2 lea -$103c(a4),a0
 move.l a0,d0
u48b8 move.l d0,-(a7)
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 move.w d4,d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l -4(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w d7,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u48f8 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w -8(a6),d0
 beq.s u493a
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a2,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 movea.l -$738(a4),a2
 move.w #$f,d0
 move.w d4,d1
 and.w #$f,d1
 sub.w d1,d0
 move.w d0,d4
 bra.s u4952
u493a cmpi.w #7,d6
 bne.s u4950
 clr.w d0
 move.b 1(a3),d0
 clr.w d3
 move.b (a3),d3
 sub.w d3,d0
 sub.w d0,d4
 bra.s u4952
u4950 clr.w d4
u4952 move.w -$a(a6),d0
 beq.s u49ba
 move.l a3,-4(a6)
 lea -$5c(a6),a0
 movea.l a0,a3
 clr.w d5
u4964 bra.s u4968
u4966 addq.l #1,a3
u4968 clr.w d0
 move.b (a3),d0
 cmp.w #$80,d0
 blt.s u4966
 addq.w #1,d5
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$81,d0
 bne.s u4964
 movea.l -4(a6),a3
 cmpi.w #4,d5
 bge.s u49ba
 move.w #8,-(a7)
 pea -$16(a6)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 lea -$16(a6),a0
 movea.l a0,a3
 lea -$fb8(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 muls #3,d0
 add.w d5,d0
 lea -$1075(a4),a0
 adda.w d0,a0
 move.b (a0),3(a3)
u49ba move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a2,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 cmpi.w #$c,d6
 bne.s u4a2c
 move.w -$292a(a4),d0
 subq.w #1,-$292a(a4)
 tst.w d0
 beq.s u4a2c
 move.l #$700001,-(a7)
 move.w #$80,-(a7)
 move.w -$292a(a4),d0
 asr.w #3,d0
 muls #$1d,d0
 move.w d0,-(a7)
 move.w -$292a(a4),d0
 and.w #7,d0
 asl.w #5,d0
 move.w d0,-(a7)
 pea -$9f2(a4)
 move.l -$2da2(a4),-(a7)
 move.w #$1a,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u4a2c move.w -$c(a6),d0
 bra.s u4a36
u4a32 move.w #0,d0
u4a36 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u4a3e link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 beq u4b42
 move.w d7,d4
 and.w #$8000,d4
 beq.s u4a6a
 move.w d7,d0
 and.w #$7fff,d0
 move.w d0,d7
 bne.s u4a6a
 bra u4b32
u4a6a subq.w #1,d7
 move.w d7,d5
 asl.l #2,d5
 lea -$98e(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w d6,d1
 lea -$fc2(a4),a0
 adda.w d1,a0
 clr.w d3
 move.b (a0),d3
 add.w d3,d5
 move.w d6,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$98c(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 muls #$36,d1
 lea -$1386(a4),a0
 add.l a0,d1
 muls #6,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 cmpi.w #8,d6
 beq.s u4ada
 cmpi.w #5,d6
 beq.s u4ada
 cmpi.w #2,d6
 beq.s u4ada
 cmpi.w #$f,d7
 bne.s u4b06
 move.w -$74a(a4),d0
 beq.s u4b06
 cmpi.w #7,d6
 beq.s u4ada
 cmpi.w #4,d6
 beq.s u4ada
 cmpi.w #1,d6
 bne.s u4b06
u4ada clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 move.l -$738(a4),d0
 movea.l d0,a3
 move.l d0,-(a7)
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 bra.s u4b10
u4b06 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
u4b10 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l a2,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u4b32 move.w d4,d0
 beq.s u4b42
 move.w d6,-(a7)
 move.w #$10,-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
u4b42 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u4b4a link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 beq u4c7a
 subq.w #1,d7
 move.w d7,d5
 asl.l #2,d5
 lea -$9d2(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w d6,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$9d0(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d1,d4
 muls #$12,d1
 lea -$13ce(a4),a0
 add.l a0,d1
 muls #6,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #2,d6
 bne.s u4bac
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w #$30,d6
 bra u4c58
u4bac move.w #$44,d0
 move.w d7,d1
 muls #2,d1
 add.w d1,d0
 add.w d6,d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 bne.s u4c40
 move.w d4,d0
 muls #$12,d0
 lea -$13c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 tst.w d6
 bne.s u4bf0
 lea -$104c(a4),a0
 move.l a0,d0
 bra.s u4bf6
u4bf0 lea -$105c(a4),a0
 move.l a0,d0
u4bf6 move.l d0,-(a7)
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 1(a3),d0
 clr.w d3
 move.b (a3),d3
 sub.w d3,d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l -4(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w d7,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u4c40 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a2
 tst.w d6
 bne.s u4c54
 move.w #$18,d6
 bra.s u4c58
u4c54 move.w #$20,d6
u4c58 move.w #9,-(a7)
 move.w d6,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 move.l -$738(a4),-(a7)
 move.l a2,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u4c7a movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u4c82 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 beq u4dba
 subq.w #1,d7
 move.w d7,d5
 add.w #$13b,d5
 move.w d6,d0
 lea -$101c(a4),a0
 adda.w d7,a0
 clr.w d1
 move.b (a0),d1
 move.w d1,d4
 muls #$18,d1
 lea -$13e6(a4),a0
 add.l a0,d1
 muls #6,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #3,d6
 bne.s u4cea
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w #4,-(a7)
 pea -$2930(a4)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 bra u4d98
u4cea move.w #$66,d0
 move.w d7,d1
 muls #2,d1
 add.w d1,d0
 move.w d6,d1
 bne.s u4d00
 move.w #0,d1
 bra.s u4d04
u4d00 move.w d6,d1
 subq.w #1,d1
u4d04 add.w d1,d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 bne.s u4d8e
 move.w d4,d0
 muls #$18,d0
 lea -$13d4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w d5,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 cmpi.w #2,d6
 bne.s u4d3e
 lea -$103c(a4),a0
 move.l a0,d0
 bra.s u4d44
u4d3e lea -$102c(a4),a0
 move.l a0,d0
u4d44 move.l d0,-(a7)
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 1(a3),d0
 clr.w d3
 move.b (a3),d3
 sub.w d3,d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l -4(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w d7,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u4d8e move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a2
u4d98 move.l #$70000a,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a2,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u4dba movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u4dc2 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w $a(a6),d7
 movea.l $14(a6),a3
 tst.w d7
 beq u4f20
 move.l -$2920(a4),d0
 move.w 8(a6),d1
 and.l #$ffff,d1
 asl.l #2,d1
 add.l d1,d0
 movea.l d0,a2
 move.w $10(a6),-(a7)
 move.l -$738(a4),-(a7)
 move.w 2(a2),d0
 and.w #1,d0
 move.w d0,d6
 asl.l #1,d0
 movea.l $c(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w $12(a6),-(a7)
 move.w 2(a2),d0
 and.w #$1e,d0
 lsr.w #1,d0
 move.w d0,-(a7)
 jsr u4b4a(pc)
 addq.l #4,a7
 move.w d6,d0
 asl.l #1,d0
 lea -$28c2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #4,d0
 beq.s u4e86
 jsr $84(a5)
 tst.w d0
 beq.s u4e64
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u4e64 jsr $84(a5)
 tst.w d0
 beq.s u4e86
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 jsr u8864(pc)
 addq.l #8,a7
u4e86 move.l a3,d0
 lea -$efa(a4),a0
 cmp.l a0,d0
 bne.s u4ea2
 move.b -$33e0(a4),d0
 beq.s u4ea2
 move.l #$110002,-(a7)
 jsr u4b4a(pc)
 addq.l #4,a7
u4ea2 cmpi.w #4,d7
 bne.s u4eb4
 lea (a3),a0
 move.l a0,-(a7)
 jsr u442e(pc)
 addq.l #4,a7
 bra.s u4f20
u4eb4 cmpi.w #5,d7
 bne.s u4ed4
 move.w $12(a6),-(a7)
 move.w #$10,-(a7)
 jsr u4b4a(pc)
 addq.l #4,a7
 lea (a3),a0
 move.l a0,-(a7)
 jsr u442e(pc)
 addq.l #4,a7
 bra.s u4f20
u4ed4 subq.w #1,d7
 move.w 2(a2),d0
 and.w #$20,d0
 lsr.w #5,d0
 beq.s u4ef8
 move.w d7,d0
 asl.l #3,d0
 lea 8(a3),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr u442e(pc)
 addq.l #4,a7
 bra.s u4f20
u4ef8 move.w d7,d0
 asl.l #3,d0
 lea $20(a3),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr u442e(pc)
 addq.l #4,a7
 move.w d7,d0
 asl.l #3,d0
 lea $38(a3),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr u442e(pc)
 addq.l #4,a7
u4f20 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
u4f28 link a6,#0
 move.w d7,-(a7)
 pea $10(a6)
 pea $e(a6)
 move.w #$ffff,-(a7)
 move.w -$28ba(a4),-(a7)
 jsr $31e(a5)
 adda.w #$c,a7
 move.w d0,d7
 tst.w d0
 blt.s u4fa0
 move.w $e(a6),d0
 move.w d7,d1
 asl.l #2,d1
 movea.l -$28d2(a4),a0
 adda.w d1,a0
 asl.l #2,d0
 movea.l (a0),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w $10(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 asr.w #5,d0
 cmpi.w #2,d0
 bne.s u4fa0
 move.w d7,d0
 and.w #8,d0
 beq.s u4fa0
 move.w $12(a6),d0
 beq.s u4f92
 move.l $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u4fa0
u4f92 move.l $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u4fa0 move.w (a7)+,d7
 unlk a6
 rts
u4fa6 link a6,#-4
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 3(a3),d0
 cmp.w #$ff,d0
 bne.s u4fc6
 movea.l #0,a2
 bra.s u5026
u4fc6 move.b 4(a3),d0
 clr.w d1
 move.b 5(a3),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d0,-(a7)
 move.l -$738(a4),d0
 movea.l d0,a2
 move.l d0,-(a7)
 move.w #$45,d0
 clr.w d1
 move.b 3(a3),d1
 and.w #$7f,d1
 add.w d1,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w d0
 move.b 3(a3),d0
 and.w #$80,d0
 beq.s u5026
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-(a7)
 move.l a2,-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u5026 clr.w -(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 move.w #$49,d0
 clr.w d3
 move.b (a3),d3
 add.w d3,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 clr.w -(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a3),d0
 move.w d0,-(a7)
 move.w #$70,-(a7)
 jsr $90(a5)
 and.w #$1f,d0
 move.w d0,-(a7)
 jsr $84(a5)
 clr.w d3
 move.b 1(a3),d3
 add.w d3,d0
 move.w d0,-(a7)
 move.l $c(a6),-(a7)
 clr.w -(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l a2,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l -4(a6),-(a7)
 jsr u8cbc(pc)
 adda.w #$20,a7
 clr.w -(a7)
 jsr $60c(a5)
 addq.l #2,a7
 move.w #$8000,-(a7)
 jsr $5b2(a5)
 addq.l #2,a7
 movem.l (a7)+,a2-a3
 unlk a6
 rts
u50ac link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 asl.l #1,d0
 lea -$1640(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 cmpi.w #$20,$a(a6)
 bls.s u50d4
 move.w #$20,$a(a6)
u50d4 clr.w d6
 move.b (a2),d6
 mulu $a(a6),d6
 move.w $a(a6),d1
 lsr.w #1,d1
 add.w d1,d6
 lsr.w #5,d6
 clr.w d5
 move.b 1(a2),d5
 mulu $a(a6),d5
 move.w $a(a6),d1
 lsr.w #1,d1
 add.w d1,d5
 lsr.w #5,d5
 cmpi.w #$20,$a(a6)
 bne.s u511c
 cmpi.w #3,d7
 beq.s u511c
 move.w d7,d0
 add.w #$15c,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra u51b2
u511c move.w d7,d0
 mulu #$e,d0
 move.w $a(a6),d1
 lsr.w #1,d1
 add.w d1,d0
 add.w #$1b4,d0
 move.w d0,d4
 move.w d0,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 beq.s u5148
 move.w d4,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u51b2
u5148 move.w #2,-(a7)
 move.w d7,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 add.w #$15c,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 cmpi.w #3,d7
 bne.s u5172
 lea -$1650(a4),a0
 move.l a0,d0
 bra.s u5178
u5172 lea -$9c(a4),a0
 move.l a0,d0
u5178 move.l d0,-(a7)
 move.w d5,-(a7)
 move.w d6,d0
 asl.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 1(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b (a2),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l d0,-(a7)
 move.l -4(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w d4,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u51b2 movea.l $c(a6),a0
 move.w d6,(a0)
 movea.l $10(a6),a0
 move.w d5,(a0)
 move.l a3,d0
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u51c8 link a6,#-$c0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $10(a6),d6
 cmpi.w #$fffe,d7
 bne.s u51e2
 bra u6b3c
u51e2 clr.l -$3a(a6)
 move.w #$ffff,-$36(a6)
 move.w #0,d0
 move.w d0,-$9e(a6)
 move.w d0,-$86(a6)
 move.w d0,-$6c(a6)
 clr.w -$30(a6)
 move.w d7,-$2c(a6)
 move.w $12(a6),d0
 and.w #8,d0
 beq.s u5228
 move.w $12(a6),d0
 and.w #1,d0
 addq.w #1,d0
 move.w d0,-$6e(a6)
 move.w $12(a6),d0
 lsr.w #4,d0
 move.w d0,$12(a6)
 bra.s u522c
u5228 clr.w -$6e(a6)
u522c move.w $12(a6),d0
 and.l #$ffff,d0
 move.l d0,-4(a6)
 seq d0
 and.w #1,d0
 move.w d0,-$14(a6)
 move.w d6,-$2e(a6)
 move.w d6,d0
 addq.w #3,d0
 ext.l d0
 divs #3,d0
 swap d0
 move.w d0,-$1a(a6)
 move.w -$72c(a4),d0
 and.w #$fe,d0
 cmpi.w #$a,d0
 seq d0
 tst.b d0
 beq.s u526e
 move.w -$72e(a4),d0
u526e sne d0
 and.w #1,d0
 move.w d0,-$ac(a6)
u5278 move.w -$14(a6),d0
 beq.s u5298
 move.w #4,d5
 move.w $a(a6),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-$1c(a6)
 move.w #2,-$32(a6)
 bra.s u52ce
u5298 move.l -4(a6),d5
 and.w #$f,d5
 subq.w #1,d5
 move.w d5,-$88(a6)
 move.l -4(a6),d0
 lsr.l #4,d0
 move.l d0,-4(a6)
 addq.w #1,-$30(a6)
 move.w d5,d0
 add.w $a(a6),d0
 and.w #3,d0
 move.w d0,-$1c(a6)
 move.w -$2c(a6),d7
 move.w -$2e(a6),d6
 clr.w -$32(a6)
u52ce move.w -$1c(a6),d0
 and.w #1,d0
 asl.w #3,d0
 add.w d0,-$32(a6)
 clr.w -$84(a6)
u52e0 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d4
 cmpi.w #4,d0
 bne.s u52fa
 move.w d7,-$36(a6)
 bra u57f4
u52fa cmpi.w #$e,d4
 bne.s u530a
 move.w #1,-$86(a6)
 bra u57f4
u530a cmpi.w #$f,d4
 bne.s u531a
 move.w #1,-$9e(a6)
 bra u57f4
u531a tst.w d6
 blt u57f4
 cmpi.w #9,d6
 bgt u57f4
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w -$1c(a6),d1
 cmp.w d1,d0
 bne u57f4
 move.w d7,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20bc(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 muls #6,d0
 lea -$15e4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w #$168,d4
 clr.w d3
 move.b (a2),d3
 add.w d3,d4
 move.w -$14(a6),d0
 beq.s u5376
 clr.w d0
 move.b 4(a2),d0
 and.w #$10,d0
u5376 sne d0
 tst.b d0
 beq.s u5384
 move.w -$1a(a6),d0
 seq d0
 tst.b d0
u5384 and.w #1,d0
 move.w d0,-$22(a6)
 beq.s u5390
 addq.w #1,d4
u5390 move.w d6,d1
 clr.w d0
 move.b 5(a2),d0
 muls #$64,d0
 lea -$17ca(a4),a0
 add.l a0,d0
 muls #$a,d1
 add.l d0,d1
 move.w d5,d0
 asl.l #1,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$10(a6)
 movea.l -$10(a6),a0
 move.b 1(a0),d0
 bne.s u53c4
 bra u57f4
u53c4 clr.w d0
 move.b 4(a2),d0
 and.w #1,d0
 beq.s u53d8
 move.w -$22(a6),d0
 seq d0
 tst.b d0
u53d8 sne d0
 tst.b d0
 beq.s u540c
 cmpi.w #2,-$1a(a6)
 seq d0
 tst.b d0
 bne.s u540a
 move.w -$1a(a6),d0
 seq d0
 tst.b d0
 beq.s u5408
 cmpi.w #1,d5
 seq d0
 tst.b d0
 bne.s u5406
 cmpi.w #2,d5
 seq d0
 tst.b d0
u5406 tst.b d0
u5408 tst.b d0
u540a tst.b d0
u540c and.w #1,d0
 move.w d0,-$24(a6)
 clr.w -$1e(a6)
 cmpi.w #9,d6
 beq.s u542a
 cmpi.w #6,d6
 blt.s u548a
 cmpi.w #2,d5
 blt.s u548a
u542a move.w -$1a(a6),d0
 seq d0
 tst.b d0
 beq.s u543c
 move.w -$84(a6),d0
 seq d0
 tst.b d0
u543c and.w #1,d0
 move.w d0,-$26(a6)
 clr.w -$34(a6)
 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 clr.w d0
 move.b 2(a2),d0
 move.w d0,-$16(a6)
 clr.w d0
 move.b 3(a2),d0
 move.w d0,-$18(a6)
 move.w -$24(a6),d0
 beq.s u5486
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 movea.l -$738(a4),a3
u5486 bra u55d6
u548a clr.w -$26(a6)
 move.w #$68,d0
 clr.w d3
 move.b 1(a2),d3
 add.w d3,d0
 move.w d0,-$12(a6)
 cmpi.w #6,d6
 bge.s u54b0
 cmpi.w #3,d6
 blt.s u54ec
 cmpi.w #2,d5
 blt.s u54ec
u54b0 addq.w #1,-$12(a6)
 move.w #1,-$34(a6)
 clr.w d0
 move.b 2(a2),d0
 muls #$14,d0
 add.w #$a,d0
 asr.w #5,d0
 move.w d0,-$16(a6)
 clr.w d0
 move.b 3(a2),d0
 muls #$14,d0
 add.w #$a,d0
 asr.w #5,d0
 move.w d0,-$18(a6)
 lea -$1670(a4),a0
 move.l a0,-8(a6)
 bra.s u551e
u54ec move.w #2,-$34(a6)
 clr.w d0
 move.b 2(a2),d0
 muls #$10,d0
 addq.w #8,d0
 asr.w #5,d0
 move.w d0,-$16(a6)
 clr.w d0
 move.b 3(a2),d0
 muls #$10,d0
 addq.w #8,d0
 asr.w #5,d0
 move.w d0,-$18(a6)
 lea -$1660(a4),a0
 move.l a0,-8(a6)
u551e move.w -$24(a6),d0
 beq.s u5540
 addq.w #2,-$12(a6)
 move.w #7,d0
 move.w -$16(a6),d1
 subq.w #1,d1
 and.w #7,d1
 sub.w d1,d0
 asl.w #1,d0
 move.w d0,-$1e(a6)
 bra.s u554a
u5540 move.w -$22(a6),d0
 beq.s u554a
 addq.w #4,-$12(a6)
u554a move.w -$12(a6),-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 beq.s u5566
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u55d6
u5566 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-$c(a6)
 move.l -8(a6),-(a7)
 move.w -$18(a6),-(a7)
 move.w -$16(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 3(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a2),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l d0,-(a7)
 move.l -$c(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w -$24(a6),d0
 beq.s u55cc
 move.w -$18(a6),-(a7)
 move.w -$16(a6),d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u55cc move.w -$12(a6),-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u55d6 movea.l -$10(a6),a0
 clr.w d4
 move.b (a0),d4
 movea.l -$10(a6),a0
 move.b 1(a0),-$27(a6)
 move.w -$84(a6),d0
 bne.s u566a
 move.w -$32(a6),d0
 asl.l #1,d0
 lea -$169e(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w -$34(a6),d1
 and.l #$ffff,d1
 asl.l #3,d1
 lea -$19fc(a4),a0
 add.l a0,d1
 and.w #$ff,d0
 movea.l d1,a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 add.w d0,d4
 move.w -$32(a6),d0
 asl.l #1,d0
 lea -$169d(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w -$34(a6),d1
 and.l #$ffff,d1
 asl.l #3,d1
 lea -$19fc(a4),a0
 add.l a0,d1
 and.w #$ff,d0
 movea.l d1,a0
 adda.w d0,a0
 move.b (a0),d0
 add.b d0,-$27(a6)
 addq.w #1,-$32(a6)
 move.w -$14(a6),d0
 beq.s u5664
 cmpi.w #$e,-$32(a6)
 bcs.s u5662
 move.w #2,-$32(a6)
u5662 bra.s u566a
u5664 andi.w #$f,-$32(a6)
u566a move.b -$27(a6),d0
 move.w -$18(a6),d1
 subq.w #1,d1
 and.w #$ff,d0
 sub.w d1,d0
 move.b d0,-$28(a6)
 clr.w d0
 move.b -$27(a6),d0
 cmp.w #$87,d0
 ble.s u5690
 move.b #$87,-$27(a6)
u5690 move.w d4,d0
 add.w -$16(a6),d0
 move.w d0,-(a7)
 move.w #$df,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,-$29(a6)
 move.w d4,d0
 sub.w -$16(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.b d0,-$2a(a6)
 beq.s u56ce
 move.w -$24(a6),d0
 beq.s u56ca
 move.w -$1e(a6),d4
 bra.s u56cc
u56ca clr.w d4
u56cc bra.s u56d8
u56ce move.w -$16(a6),d0
 sub.w d4,d0
 subq.w #1,d0
 move.w d0,d4
u56d8 move.w -$26(a6),d0
 beq u57c2
 move.l a3,-$c(a6)
 move.w d5,d0
 asl.l #2,d0
 lea -$2944(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w d0
 move.b (a3),d0
 cmp.w #$ff,d0
 bne.s u574e
 move.w #4,-(a7)
 move.l a3,-(a7)
 pea -$2a(a6)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w d0
 move.b 3(a3),d0
 clr.w d3
 move.b 2(a3),d3
 sub.w d3,d0
 move.w d0,-$20(a6)
 cmpi.w #$e,d0
 bge.s u574c
 move.w -$20(a6),d0
 asr.w #1,d0
 move.w d0,-$20(a6)
 move.w -$20(a6),d0
 subq.w #7,d0
 add.b d0,2(a3)
 cmpi.w #4,-$20(a6)
 bge.s u574c
 move.w -$20(a6),d0
 subq.w #3,d0
 sub.b d0,3(a3)
u574c bra.s u57b2
u574e clr.w d0
 move.b -$2a(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b (a3),d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,(a3)
 clr.w d0
 move.b -$29(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 1(a3),d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.b d0,1(a3)
 clr.w d0
 move.b -$28(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a3),d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,2(a3)
 clr.w d0
 move.b -$27(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 3(a3),d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.b d0,3(a3)
u57b2 movea.l -$c(a6),a3
 move.w d5,d0
 asl.l #1,d0
 lea -$294e(a4),a0
 adda.w d0,a0
 move.w d7,(a0)
u57c2 move.l #$70000a,-(a7)
 move.w -$16(a6),d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 pea -$2a(a6)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 move.w -$84(a6),d0
 beq.s u57f4
 bra u65a8
u57f4 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne u52e0
 cmpi.w #4,d5
 bne.s u5810
 bra u65e0
u5810 tst.w d6
 bge.s u5818
 bra u65e0
u5818 cmpi.w #1,d5
 sle d0
 tst.b d0
 bne.s u582c
 cmpi.w #1,-$30(a6)
 seq d0
 tst.b d0
u582c tst.b d0
 beq.s u5850
 move.l -4(a6),d0
 seq d0
 tst.b d0
 bne.s u584e
 move.l -4(a6),d0
 and.l #$f,d0
 cmpi.l #3,d0
 scc d0
 tst.b d0
u584e tst.b d0
u5850 and.w #1,d0
 move.w d0,-$60(a6)
 cmpi.w #$ffff,-$36(a6)
 beq.s u5866
 move.w -$6c(a6),d0
 beq.s u586a
u5866 bra u6068
u586a tst.l -$3a(a6)
 bne.s u58e4
 move.w -$36(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$3a(a6)
 movea.l -$3a(a6),a0
 clr.w d0
 move.b 5(a0),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$3e(a6)
 movea.l -$3a(a6),a0
 clr.w d0
 move.b 4(a0),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$42(a6)
 movea.l -$42(a6),a0
 clr.w d0
 move.b (a0),d0
 muls #$c,d0
 lea -$190e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$46(a6)
 movea.l -$42(a6),a0
 move.w 2(a0),d0
 and.w #3,d0
 move.w d0,-$48(a6)
 movea.l -$42(a6),a0
 move.w 4(a0),-$4c(a6)
u58e4 move.l -$46(a6),d0
 movea.l d0,a2
 move.w -$1c(a6),-(a7)
 move.l -$3a(a6),-(a7)
 jsr $2a6(a5)
 addq.l #6,a7
 move.w d0,d7
 beq.s u5906
 subq.w #1,d7
 move.w d7,d0
 move.w d0,-$52(a6)
 bra.s u591c
u5906 cmpi.w #1,-$48(a6)
 bne.s u5918
 clr.w d7
 move.w #$ffff,-$52(a6)
 bra.s u591c
u5918 bra u6068
u591c movea.l -$3e(a6),a0
 move.b 2(a0),d0
 move.w d7,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 move.w d0,-$b6(a6)
 move.w $a(a6),d0
 sub.w -$b6(a6),d0
 and.w #3,d0
 move.w d0,-$4a(a6)
 clr.w -$5e(a6)
 movea.l -$3e(a6),a0
 clr.w d0
 move.b 3(a0),d0
 move.w d0,d4
 cmpi.w #$ff,d0
 bne.s u5994
 move.l -4(a6),d0
 bne.s u596a
 cmpi.w #1,-$6e(a6)
 bne.s u596e
u596a bra u6068
u596e move.w #1,-$6c(a6)
 cmpi.w #1,-$48(a6)
 bne.s u598c
 move.w -$4a(a6),d0
 and.w #1,d0
 beq.s u598c
 move.w #3,d5
 bra.s u5990
u598c move.w #4,d5
u5990 bra u5a68
u5994 cmpi.w #1,-$48(a6)
 bne u5a5e
 move.w -$60(a6),d0
 bne.s u59b2
 move.l -4(a6),d0
 beq.s u59b2
 tst.w -$52(a6)
 bge u5a5e
u59b2 move.w -$60(a6),d0
 beq.s u59de
 cmpi.w #2,-$6e(a6)
 beq.s u59de
 tst.w -$52(a6)
 blt.s u59d6
 move.w -$4a(a6),d0
 and.w #1,d0
 beq.s u59d6
 move.w #2,d5
 bra.s u59da
u59d6 bra u6068
u59da bra u5a5c
u59de cmpi.w #1,-$6e(a6)
 beq.s u5a58
 move.l -4(a6),d0
 bne.s u5a58
 move.w -$4a(a6),d0
 and.w #1,d0
 beq.s u5a08
 tst.w -$52(a6)
 blt.s u5a02
 move.w #4,d5
 bra.s u5a06
u5a02 bra u6068
u5a06 bra.s u5a56
u5a08 move.w #1,-$6c(a6)
 tst.w -$52(a6)
 bge.s u5a18
 clr.w -$52(a6)
u5a18 movea.l -$3a(a6),a0
 move.w $e(a0),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,-$5e(a6)
 move.w d4,d0
 move.w d7,d1
 asl.w #1,d1
 asr.w d1,d0
 and.w #3,d0
 move.w d0,d4
 cmp.w $a(a6),d0
 beq.s u5a4e
 move.w d4,d0
 move.w $a(a6),d1
 subq.w #1,d1
 and.w #3,d1
 cmp.w d1,d0
 bne.s u5a52
u5a4e clr.w d5
 bra.s u5a56
u5a52 move.w #1,d5
u5a56 bra.s u5a5c
u5a58 bra u6068
u5a5c bra.s u5a68
u5a5e tst.w -$48(a6)
 beq.s u5a68
 bra u6068
u5a68 movea.l -$3e(a6),a0
 lea $c(a0),a0
 adda.w -$52(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$4e(a6)
 cmpi.w #9,d6
 ble.s u5a84
 subq.w #1,d6
u5a84 move.w d6,d1
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b $a(a0),d0
 asr.w #4,d0
 and.w #$f,d0
 muls #$6e,d0
 lea -$1b46(a4),a0
 add.l a0,d0
 muls #$a,d1
 add.l d0,d1
 move.w d5,d0
 asl.l #1,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$10(a6)
 movea.l -$10(a6),a0
 move.b 1(a0),d0
 bne.s u5ac2
 bra u6030
u5ac2 move.w -$4c(a6),d7
 move.w #$1be,d4
 move.l a2,d1
 movea.l d1,a0
 add.w (a0),d4
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),-$12(a6)
 move.w d7,d0
 and.w #8,d0
 beq.s u5aea
 move.w -$4a(a6),d0
 and.w #1,d0
u5aea sne d0
 and.w #1,d0
 move.w d0,-$62(a6)
 beq.s u5b34
 move.w #0,d0
 move.w d0,-$64(a6)
 move.w d0,-$6a(a6)
 move.w d0,-$68(a6)
 addq.w #1,d4
 addq.w #2,-$12(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 6(a0),d0
 move.w d0,-$16(a6)
 move.w d0,-$56(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 7(a0),d0
 move.w d0,-$18(a6)
 move.w d0,-$58(a6)
 bra u5c50
u5b34 move.w d7,d0
 and.w #$10,d0
 beq.s u5b44
 tst.w -$4a(a6)
 seq d0
 tst.b d0
u5b44 sne d0
 and.w #1,d0
 move.w d0,-$64(a6)
 move.w -$64(a6),d0
 seq d0
 tst.b d0
 beq.s u5b60
 move.w -$4e(a6),d0
 and.w #$80,d0
u5b60 sne d0
 tst.b d0
 beq.s u5b6c
 move.w d7,d0
 and.w #$20,d0
u5b6c sne d0
 and.w #1,d0
 move.w d0,-$68(a6)
 beq.s u5bc6
 clr.w -$6a(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 8(a0),d0
 move.w d0,-$16(a6)
 move.w d0,-$56(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 9(a0),d0
 move.w d0,-$18(a6)
 move.w d0,-$58(a6)
 addq.w #1,d4
 addq.w #2,-$12(a6)
 move.w d7,d0
 and.w #8,d0
 beq.s u5bb4
 addq.w #1,d4
 addq.w #2,-$12(a6)
u5bb4 move.w d7,d0
 and.w #$10,d0
 beq.s u5bc2
 addq.w #1,d4
 addq.w #2,-$12(a6)
u5bc2 bra u5c50
u5bc6 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 4(a0),d0
 move.w d0,-$16(a6)
 move.w d0,-$56(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 5(a0),d0
 move.w d0,-$18(a6)
 move.w d0,-$58(a6)
 move.w -$64(a6),d0
 beq.s u5c0c
 clr.w -$6a(a6)
 move.w d7,d0
 and.w #8,d0
 beq.s u5c04
 addq.w #2,d4
 addq.w #4,-$12(a6)
 bra.s u5c0a
u5c04 addq.w #1,d4
 addq.w #2,-$12(a6)
u5c0a bra.s u5c50
u5c0c move.w d7,d0
 and.w #4,d0
 beq.s u5c1c
 move.w -$4e(a6),d0
 and.w #$40,d0
u5c1c sne d0
 and.w #1,d0
 move.w d0,-$6a(a6)
 beq.s u5c50
 addq.w #2,-$12(a6)
 move.w d7,d0
 and.w #8,d0
 beq.s u5c38
 addq.w #2,-$12(a6)
u5c38 move.w d7,d0
 and.w #$10,d0
 beq.s u5c44
 addq.w #2,-$12(a6)
u5c44 move.w d7,d0
 and.w #$20,d0
 beq.s u5c50
 addq.w #2,-$12(a6)
u5c50 cmpi.w #6,d6
 blt u5d4a
 clr.w -$5a(a6)
 clr.w -$34(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b $a(a0),d0
 and.w #$f,d0
 move.w d0,-$54(a6)
 move.w -$62(a6),d0
 beq.s u5ca8
 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 cmpi.w #1,-$4a(a6)
 bne.s u5ca4
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 movea.l -$738(a4),a3
u5ca4 bra u5d46
u5ca8 move.w -$64(a6),d0
 bne.s u5cb4
 move.w -$6a(a6),d0
 bne.s u5cea
u5cb4 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w -$68(a6),d0
 beq.s u5ce8
 move.w -$4e(a6),d0
 and.w #$40,d0
 beq.s u5ce8
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
 movea.l -$738(a4),a3
u5ce8 bra.s u5d46
u5cea move.w -$12(a6),-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 beq.s u5d06
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u5d46
u5d06 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-$c(a6)
 move.w d7,d0
 and.w #4,d0
 beq.s u5d3c
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l d0,-(a7)
 move.l -$c(a6),-(a7)
 jsr u436e(pc)
 adda.w #$c,a7
u5d3c move.w -$12(a6),-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u5d46 bra u5f10
u5d4a move.w -$6a(a6),d0
 beq.s u5d54
 addq.w #1,-$12(a6)
u5d54 cmpi.w #3,d6
 blt.s u5da6
 addq.w #1,-$12(a6)
 move.w #1,-$34(a6)
 move.w d7,d0
 and.w #$80,d0
 beq.s u5d74
 move.w -$62(a6),d0
 seq d0
 tst.b d0
u5d74 sne d0
 tst.b d0
 beq.s u5d82
 move.w -$64(a6),d0
 seq d0
 tst.b d0
u5d82 tst.b d0
 beq.s u5d8e
 move.w -$68(a6),d0
 seq d0
 tst.b d0
u5d8e and.w #1,d0
 move.w d0,-$66(a6)
 lea -$19e4(a4),a0
 move.l a0,-8(a6)
 move.w #$14,-$70(a6)
 bra.s u5dbe
u5da6 move.w #2,-$34(a6)
 clr.w -$66(a6)
 lea -$19d4(a4),a0
 move.l a0,-8(a6)
 move.w #$10,-$70(a6)
u5dbe move.w -$56(a6),d0
 muls -$70(a6),d0
 move.w -$70(a6),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$16(a6)
 move.w -$58(a6),d0
 muls -$70(a6),d0
 move.w -$70(a6),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$18(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b $a(a0),d0
 and.w #$f,d0
 movea.l -8(a6),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 ext.l d0
 divs #$a,d0
 move.w d0,-$54(a6)
 move.w -$12(a6),-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 move.w d0,-$72(a6)
 beq.s u5e2a
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u5e76
u5e2a move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-$c(a6)
 move.l -8(a6),-(a7)
 move.w -$18(a6),-(a7)
 move.w -$16(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w -$58(a6),-(a7)
 move.w -$56(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l d0,-(a7)
 move.l -$c(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w -$12(a6),-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u5e76 move.w -$62(a6),d0
 beq.s u5e84
 cmpi.w #1,-$4a(a6)
 beq.s u5eb0
u5e84 move.w -$68(a6),d0
 beq.s u5e94
 move.w -$4e(a6),d0
 and.w #$40,d0
 bne.s u5eb0
u5e94 move.w -$66(a6),d0
 beq.s u5ea2
 move.w d7,d0
 and.w #$100,d0
 bne.s u5eb0
u5ea2 move.w -$6a(a6),d0
 beq.s u5f0c
 move.w d7,d0
 and.w #4,d0
 beq.s u5f0c
u5eb0 move.w -$6a(a6),d0
 beq.s u5ebc
 move.w -$72(a6),d0
 bne.s u5ef4
u5ebc move.w -$16(a6),d4
 addq.w #7,d4
 and.w #$fff8,d4
 move.w -$6a(a6),d0
 bne.s u5ee6
 move.w d4,d0
 muls -$18(a6),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 movea.l -$738(a4),a3
u5ee6 move.w -$18(a6),-(a7)
 move.w d4,-(a7)
 move.l a3,-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u5ef4 move.w #7,d0
 move.w -$16(a6),d1
 subq.w #1,d1
 and.w #7,d1
 sub.w d1,d0
 asl.w #1,d0
 move.w d0,-$5a(a6)
 bra.s u5f10
u5f0c clr.w -$5a(a6)
u5f10 movea.l -$10(a6),a0
 clr.w d4
 move.b 1(a0),d4
 move.w -$4e(a6),d0
 asr.w #3,d0
 and.w #7,d0
 move.w -$34(a6),d1
 and.l #$ffff,d1
 asl.l #3,d1
 lea -$19fc(a4),a0
 add.l a0,d1
 movea.l d1,a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 add.w d0,d4
 move.w #$87,-(a7)
 move.w d4,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,-$27(a6)
 move.w d4,d0
 move.w -$18(a6),d1
 subq.w #1,d1
 sub.w d1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.b d0,-$28(a6)
 movea.l -$10(a6),a0
 clr.w d4
 move.b (a0),d4
 move.w -$4e(a6),d0
 and.w #7,d0
 move.w -$34(a6),d1
 and.l #$ffff,d1
 asl.l #3,d1
 lea -$19fc(a4),a0
 add.l a0,d1
 movea.l d1,a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 add.w d0,d4
 cmpi.w #1,-$1a(a6)
 bne.s u5fa2
 sub.w #$64,d4
 bra.s u5fac
u5fa2 move.w -$1a(a6),d0
 beq.s u5fac
 add.w #$64,d4
u5fac move.w #$df,-(a7)
 move.w d4,d0
 add.w -$16(a6),d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.b d0,-$29(a6)
 bne.s u5fc8
 bra.s u6030
u5fc8 move.w #$df,-(a7)
 move.w d4,d0
 sub.w -$16(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.b d0,-$2a(a6)
 beq.s u5ff8
 clr.w d0
 move.b -$2a(a6),d0
 cmp.w #$df,d0
 bne.s u5ff2
 bra.s u6030
u5ff2 move.w -$5a(a6),d7
 bra.s u6006
u5ff8 move.w -$5a(a6),d7
 move.w -$16(a6),d1
 sub.w d4,d1
 subq.w #1,d1
 add.w d1,d7
u6006 move.w -$54(a6),-(a7)
 move.w #$70,-(a7)
 move.w -$16(a6),d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 pea -$2a(a6)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u6030 move.w -$5e(a6),d0
 beq.s u6068
 clr.w -$5e(a6)
 move.w -$52(a6),d0
 seq d0
 and.w #1,d0
 movea.l -$3e(a6),a0
 lea $c(a0),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$4e(a6)
 cmpi.w #1,d5
 bne.s u6060
 clr.w d5
 bra.s u6064
u6060 move.w #1,d5
u6064 bra u5a84
u6068 move.w -$86(a6),d0
 beq.s u609c
 move.w -$2e(a6),d0
 move.w d0,d6
 cmpi.w #9,d0
 bgt.s u609c
 move.w -$88(a6),d0
 move.w d0,d5
 move.w d6,d1
 muls #$a,d1
 lea -$17ca(a4),a0
 add.l a0,d1
 asl.l #1,d0
 movea.l d1,a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$7a(a6)
 bne.s u60a0
u609c bra u65d8
u60a0 move.w -$2c(a6),d7
u60a4 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$e,d0
 bne u65a8
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w -$1c(a6),d1
 cmp.w d1,d0
 bne u65a8
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$76(a6)
 movea.l -$76(a6),a0
 move.w 2(a0),-(a7)
 jsr $2ee(a5)
 addq.l #2,a7
 move.w d0,d4
 tst.w d0
 bge u656c
 move.w d4,d0
 neg.w d0
 muls #6,d0
 lea -$163e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a2
 move.l a2,d4
 movea.l d4,a0
 clr.w d4
 move.b (a0),d4
 add.w #$13c,d4
 move.l a2,d0
 movea.l d0,a0
 move.w 4(a0),d0
 and.w #3,d0
 move.w d0,-$7e(a6)
 move.l a2,d0
 movea.l d0,a0
 move.w 4(a0),d0
 and.w #$100,d0
 seq d0
 and.w #1,d0
 move.w d0,-$82(a6)
 bne.s u6140
 movea.l -$76(a6),a0
 clr.w d0
 move.b 4(a0),d0
 cmp.w #$ff,d0
 bne.s u616a
u6140 cmpi.w #9,d6
 bne.s u616a
 clr.w -$70(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 2(a0),d0
 move.w d0,-$16(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 3(a0),d0
 move.w d0,-$18(a6)
 bra u61f8
u616a move.w d6,d0
 ext.l d0
 divs #3,d0
 asl.w #1,d0
 move.w d5,d1
 asr.w #1,d1
 add.w d1,d0
 move.w d0,-$34(a6)
 move.w -$34(a6),d0
 lea -$1678(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$70(a6)
 move.w -$82(a6),d0
 bne.s u61c0
 movea.l -$76(a6),a0
 clr.w d0
 move.b 4(a0),d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w #$60,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-$c0(a6)
 move.w -$70(a6),d0
 muls -$c0(a6),d0
 asr.w #8,d0
 move.w d0,-$70(a6)
u61c0 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 2(a0),d0
 muls -$70(a6),d0
 move.w -$70(a6),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$16(a6)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 3(a0),d0
 muls -$70(a6),d0
 move.w -$70(a6),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$18(a6)
u61f8 tst.w -$7e(a6)
 seq d0
 and.w #1,d0
 move.w d0,-$8c(a6)
 beq.s u6218
 move.w $c(a6),d0
 add.w $e(a6),d0
 and.w #1,d0
 move.w d0,-$8a(a6)
u6218 cmpi.w #3,-$7e(a6)
 bne.s u6234
 clr.w -$80(a6)
 move.w #0,d0
 move.w d0,-$24(a6)
 move.w d0,-$8e(a6)
 bra u6368
u6234 movea.l -$76(a6),a0
 move.w 6(a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 move.w 8(a0),d0
 and.w #$c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$7c(a6)
 and.w #1,d0
 move.w $a(a6),d1
 and.w #1,d1
 cmp.w d1,d0
 beq.s u62d4
 cmpi.w #2,-$7e(a6)
 bne.s u6276
 move.w #1,-$80(a6)
 bra.s u627c
u6276 move.w #2,-$80(a6)
u627c move.w -$8c(a6),d0
 beq.s u62b4
 move.w d5,d0
 seq d0
 tst.b d0
 bne.s u6292
 cmpi.w #3,d5
 seq d0
 tst.b d0
u6292 and.w #1,d0
 move.w d0,-$24(a6)
 move.w -$8a(a6),d0
 move.w d0,-$8e(a6)
 bne.s u62b2
 move.w -$24(a6),d0
 seq d0
 and.w #1,d0
 move.w d0,-$24(a6)
u62b2 bra.s u62d0
u62b4 clr.w -$8e(a6)
 move.w $a(a6),d0
 addq.w #1,d0
 and.w #3,d0
 cmp.w -$7c(a6),d0
 seq d0
 and.w #1,d0
 move.w d0,-$24(a6)
u62d0 bra u6368
u62d4 cmpi.w #2,-$7e(a6)
 bge.s u62fa
 cmpi.w #1,-$7e(a6)
 bne.s u62ee
 move.w -$7c(a6),d0
 cmp.w $a(a6),d0
 bne.s u62fa
u62ee move.w -$8c(a6),d0
 beq.s u6300
 move.w -$8a(a6),d0
 beq.s u6300
u62fa clr.w -$80(a6)
 bra.s u6306
u6300 move.w #1,-$80(a6)
u6306 move.w -$8c(a6),d0
 beq.s u6314
 cmpi.w #2,d5
 slt d0
 tst.b d0
u6314 sne d0
 and.w #1,d0
 move.w d0,-$8e(a6)
 move.l a2,d0
 movea.l d0,a0
 move.w 4(a0),d0
 and.w #$10,d0
 beq.s u635e
 cmpi.w #2,-$1a(a6)
 seq d0
 tst.b d0
 bne.s u6358
 move.w -$1a(a6),d0
 seq d0
 tst.b d0
 beq.s u6356
 cmpi.w #1,d5
 seq d0
 tst.b d0
 bne.s u6354
 cmpi.w #2,d5
 seq d0
 tst.b d0
u6354 tst.b d0
u6356 tst.b d0
u6358 tst.b d0
 seq d0
 tst.b d0
u635e sne d0
 and.w #1,d0
 move.w d0,-$24(a6)
u6368 add.w -$80(a6),d4
 clr.w -$1e(a6)
 move.w -$70(a6),d0
 bne.s u6384
 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra u645a
u6384 move.w -$24(a6),d0
 beq.s u63a0
 move.w #7,d0
 move.w -$16(a6),d1
 subq.w #1,d1
 and.w #7,d1
 sub.w d1,d0
 asl.w #1,d0
 move.w d0,-$1e(a6)
u63a0 move.w -$82(a6),d0
 beq.s u63e2
 move.w #$11a,d0
 move.l a2,d1
 movea.l d1,a0
 clr.w d3
 move.b 1(a0),d3
 add.w d3,d0
 move.w -$80(a6),d1
 muls #6,d1
 add.w d1,d0
 add.w -$34(a6),d0
 move.w d0,-$12(a6)
 move.w d0,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 beq.s u63e2
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u645a
u63e2 move.w d4,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-$c(a6)
 move.w -$82(a6),d0
 beq.s u6402
 move.w -$12(a6),-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 bra.s u6406
u6402 movea.l -$738(a4),a3
u6406 move.w -$34(a6),d0
 lsr.w #1,d0
 asl.l #2,d0
 lea -$748(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.w -$18(a6),-(a7)
 move.w -$16(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 3(a0),d0
 move.w d0,-(a7)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 2(a0),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l -$c(a6),-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 move.w -$82(a6),d0
 beq.s u645a
 move.w -$12(a6),-(a7)
 jsr $60c(a5)
 addq.l #2,a7
u645a move.w -$24(a6),d0
 bne.s u6466
 move.w -$8e(a6),d0
 beq.s u64ba
u6466 move.w -$16(a6),d4
 addq.w #7,d4
 and.w #$fff8,d4
 move.l a3,d0
 cmp.l -$738(a4),d0
 beq.s u6492
 move.w d4,d0
 muls -$18(a6),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 movea.l -$738(a4),a3
u6492 move.w -$8e(a6),d0
 beq.s u64a6
 move.w -$18(a6),-(a7)
 move.w d4,-(a7)
 move.l a3,-(a7)
 jsr u8864(pc)
 addq.l #8,a7
u64a6 move.w -$24(a6),d0
 beq.s u64ba
 move.w -$18(a6),-(a7)
 move.w d4,-(a7)
 move.l a3,-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u64ba move.w -$18(a6),d0
 asr.w #1,d0
 add.w #$2f,d0
 move.b d0,-$27(a6)
 move.w #$2f,d0
 move.w -$18(a6),d1
 asr.w #1,d1
 sub.w d1,d0
 move.w -$18(a6),d1
 and.w #1,d1
 seq d1
 and.w #1,d1
 add.w d1,d0
 move.b d0,-$28(a6)
 move.w -$7a(a6),d0
 add.w -$16(a6),d0
 move.w d0,-(a7)
 move.w #$df,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,-$29(a6)
 move.w -$7a(a6),d0
 sub.w -$16(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.b d0,-$2a(a6)
 beq.s u652a
 move.w -$24(a6),d0
 beq.s u6526
 move.w -$1e(a6),d4
 bra.s u6528
u6526 clr.w d4
u6528 bra.s u6542
u652a move.w -$16(a6),d0
 sub.w -$7a(a6),d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w -$1e(a6),-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d4
u6542 move.l #$70000a,-(a7)
 move.w -$16(a6),d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 pea -$2a(a6)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 bra.s u65a8
u656c clr.w -$22(a6)
 move.w -$7a(a6),d0
 move.b d0,-$78(a6)
 move.b #$2f,-$77(a6)
 lea -$78(a6),a0
 move.l a0,-$10(a6)
 move.w d4,d0
 muls #6,d0
 lea -$15e4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d4
 move.b (a2),d4
 add.w #$168,d4
 move.w #1,-$84(a6)
 bra u53c4
u65a8 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne u60a4
 move.w -$ac(a6),d0
 beq.s u65d8
 clr.w -$ac(a6)
 move.w -$72c(a4),d0
 addq.w #6,d0
 move.w d0,-$72c(a4)
 cmpi.w #$10,d0
 bls.s u65d8
 subq.w #3,-$72c(a4)
u65d8 move.l -4(a6),d0
 bne u5278
u65e0 move.w -$9e(a6),d0
 bne.s u65ea
 bra u6b3c
u65ea clr.l -$96(a6)
 move.w -$2e(a6),d6
 addq.w #3,d6
 move.w d6,d0
 ext.l d0
 divs #3,d0
 move.w d0,-$2e(a6)
 move.w -$2c(a6),d7
u6604 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 bne u6ada
 move.w d7,d5
 lsr.w #6,d5
 lsr.w #8,d5
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$92(a6)
 movea.l -$92(a6),a0
 move.w 2(a0),d0
 and.w #$7f,d0
 move.w d0,d4
 cmpi.w #$64,d0
 sge d0
 and.w #1,d0
 move.w d0,-$a0(a6)
 beq.s u665e
 cmpi.w #3,d6
 blt.s u665a
 cmpi.w #9,d6
 bgt.s u665a
 move.w d5,d0
 cmp.w -$1c(a6),d0
 beq.s u665e
u665a bra u6ada
u665e clr.w -$a2(a6)
 tst.w d4
 beq.s u6672
 cmpi.w #2,d4
 beq.s u6672
 cmpi.w #$65,d4
 bne.s u6678
u6672 clr.w d4
 bra u6798
u6678 cmpi.w #6,d4
 beq.s u6684
 cmpi.w #7,d4
 bne.s u668c
u6684 move.w #2,d4
 bra u6798
u668c cmpi.w #$28,d4
 bne.s u66a0
 move.w #1,-$a2(a6)
 move.w #3,d4
 bra u6798
u66a0 cmpi.w #$64,d4
 bne u677e
 move.w #$ff82,-(a7)
 jsr $2ee(a5)
 addq.l #2,a7
 neg.w d0
 muls #6,d0
 lea -$163e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a2
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b (a0),d0
 add.w #$13d,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w d6,d0
 muls #6,d0
 lea -$1c60(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$9a(a6)
 move.l a2,d0
 movea.l d0,a0
 move.b 2(a0),d0
 movea.l -$9a(a6),a0
 and.w #$ff,d0
 muls 4(a0),d0
 movea.l -$9a(a6),a0
 move.w 4(a0),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$16(a6)
 move.l a2,d0
 movea.l d0,a0
 move.b 3(a0),d0
 movea.l -$9a(a6),a0
 and.w #$ff,d0
 muls 4(a0),d0
 movea.l -$9a(a6),a0
 move.w 4(a0),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 move.w d0,-$18(a6)
 cmpi.w #9,d6
 beq.s u677a
 pea -$9c(a4)
 move.w -$18(a6),-(a7)
 move.w -$16(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 3(a0),d0
 move.w d0,-(a7)
 move.l a2,d0
 movea.l d0,a0
 clr.w d0
 move.b 2(a0),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 movea.l -$738(a4),a3
u677a bra u6956
u677e cmpi.w #$32,d4
 bne.s u6794
 cmpi.w #4,d6
 blt.s u6790
 move.l -$92(a6),-$96(a6)
u6790 bra u6ada
u6794 move.w #1,d4
u6798 cmpi.w #$c,d6
 bne u687a
 move.w -$a2(a6),d0
 beq.s u67a8
 subq.w #1,d4
u67a8 move.w d4,d0
 muls #3,d0
 move.w d0,d4
 movea.l -$92(a6),a0
 move.w 2(a0),d5
 and.w #$ff00,d5
 lsr.w #8,d5
 lsr.w #5,d5
 beq.s u67cc
 addq.w #1,d4
 cmpi.w #3,d5
 ble.s u67cc
 addq.w #1,d4
u67cc clr.w -(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 move.w d4,d0
 add.w #$15f,d0
 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w -$a2(a6),d0
 beq.s u680c
 pea -$1650(a4)
 move.l #$300020,-(a7)
 move.l #$300020,-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr u84bc(pc)
 adda.w #$14,a7
 movea.l -$738(a4),a3
u680c clr.w -(a7)
 clr.w -(a7)
 move.l #$70008a,-(a7)
 jsr $90(a5)
 and.w #$3f,d0
 move.w d0,-(a7)
 jsr $9c(a5)
 add.w #$57,d0
 move.w d0,-(a7)
 pea -$9e2(a4)
 clr.w -(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 clr.l -(a7)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u8cbc(pc)
 adda.w #$20,a7
 clr.w -(a7)
 jsr $60c(a5)
 addq.l #2,a7
 move.w #$8000,-(a7)
 jsr $5b2(a5)
 addq.l #2,a7
 cmpi.w #$88,-$396(a4)
 beq.s u6876
 pea -$2d9e(a4)
 jsr $378(a5)
 addq.l #4,a7
 tst.w d0
 bne.s u6876
 move.w #$88,-$fac(a4)
u6876 bra u6ada
u687a move.w -$a0(a6),d0
 beq.s u68a0
uu move.w d6,d0
uw muls #6,d0
 lea -$1c36(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$9a(a6)
 movea.l -$9a(a6),a0
 move.w 4(a0),-$9c(a6)
 bra u693e
u68a0 movea.l -$92(a6),a0
 move.w 2(a0),d0
 and.w #$80,d0
 lsr.w #7,d0
 beq.s u68c2
 move.w d6,d0
 asl.l #2,d0
 lea -$1b82(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$9a(a6)
 bra.s u68fc
u68c2 move.w d5,d0
 cmp.w $a(a6),d0
 beq.s u68da
 move.w d5,d0
 move.w $a(a6),d1
 subq.w #1,d1
 and.w #3,d1
 cmp.w d1,d0
 bne.s u68de
u68da clr.w d5
 bra.s u68e2
u68de move.w #1,d5
u68e2 move.w d5,d0
 move.w d6,d1
 ext.l d1
 asl.l #3,d1
 lea -$1bfa(a4),a0
 add.l a0,d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$9a(a6)
u68fc movea.l -$92(a6),a0
 move.w 2(a0),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w #$30,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w -$2e(a6),d1
 lea -$167e(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 muls d1,d0
 asr.w #8,d0
 move.w d0,-(a7)
 move.w #4,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 and.w #$fffe,d0
 move.w d0,-$9c(a6)
u693e pea -$18(a6)
 pea -$16(a6)
 move.w -$9c(a6),-(a7)
 move.w d4,-(a7)
 jsr u50ac(pc)
 adda.w #$c,a7
 movea.l d0,a3
u6956 jsr $84(a5)
 move.w d0,-$8e(a6)
 clr.w -$1e(a6)
 jsr $84(a5)
 move.w d0,-$24(a6)
 beq.s u6982
 move.w #7,d0
 move.w -$16(a6),d1
 subq.w #1,d1
 and.w #7,d1
 sub.w d1,d0
 asl.w #1,d0
 move.w d0,-$1e(a6)
u6982 movea.l -$9a(a6),a0
 move.w 2(a0),d0
 move.w -$18(a6),d1
 asr.w #1,d1
 add.w d1,d0
 move.w d0,-(a7)
 move.w #$87,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,-$27(a6)
 movea.l -$9a(a6),a0
 move.w 2(a0),d0
 move.w -$18(a6),d1
 asr.w #1,d1
 sub.w d1,d0
 move.w -$18(a6),d1
 and.w #1,d1
 seq d1
 and.w #1,d1
 add.w d1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$88,d4
 blt.s u69d8
 bra u6ada
u69d8 move.w d4,d0
 move.b d0,-$28(a6)
 movea.l -$9a(a6),a0
 move.w (a0),d0
 add.w -$16(a6),d0
 move.w d0,-(a7)
 move.w #$df,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d4
 tst.w d0
 bge.s u69fe
 bra u6ada
u69fe move.w d4,d0
 move.b d0,-$29(a6)
 movea.l -$9a(a6),a0
 move.w (a0),d4
 move.w #$df,-(a7)
 move.w d4,d0
 sub.w -$16(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.b d0,-$2a(a6)
 beq.s u6a2c
 move.w -$1e(a6),d4
 bra.s u6a42
u6a2c move.w -$16(a6),d0
 sub.w d4,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w -$1e(a6),-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d4
u6a42 move.b -$29(a6),d0
 clr.w d1
 move.b -$2a(a6),d1
 and.w #$ff,d0
 cmp.w d1,d0
 bgt.s u6a58
 bra u6ada
u6a58 move.w -$16(a6),d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w d0,-$16(a6)
 move.w -$24(a6),d0
 bne.s u6a72
 move.w -$8e(a6),d0
 beq.s u6a8e
u6a72 move.w -$16(a6),d0
 muls -$18(a6),d0
 move.w d0,-(a7)
 move.l -$738(a4),-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 movea.l -$738(a4),a3
u6a8e move.w -$24(a6),d0
 beq.s u6aa4
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.l a3,-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u6aa4 move.w -$8e(a6),d0
 beq.s u6aba
 move.w -$18(a6),-(a7)
 move.w -$16(a6),-(a7)
 move.l a3,-(a7)
 jsr u8864(pc)
 addq.l #8,a7
u6aba move.l #$70000a,-(a7)
 move.w -$16(a6),-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 pea -$2a(a6)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u6ada move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne u6604
 tst.l -$96(a6)
 beq.s u6b3c
 cmpi.w #1,-$6e(a6)
 beq.s u6b3c
 move.w -$74c(a4),d0
 bne.s u6b3c
 subq.w #3,d6
 move.w #8,-(a7)
 pea -$aa(a6)
 move.w d6,d0
 asl.l #3,d0
 lea -$faa(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 addq.b #1,-$aa(a6)
 move.w d6,d0
 asl.l #3,d0
 lea -$c02(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 pea -$aa(a6)
 jsr u4fa6(pc)
 addq.l #8,a7
u6b3c movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u6b44 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u6b76
 bra.s u6b9e
u6b76 move.w -6(a6),d0
 beq.s u6b8c
 pea -$9fa(a4)
 move.w -$750(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u6b9a
u6b8c pea -$a52(a4)
 move.w -$75e(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u6b9a bra u6c7a
u6b9e tst.w d0
 beq.s u6ba4
 bra.s u6bda
u6ba4 pea -$bfa(a4)
 move.l -$82e(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 clr.w -(a7)
 move.w -6(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 move.w #2,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u6bd6
 clr.w d4
 bra u6c8a
u6bd6 bra u6cbe
u6bda cmp.w #$10,d0
 beq.s u6be8
 cmp.w #$12,d0
 beq.s u6be8
 bra.s u6bf0
u6be8 move.w #$321,d4
 bra u6c7e
u6bf0 cmp.w #$11,d0
 beq.s u6bf8
 bra.s u6c4e
u6bf8 clr.w -(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$10218,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c0a(a4)
 move.l -$84a(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$cca(a4)
 clr.w -(a7)
 move.w #$3d8,-(a7)
 pea -$776(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$349,d4
 bra.s u6c8a
u6c4e cmp.w #2,d0
 beq.s u6c56
 bra.s u6c6c
u6c56 move.w -6(a6),d0
 bne.s u6c6a
 pea -$aea(a4)
 move.w #$31,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u6c6a bra.s u6c7a
u6c6c cmp.w #5,d0
 beq.s u6c7a
 cmp.w #1,d0
 beq.s u6c7a
 bra.s u6ca2
u6c7a move.w #$3421,d4
u6c7e clr.w -(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
u6c8a move.w d4,-(a7)
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u6ca2 cmpi.w #5,-$a(a6)
 bne.s u6cbe
 move.w -6(a6),d0
 beq.s u6cbe
 pea -$bfa(a4)
 pea -$fa2(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u6cbe movem.l (a7)+,d4-d7
 unlk a6
 rts
u6cc6 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u6cf8
 bra.s u6d20
u6cf8 move.w -6(a6),d0
 beq.s u6d0e
 pea -$a0a(a4)
 move.w -$750(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u6d1c
u6d0e pea -$a62(a4)
 move.w -$75e(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u6d1c bra u6e3c
u6d20 tst.w d0
 beq.s u6d26
 bra.s u6d5e
u6d26 pea -$bf2(a4)
 move.l -$82e(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #1,-(a7)
 move.w -2(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 move.w #4,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u6d5a
 clr.w d4
 bra u6e4e
u6d5a bra u6e82
u6d5e cmp.w #$10,d0
 beq.s u6d6c
 cmp.w #$12,d0
 beq.s u6d6c
 bra.s u6d74
u6d6c move.w #$412,d4
 bra u6e40
u6d74 cmp.w #$11,d0
 beq.s u6d7e
 bra u6e10
u6d7e move.w #2,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$20128,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 move.w #$2c0,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$84a(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 pea -$c12(a4)
 move.l -$738(a4),-(a7)
 jsr u4474(pc)
 addq.l #8,a7
 move.w -4(a6),d0
 move.l -$2920(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s u6dec
 clr.w -(a7)
 move.w #1,-(a7)
 jsr u4c82(pc)
 addq.l #4,a7
u6dec pea -$d6a(a4)
 clr.w -(a7)
 move.w #$3d8,-(a7)
 pea -$776(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$439,d4
 bra.s u6e4e
u6e10 cmp.w #2,d0
 beq.s u6e18
 bra.s u6e2e
u6e18 move.w -6(a6),d0
 bne.s u6e2c
 pea -$afa(a4)
 move.w #$31,-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u6e2c bra.s u6e3c
u6e2e cmp.w #5,d0
 beq.s u6e3c
 cmp.w #1,d0
 beq.s u6e3c
 bra.s u6e66
u6e3c move.w #$4312,d4
u6e40 move.w #2,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
u6e4e move.w d4,-(a7)
 move.w #2,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u6e66 cmpi.w #5,-$a(a6)
 bne.s u6e82
 move.w -6(a6),d0
 beq.s u6e82
 pea -$bf2(a4)
 pea -$f9a(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u6e82 movem.l (a7)+,d4-d7
 unlk a6
 rts
u6e8a link a6,#-$a
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u6ebc
 bra.s u6ee4
u6ebc move.w -6(a6),d0
 beq.s u6ed2
 pea -$a02(a4)
 move.w -$752(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u6ee0
u6ed2 pea -$a5a(a4)
 move.w -$760(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u6ee0 bra u70b0
u6ee4 tst.w d0
 beq.s u6eea
 bra.s u6f14
u6eea pea -$c02(a4)
 move.l -$82e(a4),-(a7)
 jsr u43e8(pc)
 addq.l #8,a7
 move.w #3,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u6f10
 clr.w d4
 bra u70c2
u6f10 bra u70f4
u6f14 cmp.w #$11,d0
 beq.s u6f1e
 bra u6fc0
u6f1e move.w #1,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.w #$218,-(a7)
 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c1a(a4)
 move.l -$84e(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #$2c0,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$84e(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 pea -$c22(a4)
 move.l -$738(a4),-(a7)
 jsr u4474(pc)
 addq.l #8,a7
 move.w -4(a6),d0
 move.l -$2920(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s u6f9a
 move.l #$10001,-(a7)
 jsr u4c82(pc)
 addq.l #4,a7
u6f9a pea -$d1a(a4)
 clr.w -(a7)
 move.w #$3d8,-(a7)
 pea -$776(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$349,d4
 bra u70c2
u6fc0 cmp.w #2,d0
 beq.s u6fc8
 bra.s u6fde
u6fc8 move.w -6(a6),d0
 bne.s u6fdc
 pea -$af2(a4)
 move.w #$32,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u6fdc bra.s u6fe8
u6fde cmp.w #5,d0
 beq.s u6fe8
 bra u70a8
u6fe8 cmpi.w #$f,-$72c(a4)
 bcs u70a6
 move.w -$5ac4(a4),d0
 bne u70a6
 move.l -$2dd4(a4),d0
 cmp.l #$103e3,d0
 bge.s u7012
 move.l -$2dc6(a4),d0
 cmp.l #$fffa,d0
 bgt.s u7026
u7012 move.l -$2dc6(a4),d0
 move.l -$2dd4(a4),d1
 add.l #$2000,d1
 cmp.l d1,d0
 bls u70a6
u7026 jsr $9c(a5)
 tst.w d0
 beq.s u7030
 bra.s u703a
u7030 lea u78b0(pc),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s u706e
u703a cmp.w #1,d0
 beq.s u7042
 bra.s u704c
u7042 lea u7a6e(pc),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s u706e
u704c cmp.w #2,d0
 beq.s u7054
 bra.s u705e
u7054 lea u76f4(pc),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s u706e
u705e cmp.w #3,d0
 beq.s u7066
 bra.s u706e
u7066 lea u7e0c(pc),a0
 move.l a0,d0
 movea.l d0,a3
u706e move.w #3,-(a7)
 pea -$9de(a4)
 pea -$5ac4(a4)
 move.l -$5b00(a4),-(a7)
 move.w #$21a,-(a7)
 pea $61e(a5)
 move.l a3,-(a7)
 jsr u90a2(pc)
 adda.w #$18,a7
 ori.w #1,-$5b02(a4)
 ori.w #1,-$2dc8(a4)
 subi.w #$a,-$72c(a4)
 clr.w -$730(a4)
u70a6 bra.s u70b0
u70a8 cmp.w #1,d0
 beq.s u70b0
 bra.s u70d8
u70b0 move.w #$3421,d4
 move.w #1,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
u70c2 move.w d4,-(a7)
 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u70d8 cmpi.w #5,-$a(a6)
 bne.s u70f4
 move.w -6(a6),d0
 beq.s u70f4
 pea -$c02(a4)
 pea -$faa(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u70f4 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
u70fc link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u712e
 bra.s u7156
u712e move.w -6(a6),d0
 beq.s u7144
 pea -$a12(a4)
 move.w -$754(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7152
u7144 pea -$a6a(a4)
 move.w -$762(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u7152 bra u7250
u7156 tst.w d0
 beq.s u715c
 bra.s u7194
u715c pea -$be2(a4)
 move.l -$832(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #5,-(a7)
 move.w -6(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 move.w #7,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u7190
 clr.w d4
 bra u7262
u7190 bra u72ac
u7194 cmp.w #$12,d0
 beq.s u719c
 bra.s u71ac
u719c pea -$aaa(a4)
 move.w -$76c(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u71b4
u71ac cmp.w #$10,d0
 beq.s u71b4
 bra.s u71bc
u71b4 move.w #$342,d4
 bra u7254
u71bc cmp.w #$11,d0
 beq.s u71c4
 bra.s u721c
u71c4 move.w #3,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$40218,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c52(a4)
 move.l -$842(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$dba(a4)
 move.l #$7a00001,-(a7)
 pea -$77a(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$349,d4
 bra.s u7262
u721c cmp.w #2,d0
 beq.s u7224
 bra.s u7242
u7224 pea -$b02(a4)
 move.w -6(a6),d0
 beq.s u7234
 move.w #$39,d0
 bra.s u7238
u7234 move.w #$33,d0
u7238 move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7250
u7242 cmp.w #5,d0
 beq.s u7250
 cmp.w #1,d0
 beq.s u7250
 bra.s u7290
u7250 move.w #$3421,d4
u7254 move.w #3,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
u7262 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b4a(a4)
 move.w #$3f,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
 move.w d4,-(a7)
 move.w #4,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u7290 cmpi.w #5,-$a(a6)
 bne.s u72ac
 move.w -6(a6),d0
 beq.s u72ac
 pea -$be2(a4)
 pea -$f8a(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u72ac movem.l (a7)+,d4-d7
 unlk a6
 rts
u72b4 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u72e6
 bra.s u730e
u72e6 move.w -6(a6),d0
 beq.s u72fc
 pea -$a22(a4)
 move.w -$754(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u730a
u72fc pea -$a7a(a4)
 move.w -$762(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u730a bra u74ae
u730e tst.w d0
 beq.s u7316
 bra u73f2
u7316 pea -$bda(a4)
 move.l -$832(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #6,-(a7)
 move.w -2(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 move.w #9,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u734a
 clr.w d4
 bra u74d8
u734a cmpi.w #6,-$72c(a4)
 bhi u73ee
 move.w -$730(a4),d0
 beq u73ee
 move.w -$5ac4(a4),d0
 bne u73ee
 move.w -$2dca(a4),d0
 and.w #1,d0
 bne.s u7378
 move.w -$5b02(a4),d0
 and.w #1,d0
 bne.s u73a8
u7378 move.w -$2dcc(a4),d0
 and.w #1,d0
 beq.s u739e
 move.w -$2dca(a4),d0
 and.w #1,d0
 beq.s u7396
 addq.w #1,-$732(a4)
 andi.w #$fffe,-$2dca(a4)
u7396 andi.w #$fffe,-$2dcc(a4)
 bra.s u73a0
u739e bra.s u73a6
u73a0 addi.w #$a,-$72c(a4)
u73a6 bra.s u73ee
u73a8 clr.w -$72e(a4)
 move.w #$22b,-$734(a4)
 move.w #3,-(a7)
 pea -$9de(a4)
 pea -$812(a4)
 move.l -$5b00(a4),-(a7)
 move.w #$15,-(a7)
 pea $61e(a5)
 jsr $84(a5)
 tst.w d0
 beq.s u73da
 lea u7a6e(pc),a0
 move.l a0,d0
 bra.s u73e0
u73da lea u7d24(pc),a0
 move.l a0,d0
u73e0 move.l d0,-(a7)
 jsr u90a2(pc)
 adda.w #$18,a7
 addq.w #5,-$72c(a4)
u73ee bra u750c
u73f2 cmp.w #$12,d0
 beq.s u73fa
 bra.s u740a
u73fa pea -$ab2(a4)
 move.w -$76c(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u7412
u740a cmp.w #$10,d0
 beq.s u7412
 bra.s u741a
u7412 move.w #$431,d4
 bra u74b2
u741a cmp.w #$11,d0
 beq.s u7422
 bra.s u747a
u7422 move.w #5,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$50128,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c62(a4)
 move.l -$842(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$e5a(a4)
 move.l #$7a00001,-(a7)
 pea -$77a(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$439,d4
 bra.s u74d8
u747a cmp.w #2,d0
 beq.s u7482
 bra.s u74a0
u7482 pea -$b12(a4)
 move.w -6(a6),d0
 beq.s u7492
 move.w #$39,d0
 bra.s u7496
u7492 move.w #$33,d0
u7496 move.w d0,-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u74ae
u74a0 cmp.w #5,d0
 beq.s u74ae
 cmp.w #1,d0
 beq.s u74ae
 bra.s u74f0
u74ae move.w #$4312,d4
u74b2 move.w #5,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b5a(a4)
 move.w #$3f,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
u74d8 move.w d4,-(a7)
 move.w #5,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u74f0 cmpi.w #5,-$a(a6)
 bne.s u750c
 move.w -6(a6),d0
 beq.s u750c
 pea -$bda(a4)
 pea -$f82(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u750c movem.l (a7)+,d4-d7
 unlk a6
 rts
u7514 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u7546
 bra.s u756e
u7546 move.w -6(a6),d0
 beq.s u755c
 pea -$a1a(a4)
 move.w -$756(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u756a
u755c pea -$a72(a4)
 move.w -$764(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u756a bra u768a
u756e tst.w d0
 beq.s u7574
 bra.s u759e
u7574 pea -$bea(a4)
 move.l -$832(a4),-(a7)
 jsr u43e8(pc)
 addq.l #8,a7
 move.w #8,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u759a
 clr.w d4
 bra u76b2
u759a bra u76ec
u759e cmp.w #$11,d0
 beq.s u75a8
 bra u7656
u75a8 move.w #4,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$30218,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c5a(a4)
 move.l -$842(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$c2a(a4)
 move.l -$852(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #$618,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$852(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 pea -$c32(a4)
 move.l -$738(a4),-(a7)
 jsr u4474(pc)
 addq.l #8,a7
 move.w -4(a6),d0
 move.l -$2920(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s u7632
 move.l #$10002,-(a7)
 jsr u4c82(pc)
 addq.l #4,a7
u7632 pea -$e0a(a4)
 move.l #$7a00001,-(a7)
 pea -$77a(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$349,d4
 bra.s u76b2
u7656 cmp.w #2,d0
 beq.s u765e
 bra.s u767c
u765e pea -$b0a(a4)
 move.w -6(a6),d0
 beq.s u766e
 move.w #$3a,d0
 bra.s u7672
u766e move.w #$34,d0
u7672 move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u768a
u767c cmp.w #5,d0
 beq.s u768a
 cmp.w #1,d0
 beq.s u768a
 bra.s u76ca
u768a move.w #$3421,d4
 move.w #4,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b52(a4)
 move.w #$40,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
u76b2 move.w d4,-(a7)
 move.w #3,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u76ca cmpi.w #5,-$a(a6)
 bne.s u76ec
 move.w -6(a6),d0
 beq.s u76ec
 pea -$a(a6)
 pea -$bea(a4)
 pea -$f92(a4)
 jsr u4fa6(pc)
 adda.w #$c,a7
u76ec movem.l (a7)+,d4-d7
 unlk a6
 rts
u76f4 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u7726
 bra.s u774e
u7726 move.w -6(a6),d0
 beq.s u773c
 pea -$a2a(a4)
 move.w -$758(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u774a
u773c pea -$a82(a4)
 move.w -$766(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u774a bra u7846
u774e tst.w d0
 beq.s u7754
 bra.s u7774
u7754 pea -$bca(a4)
 move.l -$836(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #$a,-(a7)
 move.w -6(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 bra u78a8
u7774 cmp.w #$12,d0
 beq.s u777c
 bra.s u77a2
u777c move.w -6(a6),d0
 beq.s u7792
 pea -$aba(a4)
 move.w -$76e(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u77a0
u7792 pea -$aca(a4)
 move.w -$770(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u77a0 bra.s u77aa
u77a2 cmp.w #$10,d0
 beq.s u77aa
 bra.s u77b2
u77aa move.w #$32,d4
 bra u784a
u77b2 cmp.w #$11,d0
 beq.s u77ba
 bra.s u7812
u77ba move.w #6,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$70028,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c6a(a4)
 move.l -$846(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$eaa(a4)
 move.l #$10800002,-(a7)
 pea -$77e(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$39,d4
 bra.s u786e
u7812 cmp.w #2,d0
 beq.s u781a
 bra.s u7838
u781a pea -$b1a(a4)
 move.w -6(a6),d0
 beq.s u782a
 move.w #$3b,d0
 bra.s u782e
u782a move.w #$35,d0
u782e move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7846
u7838 cmp.w #5,d0
 beq.s u7846
 cmp.w #1,d0
 beq.s u7846
 bra.s u7886
u7846 move.w #$32,d4
u784a move.w #6,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b62(a4)
 move.w #$41,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
u786e move.w d4,-(a7)
 move.w #7,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u7886 cmpi.w #5,-$a(a6)
 bne.s u78a8
 move.w -6(a6),d0
 beq.s u78a8
 pea -$a(a6)
 pea -$bca(a4)
 pea -$f72(a4)
 jsr u4fa6(pc)
 adda.w #$c,a7
u78a8 movem.l (a7)+,d4-d7
 unlk a6
 rts
u78b0 link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$13,d0
 beq.s u78e2
 bra.s u790a
u78e2 move.w -6(a6),d0
 beq.s u78f8
 pea -$a3a(a4)
 move.w -$758(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u7906
u78f8 pea -$a92(a4)
 move.w -$766(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u7906 bra u7a02
u790a tst.w d0
 beq.s u7910
 bra.s u7930
u7910 pea -$bc2(a4)
 move.l -$836(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w #$b,-(a7)
 move.w -2(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 bra u7a66
u7930 cmp.w #$12,d0
 beq.s u7938
 bra.s u795e
u7938 move.w -6(a6),d0
 beq.s u794e
 pea -$ac2(a4)
 move.w -$76e(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u795c
u794e pea -$ad2(a4)
 move.w -$770(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u795c bra.s u7966
u795e cmp.w #$10,d0
 beq.s u7966
 bra.s u796e
u7966 move.w #$41,d4
 bra u7a06
u796e cmp.w #$11,d0
 beq.s u7976
 bra.s u79ce
u7976 move.w #8,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$80018,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c7a(a4)
 move.l -$846(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$f4a(a4)
 move.l #$10800002,-(a7)
 pea -$77e(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$49,d4
 bra.s u7a2c
u79ce cmp.w #2,d0
 beq.s u79d6
 bra.s u79f4
u79d6 pea -$b2a(a4)
 move.w -6(a6),d0
 beq.s u79e6
 move.w #$3b,d0
 bra.s u79ea
u79e6 move.w #$35,d0
u79ea move.w d0,-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u7a02
u79f4 cmp.w #5,d0
 beq.s u7a02
 cmp.w #1,d0
 beq.s u7a02
 bra.s u7a44
u7a02 move.w #$41,d4
u7a06 move.w #8,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b72(a4)
 move.w #$41,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
u7a2c move.w d4,-(a7)
 move.w #8,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u7a44 cmpi.w #5,-$a(a6)
 bne.s u7a66
 move.w -6(a6),d0
 beq.s u7a66
 pea -$a(a6)
 pea -$bc2(a4)
 pea -$f6a(a4)
 jsr u4fa6(pc)
 adda.w #$c,a7
u7a66 movem.l (a7)+,d4-d7
 unlk a6
 rts
u7a6e link a6,#-$e
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 move.w d0,-$2922(a4)
 cmp.w #$13,d0
 beq.s u7aa4
 bra.s u7acc
u7aa4 move.w -6(a6),d0
 beq.s u7aba
 pea -$a32(a4)
 move.w -$75a(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7ac8
u7aba pea -$a8a(a4)
 move.w -$768(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u7ac8 bra u7cba
u7acc tst.w d0
 beq.s u7ad4
 bra u7be2
u7ad4 clr.w -$2924(a4)
 clr.w -$2926(a4)
 clr.w -$2928(a4)
 move.b -$33e0(a4),d0
 beq.s u7b62
 move.w #1,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 move.l #$30ffff,-(a7)
 move.w #$70,-(a7)
 move.b -$9e4(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 move.b -$9e6(a4),d0
 and.w #$ff,d0
 move.w d0,-(a7)
 pea -$9ea(a4)
 move.w #1,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 move.w #$29,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-$e(a6)
 move.l #$30000a,-(a7)
 move.w #$30,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$9ea(a4)
 move.w #1,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.l -$e(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
u7b62 pea -$bd2(a4)
 move.l -$836(a4),-(a7)
 jsr u43e8(pc)
 addq.l #8,a7
 move.w #$c,-(a7)
 move.w -4(a6),-(a7)
 jsr u45d2(pc)
 addq.l #4,a7
 tst.w d0
 beq.s u7b9a
 clr.w -(a7)
 move.w #6,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u7b9a move.b -$33e0(a4),d0
 beq.s u7bde
 move.l #$700009,-(a7)
 move.w #$30,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$9e6(a4)
 move.l -$2da2(a4),-(a7)
 move.w #1,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 move.w #1,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
 move.w #$8001,-(a7)
 jsr $5b2(a5)
 addq.l #2,a7
u7bde bra u7d1c
u7be2 cmp.w #$11,d0
 beq.s u7bec
 bra u7c86
u7bec move.w #7,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 move.l #$60218,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 pea -$c72(a4)
 move.l -$846(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$c3a(a4)
 move.l -$856(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 pea -$c42(a4)
 move.l -$85e(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 move.w -4(a6),d0
 move.l -$2920(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s u7c62
 move.l #$10003,-(a7)
 jsr u4c82(pc)
 addq.l #4,a7
u7c62 pea -$efa(a4)
 move.l #$10800002,-(a7)
 pea -$77e(a4)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr u4dc2(pc)
 adda.w #$10,a7
 move.w #$349,d4
 bra.s u7ce2
u7c86 cmp.w #2,d0
 beq.s u7c8e
 bra.s u7cac
u7c8e pea -$b22(a4)
 move.w -6(a6),d0
 beq.s u7c9e
 move.w #$3c,d0
 bra.s u7ca2
u7c9e move.w #$36,d0
u7ca2 move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7cba
u7cac cmp.w #5,d0
 beq.s u7cba
 cmp.w #1,d0
 beq.s u7cba
 bra.s u7cfa
u7cba move.w #$3421,d4
 move.w #7,-(a7)
 move.w -2(a6),-(a7)
 jsr u4a3e(pc)
 addq.l #4,a7
 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b6a(a4)
 move.w #$42,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
u7ce2 move.w d4,-(a7)
 move.w #6,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
u7cfa cmpi.w #5,-$a(a6)
 bne.s u7d1c
 move.w -6(a6),d0
 beq.s u7d1c
 pea -$a(a6)
 pea -$bd2(a4)
 pea -$f7a(a4)
 jsr u4fa6(pc)
 adda.w #$c,a7
u7d1c movem.l (a7)+,d4-d7
 unlk a6
 rts
u7d24 link a6,#-$a
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$12,d0
 beq.s u7d56
 bra.s u7d68
u7d56 pea -$ada(a4)
 move.w -$772(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra u7e04
u7d68 cmp.w #2,d0
 beq.s u7d70
 bra.s u7d8e
u7d70 pea -$b32(a4)
 move.w -6(a6),d0
 beq.s u7d80
 move.w #$3d,d0
 bra.s u7d84
u7d80 move.w #$37,d0
u7d84 move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 bra.s u7da2
u7d8e cmp.w #1,d0
 beq.s u7da2
 cmp.w #$10,d0
 beq.s u7da2
 cmp.w #5,d0
 beq.s u7da2
 bra.s u7dbc
u7da2 move.l #$a0002,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 bra.s u7dd2
u7dbc tst.w d0
 beq.s u7dc2
 bra.s u7dd2
u7dc2 pea -$bb2(a4)
 move.l -$83a(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 bra.s u7e04
u7dd2 clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b7a(a4)
 move.w #$43,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
 cmpi.w #5,-$a(a6)
 bne.s u7e04
 move.w -6(a6),d0
 beq.s u7e04
 pea -$bb2(a4)
 pea -$f5a(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u7e04 movem.l (a7)+,d5-d7
 unlk a6
 rts
u7e0c link a6,#-$a
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$12,d0
 beq.s u7e3e
 bra.s u7e50
u7e3e pea -$ae2(a4)
 move.w -$772(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra u7eee
u7e50 cmp.w #2,d0
 beq.s u7e58
 bra.s u7e76
u7e58 pea -$b42(a4)
 move.w -6(a6),d0
 beq.s u7e68
 move.w #$3d,d0
 bra.s u7e6c
u7e68 move.w #$37,d0
u7e6c move.w d0,-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u7e8a
u7e76 cmp.w #1,d0
 beq.s u7e8a
 cmp.w #$10,d0
 beq.s u7e8a
 cmp.w #5,d0
 beq.s u7e8a
 bra.s u7ebc
u7e8a move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b8a(a4)
 move.w #$43,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
 move.l #$b0001,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 bra.s u7ed2
u7ebc tst.w d0
 beq.s u7ec2
 bra.s u7ed2
u7ec2 pea -$baa(a4)
 move.l -$83e(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 bra.s u7eee
u7ed2 cmpi.w #5,-$a(a6)
 bne.s u7eee
 move.w -6(a6),d0
 beq.s u7eee
 pea -$baa(a4)
 pea -$f52(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u7eee movem.l (a7)+,d5-d7
 unlk a6
 rts
u7ef6 link a6,#-$a
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$a(a6)
 jsr $2b8(a5)
 adda.w #$a,a7
 move.w -$a(a6),d0
 cmp.w #$10,d0
 beq.s u7f28
 bra.s u7f9e
u7f28 move.b -$33e0(a4),d0
 beq.s u7f8e
 move.w #$7b0,-(a7)
 move.l -$738(a4),-(a7)
 move.l -$85a(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.l #$100009,-(a7)
 move.w #$30,-(a7)
 clr.w -(a7)
 move.b -$c4a(a4),d0
 and.w #$ff,d0
 move.b -$9e6(a4),d3
 and.w #$ff,d3
 sub.w d3,d0
 move.w d0,-(a7)
 pea -$9ee(a4)
 move.l -$738(a4),-(a7)
 move.w #$29,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 pea -$c4a(a4)
 move.l -$738(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
 bra.s u7f9c
u7f8e pea -$c4a(a4)
 move.l -$85a(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
u7f9c bra.s u800c
u7f9e cmp.w #$13,d0
 beq.s u7fa6
 bra.s u7fe8
u7fa6 move.w -6(a6),d0
 beq.s u7fca
 pea -$a42(a4)
 move.w -$75c(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 pea -$a4a(a4)
 move.w -$75c(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
 bra.s u7fe6
u7fca pea -$a9a(a4)
 move.w -$76a(a4),-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
 pea -$aa2(a4)
 move.w -$76a(a4),-(a7)
 jsr u4522(pc)
 addq.l #6,a7
u7fe6 bra.s u800c
u7fe8 cmp.w #2,d0
 beq.s u7ff0
 bra.s u800c
u7ff0 pea -$b3a(a4)
 move.w -6(a6),d0
 beq.s u8000
 move.w #$3e,d0
 bra.s u8004
u8000 move.w #$38,d0
u8004 move.w d0,-(a7)
 jsr u44d4(pc)
 addq.l #6,a7
u800c clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 pea -$b82(a4)
 move.w #$44,-(a7)
 jsr u4f28(pc)
 adda.w #$c,a7
 move.l #$90021,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 cmpi.w #5,-$a(a6)
 bne.s u8056
 move.w -6(a6),d0
 beq.s u8056
 pea -$bba(a4)
 pea -$f62(a4)
 jsr u4fa6(pc)
 addq.l #8,a7
u8056 movem.l (a7)+,d5-d7
 unlk a6
 rts
u805e link a6,#-4
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 clr.w d4
 move.w -$2da4(a4),d0
 beq.s u807e
 jsr u432c(pc)
u807e move.w #1,-$5a00(a4)
 move.w #$18,-(a7)
 pea -$2944(a4)
 jsr $54(a5)
 addq.l #6,a7
 move.l #$ff0004,-(a7)
 move.w #6,-(a7)
 pea -$2944(a4)
 jsr $3c(a5)
 adda.w #$a,a7
 clr.w -(a7)
 move.l #$22b0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$738(a4)
 move.w d6,d0
 add.w d5,d0
 add.w d7,d0
 and.w #1,d0
 move.w d0,-$74a(a4)
 beq.s u8100
 move.l #$700046,-(a7)
 move.l -$822(a4),-(a7)
 jsr u8666(pc)
 addq.l #8,a7
 move.w -$5b42(a4),d4
 beq.s u80fe
 move.l -$8a6(a4),-$82e(a4)
 move.l -$8aa(a4),-$832(a4)
 move.l -$8ae(a4),-$836(a4)
 move.l -$8b2(a4),-$83a(a4)
 move.l -$8b6(a4),-$83e(a4)
u80fe bra.s u8110
u8100 move.l #$70001d,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr u8666(pc)
 addq.l #8,a7
u8110 move.w d5,-(a7)
 move.w d6,-(a7)
 move.l #$3fffe,-(a7)
 move.w d7,-(a7)
 jsr $21c(a5)
 adda.w #$a,a7
 tst.w d0
 bne.s u8136
 pea -$b9a(a4)
 move.l -$82a(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
u8136 move.w d5,-(a7)
 move.w d6,-(a7)
 move.l #$30002,-(a7)
 move.w d7,-(a7)
 jsr $21c(a5)
 adda.w #$a,a7
 tst.w d0
 bne.s u815c
 pea -$ba2(a4)
 move.l -$826(a4),-(a7)
 jsr u43a2(pc)
 addq.l #8,a7
u815c move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$4ffff,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.l #$fffe0001,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$40001,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.l #$ffff0001,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 clr.w -(a7)
 move.w #4,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.l #$fffd0001,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr u51c8(pc)
 adda.w #$c,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$3ffff,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u6b44(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$30001,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u6cc6(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 clr.w -(a7)
 move.w #3,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u6e8a(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$2ffff,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u70fc(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$20001,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u72b4(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 clr.w -(a7)
 move.w #2,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u7514(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$1ffff,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u76f4(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.l #$10001,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u78b0(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u7a6e(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.w #$ffff,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u7d24(pc)
 addq.l #6,a7
 move.w d6,-2(a6)
 move.w d5,-4(a6)
 pea -4(a6)
 pea -2(a6)
 move.w #1,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr u7e0c(pc)
 addq.l #6,a7
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u7ef6(pc)
 addq.l #6,a7
 move.w d4,d0
 beq.s u8472
 move.l -$8ba(a4),-$82e(a4)
 move.l -$8be(a4),-$832(a4)
 move.l -$8c2(a4),-$836(a4)
 move.l -$8c6(a4),-$83a(a4)
 move.l -$8ca(a4),-$83e(a4)
u8472 move.w -$730(a4),d0
 bne.s u8482
 cmpi.w #$200,-$734(a4)
 beq.s u8482
 bra.s u8494
u8482 move.w #1,-$730(a4)
 move.l #$22b0,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
u8494 cmpi.w #$ff,-$2dbc(a4)
 sne d0
 and.w #1,d0
 move.w d0,-(a7)
 jsr u42fe(pc)
 addq.l #2,a7
 cmpi.w #$ff,-$2dbc(a4)
 beq.s u84b4
 jsr u432c(pc)
u84b4 movem.l (a7)+,d4-d7
 unlk a6
 rts
u84bc link a6,#-$a
 movem.l d4-d7/a2-a5,-(a7)
 movea.l $18(a6),a5
 movea.l 8(a6),a0
 movea.l $c(a6),a1
 moveq #0,d1
 move.w $10(a6),d1
 moveq #$f,d0
 add.w d1,d0
 and.w #$fff0,d0
 lsr.w #1,d0
 move.w d0,-$a(a6)
 move.w $14(a6),d3
 moveq #$a,d2
 lsl.l d2,d1
 divu d3,d1
 andi.l #$ffff,d1
 lsl.l #6,d1
 movea.l d1,a2
 lsr.l #1,d1
 addi.l #$7fff,d1
 move.l d1,-8(a6)
 moveq #0,d1
 move.w $12(a6),d1
 lsl.l d2,d1
 divu $16(a6),d1
 andi.l #$ffff,d1
 lsl.l #6,d1
 move.l d1,-4(a6)
 lsr.l #1,d1
 addi.l #$7fff,d1
 movea.l d1,a4
 swap d1
 mulu d1,d0
 adda.w d0,a0
 move.w d3,-(a7)
u852e movea.w #$ffff,a3
 move.l -8(a6),d4
 move.l #$80008000,d7
u853c moveq #0,d2
 moveq #0,d3
u8540 swap d4
 moveq #-$10,d6
 and.w d4,d6
 cmp.w a3,d6
 beq.s u8554
 movea.w d6,a3
 lsr.w #1,d6
 movem.l 0(a0,d6.w),d0-d1
u8554 moveq #$f,d6
 and.w d4,d6
 neg.w d6
 addi.w #$f,d6
 moveq #0,d5
 btst d6,d0
 beq.s u8566
 moveq #2,d5
u8566 btst d6,d1
 beq.s u856c
 addq.w #8,d5
u856c addi.w #$10,d6
 btst d6,d0
 beq.s u8576
 addq.w #1,d5
u8576 btst d6,d1
 beq.s u857c
 addq.w #4,d5
u857c move.b 0(a5,d5.w),d5
 jmp u8584(pc,d5.w)
u8584 bra u861e
 nop
 nop
 nop
 swap d2
 or.w d7,d2
 swap d2
 bra u861e
 or.w d7,d2
 bra u861e
 nop
 nop
 or.l d7,d2
 bra u861e
 nop
 nop
 swap d3
 or.w d7,d3
 swap d3
 bra u861e
 move.w d7,d6
 swap d6
 or.l d6,d2
 or.l d6,d3
 bra.s u861e
 or.w d7,d2
 swap d3
 or.w d7,d3
 swap d3
 bra.s u861e
 or.l d7,d2
 swap d3
 or.w d7,d3
 swap d3
 bra.s u861e
 or.w d7,d3
 bra.s u861e
 nop
 nop
 nop
 or.w d7,d3
 swap d2
 or.w d7,d2
 swap d2
 bra.s u861e
 or.w d7,d2
 or.w d7,d3
 bra.s u861e
 nop
 nop
 or.l d7,d2
 or.w d7,d3
 bra.s u861e
 nop
 nop
 or.l d7,d3
 bra.s u861e
 nop
 nop
 nop
 swap d2
 or.w d7,d2
 swap d2
 or.l d7,d3
 bra.s u861e
 or.w d7,d2
 or.l d7,d3
 bra.s u861e
 nop
 nop
 or.l d7,d2
 or.l d7,d3
u861e subq.w #1,(a7)
 beq.s u8634
 swap d4
 add.l a2,d4
 ror.l #1,d7
 bcc u8540
 move.l d2,(a1)+
 move.l d3,(a1)+
 bra u853c
u8634 move.l d2,(a1)+
 move.l d3,(a1)+
 subq.w #1,$16(a6)
 beq.s u865c
 move.l a4,d2
 move.l d2,d3
 add.l -4(a6),d3
 movea.l d3,a4
 swap d2
 swap d3
 sub.w d2,d3
 mulu -$a(a6),d3
 adda.w d3,a0
 move.w $14(a6),(a7)
 bra u852e
u865c addq.w #2,a7
 movem.l (a7)+,d4-d7/a2-a5
 unlk a6
 rts
u8666 link a6,#0
 movem.l d6-d7,-(a7)
 move.w $c(a6),d7
 move.w $e(a6),d6
 movem.l a2-a4,-(a7)
 movea.l 8(a6),a0
 lea u8758(pc),a2
 moveq #0,d0
 moveq #0,d1
 move.w d7,d3
 lsr.w #3,d7
 movea.l a0,a1
 adda.w d3,a1
 subq.l #6,a1
 movea.l a0,a3
 movea.l a1,a4
u8694 move.w d7,d2
u8696 subq.w #2,d2
 bmi.s u870a
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 addq.l #4,a1
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 addq.l #4,a1
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 addq.l #4,a1
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)+
 tst.w d2
 beq.s u8746
 suba.w #$c,a1
 bra.s u8696
u870a move.b (a0),d0
 move.b -(a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)
 addq.l #2,a0
 addq.l #2,a1
 move.b (a0),d0
 move.b (a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)
 addq.l #2,a0
 addq.l #2,a1
 move.b (a0),d0
 move.b (a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)
 addq.l #2,a0
 addq.l #2,a1
 move.b (a0),d0
 move.b (a1),d1
 move.b 0(a2,d0.w),(a1)
 move.b 0(a2,d1.w),(a0)
u8746 subq.w #1,d6
 beq u8858
 adda.w d3,a3
 movea.l a3,a0
 adda.w d3,a4
 movea.l a4,a1
 bra u8694
u8758
 dc.b $00,$80,$40,$c0,$20,$a0,$60,$e0,$10,$90,$50,$d0,$30,$b0,$70,$f0
 dc.b $08,$88,$48,$c8,$28,$a8,$68,$e8,$18,$98,$58,$d8,$38,$b8,$78,$f8
 dc.b $04,$84,$44,$c4,$24,$a4,$64,$e4,$14,$94,$54,$d4,$34,$b4,$74,$f4
 dc.b $0c,$8c,$4c,$cc,$2c,$ac,$6c,$ec,$1c,$9c,$5c,$dc,$3c,$bc,$7c,$fc
 dc.b $02,$82,$42,$c2,$22,$a2,$62,$e2,$12,$92,$52,$d2,$32,$b2,$72,$f2
 dc.b $0a,$8a,$4a,$ca,$2a,$aa,$6a,$ea,$1a,$9a,$5a,$da,$3a,$ba,$7a,$fa
 dc.b $06,$86,$46,$c6,$26,$a6,$66,$e6,$16,$96,$56,$d6,$36,$b6,$76,$f6
 dc.b $0e,$8e,$4e,$ce,$2e,$ae,$6e,$ee,$1e,$9e,$5e,$de,$3e,$be,$7e,$fe
 dc.b $01,$81,$41,$c1,$21,$a1,$61,$e1,$11,$91,$51,$d1,$31,$b1,$71,$f1
 dc.b $09,$89,$49,$c9,$29,$a9,$69,$e9,$19,$99,$59,$d9,$39,$b9,$79,$f9
 dc.b $05,$85,$45,$c5,$25,$a5,$65,$e5,$15,$95,$55,$d5,$35,$b5,$75,$f5
 dc.b $0d,$8d,$4d,$cd,$2d,$ad,$6d,$ed,$1d,$9d,$5d,$dd,$3d,$bd,$7d,$fd
 dc.b $03,$83,$43,$c3,$23,$a3,$63,$e3,$13,$93,$53,$d3,$33,$b3,$73,$f3
 dc.b $0b,$8b,$4b,$cb,$2b,$ab,$6b,$eb,$1b,$9b,$5b,$db,$3b,$bb,$7b,$fb
 dc.b $07,$87,$47,$c7,$27,$a7,$67,$e7,$17,$97,$57,$d7,$37,$b7,$77,$f7
 dc.b $0f,$8f,$4f,$cf,$2f,$af,$6f,$ef,$1f,$9f,$5f,$df,$3f,$bf,$7f,$ff
u8858 movem.l (a7)+,a2-a4
 movem.l (a7)+,d6-d7
 unlk a6
 rts
u8864 link a6,#0
 movem.l d4-d7/a2,-(a7)
 move.w $e(a6),d7
 move.w $c(a6),d6
 movea.l 8(a6),a0
 movea.l a0,a1
 move.w d7,d0
 subq.w #1,d0
 mulu d6,d0
 adda.w d0,a1
 movea.w d6,a2
 adda.w a2,a2
 lsr.w #3,d6
u8888 subq.w #2,d7
 bmi u88ce
 swap d7
 move.w d6,d7
u8892 subq.w #3,d7
 bmi.s u88b2
 movem.l (a0),d0-d5
 move.l (a1)+,(a0)+
 move.l (a1)+,(a0)+
 move.l (a1)+,(a0)+
 move.l (a1)+,(a0)+
 move.l (a1)+,(a0)+
 move.l (a1)+,(a0)+
 movem.l d0-d5,-$18(a1)
 tst.w d7
 bne.s u8892
 bra.s u88c4
u88b2 addq.w #2,d7
u88b4 move.l (a0),d0
 move.l (a1),(a0)+
 move.l d0,(a1)+
 move.l (a0),d0
 move.l (a1),(a0)+
 move.l d0,(a1)+
 dbf d7,u88b4
u88c4 suba.w a2,a1
 swap d7
 tst.w d7
 bne u8888
u88ce movem.l (a7)+,d4-d7/a2
 unlk a6
 rts
u88d6 link a6,#-6
 movem.l d4-d7/a2-a5,-(a7)
 movea.l 8(a6),a0
 movea.l $c(a6),a1
 move.w $1c(a6),d0
 move.w $1a(a6),d1
 move.w $18(a6),d2
 move.w $16(a6),d3
 move.w $14(a6),d4
 cmpa.l #0,a1
 bne.s u8914
 movem.l d0-d4/a0,-(a7)
 move.w #2,-(a7)
 trap #14
 addq.l #2,a7
 movea.l d0,a1
 movem.l (a7)+,d0-d4/a0
u8914 movea.l $10(a6),a2
 lea u8c94(pc),a5
 moveq #$f,d5
 and.w d4,d5
 mulu d2,d3
 adda.l d3,a0
 sub.w d5,d4
 lsr.w #1,d4
 adda.w d4,a0
 moveq #0,d7
 moveq #0,d4
 tst.w -$5a00(a4)
 beq.s u893a
 move.b (a2)+,d4
 move.b (a2)+,d7
 bra.s u893e
u893a move.w (a2)+,d4
 move.w (a2)+,d7
u893e sub.w d4,d7
 addq.w #1,d7
 swap d7
 moveq #0,d3
 tst.w -$5a00(a4)
 beq.s u8952
 move.b (a2)+,d3
 move.b (a2),d7
 bra.s u8956
u8952 move.w (a2)+,d3
 move.w (a2),d7
u8956 sub.w d3,d7
 swap d7
 moveq #$f,d6
 and.w d4,d6
 mulu d1,d3
 adda.l d3,a1
 sub.w d6,d4
 lsr.w #1,d4
 adda.w d4,a1
 moveq #$f,d3
 add.w d7,d3
 add.w d5,d3
 andi.w #$fff0,d3
 lsr.w #1,d3
 move.w d2,d4
 sub.w d3,d4
 movea.w d4,a3
 add.w d6,d7
 move.w d7,-2(a6)
 moveq #$f,d3
 add.w d7,d3
 andi.w #$fff0,d3
 lsr.w #1,d3
 sub.w d3,d1
 movea.w d1,a4
 move.w d5,d1
 neg.w d5
 add.w d6,d5
 bpl.s u899a
 addi.w #$10,d5
u899a move.w d6,d3
 add.w d3,d3
 move.w 0(a5,d3.w),-4(a6)
 move.w d7,d3
 add.w d7,d3
 cmpi.w #$20,d3
 bpl.s u89ca
 move.w 0(a5,d3.w),d3
 not.w d3
 or.w d3,-4(a6)
 cmp.w d5,d6
 bpl.s u89d8
 add.w d7,d1
 sub.w d6,d1
 cmpi.w #$11,d1
 bpl.s u89d8
 subq.w #8,a3
 bra.s u89d8
u89ca andi.w #$1f,d3
 move.w 0(a5,d3.w),d3
 not.w d3
 move.w d3,-6(a6)
u89d8 move.w d5,d3
 add.w d3,d3
 movea.w 0(a5,d3.w),a5
 swap d5
 tst.w d0
 bpl.s u89ec
 lea u8c82(pc),a2
 bra.s u8a56
u89ec add.w d0,d0
 move.w d0,d3
 add.w d0,d0
 add.w d3,d0
 jmp u89f8(pc,d0.w)
u89f8 lea u8b54(pc),a2
 bra.s u8a56
 lea u8b66(pc),a2
 bra.s u8a56
 lea u8b7a(pc),a2
 bra.s u8a56
 lea u8b8e(pc),a2
 bra.s u8a56
 lea u8ba2(pc),a2
 bra.s u8a56
 lea u8bb6(pc),a2
 bra.s u8a56
 lea u8bca(pc),a2
 bra.s u8a56
 lea u8bde(pc),a2
 bra.s u8a56
 lea u8bf2(pc),a2
 bra.s u8a56
 lea u8c06(pc),a2
 bra.s u8a56
 lea u8c18(pc),a2
 bra.s u8a56
 lea u8c2a(pc),a2
 bra.s u8a56
 lea u8c3c(pc),a2
 bra.s u8a56
 lea u8c4e(pc),a2
 bra.s u8a56
 lea u8c60(pc),a2
 bra.s u8a56
 lea u8c72(pc),a2
u8a56 move.w -4(a6),d5
 swap d5
 tst.w d5
 beq.s u8ade
 move.w a5,d4
 cmp.w d5,d6
 bpl.s u8a86
 move.w (a0)+,d1
 ror.w d5,d1
 and.w d4,d1
 swap d1
 move.w (a0)+,d0
 ror.w d5,d0
 and.w d4,d0
 swap d0
 move.w (a0)+,d3
 ror.w d5,d3
 and.w d4,d3
 swap d3
 move.w (a0)+,d2
 ror.w d5,d2
 and.w d4,d2
 swap d2
u8a86 swap d6
 move.w (a0)+,d0
 ror.w d5,d0
 move.w d0,d6
 swap d1
 and.w d4,d1
 not.w d4
 and.w d4,d0
 or.w d1,d0
 move.w d6,d1
 swap d1
 move.w (a0)+,d1
 ror.w d5,d1
 move.w d1,d6
 swap d0
 and.w d4,d1
 not.w d4
 and.w d4,d0
 or.w d0,d1
 move.w d6,d0
 swap d0
 move.w (a0)+,d2
 ror.w d5,d2
 move.w d2,d6
 swap d3
 and.w d4,d3
 not.w d4
 and.w d4,d2
 or.w d3,d2
 move.w d6,d3
 swap d3
 move.w (a0)+,d3
 ror.w d5,d3
 move.w d3,d6
 swap d2
 and.w d4,d3
 not.w d4
 and.w d4,d2
 or.w d2,d3
 move.w d6,d2
 swap d2
 swap d6
 swap d5
 jmp (a2)
u8ade movem.w (a0)+,d0-d3
 swap d5
 jmp (a2)
u8ae6 not.w d4
 and.w d4,d0
 and.w d4,d1
 and.w d4,d2
 and.w d4,d3
 not.w d4
 and.w d4,(a1)
 or.w d0,(a1)+
 and.w d4,(a1)
 or.w d1,(a1)+
 and.w d4,(a1)
 or.w d2,(a1)+
 and.w d4,(a1)
 or.w d3,(a1)+
u8b02 subi.w #$10,d7
 ble.s u8b3e
 cmpi.w #$10,d7
 bmi.s u8b1c
 clr.w d5
 swap d5
u8b12 tst.w d5
 beq.s u8ade
 move.w a5,d4
 bra u8a86
u8b1c move.w -6(a6),d5
 swap d5
 cmp.w d7,d5
 bmi.s u8b12
 swap d0
 swap d1
 swap d2
 swap d3
 move.w d0,d4
 move.w d1,d0
 move.w d4,d1
 move.w d2,d4
 move.w d3,d2
 move.w d4,d3
 swap d5
 jmp (a2)
u8b3e swap d7
 subq.w #1,d7
 bmi u8cb4
 swap d7
 move.w -2(a6),d7
 adda.w a3,a0
 adda.w a4,a1
 bra u8a56
u8b54 move.w d0,d4
 or.w d1,d4
 or.w d2,d4
 or.w d3,d4
 not.w d4
 or.w d5,d4
 bne.s u8ae6
 bra u8c88
u8b66 move.w d1,d4
 or.w d2,d4
 or.w d3,d4
 not.w d4
 and.w d0,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8b7a move.w d0,d4
 or.w d2,d4
 or.w d3,d4
 not.w d4
 and.w d1,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8b8e move.w d2,d4
 or.w d3,d4
 not.w d4
 and.w d0,d4
 and.w d1,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8ba2 move.w d0,d4
 or.w d1,d4
 or.w d3,d4
 not.w d4
 and.w d2,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8bb6 move.w d1,d4
 or.w d3,d4
 not.w d4
 and.w d0,d4
 and.w d2,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8bca move.w d0,d4
 or.w d3,d4
 not.w d4
 and.w d1,d4
 and.w d2,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8bde move.w d3,d4
 not.w d4
 and.w d0,d4
 and.w d1,d4
 and.w d2,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8bf2 move.w d0,d4
 or.w d1,d4
 or.w d2,d4
 not.w d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra u8c88
u8c06 move.w d1,d4
 or.w d2,d4
 not.w d4
 and.w d0,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c18 move.w d0,d4
 or.w d2,d4
 not.w d4
 and.w d1,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c2a move.w d2,d4
 not.w d4
 and.w d0,d4
 and.w d1,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c3c move.w d0,d4
 or.w d1,d4
 not.w d4
 and.w d2,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c4e move.w d1,d4
 not.w d4
 and.w d0,d4
 and.w d2,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c60 move.w d0,d4
 not.w d4
 and.w d1,d4
 and.w d2,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c72 move.w d0,d4
 and.w d1,d4
 and.w d2,d4
 and.w d3,d4
 or.w d5,d4
 bne u8ae6
 bra.s u8c88
u8c82 move.w d5,d4
 bne u8ae6
u8c88 move.w d0,(a1)+
 move.w d1,(a1)+
 move.w d2,(a1)+
 move.w d3,(a1)+
 bra u8b02
u8c94
 dc.w $0000,$8000,$c000,$e000,$f000,$f800,$fc00,$fe00
 dc.w $ff00,$ff80,$ffc0,$ffe0,$fff0,$fff8,$fffc,$fffe
u8cb4 movem.l (a7)+,d4-d7/a2-a5
 unlk a6
 rts
u8cbc link a6,#-2
 movem.l d5-d7/a2-a4,-(a7)
 move.w $22(a6),d0
 cmp.b #$ff,d0
 beq.s u8cd8
 tst.b d0
 bpl.s u8cde
 andi.w #$7f,$22(a6)
u8cd8 lea u8dec(pc),a3
 bra.s u8d4c
u8cde lea u8db0(pc),a3
 move.w d0,d1
 add.w d0,d0
 add.w d1,d0
 add.w d0,d0
 jmp u8cee(pc,d0.w)
u8cee lea u8dec(pc),a1
 bra.s u8d4c
 lea u8dea(pc),a1
 bra.s u8d4c
 lea u8dca(pc),a1
 bra.s u8d4c
 lea u8de8(pc),a1
 bra.s u8d4c
 lea u8dd0(pc),a1
 bra.s u8d4c
 lea u8dd6(pc),a1
 bra.s u8d4c
 lea u8dce(pc),a1
 bra.s u8d4c
 lea u8de6(pc),a1
 bra.s u8d4c
 lea u8dc4(pc),a1
 bra.s u8d4c
 lea u8dde(pc),a1
 bra.s u8d4c
 lea u8dc8(pc),a1
 bra.s u8d4c
 lea u8ddc(pc),a1
 bra.s u8d4c
 lea u8dc2(pc),a1
 bra.s u8d4c
 lea u8dd4(pc),a1
 bra.s u8d4c
 lea u8dc0(pc),a1
 bra.s u8d4c
 lea u8de4(pc),a1
u8d4c movea.l 8(a6),a0
 move.w $1c(a6),d6
 move.w $1e(a6),d7
 move.w d7,d0
 lsl.w #3,d0
 adda.w d0,a0
 swap d7
 movea.l $18(a6),a2
 moveq #0,d3
 moveq #0,d0
 tst.w -$5a00(a4)
 beq.s u8d74
 move.b (a2)+,d3
 move.b (a2)+,d0
 bra.s u8d78
u8d74 move.w (a2)+,d3
 move.w (a2)+,d0
u8d78 sub.w d3,d0
 lsr.w #4,d0
 addq.w #1,d0
 move.w d0,-2(a6)
 moveq #0,d3
 moveq #0,d5
 tst.w -$5a00(a4)
 beq.s u8d92
 move.b (a2)+,d3
 move.b (a2),d5
 bra.s u8d96
u8d92 move.w (a2)+,d3
 move.w (a2),d5
u8d96 sub.w d3,d5
 addq.w #1,d5
 mulu d0,d5
 subq.w #1,d5
 move.w d5,d7
 movea.l a1,a4
 movea.l $10(a6),a1
 movea.l $14(a6),a2
u8daa movem.w (a0)+,d0-d3
 jmp (a3)
u8db0 move.w (a1),d5
 addq.l #8,a1
 and.w d5,d0
 and.w d5,d1
 and.w d5,d2
 and.w d5,d3
 not.w d5
 jmp (a4)
u8dc0 or.w d5,d1
u8dc2 or.w d5,d2
u8dc4 or.w d5,d3
 bra.s u8dec
u8dc8 or.w d5,d3
u8dca or.w d5,d1
 bra.s u8dec
u8dce or.w d5,d1
u8dd0 or.w d5,d2
 bra.s u8dec
u8dd4 or.w d5,d3
u8dd6 or.w d5,d2
 or.w d5,d0
 bra.s u8dec
u8ddc or.w d5,d1
u8dde or.w d5,d3
 or.w d5,d0
 bra.s u8dec
u8de4 or.w d5,d3
u8de6 or.w d5,d2
u8de8 or.w d5,d1
u8dea or.w d5,d0
u8dec movem.w d0-d3,(a2)
 addq.l #8,a2
 swap d7
 addq.w #1,d7
 cmp.w d6,d7
 beq.s u8e02
u8dfa swap d7
 dbf d7,u8daa
 bra.s u8e0c
u8e02 move.w #0,d7
 movea.l 8(a6),a0
 bra.s u8dfa
u8e0c movem.l (a7)+,d5-d7/a2-a4
 move.w $22(a6),-(a7)
 move.w $20(a6),-(a7)
 move.w -2(a6),d0
 asl.w #3,d0
 move.w d0,-(a7)
 move.w $26(a6),-(a7)
 move.w $24(a6),-(a7)
 move.l $18(a6),-(a7)
 move.l $c(a6),-(a7)
 move.l $14(a6),-(a7)
 jsr u88d6(pc)
 adda.w #$16,a7
 unlk a6
 rts
u8e40 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 moveq #0,d0
 moveq #0,d1
 lsr.w #1,d7
 bcc.s u8e60
 not.w d0
 swap d0
u8e60 lsr.w #1,d7
 bcc.s u8e66
 not.w d0
u8e66 lsr.w #1,d7
 bcc.s u8e6e
 not.w d1
 swap d1
u8e6e lsr.w #1,d7
 bcc.s u8e74
 not.w d1
u8e74 move.l d0,(a3)+
 move.l d1,(a3)+
 subq.w #1,d6
 bne.s u8e74
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
u8e84 link a6,#0
 movem.l d4-d7,-(a7)
 movea.l $c(a6),a0
 tst.w -$5a00(a4)
 beq.s u8ea8
 moveq #0,d0
 moveq #0,d1
 moveq #0,d2
 moveq #0,d3
 move.b (a0)+,d0
 move.b (a0)+,d1
 move.b (a0)+,d2
 move.b (a0),d3
 bra.s u8eb0
u8ea8 move.w (a0)+,d0
 move.w (a0)+,d1
 move.w (a0)+,d2
 move.w (a0),d3
u8eb0 swap d0
 move.w d2,d0
 swap d0
 movea.l 8(a6),a1
 sub.w d2,d3
 swap d3
 mulu $12(a6),d2
 adda.w d2,a1
 lea u9056(pc),a0
 moveq #$f,d6
 and.w d0,d6
 add.w d6,d6
 move.w 0(a0,d6.w),d6
 lsr.w #4,d0
 moveq #$f,d4
 and.w d1,d4
 addq.w #1,d4
 add.w d4,d4
 move.w 0(a0,d4.w),d4
 not.w d4
 lsr.w #4,d1
 move.w d0,d2
 lsl.w #3,d2
 adda.w d2,a1
 sub.w d0,d1
 move.w d1,d3
 bne.s u8ef2
 or.w d4,d6
u8ef2 subq.w #1,d3
 swap d3
 addq.w #1,d1
 lsl.w #3,d1
 move.w $12(a6),d7
 sub.w d1,d7
 move.w d4,d5
 not.w d5
 move.w d6,d1
 not.w d1
 swap d7
 clr.w d7
 btst #7,$10(a6)		; incorrect : btst #$f,$10(a6)
 beq.s u8f22
 swap d0
 move.w #$5555,d7
 btst #0,d0
 bne.s u8f22
 add.w d7,d7
u8f22 moveq #$f,d0
 and.w $10(a6),d0
 add.w d0,d0
 move.w d0,d2
 add.w d0,d0
 add.w d2,d0
 jmp u8f34(pc,d0.w)
u8f34 lea u901c(pc),a0
 bra.s u8f92
 lea u901a(pc),a0
 bra.s u8f92
 lea u9026(pc),a0
 bra.s u8f92
 lea u9016(pc),a0
 bra.s u8f92
 lea u903c(pc),a0
 bra.s u8f92
 lea u904e(pc),a0
 bra.s u8f92
 lea u9022(pc),a0
 bra.s u8f92
 lea u9012(pc),a0
 bra.s u8f92
 lea u9032(pc),a0
 bra.s u8f92
 lea u9030(pc),a0
 bra.s u8f92
 lea u9044(pc),a0
 bra.s u8f92
 lea u9042(pc),a0
 bra.s u8f92
 lea u9038(pc),a0
 bra.s u8f92
 lea u902c(pc),a0
 bra.s u8f92
 lea u901e(pc),a0
 bra.s u8f92
 lea u900e(pc),a0
u8f92 swap d3
 move.w d3,d2
 swap d3
 move.w d6,d0
 or.w d7,d0
 and.w d0,(a1)
 and.w d0,2(a1)
 and.w d0,4(a1)
 and.w d0,6(a1)
 not.w d7
 move.w d1,d0
 and.w d7,d0
 not.w d7
 jsr (a0)
 addq.l #8,a1
 tst.w d2
 bmi.s u8ff8
 dbf d2,u8fc0
 bra.s u8fda
u8fc0 move.w d7,d0
 not.w d0
u8fc4 and.w d7,(a1)
 and.w d7,2(a1)
 and.w d7,4(a1)
 and.w d7,6(a1)
 jsr (a0)
 addq.l #8,a1
 dbf d2,u8fc4
u8fda move.w d4,d0
 or.w d7,d0
 and.w d0,(a1)
 and.w d0,2(a1)
 and.w d0,4(a1)
 and.w d0,6(a1)
 not.w d7
 move.w d5,d0
 and.w d7,d0
 not.w d7
 jsr (a0)
 addq.l #8,a1
u8ff8 swap d7
 adda.w d7,a1
 swap d7
 tst.w d7
 beq.s u9004
 not.w d7
u9004 dbf d3,u8f92
 movem.l (a7)+,d4-d7
 bra.s u9078
u900e or.w d0,6(a1)
u9012 or.w d0,4(a1)
u9016 or.w d0,2(a1)
u901a or.w d0,(a1)
u901c rts
u901e or.w d0,6(a1)
u9022 or.w d0,4(a1)
u9026 or.w d0,2(a1)
 rts
u902c or.w d0,4(a1)
u9030 or.w d0,(a1)
u9032 or.w d0,6(a1)
 rts
u9038 or.w d0,6(a1)
u903c or.w d0,4(a1)
 rts
u9042 or.w d0,(a1)
u9044 or.w d0,6(a1)
 or.w d0,2(a1)
 rts
u904e or.w d0,4(a1)
 or.w d0,(a1)
 rts
u9056
 dc.w $0000,$8000,$c000,$e000,$f000,$f800,$fc00,$fe00
 dc.w $ff00,$ff80,$ffc0,$ffe0,$fff0,$fff8,$fffc,$fffe
 dc.w $ffff
u9078 unlk a6
 rts
u907c link a6,#0
 move.w #$a0,-(a7)
 move.w $c(a6),d0
 or.w #$8000,d0
 move.w d0,-(a7)
 move.l 8(a6),-(a7)
 move.l -$2ece(a4),-(a7)
 jsr u8e84(pc)
 adda.w #$c,a7
 unlk a6
 rts
u90a2 link a6,#0
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
u90ae jsr $90(a5)
 and.l #$ffff,d0
 divu $1e(a6),d0
 swap d0
 asl.l #2,d0
 movea.l $1a(a6),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.w $3c(a2),d0
 move.w $3c(a2),d0
 bne.s u90ae
 move.w #1,$3c(a2)
 move.w #$2a,-(a7)
 move.l a2,-(a7)
 pea u9134(pc)
 jsr 6(a5)
 adda.w #$a,a7
u90ea cmpi.w #$4ef9,(a3)
 bne.s u90f6
 movea.l 2(a3),a3
 bra.s u90ea
u90f6 move.w #6,-(a7)
 lea $3e(a2),a0
 move.l a0,-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.l a3,$2a(a2)
 move.l $c(a6),$2e(a2)
 move.w $10(a6),$32(a2)
 move.l $12(a6),$34(a2)
 move.l $16(a6),$38(a2)
 move.w #$4ef9,(a3)+
 move.l a2,(a3)
 movem.l (a7)+,a2-a3
 unlk a6
 rts
u9134 lea u9170(pc),a0
 clr.w (a0)+
 movea.l u915c+2(pc),a1
 move.l (a0)+,(a1)+
 move.w (a0),(a1)
 movea.l u9162(pc),a0
 move.w u9166(pc),-(a7)
 jsr (a0)
 movea.l d0,a0
 move.l u916c(pc),-(a7)
 move.l u9168(pc),-(a7)
 jsr (a0)
 lea $a(a7),a7
u915c jmp 0
u9162 ds.l 1
u9166 ds.w 1
u9168 ds.l 1
u916c ds.l 1
u9170
 ds.w 1
 ds.l 1
u9178 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.l a3,d6
 movea.l d6,a0
 clr.w d6
 move.b 4(a0),d6
 move.w $a(a6),d0
 muls #$10,d0
 movea.l -$28ca(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w 8(a2),d0
 and.w #$7c0,d0
 lsr.w #6,d0
 move.w $a(a6),d1
 asl.l #2,d1
 movea.l -$28d2(a4),a0
 adda.w d1,a0
 asl.l #2,d0
 movea.l (a0),a0
 adda.w d0,a0
 move.l (a0),d0
 move.w 8(a2),d1
 and.w #$f800,d1
 lsr.w #3,d1
 lsr.w #8,d1
 and.l #$ffff,d1
 add.l d1,d0
 addq.l #1,d0
 movea.l d0,a3
 move.w $c(a2),d7
 and.w #$f0,d7
 lsr.w #4,d7
 bra.s u91fa
u91ea clr.w d0
 move.b (a3)+,d0
 cmp.w d6,d0
 bne.s u91f8
 move.w #1,d0
 bra.s u9202
u91f8 subq.w #1,d7
u91fa tst.w d7
 bgt.s u91ea
 move.w #0,d0
u9202 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
u920a link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 cmpi.w #$ffff,d7
 bne.s u9224
 move.w #0,d0
 bra u9324
u9224 move.w d7,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmp.w #5,d0
 beq.s u9240
 bra.s u925e
u9240 move.l a3,d6
 movea.l d6,a0
 move.w 2(a0),d6
 and.w #$7f,d6
 muls #6,d6
 lea -$21d2(a4),a0
 adda.w d6,a0
 clr.w d6
 move.b (a0),d6
 bra u9322
u925e cmp.w #6,d0
 beq.s u9266
 bra.s u9282
u9266 move.l a3,d6
 movea.l d6,a0
 move.w 2(a0),d6
 and.w #$7f,d6
 asl.l #2,d6
 lea -$22ba(a4),a0
 adda.w d6,a0
 clr.w d6
 move.b (a0),d6
 bra u9322
u9282 cmp.w #$a,d0
 beq.s u928a
 bra.s u92bc
u928a move.w 2(a3),d6
 and.w #$7f,d6
 lea -$22f2(a4),a0
 adda.w d6,a0
 clr.w d6
 move.b (a0),d6
 move.w 2(a3),d0
 and.w #$7f,d0
 cmpi.w #1,d0
 bne.s u92ba
 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 asl.w #1,d0
 add.w d0,d6
u92ba bra.s u9322
u92bc cmp.w #9,d0
 beq.s u92c4
 bra.s u92ee
u92c4 move.w #$32,d6
 move.l a3,d7
 movea.l d7,a0
 move.w 2(a0),d7
 bra.s u92e6
u92d2 move.w d7,-(a7)
 jsr u920a(pc)
 addq.l #2,a7
 add.w d0,d6
 move.w d7,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d7
u92e6 cmpi.w #$fffe,d7
 bne.s u92d2
 bra.s u9322
u92ee cmp.w #8,d0
 beq.s u92f6
 bra.s u9316
u92f6 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f00,d0
 lsr.w #8,d0
 cmpi.w #$14,d0
 bne.s u9310
 move.w #1,d6
 bra.s u9314
u9310 move.w #3,d6
u9314 bra.s u9322
u9316 cmp.w #7,d0
 beq.s u931e
 bra.s u9322
u931e move.w #1,d6
u9322 move.w d6,d0
u9324 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
u932c link a6,#0
 move.l a3,-(a7)
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w 8(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmp.w #7,d0
 beq.s u9352
 bra.s u935a
u9352 move.w #0,d0
 bra u93f2
u935a cmp.w #9,d0
 beq.s u9362
 bra.s u9378
u9362 move.w #1,d0
 move.l a3,d1
 movea.l d1,a0
 move.w 4(a0),d1
 and.w #6,d1
 lsr.w #1,d1
 add.w d1,d0
 bra.s u93f2
u9378 cmp.w #$a,d0
 beq.s u9380
 bra.s u9394
u9380 move.w #$7f,d0
 move.l a3,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$7f,d1
 add.w d1,d0
 bra.s u93f2
u9394 cmp.w #5,d0
 beq.s u939c
 bra.s u93b0
u939c move.w #$17,d0
 move.l a3,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$7f,d1
 add.w d1,d0
 bra.s u93f2
u93b0 cmp.w #6,d0
 beq.s u93b8
 bra.s u93cc
u93b8 move.w #$45,d0
 move.l a3,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$7f,d1
 add.w d1,d0
 bra.s u93f2
u93cc cmp.w #8,d0
 beq.s u93d4
 bra.s u93f0
u93d4 move.w #2,d0
 move.l a3,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$7f00,d1
 lsr.w #8,d1
 add.w d1,d0
 bra.s u93f2
u93ea move.w #$ffff,d0
 bra.s u93f2
u93f0 bra.s u93ea
u93f2 movea.l (a7)+,a3
 unlk a6
 rts
u93f8 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #$f,d0
 bne.s u9454
 cmpi.w #$ff80,d7
 bne.s u9422
 move.w #$fff5,d0
 bra.s u948c
u9422 cmpi.w #$ff81,d7
 bne.s u942e
 move.w #$fff3,d0
 bra.s u948c
u942e cmpi.w #$ff82,d7
 bne.s u943a
 move.w #$fffc,d0
 bra.s u948c
u943a cmpi.w #$ff86,d7
 beq.s u9446
 cmpi.w #$ff87,d7
 bne.s u944c
u9446 move.w #$fff2,d0
 bra.s u948c
u944c move.w #$fff4,d0
 bra.s u948c
 bra.s u9476
u9454 cmpi.w #5,d6
 bne.s u9476
 move.w d7,-(a7)
 jsr u99f6(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w 4(a3),d5
 lsr.w #8,d5
 and.w #$1f,d5
 beq.s u9476
 move.w d5,d0
 neg.w d0
 bra.s u948c
u9476 move.w d7,-(a7)
 jsr u932c(pc)
 addq.l #2,a7
 muls #6,d0
 lea -$20bc(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
u948c movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
u9494 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w d7
 move.b 1(a3),d7
 move.w $c(a6),d0
 beq.s u94c8
 clr.w d0
 move.b 2(a3),d0
 and.w #7,d0
 addq.w #4,d0
 move.w d0,-(a7)
 move.w #3,-(a7)
 move.w d7,-(a7)
 jsr $198(a5)
 addq.l #6,a7
 move.w d0,d7
u94c8 move.w d7,d0
 movem.l (a7)+,d7/a3
 unlk a6
 rts
u94d2 link a6,#-4
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 clr.w d0
 move.b 4(a0),d0
 muls #$1a,d0
 lea -$25be(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 unlk a6
 rts
u94fe link a6,#0
 move.w d7,-(a7)
 movea.l 8(a6),a0
 clr.w d7
 move.b 5(a0),d7
 move.w $c(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u952c
 clr.w d0
 move.b d7,d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 move.b 3(a0),d7
u952c clr.w d0
 move.b d7,d0
 move.w (a7)+,d7
 unlk a6
 rts
u9536 link a6,#0
 move.w $e(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u9564
 move.w $c(a6),d0
 movea.l 8(a6),a0
 clr.w d1
 move.b 5(a0),d1
 muls #$10,d1
 movea.l -$32d2(a4),a0
 adda.w d1,a0
 move.b d0,3(a0)
 bra.s u9570
u9564 move.w $c(a6),d0
 movea.l 8(a6),a0
 move.b d0,5(a0)
u9570 unlk a6
 rts
u9574 link a6,#0
 move.w $c(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u95a0
 movea.l 8(a6),a0
 clr.w d0
 move.b 5(a0),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b 2(a0),d0
 bra.s u95b8
u95a0 movea.l 8(a6),a0
 move.w $e(a0),d0
 and.w #$300,d0
 lsr.w #8,d0
 lea -$2864(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
u95b8 unlk a6
 rts
u95bc link a6,#0
 move.w $e(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u95ea
 move.w $c(a6),d0
 movea.l 8(a6),a0
 clr.w d1
 move.b 5(a0),d1
 muls #$10,d1
 movea.l -$32d2(a4),a0
 adda.w d1,a0
 move.b d0,2(a0)
 bra.s u9608
u95ea move.w $c(a6),d0
 and.w #3,d0
 movea.l 8(a6),a0
 and.w #3,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$fcff,$e(a0)
 or.w d3,$e(a0)
u9608 unlk a6
 rts
u960c link a6,#0
 move.w d7,-(a7)
 tst.w 8(a6)
 blt.s u963c
 clr.w d7
 bra.s u9636
u961c move.w d7,d0
 asl.l #1,d0
 lea -$28aa(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 cmp.w 8(a6),d0
 bne.s u9634
 move.w #1,d0
 bra.s u9640
u9634 addq.w #1,d7
u9636 cmpi.w #3,d7
 blt.s u961c
u963c move.w #0,d0
u9640 move.w (a7)+,d7
 unlk a6
 rts
u9646 link a6,#0
 movem.l a2-a3,-(a7)
 movea.l $e(a6),a3
 movea.l $12(a6),a2
 lea -$1c5e(a4),a0
 lea -$1c66(a4),a1
 move.w 8(a6),d0
 add.w d0,d0
 move.w $a(a6),d1
 move.w d1,d2
 muls 0(a0,d0.w),d1
 add.w d1,(a3)
 muls 0(a1,d0.w),d2
 add.w d2,(a2)
 addq.w #2,d0
 andi.w #7,d0
 move.w $c(a6),d1
 move.w d1,d2
 muls 0(a0,d0.w),d1
 add.w d1,(a3)
 muls 0(a1,d0.w),d2
 add.w d2,(a2)
 movem.l (a7)+,a2-a3
 unlk a6
 rts
u9696 link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 tst.w d6
 sge d4
 tst.b d4
 beq.s u96b8
 move.w d6,d4
 cmp.w -$28be(a4),d4
 slt d4
 tst.b d4
u96b8 and.w #1,d4
 tst.w d7
 sge d0
 tst.b d0
 beq.s u96ce
 move.w d7,d0
 cmp.w -$28bc(a4),d0
 slt d0
 tst.b d0
u96ce and.w #1,d0
 move.w d0,d5
 beq.s u96f0
 move.w d4,d0
 beq.s u96f0
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 bra u97bc
u96f0 move.w d4,d0
 beq.s u9754
 cmpi.w #$ffff,d7
 bne.s u9710
 movea.l -$28b8(a4),a0
 movea.l (a0),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 asr.w #5,d0
 move.w d0,d4
 cmpi.w #1,d0
 beq.s u9716
u9710 cmpi.w #2,d4
 bne.s u971e
u9716 move.w #4,d0
 bra u97bc
u971e move.w d7,d0
 cmp.w -$28bc(a4),d0
 bne.s u9746
 move.w -$28bc(a4),d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l -4(a0),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 asr.w #5,d0
 move.w d0,d4
 cmpi.w #1,d0
 beq.s u974c
u9746 cmpi.w #2,d4
 bne.s u9752
u974c move.w #1,d0
 bra.s u97bc
u9752 bra.s u97b8
u9754 move.w d5,d0
 beq.s u97b8
 cmpi.w #$ffff,d6
 bne.s u9778
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 clr.w d0
 move.b (a0),d0
 asr.w #5,d0
 move.w d0,d5
 cmpi.w #1,d0
 beq.s u977e
u9778 cmpi.w #2,d5
 bne.s u9784
u977e move.w #2,d0
 bra.s u97bc
u9784 move.w d6,d0
 cmp.w -$28be(a4),d0
 bne.s u97ac
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w -$28be(a4),a0
 clr.w d0
 move.b -1(a0),d0
 asr.w #5,d0
 move.w d0,d5
 cmpi.w #1,d0
 beq.s u97b2
u97ac cmpi.w #2,d5
 bne.s u97b8
u97b2 move.w #8,d0
 bra.s u97bc
u97b8 move.w #0,d0
u97bc movem.l (a7)+,d4-d7
 unlk a6
 rts
u97c4 link a6,#0
 pea $10(a6)
 pea $e(a6)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u9646(pc)
 adda.w #$e,a7
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr u9696(pc)
 addq.l #4,a7
 and.w #$ff,d0
 unlk a6
 rts
u97fa link a6,#0
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u97c4(pc)
 adda.w #$a,a7
 and.w #$ff,d0
 asr.w #5,d0
 unlk a6
 rts
u9824 link a6,#-$c
 movem.l d4-d7/a3,-(a7)
 cmpi.w #$ff,-$2dbc(a4)
 bne.s u983c
 move.w #$ffff,d0
 bra u9920
u983c move.l -$28ca(a4),d0
 move.w 8(a6),d1
 muls #$10,d1
 add.l d1,d0
 movea.l d0,a3
 move.b 6(a3),d7
 movea.l $c(a6),a0
 and.w #$ff,d7
 add.w (a0),d7
 move.b 7(a3),d6
 movea.l $10(a6),a0
 and.w #$ff,d6
 add.w (a0),d6
 move.w 8(a3),d5
 and.w #$3f,d5
 add.w $a(a6),d5
 movea.l -$28ca(a4),a3
 clr.w -2(a6)
 bra u9908
u9880 move.w 8(a3),d0
 and.w #$3f,d0
 move.w d5,d1
 cmp.w d1,d0
 bne.s u9900
 move.w d7,d0
 clr.w d1
 move.b 6(a3),d1
 move.w d1,d4
 cmp.w d1,d0
 blt.s u9900
 move.w d4,d0
 move.w 8(a3),d1
 and.w #$7c0,d1
 lsr.w #6,d1
 add.w d1,d0
 move.w d0,-$c(a6)
 move.w d7,d0
 cmp.w -$c(a6),d0
 bhi.s u9900
 move.w d6,d0
 clr.w d1
 move.b 7(a3),d1
 move.w d1,d4
 cmp.w d1,d0
 blt.s u9900
 move.w d4,d0
 move.w 8(a3),d1
 and.w #$f800,d1
 lsr.w #3,d1
 lsr.w #8,d1
 add.w d1,d0
 move.w d0,-$c(a6)
 move.w d6,d0
 cmp.w -$c(a6),d0
 bhi.s u9900
 move.w d6,d0
 sub.w d4,d0
 movea.l $10(a6),a0
 move.w d0,(a0)
 move.w d7,d0
 clr.w d3
 move.b 6(a3),d3
 sub.w d3,d0
 movea.l $c(a6),a0
 move.w d0,(a0)
 move.w -2(a6),d0
 bra.s u9920
u9900 adda.w #$10,a3
 addq.w #1,-2(a6)
u9908 move.w -2(a6),d0
 movea.l -$28ce(a4),a0
 clr.w d1
 move.b 4(a0),d1
 cmp.w d1,d0
 blt u9880
 move.w #$ffff,d0
u9920 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
u9928 link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u9696(pc)
 addq.l #4,a7
 and.w #$ff,d0
 and.w #8,d0
 seq d0
 and.w #1,d0
 move.w d0,d4
 beq.s u9966
 move.w d7,d0
 add.w -$1c5c(a4),d0
 move.w d0,d7
 move.w d6,d0
 add.w -$1c64(a4),d0
 move.w d0,d6
 bra.s u9976
u9966 move.w d7,d0
 add.w -$1c5e(a4),d0
 move.w d0,d7
 move.w d6,d0
 add.w -$1c66(a4),d0
 move.w d0,d6
u9976 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u9696(pc)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 move.w d0,d5
 tst.w d0
 seq d0
 tst.b d0
 bne.s u9998
 cmpi.w #3,d5
 seq d0
 tst.b d0
u9998 and.w #1,d0
 asl.w #1,d0
 add.w d4,d0
 movem.l (a7)+,d4-d7
 unlk a6
 rts
u99a8 link a6,#0
 move.w 8(a6),d3
 move.w d3,d2
 andi.w #$3ff,d3
 lsr.w #2,d2
 lsr.w #8,d2
 andi.w #$f,d2
 lea -$1c76(a4),a0
 moveq #0,d0
 move.b 0(a0,d2.w),d0
 mulu d3,d0
 lea -$2920(a4),a0
 asl.w #2,d2
 add.l 0(a0,d2.w),d0
 unlk a6
 rts
u99d8 link a6,#0
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 unlk a6
 rts
u99f6 link a6,#-4
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #$7f,d0
 muls #6,d0
 lea -$21d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 unlk a6
 rts
u9a26 link a6,#-4
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w (a0),d0
 unlk a6
 rts
u9a42 link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
 tst.w d7
 blt.s u9a84
 move.w d7,d0
 cmp.w -$28bc(a4),d0
 bge.s u9a84
 tst.w d6
 blt.s u9a84
 move.w d6,d0
 cmp.w -$28be(a4),d0
 bge.s u9a84
 movea.l a3,a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 and.w #$10,d0
 bne.s u9a8a
u9a84 move.w #$ffff,d0
 bra.s u9ab0
u9a8a clr.w d4
 move.w d7,d5
 asl.l #1,d5
 movea.l -$28b4(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 bra.s u9aa6
u9a9a clr.w d0
 move.b (a3)+,d0
 and.w #$10,d0
 beq.s u9aa6
 addq.w #1,d5
u9aa6 move.w d4,d0
 addq.w #1,d4
 cmp.w d6,d0
 bne.s u9a9a
 move.w d5,d0
u9ab0 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
u9ab8 link a6,#-2
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u9a42(pc)
 addq.l #4,a7
 move.w d0,-2(a6)
 cmpi.w #$ffff,d0
 bne.s u9ada
 move.w #$fffe,d0
 bra.s u9ae8
u9ada move.w -2(a6),d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 move.w (a0),d0
u9ae8 unlk a6
 rts
u9aec link a6,#0
 move.w d7,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,d7
 bra.s u9b0e
u9b04 move.w d7,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d7
u9b0e cmpi.w #$fffe,d7
 beq.s u9b24
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #4,d0
 bcs.s u9b04
u9b24 move.w d7,d0
 move.w (a7)+,d7
 unlk a6
 rts
u9b2c link a6,#-6
 movem.l d4-d7/a2-a3,-(a7)
 move.w $c(a6),d7
 move.w $e(a6),d6
 cmpi.w #$fffe,8(a6)
 bne.s u9b48
 bra u9c6a
u9b48 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w #$fffe,(a0)
 tst.w d7
 blt u9c30
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w d6,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b (a2),d0
 and.w #$10,d0
 beq.s u9b92
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,$a(a6)
 bra u9c30
u9b92 ori.b #$10,(a2)
 move.l -$28b4(a4),d0
 move.w d7,d1
 ext.l d1
 asl.l #1,d1
 add.l d1,d0
 addq.l #2,d0
 movea.l d0,a3
 move.w -$28dc(a4),d4
 move.w -$28ba(a4),d1
 asl.l #1,d1
 movea.l -$28da(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 add.w d7,d1
 sub.w d1,d4
 subq.w #1,d4
 bra.s u9bc2
u9bc0 addq.w #1,(a3)+
u9bc2 move.w d4,d0
 subq.w #1,d4
 tst.w d0
 bne.s u9bc0
 clr.w -6(a6)
 move.w d6,d0
 ext.l d0
 suba.l d0,a2
 move.w d7,d4
 asl.l #1,d4
 movea.l -$28b4(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 bra.s u9bee
u9be2 clr.w d0
 move.b (a2)+,d0
 and.w #$10,d0
 beq.s u9bee
 addq.w #1,d4
u9bee move.w -6(a6),d0
 addq.w #1,-6(a6)
 move.w d6,d1
 cmp.w d1,d0
 bne.s u9be2
 move.w d4,d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 movea.l -$28ce(a4),a0
 move.w $a(a0),d0
 sub.w d4,d0
 subq.w #1,d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a3,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w 8(a6),(a3)
 bra.s u9c6a
u9c30 move.w $a(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d5
 bra.s u9c4e
u9c3e move.w d5,d0
 move.w d0,$a(a6)
 move.w d0,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d5
u9c4e cmpi.w #$fffe,d5
 bne.s u9c3e
 move.w $a(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 8(a6),(a0)
u9c6a movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u9c72 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 cmpi.w #$fffe,d7
 bne.s u9c88
 bra u9dba
u9c88 and.w #$3fff,d7
 tst.w $c(a6)
 blt u9d60
 move.w d7,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr u9a42(pc)
 addq.l #4,a7
 move.w d0,d6
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 cmpi.w #$fffe,(a3)
 bne u9d4e
 move.w (a2),d0
 and.w #$3fff,d0
 cmp.w d7,d0
 bne u9d4e
 move.w $c(a6),d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w $e(a6),a0
 andi.b #$ef,(a0)
 movea.l -$28ce(a4),a0
 move.w $a(a0),d0
 subq.w #1,d0
 move.w d0,d5
 sub.w d6,d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a2,-(a7)
 move.l a2,d0
 addq.l #2,d0
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w d5,d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 move.l -$28b4(a4),d0
 move.w $c(a6),d1
 ext.l d1
 asl.l #1,d1
 add.l d1,d0
 addq.l #2,d0
 movea.l d0,a2
 move.w -$28dc(a4),d5
 move.w -$28ba(a4),d1
 asl.l #1,d1
 movea.l -$28da(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 add.w $c(a6),d1
 sub.w d1,d5
 subq.w #1,d5
 bra.s u9d44
u9d42 subq.w #1,(a2)+
u9d44 move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne.s u9d42
 bra.s u9db6
u9d4e move.w (a2),d0
 and.w #$3fff,d0
 cmp.w d7,d0
 bne.s u9d5c
 move.w (a3),(a2)
 bra.s u9db6
u9d5c move.w (a2),$a(a6)
u9d60 move.w $a(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d4
 bra.s u9d8c
u9d6e cmpi.w #$fffe,d4
 beq.s u9d7a
 cmpi.w #$ffff,d4
 bne.s u9d7c
u9d7a bra.s u9db6
u9d7c move.w d4,d0
 move.w d0,$a(a6)
 move.w d0,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d4
u9d8c move.w d4,d0
 and.w #$3fff,d0
 cmp.w d7,d0
 bne.s u9d6e
 move.w $a(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w d4,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,(a3)
 move.w d7,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
u9db6 move.w #$fffe,(a3)
u9dba movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
u9dc2 link a6,#-$e
 movem.l d4-d7/a2-a3,-(a7)
 cmpi.w #$f,8(a6)
 bne.s u9dda
 move.w #$ffff,d0
 bra ua0cc
u9dda move.w -$28ba(a4),-8(a6)
 move.w 8(a6),d0
 lea -$299e(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d4
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u9e0c
 addq.w #1,d4
 move.w d4,d0
 movea.l -$28ce(a4),a0
 clr.w d1
 move.b 4(a0),d1
 cmp.w d1,d0
 bcs.s u9e0c
 clr.w d4
u9e0c move.w d4,-6(a6)
u9e10 move.w d4,d0
 muls #$10,d0
 movea.l -$28ca(a4),a0
 adda.w d0,a0
 move.w 8(a0),d0
 and.w #$7c0,d0
 lsr.w #6,d0
 move.w d0,-$a(a6)
 move.w d4,d0
 muls #$10,d0
 movea.l -$28ca(a4),a0
 adda.w d0,a0
 move.w 8(a0),d0
 and.w #$f800,d0
 lsr.w #3,d0
 lsr.w #8,d0
 move.w d0,-$c(a6)
 move.w d4,d0
 asl.l #2,d0
 movea.l -$28d2(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 movea.l (a0),a3
 move.w d4,d0
 asl.l #1,d0
 movea.l -$28da(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 asl.l #1,d0
 movea.l -$28d6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d7
 bra ua066
u9e7c clr.w d6
 bra ua05a
u9e82 clr.w d0
 move.b (a3)+,d0
 and.w #$10,d0
 beq ua058
 move.w (a2)+,d5
 move.w d4,d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s u9eba
 move.w d7,d0
 sub.w -$2db6(a4),d0
 addq.w #5,d0
 cmpi.w #$a,d0
 bhi.s u9eba
 move.w d6,d0
 sub.w -$2db8(a4),d0
 addq.w #5,d0
 cmpi.w #$a,d0
 bhi.s u9eba
 bra ua058
u9eba move.w d5,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$e(a6)
 cmpi.w #3,d0
 bne.s u9ef2
 move.w d5,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f,d0
 beq.s u9eee
 bra ua058
u9eee bra ua046
u9ef2 move.w -$e(a6),d0
 cmp.w 8(a6),d0
 bne ua046
 move.w d5,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 move.w 8(a6),d0
 cmp.w #4,d0
 beq.s u9f16
 bra.s u9f30
u9f16 move.l -4(a6),d0
 movea.l d0,a0
 move.w $e(a0),d0
 and.w #$400,d0
 lsr.w #2,d0
 lsr.w #8,d0
 beq.s u9f2e
 bra ua046
u9f2e bra.s u9f38
u9f30 cmp.w #$e,d0
 beq.s u9f38
 bra.s u9f8e
u9f38 move.w d4,-(a7)
 jsr ua9f8(pc)
 addq.l #2,a7
 cmpi.w #4,8(a6)
 bne.s u9f64
 move.w #$ffff,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr ub5a4(pc)
 addq.l #8,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr ub6d0(pc)
 addq.l #4,a7
 bra.s u9f8a
u9f64 move.w d5,-(a7)
 jsr $38a(a5)
 addq.l #2,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w d5,-(a7)
 jsr u9c72(pc)
 addq.l #8,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.l -(a7)
 move.w d5,-(a7)
 jsr $39c(a5)
 adda.w #$a,a7
u9f8a bra ua024
u9f8e cmp.w #6,d0
 beq.s u9f96
 bra.s u9fae
u9f96 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$80,d0
 lsr.w #7,d0
 beq.s u9fac
 bra ua046
u9fac bra.s ua008
u9fae cmp.w #5,d0
 beq.s u9fb6
 bra.s u9fcc
u9fb6 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$80,d0
 lsr.w #7,d0
 beq.s u9fca
 bra.s ua046
u9fca bra.s ua008
u9fcc cmp.w #$a,d0
 beq.s u9fd4
 bra.s u9fea
u9fd4 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$80,d0
 lsr.w #7,d0
 beq.s u9fe8
 bra.s ua046
u9fe8 bra.s ua008
u9fea cmp.w #8,d0
 beq.s u9ff2
 bra.s ua024
u9ff2 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 beq.s ua008
 bra.s ua046
ua008 move.w d4,-(a7)
 jsr ua9f8(pc)
 addq.l #2,a7
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d5,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
ua024 move.w -8(a6),-(a7)
 jsr ua9f8(pc)
 addq.l #2,a7
 move.w d4,d0
 move.w 8(a6),d1
 lea -$299e(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d5,d0
 and.w #$3fff,d0
 bra ua0cc
ua046 move.w d5,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne u9eba
ua058 addq.w #1,d6
ua05a move.w d6,d0
 cmp.w -$c(a6),d0
 bls u9e82
 addq.w #1,d7
ua066 move.w d7,d0
 cmp.w -$a(a6),d0
 bls u9e7c
 move.w d4,d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 beq.s ua08a
 movea.l -$28ce(a4),a0
 clr.w d0
 move.b 4(a0),d0
 cmp.w #1,d0
 bgt.s ua09e
ua08a move.w d4,d0
 move.w 8(a6),d1
 lea -$299e(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w #$ffff,d0
 bra.s ua0cc
ua09e addq.w #1,d4
 move.w d4,d0
 movea.l -$28ce(a4),a0
 clr.w d1
 move.b 4(a0),d1
 cmp.w d1,d0
 bcs.s ua0b2
 clr.w d4
ua0b2 move.w d4,d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 beq.s ua09e
 move.w d4,d0
 cmp.w -6(a6),d0
 bne.s ua0c8
 move.w -$2dbc(a4),d4
ua0c8 bra u9e10
ua0cc movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ua0d4 link a6,#-2
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d4
 and.w #$7fff,d4
 movea.l -$28ce(a4),a0
 asl.l #1,d4
 lea $c(a0),a0
 adda.w d4,a0
 move.w (a0),d4
 cmpi.w #$800a,d7
 bne.s ua100
 move.w #$a,d7
 bra.s ua108
ua100 cmpi.w #$a,d7
 bne.s ua108
 subq.w #3,d4
ua108 move.w d4,d6
 move.w d7,d5
 lea -$1c76(a4),a0
 adda.w d5,a0
 clr.w d5
 move.b (a0),d5
 asr.w #1,d5
 move.w d7,d0
 asl.l #2,d0
 lea -$2920(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
ua126 cmpi.w #$ffff,(a3)
 bne.s ua13e
 move.w d7,d0
 asl.w #2,d0
 asl.w #8,d0
 move.w d4,d1
 sub.w d6,d1
 or.w d1,d0
 move.w d0,-2(a6)
 bra.s ua174
ua13e subq.w #1,d6
 beq.s ua14c
 move.w d5,d0
 ext.l d0
 asl.l #1,d0
 adda.l d0,a3
 bra.s ua172
ua14c move.w d7,-(a7)
 jsr u9dc2(pc)
 addq.l #2,a7
 move.w d0,-2(a6)
 cmpi.w #$ffff,d0
 bne.s ua164
 move.w #$ffff,d0
 bra.s ua18a
ua164 move.w -2(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 bra.s ua174
ua172 bra.s ua126
ua174 move.w d5,d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #$fffe,(a3)
 move.w -2(a6),d0
ua18a movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
ua192 link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w #5,d5
 cmpi.w #4,d7
 bcs.s ua1b2
 cmpi.w #7,d7
 bhi.s ua1b2
 move.w #4,d7
ua1b2 move.w d7,d0
 cmp.w #$36,d0
 beq.s ua1bc
 bra.s ua1c2
ua1bc move.w #$1e,d6
 bra.s ua230
ua1c2 cmp.w #$80,d0
 beq.s ua1ca
 bra.s ua1d4
ua1ca move.w #$19,d6
 move.w #$a,d5
 bra.s ua230
ua1d4 cmp.w #$33,d0
 beq.s ua1dc
 bra.s ua1e2
ua1dc move.w #$1b,d6
 bra.s ua230
ua1e2 cmp.w #$34,d0
 beq.s ua1ea
 bra.s ua1f0
ua1ea move.w #$1c,d6
 bra.s ua230
ua1f0 cmp.w #$37,d0
 beq.s ua1f8
 bra.s ua1fe
ua1f8 move.w #$1f,d6
 bra.s ua230
ua1fe cmp.w #$38,d0
 beq.s ua206
 bra.s ua20c
ua206 move.w #$20,d6
 bra.s ua230
ua20c cmp.w #$20,d0
 beq.s ua214
 bra.s ua21a
ua214 move.w #8,d6
 bra.s ua230
ua21a cmp.w #4,d0
 beq.s ua222
 bra.s ua22e
ua222 move.w #2,d6
 bra.s ua230
ua228 move.w #$ffff,d0
 bra.s ua298
ua22e bra.s ua228
ua230 move.w d5,-(a7)
 jsr ua0d4(pc)
 addq.l #2,a7
 move.w d0,d4
 cmpi.w #$ffff,d0
 bne.s ua246
 move.w #$ffff,d0
 bra.s ua298
ua246 move.w d4,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w d6,d0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a3)
 or.w d3,2(a3)
 cmpi.w #4,d7
 bne.s ua296
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 beq.s ua296
 move.w #$f,d0
 move.l a3,d1
 movea.l d1,a0
 and.w #$f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$c3ff,2(a0)
 or.w d3,2(a0)
ua296 move.w d4,d0
ua298 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
ua2a0 link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $e(a6),d7
 move.w $c(a6),d0
 and.w #$3ff,d0
 move.l -$2918(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a1
 lea -$c(a6),a0
 moveq #1,d0
 jsr $c6(a5)
 move.w -$a(a6),d0
 and.w #1,d0
 bne.s ua2e2
 move.w d7,d0
 and.w #$8000,d0
 beq ua42c
ua2e2 and.w #$7fff,d7
 cmpi.w #1,d7
 bne.s ua2f8
 move.b #$a,(a3)+
 move.b #$20,-1(a6)
 bra.s ua30a
ua2f8 tst.w d7
 bne.s ua304
 move.b #$80,-1(a6)
 bra.s ua30a
ua304 move.b #$a,-1(a6)
ua30a clr.w d5
 clr.w -4(a6)
 move.l -$286a(a4),d0
 move.w -$a(a6),d1
 and.w #$fff8,d1
 lsr.w #3,d1
 and.l #$ffff,d1
 asl.l #1,d1
 add.l d1,d0
 movea.l d0,a2
ua32a move.w d5,d0
 bne.s ua33c
 move.w (a2)+,d6
 move.w d6,d4
 lsr.w #2,d4
 lsr.w #8,d4
 and.w #$1f,d4
 bra.s ua352
ua33c cmpi.w #1,d5
 bne.s ua34c
 move.w d6,d4
 lsr.w #5,d4
 and.w #$1f,d4
 bra.s ua352
ua34c move.w d6,d4
 and.w #$1f,d4
ua352 addq.w #1,d5
 move.w d5,d0
 and.l #$ffff,d0
 divu #3,d0
 swap d0
 move.w d0,d5
 move.w -4(a6),d0
 beq.s ua3e2
 clr.b (a3)
 cmpi.w #$1e,-4(a6)
 bne.s ua39c
 tst.w d7
 beq.s ua38a
 move.w d4,d0
 asl.l #3,d0
 lea -$2720(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
 bra.s ua39a
ua38a move.w d4,d0
 asl.l #3,d0
 lea -$2860(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
ua39a bra.s ua3c2
ua39c tst.w d7
 beq.s ua3b2
 move.w d4,d0
 asl.l #1,d0
 lea -$2760(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
 bra.s ua3c2
ua3b2 move.w d4,d0
 asl.l #1,d0
 lea -$2760(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
ua3c2 move.l -8(a6),-(a7)
 move.l a3,-(a7)
 jsr $78(a5)
 addq.l #8,a7
 move.l -8(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 ext.l d0
 adda.l d0,a3
 clr.w -4(a6)
 bra.s ua428
ua3e2 cmpi.w #$1c,d4
 bcc.s ua40e
 tst.w d7
 beq.s ua408
 cmpi.w #$1a,d4
 bne.s ua3f8
 move.w #$20,d4
 bra.s ua408
ua3f8 cmpi.w #$1b,d4
 bne.s ua404
 move.w #$2e,d4
 bra.s ua408
ua404 add.w #$41,d4
ua408 move.w d4,d0
 move.b d0,(a3)+
 bra.s ua428
ua40e cmpi.w #$1c,d4
 bne.s ua41a
 move.b -1(a6),(a3)+
 bra.s ua428
ua41a cmpi.w #$1e,d4
 bhi.s ua426
 move.w d4,-4(a6)
 bra.s ua428
ua426 bra.s ua42c
ua428 bra ua32a
ua42c tst.w d7
 bne.s ua436
 move.b #$81,(a3)
 bra.s ua438
ua436 clr.b (a3)
ua438 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ua440 link a6,#0
 move.w 8(a6),d0
 mulu #$7ab9,d0
 lsr.w #1,d0
 move.w $a(a6),d1
 mulu #$b,d1
 add.w d1,d0
 movea.l -$28ce(a4),a0
 add.w (a0),d0
 lsr.w #2,d0
 and.l #$ffff,d0
 divu $c(a6),d0
 swap d0
 unlk a6
 rts
ua470 link a6,#-2
 move.w 8(a6),d0
 beq.s ua4be
 move.w $10(a6),-(a7)
 move.w #$bb8,d0
 move.w -$28ba(a4),d1
 asl.w #6,d1
 add.w d1,d0
 add.w -$28bc(a4),d0
 add.w -$28be(a4),d0
 move.w d0,-(a7)
 move.w #$7d0,d0
 move.w $c(a6),d1
 asl.w #5,d1
 add.w d1,d0
 add.w $e(a6),d0
 move.w d0,-(a7)
 jsr ua440(pc)
 addq.l #6,a7
 move.w d0,-2(a6)
 cmp.w $a(a6),d0
 bge.s ua4be
 move.w -2(a6),d0
 addq.w #1,d0
 bra.s ua4c2
ua4be move.w #0,d0
ua4c2 unlk a6
 rts
ua4c6 link a6,#0
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $12(a6),d7
 move.w $14(a6),d6
 move.w $16(a6),d5
 movea.l -$28b0(a4),a0
 move.w $a(a0),d4
 and.w #$f0,d4
 lsr.w #4,d4
 move.w #$1e,-(a7)
 addq.w #1,d5
 move.w d5,d0
 addq.w #1,d7
 move.w d7,d1
 and.w #3,d1
 addq.w #1,d1
 muls d1,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d4,-(a7)
 move.w $c(a6),-(a7)
 jsr ua470(pc)
 adda.w #$a,a7
 move.w d0,4(a3)
 move.w #$1e,-(a7)
 move.w d5,d0
 addq.w #1,d7
 move.w d7,d1
 and.w #3,d1
 addq.w #1,d1
 muls d1,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d4,-(a7)
 move.w $e(a6),-(a7)
 jsr ua470(pc)
 adda.w #$a,a7
 move.w d0,6(a3)
 move.w #$1e,-(a7)
 move.w d5,d0
 subq.w #1,d5
 addq.w #1,d7
 move.w d7,d1
 and.w #3,d1
 addq.w #1,d1
 muls d1,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d4,-(a7)
 move.w $10(a6),-(a7)
 jsr ua470(pc)
 adda.w #$a,a7
 move.w d0,8(a3)
 move.w $18(a6),d0
 bne.s ua586
 tst.w d6
 blt.s ua586
 move.w d6,d0
 cmp.w -$28bc(a4),d0
 bge.s ua586
 tst.w d5
 blt.s ua586
 move.w d5,d0
 cmp.w -$28be(a4),d0
 blt.s ua5b6
ua586 move.w #2,d4
 bra.s ua5b0
ua58c move.w d4,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w (a0),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr u960c(pc)
 addq.l #2,a7
 tst.w d0
 beq.s ua5ae
 move.w d4,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 clr.w (a0)
ua5ae addq.w #1,d4
ua5b0 cmpi.w #4,d4
 ble.s ua58c
ua5b6 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
ua5be link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w $10(a6),d5
 move.w #$a,-(a7)
 move.l a3,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,-$c(a6)
 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr u9696(pc)
 addq.l #4,a7
 move.b d0,d4
 clr.w d0
 move.b d4,d0
 asr.w #5,d0
 move.w d0,(a3)
 tst.w d0
 beq.s ua60c
 bra ua7c8
ua60c move.w d7,d0
 tst.w d0
 beq.s ua614
 bra.s ua63c
ua614 clr.w d0
 move.b d4,d0
 and.w #4,d0
 move.w d0,-2(a6)
 clr.w d0
 move.b d4,d0
 and.w #2,d0
 move.w d0,-4(a6)
 clr.w d0
 move.b d4,d0
 and.w #1,d0
 move.w d0,-6(a6)
 bra ua6c4
ua63c cmp.w #1,d0
 beq.s ua644
 bra.s ua66a
ua644 clr.w d0
 move.b d4,d0
 and.w #2,d0
 move.w d0,-2(a6)
 clr.w d0
 move.b d4,d0
 and.w #1,d0
 move.w d0,-4(a6)
 clr.w d0
 move.b d4,d0
 and.w #8,d0
 move.w d0,-6(a6)
 bra.s ua6c4
ua66a cmp.w #2,d0
 beq.s ua672
 bra.s ua698
ua672 clr.w d0
 move.b d4,d0
 and.w #1,d0
 move.w d0,-2(a6)
 clr.w d0
 move.b d4,d0
 and.w #8,d0
 move.w d0,-4(a6)
 clr.w d0
 move.b d4,d0
 and.w #4,d0
 move.w d0,-6(a6)
 bra.s ua6c4
ua698 cmp.w #3,d0
 beq.s ua6a0
 bra.s ua6c4
ua6a0 clr.w d0
 move.b d4,d0
 and.w #8,d0
 move.w d0,-2(a6)
 clr.w d0
 move.b d4,d0
 and.w #4,d0
 move.w d0,-4(a6)
 clr.w d0
 move.b d4,d0
 and.w #2,d0
 move.w d0,-6(a6)
ua6c4 clr.w -$292a(a4)
 clr.w -$a(a6)
ua6cc move.w -$a(a6),-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.l a3,-(a7)
 jsr ua4c6(pc)
 adda.w #$12,a7
 bra ua784
ua6f0 move.w -$c(a6),d0
 lsr.w #6,d0
 lsr.w #8,d0
 sub.w d7,d0
 and.w #3,d0
 move.w d0,-4(a6)
 beq.s ua776
 move.w -$c(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a2
 cmpi.w #2,-8(a6)
 bne.s ua742
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #1,d0
 beq.s ua740
 move.w -$28a2(a4),d0
 addq.w #1,d0
 move.w -4(a6),d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,2(a0)
 move.w -$c(a6),-$292c(a4)
ua740 bra.s ua776
ua742 move.w 4(a2),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w -4(a6),d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,2(a0)
 move.w 2(a2),d0
 and.w #$7f,d0
 cmpi.w #$7f,d0
 bne.s ua776
 move.w 2(a2),d0
 lsr.w #7,d0
 addq.w #1,d0
 move.w d0,-$292a(a4)
ua776 move.w -$c(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,-$c(a6)
ua784 cmpi.w #$fffe,-$c(a6)
 beq.s ua7a4
 move.w -$c(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-8(a6)
 cmpi.w #3,d0
 ble ua6f0
ua7a4 move.w -$a(a6),d0
 beq.s ua7c4
 move.w -$2db6(a4),d0
 cmp.w d6,d0
 beq.s ua7c4
 move.w -$2db8(a4),d0
 cmp.w d5,d0
 beq.s ua7c4
 move.w #$fffe,2(a3)
 bra ua9f0
ua7c4 bra ua9ea
ua7c8 cmp.w #2,d0
 beq.s ua7d0
 bra.s ua7f8
ua7d0 clr.w d0
 move.b d4,d0
 and.w #8,d0
 beq.s ua7ec
 clr.w d0
 move.b d4,d0
 and.w #4,d0
 move.w d0,4(a3)
 and.b #1,d4
 bra.s ua7f4
ua7ec move.w #1,(a3)
 move.b #1,d4
ua7f4 bra ua884
ua7f8 cmp.w #6,d0
 beq.s ua800
 bra.s ua846
ua800 clr.w d0
 move.b d4,d0
 and.w #4,d0
 bne.s ua82a
 clr.w (a3)
 clr.w d0
 move.b d4,d0
 and.w #8,d0
 move.w d0,-4(a6)
 move.w d0,-6(a6)
 move.w d0,-2(a6)
 move.w #1,-$a(a6)
 bra ua6cc
ua82a move.w #1,(a3)
 clr.w d0
 move.b d4,d0
 and.w #8,d0
 beq.s ua83e
 move.w #8,d0
 bra.s ua842
ua83e move.w #0,d0
ua842 move.b d0,d4
 bra.s ua850
ua846 cmp.w #1,d0
 beq.s ua850
 bra ua8d6
ua850 move.w #$1e,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 movea.l -$28b0(a4),a0
 move.w $a(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w d0,-(a7)
 clr.w d0
 move.b d4,d0
 and.w #8,d0
 move.w d0,-(a7)
 jsr ua470(pc)
 adda.w #$a,a7
 move.w d0,8(a3)
ua880 move.b #1,d4
ua884 bra.s ua8b6
ua886 cmpi.w #3,d7
 bne.s ua8a8
 move.w -$c(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a2
 move.w 4(a2),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w d0,8(a3)
ua8a8 move.w -$c(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,-$c(a6)
ua8b6 cmpi.w #$fffe,-$c(a6)
 beq.s ua8d2
 move.w -$c(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d7
 cmpi.w #3,d0
 ble.s ua886
ua8d2 bra ua9a8
ua8d6 cmp.w #5,d0
 beq.s ua8de
 bra.s ua8fc
ua8de clr.w d0
 move.b d4,d0
 and.w #8,d0
 beq.s ua8f0
 clr.w d0
 move.b d4,d0
 and.w #4,d0
ua8f0 sne d0
 and.w #1,d0
 move.w d0,4(a3)
 bra.s ua880
ua8fc cmp.w #3,d0
 beq.s ua904
 bra.s ua934
ua904 clr.w d0
 move.b d4,d0
 and.w #8,d0
 asr.w #3,d0
 move.w d7,d1
 and.w #1,d1
 cmp.w d1,d0
 bne.s ua91e
 move.w #$12,d0
 bra.s ua922
ua91e move.w #$13,d0
ua922 move.w d0,(a3)
 clr.w d0
 move.b d4,d0
 and.w #4,d0
 move.w d0,4(a3)
 clr.b d4
 bra.s ua97e
ua934 cmp.w #4,d0
 beq.s ua93e
 bra ua9ea
ua93e clr.w d0
 move.b d4,d0
 and.w #8,d0
 asr.w #3,d0
 move.w d7,d1
 and.w #1,d1
 cmp.w d1,d0
 bne.s ua958
 move.w #$10,(a3)
 bra.s ua97a
ua958 move.w #$11,(a3)
 clr.w d0
 move.b d4,d0
 and.w #7,d0
 move.w d0,4(a3)
 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 and.w #$3ff,d0
 move.w d0,6(a3)
ua97a move.b #1,d4
ua97e bra.s ua98e
ua980 move.w -$c(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,-$c(a6)
ua98e cmpi.w #$fffe,-$c(a6)
 beq.s ua9a8
 move.w -$c(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bls.s ua980
ua9a8 move.b d4,d0
 beq.s ua9ea
 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr $4bc(a5)
 addq.l #4,a7
 move.b d0,d4
 beq.s ua9ea
 and.w #$ff,d0
 subq.b #1,d4
 move.b d4,d0
 move.b -$33d6(a4),d1
 and.w #$ff,d1
 and.w #$ff,d0
 cmp.w d1,d0
 blt.s ua9ea
 move.b d4,d0
 move.b -$33d5(a4),d1
 and.w #$ff,d1
 and.w #$ff,d0
 cmp.w d1,d0
 bge.s ua9ea
 ori.w #$8000,8(a3)
ua9ea move.w -$c(a6),2(a3)
ua9f0 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ua9f8 link a6,#0
 move.w d7,-(a7)
 move.w 8(a6),d7
 move.w -$28ba(a4),d0
 cmp.w d7,d0
 bne.s uaa0e
 bra uaaba
uaa0e move.w d7,-$28ba(a4)
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28d2(a4),a0
 adda.w d0,a0
 move.l (a0),-$28b8(a4)
 move.l -$28ca(a4),d0
 move.w d7,d1
 mulu #$10,d1
 add.l d1,d0
 move.l d0,-$28b0(a4)
 movea.l -$28b0(a4),a0
 move.w 8(a0),d0
 and.w #$7c0,d0
 lsr.w #6,d0
 addq.w #1,d0
 move.w d0,-$28bc(a4)
 movea.l -$28b0(a4),a0
 move.w 8(a0),d0
 and.w #$f800,d0
 lsr.w #3,d0
 lsr.w #8,d0
 addq.w #1,d0
 move.w d0,-$28be(a4)
 movea.l -$28b0(a4),a0
 move.w $e(a0),d0
 and.w #$f00,d0
 lsr.w #8,d0
 asl.l #1,d0
 lea -$2620(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -$28c2(a4),a0
 moveq #0,d0
 jsr $c6(a5)
 movea.l -$28b0(a4),a0
 move.w $e(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 asl.l #1,d0
 lea -$2620(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -$28c0(a4),a0
 moveq #0,d0
 jsr $c6(a5)
 move.w d7,d0
 asl.l #1,d0
 movea.l -$28da(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 asl.l #1,d0
 movea.l -$28d6(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$28b4(a4)
uaaba move.w (a7)+,d7
 unlk a6
 rts
uaac0 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 move.w d0,-$2dbc(a4)
 move.w d0,-(a7)
 jsr ua9f8(pc)
 addq.l #2,a7
 move.w -$28bc(a4),d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 move.l -4(a0),d0
 move.w -$28be(a4),d3
 ext.l d3
 add.l d3,d0
 movea.l d0,a3
 move.l a3,-$28a0(a4)
 movea.l -$28b0(a4),a0
 move.w $a(a0),d0
 and.w #$f,d0
 move.w d0,-$28a2(a4)
 move.w d0,-(a7)
 pea -$287a(a4)
 movea.l -$28b0(a4),a0
 move.w $c(a0),d1
 and.w #$f0,d1
 lsr.w #4,d1
 move.l a3,d0
 and.l #$ffff,d1
 add.l d1,d0
 movea.l d0,a3
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 movea.l -$28b0(a4),a0
 move.w $a(a0),d0
 and.w #$f00,d0
 lsr.w #8,d0
 move.w d0,d6
 move.w d0,-(a7)
 pea -$288a(a4)
 move.l a3,d0
 move.w -$28a2(a4),d3
 ext.l d3
 add.l d3,d0
 movea.l d0,a3
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 movea.l -$28b0(a4),a0
 move.w $c(a0),d0
 and.w #$f,d0
 move.w d0,-(a7)
 pea -$289c(a4)
 move.l a3,d0
 ext.l d6
 add.l d6,d0
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 lea -$287a(a4),a0
 adda.w -$28a2(a4),a0
 clr.b (a0)
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
uab92 link a6,#0
 move.w d7,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,d7
 bra.s uabb4
uabaa move.w d7,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d7
uabb4 cmpi.w #$fffe,d7
 beq.s uabca
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #4,d0
 bne.s uabaa
uabca move.w d7,d0
 move.w (a7)+,d7
 unlk a6
 rts
uabd2 link a6,#0
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w -$28ba(a4),-(a7)
 move.l a3,-(a7)
 jsr u94fe(pc)
 addq.l #6,a7
 move.b d0,d6
 and.w #$ff,d0
 cmp.w #$ff,d0
 bne.s uac02
 move.w #1,d0
 bra uacba
uac02 move.w $e(a3),d5
 and.w #$60,d5
 lsr.w #5,d5
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25be(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #3,d0
 cmpi.w #1,d0
 bne.s uac8e
 move.w -$28ba(a4),-(a7)
 move.l a3,-(a7)
 jsr u9574(pc)
 addq.l #6,a7
 and.w #1,d0
 move.w d7,d1
 and.w #1,d1
 cmp.w d1,d0
 bne.s uac4c
 move.w d7,d0
 subq.w #1,d0
 and.w #3,d0
 move.w d0,d7
uac4c move.b d6,d0
 clr.w d1
 move.b d5,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 move.b d0,d4
 and.w #$ff,d0
 cmp.w d7,d0
 beq.s uac7a
 move.b d4,d0
 move.w d7,d1
 addq.w #1,d1
 and.w #3,d1
 and.w #$ff,d0
 cmp.w d1,d0
 bne.s uac82
uac7a clr.w d0
 move.b d5,d0
 addq.w #1,d0
 bra.s uacba
uac82 clr.w d0
 move.b d5,d0
 subq.b #1,d5
 tst.b d0
 bne.s uac4c
 bra.s uacb6
uac8e move.b d6,d0
 clr.w d1
 move.b d5,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 cmp.w d7,d0
 bne.s uacac
 clr.w d0
 move.b d5,d0
 addq.w #1,d0
 bra.s uacba
uacac clr.w d0
 move.b d5,d0
 subq.b #1,d5
 tst.b d0
 bne.s uac8e
uacb6 move.w #0,d0
uacba movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
uacc2 link a6,#-4
 movem.l d5-d7/a3,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s uace6
 move.w #0,d0
 bra.s uad34
uace6 move.w d5,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 pea -4(a6)
 jsr $396(a5)
 adda.w #$e,a7
 clr.w d7
uad12 move.w d7,d0
 lea -4(a6),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr uabd2(pc)
 addq.l #6,a7
 move.w d0,d6
 beq.s uad30
 move.w d6,d0
 bra.s uad34
uad30 addq.w #1,d7
 bra.s uad12
uad34 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
uad3c link a6,#-$a
 movem.l d6-d7,-(a7)
 move.w $a(a6),d7
 move.w $c(a6),d6
 and.w #3,d6
 move.w d7,d1
 asl.w #1,d1
 move.w d1,d7
 move.w d6,d0
 asl.w d1,d0
 move.w d0,d6
 move.w 8(a6),d0
 move.w #3,d1
 asl.w d7,d1
 not.w d1
 and.w d1,d0
 move.w d0,-$a(a6)
 move.w d6,d0
 or.w -$a(a6),d0
 movem.l (a7)+,d6-d7
 unlk a6
 rts
uad7c link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w (a3),d0
 move.l -$2910(a4),d1
 muls #$10,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d5
 move.b 4(a2),d5
 move.w d5,-4(a6)
 muls #$1a,d5
 lea -$25bc(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 tst.w d7
 slt d0
 and.w #1,d0
 move.w d0,-2(a6)
 beq.s uadcc
 move.w $e(a2),d7
 and.w #$60,d7
 lsr.w #5,d7
uadcc lea $c(a3),a0
 adda.w d7,a0
 clr.w d6
 move.b (a0),d6
 and.w #$c0,d6
 move.w d5,d4
 lsr.w #4,d4
 lsr.w #8,d4
 and.w #3,d4
 beq.s uae0a
 jsr $90(a5)
 and.l #$ffff,d0
 divu d4,d0
 swap d0
 move.w d0,d4
 jsr $84(a5)
 tst.w d0
 beq.s uae08
 move.w d4,d0
 neg.w d0
 and.w #7,d0
 move.w d0,d4
uae08 or.w d4,d6
uae0a move.w d5,d4
 lsr.w #6,d4
 lsr.w #8,d4
 and.w #3,d4
 beq.s uae3e
 jsr $90(a5)
 and.l #$ffff,d0
 divu d4,d0
 swap d0
 move.w d0,d4
 jsr $84(a5)
 tst.w d0
 beq.s uae38
 move.w d4,d0
 neg.w d0
 and.w #7,d0
 move.w d0,d4
uae38 move.w d4,d0
 asl.w #3,d0
 or.w d0,d6
uae3e move.w $e(a6),d0
 beq.s uaeb0
 move.w d5,d0
 and.w #$200,d0
 beq.s uaea6
 move.w d6,d0
 and.w #$80,d0
 beq.s uae82
 cmpi.w #$12,-4(a6)
 bne.s uae82
 jsr $84(a5)
 tst.w d0
 beq.s uae80
 move.w #$40,d0
 eor.w d0,d6
 move.w #1,-(a7)
 move.w -$32da(a4),-(a7)
 move.w -$32d8(a4),-(a7)
 move.w #$10,-(a7)
 jsr $120(a5)
 addq.l #8,a7
uae80 bra.s uaea4
uae82 move.w d6,d0
 and.w #$80,d0
 beq.s uae92
 move.w d5,d0
 and.w #$400,d0
 bne.s uaea4
uae92 jsr $84(a5)
 tst.w d0
 beq.s uaea0
 or.w #$40,d6
 bra.s uaea4
uaea0 and.w #$ffbf,d6
uaea4 bra.s uaeaa
uaea6 and.w #$ffbf,d6
uaeaa or.w #$80,d6
 bra.s uaed4
uaeb0 move.w d5,d0
 and.w #4,d0
 beq.s uaecc
 jsr $84(a5)
 tst.w d0
 beq.s uaec6
 or.w #$40,d6
 bra.s uaeca
uaec6 and.w #$ffbf,d6
uaeca bra.s uaed0
uaecc and.w #$ffbf,d6
uaed0 and.w #$ff7f,d6
uaed4 move.w d6,d0
 lea $c(a3),a0
 adda.w d7,a0
 move.b d0,(a0)
 move.w -2(a6),d0
 beq.s uaeee
 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne uadcc
uaeee clr.w d6
 move.b 4(a2),d6
 muls #$1a,d6
 lea -$25ac(a4),a0
 adda.w d6,a0
 move.w (a0),d6
 move.l -$2dc6(a4),d0
 move.w $e(a6),d1
 beq.s uaf14
 move.w d6,d1
 lsr.w #8,d1
 and.w #$f,d1
 bra.s uaf1c
uaf14 move.w d6,d1
 lsr.w #4,d1
 and.w #$f,d1
uaf1c and.l #$ffff,d1
 add.l d1,d0
 move.l d0,-(a7)
 jsr $84(a5)
 move.l d0,d1
 move.l (a7)+,d0
 and.l #$ffff,d1
 add.l d1,d0
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
uaf3e link a6,#-$a
 move.l a3,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w $e(a3),d0
 and.w #$f,d0
 cmpi.w #4,d0
 bcs.s uaf7e
 move.w #0,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
uaf7e move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.b #$25,-6(a6)
 move.w #$ff,d0
 clr.w d1
 move.b 4(a3),d1
 muls #$1a,d1
 lea -$25ba(a4),a0
 adda.w d1,a0
 clr.w d3
 move.b (a0),d3
 sub.w d3,d0
 move.b d0,-5(a6)
 clr.b -2(a6)
 move.w 8(a6),d0
 move.b d0,-4(a6)
 move.w $a(a6),d0
 move.b d0,-3(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 movea.l (a7)+,a3
 unlk a6
 rts
uafe0 link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 movea.l -$32c2(a4),a3
 clr.w d5
 bra.s ub040
uaff8 move.l (a3),d0
 move.l #$18,d3
 asr.l d3,d0
 move.w -$28ba(a4),d1
 cmp.w d1,d0
 bne.s ub03a
 clr.w d0
 move.b 4(a3),d0
 move.w d0,d4
 cmpi.w #$1c,d0
 bls.s ub03a
 cmpi.w #$2a,d4
 bcc.s ub03a
 clr.w d0
 move.b 6(a3),d0
 cmp.w d7,d0
 bne.s ub03a
 clr.w d0
 move.b 7(a3),d0
 cmp.w d6,d0
 bne.s ub03a
 move.w d5,-(a7)
 jsr $360(a5)
 addq.l #2,a7
ub03a adda.w #$a,a3
 addq.w #1,d5
ub040 move.w d5,d0
 cmp.w -$32be(a4),d0
 bcs.s uaff8
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
ub050 link a6,#0
 move.w d7,-(a7)
 clr.w d7
 bra.s ub06c
ub05a move.w d7,d0
 addq.w #1,d7
 movea.l 8(a6),a0
 lea $c(a0),a0
 adda.w d0,a0
 andi.b #$7f,(a0)
ub06c cmpi.w #4,d7
 blt.s ub05a
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr uafe0(pc)
 addq.l #4,a7
 move.w (a7)+,d7
 unlk a6
 rts
ub086 link a6,#-8
 movem.l d6-d7/a2-a3,-(a7)
 movea.l -$32d2(a4),a2
 clr.w -8(a6)
 bra.s ub0ae
ub098 addq.w #1,-8(a6)
 move.w -8(a6),d0
 cmp.w -$32d4(a4),d0
 bcs.s ub0aa
 bra ub16e
ub0aa adda.w #$10,a2
ub0ae tst.w (a2)
 bge.s ub098
 addq.w #1,-$32d6(a4)
 move.w 8(a6),d1
 and.w #$3ff,d1
 move.w d1,(a2)
 muls #$10,d1
 move.l -$2910(a4),d0
 add.l d1,d0
 movea.l d0,a3
 move.b 5(a3),3(a2)
 move.w -8(a6),d0
 move.b d0,5(a3)
 move.w $a(a6),d0
 move.b d0,$a(a2)
 move.b d0,8(a2)
 move.w $c(a6),d0
 move.b d0,$b(a2)
 move.b d0,9(a2)
 move.l -$2dc6(a4),d0
 sub.l #$7f,d0
 move.b d0,4(a2)
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25be(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #3,d0
 cmpi.w #1,d0
 seq d0
 and.w #1,d0
 move.w d0,-6(a6)
 move.w $e(a3),d6
 and.w #$60,d6
 lsr.w #5,d6
ub12e move.w $e(a3),d0
 and.w #$300,d0
 lsr.w #8,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 clr.w d0
 move.b 2(a2),d0
 move.w d0,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.b d0,2(a2)
 move.w d6,d0
 lea $c(a2),a0
 adda.w d0,a0
 clr.b (a0)
 move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s ub12e
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
ub16e movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
ub176 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 cmp.w -$32d4(a4),d0
 bhi.s ub19a
 move.w 8(a6),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 tst.w (a0)
 bge.s ub19c
ub19a bra.s ub20c
ub19c move.w 8(a6),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w (a3),d0
 move.l -$2910(a4),d1
 muls #$10,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 subq.w #1,-$32d6(a4)
 move.b 3(a3),5(a2)
 clr.w d0
 move.b 2(a3),d0
 and.w #3,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$fcff,$e(a2)
 or.w d3,$e(a2)
 move.w $e(a2),d0
 and.w #$f,d0
 cmpi.w #4,d0
 bcs.s ub208
 move.w #0,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a2)
 or.w d3,$e(a2)
ub208 move.w #$ffff,(a3)
ub20c movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
ub214 link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$32d6(a4),d0
 move.w -$32d4(a4),d1
 subq.w #5,d1
 cmp.w d1,d0
 bcs.s ub234
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 beq.s ub246
ub234 move.w #4,-(a7)
 jsr ua0d4(pc)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$ffff,d0
 bne.s ub24e
ub246 move.w #$ffff,d0
 bra ub380
ub24e move.w d7,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w #$fffe,2(a3)
 move.w #0,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$fbff,$e(a3)
 or.w d3,$e(a3)
 move.w $e(a6),d0
 and.w #3,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$fcff,$e(a3)
 or.w d3,$e(a3)
 move.w $c(a6),d0
 and.w #3,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$ff9f,$e(a3)
 or.w d3,$e(a3)
 move.w $c(a6),-2(a6)
 beq.s ub2b2
 jsr $9c(a5)
 move.w d0,d5
 bra.s ub2b6
ub2b2 move.w #$ff,d4
ub2b6 move.w 8(a6),d0
 move.b d0,4(a3)
 and.w #$ff,d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d6
 move.b 9(a2),d6
ub2d6 jsr $90(a5)
 move.w d6,d1
 lsr.w #2,d1
 addq.w #1,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 move.w d0,-$c(a6)
 move.w d6,d0
 mulu $a(a6),d0
 add.w -$c(a6),d0
 move.w $c(a6),d1
 asl.l #1,d1
 lea 6(a3),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w -2(a6),d0
 beq.s ub334
 move.w d5,d0
 addq.w #1,d5
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 move.w d4,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,d4
 move.w 2(a2),d0
 and.w #3,d0
 cmpi.w #1,d0
 bne.s ub330
 addq.w #1,d5
ub330 and.w #3,d5
ub334 move.w $c(a6),d0
 subq.w #1,$c(a6)
 tst.w d0
 bne.s ub2d6
 move.w d4,d0
 move.b d0,5(a3)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d7,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 tst.w d0
 beq.s ub368
 move.w #$ffff,d0
 bra.s ub380
ub368 move.w #1,-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w d7,d0
ub380 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ub388 link a6,#-4
 movem.l d5-d7/a2-a3,-(a7)
 clr.w -2(a6)
 clr.w -4(a6)
 move.w 8(a6),d0
 bra.s ub3a2
ub39e bra ub53e
ub3a2 cmp.w #$c,d0
 beq.s ub3aa
 bra.s ub3b4
ub3aa lea -$25ce(a4),a0
 movea.l a0,a3
 bra ub43e
ub3b4 cmp.w #9,d0
 beq.s ub3bc
 bra.s ub3c4
ub3bc lea -$25d2(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub3c4 cmp.w #$10,d0
 beq.s ub3cc
 bra.s ub3d4
ub3cc lea -$25d6(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub3d4 cmp.w #$12,d0
 beq.s ub3dc
 bra.s ub3ea
ub3dc move.w #1,-2(a6)
 lea -$25e4(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub3ea cmp.w #7,d0
 beq.s ub3f2
 bra.s ub3fa
ub3f2 lea -$25ee(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub3fa cmp.w #4,d0
 beq.s ub402
 bra.s ub40a
ub402 lea -$25f4(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub40a cmp.w #6,d0
 beq.s ub412
 bra.s ub41a
ub412 lea -$25fa(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub41a cmp.w #$f,d0
 beq.s ub422
 bra.s ub42a
ub422 lea -$2602(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub42a cmp.w #$18,d0
 beq.s ub432
 bra.s ub43a
ub432 lea -$2618(a4),a0
 movea.l a0,a3
 bra.s ub43e
ub43a bra ub39e
ub43e bra ub514
ub442 move.w d7,d0
 and.w #$8000,d0
 beq.s ub456
 jsr $84(a5)
 tst.w d0
 beq.s ub456
 bra ub514
ub456 move.w d7,d0
 and.w #$7fff,d0
 move.w d0,d7
 cmpi.w #$7f,d0
 bcs.s ub46e
 move.w #$a,d6
 sub.w #$7f,d7
 bra.s ub48c
ub46e cmpi.w #$45,d7
 bcs.s ub47e
 move.w #6,d6
 sub.w #$45,d7
 bra.s ub48c
ub47e move.w #1,-4(a6)
 move.w #5,d6
 sub.w #$17,d7
ub48c move.w d6,-(a7)
 jsr ua0d4(pc)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s ub49e
 bra.s ub514
ub49e move.w d5,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a2
 move.w d7,d0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a2)
 or.w d3,2(a2)
 move.w -2(a6),d0
 and.w #1,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$feff,2(a2)
 or.w d3,2(a2)
 cmpi.w #$ff,$e(a6)
 beq.s ub4e2
 jsr $9c(a5)
 move.l d0,d1
 tst.w d1
 bne.s ub4ea
ub4e2 jsr $9c(a5)
 move.l d0,d1
 bra.s ub4ee
ub4ea move.w $e(a6),d1
ub4ee asl.w #6,d1
 asl.w #8,d1
 move.w d5,d0
 and.w #$3fff,d0
 or.w d1,d0
 move.w d0,d5
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d5,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
ub514 move.w (a3)+,d7
 bne ub442
 move.w $10(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w -4(a6),d0
 beq.s ub532
 move.w #0,d0
 bra.s ub536
ub532 move.w #4,d0
ub536 move.w d0,-(a7)
 jsr $120(a5)
 addq.l #8,a7
ub53e movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
ub546 link a6,#-6
 move.w -$32f6(a4),d0
 beq.s ub5a0
 move.w 8(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 clr.w d0
 move.b 4(a0),d0
 move.w d0,-6(a6)
 bra.s ub59a
ub56e move.w #2,-(a7)
 subq.w #1,-$32f6(a4)
 move.w -$32f6(a4),d0
 lea -$32fa(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr ub388(pc)
 adda.w #$a,a7
ub59a move.w -$32f6(a4),d0
 bne.s ub56e
ub5a0 unlk a6
 rts
ub5a4 link a6,#-8
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 tst.w $e(a6)
 blt.s ub640
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-2(a6)
 muls #$1a,d0
 lea -$25be(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #$200,d0
 beq.s ub640
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,-4(a6)
 move.w -$28ba(a4),-(a7)
 move.l a3,-(a7)
 jsr u94fe(pc)
 addq.l #6,a7
 move.w d0,-6(a6)
ub600 move.w $e(a6),-(a7)
 cmpi.w #$ff,-6(a6)
 bne.s ub612
 move.w #$ff,d0
 bra.s ub622
ub612 move.w -6(a6),d0
 move.w -4(a6),d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
ub622 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -2(a6),-(a7)
 jsr ub388(pc)
 adda.w #$a,a7
 move.w -4(a6),d0
 subq.w #1,-4(a6)
 tst.w d0
 bne.s ub600
ub640 move.w 2(a3),d0
 move.w d0,d5
 cmpi.w #$fffe,d0
 beq.s ub6c8
 clr.w -8(a6)
ub650 move.w d5,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d4
 jsr $9c(a5)
 move.l d0,d1
 asl.w #6,d1
 asl.w #8,d1
 move.w d5,d0
 and.w #$3fff,d0
 or.w d1,d0
 move.w d0,d5
 move.w d5,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 bne.s ub684
 move.w #1,-8(a6)
ub684 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d5,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w d4,d0
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s ub650
 tst.w $e(a6)
 blt.s ub6c8
 move.w $e(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -8(a6),d0
 beq.s ub6bc
 move.w #0,d0
 bra.s ub6c0
ub6bc move.w #4,d0
ub6c0 move.w d0,-(a7)
 jsr $120(a5)
 addq.l #8,a7
ub6c8 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
ub6d0 link a6,#0
 movem.l d7/a3,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne.s ub6f0
 bra.s ub756
ub6f0 move.w d7,-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 move.w #8,-(a7)
 lea 6(a3),a0
 move.l a0,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w d7,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w #$ffff,(a3)
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s ub748
 clr.w d0
 move.b 5(a3),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 subq.w #1,-$32d6(a4)
ub748 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr uafe0(pc)
 addq.l #4,a7
ub756 movem.l (a7)+,d7/a3
 unlk a6
 rts
ub75e link a6,#-$14
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $e(a6),d7
 move.w $10(a6),d6
 clr.w d0
 move.b 4(a3),d0
 move.w d0,-$c(a6)
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w 2(a2),d0
 and.w #$2000,d0
 beq.s ub798
 bra ubb04
ub798 move.w $c(a6),d0
 asl.l #1,d0
 lea 6(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w $12(a6),d1
 cmp.w d1,d0
 bhi ubaea
 move.w -$28ba(a4),-(a7)
 move.l a3,-(a7)
 jsr u94fe(pc)
 addq.l #6,a7
 move.w d0,-$e(a6)
 cmpi.w #$ff,-$e(a6)
 bne.s ub7ce
 move.w #$ff,d0
 bra.s ub7de
ub7ce move.w -$e(a6),d0
 move.w $c(a6),d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
ub7de move.w d0,-$14(a6)
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,-$a(a6)
 bne.s ub824
 move.w $14(a6),d0
 beq.s ub81c
 move.w #2,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr ub5a4(pc)
 addq.l #8,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr ub6d0(pc)
 addq.l #4,a7
ub81c move.w #2,d4
 bra ubaac
ub824 move.w -$28ba(a4),-(a7)
 move.l a3,-(a7)
 jsr u9574(pc)
 addq.l #6,a7
 move.w d0,-$10(a6)
 move.w 2(a2),d0
 and.w #$200,d0
 beq.s ub872
 move.w $14(a6),d0
 beq.s ub85e
 move.w #2,-(a7)
 move.w -$14(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -$c(a6),-(a7)
 jsr ub388(pc)
 adda.w #$a,a7
 bra.s ub872
ub85e move.w -$14(a6),d0
 move.w -$32f6(a4),d1
 addq.w #1,-$32f6(a4)
 lea -$32fa(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
ub872 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 seq d0
 and.w #1,d0
 move.w d0,-$12(a6)
 beq.s ub89c
 clr.w d0
 move.b 5(a3),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
ub89c move.w $e(a3),d0
 and.w #$f,d0
 cmpi.w #6,d0
 bne ub9ce
 move.l -$32c2(a4),-4(a6)
 clr.w d5
 bra ub94e
ub8b8 movea.l -4(a6),a0
 move.l (a0),d0
 move.l #$18,d3
 asr.l d3,d0
 move.w -$28ba(a4),d1
 cmp.w d1,d0
 bne.s ub944
 movea.l -4(a6),a0
 clr.w d0
 move.b 6(a0),d0
 cmp.w d7,d0
 bne.s ub944
 movea.l -4(a6),a0
 clr.w d0
 move.b 7(a0),d0
 cmp.w d6,d0
 bne.s ub944
 movea.l -4(a6),a0
 clr.w d0
 move.b 4(a0),d0
 move.w d0,d4
 cmpi.w #$20,d0
 bls.s ub944
 cmpi.w #$2a,d4
 bcc.s ub944
 cmpi.w #$25,d4
 bcc.s ub90e
 sub.w #$21,d4
 bra.s ub912
ub90e sub.w #$26,d4
ub912 move.w d4,d0
 cmp.w $c(a6),d0
 bne.s ub924
 move.w d5,-(a7)
 jsr $360(a5)
 addq.l #2,a7
 bra.s ub944
ub924 move.w d4,d0
 cmp.w $c(a6),d0
 bls.s ub944
 movea.l -4(a6),a0
 subq.b #1,4(a0)
 move.w d5,-(a7)
 jsr $3cc(a5)
 addq.l #2,a7
 move.w d0,-(a7)
 jsr $372(a5)
 addq.l #2,a7
ub944 addi.l #$a,-4(a6)
 addq.w #1,d5
ub94e move.w d5,d0
 cmp.w -$32be(a4),d0
 bcs ub8b8
 move.w -$12(a6),d0
 beq.s ub9ce
 move.w $10(a2),d0
 lsr.w #4,d0
 and.w #$f,d0
 move.w d0,-$c(a6)
 cmpi.w #$f,d0
 beq.s ub9ce
 move.w -$a(a6),d1
 subq.w #1,d1
 move.w -$c(a6),d0
 add.w d1,d0
 move.w d0,-$c(a6)
 move.l d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 move.l (a7)+,d0
 and.w #$f,d1
 cmp.w d1,d0
 bcc.s ub9ce
 jsr $90(a5)
 move.w #$64,d1
 move.w -$c(a6),d2
 asl.w #2,d2
 sub.w d2,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 add.w #$14,d0
 movea.l -8(a6),a0
 move.b d0,5(a0)
 move.w #5,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
ub9ce move.w $c(a6),d4
 move.w d4,d5
 bra uba5a
ub9d8 addq.w #1,d4
 move.w d4,d0
 asl.l #1,d0
 lea 6(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d5,d1
 asl.l #1,d1
 lea 6(a3),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w -$10(a6),d0
 move.w d4,d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 move.w -$10(a6),-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,-$10(a6)
 move.w -$e(a6),d0
 move.w d4,d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 move.w -$e(a6),-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,-$e(a6)
 move.w -$12(a6),d0
 beq.s uba58
 move.w d4,d0
 movea.l -8(a6),a0
 lea $c(a0),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d5,d1
 movea.l -8(a6),a0
 lea $c(a0),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
uba58 addq.w #1,d5
uba5a move.w d5,d0
 cmp.w -$a(a6),d0
 bcs ub9d8
 andi.w #$3f,-$e(a6)
 move.w -$28ba(a4),-(a7)
 move.w -$e(a6),-(a7)
 move.l a3,-(a7)
 jsr u9536(pc)
 addq.l #8,a7
 move.w -$28ba(a4),-(a7)
 move.w -$10(a6),-(a7)
 move.l a3,-(a7)
 jsr u95bc(pc)
 addq.l #8,a7
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 subq.w #1,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$ff9f,$e(a3)
 or.w d3,$e(a3)
 move.w #1,d4
ubaac move.w 2(a2),d0
 and.w #3,d0
 move.w d0,d5
 tst.w d0
 bne.s ubac0
 move.w #$6e,d5
 bra.s ubad0
ubac0 cmpi.w #1,d5
 bne.s ubacc
 move.w #$be,d5
 bra.s ubad0
ubacc move.w #$ff,d5
ubad0 move.w -$14(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d5,-(a7)
 move.w #$ffa8,-(a7)
 jsr $3c0(a5)
 adda.w #$a,a7
 move.w d4,d0
 bra.s ubb08
ubaea tst.w $12(a6)
 ble.s ubb04
 move.w $c(a6),d0
 asl.l #1,d0
 lea 6(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w $12(a6),d0
 move.w d0,(a0)
ubb04 move.w #0,d0
ubb08 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ubb10 link a6,#-8
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $10(a6),d7
 clr.w -6(a6)
 move.w #1,-8(a6)
 clr.w -$32f6(a4)
 tst.w d7
 ble ubbd6
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,-2(a6)
 move.w d7,d0
 asr.w #3,d0
 addq.w #1,d0
 move.w d0,d6
 sub.w d0,d7
 move.w d6,d0
 asl.w #1,d0
 move.w d0,d6
ubb52 move.w $12(a6),-(a7)
 jsr $90(a5)
 move.l d0,d1
 and.l #$ffff,d1
 divu d6,d1
 swap d1
 move.w d7,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w -2(a6),-(a7)
 move.l a3,-(a7)
 jsr ub75e(pc)
 adda.w #$e,a7
 move.w d0,-4(a6)
 beq.s ubb8c
 move.w -8(a6),d0
ubb8c sne d0
 and.w #1,d0
 move.w d0,-8(a6)
 move.w -6(a6),d0
 bne.s ubba0
 move.w -4(a6),d0
ubba0 sne d0
 and.w #1,d0
 move.w d0,-6(a6)
 move.w -2(a6),d0
 subq.w #1,-2(a6)
 tst.w d0
 bne.s ubb52
 move.w -8(a6),d0
 beq.s ubbc2
 move.w #2,d0
 bra.s ubbda
ubbc2 move.w -6(a6),d0
 beq.s ubbce
 move.w #1,d0
 bra.s ubbda
ubbce move.w #0,d0
 bra.s ubbda
 bra.s ubbda
ubbd6 move.w #0,d0
ubbda movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
ubbe2 link a6,#-$a
 move.w d7,-(a7)
 move.w $a(a6),d0
 beq.s ubc0c
 move.w 8(a6),d0
 muls #$1a,d0
 lea -$25ae(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 lsr.w #8,d0
 and.w #$f,d0
 move.w d0,d7
 cmpi.w #$f,d0
 bne.s ubc12
ubc0c move.w #0,d0
 bra.s ubc30
ubc12 jsr $9c(a5)
 move.w d0,-$a(a6)
 move.w $a(a6),d0
 add.w -$a(a6),d0
 asl.w #3,d0
 addq.w #1,d7
 move.w d7,d1
 and.l #$ffff,d0
 divu d1,d0
ubc30 move.w (a7)+,d7
 unlk a6
 rts
ubc36 link a6,#-2
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w -2(a6)
 move.w $c(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a2
 move.l d0,-(a7)
 jsr $420(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w #$64,d0
 sub.w d1,d0
 move.w d0,d7
 jsr $90(a5)
 and.w #7,d0
 move.w d0,d5
 bra ubcfc
ubc7a move.w d5,d0
 lea -$3346(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 cmpi.w #$d,d0
 bne.s ubca0
 jsr $90(a5)
 and.l #$ffff,d0
 divu #$11,d0
 swap d0
 add.w d0,d6
ubca0 move.w d6,d0
 asl.l #1,d0
 lea $d4(a2),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d4
 cmpi.w #$ffff,d0
 beq.s ubcf2
 move.w #1,-2(a6)
 move.w d6,-(a7)
 move.w $c(a6),-(a7)
 jsr $4f2(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$fffe,2(a3)
 bne.s ubcd6
 move.w d4,2(a3)
 bra.s ubce8
ubcd6 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w 2(a3),-(a7)
 move.w d4,-(a7)
 jsr u9b2c(pc)
 addq.l #8,a7
ubce8 move.w $c(a6),-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
ubcf2 addq.w #1,d5
 and.w #7,d5
 sub.w #$14,d7
ubcfc tst.w d7
 ble.s ubd10
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr $402(a5)
 addq.l #6,a7
 tst.w d0
 beq ubc7a
ubd10 jsr $90(a5)
 and.w #7,d0
 beq.s ubd28
 move.w -2(a6),d0
 beq.s ubd5c
 jsr $84(a5)
 tst.w d0
 beq.s ubd5c
ubd28 jsr $90(a5)
 and.w #$3f,d0
 add.w #$14,d0
 clr.w d1
 move.b 5(a3),d1
 muls #$10,d1
 movea.l -$32d2(a4),a0
 adda.w d1,a0
 move.b d0,5(a0)
 move.w #5,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
ubd5c movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ubd64 link a6,#0
 move.w d7,-(a7)
 clr.w d7
 bra.s ubd88
ubd6e move.w d7,d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 tst.w (a0)
 blt.s ubd86
 move.w d7,-(a7)
 jsr ub176(pc)
 addq.l #2,a7
ubd86 addq.w #1,d7
ubd88 tst.w -$32d6(a4)
 bhi.s ubd6e
 move.w (a7)+,d7
 unlk a6
 rts
ubd94 link a6,#0
 movem.l d5-d7/a2-a3,-(a7)
 movea.l -$28b8(a4),a0
 movea.l (a0),a3
 movea.l -$28b4(a4),a0
 move.w (a0),d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d7
 bra.s ube18
ubdb8 clr.w d6
 bra.s ube0c
ubdbc clr.w d0
 move.b (a3)+,d0
 and.w #$10,d0
 beq.s ube0a
 move.w (a2)+,d5
ubdc8 move.w d5,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #4,d0
 bne.s ubdfa
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uafe0(pc)
 addq.l #4,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d5,-(a7)
 jsr ub086(pc)
 addq.l #6,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uaf3e(pc)
 addq.l #4,a7
 bra.s ube0a
ubdfa move.w d5,-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s ubdc8
ube0a addq.w #1,d6
ube0c move.w d6,d0
 move.w -$28be(a4),d1
 cmp.w d1,d0
 bcs.s ubdbc
 addq.w #1,d7
ube18 move.w d7,d0
 move.w -$28bc(a4),d1
 cmp.w d1,d0
 bcs.s ubdb8
 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
ube2a link a6,#0
 move.w d7,-(a7)
 move.w -$2da6(a4),d0
 beq.s ube3c
 move.w #$3c,-$32d4(a4)
ube3c move.w #1,-(a7)
 move.w -$32d4(a4),d0
 mulu #$10,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$32d2(a4)
 clr.w d7
 bra.s ube70
ube5e move.w d7,d0
 addq.w #1,d7
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
ube70 move.w d7,d0
 cmp.w -$32d4(a4),d0
 bcs.s ube5e
 move.w (a7)+,d7
 unlk a6
 rts
ube7e link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w $a(a6),d0
 move.w 8(a6),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 lsr.w #5,d0
 move.w d0,d6
 cmpi.w #4,d0
 bne.s ubefa
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr u99d8(pc)
 addq.l #4,a7
 movea.l d0,a3
 move.w d7,d0
 and.w #7,d0
 move.w d0,d5
 cmpi.w #3,d0
 seq d0
 tst.b d0
 bne.s ubed4
 cmpi.w #4,d5
 seq d0
 tst.b d0
ubed4 tst.b d0
 beq.s ubef4
 move.w 2(a3),d0
 and.w #1,d0
 asl.l #1,d0
 lea -$28c2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #1,d0
 seq d0
 tst.b d0
ubef4 and.w #1,d0
 bra.s ubf1c
ubefa tst.w d6
 seq d0
 tst.b d0
 bne.s ubf18
 cmpi.w #6,d6
 seq d0
 tst.b d0
 beq.s ubf16
 move.w d7,d0
 and.w #4,d0
 seq d0
 tst.b d0
ubf16 tst.b d0
ubf18 and.w #1,d0
ubf1c movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
ubf24 link a6,#0
 movem.l d6-d7,-(a7)
 move.w $a(a6),d0
 move.w 8(a6),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 lsr.w #5,d0
 move.w d0,d6
 tst.w d0
 seq d0
 tst.b d0
 bne.s ubf68
 cmpi.w #6,d6
 seq d0
 tst.b d0
 beq.s ubf66
 move.w d7,d0
 and.w #4,d0
 seq d0
 tst.b d0
ubf66 tst.b d0
ubf68 and.w #1,d0
 movem.l (a7)+,d6-d7
 unlk a6
 rts
ubf74 link a6,#-$c
 movem.l d4-d7/a3,-(a7)
 movea.l $10(a6),a3
 move.w 8(a6),d0
 move.w $c(a6),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w $a(a6),d0
 move.w $e(a6),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 cmpi.w #1,d0
 bgt.s ubfba
 move.w #1,d0
 bra uc21e
ubfba move.w $c(a6),d0
 sub.w 8(a6),d0
 move.w d0,d5
 tst.w d0
 bge.s ubfce
 move.w d5,d0
 neg.w d0
 bra.s ubfd0
ubfce move.w d5,d0
ubfd0 move.w d0,d5
 move.w $e(a6),d1
 sub.w $a(a6),d1
 move.w d1,d4
 tst.w d1
 bge.s ubfe6
 move.w d4,d1
 neg.w d1
 bra.s ubfe8
ubfe6 move.w d4,d1
ubfe8 move.w d1,d4
 cmp.w d1,d0
 slt d0
 and.w #1,d0
 move.w d0,-4(a6)
 move.w d5,d0
 cmp.w d4,d0
 seq d0
 and.w #1,d0
 move.w d0,-$a(a6)
 move.w $c(a6),d7
 move.w d7,d5
 sub.w 8(a6),d7
 tst.w d7
 ble.s uc018
 move.w #$ffff,d7
 bra.s uc01c
uc018 move.w #1,d7
uc01c move.w $e(a6),d6
 move.w d6,d4
 sub.w $a(a6),d6
 tst.w d6
 ble.s uc030
 move.w #$ffff,d6
 bra.s uc034
uc030 move.w #1,d6
uc034 move.w -4(a6),d0
 beq.s uc05c
 move.w d4,d0
 sub.w $a(a6),d0
 move.w d0,-2(a6)
 beq.s uc056
 move.w d5,d0
 sub.w 8(a6),d0
 asl.w #6,d0
 ext.l d0
 divs -2(a6),d0
 bra.s uc05a
uc056 move.w #$80,d0
uc05a bra.s uc07c
uc05c move.w d5,d0
 sub.w 8(a6),d0
 move.w d0,-2(a6)
 beq.s uc078
 move.w d4,d0
 sub.w $a(a6),d0
 asl.w #6,d0
 ext.l d0
 divs -2(a6),d0
 bra.s uc07c
uc078 move.w #$80,d0
uc07c move.w d0,-$c(a6)
uc080 move.w -$a(a6),d0
 beq.s uc0ca
 move.w d4,-(a7)
 move.w d5,d0
 add.w d7,d0
 move.w d0,-(a7)
 jsr (a3)
 addq.l #4,a7
 tst.w d0
 beq.s uc0a6
 move.w d4,d0
 add.w d6,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 jsr (a3)
 addq.l #4,a7
 tst.w d0
 bne.s uc0be
uc0a6 move.w d4,d0
 add.w d6,d0
 move.w d0,d4
 move.w d0,-(a7)
 move.w d5,d0
 add.w d7,d0
 move.w d0,d5
 move.w d0,-(a7)
 jsr (a3)
 addq.l #4,a7
 tst.w d0
 beq.s uc0c6
uc0be move.w #0,d0
 bra uc21e
uc0c6 bra uc1d8
uc0ca move.w -4(a6),d0
 beq.s uc0f4
 move.w d4,d0
 sub.w $a(a6),d0
 move.w d0,-2(a6)
 beq.s uc0ee
 move.w d5,d0
 add.w d7,d0
 sub.w 8(a6),d0
 asl.w #6,d0
 ext.l d0
 divs -2(a6),d0
 bra.s uc0f2
uc0ee move.w #$80,d0
uc0f2 bra.s uc116
uc0f4 move.w d5,d0
 add.w d7,d0
 sub.w 8(a6),d0
 move.w d0,-2(a6)
 beq.s uc112
 move.w d4,d0
 sub.w $a(a6),d0
 asl.w #6,d0
 ext.l d0
 divs -2(a6),d0
 bra.s uc116
uc112 move.w #$80,d0
uc116 sub.w -$c(a6),d0
 move.w d0,-2(a6)
 tst.w d0
 bge.s uc12a
 move.w -2(a6),d0
 neg.w d0
 bra.s uc12e
uc12a move.w -2(a6),d0
uc12e move.w d0,-6(a6)
 move.w -4(a6),d1
 beq.s uc15c
 move.w d4,d1
 add.w d6,d1
 sub.w $a(a6),d1
 move.w d1,-2(a6)
 beq.s uc156
 move.w d5,d1
 sub.w 8(a6),d1
 asl.w #6,d1
 ext.l d1
 divs -2(a6),d1
 bra.s uc15a
uc156 move.w #$80,d1
uc15a bra.s uc17e
uc15c move.w d5,d1
 sub.w 8(a6),d1
 move.w d1,-2(a6)
 beq.s uc17a
 move.w d4,d1
 add.w d6,d1
 sub.w $a(a6),d1
 asl.w #6,d1
 ext.l d1
 divs -2(a6),d1
 bra.s uc17e
uc17a move.w #$80,d1
uc17e sub.w -$c(a6),d1
 move.w d1,-2(a6)
 tst.w d1
 bge.s uc192
 move.w -2(a6),d1
 neg.w d1
 bra.s uc196
uc192 move.w -2(a6),d1
uc196 move.w d1,-8(a6)
 cmp.w d1,d0
 bge.s uc1a2
 add.w d7,d5
 bra.s uc1a4
uc1a2 add.w d6,d4
uc1a4 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr (a3)
 addq.l #4,a7
 tst.w d0
 beq.s uc1d8
 move.w -6(a6),d0
 cmp.w -8(a6),d0
 bne.s uc1d2
 move.w d4,d0
 sub.w d6,d0
 move.w d0,d4
 move.w d0,-(a7)
 move.w d5,d0
 add.w d7,d0
 move.w d0,d5
 move.w d0,-(a7)
 jsr (a3)
 addq.l #4,a7
 tst.w d0
 beq.s uc1d8
uc1d2 move.w #0,d0
 bra.s uc21e
uc1d8 move.w d5,d0
 move.w 8(a6),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w d4,d0
 move.w $a(a6),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 cmpi.w #1,d0
 bgt uc080
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $37e(a5)
 addq.l #8,a7
uc21e movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
uc226 link a6,#-$12
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.b -$338c(a4),d0
 beq.s uc25e
 move.w 2(a2),d0
 and.w #$800,d0
 bne.s uc25e
 move.w #0,d0
 bra uc388
uc25e move.w 2(a2),d0
 and.w #4,d0
 beq.s uc26c
 bra uc322
uc26c clr.w d4
 move.b 5(a3),d4
 muls #$10,d4
 movea.l -$32d2(a4),a0
 adda.w d4,a0
 clr.w d4
 move.b 2(a0),d4
 tst.w $c(a6)
 bge.s uc2e0
 clr.w d6
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,$c(a6)
 bra.s uc2d8
uc29a move.w d4,d7
 move.w $c(a6),d1
 asl.w #1,d1
 lsr.w d1,d7
 and.w #3,d7
 move.w d6,d5
 bra.s uc2be
uc2ac move.w d5,d0
 asl.l #1,d0
 lea -8(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 cmp.w d7,d0
 bne.s uc2be
 bra.s uc2d4
uc2be move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne.s uc2ac
 move.w d6,d0
 addq.w #1,d6
 asl.l #1,d0
 lea -8(a6),a0
 adda.w d0,a0
 move.w d7,(a0)
uc2d4 subq.w #1,$c(a6)
uc2d8 tst.w $c(a6)
 bge.s uc29a
 bra.s uc2f6
uc2e0 move.w d4,d0
 move.w $c(a6),d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
 move.w d0,-8(a6)
 move.w #1,d6
uc2f6 bra uc37a
uc2fa move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d6,d0
 asl.l #1,d0
 lea -8(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr $36c(a5)
 adda.w #$a,a7
 tst.w d0
 beq.s uc37a
uc322 move.w $e(a2),d5
 and.w #$f,d5
 move.w 2(a2),d0
 and.w #$1000,d0
 bne.s uc33c
 move.w -$2db2(a4),d0
 asr.w #1,d0
 sub.w d0,d5
uc33c move.w d5,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-$12(a6)
 move.w -$32de(a4),d0
 cmp.w -$12(a6),d0
 bls.s uc35c
 move.w #0,d0
 bra.s uc388
uc35c pea ube7e(pc)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr ubf74(pc)
 adda.w #$c,a7
 bra.s uc388
uc37a move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne uc2fa
 move.w #0,d0
uc388 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
uc390 link a6,#-$a
 movem.l d6-d7,-(a7)
 movea.l 8(a6),a0
 move.w $e(a0),d0
 lsr.w #8,d0
 and.w #$f,d0
 move.w d0,d7
 bne.s uc3b2
 move.w #0,d0
 bra uc45e
uc3b2 move.w d7,d0
 addq.w #1,d0
 lsr.w #1,d0
 cmp.w -$32de(a4),d0
 bcs.s uc3ec
 pea ubf24(pc)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr ubf74(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s uc3ec
 move.w -$32e2(a4),-$329c(a4)
 move.w -$32e0(a4),d0
 addq.w #1,d0
 bra.s uc45e
uc3ec move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $4bc(a5)
 addq.l #4,a7
 move.w d0,d6
 beq.s uc45a
 jsr $9c(a5)
 move.w d0,-$a(a6)
 lea -$33a5(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 add.w -$a(a6),d0
 move.w #$1e,d1
 move.w d7,d2
 asl.w #1,d2
 sub.w d2,d1
 cmp.w d1,d0
 bls.s uc45a
 move.w d6,d0
 asl.l #1,d0
 lea -$33d4(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #$3e0,d0
 lsr.w #5,d0
 move.w d0,-(a7)
 move.w d6,d0
 asl.l #1,d0
 lea -$33d4(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #$1f,d0
 move.w d0,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $34e(a5)
 addq.l #8,a7
 addq.w #1,d0
 bra.s uc45e
uc45a move.w #0,d0
uc45e movem.l (a7)+,d6-d7
 unlk a6
 rts
uc466 link a6,#-2
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $10(a6),d0
 lea -$32e6(a4),a0
 adda.w d0,a0
 move.b #1,(a0)
 move.w #$fffe,-$32f0(a4)
 clr.w -$32f2(a4)
 clr.w -$32f4(a4)
 clr.w d0
 move.b 6(a3),d0
 cmp.w #$ff,d0
 bne.s uc4a2
 move.w #0,d0
 bra uc728
uc4a2 pea $e(a6)
 pea $c(a6)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w $10(a6),-(a7)
 jsr u9646(pc)
 adda.w #$e,a7
 move.w $c(a6),d7
 move.w $e(a6),d6
 tst.w d7
 sge d0
 tst.b d0
 beq.s uc4d6
 move.w d7,d0
 cmp.w -$28bc(a4),d0
 slt d0
 tst.b d0
uc4d6 tst.b d0
 beq.s uc4ee
 tst.w d6
 sge d0
 tst.b d0
 beq.s uc4ec
 move.w d6,d0
 cmp.w -$28be(a4),d0
 slt d0
 tst.b d0
uc4ec tst.b d0
uc4ee tst.b d0
 beq.s uc510
 move.w d7,d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 lsr.w #5,d0
 move.w d0,d4
 tst.w d0
 sne d0
 tst.b d0
uc510 tst.b d0
 beq.s uc51c
 cmpi.w #3,d4
 sne d0
 tst.b d0
uc51c tst.b d0
 beq.s uc558
 cmpi.w #2,d4
 sne d0
 tst.b d0
 bne.s uc53a
 move.w d5,d0
 and.w #1,d0
 beq.s uc536
 move.w $12(a6),d0
uc536 sne d0
 tst.b d0
uc53a tst.b d0
 bne.s uc548
 move.w d5,d0
 and.w #8,d0
 seq d0
 tst.b d0
uc548 tst.b d0
 bne.s uc554
 move.w 2(a3),d0
 and.w #$20,d0
uc554 sne d0
 tst.b d0
uc558 tst.b d0
 beq.s uc584
 cmpi.w #6,d4
 sne d0
 tst.b d0
 bne.s uc56c
 move.w d5,d0
 and.w #4,d0
uc56c sne d0
 tst.b d0
 bne.s uc582
 move.w d5,d0
 and.w #1,d0
 beq.s uc57e
 move.w $12(a6),d0
uc57e sne d0
 tst.b d0
uc582 tst.b d0
uc584 tst.b d0
 seq d0
 and.w #1,d0
 move.w d0,-$32ee(a4)
 beq.s uc59a
 move.w #0,d0
 bra uc728
uc59a move.w 2(a3),d0
 and.w #$2000,d0
 beq.s uc61a
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u9ab8(pc)
 addq.l #4,a7
 move.w d0,-2(a6)
 bra.s uc612
uc5b4 move.w -2(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 bne.s uc604
 move.w -2(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a2
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f,d0
 cmpi.w #$32,d0
 bne.s uc604
 move.w $10(a6),d0
 lea -$32ea(a4),a0
 adda.w d0,a0
 move.b #1,(a0)
 addq.w #1,-$32ec(a4)
 move.w #1,-$32ee(a4)
 move.w #0,d0
 bra uc728
uc604 move.w -2(a6),-(a7)
 jsr u9a26(pc)
 addq.l #2,a7
 move.w d0,-2(a6)
uc612 cmpi.w #$fffe,-2(a6)
 bne.s uc5b4
uc61a cmpi.w #5,d4
 bne.s uc67c
 move.w d5,d0
 and.w #8,d0
 beq.s uc67c
 move.w $10(a3),d0
 lsr.w #4,d0
 lsr.w #8,d0
 cmpi.w #$a,d0
 bcs.s uc67c
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u99d8(pc)
 addq.l #4,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$6000,d0
 lsr.w #5,d0
 lsr.w #8,d0
 and.w #1,d0
 beq.s uc67c
 move.w 4(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 move.w d0,-(a7)
 move.w -$32dc(a4),-(a7)
 jsr u9178(pc)
 addq.l #4,a7
 tst.w d0
 bne.s uc67c
 move.w #1,-$32ee(a4)
 move.w #0,d0
 bra uc728
uc67c move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 seq d0
 tst.b d0
 beq.s uc694
 move.w d7,d0
 cmp.w -$2db6(a4),d0
 seq d0
 tst.b d0
uc694 tst.b d0
 beq.s uc6a2
 move.w d6,d0
 cmp.w -$2db8(a4),d0
 seq d0
 tst.b d0
uc6a2 and.w #1,d0
 move.w d0,-$32f4(a4)
 beq.s uc6b2
 move.w #0,d0
 bra.s uc728
uc6b2 cmpi.w #4,d4
 bne.s uc710
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr u99d8(pc)
 addq.l #4,a7
 movea.l d0,a2
 move.w d5,d0
 and.w #7,d0
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$20,d1
 lsr.w #5,d1
 beq.s uc6e6
 move.w 2(a3),d1
 lsr.w #7,d1
 and.w #3,d1
 bra.s uc6ea
uc6e6 move.w #1,d1
uc6ea cmp.w d1,d0
 bls.s uc710
 move.w d5,d0
 and.w #7,d0
 cmpi.w #5,d0
 beq.s uc710
 move.w 2(a3),d0
 and.w #$40,d0
 bne.s uc710
 move.w #1,-$32f2(a4)
 move.w #0,d0
 bra.s uc728
uc710 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,-$32f0(a4)
 cmpi.w #$fffe,d0
 seq d0
 and.w #1,d0
uc728 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
uc730 link a6,#0
 move.w d7,-(a7)
 clr.w d7
 bra.s uc76a
uc73a lea -$32e6(a4),a0
 adda.w d7,a0
 move.b (a0),d0
 bne.s uc768
 move.w $10(a6),-(a7)
 move.w d7,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s uc768
 move.w d7,d0
 addq.w #1,d0
 bra.s uc774
uc768 addq.w #1,d7
uc76a cmpi.w #3,d7
 ble.s uc73a
 move.w #0,d0
uc774 move.w (a7)+,d7
 unlk a6
 rts
uc77a link a6,#0
 move.w d7,-(a7)
 move.w $10(a6),d7
 move.w d7,d0
 lea -$32ea(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 beq.s uc796
 move.w #0,d0
 bra.s uc7da
uc796 move.w d7,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w $c(a6),d0
 add.w d1,d0
 move.w d0,$c(a6)
 move.w d7,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w $e(a6),d0
 add.w d1,d0
 move.w d0,$e(a6)
 clr.w -(a7)
 move.w d7,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr uc466(pc)
 adda.w #$c,a7
uc7da move.w (a7)+,d7
 unlk a6
 rts
uc7e0 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w $10(a6),d0
 beq.s uc80e
 move.l -$2dc6(a4),d0
 cmp.l -$334a(a4),d0
 bne.s uc80e
 move.l a3,d0
 cmp.l -$334e(a4),d0
 bne.s uc80e
 bra.s uc888
uc80e clr.w d0
 move.b 2(a3),d0
 move.w d0,d5
 move.w d6,d1
 asl.w #1,d1
 lsr.w d1,d0
 and.w #3,d0
 sub.w d7,d0
 and.w #3,d0
 cmpi.w #2,d0
 bne.s uc84e
 jsr $90(a5)
 and.w #2,d0
 add.w d7,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,d7
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d5,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,d5
 bra.s uc85c
uc84e move.w d7,-(a7)
 move.w d6,-(a7)
 move.w d5,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,d5
uc85c move.w $10(a6),d0
 beq.s uc882
 move.w d7,-(a7)
 move.w d6,d0
 move.w #1,d3
 eor.w d3,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.w d0,d5
 move.l -$2dc6(a4),-$334a(a4)
 move.l a3,-$334e(a4)
uc882 move.w d5,d0
 move.b d0,2(a3)
uc888 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
uc890 link a6,#0
 movem.l d6-d7,-(a7)
 move.w $e(a6),d7
 move.w d7,d6
 beq.s uc8aa
 cmpi.w #1,$10(a6)
 seq d6
 tst.b d6
uc8aa sne d6
 and.w #1,d6
 beq.s uc8b4
 subq.w #1,d7
uc8b4 move.w d7,d0
 beq.s uc8c0
 jsr $84(a5)
 tst.w d0
 beq.s uc8d4
uc8c0 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr uc7e0(pc)
 adda.w #$a,a7
uc8d4 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne.s uc8b4
 movem.l (a7)+,d6-d7
 unlk a6
 rts
uc8e4 link a6,#-$14
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.l -$2dc6(a4),-$3296(a4)
 clr.w d0
 move.b 5(a3),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -$14(a6),a0
 moveq #7,d0
 jsr $c6(a5)
 clr.w d0
 move.b 4(a3),d0
 move.w d0,d7
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w -$32e0(a4),d6
 clr.w d0
 move.b -$11(a6),d0
 move.w d0,d5
 cmpi.w #$ff,d0
 bne.s uc942
 jsr $84(a5)
 move.w d0,d5
 bra.s uc95c
uc942 move.w d5,d0
 move.w $10(a6),d1
 asl.w #1,d1
 asr.w d1,d0
 and.w #3,d0
 addq.w #5,d0
 sub.w d6,d0
 and.w #2,d0
 lsr.w #1,d0
 move.w d0,d5
uc95c add.w d6,d5
 and.w #3,d5
 move.w $e(a2),d0
 lsr.w #4,d0
 lsr.w #8,d0
 cmpi.w #1,d0
 bls uca96
 cmpi.w #1,-$32de(a4)
 bhi.s uc984
 jsr $84(a5)
 tst.w d0
 beq uca96
uc984 move.w d7,d0
 cmp.w #$e,d0
 beq.s uc994
 cmp.w #$17,d0
 beq.s uc994
 bra.s uc9dc
uc994 jsr $84(a5)
 tst.w d0
 beq.s uc9a2
 move.w #$ff80,d7
 bra.s uc9da
uc9a2 jsr $9c(a5)
 tst.w d0
 beq.s uc9ac
 bra.s uc9b2
uc9ac move.w #$ff83,d7
 bra.s uc9da
uc9b2 cmp.w #1,d0
 beq.s uc9ba
 bra.s uc9c0
uc9ba move.w #$ff82,d7
 bra.s uc9da
uc9c0 cmp.w #2,d0
 beq.s uc9c8
 bra.s uc9ce
uc9c8 move.w #$ff87,d7
 bra.s uc9da
uc9ce cmp.w #3,d0
 beq.s uc9d6
 bra.s uc9da
uc9d6 move.w #$ff84,d7
uc9da bra.s uca32
uc9dc cmp.w #1,d0
 beq.s uc9e4
 bra.s uc9ea
uc9e4 move.w #$ff81,d7
 bra.s uca32
uc9ea cmp.w #3,d0
 beq.s uc9f2
 bra.s uca08
uc9f2 jsr $90(a5)
 and.w #7,d0
 beq.s uca02
 move.w #$ff82,d7
 bra.s uca06
uca02 move.w #$ff84,d7
uca06 bra.s uca32
uca08 cmp.w #$13,d0
 beq.s uca10
 bra.s uca20
uca10 jsr $84(a5)
 tst.w d0
 beq.s uca1e
 move.w #$ff87,d7
 bra.s uca32
uca1e bra.s uca2e
uca20 cmp.w #$16,d0
 beq.s uca2e
 cmp.w #$18,d0
 beq.s uca2e
 bra.s uca32
uca2e move.w #$ff80,d7
uca32 clr.w d4
 move.b $a(a2),d4
 asr.w #2,d4
 addq.w #1,d4
 jsr $90(a5)
 and.l #$ffff,d0
 divu d4,d0
 swap d0
 add.w d0,d4
 jsr $90(a5)
 and.l #$ffff,d0
 divu d4,d0
 swap d0
 add.w d0,d4
 move.w #8,-(a7)
 clr.w d0
 move.b $c(a2),d0
 move.w d0,-(a7)
 move.w #$ff,-(a7)
 move.w d4,-(a7)
 move.w #$14,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.w d0,-(a7)
 move.w -$32e0(a4),-(a7)
 move.w d5,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w d7,-(a7)
 jsr $3a8(a5)
 adda.w #$10,a7
 bra ucb56
uca96 move.w 2(a2),d0
 and.w #$10,d0
 beq.s ucadc
 jsr $9c(a5)
 move.w d0,d5
 clr.w d4
 bra.s ucab6
ucaaa move.w d5,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,d5
 addq.w #1,d4
ucab6 cmpi.w #4,d4
 bge.s ucacc
 move.w d5,d0
 muls #$320,d0
 lea -$402e(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 beq.s ucaaa
ucacc cmpi.w #4,d4
 bne.s ucada
 move.w #0,d0
 bra ucb84
ucada bra.s ucafa
ucadc move.w d5,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $438(a5)
 addq.l #6,a7
 move.w d0,d5
 tst.w d0
 bge.s ucafa
 move.w #0,d0
 bra ucb84
ucafa cmpi.w #2,d7
 bne.s ucb0c
 move.w d5,-(a7)
 move.l a3,-(a7)
 jsr ubc36(pc)
 addq.l #6,a7
 bra.s ucb56
ucb0c move.w d5,-(a7)
 move.l a3,-(a7)
 jsr $3d8(a5)
 addq.l #6,a7
 addq.w #1,d0
 move.w d0,d4
 move.w d5,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-4(a6)
 move.w d4,d0
 movea.l -4(a6),a0
 clr.w d1
 move.b $29(a0),d1
 cmp.w d1,d0
 ble.s ucb56
 move.w d4,d0
 movea.l -4(a6),a0
 move.b d0,$29(a0)
 move.w d6,d0
 addq.w #2,d0
 and.w #3,d0
 movea.l -4(a6),a0
 move.b d0,$28(a0)
ucb56 clr.w d4
 move.b 1(a2),d4
 beq.s ucb80
 move.w #1,-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 subq.w #1,d4
 move.w d4,d0
 lea -$25c8(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr $120(a5)
 addq.l #8,a7
ucb80 move.w #1,d0
ucb84 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ucb8c link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 move.l $c(a6),d7
 move.l d7,d0
 move.l (a3),d1
 and.l #$ffffff,d1
 cmp.l d1,d0
 bge.s ucbca
 subq.b #5,4(a3)
 move.l (a3),d0
 and.l #$ffffff,d0
 sub.l d7,d0
 move.b d0,8(a3)
 move.l (a3),d0
 and.l #$ff000000,d0
 or.l d7,d0
 move.l d0,(a3)
 bra.s ucbda
ucbca move.l d7,d0
 move.l (a3),d1
 and.l #$ffffff,d1
 sub.l d1,d0
 move.b d0,8(a3)
ucbda move.l a3,-(a7)
 jsr $366(a5)
 addq.l #4,a7
 movem.l (a7)+,d7/a3
 unlk a6
 rts
ucbea link a6,#-$6e
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 beq.s ucc26
 move.w $c(a6),d0
 move.w d0,d5
 cmpi.w #$25,d0
 beq.s ucc26
 cmpi.w #$20,d5
 beq.s ucc26
 cmpi.w #$26,d5
 beq.s ucc26
 cmpi.w #$21,d5
 beq.s ucc26
 bra udd0e
ucc26 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uab92(pc)
 addq.l #4,a7
 move.w d0,-$1c(a6)
 cmpi.w #$fffe,d0
 bne.s ucc3e
 bra udd0e
ucc3e move.w -$1c(a6),-(a7)
 jsr u99a8(pc)
 addq.l #2,a7
 movea.l d0,a3
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -$1a(a6),a0
 moveq #$c,d0
 jsr $c6(a5)
 move.l -$2dc6(a4),d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$46(a6)
 move.w #$ff,d0
 clr.w d3
 move.b -$14(a6),d3
 sub.w d3,d0
 move.b d0,-$41(a6)
 move.w d7,d0
 move.b d0,-$40(a6)
 move.w d6,d0
 move.b d0,-$3f(a6)
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 beq ucd6a
 clr.w -(a7)
 jsr $9c(a5)
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s ucd28
 move.w d7,-$1e(a6)
 move.w d6,-$20(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$1e(a6),d0
 add.w d1,d0
 move.w d0,-$1e(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$20(a6),d0
 add.w d1,d0
 move.w d0,-$20(a6)
 move.w -$20(a6),-(a7)
 move.w -$1e(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -$1c(a6),-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 tst.w d0
 beq.s ucd18
 bra udd0e
ucd18 move.w -$3350(a4),d0
 move.b d0,-$40(a6)
 move.w -$3352(a4),d0
 move.b d0,-$3f(a6)
ucd28 move.b #$25,-$42(a6)
 clr.w d0
 move.b -$14(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w -$28ba(a4),d0
 sub.w -$2dbc(a4),d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 asl.w #4,d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d5
ucd54 move.w d5,d0
 ext.l d0
 add.l d0,-$46(a6)
 pea -$46(a6)
 jsr $366(a5)
 addq.l #4,a7
 bra udd0e
ucd6a move.w -$18(a6),d0
 and.w #$2000,d0
 move.w d0,-$38(a6)
 beq.s ucd90
 move.w -$2dae(a4),d0
 beq.s ucd82
 bra udd0e
ucd82 clr.w -$32ec(a4)
 lea -$32ea(a4),a0
 move.l a0,d0
 movea.l d0,a0
 clr.l (a0)
ucd90 clr.w d0
 move.b 5(a3),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.l -$2dc6(a4),d0
 and.w #$ff,d0
 clr.w d3
 move.b 4(a2),d3
 sub.w d3,d0
 move.w d0,-$36(a6)
 tst.w d0
 bge.s ucdc2
 addi.w #$100,-$36(a6)
ucdc2 clr.w d0
 move.b -$14(a6),d0
 move.w d0,-$34(a6)
 cmpi.w #$ff,d0
 bne.s ucdd8
 move.w #$64,-$34(a6)
ucdd8 move.b -$33d7(a4),d0
 beq.s uce06
 move.w -$38(a6),d0
 bne.s uce06
 tst.w $c(a6)
 bge.s ucdee
 bra udd0e
ucdee move.w $c(a6),d0
 move.b d0,-$42(a6)
 move.w $e(a6),d0
 move.b d0,-$3e(a6)
 move.w #4,d5
 bra ucd54
uce06 tst.w $c(a6)
 bge.s uce3c
 move.w $c(a6),d0
 add.w #$20,d0
 move.b d0,-$42(a6)
 cmpi.w #$ffff,$c(a6)
 beq.s uce34
 move.w -$34(a6),d0
 addq.w #2,d0
 asr.w #2,d0
 sub.w -$36(a6),d0
 move.w d0,d5
 cmpi.w #1,d0
 bge.s uce38
uce34 move.w #1,d5
uce38 bra ucd54
uce3c move.w $e(a3),d4
 and.w #$f,d4
 move.w $e(a3),d0
 and.w #$60,d0
 lsr.w #5,d0
 move.w d0,-$32(a6)
 move.w -$18(a6),d0
 and.w #3,d0
 move.w d0,-$30(a6)
 move.w d7,d0
 sub.w -$2db6(a4),d0
 move.w d0,d5
 tst.w d0
 bge.s uce70
 move.w d5,d0
 neg.w d0
 bra.s uce72
uce70 move.w d5,d0
uce72 move.w d0,-$1e(a6)
 move.w d6,d0
 sub.w -$2db8(a4),d0
 move.w d0,d5
 tst.w d0
 bge.s uce88
 move.w d5,d0
 neg.w d0
 bra.s uce8a
uce88 move.w d5,d0
uce8a move.w d0,-$20(a6)
 move.w d7,-$32d8(a4)
 move.w d6,-$32da(a4)
 move.w -$1c(a6),-$32dc(a4)
 lea -$32e6(a4),a0
 move.l a0,d0
 movea.l d0,a0
 clr.l (a0)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $37e(a5)
 addq.l #8,a7
 move.w d0,-$32de(a4)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $34e(a5)
 addq.l #8,a7
 move.w d0,-$32e0(a4)
 move.w -$329c(a4),-$32e2(a4)
 clr.l -$3c(a6)
 move.w #1,-$28(a6)
 cmpi.w #$1f,$c(a6)
 bgt ucfc0
 move.w $c(a6),d0
 sub.w #$20,d0
 move.w d0,$c(a6)
 cmp.w #$ffff,d0
 beq.s ucf00
 bra.s ucf30
ucf00 cmpi.w #6,d4
 beq.s ucf1a
 cmpi.w #5,d4
 beq.s ucf1a
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uafe0(pc)
 addq.l #4,a7
 bra ud114
ucf1a move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 bra udd0e
 bra.s ucf38
ucf30 cmp.w #$fffe,d0
 beq.s ucf38
 bra.s ucfa2
ucf38 cmpi.w #6,d4
 beq.s ucf44
 cmpi.w #5,d4
 bne.s ucf48
ucf44 bra udd0e
ucf48 cmpi.w #3,d4
 seq d0
 tst.b d0
 bne.s ucf5a
 cmpi.w #2,d4
 seq d0
 tst.b d0
ucf5a and.w #1,d0
 move.w d0,d5
 bne.s ucf6a
 jsr $9c(a5)
 tst.w d0
 beq.s ucfa0
ucf6a move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ucf90
 move.w #0,d0
 move.w d0,-$24(a6)
 move.w d0,-$2e(a6)
 bra ud452
ucf90 move.w d5,d0
 bne.s ucf9c
 jsr $9c(a5)
 tst.w d0
 beq.s ucfa0
ucf9c bra udd0e
ucfa0 bra.s ucfaa
ucfa2 cmp.w #$fffd,d0
 beq.s ucfaa
 bra.s ucfc0
ucfaa cmpi.w #6,d4
 seq d0
 and.w #1,d0
 move.w d0,-$2e(a6)
 clr.w -$24(a6)
 bra ud2a2
ucfc0 cmpi.w #$25,$c(a6)
 bge ud0ae
 move.w $c(a6),d0
 addq.w #5,d0
 move.b d0,-$42(a6)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s ud04c
 cmpi.w #6,d4
 beq.s ud03c
 cmpi.w #5,d4
 beq.s ud03c
 move.w -$2db6(a4),d0
 move.w d7,d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w -$2db8(a4),d0
 move.w d6,d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 cmpi.w #1,d0
 bgt.s ud028
 bra ud114
ud028 tst.w d4
 beq.s ud032
 cmpi.w #3,d4
 bne.s ud03c
ud032 cmpi.w #7,d4
 beq.s ud03c
 bra ud23e
ud03c move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
ud04c cmpi.w #6,d4
 bne.s ud07c
 move.w $c(a6),d5
 sub.w #$21,d5
 lea $c(a2),a0
 adda.w d5,a0
 clr.w d0
 move.b (a0),d0
 and.w #$80,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
 move.l d0,-$3c(a6)
 bra udcdc
ud07c cmpi.w #3,-$1e(a6)
 bgt.s ud08c
 cmpi.w #3,-$20(a6)
 ble.s ud0aa
ud08c move.l -$2dc6(a4),d0
 move.w -6(a6),d1
 lsr.w #4,d1
 and.w #$f,d1
 and.l #$ffff,d1
 add.l d1,d0
 move.l d0,-$3c(a6)
 bra udcdc
ud0aa bra udcc4
ud0ae clr.w -$28(a6)
 move.w $e(a6),d0
 beq.s ud0be
 move.l -$2dc6(a4),-$3c(a6)
ud0be cmpi.w #$25,$c(a6)
 bne ud894
 tst.w d4
 beq.s ud0da
 cmpi.w #2,d4
 beq.s ud0da
 cmpi.w #3,d4
 bne ud4b4
ud0da move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 move.w d0,-$22(a6)
 beq ud26e
 move.w -$22(a6),d0
 move.w -$c(a6),d1
 lsr.w #4,d1
 lsr.w #8,d1
 cmp.w d1,d0
 bhi ud238
 move.w -$1e(a6),d0
 beq.s ud114
 move.w -$20(a6),d0
 bne ud238
ud114 cmpi.w #$fffe,$c(a6)
 bne.s ud126
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uafe0(pc)
 addq.l #4,a7
ud126 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 move.w #6,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 move.w -$32e0(a4),d5
 move.w -$32(a6),d4
 bra ud22e
ud156 move.b 2(a2),d0
 move.w d4,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 cmp.w d5,d0
 beq.s ud1cc
 move.w d4,d0
 beq.s ud178
 jsr $84(a5)
 tst.w d0
 bne.s ud1cc
ud178 move.w -$32(a6),d0
 beq.s ud188
 cmpi.w #1,-$30(a6)
 seq d0
 tst.b d0
ud188 sne d0
 and.w #1,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 move.w d5,-(a7)
 move.l a2,-(a7)
 jsr uc7e0(pc)
 adda.w #$a,a7
 jsr $9c(a5)
 move.l d0,d1
 move.w d1,-$50(a6)
 move.l -$2dc6(a4),d1
 move.w -$50(a6),d3
 and.l #$ffff,d3
 add.l d3,d1
 addq.l #2,d1
 move.l -$46(a6),d0
 and.l #$ff000000,d0
 or.l d1,d0
 move.l d0,-$46(a6)
 bra.s ud1e2
ud1cc move.l -$46(a6),d0
 and.l #$ff000000,d0
 move.l -$2dc6(a4),d1
 addq.l #1,d1
 or.l d1,d0
 move.l d0,-$46(a6)
ud1e2 move.w -$28(a6),d0
 beq.s ud20a
 move.w $e(a6),-(a7)
 jsr $9c(a5)
 move.l d0,d1
 clr.w d0
 move.b -$13(a6),d0
 asr.w #1,d0
 add.w d1,d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 ext.l d0
 add.l d0,-$46(a6)
ud20a move.w #$26,d0
 add.w d4,d0
 move.b d0,-$42(a6)
 clr.w -(a7)
 move.w d4,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
 move.l d0,-(a7)
 pea -$46(a6)
 jsr ucb8c(pc)
 addq.l #8,a7
 subq.w #1,d4
ud22e tst.w d4
 bge ud156
 bra udd0e
ud238 cmpi.w #2,d4
 beq.s ud26a
ud23e move.w #7,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 addq.l #1,-$46(a6)
 bra udcbe
ud26a bra ud4b0
ud26e tst.w d4
 bne ud4b0
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc390(pc)
 addq.l #8,a7
 move.w d0,-$26(a6)
 beq.s ud294
 subq.w #1,-$26(a6)
 clr.w -$2a(a6)
 bra ud580
ud294 clr.w -$24(a6)
 jsr $84(a5)
 tst.w d0
 beq ud3f0
ud2a2 jsr $9c(a5)
 move.w d0,d5
 move.w d5,d4
 clr.w -$2c(a6)
ud2ae move.w d7,-$1e(a6)
 move.w d6,-$20(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$1e(a6),d0
 add.w d1,d0
 move.w d0,-$1e(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$20(a6),d0
 add.w d1,d0
 move.w d0,-$20(a6)
 clr.w d0
 move.b 8(a2),d0
 cmp.w -$1e(a6),d0
 bne.s ud30e
 clr.w d0
 move.b 9(a2),d0
 cmp.w -$20(a6),d0
 bne.s ud30e
 jsr $9c(a5)
 tst.w d0
 seq d0
 and.w #1,d0
 move.w d0,-$2c(a6)
 beq ud392
ud30e clr.w -(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s ud392
ud326 move.w -$34(a6),d0
 asr.w #1,d0
 sub.w -$36(a6),d0
 move.w d0,d4
 tst.w d0
 sle d0
 and.w #1,d0
 move.w d0,-$24(a6)
 beq.s ud386
 move.w -$20(a6),-(a7)
 move.w -$1e(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -$1c(a6),-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 tst.w d0
 beq.s ud360
 bra udd0e
ud360 move.w -$3350(a4),d0
 move.b d0,-$40(a6)
 move.w -$3352(a4),d0
 move.b d0,-$3f(a6)
 move.w d7,d0
 move.b d0,8(a2)
 move.w d6,d0
 move.b d0,9(a2)
 move.l -$2dc6(a4),d0
 move.b d0,4(a2)
 bra.s ud390
ud386 move.w d4,-$34(a6)
 move.w #$ffff,-$36(a6)
ud390 bra.s ud3f0
ud392 move.w -$32f4(a4),d0
 beq.s ud3e0
 cmpi.w #$fffd,$c(a6)
 beq.s ud3d0
 move.w $e(a3),d0
 and.w #$f,d0
 cmpi.w #5,d0
 bne.s ud3cc
 clr.w -(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc730(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s ud3cc
 jsr $84(a5)
 tst.w d0
 beq.s ud3d0
ud3cc bra ud114
ud3d0 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
ud3e0 move.w d5,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,d5
 cmp.w d4,d0
 bne ud2ae
ud3f0 move.w -$24(a6),d0
 bne.s ud42a
 cmpi.w #$ffff,-$36(a6)
 beq.s ud42a
 move.w -$38(a6),d0
 beq.s ud42a
 cmpi.w #$fffd,$c(a6)
 beq.s ud414
 jsr $9c(a5)
 tst.w d0
 bne.s ud42a
ud414 jsr $9c(a5)
 move.w d0,-$26(a6)
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-$329c(a4)
 bra ud660
ud42a move.w -$24(a6),d0
 bne.s ud452
 jsr $9c(a5)
 tst.w d0
 beq.s ud44a
 move.w -$22(a6),d0
 move.w -$c(a6),d1
 lsr.w #8,d1
 and.w #$f,d1
 cmp.w d1,d0
 bhi.s ud478
ud44a cmpi.w #$fffd,$c(a6)
 beq.s ud478
ud452 move.w -$24(a6),d0
 bne.s ud464
 tst.w -$36(a6)
 blt.s ud464
 jsr $9c(a5)
 move.w d0,d5
ud464 move.w -$30(a6),-(a7)
 move.w -$32(a6),-(a7)
 move.w d5,-(a7)
 move.l a2,-(a7)
 jsr uc890(pc)
 adda.w #$a,a7
ud478 cmpi.w #$ffff,$c(a6)
 bge.s ud4b0
 move.w -$24(a6),d0
 bne.s ud48a
 bra udd0e
ud48a move.w -$2e(a6),d0
 beq.s ud4a4
 move.w #7,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
ud4a4 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr ub050(pc)
 addq.l #8,a7
ud4b0 bra ud890
ud4b4 cmpi.w #7,d4
 bne ud76a
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 move.w d0,-$22(a6)
 beq.s ud524
 move.w -$22(a6),d0
 move.w -$c(a6),d1
 lsr.w #4,d1
 lsr.w #8,d1
 cmp.w d1,d0
 bhi.s ud4f4
 move.w -$1e(a6),d0
 beq.s ud4f0
 move.w -$20(a6),d0
 bne.s ud4f4
ud4f0 bra ud114
ud4f4 addq.w #1,-$34(a6)
 move.w -$34(a6),d0
 asr.w #1,d0
 move.w d0,-$34(a6)
 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 and.w #$ff,d0
 move.w d0,-$1e(a6)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 and.w #$ff,d0
 move.w d0,-$20(a6)
 bra.s ud564
ud524 clr.w d0
 move.b 6(a2),d0
 move.w d0,-$1e(a6)
 clr.w d0
 move.b 7(a2),d0
 move.w d0,-$20(a6)
 move.w d7,d0
 cmp.w -$1e(a6),d0
 bne.s ud564
 move.w d6,d0
 cmp.w -$20(a6),d0
 bne.s ud564
 clr.w -$24(a6)
 move.w #0,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 bra ud452
ud564 move.w #1,-$2a(a6)
ud56a move.w -$20(a6),-(a7)
 move.w -$1e(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $34e(a5)
 addq.l #8,a7
 move.w d0,-$26(a6)
ud580 move.w -$2a(a6),-(a7)
 move.w -$26(a6),d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 bne ud620
 move.w -$2a(a6),d0
 beq.s ud5ae
 jsr $84(a5)
 tst.w d0
ud5ae sne d0
 and.w #1,d0
 move.w d0,-(a7)
 move.w -$329c(a4),d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 bne.s ud620
 clr.w -(a7)
 move.w d5,d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 bne.s ud620
 jsr $9c(a5)
 tst.w d0
 bne.s ud658
 clr.w -(a7)
 move.w -$26(a6),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc466(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s ud658
ud620 move.w d7,-$1e(a6)
 move.w d6,-$20(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$1e(a6),d0
 add.w d1,d0
 move.w d0,-$1e(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$20(a6),d0
 add.w d1,d0
 move.w d0,-$20(a6)
 bra ud326
ud658 move.w -$38(a6),d0
 beq ud750
ud660 clr.w -(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc730(pc)
 adda.w #$a,a7
 move.w -$26(a6),d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc77a(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ud6fa
 move.w -$329c(a4),d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc77a(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ud6fa
 move.w -$32ec(a4),d0
 beq.s ud6d0
 move.w d5,d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc77a(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ud6fa
ud6d0 cmpi.w #2,-$32ec(a4)
 bcs.s ud750
 move.w -$26(a6),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc77a(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s ud750
ud6fa move.w d7,-$1e(a6)
 move.w d6,-$20(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 muls #2,d1
 move.w -$1e(a6),d0
 add.w d1,d0
 move.w d0,-$1e(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 muls #2,d1
 move.w -$20(a6),d0
 add.w d1,d0
 move.w d0,-$20(a6)
 move.w #1,-(a7)
 move.w -$20(a6),-(a7)
 move.w -$1e(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 bra ud326
ud750 move.w -$30(a6),-(a7)
 move.w -$32(a6),-(a7)
 move.w -$26(a6),-(a7)
 move.l a2,-(a7)
 jsr uc890(pc)
 adda.w #$a,a7
 bra ud890
ud76a cmpi.w #5,d4
 bne ud890
ud772 move.w #1,-$2a(a6)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 move.w d0,-$22(a6)
 beq.s ud7b4
 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 and.w #$ff,d0
 move.w d0,-$1e(a6)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 and.w #$ff,d0
 move.w d0,-$20(a6)
 bra ud858
ud7b4 and.w #$ff,d0
 subq.b #1,5(a2)
 move.b 5(a2),d0
 bne.s ud7de
ud7c2 clr.w -$24(a6)
 move.w #0,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 bra ud452
ud7de jsr $84(a5)
 tst.w d0
 beq.s ud844
 clr.w -(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$1a(a6)
 jsr uc730(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ud82c
 move.w d7,d0
 move.w -$2db6(a4),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w d6,d0
 move.w -$2db8(a4),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 cmpi.w #1,d0
 bgt.s ud82c
 bra.s ud7c2
ud82c clr.w d0
 move.b $a(a2),d0
 move.w d0,-$1e(a6)
 clr.w d0
 move.b $b(a2),d0
 move.w d0,-$20(a6)
 bra ud56a
ud844 clr.w d0
 move.b 6(a2),d0
 move.w d0,-$1e(a6)
 clr.w d0
 move.b 7(a2),d0
 move.w d0,-$20(a6)
ud858 move.w -$20(a6),-(a7)
 move.w -$1e(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $34e(a5)
 addq.l #8,a7
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-$26(a6)
 move.w -$329c(a4),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-$329c(a4)
 move.w -$34(a6),d0
 asr.w #2,d0
 sub.w d0,-$34(a6)
 bra ud580
ud890 bra udca2
ud894 cmpi.w #5,d4
 bne.s ud8b0
 move.w -$32(a6),d0
 beq.s ud8ac
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr ub050(pc)
 addq.l #8,a7
ud8ac bra ud772
ud8b0 move.w $c(a6),d0
 sub.w #$26,d0
 move.w d0,d4
 lea $c(a2),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #$80,d0
 beq.s ud918
 clr.w -(a7)
 move.w d4,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
 move.l d0,-$3c(a6)
 jsr $9c(a5)
 move.w d0,-$5a(a6)
 clr.w d0
 move.b -$13(a6),d0
 move.w d0,d4
 add.w -$5a(a6),d0
 subq.w #1,d0
 and.l #$ffff,d0
 add.l d0,-$46(a6)
 cmpi.w #$f,d4
 ble.s ud914
 jsr $90(a5)
 and.w #7,d0
 subq.w #2,d0
 and.l #$ffff,d0
 add.l d0,-$46(a6)
ud914 bra udc98
ud918 move.w d4,d0
 cmp.w -$32(a6),d0
 bls.s ud924
 bra udd0e
ud924 move.w -$32e0(a4),-$26(a6)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 move.w d0,-$22(a6)
 beq.s ud950
 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
ud950 move.w -$32(a6),d0
 bne ud9f6
 cmpi.w #2,-$30(a6)
 beq ud9f6
 jsr $90(a5)
 move.w d0,d5
 and.w #$c0,d0
 bne ud9f6
 clr.w d0
 move.b 3(a2),d0
 cmp.w #$ff,d0
 beq.s ud9b0
 move.w d5,d0
 and.w #$38,d0
 beq.s ud98c
 move.b #$ff,3(a2)
 bra.s ud9b0
ud98c clr.w d0
 move.b 3(a2),d0
 and.w #3,d0
 move.w d5,d1
 and.w #1,d1
 beq.s ud9a4
 move.w #1,d1
 bra.s ud9a8
ud9a4 move.w #$ffff,d1
ud9a8 add.w d1,d0
 and.w #3,d0
 move.w d0,d5
ud9b0 move.w d5,d0
 and.w #$38,d0
 bne.s ud9f6
 cmpi.w #1,-$22(a6)
 beq.s ud9f6
 tst.w -$30(a6)
 bne.s ud9f6
 clr.w d0
 move.b 3(a2),d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 jsr $3b4(a5)
 addq.l #8,a7
 tst.w d0
 beq.s ud9ec
 cmpi.w #2,-$329e(a4)
 bne.s ud9ec
 bra udd0e
ud9ec move.w d5,d0
 and.w #3,d0
 move.b d0,3(a2)
ud9f6 move.w -$22(a6),d0
 beq udc0c
 move.w -$18(a6),d0
 and.w #4,d0
 bne.s uda22
 move.b 2(a2),d0
 move.w d4,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 cmp.w -$26(a6),d0
 bne udc0c
uda22 move.w -$22(a6),d0
 move.w -$c(a6),d1
 lsr.w #4,d1
 lsr.w #8,d1
 move.w d1,d5
 cmp.w d1,d0
 bgt udbde
 move.w -$1e(a6),d0
 beq.s uda44
 move.w -$20(a6),d0
 bne udbde
uda44 jsr $90(a5)
 and.w #$f,d0
 addq.w #1,d0
 move.w d0,-$64(a6)
 move.w d5,d0
 cmp.w -$64(a6),d0
 bhi udbde
 cmpi.w #1,d5
 bne udb9e
 move.w -$18(a6),d0
 move.w d0,d5
 and.w #8,d0
 beq.s uda82
 jsr $9c(a5)
 tst.w d0
 beq.s uda82
 move.w d5,d0
 and.w #$10,d0
 bne udb9e
uda82 tst.w -$30(a6)
 bne udb9e
 clr.w d0
 move.b 3(a2),d0
 cmp.w #$ff,d0
 beq udb9e
 move.b 3(a2),d0
 move.w d4,d1
 asl.w #1,d1
 and.w #$ff,d0
 asr.w d1,d0
 and.w #3,d0
 move.w d0,d5
 cmp.w -$26(a6),d0
 beq udb9e
 move.w d5,d0
 move.w -$26(a6),d1
 addq.w #1,d1
 and.w #3,d1
 cmp.w d1,d0
 beq udb9e
 move.w -$32(a6),d0
 bne.s udade
 jsr $84(a5)
 tst.w d0
 beq.s udade
 move.b #$ff,3(a2)
 bra udb70
udade move.w -$26(a6),d0
 and.w #1,d0
 move.w d5,d1
 and.w #1,d1
 cmp.w d1,d0
 bne.s udaf4
 subq.w #1,d5
 bra.s udaf6
udaf4 addq.w #1,d5
udaf6 move.w d5,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr uabd2(pc)
 addq.l #6,a7
 tst.w d0
 beq.s udb2c
 jsr $84(a5)
 tst.w d0
 beq.s udb70
 move.w d5,d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,d5
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr uabd2(pc)
 addq.l #6,a7
 tst.w d0
 bne.s udb70
udb2c clr.w d0
 move.b 3(a2),d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 jsr $3b4(a5)
 addq.l #8,a7
 tst.w d0
 beq.s udb52
 cmpi.w #2,-$329e(a4)
 bne.s udb52
 bra udd0e
udb52 cmpi.w #1,-$329e(a4)
 beq.s udb70
 move.w d5,-(a7)
 move.w d4,-(a7)
 clr.w d0
 move.b 3(a2),d0
 move.w d0,-(a7)
 jsr uad3c(pc)
 addq.l #6,a7
 move.b d0,3(a2)
udb70 jsr $84(a5)
 move.l d0,d1
 clr.w d0
 move.b -$14(a6),d0
 asr.w #1,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 ext.l d0
 add.l d0,-$46(a6)
 move.w $c(a6),d0
 move.b d0,-$42(a6)
 bra udcc4
udb9e move.w d4,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr uc8e4(pc)
 adda.w #$a,a7
 move.w d0,-(a7)
 move.w d4,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
 move.l d0,-$3c(a6)
 jsr $84(a5)
 move.w d0,-$6e(a6)
 move.w -6(a6),d0
 and.w #$f,d0
 add.w -$6e(a6),d0
 and.l #$ffff,d0
 add.l d0,-$46(a6)
 bra.s udc08
udbde move.w #7,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 move.w -$32(a6),d0
 beq.s udc04
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr ub050(pc)
 addq.l #8,a7
udc04 bra ud4f4
udc08 bra udc98
udc0c move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 move.l a3,-(a7)
 jsr uc226(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s udc6e
 move.w -$2db6(a4),d0
 move.b d0,6(a2)
 move.w -$2db8(a4),d0
 move.b d0,7(a2)
 move.w -$32(a6),d0
 beq.s udc42
 cmpi.w #1,-$30(a6)
 seq d0
 tst.b d0
udc42 sne d0
 and.w #1,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 move.w -$26(a6),-(a7)
 move.l a2,-(a7)
 jsr uc7e0(pc)
 adda.w #$a,a7
 addq.l #2,-$46(a6)
 move.l -$46(a6),d0
 and.l #$ffffff,d0
 move.l d0,-$3c(a6)
 bra.s udc98
udc6e move.w #7,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 move.w -$32(a6),d0
 beq.s udc94
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr ub050(pc)
 addq.l #8,a7
udc94 bra ud524
udc98 move.w $c(a6),d0
 move.b d0,-$42(a6)
 bra.s udcdc
udca2 jsr $9c(a5)
 add.w -$34(a6),d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 ext.l d0
 add.l d0,-$46(a6)
udcbe move.b #$25,-$42(a6)
udcc4 move.l -$3c(a6),d0
 bne.s udcdc
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.l a2,-(a7)
 jsr uad7c(pc)
 addq.l #8,a7
 move.l d0,-$3c(a6)
udcdc move.w -$28(a6),d0
 beq.s udcf2
 move.w $e(a6),d0
 and.l #$ffff,d0
 add.l d0,-$46(a6)
 bra.s udd00
udcf2 move.w $e(a6),d0
 and.l #$ffff,d0
 add.l d0,-$3c(a6)
udd00 move.l -$3c(a6),-(a7)
 pea -$46(a6)
 jsr ucb8c(pc)
 addq.l #8,a7
udd0e movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
udd16 link a6,#0
 move.l a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b (a3)+,d0
 cmp.w #7,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$50,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$41,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$43,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$45,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$2f,d0
 bne.s udd88
 clr.w d0
 move.b (a3)+,d0
 cmp.w #$46,d0
 bne.s udd88
 clr.w d0
 move.b (a3),d0
 cmp.w #$42,d0
 bne.s udd88
 clr.w d0
 move.b $1f7(a3),d0
 cmp.w #$46,d0
 bne.s udd88
 clr.w d0
 move.b $1f8(a3),d0
 cmp.w #$42,d0
 beq.s udd8e
udd88 move.w #0,d0
 bra.s udd96
udd8e addq.w #4,-$22bc(a4)
 move.w #4,d0
udd96 movea.l (a7)+,a3
 unlk a6
 rts
udd9c link a6,#0
 movea.l 8(a6),a0
 cmpi.w #$4ef9,(a0)
 bne.s uddae
 movea.l 2(a0),a0
uddae move.l a0,d0
 unlk a6
 rts
uddb4 link a6,#-$a
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w #$e,-(a7)
 jsr $228(a5)
 addq.l #2,a7
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s ude0e
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 beq.s ude0a
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d7,d0
 and.w #$3fff,d0
 move.w $e(a6),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
ude0a bra udefc
ude0e move.w d6,d0
 and.w #$3fff,d0
 move.w $e(a6),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,d6
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w d7,2(a3)
 move.w #$ff,-(a7)
 clr.w d0
 move.b $13(a6),d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,4(a3)
 move.b $15(a6),5(a3)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 clr.w -(a7)
 move.w d6,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.w -$32a0(a4),d0
 beq.s ude84
 move.b #$31,-6(a6)
 bra.s ude8a
ude84 move.b #$30,-6(a6)
ude8a clr.b -5(a6)
 move.w d6,-4(a6)
 move.w $a(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,-2(a6)
 or.w d3,-2(a6)
 move.w $c(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,-2(a6)
 or.w d3,-2(a6)
 clr.w d0
 move.b $17(a6),d0
 and.w #$f,d0
 move.w d0,d3
 asl.w #4,d3
 asl.w #8,d3
 andi.w #$fff,-2(a6)
 or.w d3,-2(a6)
 move.w $10(a6),d0
 and.w #3,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$f3ff,-2(a6)
 or.w d3,-2(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 move.w d0,6(a3)
udefc movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
udf04 link a6,#-$14
 movem.l d4-d7/a2-a3,-(a7)
 move.w $a(a6),d7
 move.w $c(a6),d6
 move.w $e(a6),d5
 move.w #$f,-(a7)
 jsr $228(a5)
 addq.l #2,a7
 move.w d0,-6(a6)
 cmpi.w #$ffff,d0
 bne.s udf30
 bra ue1aa
udf30 move.w -6(a6),d0
 and.w #$3ff,d0
 move.l -$28e4(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #$ff,d6
 bhi.s udf56
 move.w d6,-8(a6)
 move.w d5,-$a(a6)
 bra.s udf78
udf56 move.w d6,d0
 and.w #$ff,d0
 move.w d0,-8(a6)
 move.w d5,d0
 and.w #$ff,d0
 move.w d0,-$a(a6)
 move.w d6,d0
 lsr.w #8,d0
 move.w d0,d6
 subq.w #1,d6
 move.w d5,d0
 lsr.w #8,d0
 move.w d0,d5
udf78 cmpi.w #$ff,$10(a6)
 bne.s udf98
 move.w #1,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 andi.w #$ff7f,2(a3)
 or.w d3,2(a3)
 bra.s udfc4
udf98 move.w #0,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 andi.w #$ff7f,2(a3)
 or.w d3,2(a3)
 move.w -6(a6),d0
 and.w #$3fff,d0
 move.w $10(a6),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-6(a6)
udfc4 move.w 8(a6),d0
 sub.w #$ff80,d0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a3)
 or.w d3,2(a3)
 move.w d7,d0
 and.w #$ff,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$ff,2(a3)
 or.w d3,2(a3)
 cmpi.w #$ff83,8(a6)
 bcc.s ue01a
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 cmpi.w #$50,d7
 bls.s ue00c
 move.w #5,d0
 bra.s ue010
ue00c move.w #$14,d0
ue010 move.w d0,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 bra.s ue034
ue01a cmpi.w #$ffa8,8(a6)
 beq.s ue034
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$d,-(a7)
 jsr $120(a5)
 addq.l #8,a7
ue034 move.w d5,-(a7)
 move.w d6,-(a7)
 clr.w -(a7)
 move.w -6(a6),-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.l -$2dc6(a4),d0
 cmpi.w #$ffe4,8(a6)
 bne.s ue056
 move.w #5,d1
 bra.s ue05a
ue056 move.w #1,d1
ue05a and.l #$ffff,d1
 add.l d1,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$14(a6)
 move.b #$19,-$10(a6)
 clr.b -$f(a6)
 move.w -6(a6),-$c(a6)
 move.w d6,d0
 move.b d0,-$e(a6)
 move.w d5,d0
 move.b d0,-$d(a6)
 pea -$14(a6)
 jsr v001a(pc)
 addq.l #4,a7
 cmpi.w #$ff82,8(a6)
 beq.s ue0ae
 cmpi.w #$ff80,8(a6)
 bne ue1aa
ue0ae move.w -8(a6),d6
 move.w -$a(a6),d5
 move.w d7,d0
 lsr.w #1,d0
 addq.w #1,d0
 move.w d0,d7
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 addq.w #1,d0
 add.w d0,d7
 cmpi.w #$ff80,8(a6)
 beq.s ue0e2
 move.w d7,d0
 lsr.w #1,d0
 move.w d0,d7
 beq ue1aa
ue0e2 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s ue112
 move.w d6,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s ue112
 move.w d5,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 bne.s ue112
 move.l #$3f0001,-(a7)
 move.w d7,-(a7)
 jsr $50a(a5)
 addq.l #6,a7
 bra ue1aa
ue112 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-6(a6)
 cmpi.w #$fffe,d0
 beq ue1aa
 move.w -6(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 clr.w d0
 move.b 4(a0),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w $12(a2),d0
 lsr.w #4,d0
 and.w #$f,d0
 move.w d0,d4
 cmpi.w #$f,d0
 beq.s ue1aa
 move.w 2(a2),d0
 and.w #$40,d0
 beq.s ue170
 move.w d7,d0
 lsr.w #2,d0
 move.w d0,d7
ue170 jsr $90(a5)
 move.l d0,d1
 move.w d4,d0
 asl.w #1,d0
 addq.w #1,d0
 and.l #$ffff,d1
 divu d0,d1
 swap d1
 move.w d7,d0
 sub.w d1,d0
 move.w d0,d7
 tst.w d0
 bls.s ue1aa
 move.w #1,-(a7)
 move.w d7,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.l -4(a6),-(a7)
 jsr $33c(a5)
 adda.w #$c,a7
 move.w d0,-$329e(a4)
ue1aa movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ue1b2 link a6,#-4
 move.w 8(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 6(a0),-(a7)
 jsr uffa8(pc)
 addq.l #2,a7
 unlk a6
 rts
ue1d6 link a6,#-$e
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w 2(a3),d0
 move.w d0,d6
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 beq.s ue268
 tst.l $a(a6)
 beq.s ue240
 movea.l $a(a6),a0
 move.w (a0),d0
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne.s ue22e
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w #$fffe,(a0)
 movea.l $a(a6),a0
 move.w d6,(a0)
 bra.s ue23e
ue22e clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d7,-(a7)
 move.w d6,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
ue23e bra.s ue268
ue240 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 clr.w -(a7)
 move.w #$fffe,-(a7)
 move.w d6,d0
 and.w #$3fff,d0
 move.w 8(a6),d1
 and.w #$c000,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
ue268 move.w #$ffff,(a3)
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
ue274 link a6,#0
 movem.l d5-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 clr.w -$32a2(a4)
 move.w #3,-$32a4(a4)
 clr.w d5
 move.b 4(a3),d5
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #$f,d0
 beq.s ue2da
 cmpi.w #5,d6
 bne.s ue2c4
 move.w d7,-(a7)
 jsr $294(a5)
 addq.l #2,a7
 movea.l d0,a2
 clr.w d6
 move.b 3(a2),d6
 move.w #3,-$32a4(a4)
 bra.s ue2ca
ue2c4 jsr $9c(a5)
 move.w d0,d6
ue2ca move.w d7,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 lsr.w #1,d0
 add.w d0,d6
 bra ue35e
ue2da cmpi.w #$ff81,d7
 bne.s ue300
 jsr $90(a5)
 and.w #$f,d0
 move.w d0,d6
 move.w d6,d0
 add.w #$a,d0
 move.w d0,-$32a2(a4)
 jsr $90(a5)
 and.w #$1f,d0
 add.w d0,d6
 bra.s ue35e
ue300 cmpi.w #$ff83,d7
 bcs.s ue326
 move.w #5,-$32a4(a4)
 cmpi.w #$ff86,d7
 bne.s ue31e
 move.w d5,-$32a2(a4)
 move.w #1,d0
 bra ue3ae
ue31e move.w #0,d0
 bra ue3ae
ue326 move.w #1,-$32a4(a4)
 jsr $90(a5)
 and.w #$f,d0
 move.l d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 move.l (a7)+,d0
 and.w #$f,d1
 add.w d1,d0
 add.w #$a,d0
 move.w d0,d6
 cmpi.w #$ff82,d7
 bne.s ue35e
 move.w #7,-$32a4(a4)
 move.w d6,d0
 mulu #5,d0
 move.w d0,d6
ue35e move.w d6,d0
 add.w d5,d0
 lsr.w #4,d0
 addq.w #1,d0
 move.w d0,d6
 jsr $90(a5)
 move.w d6,d1
 lsr.w #1,d1
 addq.w #1,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 move.l d0,-(a7)
 jsr $9c(a5)
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 add.w d0,d6
 move.w #$20,d1
 clr.w d0
 move.b 5(a3),d0
 asr.w #3,d0
 sub.w d0,d1
 move.w d6,d0
 sub.w d1,d0
 move.w d0,-(a7)
 move.w d6,d0
 lsr.w #1,d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d6
 move.w d6,d0
ue3ae movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
ue3b6 link a6,#-$48
 movem.l d4-d7/a2-a3,-(a7)
 move.w $10(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w $a(a6),-$20(a6)
 move.w $c(a6),-$22(a6)
 clr.w -$38(a6)
 clr.w -$329e(a4)
 move.w 2(a3),d0
 move.w d0,d7
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$3a(a6)
 cmpi.w #8,d0
 bne.s ue448
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f00,d0
 lsr.w #8,d0
 cmp.w #3,d0
 beq.s ue416
 bra.s ue41e
ue416 move.w #$ff87,-$1a(a6)
 bra.s ue42c
ue41e cmp.w #$13,d0
 beq.s ue426
 bra.s ue448
ue426 move.w #$ff80,-$1a(a6)
ue42c move.w #1,-$38(a6)
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$ff,d0
 move.w d0,-$36(a6)
 move.l a2,d0
 move.l d0,-4(a6)
ue448 cmpi.w #$f,-$3a(a6)
 seq d0
 tst.b d0
 beq.s ue45c
 cmpi.w #$ff81,d7
 sne d0
 tst.b d0
ue45c tst.b d0
 beq.s ue468
 cmpi.w #$ff86,d7
 sne d0
 tst.b d0
ue468 and.w #1,d0
 move.w d0,-$30(a6)
 clr.l -$18(a6)
 clr.w d4
 cmpi.w #$ff,$a(a6)
 bgt.s ue48c
 move.w $a(a6),-$1c(a6)
 move.w $c(a6),-$1e(a6)
 bra.s ue4ae
ue48c move.w $a(a6),d0
 asr.w #8,d0
 subq.w #1,d0
 move.w d0,-$1c(a6)
 move.w $c(a6),d0
 asr.w #8,d0
 move.w d0,-$1e(a6)
 andi.w #$ff,$a(a6)
 andi.w #$ff,$c(a6)
ue4ae move.w 8(a6),d0
 cmp.w #4,d0
 beq.s ue4bc
 bra ue634
ue4bc move.w $a(a6),d6
 asl.l #2,d6
 movea.l -$28b8(a4),a0
 adda.w d6,a0
 movea.l (a0),a0
 adda.w $c(a6),a0
 clr.w d6
 move.b (a0),d6
 move.b d6,-$23(a6)
 and.w #$ff,d6
 and.w #7,d6
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $22e(a5)
 addq.l #4,a7
 move.l d0,-$c(a6)
 cmpi.w #5,d6
 beq.s ue532
 cmpi.w #$ff84,d7
 bne.s ue532
 movea.l -$c(a6),a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s ue52e
 move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.l d0,-(a7)
 move.w #2,-(a7)
 clr.w -(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w #$a,-(a7)
 jsr v2b0e(pc)
 adda.w #$e,a7
ue52e bra ue800
ue532 cmpi.w #5,d6
 beq ue5f0
 cmpi.w #1,d6
 ble ue5f0
 movea.l -$c(a6),a0
 move.w 2(a0),d0
 and.w #1,d0
 asl.l #1,d0
 lea -$28c2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #2,d0
 beq ue5f8
 cmpi.w #$f,-$3a(a6)
 bne.s ue576
 cmpi.w #$ff83,d7
 scc d0
 and.w #1,d0
 bra.s ue5ee
ue576 jsr $90(a5)
 and.w #$7f,d0
 move.w d0,-$48(a6)
 clr.w d0
 move.b 5(a3),d0
 cmp.w -$48(a6),d0
 shi d0
 tst.b d0
 beq.s ue5aa
 move.w d7,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20ba(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #$100,d0
ue5aa sne d0
 tst.b d0
 beq.s ue5ea
 cmpi.w #$a,-$3a(a6)
 sne d0
 tst.b d0
 bne.s ue5cc
 move.w d7,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d6
 tst.w d0
 slt d0
 tst.b d0
ue5cc tst.b d0
 bne.s ue5e8
 cmpi.w #$b0,d6
 sge d0
 tst.b d0
 beq.s ue5e2
 cmpi.w #$bf,d6
 sle d0
 tst.b d0
ue5e2 tst.b d0
 seq d0
 tst.b d0
ue5e8 tst.b d0
ue5ea and.w #1,d0
ue5ee beq.s ue5f8
ue5f0 move.w #0,d0
 bra ue922
ue5f8 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr ue274(pc)
 addq.l #6,a7
 addq.w #1,d0
 move.w d0,d5
 clr.w -(a7)
 clr.w -(a7)
 jsr $90(a5)
 move.l d0,d1
 and.l #$ffff,d1
 divu d5,d1
 swap d1
 move.w d5,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr ufc7c(pc)
 adda.w #$a,a7
 bra ue800
ue634 cmp.w #$fffe,d0
 beq.s ue63c
 bra.s ue668
ue63c move.w $e(a6),-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 move.w d0,$e(a6)
 tst.w d0
 bge.s ue656
 move.w #0,d0
 bra ue922
ue656 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr ue274(pc)
 addq.l #6,a7
 move.w d0,d5
 move.w d0,d4
 bra ue800
ue668 cmp.w #$ffff,d0
 beq.s ue672
 bra ue800
ue672 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w $e(a6),-(a7)
 move.l a2,-(a7)
 jsr $2a6(a5)
 addq.l #6,a7
 move.w d0,-$3e(a6)
 bne.s ue6a4
 move.w #0,d0
 bra ue922
ue6a4 subq.w #1,-$3e(a6)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-$3c(a6)
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
 cmpi.w #$ff80,d7
 bne.s ue70c
 cmpi.w #$b,-$3c(a6)
 bne.s ue70c
 move.w -$3e(a6),d0
 asl.l #1,d0
 lea 6(a2),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$14(a6)
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr ue274(pc)
 addq.l #6,a7
 move.l d0,d1
 movea.l -$14(a6),a0
 move.w (a0),d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w #$3e8,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 movea.l -$14(a6),a0
 move.w d0,(a0)
 bra ue8de
ue70c movea.l -8(a6),a0
 move.w 2(a0),d0
 and.w #$40,d0
 beq.s ue728
 cmpi.w #$ff83,d7
 beq.s ue728
 move.w #0,d0
 bra ue922
ue728 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr ue274(pc)
 addq.l #6,a7
 and.l #$ffff,d0
 asl.l #6,d0
 movea.l -8(a6),a0
 clr.w d1
 move.b 8(a0),d1
 and.l #$ffff,d0
 divu d1,d0
 move.w d0,d5
 beq ue800
 move.w #1,-(a7)
 move.w -$32a2(a4),-(a7)
 move.w -$3c(a6),-(a7)
 jsr $2a0(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w d5,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w -$3e(a6),-(a7)
 move.l a2,-(a7)
 jsr $210(a5)
 adda.w #$e,a7
 move.w d0,d6
 cmpi.w #2,d0
 beq.s ue79e
 clr.w -(a7)
 move.w #$fffe,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $216(a5)
 addq.l #8,a7
ue79e move.w d6,-$329e(a4)
 move.w -$30(a6),d0
 bne.s ue800
 tst.w d6
 bne.s ue800
 cmpi.w #5,-$3a(a6)
 bne.s ue800
 movea.l -8(a6),a0
 move.w 2(a0),d0
 and.w #$400,d0
 beq.s ue800
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$10(a6)
 movea.l -$10(a6),a0
 move.w 2(a0),d6
 and.w #$7f,d6
 cmpi.w #8,d6
 beq.s ue7f8
 cmpi.w #$1b,d6
 beq.s ue7f8
 cmpi.w #$1c,d6
 beq.s ue7f8
 cmpi.w #$1f,d6
 beq.s ue7f8
 cmpi.w #$20,d6
 bne.s ue800
ue7f8 lea 2(a2),a0
 move.l a0,-$18(a6)
ue800 move.w d4,d0
 beq.s ue838
 move.w -$32a4(a4),-(a7)
 move.w #$c,-(a7)
 move.w d5,-(a7)
 move.w $e(a6),-(a7)
 jsr $3ea(a5)
 addq.l #8,a7
 tst.w d0
 beq.s ue838
 move.w -$32a2(a4),d0
 beq.s ue838
 jsr $84(a5)
 tst.w d0
 beq.s ue838
 move.w -$32a2(a4),-(a7)
 move.w $e(a6),-(a7)
 jsr $456(a5)
 addq.l #4,a7
ue838 move.w -$30(a6),d0
 bne.s ue844
 move.w -$38(a6),d0
 beq.s ue89e
ue844 move.w -$38(a6),d0
 beq.s ue856
 move.w -$1a(a6),d7
 move.w -$36(a6),-$34(a6)
 bra.s ue860
ue856 clr.w d0
 move.b 4(a3),d0
 move.w d0,-$34(a6)
ue860 cmpi.w #$ff82,d7
 bne.s ue874
 move.w -$34(a6),d0
 lsr.w #1,d0
 move.w d0,-$34(a6)
 bne.s ue874
 bra.s ue8de
ue874 cmpi.w #$ff87,d7
 bne.s ue880
 move.w #$ff,d0
 bra.s ue884
ue880 move.w $e(a6),d0
ue884 move.w d0,-(a7)
 move.w -$22(a6),-(a7)
 move.w -$20(a6),-(a7)
 move.w -$34(a6),-(a7)
 move.w d7,-(a7)
 jsr udf04(pc)
 adda.w #$a,a7
 bra.s ue8de
ue89e move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 bne.s ue8b4
 clr.w -$34(a6)
 bra.s ue8c8
ue8b4 cmpi.w #$ff86,d7
 bne.s ue8c2
 move.w #$d,-$34(a6)
 bra.s ue8c8
ue8c2 move.w #4,-$34(a6)
ue8c8 move.w #1,-(a7)
 move.w -$1e(a6),-(a7)
 move.w -$1c(a6),-(a7)
 move.w -$34(a6),-(a7)
 jsr $120(a5)
 addq.l #8,a7
ue8de move.w -$38(a6),d0
 beq.s ue8f2
 movea.l -4(a6),a0
 move.w #$ffff,(a0)
 move.w -$1a(a6),2(a3)
ue8f2 move.w -$1e(a6),-(a7)
 move.w -$1c(a6),-(a7)
 clr.w -(a7)
 move.w $10(a6),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w -$1e(a6),-(a7)
 move.w -$1c(a6),-(a7)
 move.l -$18(a6),-(a7)
 move.w $10(a6),-(a7)
 jsr ue1d6(pc)
 adda.w #$a,a7
 move.w #1,d0
ue922 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ue92a link a6,#0
 movem.l d5-d7,-(a7)
 move.w $e(a6),d7
 clr.w d5
 clr.w -$329e(a4)
ue93c move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d6
 bra.s ue9ae
ue94e move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$e,d0
 bne.s ue9a4
 move.w d6,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d7,d1
 cmp.w d1,d0
 bne.s ue9a4
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s ue9a4
 move.w d6,-(a7)
 jsr ue1b2(pc)
 addq.l #2,a7
 addq.w #1,d5
 cmpi.w #$ffff,8(a6)
 bne.s ue9a2
 cmpi.w #2,-$329e(a4)
 bne.s ue9a2
 bra.s ue9b4
ue9a2 bra.s ue93c
ue9a4 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
ue9ae cmpi.w #$fffe,d6
 bne.s ue94e
ue9b4 move.w d5,d0
 movem.l (a7)+,d5-d7
 unlk a6
 rts
ue9be link a6,#-$16
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a0
 lea (a0),a1
 lea -$16(a6),a0
 moveq #4,d0
 jsr $c6(a5)
 lea -$16(a6),a0
 movea.l a0,a3
 move.w 6(a3),d0
 move.w d0,d7
 move.w d0,-2(a6)
 move.w d0,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 8(a3),d0
 and.w #$1f,d0
 move.w d0,-6(a6)
 move.w 8(a3),d0
 and.w #$3e0,d0
 lsr.w #5,d0
 move.w d0,-8(a6)
 clr.w d0
 move.b 4(a3),d0
 cmp.w #$30,d0
 bne.s uea20
 move.b #$31,4(a3)
 bra ueb00
uea20 move.w d7,d4
 lsr.w #6,d4
 lsr.w #8,d4
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s uea64
 move.w -6(a6),d0
 cmp.w -$2db6(a4),d0
 bne.s uea64
 move.w -8(a6),d0
 cmp.w -$2db8(a4),d0
 bne.s uea64
 move.w d7,-(a7)
 move.w d4,-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w #$fffe,-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s uea64
 bra ued1e
uea64 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 cmpi.w #$fffe,d0
 beq.s uea9a
 move.w -2(a6),-(a7)
 move.w d4,-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w #$ffff,-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s uea9a
 bra ued1e
uea9a move.b 4(a2),d0
 move.w 8(a3),d1
 and.w #$f000,d1
 lsr.w #4,d1
 lsr.w #8,d1
 move.w d1,d6
 and.w #$ff,d0
 cmp.w d1,d0
 bhi.s ueae4
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 clr.w -(a7)
 move.w -2(a6),d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 clr.l -(a7)
 move.w d7,-(a7)
 jsr ue1d6(pc)
 adda.w #$a,a7
 bra ued1e
ueae4 move.w d6,d0
 sub.b d0,4(a2)
 clr.w d0
 move.b 5(a2),d0
 cmp.w d6,d0
 bcc.s ueafa
 clr.b 5(a2)
 bra.s ueb00
ueafa move.w d6,d0
 sub.b d0,5(a2)
ueb00 move.w 8(a3),d0
 and.w #$c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d5
 move.w 6(a3),d1
 move.w d1,d7
 lsr.w #6,d1
 lsr.w #8,d1
 move.w d1,d4
 cmp.w d1,d0
 seq d0
 tst.b d0
 bne.s ueb32
 move.w d5,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d4,d1
 cmp.w d1,d0
 seq d0
 tst.b d0
ueb32 and.w #1,d0
 move.w d0,-4(a6)
 beq uebec
 move.w -6(a6),-$a(a6)
 move.w -8(a6),-$c(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -6(a6),d0
 add.w d1,d0
 move.w d0,-6(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 move.w d0,d6
 lsr.w #5,d0
 tst.w d0
 beq.s uebca
 move.w d6,d0
 lsr.w #5,d0
 cmpi.w #6,d0
 bne.s ueba2
 move.w d6,d0
 and.w #5,d0
 beq.s uebca
ueba2 move.w d6,d0
 lsr.w #5,d0
 cmpi.w #3,d0
 bne.s uebec
 move.w -$a(a6),d0
 asl.l #2,d0
 movea.l -$28b8(a4),a0
 adda.w d0,a0
 movea.l (a0),a0
 adda.w -$c(a6),a0
 clr.w d0
 move.b (a0),d0
 asr.w #5,d0
 cmpi.w #3,d0
 bne.s uebec
uebca move.w d7,-(a7)
 move.w d4,-(a7)
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w d6,d0
 lsr.w #5,d0
 move.w d0,-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s uebec
 bra ued1e
uebec move.w d5,d0
 and.w #1,d0
 move.w d4,d1
 and.w #1,d1
 cmp.w d1,d0
 bne.s uec00
 subq.w #1,d4
 bra.s uec02
uec00 addq.w #1,d4
uec02 move.w d4,d1
 and.w #3,d1
 move.w d1,d4
 asl.w #6,d1
 asl.w #8,d1
 move.w d7,d0
 and.w #$3fff,d0
 or.w d1,d0
 move.w d0,d7
 move.w -4(a6),d0
 beq uecae
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w d7,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
 move.w -$3350(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,8(a3)
 or.w d3,8(a3)
 move.w -$3352(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,8(a3)
 or.w d3,8(a3)
 move.w -$3356(a4),d0
 and.w #3,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$f3ff,8(a3)
 or.w d3,8(a3)
 move.w d7,d0
 and.w #$3fff,d0
 move.w -$3358(a4),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,d7
 move.l (a3),d0
 and.l #$ffffff,d0
 move.w -$3354(a4),d1
 and.l #$ffff,d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,(a3)
 bra.s ued0c
uecae move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 cmpi.w #4,d0
 bne.s uece8
 move.w -2(a6),-(a7)
 move.w d4,-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w #4,-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s uece8
 bra.s ued1e
uece8 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
ued0c addq.l #1,(a3)
 move.w d7,6(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 move.w d0,6(a2)
ued1e movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ued26 link a6,#-$24
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d7
 move.b 6(a3),d7
 clr.w d6
 move.b 7(a3),d6
 move.w 8(a3),d0
 and.w #$3ff,d0
 move.l -$28e4(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w d6,d4
 move.w d7,d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d4,a0
 clr.w d4
 move.b (a0),d4
 asr.w #5,d4
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 seq d0
 tst.b d0
 beq.s ued84
 move.w d7,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 seq d0
 tst.b d0
ued84 tst.b d0
 beq.s ued94
 move.w d6,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 seq d0
 tst.b d0
ued94 and.w #1,d0
 move.w d0,-$10(a6)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-$a(a6)
 cmpi.w #$fffe,d0
 beq.s ueddc
 move.w -$a(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 clr.w d0
 move.b 4(a0),d0
 move.w d0,-$e(a6)
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-8(a6)
ueddc move.w #$ff80,d0
 move.w 2(a2),d1
 and.w #$7f,d1
 add.w d1,d0
 move.w d0,-$c(a6)
 cmpi.w #$ff87,d0
 bne.s uee28
 move.w #4,-(a7)
 move.w 2(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 lsr.w #5,d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.l d0,-(a7)
 jsr $84(a5)
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d5
 bra.s uee48
uee28 move.w 2(a2),d5
 and.w #$ff00,d5
 lsr.w #8,d5
 lsr.w #1,d5
 addq.w #1,d5
 jsr $90(a5)
 and.l #$ffff,d0
 divu d5,d0
 swap d0
 addq.w #1,d0
 add.w d0,d5
uee48 move.w -$c(a6),d0
 cmp.w #$ff82,d0
 beq.s uee54
 bra.s uee62
uee54 move.w d5,d0
 asr.w #1,d0
 move.w d0,d5
 bne.s uee60
 bra uf098
uee60 bra.s uee6a
uee62 cmp.w #$ff80,d0
 beq.s uee6a
 bra.s uee88
uee6a cmpi.w #4,d4
 bne.s uee84
 clr.w -(a7)
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr ufc7c(pc)
 adda.w #$a,a7
uee84 bra uf098
uee88 cmp.w #$ff83,d0
 beq.s uee92
 bra uef6e
uee92 cmpi.w #$fffe,-$a(a6)
 beq uef6a
 movea.l -8(a6),a0
 move.w 2(a0),d0
 and.w #$40,d0
 beq uef6a
 cmpi.w #$13,-$e(a6)
 bne uef54
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne uef54
 move.w d5,d0
 asr.w #3,d0
 move.w d0,-$e(a6)
 sub.w d0,d5
 move.w -$e(a6),d0
 asl.w #1,d0
 move.w d0,-$e(a6)
 addq.w #1,-$e(a6)
 movea.l -4(a6),a0
 move.w $e(a0),d4
 and.w #$60,d4
 lsr.w #5,d4
ueee8 movea.l -4(a6),a0
 clr.w d0
 move.b 5(a0),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea $c(a0),a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w #$80,d0
 beq.s uef4a
 move.w #1,-(a7)
 jsr $90(a5)
 and.l #$ffff,d0
 divu -$e(a6),d0
 swap d0
 move.w d0,-$24(a6)
 move.w d5,d0
 add.w -$24(a6),d0
 move.l d0,-(a7)
 jsr $9c(a5)
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,-(a7)
 move.l -4(a6),-(a7)
 jsr $210(a5)
 adda.w #$e,a7
uef4a subq.w #1,d4
 move.w d4,d0
 tst.w d0
 bge.s ueee8
 bra.s uef6a
uef54 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l -4(a6),-(a7)
 jsr $33c(a5)
 adda.w #$c,a7
uef6a bra uf098
uef6e cmp.w #$ffe4,d0
 beq.s uef76
 bra.s uefa6
uef76 move.w 2(a2),d0
 and.w #$7f,d0
 addq.w #1,d0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a2)
 or.w d3,2(a2)
 move.w #1,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #5,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 bra uf07c
uefa6 cmp.w #$ffa8,d0
 beq.s uefae
 bra.s uefe6
uefae move.w 2(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 cmpi.w #$37,d0
 bls.s uefe2
 move.w 2(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 sub.w #$28,d0
 and.w #$ff,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$ff,2(a2)
 or.w d3,2(a2)
 bra uf07c
uefe2 bra uf098
uefe6 cmp.w #$ff87,d0
 beq.s ueff0
 bra uf098
ueff0 move.w -$10(a6),d0
 beq.s uf004
 clr.w -(a7)
 clr.w -(a7)
 move.w d5,-(a7)
 jsr $50a(a5)
 addq.l #6,a7
 bra.s uf04e
uf004 cmpi.w #$fffe,-$a(a6)
 beq.s uf04e
 move.w d5,-(a7)
 move.w -$e(a6),-(a7)
 jsr $2a0(a5)
 addq.l #4,a7
 move.w d0,d5
 beq.s uf04e
 move.w #1,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l -4(a6),-(a7)
 jsr $33c(a5)
 adda.w #$c,a7
 cmpi.w #2,d0
 beq.s uf04e
 cmpi.w #2,d5
 ble.s uf04e
 clr.w -(a7)
 move.w #$fffd,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $216(a5)
 addq.l #8,a7
uf04e move.w 2(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 cmpi.w #6,d0
 bcs.s uf098
 move.w 2(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 subq.w #3,d0
 and.w #$ff,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$ff,2(a2)
 or.w d3,2(a2)
uf07c lea (a3),a1
 lea -$1a(a6),a0
 moveq #4,d0
 jsr $c6(a5)
 addq.l #1,-$1a(a6)
 pea -$1a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 bra.s uf0ac
uf098 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w 8(a3),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w #$ffff,(a2)
uf0ac movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
uf0b4 link a6,#0
 movem.l d6-d7,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 move.w d0,d6
 tst.w d0
 beq.s uf0dc
 cmpi.w #3,d6
 bne.s uf0e2
uf0dc move.w #0,d0
 bra.s uf13c
uf0e2 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s uf132
uf0f4 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 bne.s uf128
 move.w d7,d0
 and.w #$3ff,d0
 move.l -$28e4(a4),d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 2(a0),d0
 and.w #$7f,d0
 cmpi.w #$32,d0
 bne.s uf128
 move.w #1,d0
 bra.s uf13c
uf128 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
uf132 cmpi.w #$fffe,d7
 bne.s uf0f4
 move.w #0,d0
uf13c movem.l (a7)+,d6-d7
 unlk a6
 rts
uf144 link a6,#0
 movem.l d7/a3,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 bne.s uf168
 move.w #0,d0
 bra.s uf186
uf168 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 clr.w d0
 move.b 4(a3),d0
 cmp.w #$17,d0
 bne.s uf182
 move.w d7,d0
 bra.s uf186
uf182 move.w #0,d0
uf186 movem.l (a7)+,d7/a3
 unlk a6
 rts
uf18e link a6,#0
 move.w d7,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 move.w d0,d7
 cmpi.w #1,d0
 seq d0
 tst.b d0
 bne.s uf1bc
 cmpi.w #5,d7
 seq d0
 tst.b d0
uf1bc tst.b d0
 bne.s uf1c8
 cmpi.w #2,d7
 seq d0
 tst.b d0
uf1c8 tst.b d0
 bne.s uf1d4
 cmpi.w #4,d7
 seq d0
 tst.b d0
uf1d4 and.w #1,d0
 move.w (a7)+,d7
 unlk a6
 rts
uf1de link a6,#-$a
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 move.w d0,d4
 tst.w d0
 beq.s uf20a
 cmpi.w #3,d4
 bne.s uf20e
uf20a bra uf394
uf20e move.w #$f,-(a7)
 jsr $228(a5)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s uf224
 bra uf394
uf224 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w d5,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.w #$32,d0
 move.w d5,d1
 and.w #$3ff,d1
 move.l -$28e4(a4),d2
 asl.l #2,d1
 movea.l d2,a0
 adda.w d1,a0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a0)
 or.w d3,2(a0)
 move.l -$2dc6(a4),d0
 add.l #$64,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.b #$18,-6(a6)
 clr.b -5(a6)
 move.w d5,-2(a6)
 move.w d7,d0
 move.b d0,-4(a6)
 move.w d6,d0
 move.b d0,-3(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf144(pc)
 addq.l #4,a7
 tst.w d0
 beq.s uf2be
 subq.w #1,d6
 move.w d6,-(a7)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.w d0,d4
 bra.s uf2e2
uf2be move.w d6,-(a7)
 move.w d7,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr uf144(pc)
 addq.l #4,a7
 tst.w d0
 beq.s uf30a
 subq.w #1,d7
 move.w d6,d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.w d0,d4
uf2e2 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,-(a7)
 move.w d6,-(a7)
 move.w d7,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 add.w d0,d4
 bra.s uf37e
uf30a move.w d6,-(a7)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr uf144(pc)
 addq.l #4,a7
 tst.w d0
 beq.s uf330
 addq.w #1,d7
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.w d0,d4
 bra.s uf354
uf330 move.w d6,d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf144(pc)
 addq.l #4,a7
 tst.w d0
 beq.s uf37c
 addq.w #1,d6
 move.w d6,-(a7)
 move.w d7,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.w d0,d4
uf354 move.w d6,d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,-(a7)
 move.w d6,-(a7)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 add.w d0,d4
 bra.s uf37e
uf37c clr.w d4
uf37e cmpi.w #2,d4
 bne.s uf394
 clr.w -(a7)
 move.w #$fffd,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $216(a5)
 addq.l #8,a7
uf394 movem.l (a7)+,d4-d7
 unlk a6
 rts
uf39c link a6,#-$10
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 tst.w d7
 bcs.s uf3c8
 move.w d7,d0
 move.w -$28bc(a4),d1
 cmp.w d1,d0
 bcc.s uf3c8
 tst.w d6
 bcs.s uf3c8
 move.w d6,d0
 move.w -$28be(a4),d1
 cmp.w d1,d0
 bcs.s uf3cc
uf3c8 bra uf51c
uf3cc move.w #$ff,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l #$ff8300ff,-(a7)
 jsr udf04(pc)
 adda.w #$a,a7
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uf144(pc)
 addq.l #4,a7
 move.w d0,-$10(a6)
 beq uf51c
 move.w d6,-(a7)
 move.w d7,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.w d0,-$e(a6)
 move.l d0,-(a7)
 move.w d6,-(a7)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 move.w d1,-$c(a6)
 add.w d1,d0
 move.l d0,-(a7)
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 move.w d1,-$a(a6)
 add.w d1,d0
 move.l d0,-(a7)
 move.w d6,d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr uf0b4(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 move.w d1,-8(a6)
 add.w d1,d0
 move.w d0,-2(a6)
 bra uf508
uf45c move.w d7,d5
 move.w d6,d4
 jsr $9c(a5)
 move.w d0,-4(a6)
 move.w #5,-6(a6)
 bra.s uf4d0
uf470 move.w -4(a6),d0
 asl.l #1,d0
 lea -$e(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 bne.s uf4c2
 move.w -4(a6),d0
 asl.l #1,d0
 lea -$e(a6),a0
 adda.w d0,a0
 move.w #1,(a0)
 move.w -4(a6),d0
 tst.w d0
 beq.s uf49a
 bra.s uf49e
uf49a subq.w #1,d5
 bra.s uf4c0
uf49e cmp.w #1,d0
 beq.s uf4a6
 bra.s uf4aa
uf4a6 addq.w #1,d5
 bra.s uf4c0
uf4aa cmp.w #2,d0
 beq.s uf4b2
 bra.s uf4b6
uf4b2 subq.w #1,d4
 bra.s uf4c0
uf4b6 cmp.w #3,d0
 beq.s uf4be
 bra.s uf4c0
uf4be addq.w #1,d4
uf4c0 bra.s uf4d6
uf4c2 move.w -4(a6),d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-4(a6)
uf4d0 subq.w #1,-6(a6)
 bne.s uf470
uf4d6 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr uf18e(pc)
 addq.l #4,a7
 tst.w d0
 beq.s uf508
 move.w d4,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -$10(a6),-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s uf506
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr $282(a5)
 addq.l #4,a7
uf506 bra.s uf51c
uf508 move.w -2(a6),d0
 addq.w #1,-2(a6)
 cmpi.w #4,d0
 bcs uf45c
 jsr $594(a5)
uf51c movem.l (a7)+,d4-d7
 unlk a6
 rts
uf524 link a6,#0
 movem.l d6-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 sub.w $c(a6),d0
 move.w d0,d7
 tst.w d0
 bge.s uf546
 move.w d7,d0
 neg.w d0
 bra.s uf548
uf546 move.w d7,d0
uf548 move.w d6,d1
 sub.w $e(a6),d1
 move.w d1,d6
 tst.w d1
 bge.s uf55a
 move.w d6,d1
 neg.w d1
 bra.s uf55c
uf55a move.w d6,d1
uf55c add.w d1,d0
 movem.l (a7)+,d6-d7
 unlk a6
 rts
uf566 link a6,#0
 movem.l d4-d7,-(a7)
 move.w $a(a6),d7
 move.w $c(a6),d6
 move.w $e(a6),d5
 move.w $10(a6),d4
 move.w 8(a6),d0
 cmp.w #2,d0
 beq.s uf58a
 bra.s uf590
uf58a exg d7,d4
 exg d5,d6
 bra.s uf5a8
uf590 cmp.w #1,d0
 beq.s uf598
 bra.s uf59e
uf598 exg d7,d5
 exg d6,d4
 bra.s uf5a8
uf59e tst.w d0
 beq.s uf5a4
 bra.s uf5a8
uf5a4 exg d7,d6
 exg d5,d4
uf5a8 move.w d5,d1
 subq.w #1,d1
 move.w d7,d0
 sub.w d1,d0
 move.w d0,d7
 tst.w d0
 sgt d0
 tst.b d0
 beq.s uf5d2
 move.w d6,d0
 sub.w d4,d0
 move.w d0,d6
 tst.w d0
 bge.s uf5ca
 move.w d6,d0
 neg.w d0
 bra.s uf5cc
uf5ca move.w d6,d0
uf5cc cmp.w d7,d0
 sle d0
 tst.b d0
uf5d2 and.w #1,d0
 movem.l (a7)+,d4-d7
 unlk a6
 rts
uf5de link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 move.w d7,d0
 cmp.w d5,d0
 bne.s uf61e
 jsr $90(a5)
 and.w #2,d0
 addq.w #1,d0
 move.w d0,-$329c(a4)
 move.w d6,d0
 cmp.w $e(a6),d0
 ble.s uf616
 move.w #0,d0
 bra uf6e8
uf616 move.w #2,d0
 bra uf6e8
uf61e move.w d6,d0
 cmp.w $e(a6),d0
 bne.s uf64c
 jsr $90(a5)
 and.w #2,d0
 add.w #0,d0
 move.w d0,-$329c(a4)
 move.w d7,d0
 cmp.w d5,d0
 ble.s uf644
 move.w #3,d0
 bra uf6e8
uf644 move.w #1,d0
 bra uf6e8
uf64c clr.w d4
uf64e move.w $e(a6),-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,-(a7)
 jsr uf566(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s uf6e2
 move.w $e(a6),-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-$329c(a4)
 move.w d0,-(a7)
 jsr uf566(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s uf6ca
 tst.w d4
 bne.s uf6b2
 move.w $e(a6),-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,d0
 addq.w #3,d0
 and.w #3,d0
 move.w d0,-$329c(a4)
 move.w d0,-(a7)
 jsr uf566(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s uf6ca
uf6b2 jsr $90(a5)
 and.w #2,d0
 add.w d4,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-$329c(a4)
 move.w d4,d0
 bra.s uf6e8
uf6ca jsr $84(a5)
 tst.w d0
 beq.s uf6de
 move.w -$329c(a4),d7
 move.w d4,-$329c(a4)
 move.w d7,d0
 bra.s uf6e8
uf6de move.w d4,d0
 bra.s uf6e8
uf6e2 addq.w #1,d4
 bra uf64e
uf6e8 movem.l (a7)+,d4-d7
 unlk a6
 rts
uf6f0 link a6,#0
 move.w d7,-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr uf5de(pc)
 addq.l #8,a7
 asl.w #1,d0
 move.w d0,d7
 and.w #2,d0
 bne.s uf71a
 addq.w #1,$14(a6)
uf71a move.w $14(a6),d0
 lsr.w #1,d0
 and.w #1,d0
 add.w d0,d7
 move.w #4,-(a7)
 move.l 8(a6),-(a7)
 move.w d7,d0
 asl.l #2,d0
 lea -$24a(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w (a7)+,d7
 unlk a6
 rts
uf74a link a6,#-$1c
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w $c(a6),d0
 cmp.w -$2db4(a4),d0
 bcs.s uf77a
 move.w #0,d0
 bra uf984
uf77a move.w $34(a2),d0
 bne.s uf788
 move.w #0,d0
 bra uf984
uf788 move.w -$2daa(a4),d0
 beq.s uf792
 jsr $46e(a5)
uf792 movea.l -$28b0(a4),a0
 move.w $c(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 asl.w #1,d0
 move.w d0,-2(a6)
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -$1c(a6),a0
 moveq #$c,d0
 jsr $c6(a5)
 move.w -$c(a6),d0
 lsr.w #8,d0
 and.w #$f,d0
 move.w d0,-(a7)
 move.w #7,-(a7)
 move.w $c(a6),-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
 move.w -$2daa(a4),d0
 bne.s uf82a
 move.l a2,-(a7)
 jsr $420(a5)
 addq.l #4,a7
 move.l d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 move.l (a7)+,d0
 and.w #$1f,d1
 clr.w d3
 move.b -$10(a6),d3
 add.w d3,d1
 add.w -2(a6),d1
 sub.w #$10,d1
 cmp.w d1,d0
 bcs.s uf818
 jsr $9c(a5)
 tst.w d0
 bne uf980
uf818 move.w #$3c,-(a7)
 move.l a2,-(a7)
 jsr $402(a5)
 addq.l #6,a7
 tst.w d0
 bne uf980
uf82a jsr $90(a5)
 move.w d0,d6
 and.w #$70,d0
 beq.s uf866
 and.w #$f,d6
 move.w -6(a6),d5
 clr.w d4
 bra.s uf84a
uf842 addq.w #1,d4
 move.w d5,d0
 lsr.w #4,d0
 move.w d0,d5
uf84a move.w d6,d0
 move.w d5,d1
 and.w #$f,d1
 cmp.w d1,d0
 bhi.s uf842
 move.w d4,d0
 lea -$24e(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d4
 bra.s uf86c
uf866 move.w d6,d4
 and.w #1,d4
uf86c jsr $90(a5)
 and.w #$f,d0
 clr.w d3
 move.b -$12(a6),d3
 add.w d3,d0
 add.w -2(a6),d0
 move.l d0,-(a7)
 move.w #7,-(a7)
 move.w $c(a6),-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 asl.w #1,d1
 sub.w d1,d0
 move.w d0,d7
 cmpi.w #1,d0
 bgt.s uf8b4
 jsr $84(a5)
 tst.w d0
 beq.s uf8ac
 bra uf980
uf8ac jsr $9c(a5)
 addq.w #2,d0
 move.w d0,d7
uf8b4 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 move.l d0,-(a7)
 jsr $9c(a5)
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 add.w d0,d7
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 add.w d0,d7
 move.w d7,d0
 asr.w #2,d0
 move.w d0,d7
 jsr $9c(a5)
 addq.w #1,d0
 add.w d0,d7
 jsr $84(a5)
 tst.w d0
 beq.s uf914
 jsr $90(a5)
 move.w d7,d1
 asr.w #1,d1
 addq.w #1,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 subq.w #1,d0
 sub.w d0,d7
uf914 clr.w d0
 move.b -4(a6),d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 move.w d7,-(a7)
 move.w $c(a6),-(a7)
 jsr $3ea(a5)
 addq.l #8,a7
 move.w d0,d7
 beq.s uf980
 move.w #2,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #9,d0
 add.w $c(a6),d0
 move.w d0,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 clr.w d0
 move.b -$11(a6),d0
 move.w d0,d6
 beq.s uf97c
 jsr $84(a5)
 tst.w d0
 beq.s uf97c
 move.w d6,-(a7)
 move.w #4,-(a7)
 move.l a2,-(a7)
 jsr $468(a5)
 addq.l #8,a7
 move.w d0,d6
 tst.w d0
 bcs.s uf97c
 move.w d6,-(a7)
 move.w $c(a6),-(a7)
 jsr $456(a5)
 addq.l #4,a7
uf97c move.w d7,d0
 bra.s uf984
uf980 move.w #0,d0
uf984 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
uf98c link a6,#-$a
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $e(a6),a2
 move.w $c(a6),d0
 cmp.w -$2db4(a4),d0
 bcs.s uf9ae
 move.w #0,d0
 bra ufc74
uf9ae move.w $34(a3),d0
 bne.s uf9bc
 move.w #0,d0
 bra ufc74
uf9bc movea.l -$28b0(a4),a0
 move.w $c(a0),d5
 and.w #$f000,d5
 lsr.w #4,d5
 lsr.w #8,d5
 asl.w #1,d5
 clr.w d0
 move.b 4(a2),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$a(a6)
 move.w $d6(a3),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-6(a6)
 move.w $18(a6),d0
 and.w #$8000,d0
 move.w d0,-4(a6)
 beq.s ufa06
 andi.w #$7fff,$18(a6)
ufa06 movea.l -$a(a6),a0
 move.w 2(a0),d0
 and.w #$40,d0
 beq.s ufa1c
 move.w -4(a6),d0
 beq ufc34
ufa1c move.l a3,-(a7)
 jsr $420(a5)
 addq.l #4,a7
 move.l d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 move.l (a7)+,d0
 and.w #$1f,d1
 movea.l -$a(a6),a0
 clr.w d3
 move.b $c(a0),d3
 add.w d3,d1
 add.w d5,d1
 sub.w #$10,d1
 cmp.w d1,d0
 bhi.s ufa68
 jsr $9c(a5)
 tst.w d0
 beq.s ufa68
 move.w #$4b,d0
 sub.w $18(a6),d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr $402(a5)
 addq.l #6,a7
 tst.w d0
 beq ufc34
ufa68 move.w #1,-(a7)
 move.w $c(a6),-(a7)
 jsr $414(a5)
 addq.l #4,a7
 move.w d0,d7
 bne.s ufa7e
 bra ufafe
ufa7e jsr $90(a5)
 move.w d7,d1
 asr.w #1,d1
 addq.w #1,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 add.w d0,d7
 move.w d7,d0
 ext.l d0
 move.w $1a(a6),d1
 and.l #$ffff,d1
 move.l d0,-(a7)
 move.l d1,d0
 move.l d0,-(a7)
 jsr $168(a5)
 move.l (a7)+,d0
 asr.l #5,d0
 move.w d0,d7
 jsr $90(a5)
 and.w #$1f,d0
 movea.l -$a(a6),a0
 clr.w d3
 move.b 8(a0),d3
 add.w d3,d0
 add.w d5,d0
 move.w d0,d4
 cmpi.w #$27,-6(a6)
 bne.s ufada
 move.w d4,d0
 asr.w #2,d0
 sub.w d0,d4
 bra.s ufae8
ufada cmpi.w #$2b,-6(a6)
 bne.s ufae8
 move.w d4,d0
 asr.w #3,d0
 sub.w d0,d4
ufae8 jsr $90(a5)
 and.w #$1f,d0
 add.w d7,d0
 sub.w d4,d0
 move.w d0,d7
 move.w d0,d6
 cmpi.w #1,d0
 bgt.s ufb50
ufafe jsr $9c(a5)
 move.w d0,d7
 bne.s ufb0a
 bra ufc34
ufb0a addq.w #1,d7
 jsr $90(a5)
 move.l d0,d1
 and.w #$f,d1
 move.w d6,d0
 add.w d1,d0
 move.w d0,d6
 tst.w d0
 bgt.s ufb28
 jsr $84(a5)
 tst.w d0
 beq.s ufb50
ufb28 jsr $9c(a5)
 add.w d0,d7
 jsr $9c(a5)
 tst.w d0
 bne.s ufb50
 jsr $90(a5)
 move.l d0,d1
 and.w #$f,d1
 move.w d6,d0
 add.w d1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 add.w d0,d7
ufb50 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 move.l d0,-(a7)
 jsr $9c(a5)
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 add.w d0,d7
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 add.w d0,d7
 move.w d7,d0
 asr.w #2,d0
 move.w d0,d7
 jsr $9c(a5)
 addq.w #1,d0
 add.w d0,d7
 cmpi.w #$28,-6(a6)
 bne.s ufbb2
 movea.l -$a(a6),a0
 move.w 2(a0),d0
 and.w #$40,d0
 bne.s ufbb2
 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
 bne.s ufbb2
 bra ufc34
ufbb2 jsr $90(a5)
 and.w #$3f,d0
 move.l d0,-(a7)
 move.w $1c(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 cmp.w d1,d0
 bcc.s ufbda
 move.w d7,d0
 add.w #$a,d0
 add.w d0,d7
ufbda move.w #1,-(a7)
 move.w d7,-(a7)
 move.w $16(a6),-(a7)
 move.w $14(a6),-(a7)
 move.w $12(a6),-(a7)
 move.l a2,-(a7)
 jsr $210(a5)
 adda.w #$e,a7
 move.w d0,-2(a6)
 move.w d7,d0
 movea.l -$a(a6),a0
 move.w $10(a0),d1
 lsr.w #8,d1
 and.w #$f,d1
 mulu d1,d0
 lsr.w #4,d0
 addq.w #3,d0
 move.w d0,-(a7)
 move.w $1c(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
 jsr $9c(a5)
 addq.w #4,d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 jsr $480(a5)
 addq.l #4,a7
 bra.s ufc4c
ufc34 clr.w d7
 clr.w -2(a6)
 jsr $84(a5)
 addq.w #2,d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 jsr $480(a5)
 addq.l #4,a7
ufc4c move.w $c(a6),-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 cmpi.w #2,-2(a6)
 beq.s ufc72
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w $16(a6),-(a7)
 move.w $14(a6),-(a7)
 jsr $216(a5)
 addq.l #8,a7
ufc72 move.w d7,d0
ufc74 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
ufc7c link a6,#-$a
 movem.l a2-a3,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $22e(a5)
 addq.l #4,a7
 movea.l d0,a3
 move.w $e(a6),d0
 beq.s ufca6
 move.w 2(a3),d0
 and.w #$80,d0
 lsr.w #7,d0
 beq.s ufcb8
ufca6 move.w $e(a6),d0
 bne.s ufcc0
 move.w 2(a3),d0
 and.w #$100,d0
 lsr.w #8,d0
 bne.s ufcc0
ufcb8 move.w #0,d0
 bra ufd70
ufcc0 move.w $c(a6),d0
 move.w 2(a3),d1
 and.w #1,d1
 asl.l #1,d1
 lea -$28c1(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 cmp.w d1,d0
 blt ufd6c
 move.w $a(a6),d0
 move.w 8(a6),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b (a2),d0
 and.w #7,d0
 cmpi.w #4,d0
 bne.s ufd6c
 move.w $10(a6),d0
 beq.s ufd54
 move.l -$2dc6(a4),d0
 move.w $10(a6),d3
 and.l #$ffff,d3
 add.l d3,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.b #2,-6(a6)
 clr.b -5(a6)
 move.w 8(a6),d0
 move.b d0,-4(a6)
 move.w $a(a6),d0
 move.b d0,-3(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 bra.s ufd66
ufd54 clr.w d0
 move.b (a2),d0
 and.w #$ff,d0
 and.w #$fff8,d0
 or.w #5,d0
 move.b d0,(a2)
ufd66 move.w #1,d0
 bra.s ufd70
ufd6c move.w #0,d0
ufd70 movem.l (a7)+,a2-a3
 unlk a6
 rts
ufd78 link a6,#0
 movem.l d7/a3,-(a7)
 move.w #1,-(a7)
 move.w -$32be(a4),d0
 mulu #$a,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$32c2(a4)
 move.w #1,-(a7)
 move.w -$32be(a4),d0
 mulu #2,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$32c6(a4)
 move.w -$2da6(a4),d0
 beq.s ufdf2
 move.w #0,d0
 move.w d0,d7
 move.l -$32c2(a4),d0
 movea.l d0,a3
 bra.s ufdde
ufdd0 clr.b 4(a3)
 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 adda.w #$a,a3
ufdde move.w d7,d0
 cmp.w -$32be(a4),d0
 bcs.s ufdd0
 clr.w -$32c8(a4)
 clr.w -$32ca(a4)
 jsr v154e(pc)
ufdf2 movem.l (a7)+,d7/a3
 unlk a6
 rts
ufdfa link a6,#0
 movea.l 8(a6),a0
 movea.l $c(a6),a1
 moveq #1,d0
 move.l #$ffffff,d1
 move.l (a0)+,d2
 and.l d1,d2
 and.l (a1)+,d1
 cmp.l d1,d2
 blt.s ufe26
 bne.s ufe24
 cmpm.w (a1)+,(a0)+
 bhi.s ufe26
 bne.s ufe24
 cmpa.l a0,a1
 bcc.s ufe26
ufe24 moveq #0,d0
ufe26 unlk a6
 rts
ufe2a link a6,#0
 movea.l -$32c6(a4),a0
 move.w -$32be(a4),d1
 move.w 8(a6),d2
 moveq #0,d0
ufe3c cmp.w (a0)+,d2
 beq.s ufe48
 addq.w #1,d0
 cmp.w d1,d0
 bcs.s ufe3c
 moveq #0,d0
ufe48 unlk a6
 rts
ufe4c link a6,#-2
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w -$32c8(a4),d0
 move.w d0,d4
 cmpi.w #1,d0
 bne.s ufe68
 bra uffa0
ufe68 move.w d7,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d5
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w -2(a6)
 bra.s ufeda
ufe8a move.w d7,d6
 subq.w #1,d6
 lsr.w #1,d6
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l a3,-(a7)
 jsr ufdfa(pc)
 addq.l #8,a7
 tst.w d0
 beq.s ufed8
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 movea.l -$32c6(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,d7
 move.w #1,-2(a6)
 bra.s ufeda
ufed8 bra.s ufede
ufeda tst.w d7
 bhi.s ufe8a
ufede move.w -2(a6),d0
 beq.s ufee8
 bra uff94
ufee8 move.w d4,d0
 subq.w #1,d0
 subq.w #1,d0
 lsr.w #1,d0
 move.w d0,d4
 bra uff8c
ufef6 move.w d7,d6
 asl.w #1,d6
 addq.w #1,d6
 move.w d6,d0
 addq.w #1,d0
 cmp.w -$32c8(a4),d0
 bcc.s uff48
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w 2(a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr ufdfa(pc)
 addq.l #8,a7
 tst.w d0
 beq.s uff48
 addq.w #1,d6
uff48 move.l a3,-(a7)
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr ufdfa(pc)
 addq.l #8,a7
 tst.w d0
 beq.s uff8a
 move.w d6,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 movea.l -$32c6(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,d7
 bra.s uff8c
uff8a bra.s uff94
uff8c move.w d7,d0
 cmp.w d4,d0
 bls ufef6
uff94 move.w d7,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
uffa0 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
uffa8 link a6,#0
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 clr.b 4(a0)
 move.w d7,d0
 cmp.w -$32ca(a4),d0
 bcc.s uffd0
 move.w d7,-$32ca(a4)
uffd0 subq.w #1,-$32c8(a4)
 move.w -$32c8(a4),d0
 move.w d0,d5
 tst.w d0
 bne.s uffe0
 bra.s v0012
uffe0 move.w d7,-(a7)
 jsr ufe2a(pc)
 addq.l #2,a7
 move.w d0,d6
 move.w d6,d0
 cmp.w d5,d0
 bne.s ufff2
 bra.s v0012
ufff2 move.w d5,d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d6,d1
 asl.l #1,d1
 movea.l -$32c6(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,-(a7)
 jsr ufe4c(pc)
 addq.l #2,a7
v0012 movem.l (a7)+,d5-d7
 unlk a6
 rts
v001a link a6,#0
 movem.l d5-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w -$32c8(a4),d0
 cmp.w -$32be(a4),d0
 bne.s v003a
 move.w #$2d,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
v003a cmpi.w #$c91,-$fac(a4)
 bne.s v0048
 tst.l -$40d8(a4)
 bne.s v0050
v0048 move.w #0,d0
 bra v0280
v0050 clr.w d0
 move.b 4(a3),d0
 cmp.w #5,d0
 blt v012c
 clr.w d0
 move.b 4(a3),d0
 cmp.w #$a,d0
 bgt v012c
 move.w #0,d0
 move.w d0,d7
 move.l -$32c2(a4),d0
 movea.l d0,a2
 bra v011e
v007c clr.w d0
 move.b 4(a2),d0
 cmp.w #5,d0
 blt.s v00d2
 clr.w d0
 move.b 4(a2),d0
 cmp.w #$a,d0
 bgt.s v00d2
 move.l (a3),d0
 cmp.l (a2),d0
 bne.s v00ce
 move.w 6(a3),d0
 cmp.w 6(a2),d0
 bne.s v00ce
 clr.w d0
 move.b 4(a2),d0
 cmp.w #6,d0
 bne.s v00c2
 move.b 8(a2),d0
 clr.w d1
 move.b 8(a3),d1
 and.w #$ff,d0
 cmp.w d1,d0
 bne.s v00ce
v00c2 move.b 9(a3),9(a2)
 move.w d7,d0
 bra v0280
v00ce bra.s v0114
 bra.s v0114
v00d2 clr.w d0
 move.b 4(a2),d0
 cmp.w #1,d0
 bne.s v0114
 move.l (a3),d0
 cmp.l (a2),d0
 bne.s v0114
 move.w 6(a3),d0
 cmp.w 6(a2),d0
 bne.s v0114
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v010a
 move.w #1,d0
 clr.w d3
 move.b 9(a2),d3
 sub.w d3,d0
 move.b d0,9(a3)
v010a move.w d7,-(a7)
 jsr uffa8(pc)
 addq.l #2,a7
 bra.s v0128
v0114 move.w d7,d0
 addq.w #1,d7
 move.l a2,d0
 adda.w #$a,a2
v011e move.w d7,d0
 cmp.w -$32be(a4),d0
 bcs v007c
v0128 bra v021e
v012c clr.w d0
 move.b 4(a3),d0
 cmp.w #1,d0
 bne.s v01b0
 move.w #0,d0
 move.w d0,d7
 move.l -$32c2(a4),d0
 movea.l d0,a2
 bra.s v01a6
v0146 move.l (a3),d0
 cmp.l (a2),d0
 bne.s v019c
 move.w 6(a3),d0
 cmp.w 6(a2),d0
 bne.s v019c
 clr.w d0
 move.b 4(a2),d0
 cmp.w #$a,d0
 bne.s v0184
 clr.w d0
 move.b 9(a2),d0
 cmp.w #2,d0
 bne.s v017e
 move.w #1,d0
 clr.w d3
 move.b 9(a3),d3
 sub.w d3,d0
 move.b d0,9(a2)
v017e move.w d7,d0
 bra v0280
v0184 clr.w d0
 move.b 4(a2),d0
 cmp.w #1,d0
 bne.s v019c
 move.b 9(a3),9(a2)
 move.w d7,d0
 bra v0280
v019c move.w d7,d0
 addq.w #1,d7
 move.l a2,d0
 adda.w #$a,a2
v01a6 move.w d7,d0
 cmp.w -$32be(a4),d0
 bcs.s v0146
 bra.s v021e
v01b0 clr.w d0
 move.b 4(a3),d0
 cmp.w #2,d0
 bne.s v021e
 move.w #0,d0
 move.w d0,d7
 move.l -$32c2(a4),d0
 movea.l d0,a2
 bra.s v0216
v01ca move.w 6(a3),d0
 cmp.w 6(a2),d0
 bne.s v020c
 move.l (a3),d0
 move.l #$18,d3
 asr.l d3,d0
 move.l (a2),d1
 move.l #$18,d3
 asr.l d3,d1
 cmp.w d1,d0
 bne.s v020c
 clr.w d0
 move.b 4(a2),d0
 cmp.w #1,d0
 beq.s v0204
 clr.w d0
 move.b 4(a2),d0
 cmp.w #$a,d0
 bne.s v020c
v0204 move.w d7,-(a7)
 jsr uffa8(pc)
 addq.l #2,a7
v020c move.w d7,d0
 addq.w #1,d7
 move.l a2,d0
 adda.w #$a,a2
v0216 move.w d7,d0
 cmp.w -$32be(a4),d0
 bcs.s v01ca
v021e lea (a3),a1
 move.w -$32ca(a4),d0
 move.w d0,d5
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 moveq #4,d0
 jsr $c6(a5)
v0238 move.w -$32ca(a4),d0
 cmp.w -$32be(a4),d0
 bne.s v0244
 bra.s v0260
v0244 addq.w #1,-$32ca(a4)
 move.w -$32ca(a4),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b 4(a0),d0
 tst.w d0
 bne.s v0238
v0260 move.w -$32c8(a4),d0
 asl.l #1,d0
 movea.l -$32c6(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
 move.w -$32c8(a4),d0
 addq.w #1,-$32c8(a4)
 move.w d0,-(a7)
 jsr ufe4c(pc)
 addq.l #2,a7
 move.w d5,d0
v0280 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
v0288 link a6,#0
 move.w d7,-(a7)
 movea.l -$32c6(a4),a0
 move.w (a0),d0
 move.w d0,d7
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a1
 movea.l 8(a6),a0
 lea (a0),a0
 moveq #4,d0
 jsr $c6(a5)
 move.w d7,-(a7)
 jsr uffa8(pc)
 addq.l #2,a7
 move.w (a7)+,d7
 unlk a6
 rts
v02bc link a6,#0
 move.w -$32c8(a4),d0
 beq.s v02e8
 movea.l -$32c6(a4),a0
 move.w (a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 and.l #$ffffff,d0
 move.l -$2dc6(a4),d1
 cmp.l d1,d0
 sle d0
 tst.b d0
v02e8 sne d0
 tst.b d0
 beq.s v02f8
 cmpi.w #2,-$2dea(a4)
 slt d0
 tst.b d0
v02f8 and.w #1,d0
 unlk a6
 rts
v0300 link a6,#-$a
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,d6
 clr.w d1
 move.b 6(a3),d1
 move.w d1,d7
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b (a2),d0
 and.w #7,d0
 move.w d0,d4
 cmpi.w #5,d0
 bne.s v0340
 bra v0510
v0340 addq.l #1,(a3)
 clr.w d5
 move.b 9(a3),d5
 cmpi.w #1,d5
 bne v04ac
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $22e(a5)
 addq.l #4,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #$20,d0
 lsr.w #5,d0
 move.w d0,-$a(a6)
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v03f2
 move.w d7,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s v03f2
 move.w d6,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 bne.s v03f2
 tst.w d4
 beq.s v03f2
 tst.w -$2db4(a4)
 bls.s v03e4
 clr.w d0
 move.b (a2),d0
 and.w #$ff,d0
 and.w #$fff8,d0
 or.w #0,d0
 move.b d0,(a2)
 move.w #2,-(a7)
 move.w #8,d0
 or.w -$a(a6),d0
 beq.s v03be
 move.w #4,d0
 bra.s v03c2
v03be move.w #3,d0
v03c2 move.w d0,-(a7)
 move.w #5,-(a7)
 jsr $50a(a5)
 addq.l #6,a7
 tst.w d0
 beq.s v03e4
 move.w #1,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$12,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v03e4 addq.l #1,(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 bra v0510
v03f2 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-6(a6)
 cmpi.w #$fffe,d0
 beq v04ac
 move.w -6(a6),-(a7)
 jsr $2fa(a5)
 addq.l #2,a7
 move.w d0,-8(a6)
 and.w #$40,d0
 bne v04ac
 move.w d4,d0
 move.w -$a(a6),d1
 beq.s v0432
 move.w -8(a6),d1
 lsr.w #7,d1
 and.w #3,d1
 bra.s v0436
v0432 move.w #1,d1
v0436 cmp.w d1,d0
 bcs.s v04ac
 move.l #$50001,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -6(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $33c(a5)
 adda.w #$c,a7
 cmpi.w #2,d0
 beq.s v046e
 clr.w -(a7)
 move.w #$fffd,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $216(a5)
 addq.l #8,a7
v046e tst.w d4
 bne.s v0478
 move.w #0,d0
 bra.s v047c
v0478 move.w d4,d0
 subq.w #1,d0
v047c move.w d0,d4
 clr.w d0
 move.b (a2),d0
 and.w #$ff,d0
 and.w #$fff8,d0
 or.w d4,d0
 move.b d0,(a2)
 move.w #1,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #4,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 addq.l #1,(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 bra.s v0510
v04ac tst.w d5
 bne.s v04b4
 tst.w d4
 beq.s v04c0
v04b4 cmpi.w #1,d5
 bne.s v04c2
 cmpi.w #4,d4
 bne.s v04c2
v04c0 bra.s v0510
v04c2 tst.w d5
 bne.s v04cc
 move.w #$ffff,d0
 bra.s v04d0
v04cc move.w #1,d0
v04d0 add.w d0,d4
 clr.w d0
 move.b (a2),d0
 and.w #$ff,d0
 and.w #$fff8,d0
 or.w d4,d0
 move.b d0,(a2)
 move.w #1,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #2,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 tst.w d5
 bne.s v0500
 tst.w d4
 bne.s v04fe
 bra.s v0510
v04fe bra.s v0508
v0500 cmpi.w #4,d4
 bne.s v0508
 bra.s v0510
v0508 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
v0510 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v0518 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,d6
 clr.w d1
 move.b 6(a3),d1
 move.w d1,d7
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d5
 move.b 9(a3),d5
 cmpi.w #2,d5
 bne.s v0564
 clr.w d5
 move.b (a2),d5
 and.w #4,d5
 beq.s v0560
 move.w #1,d5
 bra.s v0564
v0560 move.w #0,d5
v0564 cmpi.w #1,d5
 bne.s v05c6
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v0594
 move.w d7,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s v0594
 move.w d6,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 bne.s v0594
 addq.l #1,(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 bra.s v05c4
v0594 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$fffe,d0
 beq.s v05c0
 move.w d4,-(a7)
 jsr $2fa(a5)
 addq.l #2,a7
 and.w #$40,d0
 bne.s v05c0
 addq.l #1,(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 bra.s v05c4
v05c0 andi.b #$fb,(a2)
v05c4 bra.s v05ca
v05c6 ori.b #4,(a2)
v05ca movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v05d2 link a6,#0
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 move.b 7(a3),d0
 clr.w d1
 move.b 6(a3),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 and.w #$ff,d0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b (a2),d0
 and.w #$ff,d0
 and.w #$fff8,d0
 or.w #5,d0
 move.b d0,(a2)
 movem.l (a7)+,a2-a3
 unlk a6
 rts
v0616 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 move.b 7(a3),d0
 clr.w d1
 move.b 6(a3),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 and.w #$ff,d0
 movea.l (a0),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 and.w #7,d0
 move.w d0,d7
 cmpi.w #5,d0
 bne.s v064e
 bra.s v0696
v064e clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v066e
 tst.w d7
 bne.s v0664
 move.w #1,d0
 bra.s v0668
v0664 move.w #0,d0
v0668 move.b d0,9(a3)
 bra.s v0688
v066e clr.w d0
 move.b 9(a3),d0
 tst.w d0
 bne.s v0680
 tst.w d7
 bne.s v067e
 bra.s v0696
v067e bra.s v0688
v0680 cmpi.w #4,d7
 bne.s v0688
 bra.s v0696
v0688 move.b #1,4(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
v0696 movem.l (a7)+,d7/a3
 unlk a6
 rts
v069e link a6,#-$14
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-8(a6)
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-6(a6)
 move.w d0,-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d4
 bra v08f0
v06ce move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d7
 cmpi.w #2,d0
 bne v079c
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 2(a0),d6
 and.w #1,d6
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v0724
 move.w d6,d0
 seq d0
 and.w #1,d0
 movea.l -4(a6),a0
 and.w #1,d0
 move.w d0,d3
 andi.w #$fffe,2(a0)
 or.w d3,2(a0)
 bra.s v0746
v0724 clr.w d0
 move.b 9(a3),d0
 tst.w d0
 seq d0
 and.w #1,d0
 movea.l -4(a6),a0
 and.w #1,d0
 move.w d0,d3
 andi.w #$fffe,2(a0)
 or.w d3,2(a0)
v0746 move.w d6,d0
 bne.s v0798
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #1,d0
 beq.s v0798
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v0798
 move.w -6(a6),d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s v0798
 move.w -8(a6),d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 bne.s v0798
 move.w #1,-(a7)
 move.w d4,-(a7)
 pea -$3272(a4)
 jsr $2e8(a5)
 addq.l #8,a7
 pea -$3272(a4)
 move.w #$f,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
v0798 bra v08e6
v079c cmpi.w #3,d7
 bne v08e6
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$7f,d0
 cmpi.w #6,d0
 bne v08e6
 move.w 4(a2),d5
 and.w #$780,d5
 lsr.w #7,d5
 move.w d5,d0
 and.w #8,d0
 beq.s v07e8
 jsr $90(a5)
 move.w d5,d1
 and.w #7,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 move.w d0,d5
 bra.s v07ea
v07e8 subq.w #1,d5
v07ea move.w 6(a2),d0
 and.w #$fff0,d0
 lsr.w #4,d0
 and.w #$f,d0
 move.w d0,-$a(a6)
 tst.w d0
 bne.s v0814
 movea.l -$28b0(a4),a0
 move.w $c(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w d0,-$a(a6)
v0814 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $9c(a5)
 move.w d0,-(a7)
 move.w d5,-(a7)
 move.w -$a(a6),-(a7)
 move.w 2(a2),d0
 lsr.w #7,d0
 move.w d0,-(a7)
 jsr $2ac(a5)
 adda.w #$c,a7
 move.w 4(a2),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s v085a
 move.w #1,-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v085a move.w 4(a2),d0
 and.w #4,d0
 lsr.w #2,d0
 beq.s v086e
 andi.w #$ff80,2(a2)
 bra.s v08e6
v086e move.w 6(a2),d0
 and.w #$fff0,d0
 lsr.w #4,d0
 lsr.w #4,d0
 move.w d0,-$a(a6)
 tst.w d0
 beq.s v08e6
 andi.w #$ff80,2(a2)
 cmpi.w #$7f,-$a(a6)
 bls.s v089e
 move.w -$a(a6),d0
 sub.w #$7e,d0
 asl.w #6,d0
 move.w d0,-$a(a6)
v089e move.b #$41,-$10(a6)
 move.l -$2dc6(a4),d0
 move.w -$a(a6),d3
 and.l #$ffff,d3
 add.l d3,d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$14(a6)
 clr.b -$f(a6)
 move.w -6(a6),d0
 move.b d0,-$e(a6)
 move.w -8(a6),d0
 move.b d0,-$d(a6)
 pea -$14(a6)
 jsr v001a(pc)
 addq.l #4,a7
v08e6 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
v08f0 cmpi.w #$fffe,d4
 bne v06ce
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v0900 link a6,#0
 movem.l d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v095e
v0926 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bne.s v0954
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$7f,d0
 tst.w d0
 bne.s v0954
 ori.w #6,2(a2)
 bra.s v0964
v0954 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v095e cmpi.w #$ffff,d7
 bne.s v0926
v0964 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
v096c link a6,#-$1a
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 clr.w d0
 move.b 6(a2),d0
 move.w d0,-2(a6)
 clr.w d0
 move.b 7(a2),d0
 move.w d0,-4(a6)
 clr.w d5
 move.b 8(a2),d5
 move.w d5,d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-6(a6)
 move.w 2(a3),d4
 and.w #$7f,d4
 move.w 2(a3),d0
 lsr.w #7,d0
 move.w d0,-8(a6)
 move.w 6(a3),d0
 and.w #$fff0,d0
 lsr.w #4,d0
 and.w #$ff,d0
 move.w d0,-$a(a6)
 move.w 6(a3),d0
 and.w #$fff0,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w d0,-$c(a6)
 cmpi.w #7,d4
 seq d0
 tst.b d0
 bne.s v09e8
 cmpi.w #8,d4
 seq d0
 tst.b d0
v09e8 tst.b d0
 bne.s v09f4
 cmpi.w #$e,d4
 seq d0
 tst.b d0
v09f4 and.w #1,d0
 move.w d0,-$e(a6)
 cmpi.w #8,d4
 beq.s v0a08
 cmpi.w #$a,d4
 bne.s v0a16
v0a08 move.w -8(a6),d7
 add.w #$ff80,d7
 move.w d7,d6
 bra v0b48
v0a16 cmpi.w #$e,d4
 beq.s v0a24
 cmpi.w #$f,d4
 bne v0b14
v0a24 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v0a74
v0a36 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-$10(a6)
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bls.s v0a6a
 move.w -$10(a6),d0
 cmp.w d5,d0
 beq.s v0a68
 move.w -$10(a6),d0
 move.w d5,d1
 addq.w #1,d1
 and.w #3,d1
 cmp.w d1,d0
 bne.s v0a6a
v0a68 bra.s v0a7a
v0a6a move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v0a74 cmpi.w #$ffff,d7
 bne.s v0a36
v0a7a cmpi.w #$ffff,d7
 bne.s v0a84
 bra v0bf2
v0a84 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w -$e(a6),d0
 bne.s v0b12
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d6
 bra.s v0aec
v0aae move.w d6,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-$10(a6)
 move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bls.s v0ae2
 move.w -$10(a6),d0
 cmp.w d5,d0
 beq.s v0ae0
 move.w -$10(a6),d0
 move.w d5,d1
 addq.w #1,d1
 and.w #3,d1
 cmp.w d1,d0
 bne.s v0ae2
v0ae0 bra.s v0af2
v0ae2 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v0aec cmpi.w #$ffff,d6
 bne.s v0aae
v0af2 cmpi.w #$ffff,d6
 bne.s v0b00
 move.w #1,-$e(a6)
 bra.s v0b12
v0b00 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 clr.w -(a7)
 move.w d6,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
v0b12 bra.s v0b48
v0b14 move.w -8(a6),-(a7)
 jsr $2d0(a5)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #$ffff,d0
 bne.s v0b2a
 bra v0bf2
v0b2a move.w -$e(a6),d0
 bne.s v0b48
 move.w -8(a6),-(a7)
 jsr $2d0(a5)
 addq.l #2,a7
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s v0b48
 move.w #1,-$e(a6)
v0b48 move.w -$e(a6),d0
 beq.s v0b66
 jsr $84(a5)
 move.w d0,-$1a(a6)
 move.w -6(a6),d0
 add.w -$1a(a6),d0
 and.w #3,d0
 move.w d0,-6(a6)
v0b66 move.w d5,d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -2(a6),d0
 add.w d1,d0
 move.w d0,-2(a6)
 move.w d5,d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -4(a6),d0
 add.w d1,d0
 move.w d0,-4(a6)
 move.w #1,-$32a0(a4)
 move.w -$c(a6),-(a7)
 move.w #$64,-(a7)
 move.w -$a(a6),-(a7)
 move.w d5,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr uddb4(pc)
 adda.w #$10,a7
 move.w -$e(a6),d0
 bne.s v0bee
 move.w -$c(a6),-(a7)
 move.w #$64,-(a7)
 move.w -$a(a6),-(a7)
 move.w d5,-(a7)
 move.w -6(a6),d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d6,-(a7)
 jsr uddb4(pc)
 adda.w #$10,a7
v0bee clr.w -$32a0(a4)
v0bf2 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v0bfa link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,-$a(a6)
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a3),d0
 move.w d0,-8(a6)
 move.w d0,-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 clr.w d0
 move.b 8(a3),d0
 move.w d0,-$c(a6)
 bra v0efe
v0c34 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #2,d0
 bne.s v0cbc
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 clr.w d1
 move.b 8(a3),d1
 cmp.w d1,d0
 bne.s v0cbc
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v0c96
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #1,d0
 seq d0
 and.w #1,d0
 movea.l -4(a6),a0
 and.w #1,d0
 move.w d0,d3
 andi.w #$fffe,2(a0)
 or.w d3,2(a0)
 bra.s v0cb8
v0c96 clr.w d0
 move.b 9(a3),d0
 tst.w d0
 seq d0
 and.w #1,d0
 movea.l -4(a6),a0
 and.w #1,d0
 move.w d0,d3
 andi.w #$fffe,2(a0)
 or.w d3,2(a0)
v0cb8 bra v0ef4
v0cbc cmpi.w #3,d6
 bne v0ef4
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$7f,d0
 move.w d0,-6(a6)
 move.w 2(a2),d4
 lsr.w #7,d4
 cmpi.w #6,-6(a6)
 bne v0d94
 tst.w d4
 bls v0d90
 clr.w d0
 move.b 9(a3),d0
 tst.w d0
 bne.s v0d04
 cmpi.w #$1ff,d4
 bcc.s v0d02
 addq.w #1,d4
v0d02 bra.s v0d06
v0d04 subq.w #1,d4
v0d06 move.w 2(a2),d0
 and.w #$7f,d0
 move.w d4,d1
 asl.w #7,d1
 or.w d1,d0
 move.w d0,2(a2)
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 cmpi.w #3,d0
 bne.s v0d6a
 tst.w d4
 seq d5
 and.w #1,d5
 move.w 4(a2),d1
 and.w #$20,d1
 lsr.w #5,d1
 cmp.w d1,d5
 sne d5
 and.w #1,d5
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w d5,d0
 beq.s v0d58
 move.w #0,d0
 bra.s v0d5c
v0d58 move.w #1,d0
v0d5c move.w d0,-(a7)
 move.l a2,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
 bra.s v0d90
v0d6a tst.w d4
 bne.s v0d90
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 move.w d0,-(a7)
 move.l a2,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
v0d90 bra v0ef4
v0d94 cmpi.w #5,-6(a6)
 bne v0e72
 move.w #1,d5
 move.b 8(a3),d3
 asl.w d3,d5
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v0dc6
 move.w d4,d0
 and.w d5,d0
 beq.s v0dc2
 move.w d5,d0
 not.w d0
 and.w d0,d4
 bra.s v0dc4
v0dc2 or.w d5,d4
v0dc4 bra.s v0dd6
v0dc6 move.b 9(a3),d0
 beq.s v0dd4
 move.w d5,d0
 not.w d0
 and.w d0,d4
 bra.s v0dd6
v0dd4 or.w d5,d4
v0dd6 move.w 2(a2),d0
 and.w #$7f,d0
 move.w d4,d1
 asl.w #7,d1
 or.w d1,d0
 move.w d0,2(a2)
 move.w d4,d5
 and.w #$f,d5
 move.w d4,d1
 and.w #$f0,d1
 lsr.w #4,d1
 cmp.w d1,d5
 seq d5
 and.w #1,d5
 move.w 4(a2),d1
 and.w #$20,d1
 lsr.w #5,d1
 cmp.w d1,d5
 sne d5
 and.w #1,d5
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 cmpi.w #3,d0
 bne.s v0e48
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w d5,d0
 beq.s v0e36
 move.w #0,d0
 bra.s v0e3a
v0e36 move.w #1,d0
v0e3a move.w d0,-(a7)
 move.l a2,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
 bra.s v0e6e
v0e48 move.w d5,d0
 beq.s v0e6e
 move.w -$c(a6),-(a7)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 move.w d0,-(a7)
 move.l a2,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
v0e6e bra v0ef4
v0e72 cmpi.w #7,-6(a6)
 bcs.s v0e82
 cmpi.w #$a,-6(a6)
 bls.s v0e92
v0e82 cmpi.w #$e,-6(a6)
 beq.s v0e92
 cmpi.w #$f,-6(a6)
 bne.s v0ec0
v0e92 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 clr.w d1
 move.b 8(a3),d1
 cmp.w d1,d0
 bne.s v0ec0
 move.l a3,-(a7)
 move.l a2,-(a7)
 jsr v096c(pc)
 addq.l #8,a7
 move.w 4(a2),d0
 and.w #4,d0
 lsr.w #2,d0
 beq.s v0ebe
 andi.w #$ff80,2(a2)
v0ebe bra.s v0ef4
v0ec0 cmpi.w #$12,-6(a6)
 bne.s v0ef4
 move.w #$3c,d0
 move.w 4(a2),d1
 and.w #$780,d1
 lsr.w #7,d1
 mulu d1,d0
 move.w d0,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 clr.w -$583a(a4)
 move.w #1,-$2dae(a4)
 move.w #1,-(a7)
 jsr $582(a5)
 addq.l #2,a7
v0ef4 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v0efe cmpi.w #$fffe,d7
 bne v0c34
 jsr v2c1a(pc)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v0f12 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v0f58
 move.w d7,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s v0f58
 move.w d6,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 bne.s v0f58
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$ffff,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
 jsr $4c2(a5)
v0f58 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$fffe,d0
 beq.s v0f7c
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
v0f7c move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,d4
 move.w d4,-2(a6)
 clr.w -4(a6)
 bra.s v0fb0
v0f92 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #4,d0
 bls.s v0fa6
 addq.w #1,-4(a6)
v0fa6 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
v0fb0 cmpi.w #$fffe,d4
 bne.s v0f92
 move.w -2(a6),d4
 bra v110a
v0fbe subq.w #1,-4(a6)
 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 move.w d4,d5
 and.w #$3c00,d5
 lsr.w #2,d5
 lsr.w #8,d5
 cmpi.w #4,d5
 bls.s v0ff0
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
v0ff0 cmpi.w #$e,d5
 bne v108a
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w 6(a3),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w -$3350(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,8(a2)
 or.w d3,8(a2)
 move.w -$3352(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,8(a2)
 or.w d3,8(a2)
 move.w -$3356(a4),d0
 and.w #3,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$f3ff,8(a2)
 or.w d3,8(a2)
 move.w d4,d0
 and.w #$3fff,d0
 move.w -$3358(a4),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,6(a2)
 move.l (a2),d0
 and.l #$ffffff,d0
 move.w -$3354(a4),d1
 and.l #$ffff,d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,(a2)
 bra.s v1106
v108a cmpi.w #$f,d5
 bne.s v1106
 move.w #0,d0
 move.w d0,d5
 move.l -$32c2(a4),d0
 movea.l d0,a2
 bra.s v10fe
v109e clr.w d0
 move.b 4(a2),d0
 cmp.w #$19,d0
 bne.s v10f4
 move.w 8(a2),d0
 cmp.w d4,d0
 bne.s v10f4
 move.w -$3350(a4),d0
 move.b d0,6(a2)
 move.w -$3352(a4),d0
 move.b d0,7(a2)
 move.w d4,d0
 and.w #$3fff,d0
 move.w -$3358(a4),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,8(a2)
 move.l (a2),d0
 and.l #$ffffff,d0
 move.w -$3354(a4),d1
 and.l #$ffff,d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,(a2)
v10f4 move.l a2,d0
 adda.w #$a,a2
 move.w d5,d0
 addq.w #1,d5
v10fe move.w d5,d0
 cmp.w -$32be(a4),d0
 bcs.s v109e
v1106 move.w -2(a6),d4
v110a cmpi.w #$fffe,d4
 beq.s v1118
 move.w -4(a6),d0
 bne v0fbe
v1118 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v1120 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,d6
 clr.w d1
 move.b 6(a3),d1
 move.w d1,d7
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v1170
 clr.w d0
 move.b (a2),d0
 and.w #8,d0
 beq.s v1168
 move.w #1,d0
 bra.s v116c
v1168 move.w #0,d0
v116c move.b d0,9(a3)
v1170 clr.w d0
 move.b 9(a3),d0
 tst.w d0
 bne.s v118a
 ori.b #8,(a2)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr v0f12(pc)
 addq.l #4,a7
 bra.s v118e
v118a andi.b #$f7,(a2)
v118e movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
v1196 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b 7(a3),d0
 move.w d0,d6
 clr.w d1
 move.b 6(a3),d1
 move.w d1,d7
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b 9(a3),d0
 cmp.w #2,d0
 bne.s v11e6
 clr.w d0
 move.b (a2),d0
 and.w #8,d0
 beq.s v11de
 move.w #1,d0
 bra.s v11e2
v11de move.w #0,d0
v11e2 move.b d0,9(a3)
v11e6 clr.w d0
 move.b 9(a3),d0
 tst.w d0
 bne.s v1200
 ori.b #8,(a2)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr v0f12(pc)
 addq.l #4,a7
 bra.s v1204
v1200 andi.b #$f7,(a2)
v1204 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
v120c link a6,#-2
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w -2(a6)
 clr.w d7
 move.b 6(a3),d7
 clr.w d6
 move.b 7(a3),d6
v1228 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v1246
 move.w d7,d0
 move.w -$2db6(a4),d1
 cmp.w d1,d0
 bne.s v1246
 move.w d6,d0
 move.w -$2db8(a4),d1
 cmp.w d1,d0
 beq.s v128c
v1246 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 cmpi.w #$fffe,d0
 bne.s v128c
 clr.w d0
 move.b 4(a3),d0
 cmp.w #$3d,d0
 bne.s v1274
 move.w #1,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v1274 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w 8(a3),-(a7)
 jsr v1fd0(pc)
 adda.w #$a,a7
 bra.s v1304
v128c move.w -2(a6),d0
 bne.s v12fa
 move.w #1,-2(a6)
 move.w 8(a3),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 clr.w d0
 move.b 4(a2),d0
 cmp.w #$17,d0
 bne.s v12fa
 jsr $9c(a5)
 tst.w d0
 bne.s v12fa
 jsr $9c(a5)
 tst.w d0
 beq.s v12c2
 bra.s v12c6
v12c2 subq.w #1,d7
 bra.s v12e8
v12c6 cmp.w #1,d0
 beq.s v12ce
 bra.s v12d2
v12ce addq.w #1,d7
 bra.s v12e8
v12d2 cmp.w #2,d0
 beq.s v12da
 bra.s v12de
v12da subq.w #1,d6
 bra.s v12e8
v12de cmp.w #3,d0
 beq.s v12e6
 bra.s v12e8
v12e6 addq.w #1,d6
v12e8 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr uf18e(pc)
 addq.l #4,a7
 tst.w d0
 beq.s v12fa
 bra v1228
v12fa addq.l #5,(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
v1304 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
v130c link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w #$ffff,$2c(a3)
 andi.w #$fff7,$30(a3)
 clr.w d0
 move.b $20(a3),d0
 cmp.w #$ff,d0
 beq.s v1354
 clr.w d0
 move.b $20(a3),d0
 lea -$4e7a(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 sub.w d0,$40(a3)
v1354 move.w $34(a3),d0
 beq.s v13d2
 clr.w d0
 move.b $20(a3),d0
 cmp.w #$20,d0
 bne.s v13c4
 cmpi.w #$ffff,$d4(a3)
 bne.s v13c4
 move.w #$c,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $4aa(a5)
 addq.l #6,a7
 tst.w d0
 beq.s v139e
v1386 clr.w -(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $4f2(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $4e6(a5)
 addq.l #6,a7
 bra.s v13c4
v139e clr.w d5
 bra.s v13be
v13a2 move.w d5,d0
 addq.w #7,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $4aa(a5)
 addq.l #6,a7
 tst.w d0
 beq.s v13bc
 bra.s v1386
v13bc addq.w #1,d5
v13be cmpi.w #3,d5
 blt.s v13a2
v13c4 ori.w #$8000,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
v13d2 move.b #$ff,$20(a3)
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v13e0 link a6,#0
 movem.l d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w #$ffff,$2e(a3)
 move.w $34(a3),d0
 bne.s v140a
 bra.s v1436
v140a move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 bne.s v1428
 jsr $24(a5)
 move.w d7,-(a7)
 jsr $40e(a5)
 addq.l #2,a7
 jsr $a8(a5)
 bra.s v1436
v1428 ori.w #$80,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
v1436 movem.l (a7)+,d7/a3
 unlk a6
 rts
v143e link a6,#-6
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 clr.w d7
 move.b 6(a3),d7
 clr.w d6
 move.b 7(a3),d6
 clr.w d5
 move.b 8(a3),d5
 clr.w d0
 move.b 5(a3),d0
 move.w d0,-6(a6)
 clr.w d0
 move.b 9(a3),d0
 move.w d0,-4(a6)
 cmp.w #2,d0
 beq.s v1478
 bra.s v14a6
v1478 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w #$ffe4,-(a7)
 jsr udf04(pc)
 adda.w #$a,a7
 addq.l #5,(a3)
v148e subq.w #1,-4(a6)
 move.w -4(a6),d0
 move.b d0,9(a3)
 move.l a3,-(a7)
 jsr v001a(pc)
 addq.l #4,a7
 bra v1546
v14a6 cmp.w #1,d0
 beq.s v14b0
 bra v1532
v14b0 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d4
 bra.s v152a
v14be move.w d4,d0
 lsr.w #6,d0
 lsr.w #8,d0
 cmp.w d5,d0
 bne.s v1520
 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$a,d0
 bne.s v1520
 move.w d4,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 cmpi.w #$93,-2(a6)
 bne.s v1520
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 cmp.w -6(a6),d0
 bne.s v1520
 move.w d6,-(a7)
 move.w d7,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w #$ffff,(a2)
 addq.l #1,(a3)
 bra v148e
v1520 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
v152a cmpi.w #$fffe,d4
 bne.s v14be
 bra.s v1546
v1532 tst.w d0
 beq.s v1538
 bra.s v1546
v1538 clr.w d0
 move.b 5(a3),d0
 move.w d0,-(a7)
 jsr $474(a5)
 addq.l #2,a7
v1546 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v154e link a6,#-$a
 move.b #$35,-6(a6)
 move.l -$2dc6(a4),d0
 add.l #$12c,d0
 move.l d0,-$32ce(a4)
 move.l d0,-$a(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 unlk a6
 rts
v1578 link a6,#-$a
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w 6(a3),d0
 move.w d0,d6
 tst.w d0
 bne.s v1590
 bra.s v160a
v1590 tst.w d6
 slt d5
 and.w #1,d5
 beq.s v15a0
 move.w d6,d0
 neg.w d0
 move.w d0,d6
v15a0 move.w d6,d7
 subq.w #1,d7
 move.w d6,d0
 asl.l #1,d0
 lea -$432(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 lea -$432(a4),a0
 adda.w d1,a0
 sub.w (a0),d0
 move.w d0,d6
 move.w d5,d0
 beq.s v15ce
 move.w d6,d0
 neg.w d0
 move.w d0,d6
 move.w d7,d0
 neg.w d0
 move.w d0,d7
v15ce move.w d6,d0
 add.w d0,-$33e2(a4)
 move.w d7,d0
 beq.s v160a
 move.b #$46,-6(a6)
 move.w d7,-4(a6)
 move.l -$2dc6(a4),d0
 addq.l #4,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 clr.b -5(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
v160a movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v1612 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 movea.l $a(a6),a3
 move.w $e(a6),d6
 move.w $10(a6),d5
 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 bne.s v1660
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $4f2(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $4e6(a5)
 addq.l #6,a7
 move.w #1,d0
 bra.s v1664
v1660 move.w #0,d0
v1664 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v166c link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 cmpi.w #$ffff,(a0)
 beq.s v169e
 bra.s v16da
v169e move.w d6,-(a7)
 move.w #$c,-(a7)
 move.l a3,-(a7)
 move.w d7,-(a7)
 jsr v1612(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s v16b6
 bra.s v16da
v16b6 move.w #7,d5
 bra.s v16d4
v16bc move.w d6,-(a7)
 move.w d5,-(a7)
 move.l a3,-(a7)
 move.w d7,-(a7)
 jsr v1612(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s v16d2
 bra.s v16da
v16d2 addq.w #1,d5
v16d4 cmpi.w #9,d5
 bls.s v16bc
v16da movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v16e2 link a6,#0
 move.w d7,-(a7)
 clr.w d7
 bra.s v16fe
v16ec move.w d7,d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$1000,(a0)
 addq.w #1,d7
v16fe move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s v16ec
 jsr $4da(a5)
 move.w (a7)+,d7
 unlk a6
 rts
v1710 link a6,#-$a
 movem.l d7/a3,-(a7)
 bra v1a82
v171c lea -$a(a6),a0
 movea.l a0,a3
 move.l a3,-(a7)
 jsr v0288(pc)
 addq.l #4,a7
 move.l -$a(a6),d0
 move.l #$18,d3
 asr.l d3,d0
 move.w d0,-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.l -$2dd4(a4),d0
 cmp.l -$2dc6(a4),d0
 bhi.s v174e
 clr.w d7
 move.b -6(a6),d7
v174e cmpi.w #$1c,d7
 bls.s v177e
 cmpi.w #$2a,d7
 bcc.s v177e
 clr.w d0
 move.b -2(a6),d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 clr.w d0
 move.b -3(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b -4(a6),d0
 move.w d0,-(a7)
 jsr $216(a5)
 addq.l #8,a7
 bra v1a78
v177e move.w d7,d0
 cmp.w #$30,d0
 beq.s v178e
 cmp.w #$31,d0
 beq.s v178e
 bra.s v179a
v178e move.l a3,-(a7)
 jsr ue9be(pc)
 addq.l #4,a7
 bra v1a78
v179a cmp.w #1,d0
 beq.s v17a2
 bra.s v17ae
v17a2 move.l a3,-(a7)
 jsr v0300(pc)
 addq.l #4,a7
 bra v1a78
v17ae cmp.w #$19,d0
 beq.s v17b6
 bra.s v17c2
v17b6 move.l a3,-(a7)
 jsr ued26(pc)
 addq.l #4,a7
 bra v1a78
v17c2 cmp.w #7,d0
 beq.s v17ca
 bra.s v17d6
v17ca move.l a3,-(a7)
 jsr v0518(pc)
 addq.l #4,a7
 bra v1a78
v17d6 cmp.w #2,d0
 beq.s v17de
 bra.s v17ea
v17de move.l a3,-(a7)
 jsr v05d2(pc)
 addq.l #4,a7
 bra v1a78
v17ea cmp.w #$a,d0
 beq.s v17f2
 bra.s v17fe
v17f2 move.l a3,-(a7)
 jsr v0616(pc)
 addq.l #4,a7
 bra v1a78
v17fe cmp.w #9,d0
 beq.s v1806
 bra.s v1812
v1806 move.l a3,-(a7)
 jsr v1196(pc)
 addq.l #4,a7
 bra v1a78
v1812 cmp.w #8,d0
 beq.s v181a
 bra.s v1826
v181a move.l a3,-(a7)
 jsr v1120(pc)
 addq.l #4,a7
 bra v1a78
v1826 cmp.w #6,d0
 beq.s v182e
 bra.s v183a
v182e move.l a3,-(a7)
 jsr v0bfa(pc)
 addq.l #4,a7
 bra v1a78
v183a cmp.w #5,d0
 beq.s v1842
 bra.s v184e
v1842 move.l a3,-(a7)
 jsr v069e(pc)
 addq.l #4,a7
 bra v1a78
v184e cmp.w #$3c,d0
 beq.s v185c
 cmp.w #$3d,d0
 beq.s v185c
 bra.s v1868
v185c move.l a3,-(a7)
 jsr v120c(pc)
 addq.l #4,a7
 bra v1a78
v1868 cmp.w #$41,d0
 beq.s v1870
 bra.s v187c
v1870 move.l a3,-(a7)
 jsr v0900(pc)
 addq.l #4,a7
 bra v1a78
v187c cmp.w #$14,d0
 beq.s v1884
 bra.s v18a6
v1884 move.w #1,-(a7)
 clr.w d0
 move.b -3(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b -4(a6),d0
 move.w d0,-(a7)
 move.w -2(a6),-(a7)
 jsr $120(a5)
 addq.l #8,a7
 bra v1a78
v18a6 cmp.w #$18,d0
 beq.s v18ae
 bra.s v18e8
v18ae move.w -$2dae(a4),d0
 bne.s v18e4
 clr.w d0
 move.b -3(a6),d0
 move.w d0,-(a7)
 clr.w d0
 move.b -4(a6),d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.w -2(a6),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w -2(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l a3,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
v18e4 bra v1a78
v18e8 cmp.w #$16,d0
 beq.s v18f0
 bra.s v1908
v18f0 pea -$2d9e(a4)
 jsr $258(a5)
 addq.l #4,a7
 tst.w d0
 bne.s v1904
 move.w #$88,-$22a(a4)
v1904 bra v1a78
v1908 cmp.w #$b,d0
 beq.s v1910
 bra.s v1940
v1910 clr.w d0
 move.b -5(a6),d0
 move.w d0,-(a7)
 jsr v130c(pc)
 addq.l #2,a7
 move.b -4(a6),d0
 beq.s v193c
 move.b -4(a6),d0
 ext.w d0
 subq.w #1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b -5(a6),d0
 move.w d0,-(a7)
 jsr v166c(pc)
 addq.l #4,a7
v193c bra v19d4
v1940 cmp.w #$c,d0
 beq.s v1948
 bra.s v195a
v1948 clr.w d0
 move.b -5(a6),d0
 move.w d0,-(a7)
 jsr v13e0(pc)
 addq.l #2,a7
 bra v1a78
v195a cmp.w #$35,d0
 beq.s v1962
 bra.s v196e
v1962 move.l a3,-(a7)
 jsr v154e(pc)
 addq.l #4,a7
 bra v1a78
v196e cmp.w #$46,d0
 beq.s v1976
 bra.s v1990
v1976 move.w -$2dbc(a4),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.l a3,-(a7)
 jsr v1578(pc)
 addq.l #4,a7
 jsr $4ce(a5)
 bra v1a78
v1990 cmp.w #$47,d0
 beq.s v1998
 bra.s v19a0
v1998 subq.b #1,-$338c(a4)
 bra v1a78
v19a0 cmp.w #$48,d0
 beq.s v19a8
 bra.s v19e6
v19a8 clr.w d0
 move.b -5(a6),d0
 muls #$320,d0
 lea -$3f50(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w -4(a6),d0
 move.w d0,(a0)
 clr.w d0
 move.b -5(a6),d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$1000,(a0)
v19d4 clr.w d0
 move.b -5(a6),d0
 move.w d0,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 bra v1a78
v19e6 cmp.w #$49,d0
 beq.s v19ee
 bra.s v19f6
v19ee subq.b #1,-$33e0(a4)
 bra v1a78
v19f6 cmp.w #$4a,d0
 beq.s v19fe
 bra.s v1a0c
v19fe move.w -4(a6),d0
 sub.w d0,-$33de(a4)
v1a06 jsr v16e2(pc)
 bra.s v1a78
v1a0c cmp.w #$4d,d0
 beq.s v1a14
 bra.s v1a1e
v1a14 move.w -4(a6),d0
 sub.w d0,-$33da(a4)
 bra.s v1a06
v1a1e cmp.w #$4e,d0
 beq.s v1a26
 bra.s v1a30
v1a26 move.w -4(a6),d0
 sub.w d0,-$33dc(a4)
 bra.s v1a06
v1a30 cmp.w #$4b,d0
 beq.s v1a38
 bra.s v1a5a
v1a38 clr.w d0
 move.b -5(a6),d0
 move.w d0,d7
 muls #$320,d0
 lea -$4038(a4),a0
 adda.w d0,a0
 subq.b #1,(a0)
 move.w -4(a6),-(a7)
 move.w d7,-(a7)
 jsr $456(a5)
 addq.l #4,a7
 bra.s v1a78
v1a5a cmp.w #$d,d0
 beq.s v1a62
 bra.s v1a6c
v1a62 move.l a3,-(a7)
 jsr v143e(pc)
 addq.l #4,a7
 bra.s v1a78
v1a6c cmp.w #$4f,d0
 beq.s v1a74
 bra.s v1a78
v1a74 subq.b #1,-$33df(a4)
v1a78 move.w -$2dbc(a4),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
v1a82 jsr v02bc(pc)
 tst.w d0
 bne v171c
 movem.l (a7)+,d7/a3
 unlk a6
 rts
v1a94 link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a3),d6
 and.w #$c00,d6
 lsr.w #2,d6
 lsr.w #8,d6
 move.w $e(a6),-(a7)
 move.l a2,-(a7)
 jsr $342(a5)
 addq.l #6,a7
 move.w d0,d5
 move.w 2(a3),d0
 and.w #$1000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 move.w d0,-6(a6)
 beq.s v1ade
 move.w d6,d4
 bra.s v1ae6
v1ade move.w d5,d4
 add.w d6,d4
 and.w #3,d4
v1ae6 move.w $e(a6),-(a7)
 move.l a2,-(a7)
 jsr $240(a5)
 addq.l #6,a7
 move.w d0,-2(a6)
 cmpi.w #$ff,d0
 beq v1bbe
 move.w -2(a6),-8(a6)
 clr.w d0
 move.b 4(a2),d0
 muls #$1a,d0
 lea -$25be(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #3,d0
 move.w d0,-$a(a6)
 move.w #4,d0
 add.w d4,d0
 sub.w d5,d0
 and.w #3,d0
 move.w d0,-$c(a6)
 clr.w -4(a6)
 bra.s v1baa
v1b34 move.w -6(a6),d0
 beq.s v1b3e
 move.w d6,d0
 bra.s v1b46
v1b3e move.w d5,d0
 add.w d6,d0
 and.w #3,d0
v1b46 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w d4,-(a7)
 jsr $318(a5)
 addq.l #6,a7
 move.w d0,d4
 tst.w -$a(a6)
 bne.s v1b70
 move.w -6(a6),d0
 seq d0
 and.w #1,d0
 move.w d0,-$c(a6)
 beq.s v1b70
 move.w d6,-$c(a6)
v1b70 move.w -$c(a6),d0
 beq.s v1b96
 move.w -8(a6),d0
 add.w -$c(a6),d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $318(a5)
 addq.l #6,a7
 move.w d0,-2(a6)
v1b96 move.w d5,d0
 lsr.w #2,d0
 move.w d0,d5
 move.w -8(a6),d0
 lsr.w #2,d0
 move.w d0,-8(a6)
 addq.w #1,-4(a6)
v1baa move.w -4(a6),d0
 move.w $e(a2),d1
 and.w #$60,d1
 lsr.w #5,d1
 cmp.w d1,d0
 bls v1b34
v1bbe move.w $e(a6),-(a7)
 move.w d4,-(a7)
 move.l a2,-(a7)
 jsr $330(a5)
 addq.l #8,a7
 move.w $e(a6),-(a7)
 move.w -2(a6),-(a7)
 move.l a2,-(a7)
 jsr $32a(a5)
 addq.l #8,a7
 move.w $e(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s v1c00
 move.w $e(a2),d0
 and.w #$f,d0
 cmpi.w #6,d0
 bne.s v1c00
 clr.w d0
 move.b 5(a2),d0
 addq.w #2,d0
 bra.s v1c04
v1c00 move.w #1,d0
v1c04 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v1c0c link a6,#0
 movem.l d5-d7,-(a7)
 move.w $c(a6),d7
 move.w -$3356(a4),d6
 movea.l 8(a6),a0
 move.w 2(a0),d5
 and.w #$c00,d5
 lsr.w #2,d5
 lsr.w #8,d5
 movea.l 8(a6),a0
 move.w 2(a0),d0
 and.w #$1000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 beq.s v1c42
 move.w d5,d6
 bra.s v1c66
v1c42 move.w d6,d0
 add.w d5,d0
 and.w #3,d0
 move.w d0,d6
 move.w d7,d0
 and.w #$3fff,d0
 move.w d7,d1
 lsr.w #6,d1
 lsr.w #8,d1
 add.w d5,d1
 and.w #3,d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,d7
v1c66 move.w d6,-$3356(a4)
 move.w d7,d0
 movem.l (a7)+,d5-d7
 unlk a6
 rts
v1c74 link a6,#0
 movem.l d6-d7,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #4,d0
 bne.s v1ca0
 move.w d7,-(a7)
 jsr $2fa(a5)
 addq.l #2,a7
 and.w #$20,d0
 bra.s v1cb0
v1ca0 cmpi.w #$e,d6
 bne.s v1cac
 move.w #1,d0
 bra.s v1cb0
v1cac move.w #0,d0
v1cb0 movem.l (a7)+,d6-d7
 unlk a6
 rts
v1cb8 link a6,#-$a
 move.w d7,-(a7)
 move.w 8(a6),d7
 move.l -$2dc6(a4),d0
 addq.l #5,d0
 move.w $e(a6),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.w $10(a6),d0
 beq.s v1ce8
 move.w #$3d,d0
 bra.s v1cec
v1ce8 move.w #$3c,d0
v1cec move.b d0,-6(a6)
 clr.b -5(a6)
 move.w $a(a6),d0
 move.b d0,-4(a6)
 move.w $c(a6),d0
 move.b d0,-3(a6)
 move.w d7,-2(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 move.w (a7)+,d7
 unlk a6
 rts
v1d18 link a6,#-$10
 movem.l d4-d7/a3,-(a7)
 clr.w -4(a6)
 move.w #4,-(a7)
 pea -$10(a6)
 jsr $54(a5)
 addq.l #6,a7
 cmpi.w #$ffff,$10(a6)
 bne.s v1d68
 move.w #$fffe,-2(a6)
 clr.w d5
 bra.s v1d60
v1d44 move.w d5,-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 tst.w d0
 blt.s v1d5e
 move.w d5,d0
 addq.w #1,d0
 move.w d5,d1
 lea -$10(a6),a0
 adda.w d1,a0
 move.b d0,(a0)
v1d5e addq.w #1,d5
v1d60 cmpi.w #4,d5
 bcs.s v1d44
 bra.s v1dc4
v1d68 move.w #$ffff,-2(a6)
 move.w $10(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w #0,d0
 move.w d0,d5
 move.w #0,d0
 move.w d0,d4
 bra.s v1db2
v1d88 move.w d5,d0
 asl.l #1,d0
 lea 6(a3),a0
 adda.w d0,a0
 or.w (a0),d4
 move.w d5,-(a7)
 move.l a3,-(a7)
 jsr $2a6(a5)
 addq.l #6,a7
 tst.w d0
 beq.s v1db0
 move.w d5,d0
 addq.w #1,d0
 move.w d5,d1
 lea -$10(a6),a0
 adda.w d1,a0
 move.b d0,(a0)
v1db0 addq.w #1,d5
v1db2 cmpi.w #4,d5
 bcs.s v1d88
 move.w d4,d0
 bne.s v1dc4
 move.w #0,d0
 bra v1fc8
v1dc4 tst.w $c(a6)
 blt v1eca
 move.w 8(a6),d0
 sub.w $c(a6),d0
 move.w d0,d4
 tst.w d0
 bge.s v1de0
 move.w d4,d0
 neg.w d0
 bra.s v1de2
v1de0 move.w d4,d0
v1de2 move.w $a(a6),d1
 sub.w $e(a6),d1
 move.w d1,d4
 tst.w d1
 bge.s v1df6
 move.w d4,d1
 neg.w d1
 bra.s v1df8
v1df6 move.w d4,d1
v1df8 add.w d1,d0
 cmpi.w #1,d0
 bne v1eca
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr uf5de(pc)
 addq.l #8,a7
 move.w d0,d5
 move.w d5,d4
 addq.w #1,d4
 and.w #3,d4
 move.w #4,-(a7)
 pea -$c(a6)
 jsr $54(a5)
 addq.l #6,a7
 move.w d5,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d5,d1
 addq.w #3,d1
 and.w #3,d1
 lea -$c(a6),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
 beq.s v1e56
 move.w #1,-4(a6)
v1e56 lea -$10(a6),a0
 adda.w d4,a0
 move.b (a0),d0
 move.w d4,d1
 addq.w #1,d1
 and.w #3,d1
 lea -$c(a6),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
 beq.s v1e7a
 move.w #1,-4(a6)
v1e7a move.w d5,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.b (a0),d0
 bne.s v1ea4
 move.w d5,d0
 addq.w #3,d0
 and.w #3,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d5,d1
 lea -$10(a6),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
v1ea4 lea -$10(a6),a0
 adda.w d4,a0
 move.b (a0),d0
 bne.s v1eca
 move.w d4,d0
 addq.w #1,d0
 and.w #3,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.b (a0),d0
 lea -$10(a6),a0
 adda.w d4,a0
 and.w #$ff,d0
 move.b d0,(a0)
v1eca move.w 8(a6),-6(a6)
 move.w $a(a6),-8(a6)
v1ed6 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra v1f7c
v1eea move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$e,d0
 bne.s v1f72
 move.w d7,d0
 and.w #$3ff,d0
 move.l -$28e8(a4),d1
 asl.l #3,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w 6(a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b 4(a0),d0
 cmp.w #$30,d0
 beq.s v1f72
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 lea -$10(a6),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 beq.s v1f72
 move.w d7,-(a7)
 move.w d5,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr ue3b6(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s v1f72
 move.w d7,-(a7)
 jsr ue1b2(pc)
 addq.l #2,a7
 cmpi.w #2,-$329e(a4)
 bne.s v1f6e
 move.w #1,d0
 bra.s v1fc8
v1f6e bra v1ed6
v1f72 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v1f7c cmpi.w #$fffe,d7
 bne v1eea
 move.w -4(a6),d0
 beq.s v1fc4
 move.w $c(a6),d0
 move.w d0,-6(a6)
 addq.w #1,d0
 asl.w #8,d0
 or.w d0,8(a6)
 move.w $e(a6),d0
 move.w d0,-8(a6)
 asl.w #8,d0
 or.w d0,$a(a6)
 move.w #4,-(a7)
 pea -$10(a6)
 pea -$c(a6)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w -4(a6)
 bra v1ed6
v1fc4 move.w #0,d0
v1fc8 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v1fd0 link a6,#-$2a
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w #$ffff,d4
 clr.w -2(a6)
 clr.w -$e(a6)
 clr.w -$10(a6)
 clr.w -$12(a6)
 clr.w -$14(a6)
 clr.w -$16(a6)
 clr.w -$18(a6)
 clr.w -$1a(a6)
 clr.w -$1c(a6)
 cmpi.w #$ffff,d7
 beq.s v202a
 move.w d7,d4
 and.w #$3c00,d4
 lsr.w #2,d4
 lsr.w #8,d4
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-$a(a6)
 move.w d7,-(a7)
 jsr v1c74(pc)
 addq.l #2,a7
 move.w d0,-2(a6)
v202a tst.w $a(a6)
 blt.s v206c
 cmpi.w #$ffff,d7
 beq.s v2046
 cmpi.w #4,d4
 bne.s v206c
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 bne.s v206c
v2046 move.w d7,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr v1d18(pc)
 adda.w #$a,a7
 tst.w d0
 beq.s v206c
 move.w #1,d0
 bra v2b06
v206c tst.w $e(a6)
 blt v27e8
 move.w -$28ba(a4),d0
 move.w d0,-6(a6)
 move.w d0,-4(a6)
 move.w -4(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 seq d0
 tst.b d0
 beq.s v2098
 tst.w $a(a6)
 sge d0
 tst.b d0
v2098 and.w #1,d0
 move.w d0,-$12(a6)
 cmpi.w #$ffff,d7
 bne.s v20da
 move.w $e(a6),-$2db6(a4)
 move.w $10(a6),-$2db8(a4)
 move.w #2,-$c(a6)
 move.w -$40e6(a4),d0
 seq d0
 tst.b d0
 beq.s v20ca
 move.w -$2daa(a4),d0
 seq d0
 tst.b d0
v20ca and.w #1,d0
 move.w d0,-$16(a6)
 move.w -$2dba(a4),-8(a6)
 bra.s v20ee
v20da cmpi.w #4,d4
 bne.s v20e8
 move.w #1,-$c(a6)
 bra.s v20ee
v20e8 move.w #3,-$c(a6)
v20ee cmpi.w #$e,d4
 bne.s v2120
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.l a2,d0
 movea.l d0,a0
 move.w 6(a0),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 move.w 8(a0),d0
 and.w #$c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$3356(a4)
v2120 move.w #$3e8,-$20(a6)
 bra v25b6
v212a move.w $e(a6),d6
 asl.l #2,d6
 movea.l -$28b8(a4),a0
 adda.w d6,a0
 movea.l (a0),a0
 adda.w $10(a6),a0
 clr.w d6
 move.b (a0),d6
 move.w d6,d0
 asr.w #5,d0
 move.w d0,d5
 cmpi.w #5,d0
 bne v234a
 move.w d6,d0
 and.w #8,d0
 bne.s v215a
 bra v25be
v215a move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $22e(a5)
 addq.l #4,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$6000,d0
 lsr.w #5,d0
 lsr.w #8,d0
 cmpi.w #1,d0
 bne.s v2186
 cmpi.w #4,d4
 beq.s v2186
 bra v25be
v2186 cmpi.w #3,-$c(a6)
 beq.s v21a4
 move.w 2(a2),d0
 and.w #$6000,d0
 lsr.w #5,d0
 lsr.w #8,d0
 and.w -$c(a6),d0
 bne.s v21a4
 bra v25be
v21a4 move.w $e(a6),d0
 move.w 2(a2),d1
 and.w #$1f,d1
 cmp.w d1,d0
 seq d0
 tst.b d0
 beq.s v21cc
 move.w $10(a6),d0
 move.w 2(a2),d1
 and.w #$3e0,d1
 lsr.w #5,d1
 cmp.w d1,d0
 seq d0
 tst.b d0
v21cc tst.b d0
 beq.s v21e4
 move.w -6(a6),d0
 move.w 4(a2),d1
 and.w #$ff00,d1
 lsr.w #8,d1
 cmp.w d1,d0
 seq d0
 tst.b d0
v21e4 and.w #1,d0
 move.w d0,-$18(a6)
 move.w 2(a2),d0
 and.w #$1f,d0
 move.w d0,$e(a6)
 move.w 2(a2),d0
 and.w #$3e0,d0
 lsr.w #5,d0
 move.w d0,$10(a6)
 move.w 2(a2),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 move.w d0,-$1c(a6)
 move.w 4(a2),d0
 and.w #$ff00,d0
 lsr.w #8,d0
 move.w d0,-6(a6)
 move.w d0,-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 cmpi.w #$ffff,d7
 bne.s v22ae
 move.w $e(a6),-$2db6(a4)
 move.w $10(a6),-$2db8(a4)
 move.w 2(a2),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 beq.s v2260
 clr.w -(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v2260 move.w -$5b42(a4),d0
 and.w d0,-$16(a6)
 move.w 2(a2),d0
 and.w #$1000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 beq.s v228c
 move.w 2(a2),d0
 and.w #$c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-(a7)
 jsr $462(a5)
 addq.l #2,a7
 bra.s v22aa
v228c move.w -$2dba(a4),d0
 move.w 2(a2),d1
 and.w #$c00,d1
 lsr.w #2,d1
 lsr.w #8,d1
 add.w d1,d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $462(a5)
 addq.l #2,a7
v22aa bra v233c
v22ae cmpi.w #4,d4
 bne.s v22ec
 move.w 2(a2),d0
 and.w #$8000,d0
 lsr.w #7,d0
 lsr.w #8,d0
 beq.s v22d8
 move.w #1,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v22d8 move.w -4(a6),-(a7)
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr v1a94(pc)
 addq.l #8,a7
 move.w d0,-$10(a6)
 bra.s v233c
v22ec cmpi.w #$e,d4
 bne.s v2300
 move.w d7,-(a7)
 move.l a2,-(a7)
 jsr v1c0c(pc)
 addq.l #6,a7
 move.w d0,d7
 bra.s v233c
v2300 move.w 2(a2),d0
 and.w #$1000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 bne.s v233c
 cmpi.w #$fffe,$a(a6)
 beq.s v233c
 move.w d7,d1
 lsr.w #6,d1
 lsr.w #8,d1
 move.w 2(a2),d0
 and.w #$c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 add.w d0,d1
 and.w #3,d1
 asl.w #6,d1
 asl.w #8,d1
 move.w d7,d0
 and.w #$3fff,d0
 or.w d1,d0
 move.w d0,d7
v233c move.w -$18(a6),d0
 beq.s v2346
 bra v25be
v2346 bra v25b6
v234a cmpi.w #2,d5
 bne v24e4
 move.w -2(a6),d0
 bne v24e4
 move.w d6,d0
 and.w #8,d0
 beq v24e4
 move.w d6,d0
 and.w #1,d0
 bne v24e4
 move.w -$16(a6),d0
 beq.s v23aa
 move.w -$335a(a4),d0
 bne.s v23aa
 move.w -$5b42(a4),-$16(a6)
 move.w -$e(a6),d0
 beq.s v2394
 move.w -6(a6),-(a7)
 jsr $2dc(a5)
 addq.l #2,a7
 jsr $1d4(a5)
v2394 addq.w #1,-$e(a6)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w -$2dba(a4),-(a7)
 jsr $1e6(a5)
 addq.l #6,a7
v23aa pea $10(a6)
 pea $e(a6)
 move.w #1,-(a7)
 move.w -6(a6),-(a7)
 jsr $31e(a5)
 adda.w #$c,a7
 move.w d0,-6(a6)
 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 cmpi.w #$ffff,d7
 bne v2474
 move.w $e(a6),-$2db6(a4)
 move.w $10(a6),-$2db8(a4)
 tst.w -$2db4(a4)
 bls v246e
 move.w -$335a(a4),d0
 beq.s v2446
 move.w #0,d0
 move.w d0,d5
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s v243c
v2402 move.w $34(a3),d0
 beq.s v2432
 move.l a3,-(a7)
 jsr $48c(a5)
 addq.l #4,a7
 move.w d0,-$2a(a6)
 move.w $110(a3),d0
 mulu #$19,d0
 and.l #$ffff,d0
 divu -$2a(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 jsr $480(a5)
 addq.l #4,a7
v2432 move.w d5,d0
 addq.w #1,d5
 move.l a3,d0
 adda.w #$320,a3
v243c move.w d5,d0
 cmp.w -$2db4(a4),d0
 bcs.s v2402
 bra.s v246e
v2446 move.l #$300002,-(a7)
 move.w #$14,-(a7)
 jsr $50a(a5)
 addq.l #6,a7
 tst.w d0
 beq.s v246e
 clr.w -(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #6,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v246e clr.w -$335a(a4)
 bra.s v24e0
v2474 cmpi.w #4,d4
 bne.s v24e0
 move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 clr.w -(a7)
 move.w #$14,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $33c(a5)
 adda.w #$c,a7
 move.w d0,-$1e(a6)
 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 cmpi.w #2,-$1e(a6)
 seq d0
 and.w #1,d0
 move.w d0,-$14(a6)
 beq.s v24c8
 bra v25be
v24c8 cmpi.w #1,-$1e(a6)
 bne.s v24e0
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d7,-(a7)
 jsr $276(a5)
 addq.l #6,a7
v24e0 bra v25b6
v24e4 cmpi.w #3,d5
 bne v25b4
 cmpi.w #$ffff,d7
 beq v25b4
 cmpi.w #$e,d4
 beq v25b4
 move.w d6,d0
 and.w #4,d0
 bne.s v252a
 pea $10(a6)
 pea $e(a6)
 move.w #1,-(a7)
 move.w -6(a6),-(a7)
 jsr $31e(a5)
 adda.w #$c,a7
 move.w d0,-6(a6)
 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
v252a move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $30c(a5)
 addq.l #4,a7
 move.w d0,-8(a6)
 move.w -8(a6),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w $e(a6),d0
 add.w d1,d0
 move.w d0,$e(a6)
 move.w -8(a6),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w $10(a6),d0
 add.w d1,d0
 move.w d0,$10(a6)
 move.w -8(a6),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-8(a6)
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-$1e(a6)
 move.w -$1e(a6),d0
 sub.w -8(a6),d0
 addq.w #1,d0
 and.w #2,d0
 lsr.w #1,d0
 add.w -8(a6),d0
 and.w #3,d0
 move.w d0,-$1e(a6)
 move.w d7,d0
 and.w #$3fff,d0
 move.w -$1e(a6),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,d7
 bra.s v25b6
v25b4 bra.s v25be
v25b6 subq.w #1,-$20(a6)
 bne v212a
v25be cmpi.w #4,d4
 bne.s v2624
 move.w -$14(a6),d0
 bne.s v25da
 move.w -6(a6),-(a7)
 move.w d7,-(a7)
 jsr $2ca(a5)
 addq.l #4,a7
 tst.w d0
 bne.s v2624
v25da move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d7,-(a7)
 jsr $276(a5)
 addq.l #6,a7
 move.w #2,-(a7)
 move.w d7,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $2be(a5)
 addq.l #8,a7
 move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 tst.w $a(a6)
 blt.s v261c
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $288(a5)
 addq.l #4,a7
v261c move.w #1,d0
 bra v2b06
v2624 cmpi.w #2,-6(a6)
 bls.s v2660
 move.w $e(a6),d0
 and.w #7,d0
 bne.s v2660
 move.w $10(a6),d0
 and.w #3,d0
 bne.s v2660
 pea $588(a5)
 jsr $516(a5)
 addq.l #4,a7
 cmpi.w #$c0f8,d0
 beq.s v2660
 move.w $10(a6),d0
 add.w d0,$e(a6)
 move.w $e(a6),d0
 sub.w d0,$10(a6)
v2660 move.w $e(a6),-$3350(a4)
 move.w $10(a6),-$3352(a4)
 move.w -6(a6),-$3354(a4)
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-$3358(a4)
 cmpi.w #$22b,-$22a(a4)
 beq.s v2694
 cmpi.w #$22b,-$22a(a4)
 seq d0
 and.w #1,d0
 addq.w #1,-$2dea(a4)
v2694 move.w -6(a6),d0
 cmp.w -4(a6),d0
 seq d0
 tst.b d0
 beq.s v26ae
 move.w $e(a6),d0
 cmp.w $a(a6),d0
 seq d0
 tst.b d0
v26ae tst.b d0
 beq.s v26be
 move.w $10(a6),d0
 cmp.w $c(a6),d0
 seq d0
 tst.b d0
v26be and.w #1,d0
 move.w d0,-$1a(a6)
 move.w -$1a(a6),d0
 beq.s v2702
 cmpi.w #$ffff,d7
 bne.s v26e6
 move.w -$2dba(a4),d0
 cmp.w -8(a6),d0
 bne.s v26e4
 move.w #0,d0
 bra v2b06
v26e4 bra.s v26fe
v26e6 move.w -$3358(a4),d0
 cmp.w -$a(a6),d0
 bne.s v26fe
 cmpi.w #$e,d4
 beq.s v26fe
 move.w #0,d0
 bra v2b06
v26fe bra v27e8
v2702 cmpi.w #$ffff,d7
 bne v27d4
 move.w -$2db4(a4),d0
 beq v27d4
 move.w d6,-$1e(a6)
 move.b -$33d8(a4),d6
 and.w #$ff,d6
 bra.s v272a
v2720 clr.w -(a7)
 jsr $4ec(a5)
 addq.l #2,a7
 subq.w #1,d6
v272a cmpi.w #$18,d6
 bge.s v2720
 move.w d6,d0
 beq.s v274c
 move.l -$2dc6(a4),d0
 sub.l -$329a(a4),d0
 move.w d0,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $504(a5)
 addq.l #6,a7
v274c move.l -$2dc6(a4),-$329a(a4)
 addq.b #1,-$33d8(a4)
 move.b -$33df(a4),d0
 beq.s v2762
 move.b -$33d8(a4),-$33d5(a4)
v2762 move.w $e(a6),d0
 move.w d6,d1
 asl.l #1,d1
 lea -$33d4(a4),a0
 adda.w d1,a0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,(a0)
 or.w d3,(a0)
 move.w $10(a6),d0
 move.w d6,d1
 asl.l #1,d1
 lea -$33d4(a4),a0
 adda.w d1,a0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,(a0)
 or.w d3,(a0)
 move.w -6(a6),d0
 move.w d6,d1
 asl.l #1,d1
 lea -$33d4(a4),a0
 adda.w d1,a0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,(a0)
 or.w d3,(a0)
 lea -$33a4(a4),a0
 adda.w d6,a0
 clr.b (a0)
 move.w #$8018,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $504(a5)
 addq.l #6,a7
 move.w -$1e(a6),d6
v27d4 move.w -6(a6),d0
 cmp.w -4(a6),d0
 beq.s v27e8
 move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
v27e8 tst.w $a(a6)
 blt v2870
 cmpi.w #$ffff,d7
 bne.s v2812
 clr.w -(a7)
 move.w -$1a(a6),-(a7)
 move.w #$ffff,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr v341a(pc)
 adda.w #$a,a7
 bra.s v2870
v2812 move.w -2(a6),d0
 beq.s v282c
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 bra.s v2870
v282c clr.w -(a7)
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 seq d0
 tst.b d0
 beq.s v2848
 move.w $a(a6),d0
 cmp.w -$2db6(a4),d0
 seq d0
 tst.b d0
v2848 tst.b d0
 beq.s v2858
 move.w $c(a6),d0
 cmp.w -$2db8(a4),d0
 seq d0
 tst.b d0
v2858 and.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr v341a(pc)
 adda.w #$a,a7
v2870 tst.w $e(a6)
 blt v2b06
 cmpi.w #$ffff,d7
 bne v28fe
 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d7
 cmpi.w #$fffe,d0
 beq.s v28c2
 move.w #1,-(a7)
 move.w d7,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $2be(a5)
 addq.l #8,a7
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $288(a5)
 addq.l #4,a7
v28c2 move.w -6(a6),d0
 cmp.w -4(a6),d0
 bne.s v28ea
 move.w #1,-(a7)
 move.w -$1a(a6),-(a7)
 move.w #$ffff,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr v341a(pc)
 adda.w #$a,a7
 bra.s v28fa
v28ea move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.w -6(a6),-$2de4(a4)
v28fa bra v2b06
v28fe cmpi.w #4,d4
 bne v2a92
 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.l a2,d6
 movea.l d6,a0
 clr.w d6
 move.b 5(a0),d6
 move.w -6(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s v2944
 move.w $e(a6),d0
 cmp.w -$2db6(a4),d0
 bne.s v2944
 move.w $10(a6),d0
 cmp.w -$2db8(a4),d0
 beq.s v2958
v2944 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 cmpi.w #$fffe,d0
 beq.s v29a6
v2958 move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 tst.w $a(a6)
 blt.s v2976
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $29a(a5)
 addq.l #4,a7
v2976 move.w -$12(a6),d0
 beq.s v2984
 move.w d6,-(a7)
 jsr $300(a5)
 addq.l #2,a7
v2984 move.w -$1c(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d7,-(a7)
 jsr v1cb8(pc)
 adda.w #$a,a7
 move.w #1,d0
 bra v2b06
v29a6 move.w -$12(a6),d0
 beq.s v29c8
 move.w -6(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 beq.s v29c8
 move.w d6,-(a7)
 jsr $300(a5)
 addq.l #2,a7
 move.w #1,-$10(a6)
 bra.s v29f0
v29c8 move.w -6(a6),d0
 move.w -$2dbc(a4),d1
 cmp.w d1,d0
 bne.s v29f0
 move.w -$12(a6),d0
 bne.s v29f0
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d7,-(a7)
 jsr $25e(a5)
 addq.l #6,a7
 move.w #1,-$10(a6)
v29f0 move.w -2(a6),d0
 beq.s v2a0a
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 bra.s v2a22
v2a0a move.w #1,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr v341a(pc)
 adda.w #$a,a7
v2a22 move.w -$10(a6),d0
 bne.s v2a2e
 tst.w $a(a6)
 bge.s v2a3c
v2a2e move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr $282(a5)
 addq.l #4,a7
v2a3c move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 tst.w $a(a6)
 blt.s v2a8c
 cmpi.w #1,-$10(a6)
 bls.s v2a78
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w -$10(a6),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea -$20(a0),a0
 move.l a0,-(a7)
 jsr $2d6(a5)
 addq.l #8,a7
 bra.s v2a8c
v2a78 move.w -$10(a6),d0
 beq.s v2a8c
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $29a(a5)
 addq.l #4,a7
v2a8c move.w -$10(a6),d0
 bra.s v2b06
v2a92 move.w -6(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 cmpi.w #$e,d4
 bne.s v2ab6
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 bra.s v2afc
v2ab6 move.w #1,-(a7)
 move.w -$28ba(a4),d0
 cmp.w -$2dbc(a4),d0
 seq d0
 tst.b d0
 beq.s v2ad4
 move.w $e(a6),d0
 cmp.w -$2db6(a4),d0
 seq d0
 tst.b d0
v2ad4 tst.b d0
 beq.s v2ae4
 move.w $10(a6),d0
 cmp.w -$2db8(a4),d0
 seq d0
 tst.b d0
v2ae4 and.w #1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 jsr v341a(pc)
 adda.w #$a,a7
v2afc move.w -4(a6),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
v2b06 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v2b0e link a6,#-$a
 move.l $12(a6),d0
 move.w -$28ba(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.b 9(a6),-6(a6)
 clr.b -5(a6)
 move.b $b(a6),-4(a6)
 move.b $d(a6),-3(a6)
 move.b $f(a6),-2(a6)
 move.b $11(a6),-1(a6)
 pea -$a(a6)
 jsr v001a(pc)
 addq.l #4,a7
 unlk a6
 rts
v2b5a link a6,#0
 movem.l d7/a3,-(a7)
 move.w $c(a6),d0
 beq.s v2b84
 cmpi.w #$ffff,-$40b8(a4)
 beq.s v2b82
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w -$40b8(a4),-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
v2b82 bra.s v2bce
v2b84 move.w $a(a6),d0
 and.l #$ffff,d0
 divu -$2db4(a4),d0
 move.w d0,$a(a6)
 move.w #0,d0
 move.w d0,d7
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s v2bc6
v2ba6 move.w $34(a3),d0
 beq.s v2bbc
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w d7,-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
v2bbc move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 adda.w #$320,a3
v2bc6 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s v2ba6
v2bce movem.l (a7)+,d7/a3
 unlk a6
 rts
v2bd6 link a6,#0
 cmpi.w #$a,8(a6)
 bne.s v2bfe
 cmpi.w #$ffff,$e(a6)
 sne d0
 and.w #1,d0
 move.w d0,-(a7)
 move.l #$8012c,-(a7)
 jsr v2b5a(pc)
 addq.l #6,a7
 bra.s v2c16
v2bfe move.w 8(a6),-$335c(a4)
 move.w $a(a6),-$335e(a4)
 move.w $c(a6),-$3360(a4)
 move.w $e(a6),-$3362(a4)
v2c16 unlk a6
 rts
v2c1a link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 cmpi.w #$ffff,-$335c(a4)
 bne.s v2c2e
 bra v2d42
v2c2e move.w -$335c(a4),d0
 cmp.w #1,d0
 beq.s v2c42
 cmp.w #2,d0
 beq.s v2c42
 bra v2d3c
v2c42 move.w -$3360(a4),-(a7)
 move.w -$335e(a4),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v2c5e
v2c54 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v2c5e move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bne.s v2c54
 cmpi.w #$ffff,-$3362(a4)
 beq.s v2c84
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w -$3362(a4),d1
 cmp.w d1,d0
 bne.s v2c54
v2c84 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w (a3),d6
 bra.s v2c9c
v2c92 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v2c9c cmpi.w #$fffe,d6
 beq.s v2cc8
 move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bne.s v2c92
 cmpi.w #$ffff,-$3362(a4)
 beq.s v2cc8
 move.w d6,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w -$3362(a4),d1
 cmp.w d1,d0
 bne.s v2c92
v2cc8 cmpi.w #$fffe,d6
 bne.s v2cd0
 bra.s v2d3c
v2cd0 move.w -$3360(a4),-(a7)
 move.w -$335e(a4),-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
 bra.s v2d22
v2cf8 cmpi.w #$ffff,-$3362(a4)
 beq.s v2d0e
 move.w d6,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w -$3362(a4),d1
 cmp.w d1,d0
 bne.s v2d18
v2d0e move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
v2d18 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v2d22 cmpi.w #$fffe,d6
 beq.s v2d38
 move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 beq.s v2cf8
v2d38 move.w (a2),(a3)
 move.w d7,(a2)
v2d3c move.w #$ffff,-$335c(a4)
v2d42 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
v2d4a link a6,#-2
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w 4(a3),d0
 and.w #4,d0
 lsr.w #2,d0
 beq.s v2d68
 andi.w #$ff80,2(a3)
v2d68 move.l -$2dc6(a4),d5
 move.w 4(a3),d1
 and.w #$780,d1
 lsr.w #7,d1
 and.l #$ffff,d1
 add.l d1,d5
 move.w 4(a3),d0
 and.w #$800,d0
 lsr.w #3,d0
 lsr.w #8,d0
 beq.s v2dac
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w 6(a3),d0
 and.w #$fff0,d0
 lsr.w #4,d0
 move.w d0,-(a7)
 jsr v2bd6(pc)
 addq.l #8,a7
 bra.s v2e12
v2dac move.w 6(a3),d7
 and.w #$7c0,d7
 lsr.w #6,d7
 move.w 6(a3),d6
 and.w #$f800,d6
 lsr.w #3,d6
 lsr.w #8,d6
 move.w d7,d4
 asl.l #2,d4
 movea.l -$28b8(a4),a0
 adda.w d4,a0
 movea.l (a0),a0
 adda.w d6,a0
 clr.w d4
 move.b (a0),d4
 asr.w #5,d4
 tst.w d4
 bne.s v2dea
 move.w 6(a3),d0
 and.w #$30,d0
 lsr.w #4,d0
 move.w d0,-2(a6)
 bra.s v2dee
v2dea clr.w -2(a6)
v2dee move.l d5,-(a7)
 move.w $c(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d4,d0
 lea -$63c(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr v2b0e(pc)
 adda.w #$e,a7
v2e12 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v2e1a link a6,#0
 movem.l d5-d7,-(a7)
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,d5
 bra.s v2e68
v2e3c move.w d5,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w d6,d0
 bne.s v2e5e
 cmpi.w #$ffff,d7
 beq.s v2e5a
 move.w d5,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d7,d1
 cmp.w d1,d0
 bne.s v2e5e
v2e5a move.w d5,d0
 bra.s v2e72
v2e5e move.w d5,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d5
v2e68 cmpi.w #$fffe,d5
 bne.s v2e3c
 move.w #$ffff,d0
v2e72 movem.l (a7)+,d5-d7
 unlk a6
 rts
v2e7a link a6,#-8
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 clr.w -4(a6)
 move.w #0,d0
 move.w d0,d6
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra v2f1c
v2e9c move.w $34(a3),d0
 beq.s v2f12
 lea $d4(a3),a0
 movea.l a0,a2
 clr.w d5
 bra.s v2f06
v2eac move.w (a2)+,d4
v2eae move.w d4,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 cmp.w d7,d0
 bne.s v2ec4
 move.w #1,d0
 bra.s v2f3e
v2ec4 cmpi.w #$90,-2(a6)
 bne.s v2f04
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-8(a6)
 movea.l -8(a6),a0
 move.w 2(a0),d4
 bra.s v2efe
v2ee2 move.w d4,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w d7,d0
 bne.s v2ef4
 move.w #1,d0
 bra.s v2f3e
v2ef4 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
v2efe cmpi.w #$fffe,d4
 bne.s v2ee2
v2f04 addq.w #1,d5
v2f06 cmpi.w #$1e,d5
 bcc.s v2f12
 move.w -4(a6),d0
 beq.s v2eac
v2f12 move.w d6,d0
 addq.w #1,d6
 move.l a3,d0
 adda.w #$320,a3
v2f1c move.w d6,d0
 cmp.w -$2db4(a4),d0
 bcs v2e9c
 move.w -4(a6),d0
 bne.s v2f3a
 move.w #1,-4(a6)
 move.w -$40c0(a4),d4
 bra v2eae
v2f3a move.w #0,d0
v2f3e movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v2f46 link a6,#-$26
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -8(a6)
 move.w -$40c0(a4),-$12(a6)
 clr.w d5
 bra.s v2f6a
v2f5c move.w d5,d0
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 clr.w (a0)
 addq.w #1,d5
v2f6a cmpi.w #4,d5
 bcs.s v2f5c
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 move.w d0,-$18(a6)
 bra.s v2fbc
v2f86 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #3,d0
 bne.s v2faa
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 addq.w #1,(a0)
 bra.s v2fb2
v2faa cmpi.w #4,d6
 bcs.s v2fb2
 bra.s v2fc2
v2fb2 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v2fbc cmpi.w #$fffe,d7
 bne.s v2f86
v2fc2 move.w -$18(a6),d0
 move.w d0,d7
 move.w d0,-$16(a6)
 bra v3402
v2fd0 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d6
 cmpi.w #3,d0
 bne v33ec
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,d5
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 subq.w #1,(a0)
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$7f,d0
 move.w d0,-4(a6)
 tst.w d0
 bne.s v3014
 bra v33f4
v3014 cmpi.w #$ffff,-$40b8(a4)
 bne.s v3028
 cmpi.w #$7f,-4(a6)
 beq.s v3028
 bra v33f4
v3028 move.w d5,d0
 cmp.w $c(a6),d0
 beq.s v3034
 bra v33f4
v3034 move.w 2(a2),d0
 lsr.w #7,d0
 move.w d0,-6(a6)
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 move.w d0,-2(a6)
 move.w -4(a6),d0
 cmp.w #1,d0
 beq.s v3058
 bra.s v3072
v3058 clr.w d4
 move.w 4(a2),d0
 and.w #$18,d0
 lsr.w #3,d0
 cmpi.w #3,d0
 bne.s v306e
 bra v33f4
v306e bra v331e
v3072 cmp.w #2,d0
 beq.s v307a
 bra.s v3094
v307a move.w -$40c2(a4),d4
 move.w 4(a2),d1
 and.w #$20,d1
 lsr.w #5,d1
 cmp.w d1,d4
 sne d4
 and.w #1,d4
 bra v331e
v3094 cmp.w #$11,d0
 beq.s v30a2
 cmp.w #$b,d0
 beq.s v30a2
 bra.s v30b6
v30a2 move.w d5,d0
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 beq.s v30b4
 bra v33f4
v30b4 bra.s v30c6
v30b6 cmp.w #3,d0
 beq.s v30c6
 cmp.w #4,d0
 beq.s v30c6
 bra v314e
v30c6 move.w -$12(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-$26(a6)
 move.w -6(a6),d0
 cmp.w -$26(a6),d0
 seq d0
 and.w #1,d0
 move.w 4(a2),d1
 and.w #$20,d1
 lsr.w #5,d1
 cmp.w d1,d0
 seq d0
 and.w #1,d0
 move.w d0,d4
 move.w d4,d0
 bne.s v312a
 cmpi.w #$11,-4(a6)
 bne.s v312a
 move.w -$16(a6),d0
 cmp.w d7,d0
 bne.s v310e
 bra v331e
v310e move.w -$16(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$1c(a6)
 movea.l -$1c(a6),a0
 move.w (a2),(a0)
 move.w #$ffff,(a2)
 move.w -$16(a6),d7
v312a move.w d4,d0
 bne.s v314a
 cmpi.w #$b,-4(a6)
 bne.s v314a
 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #2,-(a7)
 jsr v2bd6(pc)
 addq.l #8,a7
v314a bra v331e
v314e cmp.w #$c,d0
 beq.s v3156
 bra.s v318e
v3156 move.w d5,d0
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 beq.s v3168
 bra v33f4
v3168 move.w -$40c2(a4),d4
 seq d4
 and.w #1,d4
 move.w d4,d0
 bne.s v318a
 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #2,-(a7)
 jsr v2bd6(pc)
 addq.l #8,a7
v318a bra v331e
v318e cmp.w #$d,d0
 beq.s v3198
 bra v326c
v3198 move.w -$40c2(a4),d0
 beq.s v31e4
 move.w -6(a6),-(a7)
 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr v2e1a(pc)
 addq.l #8,a7
 move.w d0,-$12(a6)
 cmpi.w #$ffff,d0
 bne.s v31c0
 bra v33f4
v31c0 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w -$12(a6),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w #1,-(a7)
 move.w -$12(a6),-(a7)
 jsr $47a(a5)
 addq.l #4,a7
 bra.s v323e
v31e4 move.w -$12(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -6(a6),d0
 bne.s v320e
 move.w -6(a6),-(a7)
 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr v2e1a(pc)
 addq.l #8,a7
 cmpi.w #$ffff,d0
 beq.s v3212
v320e bra v33f4
v3212 jsr $486(a5)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w -$12(a6),d0
 and.w #$3fff,d0
 move.w d5,d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.w #$ffff,-$12(a6)
v323e move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #2,-(a7)
 jsr v2bd6(pc)
 addq.l #8,a7
 cmpi.w #3,-2(a6)
 bne.s v3266
 move.w -$40c2(a4),d0
 bne.s v3266
 move.w #1,d4
 bra.s v3268
v3266 clr.w d4
v3268 bra v331e
v326c cmp.w #$10,d0
 beq.s v3276
 bra v3302
v3276 move.w d5,d0
 asl.l #1,d0
 lea -$10(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 beq.s v3288
 bra v33f4
v3288 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,-$14(a6)
 move.w -$12(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -6(a6),d0
 bne.s v32b2
 cmpi.w #$ffff,-$14(a6)
 bne.s v32b6
v32b2 bra v33f4
v32b6 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w -$14(a6),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 jsr $486(a5)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w -$12(a6),d0
 and.w #$3fff,d0
 move.w d5,d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.w #1,-(a7)
 move.w -$14(a6),-(a7)
 jsr $47a(a5)
 addq.l #4,a7
 clr.w d4
 bra.s v331e
v3302 cmp.w #$7f,d0
 beq.s v330a
 bra.s v331c
v330a move.w -6(a6),-(a7)
 jsr $4f8(a5)
 addq.l #2,a7
 bra v33f4
v3318 bra v33f4
v331c bra.s v3318
v331e cmpi.w #3,-2(a6)
 bne.s v333a
 move.w d4,d0
 beq.s v3330
 move.w #1,d0
 bra.s v3334
v3330 move.w #0,d0
v3334 move.w d0,-2(a6)
 clr.w d4
v333a move.w d4,d0
 bne v33ea
 move.w #1,-8(a6)
 move.w 4(a2),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s v3368
 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #1,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v3368 move.w -$40c2(a4),d0
 bne.s v33a2
 cmpi.w #4,-4(a6)
 beq.s v3386
 cmpi.w #$b,-4(a6)
 beq.s v3386
 cmpi.w #$11,-4(a6)
 bne.s v33a2
v3386 move.w -$12(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w #$ffff,(a3)
 jsr $486(a5)
 move.w #$ffff,-$12(a6)
 bra.s v33d2
v33a2 move.w -$40c2(a4),d0
 beq.s v33d2
 cmpi.w #$c,-4(a6)
 bne.s v33d2
 move.w -6(a6),-(a7)
 jsr $2d0(a5)
 addq.l #2,a7
 move.w d0,-$12(a6)
 cmpi.w #$ffff,d0
 beq.s v33d2
 move.w #1,-(a7)
 move.w -$12(a6),-(a7)
 jsr $47a(a5)
 addq.l #4,a7
v33d2 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w -2(a6),-(a7)
 move.l a2,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
v33ea bra.s v33f4
v33ec cmpi.w #4,d6
 bcs.s v33f4
 bra.s v340a
v33f4 move.w d7,-$16(a6)
 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v3402 cmpi.w #$fffe,d7
 bne v2fd0
v340a jsr v2c1a(pc)
 move.w -8(a6),d0
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v341a link a6,#-$32
 movem.l d4-d7/a3,-(a7)
 move.w $e(a6),d7
 cmpi.w #$ffff,$c(a6)
 beq.s v344a
 move.w $c(a6),d5
 and.w #$3c00,d5
 lsr.w #2,d5
 lsr.w #8,d5
 move.w $c(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-$a(a6)
 bra.s v3454
v344a move.w #$ffff,d5
 move.w #$ffff,-$a(a6)
v3454 move.w $10(a6),d0
 bne.s v3474
 cmpi.w #$ffff,d5
 beq.s v3474
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w $c(a6),-(a7)
 jsr $28e(a5)
 addq.l #8,a7
v3474 move.w $a(a6),d0
 move.w 8(a6),d1
 asl.l #2,d1
 movea.l -$28b8(a4),a0
 adda.w d1,a0
 movea.l (a0),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$10(a6)
 lsr.w #5,d0
 tst.w d0
 bne.s v34a4
 move.w $c(a6),d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.w d0,-2(a6)
 bra.s v34aa
v34a4 move.w #$ffff,-2(a6)
v34aa move.w #0,d0
 move.w d0,-$e(a6)
 move.w d0,-$c(a6)
 move.w d0,-8(a6)
 move.w d0,-6(a6)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d6
 cmpi.w #$ffff,-2(a6)
 bne v3586
 bra v357c
v34dc move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-4(a6)
 cmpi.w #4,d0
 bne.s v34f8
 move.w #1,-8(a6)
 bra.s v3572
v34f8 cmpi.w #2,-4(a6)
 bne.s v3530
 cmpi.w #$ffff,d5
 bne.s v3530
 move.w $10(a6),d0
 beq.s v3530
 move.w d7,d0
 bne.s v3530
 move.w #1,-(a7)
 move.w d6,-(a7)
 pea -$3272(a4)
 jsr $2e8(a5)
 addq.l #8,a7
 pea -$3272(a4)
 move.w #$f,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 bra.s v3572
v3530 cmpi.w #4,-4(a6)
 bls.s v3572
 cmpi.w #$e,-4(a6)
 bcc.s v3572
 move.w #1,-6(a6)
 move.w d6,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -$a(a6),d0
 seq d0
 and.w #1,d0
 or.w d0,-$c(a6)
 move.w d6,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -$a(a6),d0
 sne d0
 and.w #1,d0
 or.w d0,-$e(a6)
v3572 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v357c cmpi.w #$fffe,d6
 bne v34dc
 bra.s v35e8
v3586 bra.s v35e2
v3588 move.w -2(a6),d0
 move.w d6,d1
 lsr.w #6,d1
 lsr.w #8,d1
 cmp.w d1,d0
 bne.s v35d8
 move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #4,d0
 bls.s v35d8
 move.w #1,-6(a6)
 move.w d6,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -$a(a6),d0
 seq d0
 and.w #1,d0
 or.w d0,-$c(a6)
 move.w d6,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmp.w -$a(a6),d0
 sne d0
 and.w #1,d0
 or.w d0,-$e(a6)
v35d8 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v35e2 cmpi.w #$fffe,d6
 bne.s v3588
v35e8 move.w $10(a6),d0
 beq.s v3608
 cmpi.w #$ffff,d5
 beq.s v3608
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 clr.w -(a7)
 move.w $c(a6),-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
v3608 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d6
 bra v38de
v361c move.w d6,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-4(a6)
 cmpi.w #3,d0
 bne v38ca
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w 2(a3),d0
 and.w #$7f,d0
 tst.w d0
 bne.s v364c
 bra v38d4
v364c move.w 2(a3),d0
 lsr.w #7,d0
 move.w d0,-$14(a6)
 move.w $10(a6),d4
 cmpi.w #$ffff,-2(a6)
 bne v37c2
 move.w 2(a3),d0
 and.w #$7f,d0
 cmp.w #1,d0
 beq.s v3674
 bra.s v368c
v3674 move.w d7,d0
 bne.s v3684
 move.w -6(a6),d0
 bne.s v3684
 move.w -8(a6),d0
 beq.s v3688
v3684 bra v38d4
v3688 bra v37be
v368c cmp.w #2,d0
 beq.s v3694
 bra.s v36ac
v3694 cmpi.w #4,d5
 bgt.s v36a4
 move.w d7,d0
 bne.s v36a4
 move.w -8(a6),d0
 beq.s v36a8
v36a4 bra v38d4
v36a8 bra v37be
v36ac cmp.w #3,d0
 beq.s v36b4
 bra.s v36f4
v36b4 cmpi.w #$ffff,d5
 bne.s v36c0
 tst.w -$2db4(a4)
 bne.s v36c4
v36c0 bra v38d4
v36c4 tst.w -$14(a6)
 bne.s v36d4
 move.w d7,d0
 beq.s v36d2
 bra v38d4
v36d2 bra.s v36f0
v36d4 move.w $10(a6),d0
 bne.s v36de
 clr.w d4
 bra.s v36f0
v36de move.w -$14(a6),d4
 move.w -$2dba(a4),d1
 addq.w #1,d1
 cmp.w d1,d4
 seq d4
 and.w #1,d4
v36f0 bra v37be
v36f4 cmp.w #4,d0
 beq.s v36fc
 bra.s v3722
v36fc move.w $c(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-$1e(a6)
 move.w -$14(a6),d0
 cmp.w -$1e(a6),d0
 bne.s v371a
 move.w -$c(a6),d0
 beq.s v371e
v371a bra v38d4
v371e bra v37be
v3722 cmp.w #5,d0
 beq.s v372a
 bra.s v3742
v372a cmpi.w #$ffff,d5
 bne.s v373c
 move.w -$10(a6),d0
 lsr.w #5,d0
 cmpi.w #3,d0
 beq.s v3740
v373c bra v38d4
v3740 bra.s v37be
v3742 cmp.w #6,d0
 beq.s v374a
 bra.s v374e
v374a bra v38d4
v374e cmp.w #7,d0
 beq.s v3756
 bra.s v376e
v3756 cmpi.w #4,d5
 bgt.s v3768
 cmpi.w #$ffff,d5
 beq.s v3768
 move.w -8(a6),d0
 beq.s v376c
v3768 bra v38d4
v376c bra.s v37be
v376e cmp.w #8,d0
 beq.s v3776
 bra.s v378e
v3776 cmpi.w #$ffff,d5
 beq.s v3780
 bra v38d4
v3780 move.w -$14(a6),-(a7)
 jsr v2e7a(pc)
 addq.l #2,a7
 move.w d0,d4
 bra.s v37be
v378e cmp.w #9,d0
 beq.s v3796
 bra.s v37bc
v3796 cmpi.w #$ffff,d5
 bne.s v37a6
 move.w $10(a6),d0
 beq.s v37a6
 move.w d7,d0
 beq.s v37aa
v37a6 bra v38d4
v37aa cmpi.w #$15,-$14(a6)
 sle d4
 and.w #1,d4
 bra.s v37be
v37b8 bra v38d4
v37bc bra.s v37b8
v37be bra v3852
v37c2 move.w -2(a6),d0
 move.w d6,d1
 lsr.w #6,d1
 lsr.w #8,d1
 cmp.w d1,d0
 beq.s v37d4
 bra v38d4
v37d4 move.w 2(a3),d0
 and.w #$7f,d0
 cmp.w #1,d0
 beq.s v37e4
 bra.s v37f0
v37e4 move.w -6(a6),d0
 beq.s v37ee
 bra v38d4
v37ee bra.s v3852
v37f0 cmp.w #2,d0
 beq.s v37f8
 bra.s v381e
v37f8 move.w -$c(a6),d0
 bne.s v3818
 move.w $c(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-$28(a6)
 move.w 2(a3),d0
 lsr.w #7,d0
 cmp.w -$28(a6),d0
 beq.s v381c
v3818 bra v38d4
v381c bra.s v3852
v381e cmp.w #3,d0
 beq.s v3826
 bra.s v3850
v3826 move.w -$e(a6),d0
 bne.s v3846
 move.w $c(a6),-(a7)
 jsr $186(a5)
 addq.l #2,a7
 move.w d0,-$32(a6)
 move.w 2(a3),d0
 lsr.w #7,d0
 cmp.w -$32(a6),d0
 bne.s v384a
v3846 bra v38d4
v384a bra.s v3852
v384c bra v38d4
v3850 bra.s v384c
v3852 move.w 4(a3),d0
 and.w #$20,d0
 lsr.w #5,d0
 eor.w d0,d4
 move.w 4(a3),d0
 and.w #$18,d0
 lsr.w #3,d0
 move.w d0,-$12(a6)
 cmpi.w #3,d0
 bne.s v3886
 move.w d4,d0
 beq.s v387c
 move.w #0,d0
 bra.s v3880
v387c move.w #1,d0
v3880 move.w d0,-$12(a6)
 bra.s v388c
v3886 move.w d4,d0
 bne.s v388c
 bra.s v38d4
v388c move.w 4(a3),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s v38ae
 move.w #1,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w #1,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v38ae move.w #$ffff,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w -$12(a6),-(a7)
 move.l a3,-(a7)
 jsr v2d4a(pc)
 adda.w #$c,a7
 bra.s v38d4
v38ca cmpi.w #4,-4(a6)
 bcs.s v38d4
 bra.s v38e6
v38d4 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v38de cmpi.w #$fffe,d6
 bne v361c
v38e6 jsr v2c1a(pc)
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v38f2 link a6,#-2
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w d5
 clr.w -2(a6)
 clr.w d6
 clr.w d4
 move.w #$200,-$72a(a4)
 move.w #$14,d7
 bra.s v3962
v3914 move.w d4,d0
 asl.w #1,d0
 movea.l a3,a0
 adda.w d7,a0
 clr.w d1
 move.b (a0),d1
 asr.w #7,d1
 and.w #1,d1
 or.w d1,d0
 move.w d0,d4
 move.w d5,d0
 addq.w #1,d5
 cmpi.w #$10,d0
 beq.s v393a
 cmpi.w #$1fc,d7
 bne.s v3960
v393a clr.w d5
 move.w d4,d0
 move.w d6,d1
 asl.l #1,d1
 lea -$298e(a4),a0
 adda.w d1,a0
 cmp.w (a0),d0
 beq.s v3950
 addq.w #1,-2(a6)
v3950 move.w d6,d0
 addq.w #1,d6
 asl.l #1,d0
 lea -$298e(a4),a0
 adda.w d0,a0
 move.w d4,(a0)
 clr.w d4
v3960 addq.w #1,d7
v3962 cmpi.w #$1fd,d7
 blt.s v3914
 move.w -2(a6),d0
 bne.s v3972
 clr.l -$40d8(a4)
v3972 move.w #$88,-$396(a4)
 move.w -2(a6),d0
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v3984 link a6,#-8
 movem.l d5-d7/a2-a3,-(a7)
 move.w -$2da6(a4),d0
 bne v3a20
 move.w -$40c0(a4),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s v39b2
 move.w #1,-$40c2(a4)
 move.w #$ffff,-$40be(a4)
 jsr $192(a5)
 bra.s v39be
v39b2 move.w #1,-(a7)
 move.w d5,-(a7)
 jsr v575c(pc)
 addq.l #4,a7
v39be lea -$4062(a4),a0
 movea.l a0,a3
 clr.w d7
 bra.s v39de
v39c8 andi.w #$7f,$30(a3)
 ori.w #$9400,$30(a3)
 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 adda.w #$320,a3
v39de move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s v39c8
 jsr v542e(pc)
 move.w -$40b8(a4),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s v3a04
 move.w #$ffff,-$40b8(a4)
 move.w d7,-(a7)
 jsr $564(a5)
 addq.l #2,a7
v3a04 move.w -$4f2a(a4),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s v3a1e
 move.w #$ffff,-$4f2a(a4)
 move.w d7,-(a7)
 jsr $534(a5)
 addq.l #2,a7
v3a1e bra.s v3a32
v3a20 move.w #$ffff,-$40c0(a4)
 move.w #$ffff,-$40be(a4)
 move.w #1,-$40c2(a4)
v3a32 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
v3a3a link a6,#0
 movea.l 8(a6),a0
 moveq #0,d0
v3a44 asl.w #4,d0
 moveq #-$41,d1
 add.b (a0)+,d1
 add.b d1,d0
 subq.w #1,$c(a6)
 bne.s v3a44
 unlk a6
 rts
v3a56 link a6,#-$60
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$40c2(a4),d0
 bne.s v3a68
 bra v3f34
v3a68 cmpi.w #4,-$2db4(a4)
 bne.s v3a74
 bra v3f34
v3a74 move.w -$2db4(a4),d0
 move.w d0,-2(a6)
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w #$320,-(a7)
 move.l a3,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #1,d0
 move.w d0,-$5a00(a4)
 move.l #$10ffff,-(a7)
 move.w #$80,-(a7)
 move.w 8(a6),d0
 lsr.w #3,d0
 mulu #$1d,d0
 move.w d0,-(a7)
 move.w 8(a6),d0
 and.w #7,d0
 asl.w #5,d0
 move.w d0,-(a7)
 pea -$56e(a4)
 lea $150(a3),a0
 move.l a0,-(a7)
 move.w #$1a,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.b #1,$1e(a3)
 move.b #2,$1f(a3)
 move.b #$ff,$20(a3)
 move.w #$ffff,$2c(a3)
 move.w #$ffff,$2e(a3)
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 clr.w d6
 bra.s v3b0a
v3b08 addq.w #1,d6
v3b0a move.w d6,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr v47e6(pc)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 bne.s v3b08
 move.w d6,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.b d0,$1d(a3)
 move.w #$400,$30(a3)
 move.w -$2dba(a4),d0
 move.b d0,$28(a3)
 jsr $90(a5)
 move.l d0,d1
 and.w #$ff,d1
 move.w #$5dc,d0
 add.w d1,d0
 move.w d0,$42(a3)
 jsr $90(a5)
 move.l d0,d1
 and.w #$ff,d1
 move.w #$5dc,d0
 add.w d1,d0
 move.w d0,$44(a3)
 clr.w d6
 bra.s v3b7a
v3b6a move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 addq.w #1,d6
v3b7a cmpi.w #$1e,d6
 bcs.s v3b6a
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v3b9c
v3b92 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v3b9c move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #2,d0
 bne.s v3b92
 move.w #$8002,-(a7)
 move.w d7,-(a7)
 lea -$60(a6),a0
 move.l a0,d0
 movea.l d0,a2
 move.l d0,-(a7)
 jsr $2e8(a5)
 addq.l #8,a7
 clr.w d6
 bra.s v3bd2
v3bc6 move.w d4,d0
 move.w d6,d1
 addq.w #1,d6
 lea (a3),a0
 adda.w d1,a0
 move.b d0,(a0)
v3bd2 clr.w d0
 move.b (a2)+,d0
 move.w d0,d4
 cmpi.w #$a,d0
 bne.s v3bc6
 move.w d6,d0
 lea (a3),a0
 adda.w d0,a0
 clr.b (a0)
 clr.w d6
 clr.w -4(a6)
v3bec clr.w d4
 move.b (a2)+,d4
 cmpi.w #$a,d4
 bne.s v3c06
 move.w -4(a6),d0
 beq.s v3bfe
 bra.s v3c16
v3bfe move.w #1,-4(a6)
 bra.s v3c14
v3c06 move.w d4,d0
 move.w d6,d1
 addq.w #1,d6
 lea 8(a3),a0
 adda.w d1,a0
 move.b d0,(a0)
v3c14 bra.s v3bec
v3c16 move.w d6,d0
 lea 8(a3),a0
 adda.w d0,a0
 clr.b (a0)
 move.b (a2)+,d0
 ext.w d0
 cmp.w #$4d,d0
 bne.s v3c30
 ori.w #$10,$30(a3)
v3c30 addq.l #1,a2
 move.w #4,-(a7)
 move.l a2,-(a7)
 jsr v3a3a(pc)
 addq.l #6,a7
 move.w d0,$36(a3)
 move.w d0,$34(a3)
 addq.l #4,a2
 move.w #4,-(a7)
 move.l a2,-(a7)
 jsr v3a3a(pc)
 addq.l #6,a7
 move.w d0,$3a(a3)
 move.w d0,$38(a3)
 addq.l #4,a2
 move.w #4,-(a7)
 move.l a2,-(a7)
 jsr v3a3a(pc)
 addq.l #6,a7
 move.w d0,$3e(a3)
 move.w d0,$3c(a3)
 addq.l #4,a2
 addq.l #1,a2
 clr.w d6
 bra.s v3cba
v3c7a move.w d6,d0
 muls #3,d0
 lea $48(a3),a0
 adda.w d0,a0
 move.b #$1e,(a0)
 move.w #2,-(a7)
 move.l a2,-(a7)
 jsr v3a3a(pc)
 addq.l #6,a7
 move.w d6,d1
 muls #3,d1
 lea $46(a3),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d6,d1
 muls #3,d1
 lea $47(a3),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
 addq.l #2,a2
 addq.w #1,d6
v3cba cmpi.w #6,d6
 bls.s v3c7a
 move.b #$a,$48(a3)
 addq.l #1,a2
 move.w #4,d6
 bra.s v3cf4
v3cce move.b (a2)+,d0
 ext.w d0
 sub.w #$41,d0
 move.w d0,d4
 tst.w d0
 bls.s v3cf2
 move.l #$7d,d0
 asl.l d4,d0
 move.w d6,d1
 muls #6,d1
 lea $5e(a3),a0
 adda.w d1,a0
 move.l d0,(a0)
v3cf2 addq.w #1,d6
v3cf4 cmpi.w #$13,d6
 bls.s v3cce
 clr.w d6
 bra.s v3d42
v3cfe clr.l -$12(a6)
 move.w d6,d5
 addq.w #1,d5
 asl.w #2,d5
 clr.w -4(a6)
 bra.s v3d28
v3d0e move.w d5,d0
 add.w -4(a6),d0
 muls #6,d0
 lea $5e(a3),a0
 adda.w d0,a0
 move.l (a0),d0
 add.l d0,-$12(a6)
 addq.w #1,-4(a6)
v3d28 cmpi.w #4,-4(a6)
 bcs.s v3d0e
 move.w d6,d0
 muls #6,d0
 lea $5e(a3),a0
 adda.w d0,a0
 move.l -$12(a6),(a0)
 addq.w #1,d6
v3d42 cmpi.w #3,d6
 bls.s v3cfe
 move.w -2(a6),d0
 addq.w #1,d0
 move.w d0,-$2da8(a4)
 addq.w #1,-$2db4(a4)
 move.w -$2db4(a4),d0
 cmpi.w #1,d0
 bne.s v3d70
 clr.w -(a7)
 jsr $564(a5)
 addq.l #2,a7
 move.w #1,-$4f1a(a4)
 bra.s v3d82
v3d70 jsr $510(a5)
 move.w -$2db4(a4),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $56a(a5)
 addq.l #2,a7
v3d82 move.w -$2db6(a4),-8(a6)
 move.w -$2db8(a4),-$a(a6)
 move.w -$2dba(a4),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-$c(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$a(a6),d0
 add.w d1,d0
 move.w d0,-$a(a6)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d7
 move.w #$d,d6
 bra v3f1e
v3de4 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d4
 cmpi.w #3,d0
 bls v3f14
 move.w d7,d0
 lsr.w #6,d0
 lsr.w #8,d0
 cmp.w -$c(a6),d0
 bne v3f14
 move.w d7,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20ba(a4),a0
 adda.w d0,a0
 move.w (a0),-$e(a6)
 move.w d4,d0
 cmp.w #6,d0
 beq.s v3e26
 bra.s v3e72
v3e26 move.w #2,-6(a6)
 bra.s v3e4a
v3e2e move.w -$e(a6),d0
 move.w -6(a6),d1
 asl.l #1,d1
 lea -$412(a4),a0
 adda.w d1,a0
 and.w (a0),d0
 beq.s v3e46
 bra v3ef0
v3e46 addq.w #1,-6(a6)
v3e4a cmpi.w #5,-6(a6)
 bls.s v3e2e
 move.w -$e(a6),d0
 and.w -$3fe(a4),d0
 beq.s v3e6c
 cmpi.w #$ffff,$e8(a3)
 bne.s v3e6c
 move.w #$a,-6(a6)
 bra.s v3e6e
v3e6c bra.s v3ece
v3e6e bra v3ef0
v3e72 cmp.w #5,d0
 beq.s v3e7a
 bra.s v3e8e
v3e7a cmpi.w #$ffff,$d6(a3)
 bne.s v3e8a
 move.w #1,-6(a6)
 bra.s v3e8c
v3e8a bra.s v3ece
v3e8c bra.s v3ef0
v3e8e cmp.w #7,d0
 beq.s v3e9c
 cmp.w #8,d0
 beq.s v3e9c
 bra.s v3ec0
v3e9c cmpi.w #$ffff,$ea(a3)
 bne.s v3eac
 move.w #$b,-6(a6)
 bra.s v3ebe
v3eac cmpi.w #$ffff,$e0(a3)
 bne.s v3ebc
 move.w #6,-6(a6)
 bra.s v3ebe
v3ebc bra.s v3ece
v3ebe bra.s v3ef0
v3ec0 cmp.w #9,d0
 beq.s v3ece
 cmp.w #$a,d0
 beq.s v3ece
 bra.s v3ef0
v3ece move.w -$e(a6),d0
 and.w -$3fe(a4),d0
 beq.s v3ee8
 cmpi.w #$ffff,$e8(a3)
 bne.s v3ee8
 move.w #$a,-6(a6)
 bra.s v3ef0
v3ee8 move.w d6,d0
 addq.w #1,d6
 move.w d0,-6(a6)
v3ef0 move.w -6(a6),d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 cmpi.w #$ffff,(a0)
 beq.s v3f04
 bra.s v3ece
v3f04 move.w -6(a6),-(a7)
 move.w d7,-(a7)
 move.w -2(a6),-(a7)
 jsr v5ce4(pc)
 addq.l #6,a7
v3f14 move.w d7,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d7
v3f1e cmpi.w #$fffe,d7
 bne v3de4
 move.w -2(a6),-(a7)
 jsr v93b6(pc)
 addq.l #2,a7
 jsr $5a6(a5)
v3f34 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v3f3c link a6,#-$28
 movem.l d4-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.w #3,-8(a6)
 move.w #8,-6(a6)
 move.w #3,d0
 move.w d0,-$c(a6)
 add.w #$a7,d0
 move.w d0,-$a(a6)
 move.l #$c0070,-(a7)
 pea -$c(a6)
 move.l -$2da2(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.l #$480004,-(a7)
 pea -$39e(a4)
 move.w #$1b,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 pea $30(a4)
 move.l #$3a000d,-(a7)
 move.w #$b1,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 pea $38(a4)
 move.l #$4c000d,-(a7)
 move.w #$69,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 jsr $24(a5)
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 clr.w -(a7)
 jsr $144(a5)
 addq.l #2,a7
 jsr $a8(a5)
 move.w #0,d0
 move.w d0,d7
 lea (a3),a0
 adda.w d0,a0
 clr.b (a0)
 clr.b 8(a3)
 move.w #1,d6
 lea (a3),a0
 movea.l a0,a2
 move.w #$b1,-2(a6)
 move.w #$5b,-4(a6)
 move.w -$5a58(a4),d0
 and.w #2,d0
 move.w d0,-$14(a6)
v400c cmpi.w #2,d6
 seq d0
 tst.b d0
 beq.s v401e
 cmpi.w #$13,d7
 seq d0
 tst.b d0
v401e and.w #1,d0
 move.w d0,d4
 bne.s v4050
 jsr $24(a5)
 pea -$586(a4)
 move.l #$9000c,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 jsr $a8(a5)
v4050 bra v424c
v4054 move.w -$5a58(a4),d0
 and.w #2,d0
 move.w d0,-$12(a6)
 move.w -$12(a6),d0
 beq v423c
 move.w -$14(a6),d0
 bne v423c
 move.w -$5a5a(a4),-$e(a6)
 move.w -$5a5c(a4),-$10(a6)
 cmpi.w #2,d6
 beq.s v4088
 tst.w d7
 bls v4146
v4088 cmpi.w #$c5,-$e(a6)
 bcs v4146
 cmpi.w #$d7,-$e(a6)
 bhi v4146
 cmpi.w #$93,-$10(a6)
 bcs v4146
 cmpi.w #$9b,-$10(a6)
 bhi v4146
 move.w d7,-$16(a6)
 lea (a3),a0
 move.l a0,d0
 movea.l d0,a2
 move.l d0,-(a7)
 pea -$1e(a6)
 jsr $5a(a5)
 addq.l #8,a7
 move.l a2,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v40da
v40d2 move.w d7,d0
 movea.l a2,a0
 adda.w d0,a0
 clr.b (a0)
v40da subq.w #1,d7
 move.w d7,d0
 movea.l a2,a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$20,d0
 beq.s v40d2
 clr.w d7
 bra.s v4110
v40f0 move.l a2,-(a7)
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr $66(a5)
 addq.l #8,a7
 tst.w d0
 bne.s v410e
 bra.s v4120
v410e addq.w #1,d7
v4110 move.w d7,d0
 move.w -$2db4(a4),d1
 subq.w #1,d1
 cmp.w d1,d0
 bcs.s v40f0
 bra v43f8
v4120 cmpi.w #2,d6
 bne.s v412c
 lea 8(a3),a0
 movea.l a0,a2
v412c pea -$1e(a6)
 lea (a3),a0
 move.l a0,d0
 movea.l d0,a2
 move.l d0,-(a7)
 jsr $5a(a5)
 addq.l #8,a7
 move.w -$16(a6),d7
 bra v423c
v4146 cmpi.w #$6b,-$e(a6)
 bcs.s v416e
 cmpi.w #$af,-$e(a6)
 bhi.s v416e
 cmpi.w #$93,-$10(a6)
 bcs.s v416e
 cmpi.w #$9b,-$10(a6)
 bhi.s v416e
 move.w #8,d5
 bra v425c
v416e cmpi.w #$6b,-$e(a6)
 bcs.s v418e
 cmpi.w #$d7,-$e(a6)
 bhi.s v418e
 cmpi.w #$74,-$10(a6)
 bcs.s v418e
 cmpi.w #$90,-$10(a6)
 bls.s v4192
v418e bra v423c
v4192 move.w -$e(a6),d0
 addq.w #4,d0
 and.l #$ffff,d0
 divu #$a,d0
 swap d0
 tst.w d0
 beq.s v41ce
 move.w -$10(a6),d0
 addq.w #5,d0
 and.l #$ffff,d0
 divu #$a,d0
 swap d0
 tst.w d0
 bne.s v41d0
 cmpi.w #$cf,-$e(a6)
 bcs.s v41ce
 cmpi.w #$87,-$10(a6)
 beq.s v41d0
v41ce bra.s v423c
v41d0 move.w #$b,d5
 move.w -$10(a6),d1
 sub.w #$74,d1
 and.l #$ffff,d1
 divu #$a,d1
 mulu d1,d5
 move.w d5,-$28(a6)
 move.w #$41,d5
 add.w -$28(a6),d5
 move.w -$e(a6),d1
 sub.w #$6b,d1
 and.l #$ffff,d1
 divu #$a,d1
 add.w d1,d5
 cmpi.w #$56,d5
 beq.s v4214
 cmpi.w #$61,d5
 bne.s v421a
v4214 move.w #$d,d5
 bra.s v425c
v421a cmpi.w #$57,d5
 blt.s v4222
 subq.w #1,d5
v4222 cmpi.w #$5a,d5
 ble.s v423a
 move.w d5,d0
 sub.w #$5a,d0
 lea -$58f(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 move.w d0,d5
v423a bra.s v425c
v423c move.w -$12(a6),-$14(a6)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
v424c move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 beq v4054
v425c move.w -$12(a6),-$14(a6)
 move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 beq.s v427c
 move.w #7,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 move.w d0,d5
v427c cmpi.w #$61,d5
 blt.s v428c
 cmpi.w #$7a,d5
 bgt.s v428c
 sub.w #$20,d5
v428c cmpi.w #$41,d5
 blt.s v4298
 cmpi.w #$5a,d5
 ble.s v42b6
v4298 cmpi.w #$2e,d5
 beq.s v42b6
 cmpi.w #$2c,d5
 beq.s v42b6
 cmpi.w #$3b,d5
 beq.s v42b6
 cmpi.w #$3a,d5
 beq.s v42b6
 cmpi.w #$20,d5
 bne.s v4320
v42b6 cmpi.w #$20,d5
 bne.s v42c2
 tst.w d7
 bne.s v42c2
 bra.s v431c
v42c2 move.w d4,d0
 bne.s v431c
 move.w d5,d0
 move.b d0,-$588(a4)
 jsr $24(a5)
 pea -$588(a4)
 move.l #$d000c,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 jsr $a8(a5)
 move.w d5,d0
 move.w d7,d1
 addq.w #1,d7
 movea.l a2,a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d7,d0
 movea.l a2,a0
 adda.w d0,a0
 clr.b (a0)
 addq.w #6,-2(a6)
 cmpi.w #1,d6
 bne.s v431c
 cmpi.w #7,d7
 bne.s v431c
 bra.s v435a
v431c bra v43f4
v4320 cmpi.w #$d,d5
 bne.s v4376
 cmpi.w #1,d6
 bne.s v4372
 tst.w d7
 bls.s v4372
 jsr $24(a5)
 pea -$586(a4)
 move.l #$d000c,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 jsr $a8(a5)
v435a move.w #2,d6
 lea 8(a3),a0
 movea.l a0,a2
 move.w #$69,-2(a6)
 move.w #$6d,-4(a6)
 clr.w d7
v4372 bra v43f4
v4376 cmpi.w #8,d5
 bne.s v43f4
 cmpi.w #1,d6
 bne.s v4388
 tst.w d7
 bne.s v4388
 bra.s v43f4
v4388 move.w d4,d0
 bne.s v43b6
 jsr $24(a5)
 pea -$586(a4)
 move.l #$d000c,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 jsr $a8(a5)
v43b6 tst.w d7
 bne.s v43e6
 lea (a3),a0
 movea.l a0,a2
 move.l a2,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 subq.w #1,d0
 move.w d0,d7
 move.w #1,d6
 move.w #$b1,d0
 move.w d7,d1
 mulu #6,d1
 add.w d1,d0
 move.w d0,-2(a6)
 move.w #$5b,-4(a6)
 bra.s v43ec
v43e6 subq.w #1,d7
 subq.w #6,-2(a6)
v43ec move.w d7,d0
 movea.l a2,a0
 adda.w d0,a0
 clr.b (a0)
v43f4 bra v400c
v43f8 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v4400 link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$2db4(a4),d0
 subq.w #1,d0
 move.w d0,d7
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #$a2,8(a6)
 bne v44c2
 move.w #4,-(a7)
 jsr v93b6(pc)
 addq.l #2,a7
 clr.w -$2da8(a4)
 cmpi.w #1,-$2db4(a4)
 bne.s v4448
 move.w #$ffff,-(a7)
 jsr $564(a5)
 addq.l #2,a7
v4448 subq.w #1,-$2db4(a4)
 clr.w -8(a6)
 move.w #$1c,-6(a6)
 move.w d7,d0
 mulu #$45,d0
 move.w d0,-$c(a6)
 add.w #$42,d0
 move.w d0,-$a(a6)
 clr.w -$5a00(a4)
 jsr $24(a5)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$c(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 clr.w d0
 move.b $1d(a3),d0
 addq.w #4,d0
 sub.w -$2dba(a4),d0
 and.w #3,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 jsr $57c(a5)
 jsr $a8(a5)
 bra v4706
v44c2 clr.w -$2da8(a4)
 move.w -$2db6(a4),-2(a6)
 move.w -$2db8(a4),-4(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -2(a6),d0
 add.w d1,d0
 move.w d0,-2(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -4(a6),d0
 add.w d1,d0
 move.w d0,-4(a6)
 clr.w d6
 bra.s v452e
v4506 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d4
 cmpi.w #$ffff,d0
 beq.s v452c
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
v452c addq.w #1,d6
v452e cmpi.w #$1e,d6
 bcs.s v4506
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d4
v4544 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #3,d0
 bne.s v4566
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 andi.w #$ff80,2(a2)
 bra.s v4572
v4566 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
 bra.s v4544
v4572 cmpi.w #$a1,8(a6)
 bne v4676
 move.l a3,-(a7)
 jsr v3f3c(pc)
 addq.l #4,a7
 move.w #$78,-(a7)
 lea $5c(a3),a0
 move.l a0,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #1,d6
 bra.s v45fa
v459a move.w d6,d5
 muls #3,d5
 lea $47(a3),a0
 adda.w d5,a0
 clr.w d5
 move.b (a0),d5
 asr.w #3,d5
 move.w d6,d0
 muls #3,d0
 lea $47(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 sub.w d5,d0
 move.w d0,-(a7)
 move.w d6,d0
 muls #3,d0
 lea $48(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d6,d1
 muls #3,d1
 lea $46(a3),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d6,d1
 muls #3,d1
 lea $47(a3),a0
 adda.w d1,a0
 and.w #$ff,d0
 move.b d0,(a0)
 addq.w #1,d6
v45fa cmpi.w #6,d6
 bls.s v459a
 move.w $34(a3),d0
 asr.w #1,d0
 move.w d0,$34(a3)
 move.w $36(a3),d0
 asr.w #1,d0
 move.w d0,$36(a3)
 move.w $38(a3),d0
 asr.w #1,d0
 move.w d0,$38(a3)
 move.w $3a(a3),d0
 asr.w #1,d0
 move.w d0,$3a(a3)
 move.w $3c(a3),d0
 asr.w #1,d0
 move.w d0,$3c(a3)
 move.w $3e(a3),d0
 asr.w #1,d0
 move.w d0,$3e(a3)
 clr.w d6
 bra.s v4670
v4640 jsr $90(a5)
 and.l #$ffff,d0
 divu #7,d0
 swap d0
 move.w d0,d5
 move.w d5,d0
 muls #3,d0
 lea $47(a3),a0
 adda.w d0,a0
 addq.b #1,(a0)
 move.w d5,d0
 muls #3,d0
 lea $46(a3),a0
 adda.w d0,a0
 addq.b #1,(a0)
 addq.w #1,d6
v4670 cmpi.w #$c,d6
 bcs.s v4640
v4676 cmpi.w #1,-$2db4(a4)
 bne.s v4696
 move.l -$2dc6(a4),-$329a(a4)
 clr.w -(a7)
 jsr $564(a5)
 addq.l #2,a7
 clr.w -(a7)
 jsr $534(a5)
 addq.l #2,a7
 bra.s v46a0
v4696 move.w -$4f2a(a4),-(a7)
 jsr $54c(a5)
 addq.l #2,a7
v46a0 jsr $ba(a5)
 lea (a3),a0
 move.l a0,-(a7)
 move.w d7,d0
 lea -$56a(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 move.w d0,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 cmpi.w #$a0,8(a6)
 bne.s v46ce
 lea $4c(a4),a0
 move.l a0,d0
 bra.s v46d4
v46ce lea $5a(a4),a0
 move.l a0,d0
v46d4 move.l d0,-(a7)
 move.w d6,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 move.w #4,-(a7)
 jsr v93b6(pc)
 addq.l #2,a7
 jsr $57c(a5)
 cmpi.w #$ffff,-$40b8(a4)
 bne.s v46fa
 move.w #0,d0
 bra.s v46fe
v46fa move.w #1,d0
v46fe move.w d0,-(a7)
 jsr $144(a5)
 addq.l #2,a7
v4706 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v470e link a6,#0
 movem.l d7/a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w d0
 move.b $1d(a3),d0
 move.w d0,-(a7)
 jsr v47e6(pc)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 beq.s v4756
 clr.w d7
 bra.s v4742
v4740 addq.w #1,d7
v4742 move.w d7,-(a7)
 jsr v47e6(pc)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 bne.s v4740
 move.w d7,d0
 move.b d0,$1d(a3)
v4756 move.w $36(a3),d7
 move.w d7,d0
 move.w d7,d1
 lsr.w #6,d1
 sub.w d1,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w #$19,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,$36(a3)
 asr.w #1,d0
 move.w d0,$34(a3)
 move.w -$4f2a(a4),-(a7)
 jsr $54c(a5)
 addq.l #2,a7
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 ori.w #$9400,$30(a3)
 move.w 8(a6),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 movem.l (a7)+,d7/a3
 unlk a6
 rts
v47a4 link a6,#0
 move.w 8(a6),d3
 move.w -$2dba(a4),d2
 move.w d3,-$2dba(a4)
 sub.w d2,d3
 beq.s v47e2
 addq.w #4,d3
 lea -$4062(a4),a0
 move.w -$2db4(a4),d0
v47c2 add.b d3,$1d(a0)
 andi.b #3,$1d(a0)
 add.b d3,$1c(a0)
 andi.b #3,$1c(a0)
 lea $320(a0),a0
 subq.w #1,d0
 bgt.s v47c2
 jsr v55a0(pc)
v47e2 unlk a6
 rts
v47e6 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w #0,d0
 move.w d0,d6
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s v4820
v4802 clr.w d0
 move.b $1d(a3),d0
 cmp.w d7,d0
 bne.s v4816
 move.w $34(a3),d0
 beq.s v4816
 move.w d6,d0
 bra.s v482c
v4816 move.w d6,d0
 addq.w #1,d6
 move.l a3,d0
 adda.w #$320,a3
v4820 move.w d6,d0
 cmp.w -$2db4(a4),d0
 bcs.s v4802
 move.w #$ffff,d0
v482c movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v4834 link a6,#-4
 movem.l d6-d7,-(a7)
 move.w -$2db4(a4),d0
 beq.s v48be
 move.w 8(a6),d0
 move.w -$2db6(a4),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w $a(a6),d0
 move.w -$2db8(a4),d1
 sub.w d1,d0
 move.w d0,-(a7)
 jsr $ea(a5)
 addq.l #2,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 cmpi.w #1,d0
 bgt.s v48be
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 pea -4(a6)
 jsr $396(a5)
 adda.w #$e,a7
 clr.w d7
 bra.s v48b8
v4898 move.w d7,d0
 lea -4(a6),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr v47e6(pc)
 addq.l #2,a7
 move.w d0,d6
 tst.w d0
 blt.s v48b6
 move.w d6,d0
 bra.s v48c2
v48b6 addq.w #1,d7
v48b8 cmpi.w #4,d7
 bcs.s v4898
v48be move.w #$ffff,d0
v48c2 movem.l (a7)+,d6-d7
 unlk a6
 rts
v48ca link a6,#-8
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w d6
 tst.w $34(a3)
 ble.s v4950
 move.w $34(a3),d5
 ext.l d5
 asl.l #2,d5
 asl.l #8,d5
 move.l d5,-(a7)
 move.l #$19,d5
 move.l d5,-(a7)
 jsr $168(a5)
 move.l (a7)+,d5
 move.l d5,-(a7)
 move.w $36(a3),d5
 ext.l d5
 move.l d5,-(a7)
 jsr $1aa(a5)
 move.l (a7)+,d5
 addq.l #4,a7
 move.l d5,d0
 and.l #$3ff,d0
 beq.s v493a
 move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 addq.l #1,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 bra.s v494e
v493a move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
v494e bra.s v495e
v4950 move.w d6,d0
 addq.w #1,d6
 asl.l #1,d0
 lea -6(a6),a0
 adda.w d0,a0
 clr.w (a0)
v495e tst.w $38(a3)
 ble.s v49c8
 move.w $38(a3),d5
 ext.l d5
 asl.l #2,d5
 asl.l #8,d5
 move.l d5,-(a7)
 move.l #$19,d5
 move.l d5,-(a7)
 jsr $168(a5)
 move.l (a7)+,d5
 move.l d5,-(a7)
 move.w $3a(a3),d5
 ext.l d5
 move.l d5,-(a7)
 jsr $1aa(a5)
 move.l (a7)+,d5
 addq.l #4,a7
 move.l d5,d0
 and.l #$3ff,d0
 beq.s v49b2
 move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 addq.l #1,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 bra.s v49c6
v49b2 move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 move.w d6,d1
 addq.w #1,d6
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
v49c6 bra.s v49d6
v49c8 move.w d6,d0
 addq.w #1,d6
 asl.l #1,d0
 lea -6(a6),a0
 adda.w d0,a0
 clr.w (a0)
v49d6 tst.w $3c(a3)
 ble.s v4a56
 move.w $3c(a3),d0
 cmp.w $3e(a3),d0
 ble.s v49f6
 move.w d6,d0
 asl.l #1,d0
 lea -6(a6),a0
 adda.w d0,a0
 move.w #$19,(a0)
 bra.s v4a54
v49f6 move.w $3c(a3),d5
 ext.l d5
 asl.l #2,d5
 asl.l #8,d5
 move.l d5,-(a7)
 move.l #$19,d5
 move.l d5,-(a7)
 jsr $168(a5)
 move.l (a7)+,d5
 move.l d5,-(a7)
 move.w $3e(a3),d5
 ext.l d5
 move.l d5,-(a7)
 jsr $1aa(a5)
 move.l (a7)+,d5
 addq.l #4,a7
 move.l d5,d0
 and.l #$3ff,d0
 beq.s v4a42
 move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 addq.l #1,d0
 move.w d6,d1
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 bra.s v4a54
v4a42 move.l d5,d0
 asr.l #2,d0
 asr.l #8,d0
 move.w d6,d1
 asl.l #1,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
v4a54 bra.s v4a62
v4a56 move.w d6,d0
 asl.l #1,d0
 lea -6(a6),a0
 adda.w d0,a0
 clr.w (a0)
v4a62 jsr $24(a5)
 movea.l -$2ece(a4),a0
 lea $140(a0),a0
 move.w 8(a6),d1
 ext.l d1
 cmp.w #3,d1
 bcs.s v4a86
 move.l #$80000000,d6
 move.l d6,d7
 addq.l #1,d7
 bra.s v4ab0
v4a86 cmp.w #2,d1
 bcs.s v4a96
 moveq #0,d6
 move.l #$80000000,d7
 bra.s v4ab0
v4a96 cmp.w #1,d1
 bcs.s v4aa8
 move.l #$80000001,d6
 move.l d6,d7
 subq.l #1,d7
 bra.s v4ab0
v4aa8 move.l #$80000001,d6
 moveq #1,d7
v4ab0 add.w d1,d1
 move.w d1,d2
 add.w d1,d1
 add.w d2,d1
 move.w d1,-8(a6)
 addq.w #4,-8(a6)
 lea -6(a6),a3
v4ac4 movea.l a0,a2
 lea -$5f6(a4),a1
 adda.w 0(a1,d1.w),a2
 lsl.w #1,d1
 lea -$5de(a4),a1
 move.w 0(a1,d1.w),d2
 move.w 2(a1,d1.w),d3
 move.w d2,d4
 not.w d4
 move.w d3,d5
 not.w d5
 lsr.w #1,d1
 move.w (a3)+,d0
 jsr v4af8(pc)
 cmp.w -8(a6),d1
 beq v4b82
 addq.w #2,d1
 bra.s v4ac4
v4af8 move.w d1,-(a7)
 move.w #$18,d1
v4afe cmp.w d1,d0
 bhi.s v4b22
 and.w d4,(a2)
 and.w d5,8(a2)
 and.w d4,2(a2)
 and.w d5,$a(a2)
 or.w d2,4(a2)
 or.w d3,$c(a2)
 or.w d2,6(a2)
 or.w d3,$e(a2)
 bra.s v4b76
v4b22 tst.w d6
 beq.s v4b2e
 or.w d2,(a2)
 or.w d3,8(a2)
 bra.s v4b34
v4b2e and.w d4,(a2)
 and.w d5,8(a2)
v4b34 tst.l d6
 bge.s v4b42
 or.w d2,2(a2)
 or.w d3,$a(a2)
 bra.s v4b4a
v4b42 and.w d4,2(a2)
 and.w d5,$a(a2)
v4b4a tst.w d7
 beq.s v4b58
 or.w d2,4(a2)
 or.w d3,$c(a2)
 bra.s v4b60
v4b58 and.w d4,4(a2)
 and.w d5,$c(a2)
v4b60 tst.l d7
 bge.s v4b6e
 or.w d2,6(a2)
 or.w d3,$e(a2)
 bra.s v4b76
v4b6e and.w d4,6(a2)
 and.w d5,$e(a2)
v4b76 lea $a0(a2),a2
 dbf d1,v4afe
 move.w (a7)+,d1
 rts
v4b82 jsr $a8(a5)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v4b8e link a6,#0
 moveq #4,d0
 sub.w $c(a6),d0
 lea -$40de(a4),a1
 add.l a1,d0
 move.l #$20202020,(a1)+
 clr.b (a1)
 moveq #0,d1
 move.w 8(a6),d1
v4bac divu #$a,d1
 swap d1
 add.b #$30,d1
 move.b d1,-(a1)
 clr.w d1
 swap d1
 bne.s v4bac
 tst.w $a(a6)
 bne.s v4bc6
 move.l a1,d0
v4bc6 unlk a6
 rts
v4bca link a6,#0
 move.l #$10003,-(a7)
 move.w $a(a6),-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 move.w #$d,-(a7)
 move.w 8(a6),-(a7)
 move.w #$37,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 pea $6a(a4)
 move.w #$d,-(a7)
 move.w 8(a6),-(a7)
 move.w #$49,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 move.l #$10003,-(a7)
 move.w $c(a6),-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 move.w #$d,-(a7)
 move.w 8(a6),-(a7)
 move.w #$4f,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 unlk a6
 rts
v4c36 link a6,#0
 move.l a3,-(a7)
 movea.l 8(a6),a3
 move.w $36(a3),-(a7)
 move.w $34(a3),-(a7)
 move.w #$74,-(a7)
 jsr v4bca(pc)
 addq.l #6,a7
 move.w $3a(a3),d0
 ext.l d0
 divs #$a,d0
 move.w d0,-(a7)
 move.w $38(a3),d0
 ext.l d0
 divs #$a,d0
 move.w d0,-(a7)
 move.w #$7c,-(a7)
 jsr v4bca(pc)
 addq.l #6,a7
 move.w $3e(a3),-(a7)
 move.w $3c(a3),-(a7)
 move.w #$84,-(a7)
 jsr v4bca(pc)
 addq.l #6,a7
 movea.l (a7)+,a3
 unlk a6
 rts
v4c8c link a6,#-$1a
 movem.l d4-d7/a2-a3,-(a7)
 move.w $a(a6),d7
 move.w #$ffff,-$14(a6)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w -$40e6(a4),d5
 move.w 8(a6),d1
 addq.w #1,d1
 cmp.w d1,d5
 seq d5
 and.w #1,d5
 move.w d5,d0
 bne.s v4cec
 cmpi.w #1,d7
 bhi.s v4cda
 move.w -$2da8(a4),d0
 move.w 8(a6),d1
 addq.w #1,d1
 cmp.w d1,d0
 bne.s v4cde
v4cda bra v4e70
v4cde move.w 8(a6),d0
 asl.w #1,d0
 add.w d7,d0
 move.w d0,-2(a6)
 bra.s v4cf6
v4cec move.w #8,d0
 add.w d7,d0
 move.w d0,-2(a6)
v4cf6 cmpi.w #$1e,d7
 bcs.s v4d0a
 move.w d7,d6
 asl.l #1,d6
 lea -$4134(a4),a0
 adda.w d6,a0
 move.w (a0),d6
 bra.s v4d16
v4d0a move.w d7,d6
 asl.l #1,d6
 lea $d4(a3),a0
 adda.w d6,a0
 move.w (a0),d6
v4d16 move.w -2(a6),d0
 muls #6,d0
 lea -$394(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w (a2),d0
 subq.w #1,d0
 move.w d0,-$12(a6)
 add.w #$11,d0
 move.w d0,-$10(a6)
 move.w 2(a2),d0
 subq.w #1,d0
 move.w d0,-$e(a6)
 add.w #$11,d0
 move.w d0,-$c(a6)
 move.w d5,d0
 beq.s v4d5c
 move.l -$2da2(a4),-$18(a6)
 move.w #$70,-$1a(a6)
 bra.s v4d6e
v4d5c move.l -$2ece(a4),d0
 move.l d0,-$18(a6)
 move.w #$a0,-$1a(a6)
 jsr $24(a5)
v4d6e cmpi.w #$ffff,d6
 bne.s v4dc4
 cmpi.w #5,d7
 bhi.s v4da4
 move.w #$d4,d4
 move.w d7,d1
 asl.w #1,d1
 add.w d1,d4
 move.w $32(a3),d0
 move.w #1,d1
 asl.w d7,d1
 and.w d1,d0
 beq.s v4d9c
 addq.w #1,d4
 move.w #$22,-$14(a6)
 bra.s v4da2
v4d9c move.w #$21,-$14(a6)
v4da2 bra.s v4dc2
v4da4 cmpi.w #$a,d7
 bcs.s v4dbe
 cmpi.w #$d,d7
 bhi.s v4dbe
 move.w #$d0,d4
 move.w d7,d1
 sub.w #$a,d1
 add.w d1,d4
 bra.s v4dc2
v4dbe move.w #$cc,d4
v4dc2 bra.s v4e08
v4dc4 move.w d6,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d4
 move.w d5,d0
 beq.s v4de6
 cmpi.w #1,d7
 bne.s v4de6
 cmpi.w #$90,d4
 beq.s v4de4
 cmpi.w #$1e,d4
 bne.s v4de6
v4de4 addq.w #1,d4
v4de6 cmpi.w #5,d7
 bhi.s v4e08
 move.w $32(a3),d0
 move.w #1,d1
 asl.w d7,d1
 and.w d1,d0
 beq.s v4e02
 move.w #$22,-$14(a6)
 bra.s v4e08
v4e02 move.w #$21,-$14(a6)
v4e08 cmpi.w #1,d7
 bne.s v4e20
 move.w 8(a6),d0
 addq.w #1,d0
 cmp.w -$4f16(a4),d0
 bne.s v4e20
 move.w #$23,-$14(a6)
v4e20 cmpi.w #$ffff,-$14(a6)
 beq.s v4e5c
 move.w #0,d0
 move.w d0,-$5a00(a4)
 move.w #$c,-(a7)
 move.w -$1a(a6),-(a7)
 move.w #$10,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$12(a6)
 move.l -$18(a6),-(a7)
 move.w -$14(a6),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
v4e5c move.w d4,-(a7)
 move.w -2(a6),-(a7)
 jsr $ae(a5)
 addq.l #4,a7
 move.w d5,d0
 bne.s v4e70
 jsr $a8(a5)
v4e70 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v4e78 link a6,#-$2a
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 mulu #$45,d0
 move.w d0,-4(a6)
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $30(a3),d6
 move.w d6,d0
 and.w #$ff80,d0
 bne.s v4eae
 bra v5426
v4eae move.w d7,d5
 addq.w #1,d5
 move.w -$40e6(a4),d1
 cmp.w d1,d5
 seq d5
 and.w #1,d5
 clr.w -$5a00(a4)
 jsr $24(a5)
 move.w d6,d0
 and.w #$1000,d0
 beq v4ff0
 clr.w -$c(a6)
 move.w #$1c,-$a(a6)
 move.w -4(a6),d0
 move.w d0,-$10(a6)
 add.w #$42,d0
 move.w d0,-$e(a6)
 move.w $34(a3),d0
 beq v4fa8
 move.l #$c00a0,-(a7)
 pea -$10(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #6,-(a7)
 pea -$16(a6)
 jsr $54(a5)
 addq.l #6,a7
 clr.w d4
 tst.w -$33dc(a4)
 ble.s v4f2e
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 lea -$16(a6),a0
 adda.w d0,a0
 move.w #$26,(a0)
v4f2e tst.w -$33da(a4)
 ble.s v4f44
 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 lea -$16(a6),a0
 adda.w d0,a0
 move.w #$27,(a0)
v4f44 tst.w -$33de(a4)
 bgt.s v4f50
 move.w $112(a3),d0
 beq.s v4f60
v4f50 move.w d4,d0
 addq.w #1,d4
 asl.l #1,d0
 lea -$16(a6),a0
 adda.w d0,a0
 move.w #$25,(a0)
v4f60 bra.s v4f88
v4f62 move.l #$28000a,-(a7)
 pea -$10(a6)
 move.w d4,d0
 asl.l #1,d0
 lea -$16(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
v4f88 move.w d4,d0
 subq.w #1,d4
 tst.w d0
 bne.s v4f62
 move.w d5,d0
 beq.s v4fa2
 move.w d7,-(a7)
 jsr v9366(pc)
 addq.l #2,a7
 or.w #$100,d6
 bra.s v4fa6
v4fa2 or.w #$a180,d6
v4fa6 bra.s v4ff0
v4fa8 move.l #$28ffff,-(a7)
 pea -$10(a6)
 move.w #8,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 lea (a3),a0
 move.l a0,-(a7)
 move.l #$d0001,-(a7)
 move.w #5,-(a7)
 move.w -4(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 move.w d7,-(a7)
 jsr $56a(a5)
 addq.l #2,a7
 bra v541c
v4ff0 move.w $34(a3),d0
 bne.s v4ffa
 bra v541c
v4ffa move.w d6,d0
 and.w #$80,d0
 beq v50ea
 move.w d7,d4
 move.w -$40b8(a4),d1
 cmp.w d1,d4
 bne.s v5014
 move.w #9,d4
 bra.s v5018
v5014 move.w #$d,d4
v5018 move.w d5,d0
 beq v509c
 lea (a3),a0
 move.l a0,d0
 movea.l d0,a2
 move.l d0,-(a7)
 move.w d4,-(a7)
 move.l #$30007,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 move.l a2,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.w d0,-$20(a6)
 move.w #6,d0
 muls -$20(a6),d0
 addq.w #3,d0
 move.w d0,-6(a6)
 move.b 8(a3),-1(a6)
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$2c,d0
 beq.s v507e
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$3b,d0
 beq.s v507e
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$2d,d0
 beq.s v507e
 addq.w #6,-6(a6)
v507e lea 8(a3),a0
 move.l a0,-(a7)
 move.w d4,-(a7)
 move.w #7,-(a7)
 move.w -6(a6),-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 or.w #$4000,d6
 bra.s v50ea
v509c clr.w -$c(a6)
 move.w #6,-$a(a6)
 move.w -4(a6),d0
 move.w d0,-$10(a6)
 add.w #$2a,d0
 move.w d0,-$e(a6)
 move.l #$100a0,-(a7)
 pea -$10(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 lea (a3),a0
 move.l a0,-(a7)
 move.w #1,-(a7)
 move.w d4,-(a7)
 move.w #5,-(a7)
 move.w -4(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
v50ea move.w d6,d0
 and.w #$100,d0
 beq v51ac
 move.w d7,-(a7)
 jsr v48ca(pc)
 addq.l #2,a7
 move.w d5,d0
 beq v51ac
 move.l a3,-(a7)
 jsr v4c36(pc)
 addq.l #4,a7
 tst.w $42(a3)
 blt.s v511c
 tst.w $44(a3)
 blt.s v511c
 move.b $2a(a3),d0
 beq.s v5124
v511c move.w #$22,-8(a6)
 bra.s v512a
v5124 move.w #$21,-8(a6)
v512a move.l #$10000c,-(a7)
 pea -$576(a4)
 move.w -8(a6),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.w #$21,-8(a6)
 move.w #1,d4
 bra.s v5184
v5154 move.w d4,d0
 muls #3,d0
 lea $47(a3),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d4,d1
 muls #3,d1
 lea $46(a3),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 and.w #$ff,d0
 cmp.w d1,d0
 bge.s v5182
 move.w #$22,-8(a6)
 bra.s v518a
v5182 addq.w #1,d4
v5184 cmpi.w #6,d4
 ble.s v5154
v518a move.l #$10000c,-(a7)
 pea -$57e(a4)
 move.w -8(a6),-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 or.w #$4000,d6
v51ac move.w d6,d0
 and.w #$2000,d0
 beq.s v51dc
 move.w d5,d4
 beq.s v51be
 move.w #5,d4
 bra.s v51c2
v51be move.w #1,d4
v51c2 bra.s v51d0
v51c4 move.w d4,-(a7)
 move.w d7,-(a7)
 jsr v4c8c(pc)
 addq.l #4,a7
 subq.w #1,d4
v51d0 tst.w d4
 bge.s v51c4
 move.w d5,d0
 beq.s v51dc
 or.w #$4000,d6
v51dc move.w d6,d0
 and.w #$200,d0
 beq v5318
 move.w d5,d0
 beq v5318
 move.l a3,-(a7)
 jsr v65a0(pc)
 addq.l #4,a7
 move.w d0,d4
 move.w d0,-$2a(a6)
 move.w $110(a3),d0
 cmp.w -$2a(a6),d0
 bls.s v520c
 move.w #8,-8(a6)
 bra.s v523e
v520c move.w $110(a3),d0
 and.l #$ffff,d0
 asl.l #3,d0
 move.w d4,d1
 ext.l d1
 move.l d1,-(a7)
 move.l #5,d1
 move.l d1,-(a7)
 jsr $168(a5)
 move.l (a7)+,d1
 cmp.l d1,d0
 ble.s v5238
 move.w #$b,-8(a6)
 bra.s v523e
v5238 move.w #$d,-8(a6)
v523e pea $6c(a4)
 move.w -8(a6),-(a7)
 move.l #$680084,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 move.w $110(a3),d4
 and.l #$ffff,d4
 divu #$a,d4
 move.l #$10003,-(a7)
 move.w d4,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$3272(a4)
 jsr $5a(a5)
 addq.l #8,a7
 pea $72(a4)
 pea -$3272(a4)
 jsr $78(a5)
 addq.l #8,a7
 move.w $110(a3),d0
 move.w d4,d1
 muls #$a,d1
 sub.w d1,d0
 move.w d0,d4
 move.w #1,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$3272(a4)
 jsr $78(a5)
 addq.l #8,a7
 pea $74(a4)
 pea -$3272(a4)
 jsr $78(a5)
 addq.l #8,a7
 move.l a3,-(a7)
 jsr v65a0(pc)
 addq.l #4,a7
 addq.w #5,d0
 and.l #$ffff,d0
 divu #$a,d0
 move.w d0,d4
 move.l #$10003,-(a7)
 move.w d4,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$3272(a4)
 jsr $78(a5)
 addq.l #8,a7
 pea $76(a4)
 pea -$3272(a4)
 jsr $78(a5)
 addq.l #8,a7
 pea -$3272(a4)
 move.w -8(a6),-(a7)
 move.l #$940084,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 or.w #$4000,d6
v5318 clr.w d4
 move.b $1d(a3),d4
 addq.w #4,d4
 sub.w -$2dba(a4),d4
 and.w #3,d4
 move.w d6,d0
 and.w #$400,d0
 beq v53b6
 move.w -$5a70(a4),d0
 move.w d4,d1
 addq.w #1,d1
 cmp.w d1,d0
 beq.s v53b6
 move.w #$a0,-(a7)
 move.w d7,d0
 lea -$56a(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 move.w d4,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.l #$a0000c,-(a7)
 move.w #$28,-(a7)
 clr.w -(a7)
 clr.w d0
 move.b $1c(a3),d0
 addq.w #4,d0
 sub.w -$2dba(a4),d0
 and.w #3,d0
 muls #$13,d0
 move.w d0,-(a7)
 move.w d4,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$2ece(a4),-(a7)
 move.w #$1c,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
v53b6 move.w d6,d0
 and.w #$800,d0
 beq.s v53e8
 move.w d5,d0
 beq.s v53e8
 move.w -$2df0(a4),d0
 beq.s v53ce
 jsr v89a2(pc)
 bra.s v53e4
v53ce move.w -$2dec(a4),d0
 beq.s v53e0
 move.w -$40c2(a4),d0
 beq.s v53de
 jsr v90f8(pc)
v53de bra.s v53e4
v53e0 jsr v8a92(pc)
v53e4 or.w #$4000,d6
v53e8 move.w d6,d0
 and.w #$8000,d0
 beq.s v540c
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr v4c8c(pc)
 addq.l #4,a7
 move.w d7,-(a7)
 jsr $56a(a5)
 addq.l #2,a7
 move.w d5,d0
 beq.s v540c
 or.w #$4000,d6
v540c move.w d6,d0
 and.w #$4000,d0
 beq.s v541c
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
v541c andi.w #$7f,$30(a3)
 jsr $a8(a5)
v5426 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v542e link a6,#0
 move.w d7,-(a7)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 clr.w d7
 bra.s v544c
v5442 move.w d7,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 addq.w #1,d7
v544c move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s v5442
 move.w (a7)+,d7
 unlk a6
 rts
v545a link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $a(a6),d7
 asl.l #1,d7
 lea $d4(a3),a0
 adda.w d7,a0
 move.w (a0),d7
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 beq.s v549a
 move.w #0,d0
 bra v5522
v549a move.w d7,-(a7)
 jsr $294(a5)
 addq.l #2,a7
 movea.l d0,a2
 clr.w d0
 move.b 1(a2),d0
 cmp.w #$10,d0
 blt.s v54c2
 clr.w d0
 move.b 1(a2),d0
 cmp.w #$1f,d0
 bgt.s v54c2
 move.w #$a,d6
 bra.s v54e6
v54c2 clr.w d0
 move.b 1(a2),d0
 cmp.w #$20,d0
 blt.s v54e0
 clr.w d0
 move.b 1(a2),d0
 cmp.w #$2f,d0
 bgt.s v54e0
 move.w #$b,d6
 bra.s v54e6
v54e0 move.w #0,d0
 bra.s v5522
v54e6 move.w $c(a6),d7
 asl.l #1,d7
 lea $d4(a3),a0
 adda.w d7,a0
 move.w (a0),d7
 move.w d7,-(a7)
 jsr $294(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 seq d0
 tst.b d0
 beq.s v551e
 clr.w d0
 move.b 1(a2),d0
 cmp.w d6,d0
 seq d0
 tst.b d0
v551e and.w #1,d0
v5522 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
v552a link a6,#0
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w d7,-(a7)
 jsr $1a4(a5)
 addq.l #2,a7
 move.w d0,d6
 cmpi.w #$20,d6
 bge.s v554a
 tst.w d6
 bge.s v555c
v554a cmpi.w #$94,d6
 blt.s v5556
 cmpi.w #$a3,d6
 ble.s v555c
v5556 cmpi.w #$c3,d6
 bne.s v5594
v555c move.w $a(a6),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d5
 move.w d5,d0
 cmp.w d6,d0
 beq.s v5594
 cmpi.w #8,d7
 bge.s v5584
 move.w -$40e0(a4),d0
 bne.s v5584
 move.w #1,-$40e0(a4)
 jsr $24(a5)
v5584 move.w d5,-(a7)
 move.w d7,-(a7)
 jsr $ae(a5)
 addq.l #4,a7
 move.w #1,d0
 bra.s v5598
v5594 move.w #0,d0
v5598 movem.l (a7)+,d5-d7
 unlk a6
 rts
v55a0 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$40e6(a4),d6
 move.w -$2da8(a4),d0
 beq.s v55ba
 move.w d6,d0
 bne.s v55ba
 bra v5754
v55ba clr.w -$40e0(a4)
 move.w -$40be(a4),d0
 move.w d0,d5
 cmpi.w #$20,d0
 bge.s v55d4
 move.w -$40be(a4),d0
 move.w d0,d5
 tst.w d0
 bge.s v55f8
v55d4 move.w -$40be(a4),d0
 move.w d0,d5
 cmpi.w #$94,d0
 blt.s v55ec
 move.w -$40be(a4),d0
 move.w d0,d5
 cmpi.w #$a3,d0
 ble.s v55f8
v55ec move.w -$40be(a4),d0
 move.w d0,d5
 cmpi.w #$c3,d0
 bne.s v5640
v55f8 move.w -$40c0(a4),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 move.w -2(a6),d0
 cmp.w d5,d0
 beq.s v5640
 move.w #1,-$40e0(a4)
 jsr $24(a5)
 move.l -$40bc(a4),-(a7)
 move.w -2(a6),-(a7)
 jsr $4e(a5)
 addq.l #6,a7
 move.l -$40bc(a4),-(a7)
 jsr $f6(a5)
 addq.l #4,a7
 move.w -2(a6),-$40be(a4)
 move.w -$40c0(a4),-(a7)
 jsr $162(a5)
 addq.l #2,a7
v5640 clr.w d7
 bra.s v5690
v5644 move.w d7,d4
 lsr.w #1,d4
 move.w d6,d0
 move.w d4,d1
 addq.w #1,d1
 cmp.w d1,d0
 bne.s v5654
 bra.s v568e
v5654 move.w d7,d0
 and.w #1,d0
 move.w d4,d1
 muls #$320,d1
 lea -$3f8e(a4),a0
 adda.w d1,a0
 asl.l #1,d0
 lea (a0),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d7,-(a7)
 jsr v552a(pc)
 addq.l #4,a7
 tst.w d0
 beq.s v568e
 move.w d7,d0
 and.w #1,d0
 cmpi.w #1,d0
 bne.s v568e
 move.w d4,-(a7)
 jsr $56a(a5)
 addq.l #2,a7
v568e addq.w #1,d7
v5690 move.w d7,d0
 move.w -$2db4(a4),d1
 asl.w #1,d1
 cmp.w d1,d0
 bcs.s v5644
 move.w d6,d0
 beq v574a
 move.w d6,d0
 muls #$320,d0
 lea -$4382(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w #0,d0
 move.w d0,d7
 asl.l #1,d0
 lea $d4(a2),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w d5
 bra.s v56fc
v56c8 move.w (a3),-(a7)
 move.w d7,d0
 addq.w #8,d0
 move.w d0,-(a7)
 jsr v552a(pc)
 addq.l #4,a7
 move.w d0,-4(a6)
 or.w d0,d5
 move.w -4(a6),d0
 beq.s v56f4
 cmpi.w #1,d7
 bne.s v56f4
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $56a(a5)
 addq.l #2,a7
v56f4 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 addq.l #2,a3
v56fc cmpi.w #$1e,d7
 bcs.s v56c8
 cmpi.w #4,-$40e8(a4)
 bne.s v5734
 lea -$40f8(a4),a0
 movea.l a0,a3
 clr.w d7
 bra.s v572e
v5714 move.w (a3),-(a7)
 move.w d7,d0
 add.w #$26,d0
 move.w d0,-(a7)
 jsr v552a(pc)
 addq.l #4,a7
 or.w d0,d5
 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 addq.l #2,a3
v572e cmpi.w #8,d7
 bcs.s v5714
v5734 move.w d5,d0
 beq.s v574a
 ori.w #$4000,$30(a2)
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v574a move.w -$40e0(a4),d0
 beq.s v5754
 jsr $a8(a5)
v5754 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v575c link a6,#0
 cmpi.w #$ffff,8(a6)
 bne.s v576c
 bra v57fe
v576c clr.w -$40c2(a4)
 move.l -$40bc(a4),-(a7)
 move.w 8(a6),d0
 move.w d0,-$40c0(a4)
 move.w d0,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-$40be(a4)
 move.w d0,-(a7)
 jsr $4e(a5)
 addq.l #6,a7
 jsr $24(a5)
 move.w 8(a6),-(a7)
 jsr $162(a5)
 addq.l #2,a7
 move.w $a(a6),d0
 beq.s v57ac
 move.w #1,-$2de0(a4)
 bra.s v57b6
v57ac move.l -$40bc(a4),-(a7)
 jsr $f6(a5)
 addq.l #4,a7
v57b6 jsr $a8(a5)
 cmpi.w #$ffff,-$40b8(a4)
 beq.s v57fe
 move.w 8(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d1,d0
 move.w d0,(a0)
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$200,(a0)
 move.w -$40b8(a4),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v57fe unlk a6
 rts
v5802 link a6,#0
 move.w d7,-(a7)
 move.w #1,-$40c2(a4)
 move.w -$40c0(a4),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s v5878
 move.w #$ffff,-$40c0(a4)
 move.w #$ffff,-$40be(a4)
 jsr $24(a5)
 jsr $150(a5)
 jsr $192(a5)
 jsr $a8(a5)
 cmpi.w #$ffff,-$40b8(a4)
 beq.s v5878
 move.w d7,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w d1,d0
 move.w d0,(a0)
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$200,(a0)
 move.w -$40b8(a4),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v5878 move.w d7,d0
 move.w (a7)+,d7
 unlk a6
 rts
v5880 link a6,#-$e
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 clr.w d4
 move.w $12(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,d5
 cmpi.w #5,d0
 beq.s v58b0
 cmpi.w #6,d5
 bne.s v5900
v58b0 tst.w d7
 bcs.s v5900
 cmpi.w #$c,d7
 bhi.s v5900
 move.w $12(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 cmpi.w #5,d5
 bne.s v58de
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #$100,d0
 lsr.w #8,d0
 bne.s v58f6
v58de cmpi.w #6,d5
 bne.s v5900
 move.l -4(a6),d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$100,d0
 lsr.w #8,d0
 beq.s v5900
v58f6 clr.w d5
 move.w #$fffd,d4
 bra v5aa4
v5900 cmpi.w #$89,d6
 bne.s v5916
 cmpi.w #$1e,d7
 bcc.s v5916
 clr.w d5
 move.w #$a,d4
 bra v5aa4
v5916 cmpi.w #1,d7
 bne v5a06
 cmpi.w #$2d,d6
 bne.s v5930
 move.w #1,d5
 move.w #5,d4
 bra v5a02
v5930 move.w #8,d5
 cmpi.w #$14,d6
 bcs.s v5948
 cmpi.w #$16,d6
 bhi.s v5948
 move.w #4,d4
 bra v5a02
v5948 cmpi.w #$3a,d6
 bcs v59d8
 cmpi.w #$42,d6
 bhi v59d8
 move.w d6,d0
 cmp.w #$3a,d0
 beq.s v5962
 bra.s v5968
v5962 move.w #2,d4
 bra.s v59d6
v5968 cmp.w #$3b,d0
 beq.s v5970
 bra.s v5976
v5970 move.w #1,d4
 bra.s v59d6
v5976 cmp.w #$3c,d0
 beq.s v597e
 bra.s v5984
v597e move.w #6,d4
 bra.s v59d6
v5984 cmp.w #$3d,d0
 beq.s v598c
 bra.s v5992
v598c move.w #4,d4
 bra.s v59d6
v5992 cmp.w #$3e,d0
 beq.s v599a
 bra.s v59a0
v599a move.w #$a,d4
 bra.s v59d6
v59a0 cmp.w #$3f,d0
 beq.s v59a8
 bra.s v59ae
v59a8 move.w #8,d4
 bra.s v59d6
v59ae cmp.w #$40,d0
 beq.s v59b6
 bra.s v59bc
v59b6 move.w #$10,d4
 bra.s v59d6
v59bc cmp.w #$41,d0
 beq.s v59c4
 bra.s v59ca
v59c4 move.w #7,d4
 bra.s v59d6
v59ca cmp.w #$42,d0
 beq.s v59d2
 bra.s v59d6
v59d2 move.w #5,d4
v59d6 bra.s v5a02
v59d8 move.w d6,d0
 cmp.w #$26,d0
 beq.s v59e2
 bra.s v59e8
v59e2 move.w #1,d4
 bra.s v5a02
v59e8 cmp.w #$29,d0
 beq.s v59f0
 bra.s v59f6
v59f0 move.w #2,d4
 bra.s v5a02
v59f6 cmp.w #$28,d0
 beq.s v59fe
 bra.s v5a02
v59fe move.w #4,d4
v5a02 bra v5aa4
v5a06 cmpi.w #4,d7
 bne.s v5a1e
 cmpi.w #$8e,d6
 bne.s v5a1a
 move.w #1,d5
 move.w #$a,d4
v5a1a bra v5aa4
v5a1e cmpi.w #2,d7
 bne.s v5a44
 cmpi.w #$68,d6
 bne.s v5a34
 move.w #3,d5
 move.w #$a,d4
 bra.s v5a42
v5a34 cmpi.w #$8c,d6
 bne.s v5a42
 move.w #2,d5
 move.w #$a,d4
v5a42 bra.s v5aa4
v5a44 cmpi.w #3,d7
 bne.s v5a6a
 cmpi.w #$8d,d6
 bne.s v5a5a
 move.w #6,d5
 move.w #$c,d4
 bra.s v5a68
v5a5a cmpi.w #$51,d6
 bne.s v5a68
 move.w #2,d5
 move.w #8,d4
v5a68 bra.s v5aa4
v5a6a cmpi.w #$a,d7
 bne.s v5aa4
 cmpi.w #$a,d6
 bcs.s v5a86
 cmpi.w #$b,d6
 bhi.s v5a86
 move.w #5,d5
 move.w #$f,d4
 bra.s v5aa4
v5a86 cmpi.w #$51,d6
 bne.s v5a96
 move.w #2,d5
 move.w #8,d4
 bra.s v5aa4
v5a96 cmpi.w #$7a,d6
 bne.s v5aa4
 move.w #8,d5
 move.w #3,d4
v5aa4 move.w d4,d0
 beq.s v5af6
 move.w d4,d0
 muls $10(a6),d0
 move.w d0,d4
 cmpi.w #8,d5
 bne.s v5abe
 move.w d4,d0
 add.w d0,$3e(a3)
 bra.s v5af0
v5abe cmpi.w #7,d5
 bge.s v5af0
 clr.w d7
 bra.s v5aea
v5ac8 move.w d5,d0
 muls #3,d0
 lea $46(a3),a0
 add.l a0,d0
 move.l d0,-$e(a6)
 move.w d7,d0
 addq.w #1,d7
 movea.l -$e(a6),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 add.w d4,d0
 move.b d0,(a0)
v5aea cmpi.w #2,d7
 bls.s v5ac8
v5af0 ori.w #$900,$30(a3)
v5af6 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v5afe link a6,#-2
 movem.l d5-d7/a2-a3,-(a7)
 move.w $a(a6),d7
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #$1e,d7
 bcs.s v5b3e
 move.w d7,d6
 asl.l #1,d6
 lea -$4134(a4),a0
 adda.w d6,a0
 move.w (a0),d6
 move.w d7,d0
 asl.l #1,d0
 lea -$4134(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 bra.s v5b58
v5b3e move.w d7,d6
 asl.l #1,d6
 lea $d4(a3),a0
 adda.w d6,a0
 move.w (a0),d6
 move.w d7,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
v5b58 cmpi.w #$ffff,d6
 bne.s v5b66
 move.w #$ffff,d0
 bra v5cdc
v5b66 move.w 8(a6),d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 seq d0
 and.w #1,d0
 move.w d0,-2(a6)
 move.w d6,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d5
 move.w d6,-(a7)
 move.w #$ffff,-(a7)
 move.w d5,-(a7)
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr v5880(pc)
 adda.w #$c,a7
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 cmpi.w #$a,d7
 bne.s v5c08
 cmpi.w #$c,d5
 blt.s v5be0
 cmpi.w #$d,d5
 bgt.s v5be0
 move.w #0,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a0)
 or.w d3,2(a0)
 move.w -$42e(a4),d0
 sub.w d0,-$33e2(a4)
 jsr v8072(pc)
 bra.s v5c08
v5be0 cmpi.w #$a,d5
 blt.s v5c08
 cmpi.w #$b,d5
 bgt.s v5c08
 move.w #0,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a0)
 or.w d3,2(a0)
v5c08 move.w d7,-(a7)
 move.w 8(a6),-(a7)
 jsr v4c8c(pc)
 addq.l #4,a7
 move.w -2(a6),d0
 beq.s v5c20
 ori.w #$4000,$30(a3)
v5c20 cmpi.w #2,d7
 bcc v5cc8
 cmpi.w #1,d7
 bne.s v5c72
 ori.w #$8000,$30(a3)
 move.w -$4f16(a4),d0
 move.w 8(a6),d1
 addq.w #1,d1
 cmp.w d1,d0
 bne.s v5c46
 jsr $510(a5)
v5c46 cmpi.w #$1e,d5
 blt.s v5c72
 cmpi.w #$1f,d5
 bgt.s v5c72
 move.w #1,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,2(a0)
 or.w d3,2(a0)
 jsr v55a0(pc)
v5c72 cmpi.w #4,d5
 blt.s v5c9e
 cmpi.w #7,d5
 bgt.s v5c9e
 move.w #0,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 asl.w #8,d3
 andi.w #$7fff,2(a2)
 or.w d3,2(a2)
 jsr v8072(pc)
 jsr v55a0(pc)
v5c9e move.w -2(a6),d0
 beq.s v5cc8
 cmpi.w #1,d7
 bne.s v5cc8
 cmpi.w #$90,d5
 bne.s v5cb6
 jsr v7e60(pc)
 bra.s v5cc2
v5cb6 cmpi.w #$1e,d5
 blt.s v5cc8
 cmpi.w #$1f,d5
 bgt.s v5cc8
v5cc2 ori.w #$800,$30(a3)
v5cc8 move.w d6,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 sub.w d0,$110(a3)
 ori.w #$200,$30(a3)
 move.w d6,d0
v5cdc movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
v5ce4 link a6,#-2
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w $c(a6),d5
 cmpi.w #$ffff,d6
 bne.s v5d02
 bra v5e9c
v5d02 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #$1e,d5
 bcs.s v5d26
 move.w d5,d0
 asl.l #1,d0
 lea -$4134(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
 bra.s v5d32
v5d26 move.w d5,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w d6,(a0)
v5d32 move.w d6,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 add.w d0,$110(a3)
 ori.w #$200,$30(a3)
 move.w d6,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d4
 move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 seq d0
 and.w #1,d0
 move.w d0,-2(a6)
 move.w d6,-(a7)
 move.w #1,-(a7)
 move.w d4,-(a7)
 move.w d5,-(a7)
 move.l a3,-(a7)
 jsr v5880(pc)
 adda.w #$c,a7
 move.w d6,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 cmpi.w #2,d5
 bcc v5e1e
 cmpi.w #1,d5
 bne.s v5dd0
 ori.w #$8000,$30(a3)
 move.w -$4f16(a4),d0
 move.w d7,d1
 addq.w #1,d1
 cmp.w d1,d0
 bne.s v5da4
 jsr $510(a5)
v5da4 cmpi.w #$1e,d4
 blt.s v5dd0
 cmpi.w #$1f,d4
 bgt.s v5dd0
 move.w #0,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,2(a0)
 or.w d3,2(a0)
 jsr v55a0(pc)
v5dd0 cmpi.w #4,d4
 bne.s v5df8
 move.w #1,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 asl.w #8,d3
 andi.w #$7fff,2(a2)
 or.w d3,2(a2)
 jsr v8072(pc)
 jsr v55a0(pc)
 bra.s v5e1c
v5df8 move.w -2(a6),d0
 beq.s v5e1c
 cmpi.w #1,d5
 bne.s v5e1c
 cmpi.w #$90,d4
 beq.s v5e16
 cmpi.w #$1e,d4
 blt.s v5e1c
 cmpi.w #$1f,d4
 bgt.s v5e1c
v5e16 ori.w #$800,$30(a3)
v5e1c bra.s v5e86
v5e1e cmpi.w #$a,d5
 bne.s v5e86
 cmpi.w #$c,d4
 blt.s v5e5c
 cmpi.w #$d,d4
 bgt.s v5e5c
 move.w #1,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a0)
 or.w d3,2(a0)
 move.w -$42e(a4),d0
 add.w d0,-$33e2(a4)
 jsr v8072(pc)
 addq.w #1,d4
 bra.s v5e86
v5e5c cmpi.w #$a,d4
 blt.s v5e86
 cmpi.w #$b,d4
 bgt.s v5e86
 move.w #1,d0
 move.l a2,d1
 movea.l d1,a0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a0)
 or.w d3,2(a0)
 addq.w #1,d4
v5e86 move.w d5,-(a7)
 move.w d7,-(a7)
 jsr v4c8c(pc)
 addq.l #4,a7
 move.w -2(a6),d0
 beq.s v5e9c
 ori.w #$4000,$30(a3)
v5e9c movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v5ea4 link a6,#0
 movem.l d4-d7,-(a7)
 cmpi.w #8,8(a6)
 bcc.s v5ef6
 move.w -$2da8(a4),d0
 beq.s v5ebe
 bra v5fae
v5ebe move.w 8(a6),d7
 lsr.w #1,d7
 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcc.s v5ee8
 move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 beq.s v5ee8
 move.w d7,d0
 muls #$320,d0
 lea -$402e(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 bne.s v5eec
v5ee8 bra v5fae
v5eec move.w 8(a6),d6
 and.w #1,d6
 bra.s v5f02
v5ef6 move.w -$40e6(a4),d7
 subq.w #1,d7
 move.w 8(a6),d6
 subq.w #8,d6
v5f02 move.w -$40c0(a4),d5
 cmpi.w #$1e,d6
 bcs.s v5f1a
 move.w d6,d4
 asl.l #1,d4
 lea -$4134(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 bra.s v5f30
v5f1a move.w d6,d4
 move.w d7,d1
 muls #$320,d1
 lea -$3f8e(a4),a0
 adda.w d1,a0
 asl.l #1,d4
 lea (a0),a0
 adda.w d4,a0
 move.w (a0),d4
v5f30 cmpi.w #$ffff,d4
 bne.s v5f3e
 cmpi.w #$ffff,d5
 bne.s v5f3e
 bra.s v5fae
v5f3e cmpi.w #$ffff,d5
 beq.s v5f68
 move.w d5,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20ba(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d6,d1
 asl.l #1,d1
 lea -$412(a4),a0
 adda.w d1,a0
 and.w (a0),d0
 bne.s v5f68
 bra.s v5fae
v5f68 jsr $24(a5)
 cmpi.w #$ffff,d5
 beq.s v5f76
 jsr v5802(pc)
v5f76 cmpi.w #$ffff,d4
 beq.s v5f90
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr v5afe(pc)
 addq.l #4,a7
 clr.w -(a7)
 move.w d4,-(a7)
 jsr v575c(pc)
 addq.l #4,a7
v5f90 cmpi.w #$ffff,d5
 beq.s v5fa2
 move.w d6,-(a7)
 move.w d5,-(a7)
 move.w d7,-(a7)
 jsr v5ce4(pc)
 addq.l #6,a7
v5fa2 move.w d7,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 jsr $a8(a5)
v5fae movem.l (a7)+,d4-d7
 unlk a6
 rts
v5fb6 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$2daa(a4),d0
 beq.s v5fcc
 move.w #1,d0
 bra v60ea
v5fcc move.w $a(a6),d0
 and.w #$8000,d0
 move.w d0,-2(a6)
 move.w $a(a6),d0
 and.w #$4000,d0
 move.w d0,-4(a6)
 andi.w #$3fff,$a(a6)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w $a(a6),d0
 muls #6,d0
 lea $5c(a2),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.l 2(a3),d7
 move.w -2(a6),d0
 bne.s v601e
 move.w (a3),d0
 ext.l d0
 add.l d0,d7
v601e cmpi.w #3,$a(a6)
 bls.s v6052
 move.w $a(a6),d0
 subq.w #4,d0
 lsr.w #2,d0
 muls #6,d0
 lea $5c(a2),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 add.l 2(a3),d7
 move.w -2(a6),d0
 bne.s v604c
 move.w (a3),d0
 ext.l d0
 add.l d0,d7
v604c move.l d7,d0
 asr.l #1,d0
 move.l d0,d7
v6052 move.w #1,d6
 bra.s v6060
v6058 move.l d7,d0
 asr.l #1,d0
 move.l d0,d7
 addq.w #1,d6
v6060 cmpi.l #$1f4,d7
 bge.s v6058
 move.w -4(a6),d0
 bne.s v60e8
 move.w $d6(a2),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d4
 cmpi.w #$1b,d0
 bne.s v6084
 addq.w #1,d6
 bra.s v608c
v6084 cmpi.w #$1c,d4
 bne.s v608c
 addq.w #2,d6
v608c move.w $e8(a2),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d5
 move.w $a(a6),d0
 cmp.w #3,d0
 beq.s v60a4
 bra.s v60ae
v60a4 cmpi.w #$7c,d5
 bne.s v60ac
 addq.w #1,d6
v60ac bra.s v60e8
v60ae cmp.w #$f,d0
 beq.s v60b6
 bra.s v60c0
v60b6 cmpi.w #$79,d5
 bne.s v60be
 addq.w #1,d6
v60be bra.s v60e8
v60c0 cmp.w #$d,d0
 beq.s v60c8
 bra.s v60d8
v60c8 cmpi.w #$78,d5
 beq.s v60d4
 cmpi.w #$42,d4
 bne.s v60d6
v60d4 addq.w #1,d6
v60d6 bra.s v60e8
v60d8 cmp.w #$e,d0
 beq.s v60e0
 bra.s v60e8
v60e0 cmpi.w #$7a,d5
 bne.s v60e8
 addq.w #1,d6
v60e8 move.w d6,d0
v60ea movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v60f2 link a6,#-$1a
 movem.l d4-d7/a2-a3,-(a7)
 move.w $c(a6),d7
 cmpi.w #4,$a(a6)
 bcs.s v6126
 cmpi.w #$b,$a(a6)
 bhi.s v6126
 move.l -$3296(a4),d0
 move.l -$2dc6(a4),d1
 sub.l #$96,d1
 cmp.l d1,d0
 bge.s v6126
 move.w d7,d0
 lsr.w #1,d0
 move.w d0,d7
v6126 move.w d7,d0
 beq v6412
 movea.l -$28b0(a4),a0
 move.w $c(a0),d6
 and.w #$f000,d6
 lsr.w #4,d6
 lsr.w #8,d6
 beq.s v6144
 move.w d7,d0
 mulu d6,d0
 move.w d0,d7
v6144 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 cmpi.w #4,$a(a6)
 bcs.s v6168
 move.w $a(a6),d5
 subq.w #4,d5
 lsr.w #2,d5
 bra.s v616c
v6168 move.w $a(a6),d5
v616c move.l 2(a3),d4
 move.w d5,d0
 or.w #$c000,d0
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.w d0,d6
 cmpi.w #4,$a(a6)
 bcs.s v61a4
 move.l -$3296(a4),d0
 move.l -$2dc6(a4),d1
 sub.l #$19,d1
 cmp.l d1,d0
 ble.s v61a4
 move.w d7,d0
 asl.w #1,d0
 move.w d0,d7
v61a4 move.w $a(a6),d0
 muls #6,d0
 lea $5c(a2),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w d7,d0
 and.l #$ffff,d0
 add.l d0,2(a3)
 cmpi.w #$7d00,(a3)
 bge.s v61de
 move.w #$64,-(a7)
 move.w d7,d0
 lsr.w #3,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 add.w d0,(a3)
v61de move.w d5,d0
 muls #6,d0
 lea $5c(a2),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #4,$a(a6)
 bcs.s v6202
 move.w d7,d0
 and.l #$ffff,d0
 add.l d0,2(a3)
v6202 move.w d5,d0
 or.w #$c000,d0
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.w d0,d7
 move.w d7,d0
 cmp.w d6,d0
 bls v6412
 move.w d7,-6(a6)
 jsr $84(a5)
 move.w d0,-2(a6)
 jsr $84(a5)
 move.l d0,d1
 move.w #1,d0
 add.w d1,d0
 move.w d0,-4(a6)
 jsr $84(a5)
 move.w d0,d6
 cmpi.w #2,d5
 beq.s v6248
 and.w d7,d6
v6248 move.w d6,d0
 add.b d0,$52(a2)
 move.w $3a(a2),d6
 jsr $84(a5)
 move.w d7,d1
 not.w d1
 and.w d1,d0
 add.b d0,$58(a2)
 move.w d5,d0
 tst.w d0
 beq.s v6268
 bra.s v628a
v6268 move.w d6,d0
 lsr.w #4,d0
 move.w d0,d6
 move.w d7,d0
 mulu #3,d0
 move.w d0,d7
 move.w -4(a6),d0
 add.b d0,$49(a2)
 move.w -2(a6),d0
 add.b d0,$4c(a2)
 bra v634a
v628a cmp.w #1,d0
 beq.s v6292
 bra.s v62ba
v6292 move.w d6,d0
 and.l #$ffff,d0
 divu #$15,d0
 move.w d0,d6
 move.w d7,d0
 asl.w #1,d0
 move.w d0,d7
 move.w -2(a6),d0
 add.b d0,$49(a2)
 move.w -4(a6),d0
 add.b d0,$4c(a2)
 bra v634a
v62ba cmp.w #3,d0
 beq.s v62c2
 bra.s v62de
v62c2 move.w d6,d0
 lsr.w #5,d0
 move.w d0,d6
 move.w d7,d0
 move.w d7,d1
 lsr.w #1,d1
 add.w d1,d0
 add.w d0,$3e(a2)
 move.w -4(a6),d0
 add.b d0,$4f(a2)
 bra.s v630a
v62de cmp.w #2,d0
 beq.s v62e6
 bra.s v634a
v62e6 move.w d6,d0
 and.l #$ffff,d0
 divu #$19,d0
 move.w d0,d6
 move.w d7,d0
 add.w d0,$3e(a2)
 move.w d7,d0
 addq.w #1,d0
 lsr.w #1,d0
 add.w d0,d7
 move.w -2(a6),d0
 add.b d0,$4f(a2)
v630a move.w -6(a6),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $9c(a5)
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w $3e(a2),d0
 add.w d1,d0
 move.w d0,$3e(a2)
 cmpi.w #$384,d0
 ble.s v6336
 move.w #$384,$3e(a2)
v6336 jsr $90(a5)
 and.l #$ffff,d0
 divu #3,d0
 swap d0
 add.b d0,$55(a2)
v634a jsr $90(a5)
 move.l d0,d1
 move.w d7,d0
 lsr.w #1,d0
 addq.w #1,d0
 and.l #$ffff,d1
 divu d0,d1
 swap d1
 move.w d1,-$10(a6)
 move.w d7,d1
 add.w -$10(a6),d1
 move.w $36(a2),d0
 add.w d1,d0
 move.w d0,$36(a2)
 cmp.w #$3e7,d0
 ble.s v6380
 move.w #$3e7,$36(a2)
v6380 jsr $90(a5)
 move.l d0,d1
 move.w d6,d0
 lsr.w #1,d0
 addq.w #1,d0
 and.l #$ffff,d1
 divu d0,d1
 swap d1
 move.w d1,-$1a(a6)
 move.w d6,d1
 add.w -$1a(a6),d1
 move.w $3a(a2),d0
 add.w d1,d0
 move.w d0,$3a(a2)
 cmp.w #$270f,d0
 ble.s v63b6
 move.w #$270f,$3a(a2)
v63b6 ori.w #$100,$30(a2)
 move.w 8(a6),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 jsr $ba(a5)
 lea (a2),a0
 move.l a0,-(a7)
 move.w 8(a6),d0
 lea -$56a(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 pea $7a(a4)
 move.w d7,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 move.w d5,d0
 asl.l #2,d0
 lea -$40d4(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.w d7,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 pea $8a(a4)
 move.w d7,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
v6412 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v641a link a6,#0
 movem.l d6-d7,-(a7)
 move.w #$a,-(a7)
 move.w 8(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 lsr.w #1,d0
 move.w d0,d7
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.w d0,d6
 bra.s v644a
v6444 move.w d7,d0
 asr.w #1,d0
 add.w d0,d6
v644a move.w d7,d0
 sub.w #$a,d0
 move.w d0,d7
 tst.w d0
 bgt.s v6444
 move.w d6,d0
 movem.l (a7)+,d6-d7
 unlk a6
 rts
v6460 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $38(a3),d0
 move.w d0,d7
 move.w $3a(a3),d1
 asr.w #1,d1
 move.w d1,d6
 cmp.w d1,d0
 bge.s v64b2
 move.w $c(a6),d0
 asr.w #1,d0
 move.w d0,$c(a6)
 move.w $c(a6),d1
 ext.l d1
 move.w d7,d2
 ext.l d2
 move.l d1,-(a7)
 move.l d2,d1
 move.l d1,-(a7)
 jsr $168(a5)
 move.l (a7)+,d1
 move.l d1,-(a7)
 move.w d6,d1
 ext.l d1
 move.l d1,-(a7)
 jsr $1aa(a5)
 move.l (a7)+,d1
 addq.l #4,a7
 add.w d1,d0
 bra.s v64b6
v64b2 move.w $c(a6),d0
v64b6 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v64be link a6,#-$a
 move.w d7,-(a7)
 move.w $c(a6),d0
 movea.l 8(a6),a0
 muls #3,d0
 lea $47(a0),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d0,-$a(a6)
 move.w #$aa,d0
 clr.w d3
 move.b -$a(a6),d3
 sub.w d3,d0
 move.w d0,d7
 cmpi.w #$10,d0
 bge.s v64f8
 move.w $e(a6),d0
 lsr.w #3,d0
 bra.s v6508
v64f8 move.w d7,-(a7)
 move.w #7,-(a7)
 move.w $e(a6),-(a7)
 jsr $198(a5)
 addq.l #6,a7
v6508 move.w (a7)+,d7
 unlk a6
 rts
v650e link a6,#0
 movem.l d7/a3,-(a7)
 move.w $c(a6),d7
 jsr $84(a5)
 tst.w d0
 beq.s v653c
 jsr $90(a5)
 and.l #$ffff,d0
 divu #$64,d0
 swap d0
 cmp.w d7,d0
 bls.s v653c
 move.w #1,d0
 bra.s v6598
v653c movea.l 8(a6),a0
 lea $46(a0),a0
 movea.l a0,a3
 jsr $90(a5)
 clr.w d1
 move.b 1(a3),d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 cmp.w d7,d0
 shi d0
 and.w #1,d0
 move.w d0,d7
 clr.w d0
 move.b (a3),d0
 move.w d0,-(a7)
 move.b 1(a3),d0
 move.w d7,d1
 beq.s v6578
 move.w #$fffe,d1
 bra.s v657c
v6578 move.w #2,d1
v657c and.w #$ff,d0
 add.w d1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a3),d0
 move.w d0,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.b d0,1(a3)
 move.w d7,d0
v6598 movem.l (a7)+,d7/a3
 unlk a6
 rts
v65a0 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w d7
 move.b $4a(a3),d7
 asl.w #3,d7
 add.w #$64,d7
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr v6460(pc)
 addq.l #6,a7
 move.w d0,d7
 move.w $32(a3),d6
 beq.s v65e2
 move.w d7,d0
 move.w d6,d1
 and.w #$10,d1
 beq.s v65da
 move.w #2,d1
 bra.s v65de
v65da move.w #3,d1
v65de lsr.w d1,d0
 sub.w d0,d7
v65e2 move.w $de(a3),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$77,d0
 bne.s v65f8
 move.w d7,d0
 lsr.w #4,d0
 add.w d0,d7
v65f8 add.w #9,d7
 move.w d7,d0
 and.l #$ffff,d0
 divu #$a,d0
 swap d0
 sub.w d0,d7
 move.w d7,d0
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v6616 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.l a3,-(a7)
 jsr v65a0(pc)
 addq.l #4,a7
 move.w d0,d6
 move.w $110(a3),d1
 move.w d1,d7
 cmp.w d1,d0
 bls.s v6668
 move.w #2,d5
 move.w d7,d0
 and.l #$ffff,d0
 asl.l #3,d0
 move.w d6,d1
 and.l #$ffff,d1
 move.l d1,-(a7)
 move.l #5,d1
 move.l d1,-(a7)
 jsr $168(a5)
 move.l (a7)+,d1
 cmp.l d1,d0
 ble.s v6662
 addq.w #1,d5
v6662 move.w #1,d7
 bra.s v6680
v6668 move.w #4,d5
 move.w d7,d1
 sub.w d6,d1
 asl.w #2,d1
 and.l #$ffff,d1
 divu d6,d1
 add.w d1,d5
 move.w #2,d7
v6680 move.w $32(a3),d0
 and.w #$20,d0
 beq.s v668c
 add.w d7,d5
v668c move.w $de(a3),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$c2,d0
 bne.s v669e
 subq.w #1,d5
v669e move.w d5,d0
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v66a8 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 jsr $90(a5)
 and.w #7,d0
 clr.w d3
 move.b $4d(a3),d3
 add.w d3,d0
 move.w d0,d7
 move.w d7,d0
 asr.w #1,d0
 ext.l d0
 move.w $110(a3),d1
 and.l #$ffff,d1
 move.l d0,-(a7)
 move.l d1,d0
 move.l d0,-(a7)
 jsr $168(a5)
 move.l (a7)+,d0
 move.l d0,-(a7)
 move.l a3,-(a7)
 jsr v65a0(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 move.l d0,-(a7)
 move.w d1,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $1aa(a5)
 move.l (a7)+,d0
 addq.l #4,a7
 sub.w d0,d7
 move.w -$2daa(a4),d0
 beq.s v6712
 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
v6712 jsr $90(a5)
 move.l d0,d1
 and.w #7,d1
 move.w #$64,d0
 sub.w d1,d0
 move.w d0,-(a7)
 move.w d7,d0
 asr.w #1,d0
 move.w d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 and.w #7,d1
 move.w #1,d0
 add.w d1,d0
 move.w d0,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 movem.l (a7)+,d7/a3
 unlk a6
 rts
v674a link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 jsr $90(a5)
 and.w #$f,d0
 clr.w d3
 move.b $4a(a3),d3
 add.w d3,d0
 move.w d0,d7
 move.w $a(a6),d4
 asl.l #1,d4
 lea $d4(a3),a0
 adda.w d4,a0
 move.w (a0),d4
 move.w d4,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.w d0,d6
 move.l d0,-(a7)
 move.l a3,-(a7)
 jsr v65a0(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 lsr.w #4,d1
 move.w d1,d5
 cmp.w d1,d0
 bhi.s v67ae
 move.w d6,d0
 sub.w #$c,d0
 add.w d0,d7
 bra.s v67de
v67ae move.w d5,d0
 move.w d5,d1
 sub.w #$c,d1
 lsr.w #1,d1
 add.w d1,d0
 move.w d0,-2(a6)
 move.w d0,-$c(a6)
 move.w d6,d0
 cmp.w -$c(a6),d0
 bhi.s v67d4
 move.w d6,d0
 sub.w d5,d0
 lsr.w #1,d0
 add.w d0,d7
 bra.s v67de
v67d4 move.w d6,d0
 sub.w -2(a6),d0
 asl.w #1,d0
 sub.w d0,d7
v67de move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 bne.s v685e
 move.w d4,-(a7)
 jsr $294(a5)
 addq.l #2,a7
 movea.l d0,a2
 clr.w d0
 move.b 2(a2),d0
 add.w d0,d7
 clr.w d6
 clr.w d5
 move.b 1(a2),d5
 tst.w d5
 beq.s v6812
 cmpi.w #2,d5
 bne.s v6822
v6812 move.w #4,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.w d0,d6
v6822 tst.w d5
 beq.s v683c
 cmpi.w #$10,d5
 bcc.s v683c
 move.w #$a,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 add.w d0,d6
v683c cmpi.w #$10,d5
 bcs.s v6858
 cmpi.w #$70,d5
 bcc.s v6858
 move.w #$b,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 add.w d0,d6
v6858 move.w d6,d0
 asl.w #1,d0
 add.w d0,d7
v685e move.w d7,-(a7)
 move.l a3,-(a7)
 jsr v6460(pc)
 addq.l #6,a7
 move.w d0,d7
 move.w $32(a3),d0
 tst.w $a(a6)
 bne.s v687a
 move.w #1,d1
 bra.s v687e
v687a move.w #2,d1
v687e and.w d1,d0
vu beq.s v6888
vw move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
v6888 move.w #$64,-(a7)
 move.w d7,d0
 asr.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $7e(a5)
 addq.l #6,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v68a2 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $a(a6),d5
 and.w #$8000,d5
 beq.s v68cc
 andi.w #$7fff,$a(a6)
v68cc move.w #0,d0
 move.w d0,d6
 move.w #0,d0
 move.w d0,d7
 bra v696c
v68dc move.w d7,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d4
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #6,d0
 bne.s v696a
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f,d0
 asl.l #2,d0
 lea -$22ba(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d0
 move.b 2(a2),d0
 and.w #$80,d0
 beq.s v696a
 move.w d7,-(a7)
 move.w 8(a6),-(a7)
 jsr v674a(pc)
 addq.l #4,a7
 move.l d0,-(a7)
 move.w d5,-(a7)
 move.l a2,-(a7)
 jsr $26a(a5)
 addq.l #6,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 move.w $a(a6),d1
 lea -$584(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 mulu d1,d0
 move.w d7,d1
 cmp.w $a(a6),d1
 bne.s v6962
 move.w #4,d1
 bra.s v6966
v6962 move.w #5,d1
v6966 lsr.w d1,d0
 add.w d0,d6
v696a addq.w #1,d7
v696c cmpi.w #1,d7
 ble v68dc
 jsr $90(a5)
 clr.w d1
 move.b $53(a3),d1
 asr.w #3,d1
 addq.w #1,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 move.w d0,d7
 move.w d5,d0
 beq.s v6998
 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
v6998 move.w $40(a3),d0
 add.w $112(a3),d0
 add.w -$33de(a4),d0
 add.w d6,d0
 add.w d0,d7
 cmpi.w #1,$a(a6)
 bls.s v69fa
 move.w $a(a6),d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d4
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #6,d0
 bne.s v69fa
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w d5,-(a7)
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f,d0
 asl.l #2,d0
 lea -$22ba(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr $26a(a5)
 addq.l #6,a7
 add.w d0,d7
v69fa move.w $32(a3),d0
 move.w #1,d1
 move.w $a(a6),d3
 asl.w d3,d1
 and.w d1,d0
 beq.s v6a1a
 jsr $9c(a5)
 move.l d0,d1
 move.w #8,d0
 add.w d1,d0
 sub.w d0,d7
v6a1a move.w -$2daa(a4),d0
 beq.s v6a26
 move.w d7,d0
 asr.w #1,d0
 move.w d0,d7
v6a26 move.w #$64,-(a7)
 move.w d7,d0
 asr.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $7e(a5)
 addq.l #6,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v6a40 link a6,#-2
 move.w #1,-$2dd8(a4)
 clr.w -$2daa(a4)
 move.w #$a,-$2dd0(a4)
 jsr $1c2(a5)
 lea -$432c(a4),a0
 move.l a0,-$41e8(a4)
 lea -$4398(a4),a0
 move.l a0,-$41ec(a4)
 lea -$47e0(a4),a0
 move.l a0,-$41f0(a4)
 lea -$47fc(a4),a0
 move.l a0,-$41f4(a4)
 jsr $52e(a5)
 jsr $57c(a5)
 unlk a6
 rts
v6a84 link a6,#-2
 movem.l d6-d7/a3,-(a7)
 move.b -$33d8(a4),d6
 and.w #$ff,d6
 beq.s v6b02
 move.w 8(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,-2(a6)
 or.w d3,-2(a6)
 move.w $a(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,-2(a6)
 or.w d3,-2(a6)
 move.w -$28ba(a4),d0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,-2(a6)
 or.w d3,-2(a6)
 move.w -2(a6),d7
 move.w d6,d0
 subq.w #1,d6
 asl.l #1,d0
 lea -$33d4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a3
v6aee move.w -(a3),d0
 cmp.w d7,d0
 bne.s v6afa
 move.w d6,d0
 addq.w #1,d0
 bra.s v6b06
v6afa move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s v6aee
v6b02 move.w #0,d0
v6b06 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v6b0e link a6,#0
 movem.l d6-d7,-(a7)
 move.w 8(a6),d7
 and.w #$ff,d6
 subq.b #1,-$33d8(a4)
 move.b -$33d8(a4),d6
 and.w #$ff,d6
 sub.w d7,d6
 beq.s v6b7c
 move.w d6,d0
 mulu #2,d0
 move.w d0,-(a7)
 move.w d7,d0
 asl.l #1,d0
 lea -$33d4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w d7,d0
 asl.l #1,d0
 lea -$33d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w d6,-(a7)
 move.w d7,d0
 lea -$33a4(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w d7,d0
 lea -$33a3(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
v6b7c move.w d7,d0
 move.b -$33d6(a4),d1
 and.w #$ff,d1
 cmp.w d1,d0
 bcc.s v6b8e
 subq.b #1,-$33d6(a4)
v6b8e move.w d7,d0
 move.b -$33d5(a4),d1
 and.w #$ff,d1
 cmp.w d1,d0
 bcc.s v6ba0
 subq.b #1,-$33d5(a4)
v6ba0 movem.l (a7)+,d6-d7
 unlk a6
 rts
v6ba8 link a6,#-2
 movem.l d4-d7/a3,-(a7)
 move.w $c(a6),d7
 move.b -$33d8(a4),d6
 and.w #$ff,d6
 beq v6c78
 move.w d7,d5
 and.w #$8000,d5
 beq.s v6bcc
 and.w #$7fff,d7
v6bcc move.w 8(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,-2(a6)
 or.w d3,-2(a6)
 move.w $a(a6),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,-2(a6)
 or.w d3,-2(a6)
 move.w -$28ba(a4),d0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,-2(a6)
 or.w d3,-2(a6)
 lea -$33d4(a4),a0
 movea.l a0,a3
 clr.w d4
 bra.s v6c70
v6c18 movea.l a3,a0
 addq.l #2,a3
 lea (a0),a1
 lea -2(a6),a0
 moveq #0,d0
 jsr $48(a5)
 move.w d4,d0
 bne.s v6c66
 move.w #1,d4
 move.w d5,d0
 beq.s v6c4c
 move.w d7,-(a7)
 lea -$33a4(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d7
 bra.s v6c66
v6c4c lea -$33a4(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 add.w d7,d0
 move.w d0,-(a7)
 move.w #$50,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d7
v6c66 move.w d7,d0
 lea -$33a4(a4),a0
 adda.w d6,a0
 move.b d0,(a0)
v6c70 move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s v6c18
v6c78 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v6c80 link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w d7,d6
 muls #$320,d6
 lea -$4045(a4),a0
 adda.w d6,a0
 clr.w d6
 move.b (a0),d6
 clr.w d4
 bra.s v6ce4
v6ca0 move.w d4,d0
 asl.l #1,d0
 lea -$632(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d7,-(a7)
 jsr v5afe(pc)
 addq.l #4,a7
 move.w d0,d5
 cmpi.w #$ffff,d0
 beq.s v6ce2
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d5,d0
 and.w #$3fff,d0
 move.w d6,d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
v6ce2 addq.w #1,d4
v6ce4 cmpi.w #$1e,d4
 bcs.s v6ca0
 movem.l (a7)+,d4-d7
 unlk a6
 rts
v6cf2 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w $34(a3)
 ori.w #$1000,$30(a3)
 move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 bne.s v6d70
 move.w -$2dec(a4),d0
 beq.s v6d4e
 clr.w -$2dec(a4)
 clr.w -$5a6c(a4)
 move.w -$40c2(a4),d0
 bne.s v6d42
 move.w -$40c0(a4),-(a7)
 jsr $162(a5)
 addq.l #2,a7
v6d42 move.w #1,-$5a56(a4)
 jsr $a8(a5)
 bra.s v6d66
v6d4e move.w -$2df0(a4),d0
 beq.s v6d66
 clr.w -$2df0(a4)
 clr.w -$5a6c(a4)
 move.w #1,-$5a56(a4)
 jsr $a8(a5)
v6d66 move.w #4,-(a7)
 jsr v93b6(pc)
 addq.l #2,a7
v6d70 move.w d7,-(a7)
 jsr v6c80(pc)
 addq.l #2,a7
 move.w #$800a,-(a7)
 jsr $228(a5)
 addq.l #2,a7
 move.w d0,d4
 cmpi.w #$ffff,d4
 bne.s v6d8c
 bra.s v6e02
v6d8c move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w #5,d0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a2)
 or.w d3,2(a2)
 move.w #1,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 andi.w #$ff7f,2(a2)
 or.w d3,2(a2)
 move.w d7,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a2)
 or.w d3,2(a2)
 clr.w d6
 move.b $1d(a3),d6
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d4,d0
 and.w #$3fff,d0
 move.w d6,d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
v6e02 clr.b $21(a3)
 clr.b $22(a3)
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 clr.b $29(a3)
 move.w d6,d0
 addq.w #4,d0
 sub.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,d6
 move.w d6,d0
 addq.w #1,d0
 cmp.w -$5a70(a4),d0
 bne.s v6e3e
 move.w #1,-$5a6e(a4)
 clr.w -$5a70(a4)
 move.w #1,-$5a62(a4)
v6e3e move.b $2a(a3),d0
 beq.s v6e4c
 move.w d7,-(a7)
 jsr v73dc(pc)
 addq.l #2,a7
v6e4c clr.w -$5a00(a4)
 move.w #$a0,-(a7)
 clr.w -(a7)
 move.w d6,d0
 asl.w #2,d0
 asl.l #1,d0
 lea -$5ae(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w d7,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 move.w #0,d0
 move.w d0,d5
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra.s v6e9c
v6e8a move.w $34(a3),d0
 beq.s v6e92
 bra.s v6ea4
v6e92 move.w d5,d0
 addq.w #1,d5
 move.l a3,d0
 adda.w #$320,a3
v6e9c move.w d5,d0
 cmp.w -$2db4(a4),d0
 bcs.s v6e8a
v6ea4 move.w d5,d0
 cmp.w -$2db4(a4),d0
 bne.s v6eb4
 move.w #1,-$2db0(a4)
 bra.s v6ee4
v6eb4 move.w d7,d0
 move.w -$40b8(a4),d1
 cmp.w d1,d0
 bne.s v6ec6
 move.w d5,-(a7)
 jsr $564(a5)
 addq.l #2,a7
v6ec6 move.w d7,d0
 move.w -$4f2a(a4),d1
 cmp.w d1,d0
 bne.s v6eda
 move.w d5,-(a7)
 jsr $534(a5)
 addq.l #2,a7
 bra.s v6ee4
v6eda move.w -$4f2a(a4),-(a7)
 jsr $54c(a5)
 addq.l #2,a7
v6ee4 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v6eec link a6,#-$14
 movem.l d4-d7/a2-a3,-(a7)
 lea -$4062(a4),a0
 movea.l a0,a3
 clr.w d7
 bra v70ee
v6f00 move.w d7,d0
 asl.l #1,d0
 lea -$40b6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d4
 or.w d0,$32(a3)
 move.w d7,d0
 asl.l #1,d0
 lea -$40b6(a4),a0
 adda.w d0,a0
 clr.w (a0)
 move.w d7,d0
 asl.l #1,d0
 lea -$40ae(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d6
 bne.s v6f32
 bra v70e4
v6f32 move.w d7,d0
 asl.l #1,d0
 lea -$40ae(a4),a0
 adda.w d0,a0
 clr.w (a0)
 move.w $34(a3),d0
 move.w d0,d5
 bne.s v6f4a
 bra v70e4
v6f4a move.w d5,d0
 sub.w d6,d0
 move.w d0,d5
 tst.w d0
 bgt.s v6f60
 move.w d7,-(a7)
 jsr v6cf2(pc)
 addq.l #2,a7
 bra v70e4
v6f60 move.w d5,$34(a3)
 ori.w #$100,$30(a3)
 move.w d4,d0
 beq.s v6f74
 ori.w #$2000,$30(a3)
v6f74 move.w d7,d5
 mulu #$45,d5
 clr.w -$10(a6)
 jsr $24(a5)
 move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 bne.s v6fe6
 move.w #$1c,-$e(a6)
 move.w d5,d0
 addq.w #7,d0
 move.w d0,-$14(a6)
 add.w #$1f,d0
 move.w d0,-$12(a6)
 move.l #$10000a,-(a7)
 pea -$14(a6)
 move.w #$10,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 cmpi.w #$a,d6
 bcc.s v6fce
 add.w #$15,d5
 bra.s v6fde
v6fce cmpi.w #$64,d6
 bcc.s v6fda
 add.w #$12,d5
 bra.s v6fde
v6fda add.w #$f,d5
v6fde move.w #$10,-2(a6)
 bra.s v703a
v6fe6 move.w #6,-$e(a6)
 move.w d5,d0
 move.w d0,-$14(a6)
 add.w #$2f,d0
 move.w d0,-$12(a6)
 move.l #$18000a,-(a7)
 pea -$14(a6)
 move.w #$f,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 cmpi.w #$a,d6
 bcc.s v7024
 add.w #$13,d5
 bra.s v7034
v7024 cmpi.w #$64,d6
 bcc.s v7030
 add.w #$10,d5
 bra.s v7034
v7030 add.w #$d,d5
v7034 move.w #5,-2(a6)
v703a move.w #3,-(a7)
 clr.w -(a7)
 move.w d6,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 move.l #$f0008,-(a7)
 move.w -2(a6),-(a7)
 move.w d5,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 move.w $2e(a3),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s v70a0
 move.b #$c,-8(a6)
 move.l -$2dc6(a4),d0
 addq.l #5,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$c(a6)
 move.w d7,d0
 move.b d0,-7(a6)
 pea -$c(a6)
 jsr $366(a5)
 addq.l #4,a7
 move.w d0,$2e(a3)
 bra.s v70d8
v70a0 move.w d5,d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.l -$2dc6(a4),d0
 addq.l #5,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,(a2)
 move.w d5,-(a7)
 jsr $3cc(a5)
 addq.l #2,a7
 move.w d0,-(a7)
 jsr $372(a5)
 addq.l #2,a7
v70d8 move.w d7,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 jsr $a8(a5)
v70e4 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 adda.w #$320,a3
v70ee move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs v6f00
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v7100 link a6,#-$1e
 movem.l d4-d7/a3,-(a7)
 move.w $a(a6),d7
 cmpi.w #$ffff,8(a6)
 beq.s v7126
 move.w 8(a6),d0
 addq.w #1,d0
 cmp.w -$2da8(a4),d0
 beq.s v7126
 move.w -$2dae(a4),d0
 beq.s v712a
v7126 bra v7304
v712a tst.w d7
 bgt.s v7136
 move.w #0,d0
 bra v7304
v7136 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $34(a3),d0
 bne.s v7156
v714e move.w #0,d0
 bra v7304
v7156 tst.w $e(a6)
 beq v72ea
 move.w #0,d0
 move.w d0,d4
 move.w #0,d0
 move.w d0,d6
 move.w #0,d0
 move.w d0,d5
 bra.s v71a8
v7172 move.w $c(a6),d0
 move.w #1,d1
 asl.w d6,d1
 and.w d1,d0
 beq.s v71a6
 addq.w #1,d4
 move.w d6,d0
 cmpi.w #4,$e(a6)
 bne.s v7192
 move.w #$8000,d1
 bra.s v7196
v7192 move.w #0,d1
v7196 or.w d1,d0
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v68a2(pc)
 addq.l #4,a7
 add.w d0,d5
v71a6 addq.w #1,d6
v71a8 cmpi.w #5,d6
 ble.s v7172
 move.w d4,d0
 beq.s v71be
 move.w d5,d0
 and.l #$ffff,d0
 divu d4,d0
 move.w d0,d5
v71be move.w $e(a6),d0
 cmp.w #6,d0
 beq.s v71ca
 bra.s v71f2
v71ca move.w #$73,d0
 clr.w d3
 move.b $50(a3),d3
 sub.w d3,d0
 move.w d0,d6
 tst.w d0
 bgt.s v71e0
 clr.w d7
 bra.s v71f0
v71e0 move.w d6,-(a7)
 move.w #6,-(a7)
 move.w d7,-(a7)
 jsr $198(a5)
 addq.l #6,a7
 move.w d0,d7
v71f0 bra.s v726c
v71f2 cmp.w #5,d0
 beq.s v71fa
 bra.s v7210
v71fa move.w d7,-(a7)
 move.w #5,-(a7)
 move.l a3,-(a7)
 jsr v64be(pc)
 addq.l #8,a7
 move.w d0,d7
 sub.w -$33da(a4),d7
 bra.s v726c
v7210 cmp.w #1,d0
 beq.s v7218
 bra.s v722e
v7218 move.w d7,-(a7)
 move.w #6,-(a7)
 move.l a3,-(a7)
 jsr v64be(pc)
 addq.l #8,a7
 move.w d0,d7
 sub.w -$33dc(a4),d7
 bra.s v724e
v722e cmp.w #2,d0
 beq.s v7236
 bra.s v723e
v7236 move.w d5,d0
 lsr.w #1,d0
 move.w d0,d5
 bra.s v724e
v723e cmp.w #3,d0
 beq.s v724e
 cmp.w #4,d0
 beq.s v724e
 cmp.w #7,d0
v724e tst.w d7
 bgt.s v7256
 bra v714e
v7256 move.w #$82,d0
 sub.w d5,d0
 move.w d0,-(a7)
 move.w #6,-(a7)
 move.w d7,-(a7)
 jsr $198(a5)
 addq.l #6,a7
 move.w d0,d7
v726c tst.w d7
 bgt.s v7274
 bra v714e
v7274 jsr $90(a5)
 and.w #$7f,d0
 add.w #$a,d0
 move.w d0,-(a7)
 move.w #4,-(a7)
 move.l a3,-(a7)
 jsr v64be(pc)
 addq.l #8,a7
 move.w d0,d6
 move.w d0,-$a(a6)
 move.w d7,d0
 cmp.w -$a(a6),d0
 ble.s v72e0
v729c jsr $90(a5)
 move.l d0,d1
 and.w #7,d1
 move.w d1,-$14(a6)
 move.w #1,d1
 move.w -$14(a6),d3
 asl.w d3,d1
 and.w $c(a6),d1
 move.w 8(a6),d0
 asl.l #1,d0
 lea -$40b6(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 or.w d1,d0
 move.w d0,(a0)
 move.w d6,d0
 asl.w #1,d0
 move.w d0,d6
 move.w d0,-$1e(a6)
 move.w d7,d0
 cmp.w -$1e(a6),d0
 ble.s v72e0
 move.w d6,d0
 bne.s v729c
v72e0 move.w -$2daa(a4),d0
 beq.s v72ea
 jsr v6a40(pc)
v72ea tst.w d7
 bgt.s v72f0
 clr.w d7
v72f0 move.w 8(a6),d0
 asl.l #1,d0
 lea -$40ae(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d7,d0
 move.w d0,(a0)
 move.w d7,d0
v7304 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v730c link a6,#-$e
 cmpi.w #$ffff,8(a6)
 beq.s v7324
 move.w 8(a6),d0
 addq.w #1,d0
 cmp.w -$2da8(a4),d0
 bne.s v7328
v7324 bra v73d8
v7328 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$e(a6)
 clr.w -(a7)
 clr.w -(a7)
 move.w $a(a6),d0
 lsr.w #6,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v7100(pc)
 addq.l #8,a7
 movea.l -$e(a6),a0
 ori.w #$100,$30(a0)
 move.w 8(a6),d0
 addq.w #1,d0
 cmp.w -$40e6(a4),d0
 bne.s v7384
 tst.w -$40e8(a4)
 bne.s v7384
 movea.l -$e(a6),a0
 ori.w #$800,$30(a0)
v7384 subq.w #1,$a(a6)
 beq.s v73ce
 movea.l -$e(a6),a0
 addq.b #1,$2a(a0)
 move.b #$4b,-6(a6)
 move.w 8(a6),d0
 move.b d0,-5(a6)
 move.l -$2dc6(a4),d0
 add.l #$24,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.w $a(a6),-4(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
v73ce move.w 8(a6),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v73d8 unlk a6
 rts
v73dc link a6,#0
 movem.l d7/a3,-(a7)
 cmpi.w #$ffff,8(a6)
 bne.s v73ee
 bra.s v743e
v73ee move.w #0,d0
 move.w d0,d7
 move.l -$32c2(a4),d0
 movea.l d0,a3
 bra.s v7426
v73fc clr.w d0
 move.b 4(a3),d0
 cmp.w #$4b,d0
 bne.s v741c
 clr.w d0
 move.b 5(a3),d0
 cmp.w 8(a6),d0
 bne.s v741c
 move.w d7,-(a7)
 jsr $360(a5)
 addq.l #2,a7
v741c move.l a3,d0
 adda.w #$a,a3
 move.w d7,d0
 addq.w #1,d7
v7426 move.w d7,d0
 cmp.w -$32be(a4),d0
 bcs.s v73fc
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4038(a4),a0
 adda.w d0,a0
 clr.b (a0)
v743e movem.l (a7)+,d7/a3
 unlk a6
 rts
v7446 link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 bne.s v7458
 bra.s v74ba
v7458 move.w d7,d0
 lsr.w #3,d0
 addq.w #1,d0
 move.w d0,d5
 sub.w d0,d7
 move.w d5,d0
 asl.w #1,d0
 move.w d0,d5
 move.w #0,d0
 move.w d0,d4
 move.w #0,d0
 move.w d0,d6
 bra.s v74b0
v7476 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 jsr $90(a5)
 move.l d0,d1
 and.l #$ffff,d1
 divu d5,d1
 swap d1
 move.w d7,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w d6,-(a7)
 jsr v7100(pc)
 addq.l #8,a7
 tst.w d0
 beq.s v74ae
 addq.w #1,d4
v74ae addq.w #1,d6
v74b0 move.w d6,d0
 cmp.w -$2db4(a4),d0
 bcs.s v7476
 move.w d4,d0
v74ba movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v74c2 link a6,#0
 movem.l d7/a3,-(a7)
 cmpi.w #$ffff,8(a6)
 bne.s v74d4
 bra.s v7528
v74d4 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $38(a3),d0
 sub.w $a(a6),d0
 move.w d0,$38(a3)
 move.w d0,d7
 tst.w d0
 bgt.s v7514
 clr.w $38(a3)
 clr.w -(a7)
 clr.w -(a7)
 move.w d7,d0
 neg.w d0
 asr.w #1,d0
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v7100(pc)
 addq.l #8,a7
 bra.s v7522
v7514 move.w d7,d0
 cmp.w $3a(a3),d0
 ble.s v7522
 move.w $3a(a3),$38(a3)
v7522 ori.w #$300,$30(a3)
v7528 movem.l (a7)+,d7/a3
 unlk a6
 rts
v7530 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w d7
 move.b $1c(a3),d7
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.w d7,-(a7)
 clr.w d0
 move.b $1d(a3),d0
 sub.w d7,d0
 addq.w #1,d0
 and.w #2,d0
 lsr.w #1,d0
 add.w d7,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w $c(a6),-(a7)
 jsr $3a8(a5)
 adda.w #$10,a7
 move.w #4,-$2dc0(a4)
 move.w d7,-$2dc2(a4)
 movem.l (a7)+,d7/a3
 unlk a6
 rts
v758e link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w $c(a6),d7
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $3c(a3),d0
 cmp.w $e(a6),d0
 bcc.s v75bc
 move.w #0,d0
 bra.s v760a
v75bc move.w $e(a6),d0
 sub.w d0,$3c(a3)
 ori.w #$100,$30(a3)
 move.w $3e(a3),d0
 asr.w #3,d0
 move.w d0,-(a7)
 move.w #8,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w #$a,d0
 sub.w d1,d0
 move.w d0,d6
 move.w d7,d0
 move.w d6,d1
 asl.w #2,d1
 cmp.w d1,d0
 bge.s v75f4
 addq.w #3,d7
 subq.w #1,d6
v75f4 move.w d6,-(a7)
 move.w #$5a,-(a7)
 move.w d7,-(a7)
 move.w $a(a6),-(a7)
 move.l a3,-(a7)
 jsr v7530(pc)
 adda.w #$c,a7
v760a movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v7612 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -4(a6)
 tst.w $a(a6)
 bge.s v7660
 move.w -$40c2(a4),d0
 beq.s v7632
 move.w #0,d0
 bra v77c8
v7632 jsr v5802(pc)
 move.w d0,d4
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $d6(a3),-2(a6)
 move.w d4,$d6(a3)
 move.w #1,$a(a6)
 move.w #1,-4(a6)
v7660 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr v674a(pc)
 addq.l #4,a7
 move.w d0,d7
 move.w -4(a6),d0
 beq.s v7688
 move.w $a(a6),d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w -2(a6),(a0)
 bra.s v76a6
v7688 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr v5afe(pc)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$ffff,d0
 bne.s v76a6
 move.w #0,d0
 bra v77c8
v76a6 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$10,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w d4,-(a7)
 jsr v641a(pc)
 addq.l #2,a7
 move.w d0,-(a7)
 move.w 8(a6),-(a7)
 jsr v74c2(pc)
 addq.l #4,a7
 move.w #4,-(a7)
 move.w 8(a6),-(a7)
 jsr v77f8(pc)
 addq.l #4,a7
 move.w #8,d6
 move.w #1,d5
 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 bne.s v771a
 addq.w #4,d6
 move.w d4,-(a7)
 jsr $294(a5)
 addq.l #2,a7
 movea.l d0,a2
 clr.w d0
 move.b 1(a2),d0
 cmp.w #$c,d0
 bgt.s v771a
 clr.w d0
 move.b 3(a2),d0
 move.w d0,d5
 asr.w #2,d0
 add.w d0,d6
v771a move.w d6,-(a7)
 move.w #$a,-(a7)
 move.w 8(a6),-(a7)
 jsr v60f2(pc)
 addq.l #6,a7
 add.w d5,d7
 move.w #$a,-(a7)
 move.w 8(a6),-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.w d0,d5
 jsr $90(a5)
 and.w #$f,d0
 move.w d7,d1
 asr.w #1,d1
 add.w d1,d0
 add.w d5,d0
 add.w d0,d7
 move.w #$c8,-(a7)
 jsr $90(a5)
 move.l d0,d1
 and.w #$1f,d1
 move.w d5,d0
 asl.w #3,d0
 add.w d1,d0
 move.w d0,-(a7)
 move.w #$28,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.w d0,d6
 move.w #$b,d0
 sub.w d5,d0
 move.w d0,-(a7)
 move.w #5,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w -$2dba(a4),-(a7)
 move.w -$2dba(a4),d0
 add.w $c(a6),d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w d4,-(a7)
 jsr $3a8(a5)
 adda.w #$10,a7
 move.w #4,-$2dc0(a4)
 move.w -$2dba(a4),-$2dc2(a4)
 move.w 8(a6),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 move.w #1,d0
v77c8 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v77d0 link a6,#0
 cmpi.w #$ffff,-$40b8(a4)
 bne.s v77e2
 move.w #0,d0
 bra.s v77f4
v77e2 move.w 8(a6),-(a7)
 move.w #$ffff,-(a7)
 move.w -$40b8(a4),-(a7)
 jsr v7612(pc)
 addq.l #6,a7
v77f4 unlk a6
 rts
v77f8 link a6,#-$a
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.l -$2dc6(a4),d7
 move.w $a(a6),d3
 and.l #$ffff,d3
 add.l d3,d7
 move.b #$b,-6(a6)
 move.w 8(a6),d0
 move.b d0,-5(a6)
 clr.b -4(a6)
 move.w $2c(a3),d0
 move.w d0,d5
 tst.w d0
 blt.s v787e
 move.w d5,d6
 muls #$a,d6
 movea.l -$32c2(a4),a0
 adda.w d6,a0
 move.l (a0),d6
 and.l #$ffffff,d6
 move.l d7,d0
 cmp.l d6,d0
 blt.s v7864
 move.l d6,d0
 sub.l -$2dc6(a4),d0
 asr.l #1,d0
 add.l d0,d7
 bra.s v7874
v7864 move.l d6,d7
 move.w $a(a6),d1
 lsr.w #1,d1
 and.l #$ffff,d1
 add.l d1,d7
v7874 move.w d5,-(a7)
 jsr $360(a5)
 addq.l #2,a7
 bra.s v788e
v787e ori.w #$8008,$30(a3)
 move.w 8(a6),-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v788e move.l d7,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 move.w d0,$2c(a3)
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v78ba link a6,#-$1a
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$2db4(a4),d0
 bne.s v78cc
 bra v7d14
v78cc move.w -$2db6(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 andi.w #$ffe0,-6(a6)
 or.w d3,-6(a6)
 move.w -$2db8(a4),d0
 and.w #$1f,d0
 move.w d0,d3
 asl.w #5,d3
 andi.w #$fc1f,-6(a6)
 or.w d3,-6(a6)
 move.w -$2dbc(a4),d0
 and.w #$3f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$3ff,-6(a6)
 or.w d3,-6(a6)
 clr.w d6
 bra.s v795c
v7912 move.w d6,d0
 asl.l #1,d0
 lea -$33d4(a4),a0
 adda.w d0,a0
 lea (a0),a1
 lea -6(a6),a0
 moveq #0,d0
 jsr $48(a5)
 move.w d6,d0
 lea -$33a4(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 subq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d6,d1
 lea -$33a4(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 bne.s v795a
 move.w d6,d0
 bne.s v795a
 clr.w -(a7)
 jsr v6b0e(pc)
 addq.l #2,a7
 bra.s v795c
v795a addq.w #1,d6
v795c move.w d6,d0
 move.b -$33d8(a4),d1
 and.w #$ff,d1
 subq.w #1,d1
 cmp.w d1,d0
 blt.s v7912
 move.l -$2dc6(a4),d7
 move.w d7,d0
 and.w #$80,d0
 move.w d7,d1
 and.w #$100,d1
 lsr.w #2,d1
 add.w d1,d0
 move.w d7,d1
 and.w #$40,d1
 asl.w #2,d1
 add.w d1,d0
 lsr.w #2,d0
 move.w d0,-2(a6)
 move.w #0,d0
 move.w d0,d7
 lea -$4062(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra v7d06
v79a2 move.w $34(a3),d0
 beq v7cfc
 move.w d7,d0
 addq.w #1,d0
 cmp.w -$2da8(a4),d0
 beq v7cfc
 move.w $3c(a3),d0
 cmp.w $3e(a3),d0
 bge v7a52
 move.w #3,-(a7)
 move.w d7,-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.l d0,-(a7)
 move.w #2,-(a7)
 move.w d7,-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 add.w d1,d0
 move.w d0,d5
 move.w d0,-$10(a6)
 clr.w d0
 move.b $50(a3),d0
 add.w -$10(a6),d0
 move.w d0,-$10(a6)
 move.w -2(a6),d0
 cmp.w -$10(a6),d0
 bcc.s v7a52
 move.w $3e(a3),d6
 ext.l d6
 divs #$28,d6
 move.w -$2daa(a4),d0
 beq.s v7a16
 move.w d6,d0
 asl.w #1,d0
 move.w d0,d6
v7a16 addq.w #1,d6
 move.w #$10,d0
 sub.w d5,d0
 move.w d0,-(a7)
 move.w #7,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w d6,d0
 mulu d1,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr v74c2(pc)
 addq.l #4,a7
 move.w $3e(a3),d0
 sub.w $3c(a3),d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 add.w d0,$3c(a3)
 bra.s v7a60
v7a52 move.w $3c(a3),d0
 cmp.w $3e(a3),d0
 ble.s v7a60
 subq.w #1,$3c(a3)
v7a60 move.w #$13,d4
 bra.s v7a86
v7a66 move.w d4,d0
 muls #6,d0
 lea $5c(a3),a0
 adda.w d0,a0
 tst.w (a0)
 ble.s v7a84
 move.w d4,d0
 muls #6,d0
 lea $5c(a3),a0
 adda.w d0,a0
 subq.w #1,(a0)
v7a84 subq.w #1,d4
v7a86 tst.w d4
 bge.s v7a66
 move.w #4,d6
 move.w $3a(a3),d4
 bra.s v7a96
v7a94 addq.w #2,d6
v7a96 move.w d4,d0
 asr.w #1,d0
 move.w d0,d4
 move.w d0,-$1a(a6)
 move.w $38(a3),d0
 cmp.w -$1a(a6),d0
 blt.s v7a94
 clr.w d4
 move.w #6,-(a7)
 move.w $3a(a3),d0
 asr.w #8,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.w d0,-4(a6)
 move.w -$2daa(a4),d0
 beq.s v7ad8
 move.w -4(a6),d0
 asl.w #1,d0
 move.w d0,-4(a6)
v7ad8 move.l -$2dc6(a4),d0
 sub.l -$329a(a4),d0
 move.w d0,d5
 cmpi.w #$50,d0
 bls.s v7af6
 addq.w #1,-4(a6)
 cmpi.w #$fa,d5
 bls.s v7af6
 addq.w #1,-4(a6)
v7af6 cmpi.w #4,d6
 sls d5
 and.w #1,d5
 cmpi.w #$fe00,$42(a3)
 bge.s v7b16
 move.w d5,d0
 beq.s v7b14
 add.w -4(a6),d4
 subq.w #2,$42(a3)
v7b14 bra.s v7b32
v7b16 tst.w $42(a3)
 blt.s v7b20
 sub.w -4(a6),d4
v7b20 move.w d5,d0
 beq.s v7b2a
 move.w #2,d0
 bra.s v7b2e
v7b2a move.w d6,d0
 lsr.w #1,d0
v7b2e sub.w d0,$42(a3)
v7b32 cmpi.w #$fe00,$44(a3)
 bge.s v7b48
 move.w d5,d0
 beq.s v7b46
 add.w -4(a6),d4
 subq.w #1,$44(a3)
v7b46 bra.s v7b64
v7b48 tst.w $44(a3)
 blt.s v7b52
 sub.w -4(a6),d4
v7b52 move.w d5,d0
 beq.s v7b5c
 move.w #1,d0
 bra.s v7b60
v7b5c move.w d6,d0
 lsr.w #2,d0
v7b60 sub.w d0,$44(a3)
v7b64 subq.w #1,d6
 move.w d6,d0
 beq.s v7b76
 move.w $38(a3),d0
 sub.w d4,d0
 cmp.w $3a(a3),d0
 blt.s v7af6
v7b76 move.w d4,-(a7)
 move.w d7,-(a7)
 jsr v74c2(pc)
 addq.l #4,a7
 cmpi.w #$fc00,$42(a3)
 bge.s v7b8e
 move.w #$fc00,$42(a3)
v7b8e cmpi.w #$fc00,$44(a3)
 bge.s v7b9c
 move.w #$fc00,$44(a3)
v7b9c move.w $34(a3),d0
 cmp.w $36(a3),d0
 bge.s v7c16
 move.w $38(a3),d0
 move.w $3a(a3),d1
 asr.w #2,d1
 cmp.w d1,d0
 blt.s v7c16
 move.w -2(a6),d0
 clr.w d1
 move.b $53(a3),d1
 add.w #$c,d1
 cmp.w d1,d0
 bcc.s v7c16
 move.w $36(a3),d0
 asr.w #7,d0
 addq.w #1,d0
 move.w d0,-4(a6)
 move.w -$2daa(a4),d0
 beq.s v7be2
 move.w -4(a6),d0
 asl.w #1,d0
 move.w d0,-4(a6)
v7be2 move.w $e8(a3),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$79,d0
 bne.s v7bfe
 move.w -4(a6),d0
 asr.w #1,d0
 addq.w #1,d0
 add.w d0,-4(a6)
v7bfe move.w $36(a3),d0
 sub.w $34(a3),d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 add.w d0,$34(a3)
v7c16 move.w -$2de6(a4),d0
 beq.s v7c38
 subq.w #1,-$2de6(a4)
 move.w -$2de6(a4),d0
 bne.s v7c38
 clr.w -$583a(a4)
 clr.w -(a7)
 clr.w -(a7)
 move.w #$1000,-(a7)
 jsr v7446(pc)
 addq.l #6,a7
v7c38 move.l -$2dc6(a4),d0
 move.w -$2daa(a4),d1
 beq.s v7c48
 move.w #$3f,d1
 bra.s v7c4c
v7c48 move.w #$ff,d1
v7c4c and.w d1,d0
 bne.s v7c9c
 clr.w d6
 bra.s v7c96
v7c54 move.w d6,d0
 muls #3,d0
 lea $46(a3),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 clr.w d5
 move.b (a2),d5
 clr.w d0
 move.b 1(a2),d0
 cmp.w d5,d0
 bcc.s v7c78
 addq.b #1,1(a2)
 bra.s v7c94
v7c78 clr.w d0
 move.b 1(a2),d0
 cmp.w d5,d0
 bls.s v7c94
 clr.w d0
 move.b 1(a2),d0
 and.l #$ffff,d0
 divu d5,d0
 sub.b d0,1(a2)
v7c94 addq.w #1,d6
v7c96 cmpi.w #6,d6
 bls.s v7c54
v7c9c move.w -$2daa(a4),d0
 bne.s v7cd2
 clr.w d0
 move.b $1c(a3),d0
 cmp.w -$2dba(a4),d0
 beq.s v7cd2
 move.l -$3296(a4),d0
 move.l -$2dc6(a4),d1
 sub.l #$3c,d1
 cmp.l d1,d0
 bge.s v7cd2
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 clr.b $29(a3)
 ori.w #$400,$30(a3)
v7cd2 ori.w #$100,$30(a3)
 move.w d7,d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 bne.s v7cfc
 move.w -$2df0(a4),d0
 bne.s v7cf6
 move.w -$2dec(a4),d0
 bne.s v7cf6
 tst.w -$40e8(a4)
 bne.s v7cfc
v7cf6 ori.w #$800,$30(a3)
v7cfc move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 adda.w #$320,a3
v7d06 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs v79a2
 jsr v542e(pc)
v7d14 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v7d1c link a6,#-$c
 clr.w -(a7)
 move.l #$80,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$c(a6)
 move.w $a(a6),d0
 move.w d0,-8(a6)
 add.w #$f,d0
 move.w d0,-6(a6)
 move.w $c(a6),d0
 move.w d0,-4(a6)
 add.w #$f,d0
 move.w d0,-2(a6)
 move.l -$c(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $4e(a5)
 addq.l #6,a7
 move.l #$8ffff,-(a7)
 pea -8(a6)
 move.l -$c(a6),-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.l #$80,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 unlk a6
 rts
v7d86 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l $a(a6),a3
 move.w -$40fa(a4),d0
 cmp.w 8(a6),d0
 bne.s v7da0
 bra v7e58
v7da0 cmpi.w #$ffff,-$40fa(a4)
 beq.s v7dac
 jsr v7e60(pc)
v7dac move.w 8(a6),-$40fa(a4)
 move.w $e(a6),d0
 bne.s v7dc4
 move.l #$90091,-(a7)
 jsr $ae(a5)
 addq.l #4,a7
v7dc4 move.l #$480008,-(a7)
 pea -$39e(a4)
 move.w #$19,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 clr.w d7
 move.w 2(a3),d6
 clr.w d5
 bra.s v7e28
v7dec addq.w #1,d5
 move.w d5,d0
 cmpi.w #8,d0
 ble.s v7df8
 bra.s v7e2e
v7df8 move.w d6,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-(a7)
 move.w d7,d0
 add.w #$26,d0
 move.w d0,-(a7)
 jsr $ae(a5)
 addq.l #4,a7
 move.w d7,d0
 addq.w #1,d7
 asl.l #1,d0
 lea -$40f8(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
 move.w d6,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d6
v7e28 cmpi.w #$fffe,d6
 bne.s v7dec
v7e2e bra.s v7e52
v7e30 move.w #$ffff,-(a7)
 move.w d7,d0
 add.w #$26,d0
 move.w d0,-(a7)
 jsr $ae(a5)
 addq.l #4,a7
 move.w d7,d0
 addq.w #1,d7
 asl.l #1,d0
 lea -$40f8(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
v7e52 cmpi.w #8,d7
 blt.s v7e30
v7e58 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v7e60 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w #1,d4
 cmpi.w #$ffff,-$40fa(a4)
 bne.s v7e76
 bra.s v7eec
v7e76 move.w -$40fa(a4),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w #$ffff,-$40fa(a4)
 move.w #$fffe,2(a3)
 clr.w d5
 bra.s v7ee6
v7e92 move.w d5,d0
 asl.l #1,d0
 lea -$40f8(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s v7ee4
 move.w d5,d0
 asl.l #1,d0
 lea -$40f8(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 move.w d4,d0
 beq.s v7ed2
 clr.w d4
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w #$fffe,(a2)
 move.w d7,d0
 move.w d0,d6
 move.w d0,2(a3)
 bra.s v7ee4
v7ed2 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $2f4(a5)
 addq.l #8,a7
 move.w d7,d6
v7ee4 addq.w #1,d5
v7ee6 cmpi.w #8,d5
 blt.s v7e92
v7eec movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v7ef4 link a6,#-$80
 movem.l d7/a2-a3,-(a7)
 movea.l 8(a6),a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$c,d0
 bne.s v7f1a
 addq.l #1,8(a6)
 move.w #$6c,-$40e2(a4)
 move.w #$3b,-$40e4(a4)
v7f1a movea.l 8(a6),a0
 move.b (a0),d0
 beq.s v7f90
 move.l 8(a6),-(a7)
 pea -$80(a6)
 jsr $5a(a5)
 addq.l #8,a7
 lea -$80(a6),a0
 movea.l a0,a3
 clr.w d7
 bra.s v7f8c
v7f3a move.l a3,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 cmpi.w #$12,d0
 ble.s v7f62
 lea $11(a3),a0
 movea.l a0,a2
 bra.s v7f52
v7f50 subq.l #1,a2
v7f52 move.b (a2),d0
 ext.w d0
 cmp.w #$20,d0
 bne.s v7f50
 clr.b (a2)
 move.w #1,d7
v7f62 move.l a3,-(a7)
 move.w #$d,-(a7)
 move.w -$40e4(a4),-(a7)
 move.w -$40e2(a4),-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 addq.w #7,-$40e4(a4)
 move.w d7,d0
 beq.s v7f8a
 clr.w d7
 addq.l #1,a2
 move.l a2,d0
 movea.l d0,a3
 bra.s v7f8c
v7f8a clr.b (a3)
v7f8c move.b (a3),d0
 bne.s v7f3a
v7f90 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
v7f98 link a6,#-2
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 movea.l $c(a6),a3
 movea.l $10(a6),a2
 clr.w -2(a6)
 move.w #0,d0
 move.w d0,d5
 move.w #1,d0
 move.w d0,d4
 bra.s v7fd8
v7fc2 move.w d4,d0
 and.w d7,d0
 and.w d6,d0
 beq.s v7fce
 addq.w #1,-2(a6)
v7fce move.w d5,d0
 addq.w #1,d5
 move.w d4,d0
 asl.w #1,d0
 move.w d0,d4
v7fd8 cmpi.w #$10,d5
 bcs.s v7fc2
 tst.w -2(a6)
 bne.s v7fea
 clr.b (a2)
 bra v806a
v7fea move.l $14(a6),-(a7)
 move.l a2,-(a7)
 jsr $5a(a5)
 addq.l #8,a7
 move.w #0,d0
 move.w d0,d5
 move.w #1,d0
 move.w d0,d4
 bra.s v8058
v8004 move.w d4,d0
 and.w d7,d0
 and.w d6,d0
 beq.s v804e
 move.w d5,d0
 asl.l #2,d0
 movea.l a3,a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.l a2,-(a7)
 jsr $78(a5)
 addq.l #8,a7
 move.w -2(a6),d0
 subq.w #1,-2(a6)
 cmpi.w #2,d0
 bls.s v803a
 pea $124(a4)
 move.l a2,-(a7)
 jsr $78(a5)
 addq.l #8,a7
 bra.s v804e
v803a cmpi.w #1,-2(a6)
 bne.s v804e
 pea $128(a4)
 move.l a2,-(a7)
 jsr $78(a5)
 addq.l #8,a7
v804e move.w d5,d0
 addq.w #1,d5
 move.w d4,d0
 asl.w #1,d0
 move.w d0,d4
v8058 cmpi.w #$10,d5
 bcs.s v8004
 move.l $18(a6),-(a7)
 move.l a2,-(a7)
 jsr $78(a5)
 addq.l #8,a7
v806a movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v8072 link a6,#-$1a
 movem.l d4-d7/a2-a3,-(a7)
 movea.l -$28b0(a4),a0
 move.w $c(a0),d0
 and.w #$f000,d0
 lsr.w #4,d0
 lsr.w #8,d0
 tst.w d0
 bne.s v8096
 clr.w -$2db2(a4)
 bra v81e0
v8096 move.w #4,d5
 lea -$4062(a4),a0
 move.l a0,-8(a6)
 lea -$1a(a6),a0
 movea.l a0,a3
 bra v812c
v80ac move.w #2,d4
 bra.s v811c
v80b2 move.w d4,d0
 movea.l -8(a6),a0
 asl.l #1,d0
 lea $d4(a0),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,-$a(a6)
 move.w d0,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmpi.w #4,d0
 blt.s v8118
 move.w d4,d0
 movea.l -8(a6),a0
 asl.l #1,d0
 lea $d4(a0),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,-$a(a6)
 move.w d0,-(a7)
 jsr $186(a5)
 addq.l #2,a7
 cmpi.w #7,d0
 bgt.s v8118
 move.w -$a(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-4(a6)
 movea.l -4(a6),a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,(a3)
 bra.s v811a
v8118 clr.w (a3)
v811a addq.l #2,a3
v811c move.w d4,d0
 subq.w #1,d4
 tst.w d0
 bne.s v80b2
 addi.l #$320,-8(a6)
v812c move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne v80ac
 lea -$1a(a6),a0
 movea.l a0,a3
 clr.w d4
 bra.s v8174
v8140 move.w #7,d5
 sub.w d4,d5
 move.w d4,d0
 asl.l #1,d0
 lea -$18(a6),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 bra.s v8168
v8156 move.w (a2),d0
 cmp.w (a3),d0
 ble.s v8166
 move.w (a2),-$a(a6)
 move.w (a3),(a2)
 move.w -$a(a6),(a3)
v8166 addq.l #2,a2
v8168 move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne.s v8156
 addq.l #2,a3
 addq.w #1,d4
v8174 cmpi.w #4,d4
 bne.s v8140
 move.w #6,d6
 move.w #5,d4
 clr.w d7
 lea -$1a(a6),a0
 movea.l a0,a3
 bra.s v81b4
v818c move.w (a3),d0
 beq.s v81b2
 move.w (a3),d0
 asl.l #1,d0
 lea -$432(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 asl.w d6,d0
 lsr.w #6,d0
 add.w d0,d7
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 clr.w -(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d6
v81b2 addq.l #2,a3
v81b4 move.w d4,d0
 subq.w #1,d4
 tst.w d0
 bne.s v818c
 add.w -$33e2(a4),d7
 lea -$43e(a4),a0
 movea.l a0,a3
 tst.w d7
 ble.s v81d8
 clr.w d4
 bra.s v81d0
v81ce addq.w #1,d4
v81d0 move.w (a3)+,d0
 cmp.w d7,d0
 bgt.s v81ce
 bra.s v81dc
v81d8 move.w #5,d4
v81dc move.w d4,-$2db2(a4)
v81e0 move.w #1,-$2e02(a4)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v81ee link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 clr.w d5
 move.w -$2db4(a4),d7
 move.w -$2da8(a4),d0
 beq.s v8204
 subq.w #1,d7
v8204 lea -$4062(a4),a0
 movea.l a0,a3
 bra v82a8
v820e move.w #2,d6
 bra v829a
v8216 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d4
 cmpi.w #4,d4
 blt.s v829a
 cmpi.w #7,d4
 bgt.s v829a
 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 beq.s v829a
 move.w 2(a2),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 subq.w #1,d0
 and.w #$f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$c3ff,2(a2)
 or.w d3,2(a2)
 move.w d0,d0
 tst.w d0
 bne.s v8296
 move.w #0,d0
 and.w #1,d0
 move.w d0,d3
 asl.w #7,d3
 andi.w #$ff7f,2(a2)
 or.w d3,2(a2)
v8296 move.w #1,d5
v829a move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne v8216
 adda.w #$320,a3
v82a8 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne v820e
 cmpi.w #$88,-$396(a4)
 beq.s v82ee
 move.w #6,-(a7)
 pea -$32bc(a4)
 pea -$418a(a4)
 lea -$2dfc(a4),a0
 move.l a0,d0
 add.l #$5e,d0
 move.l d0,-(a7)
 move.w #$15,-(a7)
 pea $61e(a5)
 pea v78ba(pc)
 jsr $1f2(a5)
 adda.w #$18,a7
 move.w #$88,-$396(a4)
v82ee move.w d5,d0
 beq.s v82fa
 jsr v8072(pc)
 jsr v55a0(pc)
v82fa movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v8302 link a6,#0
 move.l #$80008,-(a7)
 pea -$3a6(a4)
 move.w 8(a6),d0
 beq.s v831c
 move.w #$13,d0
 bra.s v8320
v831c move.w #$12,d0
v8320 move.w d0,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 unlk a6
 rts
v8336 link a6,#-$a
 movem.l a2-a3,-(a7)
 movea.l $a(a6),a3
 movea.l a3,a2
 bra.s v8372
v8346 move.b (a2),d0
 ext.w d0
 cmp.w #$41,d0
 blt.s v8360
 move.b (a2),d0
 ext.w d0
 cmp.w #$5a,d0
 bgt.s v8360
 subi.b #$40,(a2)+
 bra.s v8372
v8360 move.b (a2),d0
 ext.w d0
 cmp.w #$7b,d0
 blt.s v8370
 subi.b #$60,(a2)+
 bra.s v8372
v8370 addq.l #1,a2
v8372 move.b (a2),d0
 bne.s v8346
 move.l a3,-(a7)
 move.w #$f,-(a7)
 clr.w -(a7)
 move.w 8(a6),-(a7)
 move.l a3,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w d1,-$a(a6)
 move.w #6,d1
 muls -$a(a6),d1
 asr.w #1,d1
 move.w #$a2,d0
 sub.w d1,d0
 move.w d0,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 movem.l (a7)+,a2-a3
 unlk a6
 rts
v83ba link a6,#-$104
 movem.l d7/a2-a3,-(a7)
 move.w #$8002,-(a7)
 movea.l 8(a6),a0
 move.w 2(a0),d0
 and.w #$3ff,d0
 move.w d0,-(a7)
 pea -$104(a6)
 jsr $2e8(a5)
 addq.l #8,a7
 lea -$104(a6),a0
 movea.l a0,a2
 bra.s v83e8
v83e6 addq.l #1,a2
v83e8 move.b (a2),d0
 beq.s v83f6
 move.b (a2),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s v83e6
v83f6 clr.b (a2)
 move.l #$480008,-(a7)
 pea -$39e(a4)
 move.w #$17,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.w #1,d7
 addq.l #1,a2
 move.l a2,d0
 movea.l d0,a3
 bra.s v8430
v8422 move.b (a3),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s v842e
 addq.w #1,d7
v842e addq.l #1,a3
v8430 move.b (a3),d0
 bne.s v8422
 move.l a3,d0
 subq.l #1,d0
 movea.l d0,a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$a,d0
 beq.s v8448
 addq.w #1,d7
 bra.s v845a
v8448 move.l a3,d0
 subq.l #2,d0
 movea.l d0,a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s v845a
 subq.w #1,d7
v845a move.w #$5c,d0
 move.w #7,d1
 muls d7,d1
 ext.l d1
 divs #2,d1
 sub.w d1,d0
 move.w d0,d7
 pea -$104(a6)
 move.w d7,-(a7)
 jsr v8336(pc)
 addq.l #6,a7
 movea.l a2,a3
 bra.s v84a8
v847e addq.w #7,d7
 bra.s v8484
v8482 addq.l #1,a2
v8484 move.b (a2),d0
 beq.s v8492
 move.b (a2),d0
 ext.w d0
 cmp.w #$a,d0
 bne.s v8482
v8492 move.b (a2),d0
 bne.s v849a
 clr.b 1(a2)
v849a clr.b (a2)+
 move.l a3,-(a7)
 move.w d7,-(a7)
 jsr v8336(pc)
 addq.l #6,a7
 movea.l a2,a3
v84a8 move.b (a3),d0
 bne.s v847e
 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
v84b4 link a6,#-$72
 movem.l d4-d7/a2-a3,-(a7)
 lea $12e(a4),a0
 move.l a0,-$44(a6)
 lea $130(a4),a0
 move.l a0,-$48(a6)
 jsr v7e60(pc)
 move.w 8(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 pea $14a(a4)
 jsr v7ef4(pc)
 addq.l #4,a7
 move.w 8(a6),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$4a(a6)
 cmpi.w #7,-$4a(a6)
 bne.s v850a
 move.l a2,-(a7)
 jsr v83ba(pc)
 addq.l #4,a7
 bra v88e2
v850a cmpi.w #9,-$4a(a6)
 bne.s v8526
 move.w $a(a6),-(a7)
 move.l a2,-(a7)
 move.w 8(a6),-(a7)
 jsr v7d86(pc)
 addq.l #8,a7
 bra v88e2
v8526 move.w 8(a6),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d6
 move.l #$480008,-(a7)
 pea -$39e(a4)
 move.w #$14,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.l #$10000c,-(a7)
 pea -$3ae(a4)
 move.w #$1d,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 cmpi.w #$93,d6
 bne.s v85c4
 move.w 2(a2),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 pea -$72(a6)
 jsr $5a(a5)
 addq.l #8,a7
 pea $14c(a4)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 move.w d6,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 lea -$72(a6),a0
 movea.l a0,a3
 bra.s v8640
v85c4 cmpi.w #8,-$4a(a6)
 bne.s v8632
 cmpi.w #$a3,d6
 beq.s v8632
 move.w #2,-(a7)
 move.w -$40e6(a4),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 cmpi.w #1,d0
 bls.s v8632
 move.w #$5f,d0
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$ff,d1
 and.l #$ffff,d1
 divu #$28,d1
 add.w d1,d0
 move.b d0,-$72(a6)
 move.b #$20,-$71(a6)
 clr.b -$70(a6)
 move.w d6,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 lea -$72(a6),a0
 movea.l a0,a3
 bra.s v8640
v8632 move.w d6,d0
 asl.l #2,d0
 lea -$31f2(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
v8640 move.l a3,-(a7)
 move.l #$44000d,-(a7)
 move.w #$86,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 move.l #$6f003b,-(a7)
 move.w d6,-(a7)
 jsr v7d1c(pc)
 addq.l #6,a7
 lea $14e(a4),a0
 move.l a0,-$40(a6)
 lea $15a(a4),a0
 move.l a0,-$3c(a6)
 lea $164(a4),a0
 move.l a0,-$38(a6)
 lea $16c(a4),a0
 move.l a0,-$34(a6)
 move.w #$57,-$40e4(a4)
 move.w -$4a(a6),d0
 cmp.w #5,d0
 beq.s v8694
 bra.s v86fe
v8694 move.w #$e,d5
 move.l a2,d4
 movea.l d4,a0
 move.w 2(a0),d4
 and.w #$100,d4
 lsr.w #8,d4
 asl.w #3,d4
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$200,d1
 lsr.w #1,d1
 lsr.w #8,d1
 asl.w #1,d1
 or.w d1,d4
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$4000,d1
 lsr.w #6,d1
 lsr.w #8,d1
 asl.w #2,d1
 or.w d1,d4
 cmpi.w #4,d6
 bcs.s v86fa
 cmpi.w #7,d6
 bhi.s v86fa
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 tst.w d0
 bne.s v86fa
 pea $174(a4)
 jsr v7ef4(pc)
 addq.l #4,a7
v86fa bra v8826
v86fe cmp.w #6,d0
 beq.s v8706
 bra.s v8732
v8706 move.w #$c,d5
 move.l a2,d4
 movea.l d4,a0
 move.w 2(a0),d4
 and.w #$100,d4
 lsr.w #8,d4
 asl.w #3,d4
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$2000,d1
 lsr.w #5,d1
 lsr.w #8,d1
 asl.w #2,d1
 or.w d1,d4
 bra v8826
v8732 cmp.w #8,d0
 beq.s v873a
 bra.s v8762
v873a move.w #1,d5
 move.w #2,d4
 move.l a2,d1
 movea.l d1,a0
 move.w 2(a0),d1
 and.w #$7f00,d1
 lsr.w #8,d1
 add.w d1,d4
 muls #6,d4
 lea -$20ba(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 bra v8826
v8762 cmp.w #$a,d0
 beq.s v876c
 bra v8826
v876c cmpi.w #8,d6
 bcs.s v87cc
 cmpi.w #9,d6
 bhi.s v87cc
 clr.w d5
 move.w 2(a2),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 tst.w d0
 beq.s v878c
 bra.s v8794
v878c lea $180(a4),a0
 movea.l a0,a3
 bra.s v87c2
v8794 cmp.w #1,d0
 beq.s v879c
 bra.s v87a4
v879c lea $188(a4),a0
 movea.l a0,a3
 bra.s v87c2
v87a4 cmp.w #2,d0
 beq.s v87ac
 bra.s v87b4
v87ac lea $198(a4),a0
 movea.l a0,a3
 bra.s v87c2
v87b4 cmp.w #3,d0
 beq.s v87bc
 bra.s v87c2
v87bc lea $1a6(a4),a0
 movea.l a0,a3
v87c2 move.l a3,-(a7)
 jsr v7ef4(pc)
 addq.l #4,a7
 bra.s v8826
v87cc tst.w d6
 bcs.s v8808
 cmpi.w #3,d6
 bhi.s v8808
 clr.w d5
 pea $1ae(a4)
 pea -$72(a6)
 jsr $5a(a5)
 addq.l #8,a7
 move.w d6,d0
 asl.l #2,d0
 lea -$419a(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea -$72(a6)
 jsr v7ef4(pc)
 addq.l #4,a7
 bra.s v8826
v8808 move.w #1,d5
 move.w #$7f,d4
 move.w 2(a2),d1
 and.w #$7f,d1
 add.w d1,d4
 muls #6,d4
 lea -$20ba(a4),a0
 adda.w d4,a0
 move.w (a0),d4
v8826 move.w d5,d0
 beq.s v8850
 move.l -$44(a6),-(a7)
 move.l -$48(a6),-(a7)
 pea -$72(a6)
 pea -$40(a6)
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr v7f98(pc)
 adda.w #$14,a7
 pea -$72(a6)
 jsr v7ef4(pc)
 addq.l #4,a7
v8850 pea $1bc(a4)
 pea -$72(a6)
 jsr $5a(a5)
 addq.l #8,a7
 move.w 8(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.w d0,d7
 move.w #3,-(a7)
 clr.w -(a7)
 move.w d7,d0
 and.l #$ffff,d0
 divu #$a,d0
 move.w d0,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea $1c4(a4)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 move.w d7,d0
 and.l #$ffff,d0
 divu #$a,d0
 mulu #$a,d0
 sub.w d0,d7
 move.w #1,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea $1c6(a4)
 pea -$72(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea -$72(a6)
 jsr v7ef4(pc)
 addq.l #4,a7
v88e2 move.w $a(a6),-(a7)
 jsr v8302(pc)
 addq.l #2,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v88f4 link a6,#-8
 move.w 8(a6),d0
 move.w d0,-8(a6)
 add.w $c(a6),d0
 move.w d0,-6(a6)
 move.w $a(a6),d0
 move.w d0,-4(a6)
 addq.w #6,d0
 move.w d0,-2(a6)
 clr.w -$5a00(a4)
 move.w #$70,-(a7)
 move.w $e(a6),-(a7)
 pea -8(a6)
 move.l -$2da2(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 unlk a6
 rts
v8936 link a6,#0
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 cmpi.w #$fe00,d7
 bge.s v894e
 move.w #8,d6
 bra.s v895c
v894e tst.w d7
 bge.s v8958
 move.w #$b,d6
 bra.s v895c
v8958 move.w $c(a6),d6
v895c move.w d7,d5
 add.w #$400,d5
 cmpi.w #$c00,d5
 bne.s v896c
 move.w #$bff,d5
v896c move.w d5,d0
 asr.w #5,d0
 move.w d0,d5
 clr.w -(a7)
 move.w d5,-(a7)
 move.w $a(a6),d0
 addq.w #2,d0
 move.w d0,-(a7)
 move.w #$73,-(a7)
 jsr v88f4(pc)
 addq.l #8,a7
 move.w d6,-(a7)
 move.w d5,-(a7)
 move.w $a(a6),-(a7)
 move.w #$71,-(a7)
 jsr v88f4(pc)
 addq.l #8,a7
 movem.l (a7)+,d5-d7
 unlk a6
 rts
v89a2 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w -$40e6(a4),d0
 muls #$320,d0
 lea -$4382(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 jsr v7e60(pc)
 move.l #$480008,-(a7)
 pea -$39e(a4)
 move.w #$14,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.l #$18000c,-(a7)
 pea -$3b6(a4)
 move.w #$1e,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.l #$18000c,-(a7)
 pea -$3be(a4)
 move.w #$1f,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.b $2a(a3),d0
 beq.s v8a3e
 move.l #$30000c,-(a7)
 pea -$3c6(a4)
 move.w #$20,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
v8a3e move.l #$450005,-(a7)
 move.w $42(a3),-(a7)
 jsr v8936(pc)
 addq.l #6,a7
 move.l #$5c000e,-(a7)
 move.w $44(a3),-(a7)
 jsr v8936(pc)
 addq.l #6,a7
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v8a66 link a6,#0
 move.w #5,-$40e8(a4)
 move.l #$480006,-(a7)
 pea -$39e(a4)
 move.w #$28,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 unlk a6
 rts
v8a92 link a6,#0
 movem.l d7/a3,-(a7)
 jsr v7e60(pc)
 move.w -$2da8(a4),d0
 beq.s v8aaa
 jsr v8a66(pc)
 bra.s v8b12
v8aaa move.w -$40e6(a4),d7
 muls #$320,d7
 lea -$42ae(a4),a0
 adda.w d7,a0
 move.w 2(a0),d7
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 clr.w -$40e8(a4)
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmp.w #9,d0
 beq.s v8adc
 bra.s v8ae4
v8adc move.w #4,-$40e8(a4)
 bra.s v8afc
v8ae4 cmp.w #7,d0
 beq.s v8aec
 bra.s v8afa
v8aec move.w #2,-$40e8(a4)
 bra.s v8afc
v8af4 move.w #$ffff,d7
 bra.s v8afc
v8afa bra.s v8af4
v8afc cmpi.w #$ffff,d7
 bne.s v8b08
 jsr v89a2(pc)
 bra.s v8b12
v8b08 clr.w -(a7)
 move.w d7,-(a7)
 jsr v84b4(pc)
 addq.l #4,a7
v8b12 movem.l (a7)+,d7/a3
 unlk a6
 rts
v8b1a link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 tst.w d6
 blt.s v8b72
 move.w d7,d0
 muls #3,d0
 lea $47(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 cmpi.w #$78,d0
 ble.s v8b5e
 move.w d6,d0
 asr.w #1,d0
 move.w d0,d6
 cmpi.w #$96,d5
 ble.s v8b5c
 move.w d6,d0
 asr.w #1,d0
 move.w d0,d6
v8b5c addq.w #1,d6
v8b5e move.w #$aa,d0
 sub.w d5,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d5
 bra.s v8ba2
v8b72 move.w d7,d0
 muls #3,d0
 lea $48(a3),a0
 adda.w d0,a0
 move.b (a0),d0
 move.w d7,d1
 muls #3,d1
 lea $47(a3),a0
 adda.w d1,a0
 and.w #$ff,d0
 clr.w d3
 move.b (a0),d3
 sub.w d3,d0
 move.w d0,-(a7)
 move.w d6,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d5
v8ba2 move.w d7,d0
 muls #3,d0
 lea $47(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 add.w d5,d0
 move.b d0,(a0)
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v8bbe link a6,#-$28
 movem.l d4-d7/a2-a3,-(a7)
 move.w -$40c2(a4),d0
 beq.s v8c14
 tst.w -$40e8(a4)
 bne.s v8bd6
 bra v90d2
v8bd6 move.w #1,-$5a6c(a4)
 move.w #1,-$2df0(a4)
 move.w -$5a58(a4),d0
 and.w #2,d0
 bne.s v8bfa
 clr.w -$5a6c(a4)
 clr.w -$2df0(a4)
 clr.w -$2df2(a4)
 bra.s v8c10
v8bfa jsr $24(a5)
 move.w #1,-$5a56(a4)
 jsr v89a2(pc)
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
v8c10 bra v90d2
v8c14 move.w -$2da8(a4),d0
 beq.s v8c1e
 bra v90d2
v8c1e move.w -$40c0(a4),d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20ba(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.w #1,d0
 bne.s v8c42
 bra v90d2
v8c42 move.w d7,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d6
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 move.w d0,-$12(a6)
 move.w d7,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.w d0,-$14(a6)
 move.w -$40e6(a4),d0
 subq.w #1,d0
 move.w d0,d5
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 cmpi.w #8,d6
 bcs.s v8ce2
 cmpi.w #9,d6
 bhi.s v8ce2
 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 bne.s v8ca4
 bra v90d2
v8ca4 move.w #$800,-(a7)
 move.w $44(a2),d0
 add.w #$320,d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,$44(a2)
 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 subq.w #1,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a3)
 or.w d3,2(a3)
 clr.w d4
 bra.s v8cf6
v8ce2 cmpi.w #8,-$12(a6)
 bne.s v8cee
 clr.w d4
 bra.s v8cf6
v8cee move.w #$ffff,(a3)
 move.w #1,d4
v8cf6 jsr $24(a5)
 move.w d4,d0
 beq.s v8d02
 jsr v5802(pc)
v8d02 cmpi.w #8,-$12(a6)
 bne v8fdc
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$ff,d0
 move.w d0,-$c(a6)
 move.w #$20,d0
 move.w -$c(a6),d1
 addq.w #1,d1
 and.l #$ffff,d1
 divu #8,d1
 add.w d1,d0
 move.w d0,-$1e(a6)
 move.w #$1ff,d0
 sub.w -$c(a6),d0
 and.l #$ffff,d0
 divu -$1e(a6),d0
 lsr.w #1,d0
 move.w d0,-$e(a6)
 move.w -$c(a6),d0
 and.l #$ffff,d0
 divu #$19,d0
 addq.w #8,d0
 move.w d0,-$c(a6)
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$7f00,d0
 lsr.w #8,d0
 cmp.w #6,d0
 beq.s v8d78
 bra.s v8d8c
v8d78 move.w -$c(a6),-(a7)
 move.w #2,-(a7)
 move.l a2,-(a7)
 jsr v8b1a(pc)
 addq.l #8,a7
 bra v8fc0
v8d8c cmp.w #7,d0
 beq.s v8d94
 bra.s v8dbe
v8d94 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$ff,d0
 and.l #$ffff,d0
 divu #$23,d0
 addq.w #5,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 move.l a2,-(a7)
 jsr v8b1a(pc)
 addq.l #8,a7
 bra v8fc0
v8dbe cmp.w #8,d0
 beq.s v8dc6
 bra.s v8dda
v8dc6 move.w -$c(a6),-(a7)
 move.w #3,-(a7)
 move.l a2,-(a7)
 jsr v8b1a(pc)
 addq.l #8,a7
 bra v8fc0
v8dda cmp.w #9,d0
 beq.s v8de2
 bra.s v8df6
v8de2 move.w -$c(a6),-(a7)
 move.w #4,-(a7)
 move.l a2,-(a7)
 jsr v8b1a(pc)
 addq.l #8,a7
 bra v8fc0
v8df6 cmp.w #$a,d0
 beq.s v8dfe
 bra.s v8e0a
v8dfe move.w d5,-(a7)
 jsr v73dc(pc)
 addq.l #2,a7
 bra v8fc0
v8e0a cmp.w #$b,d0
 beq.s v8e12
 bra.s v8e3a
v8e12 move.w $3a(a2),d0
 and.l #$ffff,d0
 divu -$e(a6),d0
 move.w d0,-(a7)
 move.w $3a(a2),d0
 sub.w $38(a2),d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 add.w d0,$38(a2)
 bra v8fc0
v8e3a cmp.w #$c,d0
 beq.s v8e42
 bra.s v8eb4
v8e42 move.w -$c(a6),d0
 lsr.w #1,d0
 add.w d0,-$c(a6)
 cmpi.w #$32,$112(a2)
 ble.s v8e5e
 move.w -$c(a6),d0
 lsr.w #2,d0
 move.w d0,-$c(a6)
v8e5e move.w -$c(a6),d0
 add.w d0,$112(a2)
 move.b #$48,-6(a6)
 move.l -$2dc6(a4),d0
 move.w -$c(a6),d1
 mulu -$c(a6),d1
 and.l #$ffff,d1
 add.l d1,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 move.w d5,d0
 move.b d0,-5(a6)
 move.w -$c(a6),-4(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 ori.w #$1000,$30(a2)
 bra v8fc0
v8eb4 cmp.w #$d,d0
 beq.s v8ebc
 bra.s v8f12
v8ebc move.w $3c(a2),d0
 add.w -$c(a6),d0
 move.w -$c(a6),d1
 subq.w #8,d1
 add.w d1,d0
 move.w d0,-(a7)
 move.w #$384,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,-$12(a6)
 move.w -$12(a6),d0
 move.w $3e(a2),d1
 cmp.w d1,d0
 bls.s v8f08
 move.w $3e(a2),-(a7)
 move.w $3c(a2),-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-$28(a6)
 move.w -$12(a6),d0
 sub.w -$28(a6),d0
 lsr.w #1,d0
 sub.w d0,-$12(a6)
v8f08 move.w -$12(a6),$3c(a2)
 bra v8fc0
v8f12 cmp.w #$e,d0
 beq.s v8f1c
 bra v8fa0
v8f1c move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$ff,d0
 and.l #$ffff,d0
 divu #$2a,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-$12(a6)
 move.w $36(a2),d0
 and.l #$ffff,d0
 divu -$e(a6),d0
 add.w d0,$34(a2)
 move.w $32(a2),-$10(a6)
 beq.s v8f98
 move.w #$a,-$e(a6)
v8f62 clr.w -$c(a6)
 bra.s v8f74
v8f68 jsr $90(a5)
 and.w d0,$32(a2)
 addq.w #1,-$c(a6)
v8f74 move.w -$c(a6),d0
 cmp.w -$12(a6),d0
 bcs.s v8f68
 move.w #1,-$12(a6)
 move.w -$10(a6),d0
 cmp.w $32(a2),d0
 bne.s v8f98
 subq.w #1,-$e(a6)
 move.w -$e(a6),d0
 bne.s v8f62
v8f98 ori.w #$2200,$30(a2)
 bra.s v8fc0
v8fa0 cmp.w #$f,d0
 beq.s v8fa8
 bra.s v8fc0
v8fa8 move.w #$800,-(a7)
 move.w $44(a2),d0
 add.w #$640,d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,$44(a2)
v8fc0 move.w #$14,d0
 move.l a3,d1
 movea.l d1,a0
 and.w #$7f,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$80ff,2(a0)
 or.w d3,2(a0)
 bra.s v9008
v8fdc cmpi.w #$a8,d6
 bcs.s v9008
 cmpi.w #$b0,d6
 bcc.s v9008
 move.w #$800,-(a7)
 move.w $42(a2),d0
 move.w d6,d1
 asl.l #1,d1
 lea -$2452(a4),a0
 adda.w d1,a0
 add.w (a0),d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,$42(a2)
v9008 move.w $38(a2),d0
 cmp.w $3a(a2),d0
 ble.s v9018
 move.w $3a(a2),$38(a2)
v9018 move.w $34(a2),d0
 cmp.w $36(a2),d0
 ble.s v9028
 move.w $36(a2),$34(a2)
v9028 move.w d4,d0
 beq.s v9068
 move.w #5,-$e(a6)
 bra.s v9060
v9034 move.l #$38002e,-(a7)
 move.w #$cd,d0
 move.w -$e(a6),d1
 and.w #1,d1
 seq d1
 and.w #1,d1
 add.w d1,d0
 move.w d0,-(a7)
 jsr $42(a5)
 addq.l #6,a7
 move.w #8,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
v9060 subq.w #1,-$e(a6)
 bne.s v9034
 bra.s v90a0
v9068 jsr v55a0(pc)
 move.w d7,-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 sub.w -$14(a6),d1
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d1,d0
 move.w d0,(a0)
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$200,(a0)
v90a0 clr.w -(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #8,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 ori.w #$100,$30(a2)
 tst.w -$40e8(a4)
 bne.s v90c6
 ori.w #$800,$30(a2)
v90c6 move.w d5,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 jsr $a8(a5)
v90d2 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v90da link a6,#0
 jsr v8a92(pc)
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 move.w #1,-$5a56(a4)
 jsr $a8(a5)
 unlk a6
 rts
v90f8 link a6,#-$18
 movem.l d4-d7/a3,-(a7)
 jsr v7e60(pc)
 move.w -$40e6(a4),d0
 subq.w #1,d0
 move.w d0,d4
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.l #$480008,-(a7)
 pea -$39e(a4)
 move.w #$14,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.w #$3a,d6
 clr.w d7
 bra.s v91ba
v9140 move.w d7,d0
 or.w #$8000,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 jsr v5fb6(pc)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w #$10,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d5
 cmpi.w #1,d5
 bne.s v9166
 bra.s v91b8
v9166 move.w d5,d0
 asl.l #2,d0
 lea -$4182(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$18(a6)
 jsr $5a(a5)
 addq.l #8,a7
 pea $20a(a4)
 pea -$18(a6)
 jsr $78(a5)
 addq.l #8,a7
 move.w d7,d0
 asl.l #2,d0
 lea -$40d4(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$18(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea -$18(a6)
 move.w #$d,-(a7)
 move.w d6,-(a7)
 move.w #$6c,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 addq.w #7,d6
v91b8 addq.w #1,d7
v91ba cmpi.w #3,d7
 bls.s v9140
 move.w #$56,d6
 move.w #1,d7
 bra v929a
v91cc move.w d7,d0
 asl.l #2,d0
 lea -$41b6(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.w #$d,-(a7)
 move.w d6,-(a7)
 move.w #$6c,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 move.w d7,d5
 muls #3,d5
 lea $47(a3),a0
 adda.w d5,a0
 clr.w d5
 move.b (a0),d5
 move.w d7,d0
 muls #3,d0
 lea $46(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-4(a6)
 move.w d5,d0
 cmp.w -4(a6),d0
 bcc.s v921e
 move.w #8,-2(a6)
 bra.s v9234
v921e move.w d5,d0
 cmp.w -4(a6),d0
 bls.s v922e
 move.w #7,-2(a6)
 bra.s v9234
v922e move.w #$d,-2(a6)
v9234 move.l #$10003,-(a7)
 move.w d5,-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 move.w -2(a6),-(a7)
 move.w d6,-(a7)
 move.w #$ae,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 pea $20c(a4)
 pea -$18(a6)
 jsr $5a(a5)
 addq.l #8,a7
 move.l #$10003,-(a7)
 move.w -4(a6),-(a7)
 jsr v4b8e(pc)
 addq.l #6,a7
 move.l d0,-(a7)
 pea -$18(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea -$18(a6)
 move.w #$d,-(a7)
 move.w d6,-(a7)
 move.w #$c0,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 addq.w #7,d6
 addq.w #1,d7
v929a cmpi.w #6,d7
 bls v91cc
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v92aa link a6,#0
 movem.l d6-d7,-(a7)
 move.w #1,-$5a6c(a4)
 move.w #1,-$2dec(a4)
 move.w -$5a58(a4),d0
 and.w #2,d0
 bne.s v92d6
 clr.w -$5a6c(a4)
 clr.w -$2dec(a4)
 clr.w -$2dee(a4)
 bra.s v931e
v92d6 jsr $52e(a5)
 jsr $24(a5)
 move.w #8,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 move.l #$c000d,-(a7)
 move.w #$cb,-(a7)
 jsr v7d1c(pc)
 addq.l #6,a7
 move.w -$40c2(a4),d0
 beq.s v9304
 jsr v90f8(pc)
 bra.s v9316
v9304 jsr $150(a5)
 move.w #1,-(a7)
 move.w -$40c0(a4),-(a7)
 jsr v84b4(pc)
 addq.l #4,a7
v9316 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
v931e movem.l (a7)+,d6-d7
 unlk a6
 rts
v9326 link a6,#0
 move.w d7,-(a7)
 move.l #$c000d,-(a7)
 move.w #$ca,-(a7)
 jsr v7d1c(pc)
 addq.l #6,a7
 jsr v8a92(pc)
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 move.w -$40c0(a4),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s v935c
 move.w d7,-(a7)
 jsr $162(a5)
 addq.l #2,a7
v935c jsr $a8(a5)
 move.w (a7)+,d7
 unlk a6
 rts
v9366 link a6,#-8
 clr.w -$5a00(a4)
 clr.w -4(a6)
 move.w #$1c,-2(a6)
 move.w 8(a6),d0
 muls #$45,d0
 addq.w #7,d0
 move.w d0,-8(a6)
 add.w #$1f,d0
 move.w d0,-6(a6)
 move.l #$10ffff,-(a7)
 pea -8(a6)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$3f12(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 unlk a6
 rts
v93b6 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w 8(a6),d7
 cmpi.w #4,d7
 beq.s v93dc
 move.w d7,d0
 muls #$320,d0
 lea -$402e(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 bne.s v93dc
 bra v957a
v93dc move.w -$2df0(a4),d0
 bne.s v93e8
 move.w -$2dec(a4),d0
 beq.s v93ec
v93e8 bra v957a
v93ec move.w #1,-$2dd8(a4)
 cmpi.w #$22b,-$72a(a4)
 bne.s v940e
 move.l -$2dc6(a4),d0
 sub.l -$40d8(a4),d0
 cmpi.l #$3e8,d0
 ble.s v940e
 addq.w #1,-$2dea(a4)
v940e move.w -$40e6(a4),d6
 move.w d7,d0
 addq.w #1,d0
 cmp.w d6,d0
 bne.s v941e
 move.w #4,d7
v941e jsr $24(a5)
 move.w d6,d0
 beq.s v949a
 clr.w -$40e6(a4)
 jsr v7e60(pc)
 move.w d6,d0
 muls #$320,d0
 lea -$4382(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $34(a3),d0
 beq.s v945c
 move.w -$2da8(a4),d0
 bne.s v945c
 ori.w #$1000,$30(a3)
 move.w d6,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
v945c move.w -$2daa(a4),d0
 beq.s v946a
 jsr $a8(a5)
 bra v957a
v946a cmpi.w #4,d7
 bne.s v949a
 move.w #1,-$2de2(a4)
 jsr $528(a5)
 jsr $a8(a5)
 lea -$4398(a4),a0
 move.l a0,-$41ec(a4)
 lea -$47fc(a4),a0
 move.l a0,-$41f4(a4)
 jsr $52e(a5)
 jsr $1c2(a5)
 bra v957a
v949a clr.w -$5a00(a4)
 move.w d7,d0
 addq.w #1,d0
 move.w d0,-$40e6(a4)
 move.w d6,d0
 bne.s v94b6
 clr.w -(a7)
 pea -$1c(a4)
 jsr $204(a5)
 addq.l #6,a7
v94b6 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.l -$2da2(a4),-(a7)
 move.w #$11,-(a7)
 jsr $618(a5)
 addq.l #6,a7
 move.w -$2da8(a4),d0
 beq.s v94f0
 move.l #$c0070,-(a7)
 pea -$446(a4)
 move.l -$2da2(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
v94f0 pea $20e(a4)
 move.l #$74000d,-(a7)
 move.w #5,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 pea $216(a4)
 move.l #$7c000d,-(a7)
 move.w #5,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 pea $21e(a4)
 move.l #$84000d,-(a7)
 move.w #5,-(a7)
 jsr $f0(a5)
 adda.w #$a,a7
 clr.w d6
 bra.s v9542
v9536 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr v4c8c(pc)
 addq.l #4,a7
 addq.w #1,d6
v9542 cmpi.w #$1e,d6
 bcs.s v9536
 ori.w #$5b80,$30(a3)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w d7,-(a7)
 jsr v4e78(pc)
 addq.l #2,a7
 move.w #1,-$5a6e(a4)
 jsr $a8(a5)
 lea -$4560(a4),a0
 move.l a0,-$41ec(a4)
 clr.l -$41f4(a4)
 jsr $52e(a5)
v957a movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
v9582 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w d5
 move.w #$14,d7
 move.w d7,d0
 ext.l d0
 adda.l d0,a3
 bra.s v95c0
v959c clr.w d0
 move.b (a3)+,d0
 move.w d0,d6
 and.w #$7f,d0
 cmpi.w #$68,d0
 beq.s v95b8
v95ac move.w #$fe80,-$fac(a4)
 move.w #0,d0
 bra.s v95f4
v95b8 cmpi.w #$e8,d6
 bne.s v95c0
 addq.w #1,d5
v95c0 move.w d7,d0
 addq.w #1,d7
 cmpi.w #$1fd,d0
 blt.s v959c
 move.w d5,d0
 cmp.w -$5ace(a4),d0
 bne.s v95e2
 addq.w #1,-$5ad0(a4)
 move.w -$5ad0(a4),d0
 cmpi.w #3,d0
 ble.s v95e2
 bra.s v95ac
v95e2 clr.w -$5ad0(a4)
 move.w d5,-$5ace(a4)
 move.w #$31e9,-$4b12(a4)
 move.w #1,d0
v95f4 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v95fc link a6,#0
 bra.s v960c
v9602 move.w #7,-(a7)
 jsr $96(a5)
 addq.l #2,a7
v960c move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 bne.s v9602
 move.w #1,-$41da(a4)
 clr.w -$41d6(a4)
 move.w #4,-$41d8(a4)
 clr.w -$41da(a4)
 unlk a6
 rts
v9632 link a6,#0
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w $10(a6),d5
 cmpa.l #0,a3
 beq.s v9658
 move.w -$41e4(a4),d0
 beq.s v965e
v9658 move.w #0,d0
 bra.s v9694
v965e bra.s v968e
v9660 move.w d7,d0
 cmp.w 4(a3),d0
 bgt.s v968a
 move.w d7,d0
 cmp.w 2(a3),d0
 blt.s v968a
 move.w d6,d0
 cmp.w 6(a3),d0
 blt.s v968a
 move.w d6,d0
 cmp.w 8(a3),d0
 bgt.s v968a
 move.w d5,d0
 and.w $a(a3),d0
 beq.s v968a
 bra.s v9692
v968a adda.w #$c,a3
v968e move.w (a3),d4
 bne.s v9660
v9692 move.w d4,d0
v9694 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
v969c link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 tas -$41da(a4)
 beq.s v96e4
 move.w #1,-$41dc(a4)
 move.w d7,-$41de(a4)
 move.w d6,-$41e0(a4)
 move.w $c(a6),-$41e2(a4)
 move.w -$41e4(a4),d0
 bne.s v96e0
 pea va88e(pc)
 jsr $58e(a5)
 addq.l #4,a7
 cmpi.w #$2a3,d0
 beq.s v96e0
 addq.w #1,-$41e4(a4)
v96e0 bra v9770
v96e4 move.w -$41d8(a4),d0
 addq.w #2,d0
 move.w d0,d5
 cmpi.w #4,d0
 ble.s v96f4
 subq.w #5,d5
v96f4 move.w d5,d0
 cmp.w -$41d6(a4),d0
 bne.s v96fe
 bra.s v9770
v96fe move.w $c(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l -$41e8(a4),-(a7)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d4
 tst.w d4
 bne.s v972e
 move.w $c(a6),-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 move.l -$41ec(a4),-(a7)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d4
v972e tst.w d4
 beq.s v976c
 move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne.s v973e
 move.w #4,d5
v973e move.w d5,d0
 move.w d0,-$41d8(a4)
 muls #6,d0
 lea -$41d0(a4),a0
 adda.w d0,a0
 move.w d4,(a0)
 move.w d5,d0
 muls #6,d0
 lea -$41d4(a4),a0
 adda.w d0,a0
 move.w d7,(a0)
 move.w d5,d0
 muls #6,d0
 lea -$41d2(a4),a0
 adda.w d0,a0
 move.w d6,(a0)
v976c clr.w -$41da(a4)
v9770 movem.l (a7)+,d4-d7
 unlk a6
 rts
v9778 link a6,#0
 move.w -$41dc(a4),d0
 beq.s v9798
 clr.w -$41dc(a4)
 move.w -$41e2(a4),-(a7)
 move.w -$41e0(a4),-(a7)
 move.w -$41de(a4),-(a7)
 jsr v969c(pc)
 addq.l #6,a7
v9798 unlk a6
 rts
v979c link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.l 8(a6),d7
 move.l -$41f0(a4),d0
 movea.l d0,a3
 tst.l d0
 bne.s v97b6
 bra v9856
v97b6 move.w #1,-$41da(a4)
 move.l d7,d0
 tst.w d0
 bne.s v97c8
 move.l d7,d0
 asr.l #8,d0
 move.l d0,d7
v97c8 move.w -$41d8(a4),d0
 addq.w #2,d0
 move.w d0,d6
 cmpi.w #4,d0
 ble.s v97d8
 subq.w #5,d6
v97d8 move.w d6,d0
 cmp.w -$41d6(a4),d0
 bne.s v97e2
 bra.s v984e
v97e2 bra.s v980e
v97e4 move.l d7,d0
 cmp.w 2(a3),d0
 bne.s v980c
 move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s v97f8
 move.w #4,d6
v97f8 move.w d6,d0
 move.w d0,-$41d8(a4)
 muls #6,d0
 lea -$41d0(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
 bra.s v984e
v980c addq.l #4,a3
v980e move.w (a3),d5
 bne.s v97e4
 move.l -$41f4(a4),d0
 movea.l d0,a3
 tst.l d0
 bne.s v981e
 bra.s v984e
v981e bra.s v984a
v9820 move.l d7,d0
 cmp.w 2(a3),d0
 bne.s v9848
 move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s v9834
 move.w #4,d6
v9834 move.w d6,d0
 move.w d0,-$41d8(a4)
 muls #6,d0
 lea -$41d0(a4),a0
 adda.w d0,a0
 move.w d5,(a0)
 bra.s v984e
v9848 addq.l #4,a3
v984a move.w (a3),d5
 bne.s v9820
v984e clr.w -$41da(a4)
 jsr v9778(pc)
v9856 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v985e link a6,#0
v9862 move.w -$2dfe(a4),d0
 bne.s v9862
 move.w 8(a6),-$2df6(a4)
 move.w $a(a6),-$2df8(a4)
 move.w $c(a6),-$2dfa(a4)
 move.w $e(a6),-$2dfc(a4)
 move.w #1,-$2dfe(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 unlk a6
 rts
v9894 link a6,#0
v9898 move.w -$2dfe(a4),d0
 bne.s v9898
 move.w -$2e00(a4),d0
 beq.s v98b4
 move.w #1,-$2dfe(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
v98b4 unlk a6
 rts
v98b8 link a6,#-2
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$ffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 pea -$2db8(a4)
 pea -$2db6(a4)
 move.w 8(a6),d0
 beq.s v98ea
 move.w #$ffff,d0
 bra.s v98ee
v98ea move.w #1,d0
v98ee move.w d0,-(a7)
 move.w -$2dbc(a4),-(a7)
 jsr $31e(a5)
 adda.w #$c,a7
 move.w d0,-$2de4(a4)
 move.w -$2de4(a4),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $30c(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 jsr $462(a5)
 addq.l #2,a7
 move.w -$2dbc(a4),-(a7)
 jsr $27c(a5)
 addq.l #2,a7
 unlk a6
 rts
v992e link a6,#0
 move.w d7,-(a7)
 move.w #1,-$2dd8(a4)
 cmpi.w #1,8(a6)
 bne.s v9956
 move.l #$7d0091,-(a7)
 move.l #$ea0105,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 bra.s v9968
v9956 move.l #$7d0091,-(a7)
 move.l #$123013e,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
v9968 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 move.w d0,d7
 lsr.w #5,d0
 cmpi.w #3,d0
 bne.s v9994
 move.w d7,d0
 and.w #4,d0
 move.w d0,-(a7)
 jsr v98b8(pc)
 addq.l #2,a7
 bra.s v99ea
v9994 clr.w -(a7)
 move.l #$ffff0001,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $354(a5)
 adda.w #$a,a7
 move.w -$2dba(a4),d0
 cmpi.w #2,8(a6)
 bne.s v99be
 move.w #1,d1
 bra.s v99c2
v99be move.w #3,d1
v99c2 add.w d1,d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $462(a5)
 addq.l #2,a7
 move.l #$10001,-(a7)
 move.w #$ffff,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 jsr $354(a5)
 adda.w #$a,a7
v99ea move.w (a7)+,d7
 unlk a6
 rts
v99f0 link a6,#-$1e
 movem.l d4-d7/a2-a3,-(a7)
 move.w #1,-$2dd8(a4)
 lea -$4062(a4),a0
 movea.l a0,a3
 clr.w d4
 bra.s v9a3e
v9a08 move.w $34(a3),d0
 beq.s v9a38
 move.l a3,-(a7)
 jsr $48c(a5)
 addq.l #4,a7
 move.w d0,-$14(a6)
 move.w $110(a3),d0
 mulu #3,d0
 and.l #$ffff,d0
 divu -$14(a6),d0
 addq.w #1,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 jsr $480(a5)
 addq.l #4,a7
v9a38 adda.w #$320,a3
 addq.w #1,d4
v9a3e move.w d4,d0
 cmp.w -$2db4(a4),d0
 bcs.s v9a08
 move.w 8(a6),d4
 subq.w #3,d4
 move.w d4,d0
 asl.l #3,d0
 lea -$4840(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w 6(a2),-(a7)
 move.w 4(a2),-(a7)
 move.w 2(a2),-(a7)
 move.w (a2),-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 move.w -$2db8(a4),d0
 move.w d0,-4(a6)
 move.w d0,-(a7)
 move.w -$2db6(a4),d0
 move.w d0,-2(a6)
 move.w d0,-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 move.w d0,d7
 lsr.w #5,d0
 cmpi.w #3,d0
 seq d0
 and.w #1,d0
 move.w d0,-6(a6)
 move.w -6(a6),d0
 beq.s v9abc
 cmpi.w #2,d4
 bne.s v9abc
 move.w d7,d0
 and.w #4,d0
 move.w d0,-(a7)
 jsr v98b8(pc)
 addq.l #2,a7
 bra v9cf4
v9abc pea -4(a6)
 pea -2(a6)
 move.w d4,d0
 asl.l #1,d0
 lea -$4888(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d4,d0
 asl.l #1,d0
 lea -$4880(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w -$2dba(a4),-(a7)
 jsr $23a(a5)
 adda.w #$e,a7
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 move.w d0,d7
 lsr.w #5,d0
 move.w d0,d6
 cmpi.w #3,d6
 bne.s v9b3e
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$ffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w -2(a6),-$2db6(a4)
 move.w -4(a6),-$2db8(a4)
 move.w d7,d0
 and.w #4,d0
 move.w d0,-(a7)
 jsr v98b8(pc)
 addq.l #2,a7
 bra v9cf4
v9b3e clr.w d5
 tst.w d6
 bne.s v9b4a
 move.w #1,d5
 bra.s v9b9a
v9b4a cmpi.w #4,d6
 bne.s v9b7a
 move.w d7,d5
 and.w #7,d5
 tst.w d5
 sne d0
 tst.b d0
 beq.s v9b66
 cmpi.w #1,d5
 sne d0
 tst.b d0
v9b66 tst.b d0
 beq.s v9b72
 cmpi.w #5,d5
 sne d0
 tst.b d0
v9b72 and.w #1,d0
 move.w d0,d5
 bra.s v9b9a
v9b7a cmpi.w #6,d6
 bne.s v9b9a
 move.w d7,d5
 and.w #4,d5
 seq d5
 tst.b d5
 beq.s v9b96
 move.w d7,d5
 and.w #1,d5
 seq d5
 tst.b d5
v9b96 and.w #1,d5
v9b9a tst.w -$2db4(a4)
 bne.s v9ba4
 bra v9c6c
v9ba4 move.w d5,d0
 beq v9c3c
 move.l #$180002,-(a7)
 move.w #1,-(a7)
 move.w -$2dba(a4),d1
 addq.w #2,d1
 move.w d4,d0
 add.w d1,d0
 move.w d0,d4
 and.w #3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $438(a5)
 addq.l #6,a7
 move.w d0,-8(a6)
 move.w d0,-(a7)
 jsr $3ea(a5)
 addq.l #8,a7
 move.w d0,d5
 move.w d4,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $438(a5)
 addq.l #6,a7
 move.w d0,-$a(a6)
 move.w d0,-$1e(a6)
 move.w -8(a6),d0
 cmp.w -$1e(a6),d0
 beq.s v9c22
 move.l #$180002,-(a7)
 move.w #1,-(a7)
 move.w -$a(a6),-(a7)
 jsr $3ea(a5)
 addq.l #8,a7
 or.w d0,d5
v9c22 move.w d5,d0
 beq.s v9c3a
 clr.w -(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$12,-(a7)
 jsr $120(a5)
 addq.l #8,a7
v9c3a bra.s v9c6c
v9c3c move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 cmpi.w #$fffe,d0
 sne d0
 and.w #1,d0
 move.w d0,d5
 beq.s v9c6c
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $216(a5)
 addq.l #8,a7
v9c6c move.w d5,d0
 beq.s v9c7a
 jsr v95fc(pc)
 clr.w -$2dd8(a4)
 bra.s v9cf4
v9c7a move.w -6(a6),d0
 beq.s v9c9a
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 clr.w -(a7)
 move.l #$ffffffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 bra.s v9cb6
v9c9a move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$ffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
v9cb6 move.w #1,d7
 lea -$4062(a4),a0
 movea.l a0,a3
 clr.w d4
 bra.s v9ce4
v9cc4 move.w $34(a3),d0
 beq.s v9cde
 move.l a3,-(a7)
 jsr $408(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,d7
v9cde adda.w #$320,a3
 addq.w #1,d4
v9ce4 move.w d4,d0
 cmp.w -$2db4(a4),d0
 bcs.s v9cc4
 move.w d7,-$2dbe(a4)
 clr.w -$2dc0(a4)
v9cf4 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
v9cfc link a6,#0
 movem.l d5-d7,-(a7)
 move.w $a(a6),d7
 move.w $c(a6),d6
 move.w 8(a6),d0
 addq.w #1,d0
 move.w -$40e6(a4),d1
 cmp.w d1,d0
 bne.s v9d26
 move.w 8(a6),-(a7)
 jsr v9d7a(pc)
 addq.l #2,a7
 bra.s v9d72
v9d26 move.w #2,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$4728(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d5
 cmpi.w #$10,d5
 bcs.s v9d58
 cmpi.w #$13,d5
 bhi.s v9d58
 move.w d5,d0
 sub.w #$10,d0
 move.w d0,-(a7)
 jsr v9d7a(pc)
 addq.l #2,a7
 bra.s v9d72
v9d58 cmpi.w #$14,d5
 bcs.s v9d72
 cmpi.w #$1b,d5
 bhi.s v9d72
 move.w d5,d0
 sub.w #$14,d0
 move.w d0,-(a7)
 jsr $45c(a5)
 addq.l #2,a7
v9d72 movem.l (a7)+,d5-d7
 unlk a6
 rts
v9d7a link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 cmp.w -$40b8(a4),d0
 beq.s v9da4
 cmpi.w #$ffff,d7
 beq.s v9da8
 move.w d7,d0
 muls #$320,d0
 lea -$402e(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 bne.s v9da8
v9da4 bra v9e50
v9da8 cmpi.w #$ffff,-$40b8(a4)
 beq.s v9df0
 move.w -$40b8(a4),d0
 move.w d0,d6
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$280,(a0)
 move.w -$40c0(a4),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 move.w d6,d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w d1,d0
 move.w d0,(a0)
 move.w #$ffff,-$40b8(a4)
 move.w d6,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
v9df0 cmpi.w #$ffff,d7
 bne.s v9dfe
 move.w #$ffff,-$40b8(a4)
 bra.s v9e50
v9dfe move.w d7,d0
 move.w d0,-$40b8(a4)
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 move.w -$40c0(a4),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 move.w d7,d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d1,d0
 move.w d0,(a0)
 move.w d7,d0
 addq.w #1,d0
 cmp.w -$2da8(a4),d0
 beq.s v9e50
 ori.w #$680,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
v9e50 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
v9e58 link a6,#0
 movem.l d7/a3,-(a7)
 cmpi.w #$6c,8(a6)
 bne.s v9ebe
 move.w -$4f2a(a4),d0
 muls #$320,d0
 lea -$4040(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 tst.w d0
 bne.s v9e82
 bra v9f0a
v9e82 move.l #$3f0049,-(a7)
 move.l #$ea012f,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 cmpi.w #$88,-$396(a4)
 beq.s v9eb0
 pea -$2d9e(a4)
 jsr $378(a5)
 addq.l #4,a7
 tst.w d0
 bne.s v9eb0
 move.w #$88,-$fac(a4)
v9eb0 clr.w -(a7)
 jsr vc902(pc)
 addq.l #2,a7
 move.w d0,-$2dd8(a4)
 bra.s v9f0a
v9ebe move.w 8(a6),d7
 sub.w #$65,d7
 move.w d7,d0
 asl.l #3,d0
 lea -$4878(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w 6(a3),-(a7)
 move.w 4(a3),-(a7)
 move.w 2(a3),-(a7)
 move.w (a3),-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 jsr v9894(pc)
 cmpi.w #6,d7
 bcc.s v9f06
 move.w d7,-(a7)
 jsr vba6c(pc)
 addq.l #2,a7
 bra.s v9f0a
v9f06 jsr vbb36(pc)
v9f0a movem.l (a7)+,d7/a3
 unlk a6
 rts
v9f12 link a6,#0
 movem.l d6-d7,-(a7)
 move.w #$ffff,d6
 cmpi.w #$30,$a(a6)
 bhi va046
 move.w -$4f2a(a4),d0
 tst.w d0
 beq.s v9f32
 bra.s v9f6e
v9f32 cmpi.w #$118,8(a6)
 bcs.s v9f48
 cmpi.w #$123,8(a6)
 bhi.s v9f48
 move.w #1,d6
 bra.s v9f6a
v9f48 cmpi.w #$126,8(a6)
 bcs.s v9f5e
 cmpi.w #$131,8(a6)
 bhi.s v9f5e
 move.w #2,d6
 bra.s v9f6a
v9f5e cmpi.w #$134,8(a6)
 bcs.s v9f6a
 move.w #3,d6
v9f6a bra va02e
v9f6e cmp.w #1,d0
 beq.s v9f76
 bra.s v9fb0
v9f76 cmpi.w #$e9,8(a6)
 bcs.s v9f8a
 cmpi.w #$f4,8(a6)
 bhi.s v9f8a
 clr.w d6
 bra.s v9fac
v9f8a cmpi.w #$126,8(a6)
 bcs.s v9fa0
 cmpi.w #$131,8(a6)
 bhi.s v9fa0
 move.w #2,d6
 bra.s v9fac
v9fa0 cmpi.w #$134,8(a6)
 bcs.s v9fac
 move.w #3,d6
v9fac bra va02e
v9fb0 cmp.w #2,d0
 beq.s v9fb8
 bra.s v9ff0
v9fb8 cmpi.w #$e9,8(a6)
 bcs.s v9fcc
 cmpi.w #$f4,8(a6)
 bhi.s v9fcc
 clr.w d6
 bra.s v9fee
v9fcc cmpi.w #$f7,8(a6)
 bcs.s v9fe2
 cmpi.w #$102,8(a6)
 bhi.s v9fe2
 move.w #1,d6
 bra.s v9fee
v9fe2 cmpi.w #$134,8(a6)
 bcs.s v9fee
 move.w #3,d6
v9fee bra.s va02e
v9ff0 cmp.w #3,d0
 beq.s v9ff8
 bra.s va02e
v9ff8 cmpi.w #$f7,8(a6)
 bcs.s va00e
 cmpi.w #$102,8(a6)
 bhi.s va00e
 move.w #1,d6
 bra.s va02e
va00e cmpi.w #$105,8(a6)
 bcs.s va024
 cmpi.w #$110,8(a6)
 bhi.s va024
 move.w #2,d6
 bra.s va02e
va024 cmpi.w #$f4,8(a6)
 bhi.s va02e
 clr.w d6
va02e cmpi.w #$ffff,d6
 beq.s va044
 move.w d6,d0
 cmp.w -$2db4(a4),d0
 bcc.s va044
 move.w d6,-(a7)
 jsr vb802(pc)
 addq.l #2,a7
va044 bra.s va06c
va046 move.w #2,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 pea -$468c(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d7
 tst.w d7
 beq.s va06c
 move.w d7,-(a7)
 jsr v9e58(pc)
 addq.l #2,a7
va06c movem.l (a7)+,d6-d7
 unlk a6
 rts
va074 link a6,#0
 move.w d7,-(a7)
 move.w -$4f16(a4),d0
 beq va14a
 move.w #2,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 pea -$45e4(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d7
 tst.w d7
 beq va148
 cmpi.w #$70,d7
 bne.s va0c8
 move.l #$4d0053,-(a7)
 move.l #$11d013f,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 move.w #$ffff,-(a7)
 jsr vb458(pc)
 addq.l #2,a7
 bra va148
va0c8 move.w d7,d0
 sub.w #$70,d0
 cmp.w -$4f18(a4),d0
 bhi.s va148
 cmpi.w #$71,d7
 bne.s va0ee
 move.l #$560060,-(a7)
 move.l #$ea013e,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 bra.s va136
va0ee cmpi.w #$72,d7
 bne.s va124
 move.l #$62006c,-(a7)
 move.l #$ea013e,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
 cmpi.w #$88,-$396(a4)
 beq.s va122
 pea -$2d9e(a4)
 jsr $378(a5)
 addq.l #4,a7
 tst.w d0
 bne.s va122
 move.w #$88,-$fac(a4)
va122 bra.s va136
va124 move.l #$6e0078,-(a7)
 move.l #$ea013e,-(a7)
 jsr v985e(pc)
 addq.l #8,a7
va136 move.w d7,d0
 sub.w #$71,d0
 move.w d0,-(a7)
 jsr vb458(pc)
 addq.l #2,a7
 move.w d0,-$2dd8(a4)
va148 bra.s va184
va14a move.w -$4f1c(a4),d0
 beq.s va184
 move.w #2,-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 pea -$4620(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d7
 tst.w d7
 beq.s va184
 move.w d7,d0
 sub.w #$74,d0
 move.w d0,d7
 cmp.w -$2db4(a4),d0
 bcc.s va184
 move.w d7,-(a7)
 jsr vb2d4(pc)
 addq.l #2,a7
va184 move.w (a7)+,d7
 unlk a6
 rts
va18a link a6,#-4
 move.w -$2db6(a4),-2(a6)
 move.w -$2db8(a4),-4(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -2(a6),d0
 add.w d1,d0
 move.w d0,-2(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -4(a6),d0
 add.w d1,d0
 move.w d0,-4(a6)
 tst.w -2(a6)
 bcs.s va20c
 move.w -2(a6),d0
 move.w -$28bc(a4),d1
 cmp.w d1,d0
 bcc.s va20c
 tst.w -4(a6)
 bcs.s va20c
 move.w -4(a6),d0
 move.w -$28be(a4),d1
 cmp.w d1,d0
 bcc.s va20c
 move.w -$2dba(a4),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.w -2(a6),-(a7)
 jsr $3e4(a5)
 addq.l #6,a7
 move.w d0,-$2dd8(a4)
va20c unlk a6
 rts
va210 link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 cmpi.w #$ffff,-$40b8(a4)
 bne.s va228
 bra va2e8
va228 move.w -$2db6(a4),d6
 move.w -$2db8(a4),d5
 cmpi.w #2,d7
 bcs.s va2a2
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d6,d0
 add.w d1,d0
 move.w d0,d6
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d5,d0
 add.w d1,d0
 move.w d0,d5
 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$fffe,d0
 beq.s va2a2
 move.w #4,-(a7)
 move.w d4,-(a7)
 jsr $3de(a5)
 addq.l #4,a7
 tst.w d0
 bne.s va2a2
 move.w d7,d0
 add.w -$2dba(a4),d0
 and.w #3,d0
 move.w d0,-(a7)
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $2a6(a5)
 addq.l #6,a7
 tst.w d0
 beq.s va2a2
 bra.s va2e8
va2a2 move.w d7,d4
 asl.l #1,d4
 lea -$294e(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 move.w d4,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 beq.s va2e2
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w d4,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w #1,-$40c4(a4)
 move.w #1,-(a7)
 move.w d4,-(a7)
 jsr $47a(a5)
 addq.l #4,a7
va2e2 move.w #1,-$2dd8(a4)
va2e8 movem.l (a7)+,d4-d7
 unlk a6
 rts
va2f0 link a6,#-$10
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 cmpi.w #$ffff,-$40b8(a4)
 bne.s va308
 bra va40c
va308 move.w -$2db6(a4),d6
 move.w -$2db8(a4),d5
 cmpi.w #4,d7
 seq d0
 and.w #1,d0
 move.w d0,-6(a6)
 beq.s va324
 move.w #2,d7
va324 cmpi.w #1,d7
 bls.s va352
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d6,d0
 add.w d1,d0
 move.w d0,d6
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w d5,d0
 add.w d1,d0
 move.w d0,d5
va352 move.w -$2dba(a4),d0
 add.w d7,d0
 and.w #3,d0
 move.w d0,-4(a6)
 jsr $486(a5)
 move.w d0,d4
 move.w d5,-(a7)
 move.w d6,-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w d4,d0
 and.w #$3fff,d0
 move.w -4(a6),d1
 asl.w #6,d1
 asl.w #8,d1
 or.w d1,d0
 move.w d0,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 move.w -6(a6),d0
 beq.s va406
 move.w -$2926(a4),d0
 beq.s va406
 move.w d4,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 cmpi.w #$93,d0
 bne.s va406
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$10(a6)
 move.b #$d,-$c(a6)
 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 move.b d0,-$b(a6)
 move.w d6,d0
 move.b d0,-$a(a6)
 move.w d5,d0
 move.b d0,-9(a6)
 move.w -4(a6),d0
 move.b d0,-8(a6)
 move.b #2,-7(a6)
 pea -$10(a6)
 jsr $366(a5)
 addq.l #4,a7
va406 move.w #1,-$2dd8(a4)
va40c movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
va414 link a6,#0
 movem.l d6-d7,-(a7)
 cmpi.w #$2f,$a(a6)
 blt.s va42c
 cmpi.w #$66,$a(a6)
 ble.s va432
va42c move.w #0,d0
 bra.s va4aa
va432 cmpi.w #$6f,8(a6)
 bgt.s va46c
 cmpi.w #$11,-$2922(a4)
 bne.s va452
 cmpi.w #$40,8(a6)
 bge.s va450
 move.w #0,d0
 bra.s va4aa
va450 bra.s va460
va452 cmpi.w #$20,8(a6)
 bge.s va460
 move.w #0,d0
 bra.s va4aa
va460 clr.w -(a7)
 jsr $444(a5)
 addq.l #2,a7
 move.w d0,d6
 bra.s va49e
va46c cmpi.w #$11,-$2922(a4)
 bne.s va484
 cmpi.w #$a3,8(a6)
 ble.s va482
 move.w #0,d0
 bra.s va4aa
va482 bra.s va492
va484 cmpi.w #$bf,8(a6)
 ble.s va492
 move.w #0,d0
 bra.s va4aa
va492 move.w #1,-(a7)
 jsr $444(a5)
 addq.l #2,a7
 move.w d0,d6
va49e move.w d6,d0
 beq.s va4a8
 move.w #1,-$2dd8(a4)
va4a8 move.w d6,d0
va4aa movem.l (a7)+,d6-d7
 unlk a6
 rts
va4b2 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w d7,d0
 clr.w d1
 move.b 1(a3),d1
 cmp.w d1,d0
 sle d0
 tst.b d0
 beq.s va4e2
 move.w d7,d0
 clr.w d1
 move.b (a3),d1
 cmp.w d1,d0
 sge d0
 tst.b d0
va4e2 tst.b d0
 beq.s va4f4
 move.w d6,d0
 clr.w d1
 move.b 3(a3),d1
 cmp.w d1,d0
 sle d0
 tst.b d0
va4f4 tst.b d0
 beq.s va506
 move.w d6,d0
 clr.w d1
 move.b 2(a3),d1
 cmp.w d1,d0
 sge d0
 tst.b d0
va506 and.w #1,d0
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
va512 link a6,#-$a
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 cmpi.w #$11,-$2922(a4)
 bne va608
 cmpi.w #$ffff,-$40b8(a4)
 bne.s va538
 bra va7be
va538 move.w -$2db6(a4),-8(a6)
 move.w -$2db8(a4),-$a(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -$a(a6),d0
 add.w d1,d0
 move.w d0,-$a(a6)
 move.w -$40c2(a4),d0
 beq.s va5f6
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 jsr $22e(a5)
 addq.l #4,a7
 movea.l d0,a3
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$40,d0
 lsr.w #6,d0
 beq.s va5f4
 move.w d6,d0
 sub.w #$21,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 pea -$2930(a4)
 jsr va4b2(pc)
 addq.l #8,a7
 tst.w d0
 beq.s va5f4
 move.w #1,-$2dd8(a4)
 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #1,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.l -$2dc6(a4),d0
 addq.l #1,d0
 move.l d0,-(a7)
 move.w #2,-(a7)
 clr.w -(a7)
 move.w -$a(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w #$a,-(a7)
 jsr $390(a5)
 adda.w #$e,a7
 bra va7be
va5f4 bra.s va608
va5f6 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr va414(pc)
 addq.l #4,a7
 tst.w d0
 beq.s va608
 bra va7be
va608 move.w -$40c2(a4),d0
 beq.s va65e
 clr.w d5
 bra.s va654
va612 move.w d6,d0
 sub.w #$21,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 move.w d5,d0
 asl.l #2,d0
 lea -$2944(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr va4b2(pc)
 addq.l #8,a7
 tst.w d0
 beq.s va652
 cmpi.w #5,d5
 bne.s va646
 move.w -$2924(a4),d0
 bne.s va644
 jsr va18a(pc)
va644 bra.s va64e
va646 move.w d5,-(a7)
 jsr va210(pc)
 addq.l #2,a7
va64e bra va7be
va652 addq.w #1,d5
va654 cmpi.w #6,d5
 bcs.s va612
 bra va7be
va65e move.w -$40c0(a4),-2(a6)
 move.w -2(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 tst.w -$2922(a4)
 bne va77c
 clr.w d5
 bra.s va6a6
va67c move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d5,d0
 asl.l #2,d0
 lea -$4820(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr va4b2(pc)
 addq.l #8,a7
 tst.w d0
 beq.s va6a4
 move.w d5,-(a7)
 jsr va2f0(pc)
 addq.l #2,a7
 bra va7be
va6a4 addq.w #1,d5
va6a6 cmpi.w #2,d5
 bcs.s va67c
 move.w d6,d0
 sub.w #$21,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 pea -$2930(a4)
 jsr va4b2(pc)
 addq.l #8,a7
 tst.w d0
 beq va77a
 move.w -$2924(a4),d0
 beq.s va6da
 move.w #4,-(a7)
 jsr va2f0(pc)
 addq.l #2,a7
 bra va77a
va6da move.w -$2928(a4),d0
 beq va776
 move.w -2(a6),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,-4(a6)
 move.w -2(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.w d0,-6(a6)
 cmpi.w #8,-4(a6)
 bcs.s va728
 cmpi.w #9,-4(a6)
 bhi.s va728
 move.w #3,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a3)
 or.w d3,2(a3)
 bra.s va74e
va728 cmpi.w #$c3,-4(a6)
 bne.s va74c
 move.w #$f,d0
 move.l a3,d1
 movea.l d1,a0
 and.w #$7f,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$80ff,2(a0)
 or.w d3,2(a0)
 bra.s va74e
va74c bra.s va776
va74e jsr $4c2(a5)
 move.w -2(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 sub.w -6(a6),d1
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d1,d0
 move.w d0,(a0)
va776 jsr va18a(pc)
va77a bra.s va7be
va77c move.w d6,-(a7)
 move.w d7,-(a7)
 jsr va414(pc)
 addq.l #4,a7
 tst.w d0
 beq.s va78c
 bra.s va7be
va78c clr.w d5
 bra.s va7b8
va790 move.w d6,-(a7)
 move.w d7,-(a7)
 move.w d5,d0
 asl.l #2,d0
 lea -$4820(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr va4b2(pc)
 addq.l #8,a7
 tst.w d0
 beq.s va7b6
 move.w d5,-(a7)
 jsr va2f0(pc)
 addq.l #2,a7
 bra.s va7be
va7b6 addq.w #1,d5
va7b8 cmpi.w #4,d5
 bcs.s va790
va7be movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
va7c6 link a6,#0
 movem.l d4-d7,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 cmpi.w #$ffff,-$40b8(a4)
 seq d4
 and.w #1,d4
 move.w -$40e8(a4),d0
 cmp.w #4,d0
 beq.s va7ee
 bra.s va81e
va7ee move.w d4,d0
 beq.s va7f4
 bra.s va850
va7f4 move.w #2,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$4794(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d5
 tst.w d5
 beq.s va81c
 move.w d5,d0
 sub.w #$14,d0
 move.w d0,-(a7)
 jsr $45c(a5)
 addq.l #2,a7
va81c bra.s va850
va81e cmp.w #5,d0
 beq.s va826
 bra.s va850
va826 move.w -$40c2(a4),d0
 bne.s va82e
 bra.s va850
va82e move.w #2,-(a7)
 move.w d6,-(a7)
 move.w d7,-(a7)
 pea -$47c4(a4)
 jsr v9632(pc)
 adda.w #$a,a7
 move.w d0,d5
 tst.w d5
 beq.s va850
 move.w d5,-(a7)
 jsr $3f0(a5)
 addq.l #2,a7
va850 movem.l (a7)+,d4-d7
 unlk a6
 rts
va858 link a6,#0
 move.w #$770,-(a7)
 clr.w -(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 pea $224(a4)
 clr.w -(a7)
 move.l #$450004,-(a7)
 move.l #$70005d,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 unlk a6
 rts
va88e link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w #1,-$41da(a4)
 move.w -$41d8(a4),d0
 addq.w #1,d0
 move.w d0,d7
 cmpi.w #4,d0
 ble.s va8ac
 clr.w d7
va8ac move.w d7,d0
 cmp.w -$41d6(a4),d0
 bne.s va8c0
 clr.w -$41da(a4)
 jsr v9778(pc)
 bra vac5c
va8c0 move.w -$41d6(a4),d6
 muls #6,d6
 lea -$41d0(a4),a0
 adda.w d6,a0
 move.w (a0),d6
 cmpi.w #3,d6
 blt.s va908
 cmpi.w #6,d6
 bgt.s va908
 move.w -$2dbe(a4),d0
 bne.s va8fc
 move.w -$2dc0(a4),d0
 beq.s va908
 move.w -$2dc2(a4),d0
 move.w -$2dba(a4),d1
 add.w d6,d1
 subq.w #3,d1
 and.w #3,d1
 cmp.w d1,d0
 bne.s va908
va8fc clr.w -$41da(a4)
 jsr v9778(pc)
 bra vac5c
va908 move.w -$41d6(a4),d5
 muls #6,d5
 lea -$41d4(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w -$41d6(a4),d4
 muls #6,d4
 lea -$41d2(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 addq.w #1,-$41d6(a4)
 move.w -$41d6(a4),d0
 cmpi.w #4,d0
 ble.s va93a
 clr.w -$41d6(a4)
va93a clr.w -$41da(a4)
 jsr v9778(pc)
 cmpi.w #2,d6
 beq.s va94e
 cmpi.w #1,d6
 bne.s va95a
va94e move.w d6,-(a7)
 jsr v992e(pc)
 addq.l #2,a7
 bra vac5c
va95a cmpi.w #3,d6
 blt.s va972
 cmpi.w #6,d6
 bgt.s va972
 move.w d6,-(a7)
 jsr v99f0(pc)
 addq.l #2,a7
 bra vac5c
va972 cmpi.w #$c,d6
 blt.s va9a2
 cmpi.w #$f,d6
 bgt.s va9a2
 move.w d6,d0
 sub.w #$c,d0
 move.w d0,d7
 cmp.w -$2db4(a4),d0
 bcc.s va99e
 move.w -$2da8(a4),d0
 bne.s va99e
 move.w d4,-(a7)
 move.w d5,-(a7)
 move.w d7,-(a7)
 jsr v9cfc(pc)
 addq.l #6,a7
va99e bra vac5c
va9a2 cmpi.w #$7d,d6
 blt.s va9c0
 cmpi.w #$80,d6
 bgt.s va9c0
 move.w d6,d0
 sub.w #$7d,d0
 move.w d0,-(a7)
 jsr $10e(a5)
 addq.l #2,a7
 bra vac5c
va9c0 cmpi.w #$1c,d6
 blt.s va9e6
 cmpi.w #$42,d6
 bge.s va9e6
 cmpi.w #$ffff,-$40b8(a4)
 beq.s va9e2
 move.w d6,d0
 sub.w #$14,d0
 move.w d0,-(a7)
 jsr $45c(a5)
 addq.l #2,a7
va9e2 bra vac5c
va9e6 cmpi.w #7,d6
 blt.s vaa18
 cmpi.w #$b,d6
 bgt.s vaa18
 move.w d6,d0
 subq.w #7,d0
 move.w d0,d7
 cmpi.w #4,d0
 beq.s vaa06
 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcc.s vaa14
vaa06 move.w -$2da8(a4),d0
 bne.s vaa14
 move.w d7,-(a7)
 jsr $44a(a5)
 addq.l #2,a7
vaa14 bra vac5c
vaa18 cmpi.w #$8c,d6
 bne.s vaa3c
 pea $588(a5)
 jsr $58e(a5)
 addq.l #4,a7
 cmpi.w #$6628,d0
 beq.s vaa3c
 move.w #4,-(a7)
 jsr $44a(a5)
 addq.l #2,a7
 bra vac5c
vaa3c cmpi.w #$53,d6
 bne.s vaa58
 cmpi.w #$ffff,-$40b8(a4)
 beq.s vaa54
 move.w -$40b8(a4),-(a7)
 jsr $44a(a5)
 addq.l #2,a7
vaa54 bra vac5c
vaa58 cmpi.w #$64,d6
 bne.s vaa7a
 move.w -$2da8(a4),d0
 bne.s vaa76
 cmpi.w #$ffff,-$4f2a(a4)
 beq.s vaa76
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr v9f12(pc)
 addq.l #4,a7
vaa76 bra vac5c
vaa7a cmpi.w #$6f,d6
 bne.s vaa94
 move.w -$2da8(a4),d0
 bne.s vaa90
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr va074(pc)
 addq.l #4,a7
vaa90 bra vac5c
vaa94 cmpi.w #$46,d6
 bne.s vaaa2
 jsr $450(a5)
 bra vac5c
vaaa2 cmpi.w #$47,d6
 bne.s vaab0
 jsr $4b0(a5)
 bra vac5c
vaab0 cmpi.w #$50,d6
 bne.s vaac4
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr va512(pc)
 addq.l #4,a7
 bra vac5c
vaac4 cmpi.w #$51,d6
 bne.s vaad8
 move.w d4,-(a7)
 move.w d5,-(a7)
 jsr va7c6(pc)
 addq.l #4,a7
 bra vac5c
vaad8 move.w -$2dec(a4),d0
 bne.s vaae4
 move.w -$2df0(a4),d0
 beq.s vaae8
vaae4 bra vac5c
vaae8 cmpi.w #$91,d6
 bne.s vab40
 move.w -$2da8(a4),d0
 bne.s vab3c
 move.w -$40e6(a4),d0
 beq.s vab04
 move.w #4,-(a7)
 jsr $44a(a5)
 addq.l #2,a7
vab04 jsr $5a6(a5)
 move.w #1,-$2daa(a4)
 jsr va858(pc)
 move.w #2,-(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 clr.w -$2dd0(a4)
 lea -$4584(a4),a0
 move.l a0,-$41e8(a4)
 clr.l -$41ec(a4)
 lea -$4808(a4),a0
 move.l a0,-$41f0(a4)
 clr.l -$41f4(a4)
 jsr v95fc(pc)
vab3c bra vac5c
vab40 cmpi.w #$92,d6
 bne.s vab4e
 jsr $46e(a5)
 bra vac5c
vab4e cmpi.w #$8c,d6
 bne.s vab68
 tst.w -$2db4(a4)
 bls.s vab64
 move.w -$2da8(a4),d0
 bne.s vab64
 jsr $588(a5)
vab64 bra vac5c
vab68 cmpi.w #$93,d6
 bne.s vabe4
 clr.w -$2dac(a4)
 jsr $5a6(a5)
 move.w #$770,-(a7)
 clr.w -(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 pea $22c(a4)
 clr.w -(a7)
 move.l #$450004,-(a7)
 move.l #$700051,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 move.w #2,-(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 move.l -$41e8(a4),-$4a26(a4)
 move.l -$41ec(a4),-$4a2a(a4)
 move.l -$41f0(a4),-$4a1e(a4)
 move.l -$41f4(a4),-$4a22(a4)
 lea -$45a8(a4),a0
 move.l a0,-$41e8(a4)
 clr.l -$41ec(a4)
 lea -$4810(a4),a0
 move.l a0,-$41f0(a4)
 clr.l -$41f4(a4)
 jsr v95fc(pc)
 bra.s vac5c
vabe4 cmpi.w #$94,d6
 bne.s vac12
 move.w #1,-$2dac(a4)
 jsr $57c(a5)
 move.l -$4a26(a4),-$41e8(a4)
 move.l -$4a2a(a4),-$41ec(a4)
 move.l -$4a1e(a4),-$41f0(a4)
 move.l -$4a22(a4),-$41f4(a4)
 jsr v95fc(pc)
 bra.s vac5c
vac12 cmpi.w #$c8,d6
 bne.s vac20
 move.w #1,-$2da6(a4)
 bra.s vac5c
vac20 cmpi.w #$c9,d6
 bne.s vac2c
 clr.w -$2da6(a4)
 bra.s vac5c
vac2c cmpi.w #$ca,d6
 bne.s vac38
 jsr $5a0(a5)
 bra.s vac5c
vac38 cmpi.w #$d2,d6
 blt.s vac50
 cmpi.w #$d5,d6
 bgt.s vac50
 move.w d6,d0
 sub.w #$d1,d0
 move.w d0,-$2df4(a4)
 bra.s vac5c
vac50 cmpi.w #$d7,d6
 bne.s vac5c
 move.w #1,-$5838(a4)
vac5c movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
vac64 link a6,#-$84
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 lea -$84(a6),a0
 movea.l a0,a2
 move.b #$a,(a2)+
vac7a move.b (a3),d0
 ext.w d0
 cmp.w #$40,d0
 bne.s vacde
 addq.l #1,a3
 move.l a2,d0
 subq.l #1,d0
 movea.l d0,a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$a,d0
 beq.s vac9a
 move.b #$20,(a2)+
vac9a move.b (a3),d0
 ext.w d0
 cmp.w #$70,d0
 beq.s vaca6
 bra.s vacba
vaca6 move.w -$4f16(a4),d0
 muls #$320,d0
 lea -$4382(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-4(a6)
vacba clr.b (a2)
 move.l -4(a6),-(a7)
 pea -$84(a6)
 jsr $78(a5)
 addq.l #8,a7
 move.l -4(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 ext.l d0
 adda.l d0,a2
 move.b #$20,(a2)+
 bra.s vace0
vacde move.b (a3),(a2)+
vace0 move.b (a3)+,d0
 bne.s vac7a
 clr.b (a2)
 move.b -$83(a6),d0
 beq.s vacfa
 pea -$84(a6)
 move.w #4,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
vacfa movem.l (a7)+,a2-a3
 unlk a6
 rts
vad02 link a6,#0
 movem.l d7/a3,-(a7)
 move.w -$4f16(a4),d0
 muls #$320,d0
 lea -$42ae(a4),a0
 adda.w d0,a0
 move.w 2(a0),d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmp.w #5,d0
 beq.s vad3a
 bra.s vad4c
vad3a move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 bra.s vad84
vad4c cmp.w #6,d0
 beq.s vad54
 bra.s vad66
vad54 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$1e00,d0
 lsr.w #1,d0
 lsr.w #8,d0
 bra.s vad84
vad66 cmp.w #$a,d0
 beq.s vad6e
 bra.s vad82
vad6e move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 bra.s vad84
vad7c move.w #1,d0
 bra.s vad84
vad82 bra.s vad7c
vad84 movem.l (a7)+,d7/a3
 unlk a6
 rts
vad8c link a6,#0
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.b (a3),-$4f24(a4)
 move.b #1,-$4f20(a4)
 move.w #1,d6
 move.w #1,d7
 bra.s vae1e
vadac move.w d7,d0
 lea (a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 cmpi.w #$ff,d0
 bne.s vadc0
 bra.s vae1c
vadc0 move.w d7,d0
 lea 3(a3),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d4
 and.w #$80,d0
 beq.s vadde
 jsr vad02(pc)
 tst.w d0
 bne.s vadde
 bra.s vae1c
vadde and.w #$ff7f,d4
 move.w d5,d0
 lea -$4ea6(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 move.w -$4f16(a4),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 cmp.w d4,d0
 bcs.s vae1c
 move.w d5,d0
 move.w d6,d1
 lea -$4f24(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d4,d0
 move.w d6,d1
 lea -$4f20(a4),a0
 adda.w d1,a0
 move.b d0,(a0)
 addq.w #1,d6
vae1c addq.w #1,d7
vae1e cmpi.w #3,d7
 bcs.s vadac
 move.w d6,-$4f18(a4)
 move.w d6,d7
 bra.s vae3a
vae2c move.w d7,d0
 lea -$4f24(a4),a0
 adda.w d0,a0
 move.b #$ff,(a0)
 addq.w #1,d7
vae3a cmpi.w #3,d7
 bcs.s vae2c
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
vae48 link a6,#0
 movem.l d7/a3,-(a7)
 move.b 9(a6),d7
 clr.w d0
 move.b d7,d0
 cmp.w #$ff,d0
 bne.s vae66
 lea $238(a4),a0
 move.l a0,d0
 bra.s vae7e
vae66 lea -$4d9e(a4),a0
 movea.l a0,a3
 bra.s vae72
vae6e move.b (a3)+,d0
 bne.s vae6e
vae72 clr.w d0
 move.b d7,d0
 subq.b #1,d7
 tst.b d0
 bne.s vae6e
 move.l a3,d0
vae7e movem.l (a7)+,d7/a3
 unlk a6
 rts
vae86 link a6,#-$a
 movem.l d5-d7/a2-a3,-(a7)
 jsr $24(a5)
 clr.w -$5a00(a4)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$14(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 tst.w 8(a6)
 bge.s vaeec
 cmpi.w #$ffff,8(a6)
 bne.s vaec8
 move.w #$f2,d5
 lea $23a(a4),a0
 move.l a0,d0
 movea.l d0,a2
 bra.s vaed4
vaec8 move.w #$f8,d5
 lea $246(a4),a0
 move.l a0,d0
 movea.l d0,a2
vaed4 move.l a2,-(a7)
 clr.w -(a7)
 move.l #$640004,-(a7)
 move.w d5,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 bra vb002
vaeec cmpi.w #$28,8(a6)
 ble.s vaf10
 lea -$4eea(a4),a0
 move.l a0,-$a(a6)
 move.w #$e,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w #$30,d6
 bra vaf94
vaf10 cmpi.w #$f,8(a6)
 ble.s vaf2e
 move.w #2,d7
 move.w #$40,d5
 move.w #$20,d6
 lea -$4f02(a4),a0
 move.l a0,-$a(a6)
 bra.s vaf42
vaf2e move.w #3,d7
 move.w #$2a,d5
 move.w #$18,d6
 lea -$4f0a(a4),a0
 move.l a0,-$a(a6)
vaf42 move.w d7,-(a7)
 jsr $5b8(a5)
 addq.l #2,a7
 tst.w d0
 bne.s vaf8a
 move.w #$e,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 movea.l d0,a2
 pea -$9c(a4)
 move.w #$25,-(a7)
 move.w d5,-(a7)
 move.l #$60002d,-(a7)
 move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.l d0,-(a7)
 move.l a2,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.w d7,-(a7)
 jsr $60c(a5)
 addq.l #2,a7
 bra.s vaf94
vaf8a move.w d7,-(a7)
 jsr $5f4(a5)
 addq.l #2,a7
 movea.l d0,a3
vaf94 move.w #$ffff,-(a7)
 move.w d6,-(a7)
 move.l -$a(a6),-(a7)
 move.l a3,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.w #5,d7
 move.w #$112,d5
 clr.b -1(a6)
vafb4 move.w #$30,d0
 move.w 8(a6),d1
 ext.l d1
 divs #$a,d1
 swap d1
 add.w d1,d0
 subq.w #1,d7
 move.w d7,d1
 lea -6(a6),a0
 adda.w d1,a0
 move.b d0,(a0)
 subq.w #3,d5
 move.w 8(a6),d0
 ext.l d0
 divs #$a,d0
 move.w d0,8(a6)
 bne.s vafb4
 move.w d7,d0
 lea -6(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 clr.w -(a7)
 move.l #$640004,-(a7)
 move.w d5,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
vb002 jsr $a8(a5)
 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
vb00e link a6,#-$10
 movem.l d7/a2-a3,-(a7)
 move.w -$4f1c(a4),d0
 bne.s vb020
 bra vb16c
vb020 move.w 8(a6),d0
 mulu #$16,d0
 add.w #$e9,d0
 move.w d0,-8(a6)
 add.w #$13,d0
 move.w d0,-6(a6)
 move.w #$56,-4(a6)
 move.w #$78,-2(a6)
 clr.w -$5a00(a4)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w $34(a2),d0
 bne.s vb07a
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -8(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 bra vb16c
vb07a clr.w -(a7)
 move.l #$80,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 move.w $d6(a2),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 bne.s vb09c
 move.w #$c9,d7
 bra.s vb0ce
vb09c move.w d7,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20bb(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 beq.s vb0be
 move.w d7,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 move.w d0,d7
 bra.s vb0ce
vb0be move.l #$40010,-(a7)
 move.l a3,-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 bra.s vb0f4
vb0ce move.l a3,-(a7)
 move.w d7,-(a7)
 jsr $4e(a5)
 addq.l #6,a7
 pea -$4ee2(a4)
 move.l #$100010,-(a7)
 move.l #$100010,-(a7)
 move.l a3,-(a7)
 move.l a3,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
vb0f4 move.l #$400a0,-(a7)
 pea -8(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w -8(a6),d0
 addq.w #2,d0
 move.w d0,-$10(a6)
 move.w -6(a6),d0
 subq.w #2,d0
 move.w d0,-$e(a6)
 move.w #$5f,-$c(a6)
 move.w #$6e,-$a(a6)
 move.l #$8ffff,-(a7)
 pea -$10(a6)
 move.l a3,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.w $30(a2),d0
 and.w #8,d0
 bne.s vb154
 move.w -$2da8(a4),d0
 bne.s vb154
 move.w -$2daa(a4),d0
 beq.s vb160
vb154 clr.w -(a7)
 pea -8(a6)
 jsr $204(a5)
 addq.l #6,a7
vb160 move.l #$80,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
vb16c movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
vb174 link a6,#0
 movem.l d7/a3,-(a7)
 jsr $24(a5)
 clr.w -$5a00(a4)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$14(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w -$4f1c(a4),d0
 beq.s vb1bc
 clr.w d7
 bra.s vb1b0
vb1a4 move.w d7,d0
 addq.w #1,d7
 move.w d0,-(a7)
 jsr vb00e(pc)
 addq.l #2,a7
vb1b0 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s vb1a4
 bra vb28c
vb1bc move.w -$4f16(a4),d0
 beq vb28c
 lea -$4eea(a4),a0
 movea.l a0,a3
 move.b -$4f22(a4),d0
 and.w #$ff,d0
 cmp.w #$ff,d0
 bne.s vb1de
 lea -$4ef2(a4),a0
 movea.l a0,a3
vb1de move.b -$4f23(a4),d0
 and.w #$ff,d0
 cmp.w #$ff,d0
 bne.s vb1f2
 lea -$4efa(a4),a0
 movea.l a0,a3
vb1f2 move.l #$30ffff,-(a7)
 move.l a3,-(a7)
 move.w #$a,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.w #7,-(a7)
 move.w -$4f16(a4),d0
 muls #$320,d0
 lea -$4382(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w #4,-(a7)
 clr.w -(a7)
 move.l #$eb0053,-(a7)
 move.w #$a0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $16e(a5)
 adda.w #$14,a7
 clr.w d7
 bra.s vb286
vb244 move.w #$c,-(a7)
 move.w d7,d0
 lea -$4f24(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr vae48(pc)
 addq.l #2,a7
 move.l d0,-(a7)
 clr.w -(a7)
 move.w #4,-(a7)
 move.w #$5d,d0
 move.w d7,d1
 mulu #$c,d1
 add.w d1,d0
 move.w d0,-(a7)
 move.l #$a000f1,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $16e(a5)
 adda.w #$14,a7
 addq.w #1,d7
vb286 cmpi.w #3,d7
 bcs.s vb244
vb28c jsr $a8(a5)
 clr.w -$4f1a(a4)
 movem.l (a7)+,d7/a3
 unlk a6
 rts
vb29c link a6,#0
 move.w -$4f16(a4),d0
 beq.s vb2d0
 subq.w #1,-$4f16(a4)
 move.w -$4f16(a4),d0
 muls #$320,d0
 lea -$4032(a4),a0
 adda.w d0,a0
 ori.w #$8000,(a0)
 move.w -$4f16(a4),-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 clr.w -$4f16(a4)
 move.w #1,-$4f1a(a4)
vb2d0 unlk a6
 rts
vb2d4 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $30(a3),d0
 and.w #8,d0
 bne.s vb2fe
 move.w $34(a3),d0
 bne.s vb300
vb2fe bra.s vb36e
vb300 move.w $d6(a3),d0
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s vb312
 move.w #2,d7
 bra.s vb330
vb312 move.w d6,-(a7)
 jsr $306(a5)
 addq.l #2,a7
 muls #6,d0
 lea -$20bb(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 tst.w d0
 bne.s vb330
 bra.s vb36e
vb330 move.w d7,d0
 asl.l #3,d0
 lea -$4c72(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w 8(a6),d0
 addq.w #1,d0
 move.w d0,-$4f16(a4)
 move.b 6(a2),-$4f26(a4)
 move.l a2,-(a7)
 jsr vad8c(pc)
 addq.l #4,a7
 clr.w -$4f1c(a4)
 ori.w #$8000,$30(a3)
 move.w 8(a6),-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 jsr vb174(pc)
vb36e movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
vb376 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w -$2db4(a4),d0
 bne.s vb388
 bra vb450
vb388 move.w -$2daa(a4),d0
 bne.s vb394
 move.w -$2da8(a4),d0
 beq.s vb3ae
vb394 move.w -$4f16(a4),d0
 beq.s vb3a2
 jsr vb29c(pc)
 bra vb450
vb3a2 move.w -$2da8(a4),d0
 bne.s vb3ac
 bra vb450
vb3ac bra.s vb406
vb3ae lea -$4062(a4),a0
 movea.l a0,a3
 clr.w d7
vb3b6 move.w d7,d0
 cmp.w -$40b8(a4),d0
 beq.s vb3f4
 move.w d7,d0
 addq.w #1,d0
 cmp.w -$4f16(a4),d0
 beq.s vb3f4
 move.b $29(a3),d0
 beq.s vb3f4
 move.b $1c(a3),d0
 clr.w d1
 move.b $28(a3),d1
 and.w #$ff,d0
 cmp.w d1,d0
 beq.s vb3f4
 move.b $28(a3),$1c(a3)
 ori.w #$400,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
vb3f4 clr.b $29(a3)
 adda.w #$320,a3
 addq.w #1,d7
 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s vb3b6
vb406 move.w -$4f1a(a4),d0
 beq.s vb450
 move.w -$4f16(a4),d0
 bne.s vb434
 move.w -$4f28(a4),d0
 beq.s vb428
 move.w -$4f28(a4),-(a7)
 jsr vae86(pc)
 addq.l #2,a7
 clr.w -$4f28(a4)
 bra.s vb432
vb428 move.w #1,-$4f1c(a4)
 jsr vb174(pc)
vb432 bra.s vb450
vb434 clr.w -$4f1c(a4)
 ori.w #$8000,$30(a3)
 move.w -$4f16(a4),d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 jsr vb174(pc)
vb450 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vb458 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w -$4f16(a4),d0
 beq.s vb478
 lea -$4f24(a4),a0
 adda.w 8(a6),a0
 clr.w d0
 move.b (a0),d0
 cmp.w #$ff,d0
 bne.s vb47e
vb478 move.w #0,d0
 bra.s vb4dc
vb47e move.w -$4f16(a4),d0
 subq.w #1,d0
 move.w d0,d7
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #$ffff,8(a6)
 bne.s vb4a2
 move.w #$ffff,d5
 bra.s vb4d6
vb4a2 lea -$4f24(a4),a0
 adda.w 8(a6),a0
 clr.w d6
 move.b (a0),d6
 move.w d6,d0
 lea -$4e7a(a4),a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 add.w d0,$40(a3)
 ori.w #$100,$30(a3)
 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr vc076(pc)
 addq.l #4,a7
 move.w d0,d5
 move.w d6,d0
 move.b d0,$20(a3)
vb4d6 jsr vb29c(pc)
 move.w d5,d0
vb4dc movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vb4e4 link a6,#-$c
 movem.l d5-d7/a3,-(a7)
 move.w -$4f2a(a4),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 cmpi.w #2,8(a6)
 bne.s vb576
 move.w #$240,-(a7)
 pea -$516a(a4)
 pea -$55ea(a4)
 jsr 6(a5)
 adda.w #$a,a7
 move.w #1,d6
 move.w #6,d5
 clr.w d1
 move.b $21(a3),d1
 muls d1,d5
 move.w d5,-$c(a6)
 move.w #$60,d5
 add.w -$c(a6),d5
 clr.b -1(a6)
 clr.w d7
 bra.s vb56e
vb53e move.b d5,d0
 addq.b #1,d5
 move.b d0,-2(a6)
 pea -2(a6)
 clr.w -(a7)
 move.l #$80004,-(a7)
 move.w d6,d0
 add.w #$e,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #$30,-(a7)
 pea -$516a(a4)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #1,d7
vb56e cmpi.w #6,d7
 bcs.s vb53e
 bra.s vb5e2
vb576 cmpi.w #3,8(a6)
 bne.s vb5e2
 move.w #$240,-(a7)
 pea -$516a(a4)
 pea -$53aa(a4)
 jsr 6(a5)
 adda.w #$a,a7
 clr.b -1(a6)
 move.w #8,d6
 clr.w d7
 bra.s vb5dc
vb59e move.w d7,d0
 lea $22(a3),a0
 adda.w d0,a0
 move.b (a0),d0
 move.b d0,-2(a6)
 ext.w d0
 tst.w d0
 bne.s vb5b4
 bra.s vb5e2
vb5b4 pea -2(a6)
 clr.w -(a7)
 move.l #$80004,-(a7)
 move.w d6,d0
 add.w #9,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #$30,-(a7)
 pea -$516a(a4)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #1,d7
vb5dc cmpi.w #4,d7
 bcs.s vb59e
vb5e2 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vb5ea link a6,#-8
 move.l a3,-(a7)
 move.w 8(a6),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w -$5a00(a4)
 move.w -$402e(a4),-2(a6)
 move.w -$3d0e(a4),-4(a6)
 move.w -$39ee(a4),-6(a6)
 move.w -$36ce(a4),-8(a6)
 jsr $24(a5)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$4f12(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w 8(a6),d0
 tst.w d0
 beq.s vb644
 bra vb6d0
vb644 move.l #$2a0031,-(a7)
 move.l #$e90115,-(a7)
 jsr $102(a5)
 addq.l #8,a7
 move.l a3,-(a7)
 move.w #4,-(a7)
 clr.w -(a7)
 move.l #$eb0030,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 cmpi.w #1,-$2db4(a4)
 bls.s vb6cc
 move.w -4(a6),d0
 beq.s vb68c
 move.l #$2a0030,-(a7)
 move.l #$1180123,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb68c cmpi.w #2,-$2db4(a4)
 bls.s vb6cc
 move.w -6(a6),d0
 beq.s vb6ac
 move.l #$2a0030,-(a7)
 move.l #$1260131,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb6ac cmpi.w #3,-$2db4(a4)
 bls.s vb6cc
 move.w -8(a6),d0
 beq.s vb6cc
 move.l #$2a0030,-(a7)
 move.l #$134013f,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb6cc bra vb7f8
vb6d0 cmp.w #1,d0
 beq.s vb6d8
 bra.s vb71c
vb6d8 move.w -2(a6),d0
 beq.s vb6f0
 move.l #$2a0030,-(a7)
 move.l #$e900f4,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb6f0 move.l #$2a0031,-(a7)
 move.l #$f70123,-(a7)
 jsr $102(a5)
 addq.l #8,a7
 move.l a3,-(a7)
 move.w #4,-(a7)
 clr.w -(a7)
 move.l #$f90030,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 bra vb68c
vb71c cmp.w #2,d0
 beq.s vb724
 bra.s vb780
vb724 move.w -2(a6),d0
 beq.s vb73c
 move.l #$2a0030,-(a7)
 move.l #$e900f4,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb73c move.w -4(a6),d0
 beq.s vb754
 move.l #$2a0030,-(a7)
 move.l #$f70102,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb754 move.l #$2a0031,-(a7)
 move.l #$1050131,-(a7)
 jsr $102(a5)
 addq.l #8,a7
 move.l a3,-(a7)
 move.w #4,-(a7)
 clr.w -(a7)
 move.l #$1070030,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 bra vb6ac
vb780 cmp.w #3,d0
 beq.s vb788
 bra.s vb7f8
vb788 move.w -2(a6),d0
 beq.s vb7a0
 move.l #$2a0030,-(a7)
 move.l #$e900f4,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb7a0 move.w -4(a6),d0
 beq.s vb7b8
 move.l #$2a0030,-(a7)
 move.l #$f70102,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb7b8 move.w -6(a6),d0
 beq.s vb7d0
 move.l #$2a0030,-(a7)
 move.l #$1050110,-(a7)
 jsr $102(a5)
 addq.l #8,a7
vb7d0 move.l #$2a0031,-(a7)
 move.l #$113013f,-(a7)
 jsr $102(a5)
 addq.l #8,a7
 move.l a3,-(a7)
 move.w #4,-(a7)
 clr.w -(a7)
 move.l #$1150030,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
vb7f8 jsr $a8(a5)
 movea.l (a7)+,a3
 unlk a6
 rts
vb802 link a6,#0
 movem.l d4-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 cmp.w -$4f2a(a4),d0
 beq.s vb82c
 cmpi.w #$ffff,d7
 beq.s vb830
 move.w d7,d0
 muls #$320,d0
 lea -$402e(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 bne.s vb830
vb82c bra vb954
vb830 cmpi.w #$ffff,-$4f2a(a4)
 bne.s vb85e
 jsr $24(a5)
 move.l #$30ffff,-(a7)
 pea -$c(a4)
 move.w #9,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 jsr $a8(a5)
vb85e cmpi.w #$ffff,d7
 bne.s vb890
 move.w #$ffff,-$4f2a(a4)
 jsr $24(a5)
 clr.w -$5a00(a4)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$c(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 jsr $a8(a5)
 bra vb954
vb890 move.w d7,d0
 move.w d0,-$4f2a(a4)
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w #2,-(a7)
 jsr vb4e4(pc)
 addq.l #2,a7
 clr.w d5
 move.l -$2ece(a4),d4
 add.l #$1fb0,d4
 jsr $24(a5)
 move.w d7,-(a7)
 jsr vb5ea(pc)
 addq.l #2,a7
 move.w #1,d6
 bra.s vb8fa
vb8cc move.w #$30,-(a7)
 move.l d4,d0
 add.l #$a0,d0
 move.l d0,d4
 move.l d0,-(a7)
 move.w d5,d0
 add.w #$18,d0
 move.w d0,d5
 asl.l #1,d0
 lea -$516a(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 addq.w #1,d6
vb8fa cmpi.w #$c,d6
 bcs.s vb8cc
 move.w #3,-(a7)
 jsr vb4e4(pc)
 addq.l #2,a7
 clr.w d5
 move.l -$2ece(a4),d4
 add.l #$2730,d4
 move.w #1,d6
 bra.s vb94a
vb91c move.w #$30,-(a7)
 move.l d4,d0
 add.l #$a0,d0
 move.l d0,d4
 move.l d0,-(a7)
 move.w d5,d0
 add.w #$18,d0
 move.w d0,d5
 asl.l #1,d0
 lea -$516a(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 addq.w #1,d6
vb94a cmpi.w #$c,d6
 bcs.s vb91c
 jsr $a8(a5)
vb954 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
vb95c link a6,#0
 jsr $24(a5)
 move.l #$30ffff,-(a7)
 pea -$1c(a4)
 move.w #$d,-(a7)
 jsr $61e(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 jsr $a8(a5)
 unlk a6
 rts
vb98a link a6,#0
 clr.w -(a7)
 clr.w -(a7)
 pea -$582a(a4)
 move.w #$b,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 unlk a6
 rts
vb9a6 link a6,#-2
 movem.l d5-d7,-(a7)
 clr.b -1(a6)
 move.w #$60,d5
 move.w #6,d1
 mulu 8(a6),d1
 add.w d1,d5
 move.w #$e1,d6
 clr.w d7
 bra.s vb9f0
vb9c8 move.b d5,d0
 addq.b #1,d5
 move.b d0,-2(a6)
 pea -2(a6)
 clr.w -(a7)
 move.l #$3a0004,-(a7)
 move.w d6,d0
 add.w #$e,d0
 move.w d0,d6
 move.w d0,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 addq.w #1,d7
vb9f0 cmpi.w #6,d7
 bcs.s vb9c8
 movem.l (a7)+,d5-d7
 unlk a6
 rts
vb9fe link a6,#-2
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 lea $22(a3),a0
 move.l a0,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.w d0,d5
 move.w #$e8,d6
 clr.b -1(a6)
 clr.w d7
 bra.s vba5e
vba24 move.w d7,d0
 cmp.w d5,d0
 bcs.s vba32
 move.b #$20,-2(a6)
 bra.s vba3e
vba32 move.w d7,d0
 lea $22(a3),a0
 adda.w d0,a0
 move.b (a0),-2(a6)
vba3e pea -2(a6)
 clr.w -(a7)
 move.l #$460004,-(a7)
 move.w d6,d0
 add.w #9,d0
 move.w d0,d6
 move.w d0,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 addq.w #1,d7
vba5e cmpi.w #4,d7
 bcs.s vba24
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vba6c link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w -$4f2a(a4),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 clr.w d7
 move.b $21(a3),d7
 move.w d7,d6
 muls #6,d6
 lea -$4a42(a4),a0
 add.l a0,d6
 movea.l d6,a0
 adda.w 8(a6),a0
 clr.w d6
 move.b (a0),d6
 move.w d7,d0
 beq.s vbac4
 move.w d6,d0
 move.b $22(a3),d1
 ext.w d1
 sub.w #$60,d1
 move.w d1,d5
 lea -$4a48(a4),a0
 adda.w d1,a0
 clr.w d1
 move.b (a0),d1
 mulu d1,d0
 lsr.w #3,d0
 move.w d0,d6
vbac4 move.w d6,d0
 move.w $3c(a3),d1
 cmp.w d1,d0
 bhi.s vbb2e
 move.w d6,d0
 sub.w d0,$3c(a3)
 ori.w #$100,$30(a3)
 move.w #$60,d0
 move.w d7,d1
 mulu #6,d1
 add.w d1,d0
 add.w 8(a6),d0
 move.w d7,d1
 lea $22(a3),a0
 adda.w d1,a0
 move.b d0,(a0)
 move.w d7,d0
 lea $23(a3),a0
 adda.w d0,a0
 clr.b (a0)
 move.w d7,d0
 addq.w #1,d0
 and.w #3,d0
 move.w d0,d7
 move.b d0,$21(a3)
 jsr $24(a5)
 move.w d7,-(a7)
 jsr vb9a6(pc)
 addq.l #2,a7
 move.l a3,-(a7)
 jsr vb9fe(pc)
 addq.l #4,a7
 move.w -$4f2a(a4),-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 jsr $a8(a5)
vbb2e movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vbb36 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.w -$4f2a(a4),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 lea $22(a3),a0
 move.l a0,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 tst.w d0
 bne.s vbb62
 bra.s vbb96
vbb62 clr.w d0
 move.b $21(a3),d0
 addq.w #3,d0
 and.w #3,d0
 move.w d0,d7
 move.b d0,$21(a3)
 move.w d7,d0
 lea $22(a3),a0
 adda.w d0,a0
 clr.b (a0)
 jsr $24(a5)
 move.w d7,-(a7)
 jsr vb9a6(pc)
 addq.l #2,a7
 move.l a3,-(a7)
 jsr vb9fe(pc)
 addq.l #4,a7
 jsr $a8(a5)
vbb96 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
vbb9e link a6,#-$e
 movem.l d4-d7/a2-a3,-(a7)
 clr.w d4
 cmpi.w #$fffe,-$582c(a4)
 bne.s vbbb4
 bra vbcfc
vbbb4 move.w $a(a6),d0
 cmp.w #8,d0
 beq.s vbbc0
 bra.s vbbca
vbbc0 move.w #3,d7
 move.w #$c,d5
 bra.s vbc10
vbbca cmp.w #$25,d0
 beq.s vbbd2
 bra.s vbbdc
vbbd2 move.w #7,d7
 move.w #$23,d5
 bra.s vbc10
vbbdc cmp.w #$29,d0
 beq.s vbbe4
 bra.s vbbee
vbbe4 move.w #6,d7
 move.w #$1e,d5
 bra.s vbc10
vbbee cmp.w #4,d0
 beq.s vbbf6
 bra.s vbc00
vbbf6 move.w #6,d7
 move.w #$14,d5
 bra.s vbc10
vbc00 cmp.w #$16,d0
 beq.s vbc08
 bra.s vbc10
vbc08 move.w #$c,d7
 move.w #$2d,d5
vbc10 move.w #$e,-(a7)
 move.w 8(a6),-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 add.w d0,d7
 move.w -$582c(a4),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 clr.w d0
 move.b 4(a3),d0
 muls #$1a,d0
 lea -$25c0(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 jsr $90(a5)
 and.l #$ffff,d0
 divu d7,d0
 swap d0
 move.w d0,-$e(a6)
 move.w $10(a2),d0
 lsr.w #4,d0
 and.w #$f,d0
 move.w d0,d6
 cmp.w -$e(a6),d0
 bhi.s vbc6a
 cmpi.w #$f,d6
 bne.s vbc72
vbc6a move.w d5,d0
 lsr.w #1,d0
 move.w d0,d5
 bra.s vbcec
vbc72 clr.w d0
 move.b 5(a3),d0
 muls #$10,d0
 movea.l -$32d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-4(a6)
 move.w $e(a3),d0
 and.w #$f,d0
 cmpi.w #6,d0
 bne.s vbcb6
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 move.l -4(a6),-(a7)
 jsr $2d6(a5)
 addq.l #8,a7
 move.w $e(a6),-(a7)
 move.w $c(a6),-(a7)
 jsr $282(a5)
 addq.l #4,a7
vbcb6 move.w #5,d0
 and.w #$f,d0
 move.w d0,d3
 andi.w #$fff0,$e(a3)
 or.w d3,$e(a3)
 move.w #$10,d0
 sub.w d6,d0
 asl.w #2,d0
 clr.w d1
 move.b 6(a2),d1
 and.l #$ffff,d0
 divu d1,d0
 movea.l -4(a6),a0
 move.b d0,5(a0)
 move.w #1,d4
vbcec move.w d5,-(a7)
 move.w #$e,-(a7)
 move.w 8(a6),-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
vbcfc move.w d4,d0
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vbd06 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l $a(a6),a3
 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$10,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 cmpi.w #$fffe,-$582c(a4)
 bne.s vbd34
 bra vbe2e
vbd34 clr.w d0
 move.b $1d(a3),d0
 move.w d0,d7
 move.w d0,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 jsr $2b2(a5)
 adda.w #$a,a7
 move.w d0,d5
 beq vbe2e
 move.w d7,d0
 addq.w #4,d0
 clr.w d3
 move.b $1c(a3),d3
 sub.w d3,d0
 and.w #3,d0
 cmp.w #2,d0
 beq.s vbd74
 bra.s vbd7a
vbd74 move.w #3,d6
 bra.s vbd86
vbd7a cmp.w #3,d0
 beq.s vbd82
 bra.s vbda6
vbd82 move.w #1,d6
vbd86 move.w d7,d0
 add.w d6,d0
 and.w #3,d0
 move.w d0,-(a7)
 jsr $3fc(a5)
 addq.l #2,a7
 cmpi.w #$ffff,d0
 beq.s vbda6
 move.w #$ffff,-$4f28(a4)
 bra vbe2e
vbda6 cmpi.w #$18,$e(a6)
 bne.s vbdc0
 move.w -$582c(a4),-(a7)
 jsr $2fa(a5)
 addq.l #2,a7
 and.w #$40,d0
 bne.s vbdc0
 bra.s vbe2e
vbdc0 lea -$4e22(a4),a0
 adda.w $e(a6),a0
 clr.w d6
 move.b (a0),d6
 lea -$4df6(a4),a0
 adda.w $e(a6),a0
 clr.w d7
 move.b (a0),d7
 move.w $d6(a3),-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$28,d0
 beq.s vbdf0
 cmpi.w #$18,$e(a6)
 bne.s vbdf4
vbdf0 or.w #$8000,d6
vbdf4 move.w $14(a6),-(a7)
 move.w d7,-(a7)
 move.w d6,-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w d5,d0
 subq.w #1,d0
 move.w d0,-(a7)
 move.w -$582c(a4),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w 8(a6),-(a7)
 move.l a3,-(a7)
 jsr $3ba(a5)
 adda.w #$16,a7
 move.w d0,-$4f28(a4)
 move.w #1,d0
 bra.s vbe32
vbe2e move.w #0,d0
vbe32 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vbe3a link a6,#-$a
 movem.l d6-d7,-(a7)
 move.w $e(a6),d7
 move.w #1,d6
 move.w $10(a6),d0
 beq.s vbe88
 movea.l 8(a6),a0
 tst.w $3c(a0)
 bne.s vbe62
 move.w #0,d0
 bra vbf0c
vbe62 movea.l 8(a6),a0
 cmpi.w #4,$3c(a0)
 bge.s vbe80
 move.w d7,d0
 lsr.w #1,d0
 move.w d0,d7
 movea.l 8(a6),a0
 clr.w $3c(a0)
 clr.w d6
 bra.s vbe88
vbe80 movea.l 8(a6),a0
 subq.w #4,$3c(a0)
vbe88 move.w d7,d0
 lsr.w #5,d0
 move.w d0,-4(a6)
 move.w $c(a6),d0
 beq.s vbeb8
 move.b #$4d,-6(a6)
 cmpi.w #$32,-$33da(a4)
 ble.s vbeae
 move.w -4(a6),d0
 asr.w #2,d0
 move.w d0,-4(a6)
vbeae move.w -4(a6),d0
 add.w d0,-$33da(a4)
 bra.s vbed8
vbeb8 move.b #$4e,-6(a6)
 cmpi.w #$32,-$33dc(a4)
 ble.s vbed0
 move.w -4(a6),d0
 asr.w #2,d0
 move.w d0,-4(a6)
vbed0 move.w -4(a6),d0
 add.w d0,-$33dc(a4)
vbed8 clr.b -5(a6)
 move.l -$2dc6(a4),d0
 and.l #$ffff,d7
 add.l d7,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 jsr $384(a5)
 move.w d6,d0
vbf0c movem.l (a7)+,d6-d7
 unlk a6
 rts
vbf14 link a6,#-$a
 move.b #$46,-6(a6)
 move.w 8(a6),-4(a6)
 move.l -$2dc6(a4),d0
 move.w $a(a6),d3
 and.l #$ffff,d3
 add.l d3,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$a(a6)
 clr.b -5(a6)
 pea -$a(a6)
 jsr $366(a5)
 addq.l #4,a7
 jsr $4ce(a5)
 unlk a6
 rts
vbf5e link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a0
 move.w $d6(a0),d0
 move.w d0,d7
 move.w d0,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w d7,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmp.w #5,d0
 beq.s vbf8c
 bra.s vbfc6
vbf8c move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 beq.s vbfc4
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 subq.w #1,d0
 and.w #$f,d0
 move.w d0,d3
 asl.w #2,d3
 asl.w #8,d3
 andi.w #$c3ff,2(a0)
 or.w d3,2(a0)
vbfc4 bra.s vc040
vbfc6 cmp.w #6,d0
 beq.s vbfce
 bra.s vc008
vbfce move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$1e00,d0
 lsr.w #1,d0
 lsr.w #8,d0
 beq.s vc006
 move.l a3,d0
 movea.l d0,a0
 move.w 2(a0),d0
 and.w #$1e00,d0
 lsr.w #1,d0
 lsr.w #8,d0
 subq.w #1,d0
 and.w #$f,d0
 move.w d0,d3
 asl.w #1,d3
 asl.w #8,d3
 andi.w #$e1ff,2(a0)
 or.w d3,2(a0)
vc006 bra.s vc040
vc008 cmp.w #$a,d0
 beq.s vc010
 bra.s vc040
vc010 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 beq.s vc040
 move.w 2(a3),d0
 and.w #$c000,d0
 lsr.w #6,d0
 lsr.w #8,d0
 subq.w #1,d0
 and.w #3,d0
 move.w d0,d3
 asl.w #6,d3
 asl.w #8,d3
 andi.w #$3fff,2(a3)
 or.w d3,2(a3)
vc040 jsr $4c2(a5)
 movem.l (a7)+,d7/a3
 unlk a6
 rts
vc04c link a6,#0
 move.l a3,-(a7)
 movea.l 8(a6),a3
 clr.w d0
 move.b $1c(a3),d0
 cmp.w -$2dba(a4),d0
 beq.s vc070
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 ori.w #$400,$30(a3)
vc070 movea.l (a7)+,a3
 unlk a6
 rts
vc076 link a6,#-$2a
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s vc092
 move.w #0,d0
 bra vc8fa
vc092 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $d6(a3),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w $34(a3),d0
 bne.s vc0bc
 move.w #0,d0
 bra vc8fa
vc0bc move.w -$2db6(a4),-6(a6)
 move.w -$2db8(a4),-8(a6)
 clr.w d1
 move.b $1c(a3),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -6(a6),d0
 add.w d1,d0
 move.w d0,-6(a6)
 clr.w d1
 move.b $1c(a3),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-$582c(a4)
 lea -$4dca(a4),a0
 adda.w $a(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-2(a6)
 lea -$4ea6(a4),a0
 adda.w $a(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$c(a6)
 jsr $84(a5)
 move.l d0,d1
 lea -$4e4e(a4),a0
 adda.w $a(a6),a0
 clr.w d0
 move.b (a0),d0
 add.w d1,d0
 move.w d0,-$a(a6)
 lea -$4ed2(a4),a0
 adda.w $a(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-$e(a6)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 move.w d0,d6
 move.w #1,d5
 cmpi.w #$10,-$c(a6)
 blt.s vc17e
 cmpi.w #$13,-$c(a6)
 ble.s vc186
vc17e cmpi.w #3,-$c(a6)
 bne.s vc1a8
vc186 move.w -$c(a6),-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w #6,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.l d0,d1
 move.w #7,d0
 sub.w d1,d0
 move.w d0,d4
vc1a8 move.w $a(a6),d0
 cmp.w #$17,d0
 beq.s vc1b4
 bra.s vc1c0
vc1b4 move.w #$b4,-4(a6)
 move.w #$ff82,d5
 bra.s vc1f6
vc1c0 cmp.w #$15,d0
 beq.s vc1c8
 bra.s vc1d4
vc1c8 move.w #$96,-4(a6)
 move.w #$ff83,d5
 bra.s vc1f6
vc1d4 cmp.w #$14,d0
 beq.s vc1dc
 bra.s vc1e4
vc1dc move.w #$96,-4(a6)
 bra.s vc1f2
vc1e4 cmp.w #$28,d0
 beq.s vc1ec
 bra.s vc250
vc1ec move.w #$fa,-4(a6)
vc1f2 move.w #$ff80,d5
vc1f6 move.l a3,-(a7)
 jsr vc04c(pc)
 addq.l #4,a7
 move.w $3c(a3),d0
 cmp.w d4,d0
 bge.s vc226
 move.w $3c(a3),d0
 muls -4(a6),d0
 ext.l d0
 divs d4,d0
 move.w d0,-(a7)
 move.w #2,-(a7)
 jsr $d2(a5)
 addq.l #4,a7
 move.w d0,-4(a6)
 move.w $3c(a3),d4
vc226 move.w d4,-(a7)
 move.w -4(a6),-(a7)
 move.w d5,-(a7)
 move.w d7,-(a7)
 jsr $43e(a5)
 addq.l #8,a7
 move.w d0,d5
 bne.s vc244
 move.w -$e(a6),d0
 asr.w #1,d0
 move.w d0,-$e(a6)
vc244 move.l a3,-(a7)
 jsr vbf5e(pc)
 addq.l #4,a7
 bra vc8b6
vc250 cmp.w #$1e,d0
 beq.s vc276
 cmp.w #$12,d0
 beq.s vc276
 cmp.w #$13,d0
 beq.s vc276
 cmp.w #7,d0
 beq.s vc276
 cmp.w #$d,d0
 beq.s vc276
 cmp.w #2,d0
 beq.s vc276
 bra.s vc2e8
vc276 move.w d6,d0
 lsr.w #5,d0
 cmpi.w #4,d0
 bne.s vc2e6
 move.w d6,d0
 and.w #7,d0
 cmpi.w #4,d0
 bne.s vc2e6
 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$10,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w #6,-2(a6)
 move.w #2,-(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $414(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $3d2(a5)
 adda.w #$a,a7
 move.w #2,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #4,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 bra vc8b6
vc2e6 bra.s vc32c
vc2e8 cmp.w #$18,d0
 beq.s vc32c
 cmp.w #$10,d0
 beq.s vc32c
 cmp.w #$11,d0
 beq.s vc32c
 cmp.w #$e,d0
 beq.s vc32c
 cmp.w #9,d0
 beq.s vc32c
 cmp.w #$1f,d0
 beq.s vc32c
 cmp.w #$f,d0
 beq.s vc32c
 cmp.w #$19,d0
 beq.s vc32c
 cmp.w #$1c,d0
 beq.s vc32c
 cmp.w #$1d,d0
 beq.s vc32c
 cmp.w #6,d0
 beq.s vc32c
 bra.s vc364
vc32c move.w -$c(a6),-(a7)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w $a(a6),-(a7)
 move.l a3,-(a7)
 move.w d7,-(a7)
 jsr vbd06(pc)
 adda.w #$e,a7
 move.w d0,d5
 bne.s vc360
 move.w -$e(a6),d0
 asr.w #1,d0
 move.w d0,-$e(a6)
 move.w -2(a6),d0
 lsr.w #1,d0
 move.w d0,-2(a6)
vc360 bra vc8b6
vc364 cmp.w #$16,d0
 beq.s vc36c
 bra.s vc376
vc36c move.l a3,-(a7)
 jsr vbf5e(pc)
 addq.l #4,a7
 bra.s vc390
vc376 cmp.w #8,d0
 beq.s vc390
 cmp.w #$25,d0
 beq.s vc390
 cmp.w #$29,d0
 beq.s vc390
 cmp.w #4,d0
 beq.s vc390
 bra.s vc3aa
vc390 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w d7,-(a7)
 jsr vbb9e(pc)
 addq.l #8,a7
 move.w d0,d5
 bra vc8b6
vc3aa cmp.w #$20,d0
 beq.s vc3b4
 bra vc4c8
vc3b4 move.w $d4(a3),d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #5,d0
 beq.s vc3c8
 bra.s vc436
vc3c8 move.w 2(a2),d0
 and.w #$7f,d0
 muls #6,d0
 lea -$21d2(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-$12(a6)
 move.w $d4(a3),-(a7)
 jsr $294(a5)
 addq.l #2,a7
 move.l d0,-$16(a6)
 movea.l -$12(a6),a0
 clr.w d4
 move.b 1(a0),d4
 movea.l -$16(a6),a0
 clr.w d0
 move.b 1(a0),d0
 move.w d0,-4(a6)
 cmpi.w #$10,d4
 blt.s vc422
 cmpi.w #$1f,d4
 bgt.s vc422
 cmpi.w #$a,-4(a6)
 beq.s vc41c
 bra.s vc436
vc41c sub.w #$10,d4
 bra.s vc44a
vc422 cmpi.w #$20,d4
 blt.s vc44a
 cmpi.w #$2f,d4
 bgt.s vc44a
 cmpi.w #$b,-4(a6)
 beq.s vc446
vc436 move.w #$fffe,-$4f28(a4)
 clr.w -$e(a6)
 clr.w d5
 bra vc8b6
vc446 sub.w #$20,d4
vc44a move.l a3,-(a7)
 jsr vc04c(pc)
 addq.l #4,a7
 clr.w -(a7)
 move.w d7,-(a7)
 jsr $4f2(a5)
 addq.l #4,a7
 move.w d0,-4(a6)
 move.w #1,-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$10,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w d4,-(a7)
 move.w #$b,-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.w d0,-$2a(a6)
 movea.l -$12(a6),a0
 move.w 4(a0),d0
 and.w #$ff,d0
 add.w -$2a(a6),d0
 asl.w #1,d0
 move.w d0,-(a7)
 movea.l -$12(a6),a0
 move.b 3(a0),d0
 movea.l -$16(a6),a0
 and.w #$ff,d0
 clr.w d3
 move.b 3(a0),d3
 add.w d3,d0
 move.w d0,-(a7)
 move.w -4(a6),-(a7)
 move.l a3,-(a7)
 jsr $42c(a5)
 adda.w #$c,a7
 bra vc8b6
vc4c8 cmp.w #5,d0
 beq.s vc4d0
 bra.s vc4f2
vc4d0 jsr $84(a5)
 tst.w d0
 beq.s vc4e4
 pea $250(a4)
 jsr vac64(pc)
 addq.l #4,a7
 bra.s vc4ee
vc4e4 pea $264(a4)
 jsr vac64(pc)
 addq.l #4,a7
vc4ee bra vc8b6
vc4f2 cmp.w #$21,d0
 beq.s vc500
 cmp.w #$22,d0
 beq.s vc500
 bra.s vc544
vc500 move.l #$1180001,-(a7)
 cmpi.w #$21,$a(a6)
 seq d0
 and.w #1,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr vbe3a(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vc538
 move.w -$e(a6),d0
 asr.w #2,d0
 move.w d0,-$e(a6)
 move.w -2(a6),d0
 lsr.w #1,d0
 move.w d0,-2(a6)
 bra.s vc540
vc538 move.l a3,-(a7)
 jsr vbf5e(pc)
 addq.l #4,a7
vc540 bra vc8b6
vc544 cmp.w #$1b,d0
 beq.s vc54c
 bra.s vc5a2
vc54c jsr $90(a5)
 and.w #$7f,d0
 add.w #$64,d0
 move.w d0,-4(a6)
 jsr $90(a5)
 and.l #$ffff,d0
 divu #6,d0
 swap d0
 tst.w d0
 beq.s vc572
 bra.s vc57a
vc572 move.w #$ff86,d5
 bra vc1f6
vc57a cmp.w #1,d0
 beq.s vc582
 bra.s vc58a
vc582 move.w #$ff87,d5
 bra vc1f6
vc58a cmp.w #2,d0
 beq.s vc592
 bra.s vc59e
vc592 move.w #$ff83,d5
 bra vc1f6
vc59a bra vc1f2
vc59e bra.s vc59a
 bra.s vc5aa
vc5a2 cmp.w #$23,d0
 beq.s vc5aa
 bra.s vc5c4
vc5aa move.l a3,-(a7)
 jsr vc04c(pc)
 addq.l #4,a7
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $348(a5)
 addq.l #4,a7
 bra vc8b6
vc5c4 cmp.w #$2b,d0
 beq.s vc5cc
 bra.s vc622
vc5cc move.l a3,-(a7)
 jsr vc04c(pc)
 addq.l #4,a7
 move.w -$2db6(a4),-6(a6)
 move.w -$2db8(a4),-8(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -6(a6),d0
 add.w d1,d0
 move.w d0,-6(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $3c6(a5)
 addq.l #4,a7
 bra vc8b6
vc622 cmp.w #$24,d0
 beq.s vc62c
 bra vc6ac
vc62c move.w $36(a3),d0
 sub.w $34(a3),d0
 move.w d0,-4(a6)
 tst.w d0
 ble.s vc6a8
 move.w $3c(a3),d0
 beq.s vc6a8
 move.w #$d,-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w #$a,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d4
 move.w #2,-$e(a6)
vc662 move.w d4,-(a7)
 move.w -4(a6),-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d6
 move.w d6,d0
 add.w d0,$34(a3)
 addq.w #2,-$e(a6)
 move.w $3c(a3),d0
 subq.w #2,d0
 move.w d0,$3c(a3)
 tst.w d0
 ble.s vc694
 move.w -4(a6),d0
 sub.w d6,d0
 move.w d0,-4(a6)
 bne.s vc662
vc694 tst.w $3c(a3)
 bge.s vc69e
 clr.w $3c(a3)
vc69e ori.w #$100,$30(a3)
 move.w #1,d5
vc6a8 bra vc8b6
vc6ac cmp.w #$27,d0
 beq.s vc6b4
 bra.s vc716
vc6b4 jsr $90(a5)
 move.l d0,-(a7)
 move.w -$c(a6),-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 addq.w #8,d1
 and.l #$ffff,d0
 divu d1,d0
 swap d0
 addq.w #5,d0
 move.w d0,d4
 clr.b -$1b(a6)
 move.b #$49,-$1c(a6)
 move.l -$2dc6(a4),d0
 and.l #$ffff,d4
 add.l d4,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$20(a6)
 pea -$20(a6)
 jsr $366(a5)
 addq.l #4,a7
 addq.b #1,-$33e0(a4)
 bra vc840
vc716 cmp.w #$a,d0
 beq.s vc720
 bra vc7ba
vc720 move.w -$2db6(a4),-6(a6)
 move.w -$2db8(a4),-8(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -6(a6),d0
 add.w d1,d0
 move.w d0,-6(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -8(a6),d0
 add.w d1,d0
 move.w d0,-8(a6)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $252(a5)
 addq.l #4,a7
 and.w #$ff,d0
 asr.w #5,d0
 cmpi.w #2,d0
 bne.s vc7b2
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 cmpi.w #$fffe,d0
 bne.s vc7b2
 move.w #1,-$335a(a4)
 move.w -8(a6),-(a7)
 move.w -6(a6),-(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #$ffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
 clr.w -$335a(a4)
 bra.s vc7b6
vc7b2 clr.w -2(a6)
vc7b6 bra vc8b6
vc7ba cmp.w #$b,d0
 beq.s vc7c2
 bra.s vc824
vc7c2 move.w 2(a2),d0
 and.w #$7f,d0
 cmpi.w #$2a,d0
 bne.s vc7d6
 move.w #$1e,d4
 bra.s vc7e8
vc7d6 move.w 2(a2),d0
 and.w #$7f,d0
 cmpi.w #$2b,d0
 bne.s vc7fa
 move.w #$7d,d4
vc7e8 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $4f2(a5)
 addq.l #4,a7
 move.w #$ffff,(a2)
 bra.s vc806
vc7fa move.w #$46,d4
 move.l a3,-(a7)
 jsr vbf5e(pc)
 addq.l #4,a7
vc806 move.b -$33d7(a4),d0
 and.w #$ff,d0
 add.w d4,d0
 move.w d0,-(a7)
 move.w #$c8,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.b d0,-$33d7(a4)
 bra vc8b6
vc824 cmp.w #$26,d0
 beq.s vc82c
 bra.s vc84a
vc82c move.w -$42e(a4),d0
 add.w d0,-$33e2(a4)
 move.l #$fffe09c4,-(a7)
 jsr vbf14(pc)
 addq.l #4,a7
vc840 move.l a3,-(a7)
 jsr vbf5e(pc)
 addq.l #4,a7
 bra.s vc8b6
vc84a cmp.w #$2a,d0
 beq.s vc852
 bra.s vc8b6
vc852 move.l a3,-(a7)
 jsr vc04c(pc)
 addq.l #4,a7
 move.b $1d(a3),d0
 move.w -$2dba(a4),d1
 addq.w #1,d1
 and.w #3,d1
 and.w #$ff,d0
 cmp.w d1,d0
 seq d0
 tst.b d0
 bne.s vc88c
 move.b $1d(a3),d0
 move.w -$2dba(a4),d1
 addq.w #2,d1
 and.w #3,d1
 and.w #$ff,d0
 cmp.w d1,d0
 seq d0
 tst.b d0
vc88c and.w #1,d0
 move.w d0,-(a7)
 move.w #1,-(a7)
 move.w d7,-(a7)
 jsr $426(a5)
 addq.l #6,a7
 move.w d0,d5
 beq.s vc8b6
 move.w $2c(a3),d0
 muls #$a,d0
 movea.l -$32c2(a4),a0
 adda.w d0,a0
 move.b #2,6(a0)
vc8b6 move.w -2(a6),d0
 beq.s vc8c8
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr $432(a5)
 addq.l #4,a7
vc8c8 move.w -$a(a6),d0
 beq.s vc8da
 move.w -$a(a6),-(a7)
 move.w d7,-(a7)
 jsr $480(a5)
 addq.l #4,a7
vc8da move.w -$e(a6),d0
 beq.s vc8f0
 move.w -$e(a6),-(a7)
 move.w -$c(a6),-(a7)
 move.w d7,-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
vc8f0 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 move.w d5,d0
vc8fa movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vc902 link a6,#0
 movem.l d7/a3,-(a7)
 move.w -$4f2a(a4),d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 jsr $24(a5)
 jsr v9894(pc)
 move.w -$4f2a(a4),-(a7)
 jsr vcae8(pc)
 addq.l #2,a7
 move.w d0,d7
 cmpi.w #3,d0
 beq.s vc95a
 clr.b $22(a3)
 clr.w d0
 move.b #0,d0
 move.b d0,$21(a3)
 and.w #$ff,d0
 move.w d0,-(a7)
 jsr vb9a6(pc)
 addq.l #2,a7
 move.l a3,-(a7)
 jsr vb9fe(pc)
 addq.l #4,a7
 bra.s vc95c
vc95a clr.w d7
vc95c jsr $a8(a5)
 move.w d7,d0
 movem.l (a7)+,d7/a3
 unlk a6
 rts
vc96a link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 move.l a3,d0
 addq.l #1,d0
 movea.l d0,a0
 move.b (a0),d0
 beq.s vc9da
 move.w #$18,d6
 clr.l d7
vc986 clr.w d0
 move.b (a3)+,d0
 ext.l d0
 asl.l d6,d0
 or.l d0,d7
 move.b (a3),d0
 beq.s vc99e
 move.w d6,d0
 subq.w #8,d0
 move.w d0,d6
 tst.w d0
 bge.s vc986
vc99e lea -$4b10(a4),a0
 movea.l a0,a2
 move.w #$19,d6
 bra.s vc9d2
vc9aa move.l (a2),d0
 and.l #$ff000000,d0
 beq.s vc9c0
 move.l d7,d0
 cmp.l (a2),d0
 bne.s vc9be
 move.l a2,d0
 bra.s vc9e0
vc9be bra.s vc9d0
vc9c0 move.l d7,d0
 and.l #$ffffff,d0
 cmp.l (a2),d0
 bne.s vc9d0
 move.l a2,d0
 bra.s vc9e0
vc9d0 addq.l #8,a2
vc9d2 move.w d6,d0
 subq.w #1,d6
 tst.w d0
 bne.s vc9aa
vc9da move.l #0,d0
vc9e0 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
vc9e8 link a6,#0
 move.l a3,-(a7)
 cmpi.w #3,$e(a6)
 bls.s vca0a
 move.w $e(a6),d0
 subq.w #4,d0
 and.l #$ffff,d0
 divu #4,d0
 move.w d0,$e(a6)
vca0a jsr $ba(a5)
 movea.l 8(a6),a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w #4,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 move.w $c(a6),d0
 tst.w d0
 beq.s vca2a
 bra.s vca5e
vca2a lea $278(a4),a0
 movea.l a0,a3
 pea $298(a4)
 move.w #4,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 move.w $e(a6),d0
 asl.l #2,d0
 lea -$40d4(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.w #4,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 lea $2b8(a4),a0
 movea.l a0,a3
 bra.s vca7c
vca5e cmp.w #1,d0
 beq.s vca66
 bra.s vca6e
vca66 lea $2c0(a4),a0
 movea.l a0,a3
 bra.s vca7c
vca6e cmp.w #$a,d0
 beq.s vca76
 bra.s vca7c
vca76 lea $2de(a4),a0
 movea.l a0,a3
vca7c move.l a3,-(a7)
 move.w #4,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 movea.l (a7)+,a3
 unlk a6
 rts
vca8e link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.w #2,d6
 bra.s vcad2
vcaa4 move.w d6,d0
 asl.l #1,d0
 lea $d4(a3),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 beq.s vcad2
 move.w d7,-(a7)
 jsr $14a(a5)
 addq.l #2,a7
 cmpi.w #$c3,d0
 bne.s vcad2
 move.w d7,(a2)
 move.w d7,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 bra.s vcae0
vcad2 subq.w #1,d6
 move.w d6,d0
 tst.w d0
 bge.s vcaa4
 move.l #0,d0
vcae0 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
vcae8 link a6,#-$18
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs.s vcb04
 move.w #0,d0
 bra vcfa6
vcb04 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a3
 move.w $34(a3),d0
 bne.s vcb22
 move.w #0,d0
 bra vcfa6
vcb22 lea $22(a3),a0
 move.l a0,-(a7)
 jsr vc96a(pc)
 addq.l #4,a7
 movea.l d0,a2
 tst.l d0
 bne.s vcb4a
 clr.w -(a7)
 move.w #1,-(a7)
 move.l a3,-(a7)
 jsr vc9e8(pc)
 addq.l #8,a7
 move.w #0,d0
 bra vcfa6
vcb4a move.b $22(a3),d5
 ext.w d5
 sub.w #$5f,d5
 jsr $90(a5)
 and.w #7,d0
 clr.w d1
 move.b 4(a2),d1
 add.w d5,d1
 move.w d1,d4
 asl.w #4,d1
 add.w d1,d0
 move.w d5,d1
 subq.w #1,d1
 clr.w d2
 move.b 4(a2),d2
 muls d2,d1
 asl.w #3,d1
 add.w d1,d0
 move.w d4,d1
 mulu d4,d1
 add.w d1,d0
 move.w d0,-4(a6)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.w d0,d6
 move.w d6,d0
 cmp.w d4,d0
 bcc.s vcc10
 move.w d4,d0
 sub.w d6,d0
 move.w d0,-6(a6)
 bra.s vcc04
vcba6 jsr $90(a5)
 and.w #$7f,d0
 move.l d0,-(a7)
 move.w #$73,-(a7)
 clr.w d0
 move.b $50(a3),d0
 add.w #$f,d0
 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.l d0,d1
 move.l (a7)+,d0
 cmp.w d1,d0
 bls.s vcc04
 move.w -4(a6),d0
 move.w d4,d1
 sub.w d6,d1
 lsr.w d1,d0
 move.w d0,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 jsr vc9e8(pc)
 addq.l #8,a7
 move.w #0,d0
 bra vcfa6
vcc04 move.w -6(a6),d0
 subq.w #1,-6(a6)
 tst.w d0
 bne.s vcba6
vcc10 move.w 6(a2),d0
 and.w #$f,d0
 cmp.w #1,d0
 beq.s vcc22
 bra vccce
vcc22 pea -2(a6)
 move.l a3,-(a7)
 jsr vca8e(pc)
 addq.l #8,a7
 move.l d0,-$a(a6)
 tst.l d0
 bne.s vcc4c
 clr.w -(a7)
 move.w #$a,-(a7)
 move.l a3,-(a7)
 jsr vc9e8(pc)
 addq.l #8,a7
 move.w #3,d0
 bra vcfa6
vcc4c move.w -2(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.w d0,d4
 move.w 6(a2),d0
 lsr.w #4,d0
 and.w #$3f,d0
 movea.l -$a(a6),a0
 and.w #$7f,d0
 move.w d0,d3
 asl.w #8,d3
 andi.w #$80ff,2(a0)
 or.w d3,2(a0)
 jsr $90(a5)
 and.w #$f,d0
 move.w d5,d1
 muls #$28,d1
 add.w d1,d0
 movea.l -$a(a6),a0
 and.w #$ff,d0
 move.w d0,d3
 andi.w #$ff00,2(a0)
 or.w d3,2(a0)
 move.w -2(a6),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 sub.w d4,d0
 add.w d0,$110(a3)
 jsr $4c2(a5)
 move.w -$40e6(a4),d0
 move.w d7,d1
 addq.w #1,d1
 cmp.w d1,d0
 bne.s vccca
 ori.w #$200,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
vccca bra vcf78
vccce cmp.w #2,d0
 beq.s vccd6
 bra.s vcd4e
vccd6 clr.w d0
 move.b $1c(a3),d0
 cmp.w -$2dba(a4),d0
 beq.s vccf8
 move.w -$2dba(a4),d0
 move.b d0,$1c(a3)
 ori.w #$400,$30(a3)
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
vccf8 move.w 6(a2),d0
 lsr.w #4,d0
 and.w #$3f,d0
 cmpi.w #4,d0
 bne.s vcd0e
 move.w d6,d0
 asl.w #1,d0
 move.w d0,d6
vcd0e clr.w -(a7)
 move.w #$ff,-(a7)
 move.w #4,d1
 move.w d6,d0
 asl.w #1,d0
 add.w d0,d1
 move.w d5,d0
 addq.w #2,d0
 mulu d1,d0
 move.w d0,-(a7)
 move.w #$15,-(a7)
 jsr $7e(a5)
 addq.l #6,a7
 move.w d0,-(a7)
 move.w 6(a2),d0
 lsr.w #4,d0
 and.w #$3f,d0
 add.w #$ff80,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $43e(a5)
 addq.l #8,a7
 bra vcf78
vcd4e cmp.w #3,d0
 beq.s vcd58
 bra vcf78
vcd58 clr.b -$f(a6)
 move.w d5,d6
 addq.w #1,d6
 asl.w #2,d6
 move.w 6(a2),d0
 lsr.w #4,d0
 and.w #$3f,d0
 tst.w d0
 beq.s vcd72
 bra.s vcd8a
vcd72 move.w #$2710,d4
 move.w d6,d1
 subq.w #8,d1
 asl.w #1,d1
 asl.w #8,d1
 add.w d1,d4
 move.w d6,d0
 lsr.w #1,d0
 move.w d0,d6
 subq.w #1,d6
 bra.s vcda6
vcd8a cmp.w #5,d0
 beq.s vcd92
 bra.s vcdc8
vcd92 move.w #$7d0,d4
 move.w d6,d1
 subq.w #3,d1
 asl.w #7,d1
 add.w d1,d4
 move.w d6,d0
 lsr.w #2,d0
 move.w d0,d6
 addq.w #1,d6
vcda6 move.w d6,d0
 asl.l #1,d0
 lea -$432(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d0,-$33e2(a4)
 move.w d4,-(a7)
 move.w d6,d0
 neg.w d0
 move.w d0,-(a7)
 jsr vbf14(pc)
 addq.l #4,a7
 bra vcf78
vcdc8 cmp.w #1,d0
 beq.s vcdd0
 bra.s vcdf6
vcdd0 move.w d6,d0
 lsr.w #2,d0
 move.w d0,d6
 move.w d6,d0
 asl.l #1,d0
 lea -$432(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w d0,-$33e2(a4)
 move.w #$62,-(a7)
 move.w d6,-(a7)
 jsr vbf14(pc)
 addq.l #4,a7
 bra vcf78
vcdf6 cmp.w #2,d0
 beq.s vcdfe
 bra.s vce10
vcdfe move.b #$49,-$10(a6)
 addq.b #1,-$33e0(a4)
 move.w d6,d0
 lsr.w #1,d0
 move.w d0,d6
 bra.s vce80
vce10 cmp.w #3,d0
 beq.s vce18
 bra.s vce24
vce18 move.b #$47,-$10(a6)
 addq.b #1,-$338c(a4)
 bra.s vce86
vce24 cmp.w #4,d0
 beq.s vce2c
 bra.s vce56
vce2c move.b #$4a,-$10(a6)
 move.w d6,-$e(a6)
 cmpi.w #$32,-$33de(a4)
 ble.s vce48
 move.w -$e(a6),d0
 asr.w #2,d0
 move.w d0,-$e(a6)
vce48 move.w -$e(a6),d0
 add.w d0,-$33de(a4)
 jsr $384(a5)
 bra.s vce80
vce56 cmp.w #6,d0
 beq.s vce5e
 bra.s vceb4
vce5e move.b #$4f,-$10(a6)
 addq.b #1,-$33df(a4)
 move.b -$33d8(a4),-$33d6(a4)
 cmpi.w #3,d5
 bge.s vce7c
 move.b -$33d6(a4),-$33d5(a4)
 bra.s vce80
vce7c clr.b -$33d5(a4)
vce80 move.w d6,d0
 mulu d6,d0
 move.w d0,d6
vce86 move.l -$2dc6(a4),d0
 and.l #$ffff,d6
 add.l d6,d0
 move.w -$2dbc(a4),d1
 ext.l d1
 move.l #$18,d3
 asl.l d3,d1
 or.l d1,d0
 move.l d0,-$14(a6)
 pea -$14(a6)
 jsr $366(a5)
 addq.l #4,a7
 bra vcf78
vceb4 cmp.w #7,d0
 beq.s vcebe
 bra vcf58
vcebe move.w #$a,-(a7)
 jsr $228(a5)
 addq.l #2,a7
 move.w d0,-2(a6)
 cmpi.w #$ffff,d0
 bne.s vced6
 bra vcf78
vced6 move.w -2(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$18(a6)
 move.w #$33,d0
 movea.l -$18(a6),a0
 and.w #$7f,d0
 move.w d0,d3
 andi.w #$ff80,2(a0)
 or.w d3,2(a0)
 cmpi.w #$ffff,$d4(a3)
 bne.s vcf08
 clr.w d6
 bra.s vcf1a
vcf08 cmpi.w #$ffff,$d6(a3)
 bne.s vcf16
 move.w #1,d6
 bra.s vcf1a
vcf16 move.w #$ffff,d6
vcf1a tst.w d6
 beq.s vcf24
 cmpi.w #1,d6
 bne.s vcf3c
vcf24 move.w d6,-(a7)
 move.w -2(a6),-(a7)
 move.w d7,-(a7)
 jsr $4e6(a5)
 addq.l #6,a7
 move.w d7,-(a7)
 jsr $4a4(a5)
 addq.l #2,a7
 bra.s vcf56
vcf3c move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 clr.w -(a7)
 move.w #$ffff,-(a7)
 move.w -2(a6),-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
vcf56 bra.s vcf78
vcf58 cmp.w #8,d0
 beq.s vcf60
 bra.s vcf78
vcf60 clr.w -(a7)
 move.w d6,d0
 mulu d6,d0
 add.w #$64,d0
 move.w d0,-(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 jsr vbe3a(pc)
 adda.w #$a,a7
vcf78 move.w -4(a6),-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $4d4(a5)
 addq.l #6,a7
 move.w 6(a2),d0
 lsr.w #2,d0
 lsr.w #8,d0
 and.w #$3f,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $432(a5)
 addq.l #4,a7
 move.w #1,d0
vcfa6 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vcfae link a6,#0
 moveq #$a,d1
 movea.l 8(a6),a0
 move.l #$4e5e4e75,d2
 cmpi.w #$4ef9,(a0)
 bne.s vcfc8
 movea.l 2(a0),a0
vcfc8 moveq #0,d0
vcfca add.w (a0)+,d1
 eor.w d1,d0
 cmp.l (a0),d2
 bne.s vcfca
 unlk a6
 rts
vcfd6 link a6,#-6
 movea.l 8(a6),a0
 clr.b (a0)
 move.w #$7e,-(a7)
 move.l $c(a6),-(a7)
 jsr $174(a5)
 addq.l #6,a7
 move.l d0,-4(a6)
 tst.l d0
 beq.s vd05e
 move.l -4(a6),d0
 sub.l $c(a6),d0
 move.w d0,-6(a6)
 move.w d0,-(a7)
 move.l $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr $18c(a5)
 adda.w #$a,a7
 move.w -6(a6),d0
 movea.l 8(a6),a0
 adda.w d0,a0
 clr.b (a0)
 move.w -$59c2(a4),d0
 bne.s vd02e
 cmpi.w #1,$10(a6)
 bne.s vd03e
vd02e move.l -$59d0(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr $78(a5)
 addq.l #8,a7
 bra.s vd04c
vd03e move.l -$59d4(a4),-(a7)
 move.l 8(a6),-(a7)
 jsr $78(a5)
 addq.l #8,a7
vd04c move.l -4(a6),d0
 addq.l #1,d0
 move.l d0,-(a7)
 move.l 8(a6),-(a7)
 jsr $78(a5)
 addq.l #8,a7
vd05e unlk a6
 rts
vd062 link a6,#0
 move.l d7,-(a7)
 move.w $c(a6),d0
 and.l #$ffff,d0
 move.l d0,d7
 tst.l d0
 bne.s vd07e
 move.w #1,d0
 bra.s vd0da
vd07e move.w -$5848(a4),d0
 beq.s vd0b8
 move.l d7,d0
 cmp.l -$5850(a4),d0
 ble.s vd092
 move.w #0,d0
 bra.s vd0da
vd092 move.l d7,d0
 move.w d0,-(a7)
 move.l 8(a6),-(a7)
 move.l -$584c(a4),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.l d7,d0
 add.l d0,-$584c(a4)
 move.l d7,d0
 sub.l d0,-$5850(a4)
 move.w #1,d0
 bra.s vd0da
vd0b8 move.l 8(a6),-(a7)
 move.l d7,d0
 move.l d0,-(a7)
 move.w -$5832(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.l d7,d1
 cmp.l d1,d0
 seq d0
 and.w #1,d0
vd0da move.l (a7)+,d7
 unlk a6
 rts
vd0e0 link a6,#0
 move.l d7,-(a7)
 move.w $c(a6),d0
 and.l #$ffff,d0
 move.l d0,d7
 tst.l d0
 bne.s vd0fc
 move.w #1,d0
 bra.s vd11e
vd0fc move.l 8(a6),-(a7)
 move.l d7,d0
 move.l d0,-(a7)
 move.w -$5832(a4),-(a7)
 move.w #$40,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.l d7,d1
 cmp.l d1,d0
 seq d0
 and.w #1,d0
vd11e move.l (a7)+,d7
 unlk a6
 rts
vd124 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w d7,d5
vd13a add.w (a3),d5
 move.w d7,d0
 eor.w d0,(a3)
 add.w (a3)+,d5
 add.w d6,d7
 subq.w #1,d6
 bne.s vd13a
 move.w d5,d0
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vd152 link a6,#0
 movem.l d5-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d7
 move.w $e(a6),d6
 move.w d7,d5
vd168 add.w (a3),d5
 move.w (a3)+,d0
 eor.w d7,d0
 add.w d0,d5
 add.w d6,d7
 subq.w #1,d6
 bne.s vd168
 move.w d5,d0
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vd180 link a6,#-$a
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr vd062(pc)
 addq.l #6,a7
 tst.w d0
 beq.s vd1bc
 move.w $c(a6),d0
 lsr.w #1,d0
 move.w d0,-(a7)
 move.w $e(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 move.w d0,-$a(a6)
 move.w $10(a6),d0
 cmp.w -$a(a6),d0
 seq d0
 tst.b d0
vd1bc sne d0
 and.w #1,d0
 unlk a6
 rts
vd1c6 link a6,#0
 movem.l d6-d7/a3,-(a7)
 movea.l 8(a6),a3
 move.w $c(a6),d0
 lsr.w #1,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w $e(a6),-(a7)
 move.l a3,-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 movea.l $10(a6),a0
 move.w d0,(a0)
 move.w $c(a6),-(a7)
 move.l a3,-(a7)
 jsr vd0e0(pc)
 addq.l #6,a7
 move.w d0,d7
 move.w d6,-(a7)
 move.w $e(a6),-(a7)
 move.l a3,-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 move.w d7,d0
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
vd214 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.w $10(a6),d7
 clr.w d6
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr vd062(pc)
 addq.l #6,a7
 tst.w d0
 bne.s vd23e
 move.w #0,d0
 bra.s vd256
vd23e bra.s vd246
vd240 clr.w d0
 move.b (a3)+,d0
 add.w d0,d6
vd246 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne.s vd240
 move.w d6,d0
 add.w d0,(a2)
 move.w #1,d0
vd256 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
vd25e link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.w $10(a6),d7
 clr.w d6
 move.w d7,-(a7)
 move.l a3,-(a7)
 jsr vd0e0(pc)
 addq.l #6,a7
 tst.w d0
 bne.s vd288
 move.w #0,d0
 bra.s vd2a0
vd288 bra.s vd290
vd28a clr.w d0
 move.b (a3)+,d0
 add.w d0,d6
vd290 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne.s vd28a
 move.w d6,d0
 add.w d0,(a2)
 move.w #1,d0
vd2a0 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
vd2a8 link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -(a7)
 move.l #$800,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 move.w #$800,-(a7)
 move.l a3,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 clr.w d7
 bra.s vd33a
vd2d0 move.w d7,d0
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 beq.s vd338
vd2e4 move.w d5,d6
 and.w #$3ff,d6
 move.w d5,d4
 and.w #$3c00,d4
 lsr.w #2,d4
 lsr.w #8,d4
 asl.w #7,d4
 move.w d6,d1
 asr.w #3,d1
 add.w d1,d4
 move.w d6,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w d6,d0
 beq.s vd31c
 bra.s vd328
vd31c movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 or.w d6,d0
 move.b d0,(a0)
vd328 move.w d5,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s vd2e4
vd338 addq.w #1,d7
vd33a move.w d7,d0
 movea.l -$28ce(a4),a0
 cmp.w $a(a0),d0
 bcs.s vd2d0
 move.l -$2910(a4),d0
 movea.l d0,a2
 clr.w d7
 bra.s vd3c6
vd350 move.l a2,d0
 movea.l d0,a0
 cmpi.w #$ffff,(a0)
 beq.s vd3be
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 move.w d0,d5
 cmpi.w #$fffe,d0
 beq.s vd3be
vd36a move.w d5,d6
 and.w #$3ff,d6
 move.w d5,d4
 and.w #$3c00,d4
 lsr.w #2,d4
 lsr.w #8,d4
 asl.w #7,d4
 move.w d6,d1
 asr.w #3,d1
 add.w d1,d4
 move.w d6,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w d6,d0
 beq.s vd3a2
 bra.s vd3ae
vd3a2 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 or.w d6,d0
 move.b d0,(a0)
vd3ae move.w d5,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s vd36a
vd3be adda.l #$10,a2
 addq.w #1,d7
vd3c6 move.w d7,d0
 movea.l -$28ce(a4),a0
 cmp.w $14(a0),d0
 bcs vd350
 move.l -$28fc(a4),d0
 movea.l d0,a2
 clr.w d7
 bra vd48c
vd3e0 move.l a2,d0
 movea.l d0,a0
 cmpi.w #$ffff,(a0)
 beq vd488
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 move.w d0,d5
 cmpi.w #$fffe,d0
 beq vd488
 move.w #$ffff,-8(a6)
vd404 move.w d5,d6
 and.w #$3ff,d6
 move.w d5,d4
 and.w #$3c00,d4
 lsr.w #2,d4
 lsr.w #8,d4
 asl.w #7,d4
 move.w d6,d1
 asr.w #3,d1
 add.w d1,d4
 move.w d6,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w d6,d0
 beq.s vd466
 cmpi.w #$ffff,-8(a6)
 bne.s vd44e
 move.l a2,d0
 movea.l d0,a0
 move.w #$fffe,2(a0)
 bra.s vd464
vd44e move.w -8(a6),-(a7)
 jsr $312(a5)
 addq.l #2,a7
 move.l d0,-$c(a6)
 movea.l -$c(a6),a0
 move.w #$fffe,(a0)
vd464 bra.s vd488
vd466 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 or.w d6,d0
 move.b d0,(a0)
 move.w d5,-8(a6)
 move.w d5,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne vd404
vd488 addq.l #8,a2
 addq.w #1,d7
vd48c move.w d7,d0
 movea.l -$28ce(a4),a0
 cmp.w $1e(a0),d0
 bcs vd3e0
 move.l -$2904(a4),d0
 movea.l d0,a2
 clr.w d7
 bra.s vd4f4
vd4a4 move.l a2,d0
 movea.l d0,a0
 cmpi.w #$ffff,(a0)
 beq.s vd4f0
 move.l a2,d6
 movea.l d6,a0
 move.w 2(a0),d6
 and.w #$3ff,d6
 move.w #$100,d4
 move.w d6,d1
 asr.w #3,d1
 add.w d1,d4
 move.w d6,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w d6,d0
 beq.s vd4e4
 bra.s vd4f0
vd4e4 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 or.w d6,d0
 move.b d0,(a0)
vd4f0 addq.l #4,a2
 addq.w #1,d7
vd4f4 move.w d7,d0
 movea.l -$28ce(a4),a0
 cmp.w $1a(a0),d0
 bcs.s vd4a4
 move.l -$28e8(a4),d0
 movea.l d0,a2
 clr.w d7
 bra.s vd586
vd50a move.l a2,d0
 movea.l d0,a0
 cmpi.w #$ffff,(a0)
 beq.s vd582
 move.l a2,d0
 movea.l d0,a0
 move.w 2(a0),d0
 move.w d0,d5
 cmpi.w #$fffe,d0
 bne.s vd526
 bra.s vd582
vd526 cmpi.w #$ffff,d5
 bne.s vd52e
 bra.s vd582
vd52e move.w d5,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 beq.s vd582
 move.w d5,d6
 and.w #$3ff,d6
 move.w d5,d4
 and.w #$3c00,d4
 lsr.w #2,d4
 lsr.w #8,d4
 asl.w #7,d4
 move.w d6,d1
 asr.w #3,d1
 add.w d1,d4
 move.w d6,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d6
 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 and.w d6,d0
 beq.s vd576
 bra.s vd582
vd576 movea.l a3,a0
 adda.w d4,a0
 clr.w d0
 move.b (a0),d0
 or.w d6,d0
 move.b d0,(a0)
vd582 addq.l #8,a2
 addq.w #1,d7
vd586 move.w d7,d0
 movea.l -$28ce(a4),a0
 cmp.w $28(a0),d0
 bcs vd50a
 clr.w d6
 bra vd626
vd59a move.w d6,d0
 muls #$320,d0
 lea -$3f8e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 movea.l d0,a2
 clr.w d7
 bra.s vd61e
vd5b0 move.w d7,d5
 move.l a2,d1
 asl.l #1,d5
 movea.l d1,a0
 adda.w d5,a0
 move.w (a0),d5
 cmpi.w #$ffff,d5
 beq.s vd61c
 move.w d5,d4
 and.w #$3ff,d4
 move.w d5,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 asl.w #7,d0
 move.w d4,d1
 asr.w #3,d1
 add.w d1,d0
 move.w d0,-2(a6)
 move.w d4,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d4
 movea.l a3,a0
 adda.w -2(a6),a0
 clr.w d0
 move.b (a0),d0
 and.w d4,d0
 beq.s vd60e
 move.w d7,d0
 move.l a2,d1
 asl.l #1,d0
 movea.l d1,a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 bra.s vd61c
vd60e movea.l a3,a0
 adda.w -2(a6),a0
 clr.w d0
 move.b (a0),d0
 or.w d4,d0
 move.b d0,(a0)
vd61c addq.w #1,d7
vd61e cmpi.w #$1e,d7
 blt.s vd5b0
 addq.w #1,d6
vd626 move.w d6,d0
 cmp.w -$2db4(a4),d0
 bcs vd59a
 move.w -$40c0(a4),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 beq.s vd686
 move.w d5,d7
 and.w #$3ff,d7
 move.w d5,d6
 and.w #$3c00,d6
 lsr.w #2,d6
 lsr.w #8,d6
 asl.w #7,d6
 move.w d7,d1
 asr.w #3,d1
 add.w d1,d6
 move.w d7,d0
 and.w #7,d0
 lea -$5920(a4),a0
 adda.w d0,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 movea.l a3,a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 and.w d7,d0
 beq.s vd67a
 move.w #$ffff,-$40c0(a4)
 bra.s vd686
vd67a movea.l a3,a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 or.w d7,d0
 move.b d0,(a0)
vd686 move.l #$800,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vd69a link a6,#-$22
 jsr $a8(a5)
 move.l -$41e8(a4),-4(a6)
 move.l -$41ec(a4),-8(a6)
 move.l -$41f0(a4),-$c(a6)
 move.l -$41f4(a4),-$10(a6)
 move.l #0,d0
 move.l d0,-$41f4(a4)
 move.l d0,-$41f0(a4)
 move.l d0,-$41ec(a4)
 move.w 8(a6),d0
 move.w $a(a6),d1
 muls #$10,d1
 lea -$4a1e(a4),a0
 add.l a0,d1
 asl.l #2,d0
 movea.l d1,a0
 adda.w d0,a0
 move.l (a0),-$41e8(a4)
 jsr $52e(a5)
 move.w #$63,-$2df4(a4)
vd6f2 jsr $51c(a5)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 cmpi.w #$63,-$2df4(a4)
 bne.s vd734
 cmpi.w #1,8(a6)
 bne.s vd734
 move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 beq.s vd734
 move.w #7,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 cmpi.w #$d,d0
 bne.s vd734
 move.w #1,-$2df4(a4)
vd734 move.w #0,d0
 beq.s vd740
 move.w $e(a6),-$2df4(a4)
vd740 cmpi.w #$63,-$2df4(a4)
 beq.s vd6f2
 clr.w -$5a00(a4)
 move.w #8,-(a7)
 pea -$22(a6)
 move.w -$2df4(a4),d0
 muls #$c,d0
 movea.l -$41e8(a4),a0
 adda.w d0,a0
 lea -$a(a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 subq.w #3,-$22(a6)
 addq.w #3,-$20(a6)
 subq.w #3,-$1e(a6)
 addq.w #4,-$1c(a6)
 jsr $24(a5)
 move.w #1,-$2da4(a4)
 clr.w -$1a(a6)
 clr.w -$16(a6)
 move.w -$1c(a6),d0
 sub.w -$1e(a6),d0
 addq.w #3,d0
 move.w d0,-$14(a6)
 move.w -$20(a6),d0
 sub.w -$22(a6),d0
 addq.w #3,d0
 move.w d0,-$18(a6)
 move.l #$a0ffff,-(a7)
 move.w #$a0,-(a7)
 move.w -$1e(a6),-(a7)
 move.w -$22(a6),-(a7)
 pea -$1a(a6)
 move.l -$2da2(a4),-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$16(a6),-$14(a6)
 move.l #$500a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$1a(a6),-$18(a6)
 subq.w #1,-$14(a6)
 move.l #$500a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 subq.w #1,-$14(a6)
 move.w -$14(a6),d0
 move.w d0,-$16(a6)
 subq.w #2,-$1a(a6)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$18(a6),-$1a(a6)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #5,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 addq.w #1,-$16(a6)
 move.w -$16(a6),d0
 move.w d0,-$14(a6)
 subq.w #2,-$18(a6)
 move.l #$500a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 addq.w #1,-$1a(a6)
 move.w -$1a(a6),d0
 move.w d0,-$18(a6)
 subq.w #1,-$14(a6)
 move.l #$500a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 subq.w #1,-$18(a6)
 move.w -$18(a6),d0
 move.w d0,-$1a(a6)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$14(a6),d0
 subq.w #2,d0
 move.w d0,-$14(a6)
 move.w d0,-$16(a6)
 addq.w #1,-$1a(a6)
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$14(a6),d0
 addq.w #2,d0
 move.w d0,-$14(a6)
 move.w d0,-$16(a6)
 subq.w #1,-$1a(a6)
 addq.w #2,-$18(a6)
 move.l #$d00a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #8,-(a7)
 pea -$1a(a6)
 pea -$22(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w -$18(a6),d0
 addq.w #3,d0
 move.w d0,-$18(a6)
 move.w d0,-$1a(a6)
 addq.w #2,-$14(a6)
 move.l #$d00a0,-(a7)
 pea -$1a(a6)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #5,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 addq.w #3,-$20(a6)
 addq.w #3,-$1c(a6)
 move.l #$a0ffff,-(a7)
 move.w #$a0,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$22(a6)
 move.l -$2ece(a4),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 jsr $a8(a5)
 move.l -4(a6),-$41e8(a4)
 move.l -8(a6),-$41ec(a4)
 move.l -$c(a6),-$41f0(a4)
 move.l -$10(a6),-$41f4(a4)
 jsr $52e(a5)
 jsr $24(a5)
 move.w -$2df4(a4),d0
 unlk a6
 rts
vda78 link a6,#0
 tst.l $c(a6)
 beq.s vdab8
 move.l $c(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 muls #6,d0
 asr.w #1,d0
 sub.w d0,$10(a6)
 move.l $c(a6),-(a7)
 move.l #$90005,-(a7)
 move.w $12(a6),-(a7)
 move.w $10(a6),-(a7)
 move.w #$70,-(a7)
 move.l 8(a6),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
vdab8 unlk a6
 rts
vdabc link a6,#-4
 move.l 8(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.w d0,-2(a6)
 cmpi.w #$1e,-2(a6)
 bhi.s vdadc
 move.w #0,d0
 bra.s vdb42
vdadc move.l 8(a6),-(a7)
 move.l $c(a6),-(a7)
 jsr $5a(a5)
 addq.l #8,a7
 move.w -2(a6),d0
 lsr.w #1,d0
 move.w d0,-4(a6)
 bra.s vdafa
vdaf6 addq.w #1,-4(a6)
vdafa move.w -4(a6),d0
 movea.l $c(a6),a0
 adda.w d0,a0
 move.b (a0),d0
 ext.w d0
 cmp.w #$20,d0
 beq.s vdb18
 move.w -4(a6),d0
 cmp.w -2(a6),d0
 bcs.s vdaf6
vdb18 move.w -4(a6),d0
 movea.l $c(a6),a0
 adda.w d0,a0
 clr.b (a0)
 move.w -4(a6),d0
 movea.l $c(a6),a0
 adda.w d0,a0
 lea 1(a0),a0
 move.l a0,-(a7)
 move.l $10(a6),-(a7)
 jsr $5a(a5)
 addq.l #8,a7
 move.w #1,d0
vdb42 unlk a6
 rts
vdb46 link a6,#-$70
 movem.l d4-d7,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l -$2da2(a4),-(a7)
 move.l -$2e06(a4),-(a7)
 jsr $5d0(a5)
 adda.w #$c,a7
 pea $554(a4)
 move.l #$20001,-(a7)
 move.l #$c00007,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 move.w #1,d4
 tst.l $14(a6)
 beq.s vdb8e
 addq.w #1,d4
vdb8e tst.l $18(a6)
 beq.s vdb96
 addq.w #1,d4
vdb96 tst.l $1c(a6)
 beq.s vdb9e
 addq.w #1,d4
vdb9e move.w $24(a6),d0
 beq.s vdbae
 pea -$2e8a(a4)
 jsr vf520(pc)
 addq.l #4,a7
vdbae move.w $22(a6),d0
 beq.s vdbc2
 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
vdbc2 clr.w -$5a00(a4)
 cmpi.w #1,d4
 bne.s vdc3c
 clr.w -(a7)
 move.l #$20d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$70(a6)
 move.l #$70ffff,-(a7)
 move.l #$e0070,-(a7)
 clr.w -(a7)
 pea -$4890(a4)
 move.l -$70(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l #$70ffff,-(a7)
 pea -$4898(a4)
 move.l -$70(a6),-(a7)
 jsr $30(a5)
 adda.w #$c,a7
 move.l #$20d0,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 move.l #$700072,-(a7)
 move.l $10(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 bra vdd64
vdc3c cmpi.w #2,d4
 bne.s vdc96
 move.l #$70ffff,-(a7)
 move.l #$340070,-(a7)
 move.w #$66,-(a7)
 pea -$48a0(a4)
 move.l -$2da2(a4),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l #$70004d,-(a7)
 move.l $10(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$700072,-(a7)
 move.l $14(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 bra vdd64
vdc96 cmpi.w #3,d4
 bne.s vdce2
 move.l #$70004d,-(a7)
 move.l $10(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$3b0072,-(a7)
 move.l $14(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$a60072,-(a7)
 move.l $18(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 bra vdd64
vdce2 cmpi.w #4,d4
 bne.s vdd64
 move.l #$70ffff,-(a7)
 move.l #$630070,-(a7)
 move.w #$66,-(a7)
 pea -$48a8(a4)
 move.l -$2da2(a4),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l #$3b004d,-(a7)
 move.l $10(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$a6004d,-(a7)
 move.l $14(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$3b0072,-(a7)
 move.l $18(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
 move.l #$a60072,-(a7)
 move.l $1c(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr vda78(pc)
 adda.w #$c,a7
vdd64 move.w #$1d,d5
 tst.l 8(a6)
 beq vde3c
 pea -$64(a6)
 pea -$32(a6)
 move.l 8(a6),-(a7)
 jsr vdabc(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s vde02
 move.w #$15,d5
 pea -$32(a6)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 pea -$32(a6)
 move.l #$b0005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #8,d5
 pea -$64(a6)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 pea -$64(a6)
 move.l #$b0005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #8,d5
 bra.s vde3c
vde02 move.l 8(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 move.l 8(a6),-(a7)
 move.l #$b0005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #8,d5
vde3c tst.l $c(a6)
 beq vdf08
 pea -$64(a6)
 pea -$32(a6)
 move.l $c(a6),-(a7)
 jsr vdabc(pc)
 adda.w #$c,a7
 tst.w d0
 beq.s vded0
 pea -$32(a6)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 pea -$32(a6)
 move.l #$90005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 addq.w #8,d5
 pea -$64(a6)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 pea -$64(a6)
 move.l #$90005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
 bra.s vdf08
vded0 move.l $c(a6),-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.l d0,d1
 muls #6,d1
 asr.w #1,d1
 move.w #$71,d0
 sub.w d1,d0
 move.w d0,d6
 move.l $c(a6),-(a7)
 move.l #$90005,-(a7)
 move.w d5,-(a7)
 move.w d6,-(a7)
 move.w #$70,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $17a(a5)
 adda.w #$12,a7
vdf08 move.w $20(a6),d0
 beq.s vdf46
 move.w #$21,-$68(a6)
 move.w #$a8,-$66(a6)
 move.w #$2f,-$6c(a6)
 move.w #$10e,-$6a(a6)
 jsr $24(a5)
 move.l #$70ffff,-(a7)
 pea -$6c(a6)
 move.l -$2da2(a4),-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 jsr $a8(a5)
 bra.s vdf58
vdf46 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
vdf58 move.w $24(a6),d0
 beq.s vdf68
 pea -$2eca(a4)
 jsr vf520(pc)
 addq.l #4,a7
vdf68 move.w #1,-$2da4(a4)
 movem.l (a7)+,d4-d7
 unlk a6
 rts
vdf76 link a6,#-$50
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.w $a(a6),d6
 move.w #1,d5
 move.w #1,-(a7)
 jsr w098a(pc)
 addq.l #2,a7
 tst.w d0
 bne.s vdfa2
 cmpi.w #2,d7
 beq.s vdfa2
 move.w d5,d0
 bra.s ve00c
vdfa2 movea.l #0,a3
 move.w #1,-(a7)
 move.l -$5958(a4),-(a7)
 pea -$50(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
 bra.s vdff8
vdfbe move.w #0,d5
 move.w d5,d7
 move.w d6,-(a7)
 move.w d6,-(a7)
 move.w d6,-(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5984(a4),-(a7)
 pea -$50(a6)
 move.l a3,-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 move.l #$10001,-(a7)
 move.w d6,-(a7)
 move.w #1,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 movea.l -$592c(a4),a3
vdff8 move.w d7,d0
 bne.s vdfbe
 move.w #1,-(a7)
 jsr w098a(pc)
 addq.l #2,a7
 tst.w d0
 bne.s vdfbe
 move.w d5,d0
ve00c movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
ve014 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w #$200,-(a7)
 move.l 8(a6),d0
 movea.l d0,a3
 move.l d0,-(a7)
 jsr vd062(pc)
 addq.l #6,a7
 tst.w d0
 bne.s ve038
 move.w #0,d0
 bra.s ve078
ve038 move.w #$20,d7
 clr.w d6
ve03e add.w (a3)+,d6
 move.w (a3)+,d0
 eor.w d0,d6
 sub.w (a3)+,d6
 move.w (a3)+,d0
 eor.w d0,d6
 subq.w #1,d7
 bne.s ve03e
 move.w #$80,-(a7)
 movea.l 8(a6),a0
 move.w $3a(a0),-(a7)
 move.l a3,-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 clr.w d5
 move.w #$80,d7
ve068 add.w (a3)+,d5
 subq.w #1,d7
 bne.s ve068
 move.w d6,d0
 cmp.w d5,d0
 seq d0
 and.w #1,d0
ve078 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
ve080 link a6,#0
 movem.l d5-d7/a3,-(a7)
 clr.w d5
 move.w #$80,d7
 move.l 8(a6),d0
 add.l #$100,d0
 movea.l d0,a3
ve09a add.w (a3)+,d5
 subq.w #1,d7
 bne.s ve09a
 move.w #$20,d7
 clr.w d6
 movea.l 8(a6),a3
ve0aa jsr $90(a5)
 move.w d0,(a3)+
 add.w d0,d6
 jsr $90(a5)
 move.w d0,(a3)+
 eor.w d0,d6
 jsr $90(a5)
 move.w d0,(a3)+
 sub.w d0,d6
 subq.w #1,d7
 beq.s ve0d0
 jsr $90(a5)
 move.w d0,(a3)+
 eor.w d0,d6
 bra.s ve0d8
ve0d0 move.w d6,d0
 eor.w d5,d0
 move.w d0,(a3)+
 bra.s ve0da
ve0d8 bra.s ve0aa
ve0da move.w #$80,-(a7)
 movea.l 8(a6),a0
 move.w $3a(a0),-(a7)
 move.l a3,-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 move.w #$200,-(a7)
 move.l 8(a6),-(a7)
 jsr vd0e0(pc)
 addq.l #6,a7
 move.w d0,d7
 move.w #$80,-(a7)
 movea.l 8(a6),a0
 move.w $3a(a0),-(a7)
 move.l a3,-(a7)
 jsr vd124(pc)
 addq.l #8,a7
 move.w d7,d0
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
ve11c link a6,#0
 move.w d7,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 and.w #7,d0
 beq.s ve130
 subq.w #1,d7
ve130 move.w d7,d0
 and.w #$70,d0
 beq.s ve13c
 sub.w #$10,d7
ve13c move.w d7,d0
 and.w #$700,d0
 beq.s ve148
 sub.w #$100,d7
ve148 move.w d7,d0
 move.w (a7)+,d7
 unlk a6
 rts
ve150 link a6,#-$68
 move.l a3,-(a7)
 clr.w -4(a6)
 move.w #2,-(a7)
 move.l -$595c(a4),-(a7)
 pea -$36(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
 move.w #2,-(a7)
 move.l -$5970(a4),-(a7)
 pea -$68(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
 movea.l #0,a3
ve188 cmpa.l #0,a3
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5988(a4),-(a7)
 move.l -$5980(a4),-(a7)
 pea -$36(a6)
 move.l a3,-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 move.l #$20001,-(a7)
 clr.w -(a7)
 move.w #2,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 move.w d0,-2(a6)
 cmpi.w #2,-2(a6)
 bne.s ve1d0
 bra ve314
ve1d0 move.w #2,-(a7)
 jsr w0b68(pc)
 addq.l #2,a7
 cmpi.w #1,d0
 bne.s ve1ea
 move.w #1,-4(a6)
 bra ve2ba
ve1ea clr.w -4(a6)
 move.w -$59c4(a4),d0
 tst.w d0
 beq.s ve1f8
 bra.s ve200
ve1f8 movea.l -$5928(a4),a3
 bra ve2ba
ve200 cmp.w #2,d0
 beq.s ve208
 bra.s ve210
ve208 movea.l -$5944(a4),a3
 bra ve2ba
ve210 cmp.w #4,d0
 beq.s ve218
 bra.s ve222
ve218 lea -$68(a6),a0
 movea.l a0,a3
 bra ve2ba
ve222 cmp.w #1,d0
 beq.s ve22c
 bra ve2ba
ve22c clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5988(a4),-(a7)
 move.l -$5984(a4),-(a7)
 move.l -$596c(a4),-(a7)
 move.l -$5940(a4),-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #2,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 move.w d0,-2(a6)
 cmpi.w #1,-2(a6)
 bne.s ve2b4
 move.w #2,-(a7)
 jsr w098a(pc)
 addq.l #2,a7
 tst.w d0
 beq.s ve27a
 bra.s ve280
ve27a movea.l -$5928(a4),a3
 bra.s ve2b2
ve280 cmp.w #2,d0
 beq.s ve288
 bra.s ve28e
ve288 movea.l -$5944(a4),a3
 bra.s ve2b2
ve28e cmp.w #4,d0
 beq.s ve296
 bra.s ve29e
ve296 lea -$68(a6),a0
 movea.l a0,a3
 bra.s ve2b2
ve29e cmp.w #1,d0
 beq.s ve2ac
 cmp.w #3,d0
 beq.s ve2ac
 bra.s ve2b2
ve2ac move.w #1,-4(a6)
ve2b2 bra.s ve2ba
ve2b4 movea.l #0,a3
ve2ba move.w -4(a6),d0
 beq ve188
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5968(a4),-(a7)
 clr.l -(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 jsr w0ab0(pc)
 tst.w d0
 bne.s ve314
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5984(a4),-(a7)
 clr.l -(a7)
 move.l -$5938(a4),-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
ve314 movea.l (a7)+,a3
 unlk a6
 rts
ve31a link a6,#-$152
 movem.l d4-d7/a2-a3,-(a7)
 clr.w d7
 jsr w0c40(pc)
 clr.w -(a7)
 move.l #$240,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$152(a6)
 move.l -$152(a6),d0
 add.l #$200,d0
 move.l d0,-$14e(a6)
 clr.w d5
ve34a move.w -$5ac4(a4),d0
 bne.s ve34a
ve350 clr.w -(a7)
 move.w d5,-(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 move.w #2,d5
 move.l a2,-(a7)
 move.w #1,-(a7)
 clr.l -(a7)
 move.w #6,-(a7)
 clr.w -(a7)
 clr.l -(a7)
 move.l -$152(a6),-(a7)
 move.w #8,-(a7)
 trap #14
 lea $14(a7),a7
 clr.l -(a7)
 move.w #$20,-(a7)
 trap #1
 move.l d0,2(a7)
 tst.w $43e.w
 bne ve4bc
 move.w #1,$43e.w
 bsr.s ve3ee
 bsr ve48a
 bsr.s ve3aa
 bsr.s ve3ee
 bsr ve48a
 bsr.s ve3aa
 bra ve4bc
ve3aa movea.l -$152(a6),a0
 lea $14(a0),a0
 movea.l -$14e(a6),a1
 move.w #$1e9,d0
 moveq #$10,d4
 moveq #0,d7
ve3be moveq #0,d1
 moveq #0,d2
ve3c2 move.b (a0)+,d3
 bpl.s ve3cc
 bset d1,d2
 andi.b #$7f,d3
ve3cc cmpi.b #$68,d3
 beq.s ve3d6
 moveq #0,d7
 rts
ve3d6 addq.w #1,d1
 subq.w #1,d0
 beq.s ve3e0
 cmp.w d4,d1
 bne.s ve3c2
ve3e0 cmp.w (a1),d2
 beq.s ve3e6
 addq.w #1,d7
ve3e6 move.w d2,(a1)+
 tst.w d0
 bne.s ve3be
 rts
ve3ee movea.w #$8800,a1
 moveq #-8,d2
 move.w sr,d0
 ori.w #$700,sr
 move.b #$e,(a1)
 and.b (a1),d2
 ori.b #5,d2
 move.b d2,2(a1)
 move.w d0,sr
 move.w -$2dce(a4),d3
 add.w #$103,d3
 movea.w #$8606,a1
 move.w #$80,(a1)
 moveq #7,d1
 bsr.s ve47c
ve41e move.w #$80,(a1)
 bsr.s ve482
 moveq #2,d1
 and.w -2(a1),d1
 bsr.s ve482
 tst.w d1
 beq.s ve41e
 move.w #$80,(a1)
 moveq #0,d1
 bsr.s ve47c
 move.w #$80,(a1)
ve43c moveq #$2c,d0
ve43e subq.w #1,d0
 bne.s ve43e
 moveq #1,d0
 and.w -2(a1),d0
 bne.s ve43c
 move.w #$84,(a1)
 moveq #7,d1
 bsr.s ve47c
 move.b -$14f(a6),$ffff860d.w
 move.b -$150(a6),$ffff860b.w
 move.b -$151(a6),$ffff8609.w
 move.w #$90,(a1)
 move.w #$190,(a1)
 move.w #$90,(a1)
 move.w #1,-2(a1)
 move.w #$80,d1
 move.w d1,(a1)
ve47c bsr.s ve482
 move.w d1,-2(a1)
ve482 moveq #$2e,d2
ve484 subq.w #1,d2
 bne.s ve484
 rts
ve48a cmp.w -$2dce(a4),d3
 bmi.s ve4ba
 move.w -$2dce(a4),d2
 btst #5,$fffffa01.w
 bne.s ve48a
 move.w #$90,(a1)
 moveq #1,d0
 and.w (a1),d0
 beq.s ve4ba
 move.w #$80,(a1)
 moveq #$2c,d0
ve4ac subq.w #1,d0
 bne.s ve4ac
 moveq #$10,d0
 and.w -2(a1),d0
 bne.s ve4ba
 rts
ve4ba addq.l #4,a7
ve4bc clr.w $43e.w
 trap #1
 addq.l #6,a7
 movea.l (a7)+,a2
 move.w d7,d0
 beq ve350
 move.l #$240,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 clr.w d7
 jsr $24(a5)
 movea.l #0,a3
 clr.w -(a7)
 move.l #$200,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a2
 move.w #2,-(a7)
 move.l -$5954(a4),-(a7)
 pea -$38(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
 move.w #2,-(a7)
 move.l -$5970(a4),-(a7)
 pea -$6a(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
ve51c cmpa.l #0,a3
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.l -$5988(a4),-(a7)
 move.l -$5980(a4),-(a7)
 move.l -$597c(a4),-(a7)
 move.l -$5978(a4),-(a7)
 pea -$38(a6)
 move.l a3,-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #4,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 move.w d0,d5
 cmpi.w #3,d5
 bne.s ve56a
 jsr ve150(pc)
 movea.l #0,a3
 bra.s ve5ce
ve56a cmpi.w #4,d5
 bne.s ve574
 bra ve9fa
ve574 cmpi.w #1,d5
 seq d6
 and.w #1,d6
 clr.w -(a7)
 jsr w0b68(pc)
 addq.l #2,a7
 cmpi.w #1,d0
 bne.s ve592
 move.w #1,d7
 bra.s ve5ce
ve592 clr.w d7
 move.w -$59c4(a4),d0
 tst.w d0
 beq.s ve59e
 bra.s ve5a4
ve59e movea.l -$5928(a4),a3
 bra.s ve5ce
ve5a4 cmp.w #2,d0
 beq.s ve5ac
 bra.s ve5b2
ve5ac movea.l -$5944(a4),a3
 bra.s ve5ce
ve5b2 cmp.w #4,d0
 beq.s ve5ba
 bra.s ve5c2
ve5ba lea -$6a(a6),a0
 movea.l a0,a3
 bra.s ve5ce
ve5c2 cmp.w #3,d0
 beq.s ve5ca
 bra.s ve5ce
ve5ca movea.l -$5948(a4),a3
ve5ce tst.w d7
 beq ve51c
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5960(a4),-(a7)
 clr.l -(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 move.l -$59cc(a4),-(a7)
 move.w #$41,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l -$59cc(a4),-(a7)
 move.l -$59c8(a4),-(a7)
 clr.w -(a7)
 move.w #$56,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 clr.w -(a7)
 move.l -$59c8(a4),-(a7)
 move.w #$3c,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5832(a4)
 tst.w d0
 bge.s ve630
 bra ve9be
ve630 move.w -$40c2(a4),d0
 bne.s ve65a
 move.w -$40c0(a4),-(a7)
 jsr $234(a5)
 addq.l #2,a7
 move.l d0,d1
 move.w d1,-4(a6)
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 sub.w d1,d0
 move.w d0,(a0)
ve65a move.l -$2dc6(a4),-$ea(a6)
 move.l -$2ed2(a4),-$e6(a6)
 move.w -$2db4(a4),-$e0(a6)
 move.w -$2db6(a4),-$de(a6)
 move.w -$2db8(a4),-$dc(a6)
 move.w -$2dba(a4),-$da(a6)
 move.w -$2dbc(a4),-$d8(a6)
 move.w -$40b8(a4),-$d6(a6)
 move.w -$4f2a(a4),-$d4(a6)
 move.w -$32c8(a4),-$d2(a6)
 move.w -$32ca(a4),-$d0(a6)
 move.w -$32be(a4),-$ce(a6)
 move.w -$32d6(a4),-$cc(a6)
 move.l -$3296(a4),-$ca(a6)
 move.l -$329a(a4),-$c6(a6)
 move.w -$2dbe(a4),-$c2(a6)
 move.w -$2dc0(a4),-$c0(a6)
 move.w -$2dc2(a4),-$be(a6)
 move.w -$40c0(a4),-$e2(a6)
 move.w -$32d4(a4),-$bc(a6)
 move.w #$50,-(a7)
 pea -$ba(a6)
 jsr $54(a5)
 addq.l #6,a7
 move.w #$60,-(a7)
 pea -$14a(a6)
 jsr $54(a5)
 addq.l #6,a7
 lea -$ea(a6),a0
 move.l a0,d0
 move.l d0,-$14a(a6)
 move.w #$80,-$146(a6)
 move.l -$32d2(a4),d0
 move.l d0,-$144(a6)
 move.w -$32d4(a4),d0
 mulu #$10,d0
 move.w d0,-$140(a6)
 lea -$4062(a4),a0
 move.l a0,d0
 move.l d0,-$13e(a6)
 move.w #$d00,-$13a(a6)
 move.l -$32c2(a4),d0
 move.l d0,-$138(a6)
 move.w -$32be(a4),d0
 mulu #$a,d0
 move.w d0,-$134(a6)
 move.l -$32c6(a4),d0
 move.l d0,-$132(a6)
 move.w -$32be(a4),d0
 mulu #2,d0
 move.w d0,-$12e(a6)
 move.w d6,$132(a2)
 move.w #$84,-(a7)
 lea $17c(a2),a0
 move.l a0,-(a7)
 pea -$5918(a4)
 jsr 6(a5)
 adda.w #$a,a7
 move.l -$583e(a4),$134(a2)
 move.w -$5844(a4),d0
 move.b d0,$12d(a2)
 move.w -$5846(a4),d0
 move.b d0,$12c(a2)
 move.w -$5842(a4),$178(a2)
 move.w -$5840(a4),$17a(a2)
 clr.w d5
 bra.s ve79c
ve78a jsr $90(a5)
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 lea $138(a2),a0
 adda.w d1,a0
 move.w d0,(a0)
ve79c cmpi.w #$10,d5
 blt.s ve78a
 clr.w d5
 bra.s ve7e6
ve7a6 move.w d5,d0
 muls #6,d0
 lea -$146(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 lsr.w #1,d0
 move.w d0,-(a7)
 move.w d5,d0
 asl.l #1,d0
 lea $138(a2),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d5,d0
 muls #6,d0
 lea -$14a(a6),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr vd152(pc)
 addq.l #8,a7
 move.w d5,d1
 asl.l #1,d1
 lea $158(a2),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d5
ve7e6 cmpi.w #5,d5
 blt.s ve7a6
 move.l a2,-(a7)
 jsr ve080(pc)
 addq.l #4,a7
 tst.w d0
 bne.s ve7fc
 bra ve9be
ve7fc clr.w d5
 bra.s ve83e
ve800 pea -2(a6)
 move.w d5,d0
 asl.l #1,d0
 lea $138(a2),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d5,d0
 muls #6,d0
 lea -$146(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.w d5,d0
 muls #6,d0
 lea -$14a(a6),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr vd1c6(pc)
 adda.w #$c,a7
 tst.w d0
 bne.s ve83c
 bra ve9be
ve83c addq.w #1,d5
ve83e cmpi.w #5,d5
 blt.s ve800
 lea -6(a6),a0
 move.l a0,d0
 movea.l d0,a3
 clr.w -6(a6)
 move.w #$2c,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$28ce(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve86c
 bra ve9be
ve86c movea.l -$28ce(a4),a0
 clr.w d0
 move.b 4(a0),d0
 muls #$10,d0
 move.w d0,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$28ca(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve894
 bra ve9be
ve894 move.w -$28dc(a4),d0
 mulu #2,d0
 move.w d0,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$28d6(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve8b6
 bra ve9be
ve8b6 movea.l -$28ce(a4),a0
 move.w $a(a0),d0
 mulu #2,d0
 move.w d0,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$28e0(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve8dc
 bra ve9be
ve8dc movea.l -$28ce(a4),a0
 move.w 6(a0),d0
 mulu #2,d0
 move.w d0,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$286a(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve902
 bra ve9be
ve902 clr.w d5
 bra.s ve944
ve906 move.w d5,d1
 movea.l -$28ce(a4),a0
 asl.l #1,d1
 lea $c(a0),a0
 adda.w d1,a0
 move.w (a0),d1
 lea -$1c76(a4),a0
 adda.w d5,a0
 clr.w d0
 move.b (a0),d0
 mulu d1,d0
 move.w d0,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.w d5,d0
 asl.l #2,d0
 lea -$2920(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve942
 bra.s ve9be
ve942 addq.w #1,d5
ve944 cmpi.w #$10,d5
 blt.s ve906
 movea.l -$28ce(a4),a0
 move.w 2(a0),-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 move.l -$28c6(a4),-(a7)
 jsr vd25e(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ve968
 bra.s ve9be
ve968 move.w #2,-(a7)
 move.l a3,d0
 move.l d0,-(a7)
 jsr vd0e0(pc)
 addq.l #6,a7
 tst.w d0
 bne.s ve97c
 bra.s ve9be
ve97c move.w -$5832(a4),-(a7)
 move.w #$3e,-(a7)
 jsr $96(a5)
 addq.l #4,a7
 move.w d6,d0
 bne.s ve99a
 jsr $a8(a5)
 clr.w -(a7)
 jsr vfeb8(pc)
 addq.l #2,a7
ve99a move.w -$40c2(a4),d0
 bne.s ve9b6
 move.w -$40b8(a4),d0
 muls #$320,d0
 lea -$3f52(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w -4(a6),d0
 move.w d0,(a0)
ve9b6 move.w #1,-$583a(a4)
 bra.s ve9fa
ve9be move.w -$5832(a4),-(a7)
 move.w #$3e,-(a7)
 jsr $96(a5)
 addq.l #4,a7
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5984(a4),-(a7)
 clr.l -(a7)
 move.l -$5934(a4),-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
ve9fa move.l #$200,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 clr.w -(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 jsr w0c96(pc)
 jsr $a8(a5)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vea20 link a6,#-$1e
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -8(a6)
 clr.w -$5848(a4)
 move.w -$2da6(a4),d0
 beq veb32
 pea -$14(a6)
 move.l #8,-(a7)
 move.w -$5832(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 cmpi.l #8,d0
 beq.s vea5e
 bra vefde
vea5e cmpi.w #$8104,-$14(a6)
 beq.s vea86
 clr.w -(a7)
 move.w -$5832(a4),-(a7)
 clr.l -(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 tst.l d0
 sge d0
 and.w #1,d0
 bra veb32
vea86 move.w -$e(a6),-$5840(a4)
 move.w #1,-$5848(a4)
 move.w #2,-(a7)
 move.l -$12(a6),d0
 move.l d0,-$5850(a4)
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$584c(a4)
 move.l #$20002,-(a7)
 move.w -$5832(a4),-(a7)
 clr.l -(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 subq.l #8,d0
 move.l d0,-$c(a6)
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 clr.w -(a7)
 move.w -$5832(a4),-(a7)
 move.l #8,-(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 tst.l d0
 sge d0
 and.w #1,d0
 move.l a3,-(a7)
 move.l -$c(a6),d0
 move.l d0,-(a7)
 move.w -$5832(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.l -$c(a6),d1
 cmp.l d1,d0
 beq.s veb16
 bra vefde
veb16 move.l -$12(a6),-(a7)
 move.l -$584c(a4),-(a7)
 move.l a3,-(a7)
 jsr w0bca(pc)
 adda.w #$c,a7
 move.l -$c(a6),-(a7)
 jsr $5ca(a5)
 addq.l #4,a7
veb32 move.w -$5838(a4),d0
 bne.s veb4c
 move.w #1,-(a7)
 move.l #$2c,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28ce(a4)
veb4c move.w #$2c,-(a7)
 pea -8(a6)
 move.l -$28ce(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s veb68
 bra vefde
veb68 move.w -$2da6(a4),d0
 beq.s veb9e
 movea.l -$28ce(a4),a0
 move.w 8(a0),d0
 move.w d0,d6
 and.w #$1f,d0
 move.w d0,-$2db6(a4)
 move.w d6,d0
 asr.w #5,d0
 move.w d0,d6
 and.w #$1f,d0
 move.w d0,-$2db8(a4)
 move.w d6,d0
 asr.w #5,d0
 and.w #3,d0
 move.w d0,-$2dba(a4)
 clr.w -$2dbc(a4)
veb9e movea.l -$28ce(a4),a0
 clr.w d7
 move.b 4(a0),d7
 move.w -$5838(a4),d0
 bne.s vebc6
 move.w #1,-(a7)
 move.w #$10,d0
 muls d7,d0
 ext.l d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28ca(a4)
vebc6 move.w d7,d0
 muls #$10,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.l -$28ca(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vebe6
 bra vefde
vebe6 move.w -$5838(a4),d0
 bne.s vec02
 move.w #1,-(a7)
 move.w d7,d0
 asl.w #1,d0
 ext.l d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28da(a4)
vec02 move.w #0,d4
 move.w d4,d5
 bra.s vec32
vec0a move.w d5,d0
 asl.l #1,d0
 movea.l -$28da(a4),a0
 adda.w d0,a0
 move.w d4,(a0)
 move.w d5,d0
 muls #$10,d0
 movea.l -$28ca(a4),a0
 adda.w d0,a0
 move.w 8(a0),d0
 and.w #$7c0,d0
 lsr.w #6,d0
 addq.w #1,d0
 add.w d0,d4
 addq.w #1,d5
vec32 move.w d5,d0
 cmp.w d7,d0
 blt.s vec0a
 move.w d4,-$28dc(a4)
 movea.l -$28ce(a4),a0
 move.w $a(a0),d5
 move.w -$2da6(a4),d0
 beq.s vec54
 movea.l -$28ce(a4),a0
 addi.w #$12c,$a(a0)
vec54 move.w -$5838(a4),d0
 bne.s vecb4
 move.w #1,-(a7)
 move.w d4,d0
 asl.w #1,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28d6(a4)
 move.w #1,-(a7)
 movea.l -$28ce(a4),a0
 move.w $a(a0),d0
 asl.w #1,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28e0(a4)
 move.w #1,-(a7)
 movea.l -$28ce(a4),a0
 move.w 6(a0),d0
 and.l #$ffff,d0
 asl.l #1,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$286a(a4)
vecb4 move.w d4,d0
 mulu #2,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.l -$28d6(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vecd4
 bra vefde
vecd4 move.w d5,d0
 muls #2,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.l -$28e0(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vecf4
 bra vefde
vecf4 move.w -$2da6(a4),d0
 beq.s ved16
 clr.w d4
 bra.s ved10
vecfe move.w d5,d0
 addq.w #1,d5
 asl.l #1,d0
 movea.l -$28e0(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 addq.w #1,d4
ved10 cmpi.w #$12c,d4
 bcs.s vecfe
ved16 movea.l -$28ce(a4),a0
 move.w 6(a0),d0
 mulu #2,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.l -$286a(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s ved3c
 bra vefde
ved3c move.w -$2da6(a4),d0
 beq.s ved48
 move.w #$64,-$32be(a4)
ved48 clr.w d6
 bra vee80
ved4e move.w d6,d5
 movea.l -$28ce(a4),a0
 asl.l #1,d5
 lea $c(a0),a0
 adda.w d5,a0
 move.w (a0),d5
 move.w -$2da6(a4),d0
 beq.s ved9c
 move.w d5,d0
 lea -$1c86(a4),a0
 adda.w d6,a0
 clr.w d3
 move.b (a0),d3
 add.w d3,d0
 move.w d0,-(a7)
 cmpi.w #$f,d6
 bne.s ved80
 move.w #$300,d0
 bra.s ved84
ved80 move.w #$400,d0
ved84 move.w d0,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d6,d1
 movea.l -$28ce(a4),a0
 asl.l #1,d1
 lea $c(a0),a0
 adda.w d1,a0
 move.w d0,(a0)
ved9c lea -$1c76(a4),a0
 adda.w d6,a0
 clr.w d4
 move.b (a0),d4
 move.w -$5838(a4),d0
 bne.s veddc
 move.w #1,-(a7)
 move.w d6,d0
 movea.l -$28ce(a4),a0
 asl.l #1,d0
 lea $c(a0),a0
 adda.w d0,a0
 move.w (a0),d0
 mulu d4,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.w d6,d1
 asl.l #2,d1
 lea -$2920(a4),a0
 adda.w d1,a0
 move.l d0,(a0)
veddc move.w d6,d0
 asl.l #2,d0
 lea -$2920(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
 move.w d4,d0
 mulu d5,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.w d6,d0
 asl.l #2,d0
 lea -$2920(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vee10
 bra vefde
vee10 move.w -$2da6(a4),d0
 beq.s vee7e
 cmpi.w #4,d6
 beq.s vee22
 cmpi.w #$e,d6
 blt.s vee36
vee22 move.w d6,d0
 movea.l -$28ce(a4),a0
 asl.l #1,d0
 lea $c(a0),a0
 adda.w d0,a0
 move.w (a0),d0
 add.w d0,-$32be(a4)
vee36 move.w d4,d1
 lsr.w #1,d1
 move.w d1,d4
 move.w d1,-$1e(a6)
 move.w d5,d1
 mulu -$1e(a6),d1
 and.l #$ffff,d1
 asl.l #1,d1
 move.l a3,d0
 add.l d1,d0
 movea.l d0,a3
 lea -$1c86(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d5
 bra.s vee7a
vee62 move.w #$ffff,(a3)
 move.w d5,d0
 subq.w #1,d5
 move.w d4,d1
 and.l #$ffff,d1
 asl.l #1,d1
 move.l a3,d0
 add.l d1,d0
 movea.l d0,a3
vee7a move.w d5,d0
 bne.s vee62
vee7e addq.w #1,d6
vee80 cmpi.w #$10,d6
 blt ved4e
 move.w -$5838(a4),d0
 bne.s veeac
 move.w #1,-(a7)
 movea.l -$28ce(a4),a0
 move.w 2(a0),d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28c6(a4)
veeac movea.l -$28ce(a4),a0
 move.w 2(a0),-(a7)
 pea -8(a6)
 move.l -$28c6(a4),-(a7)
 jsr vd214(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s veecc
 bra vefde
veecc move.w #2,-(a7)
 pea -6(a6)
 jsr vd062(pc)
 addq.l #6,a7
 tst.w d0
 beq.s veeec
 move.w -6(a6),d0
 cmp.w -8(a6),d0
 beq.s veeec
 bra vefde
veeec move.w -$5838(a4),d0
 bne vefc0
 pea ve31a(pc)
 jsr $72(a5)
 addq.l #4,a7
 cmpi.w #$bf98,d0
 bne vefc0
 move.w #1,-(a7)
 move.w -$28dc(a4),d0
 add.w d7,d0
 mulu #4,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$28d2(a4)
 move.l -$28d2(a4),d0
 move.w d7,d1
 ext.l d1
 asl.l #2,d1
 add.l d1,d0
 movea.l d0,a2
 clr.w d5
 bra vefb8
vef3a move.w d5,d0
 asl.l #2,d0
 movea.l -$28d2(a4),a0
 adda.w d0,a0
 move.l a2,(a0)
 move.l -$28c6(a4),d0
 move.w d5,d1
 muls #$10,d1
 movea.l -$28ca(a4),a0
 adda.w d1,a0
 move.w (a0),d3
 and.l #$ffff,d3
 add.l d3,d0
 move.l d0,-4(a6)
 move.l d0,(a2)+
 move.w #1,d6
 bra.s vef9a
vef6c move.w d5,d1
 muls #$10,d1
 movea.l -$28ca(a4),a0
 adda.w d1,a0
 move.w 8(a0),d1
 and.w #$f800,d1
 lsr.w #3,d1
 lsr.w #8,d1
 addq.w #1,d1
 move.l -4(a6),d0
 and.l #$ffff,d1
 add.l d1,d0
 move.l d0,-4(a6)
 move.l d0,(a2)+
 addq.w #1,d6
vef9a move.w d6,d0
 move.w d5,d1
 muls #$10,d1
 movea.l -$28ca(a4),a0
 adda.w d1,a0
 move.w 8(a0),d1
 and.w #$7c0,d1
 lsr.w #6,d1
 cmp.w d1,d0
 bls.s vef6c
 addq.w #1,d5
vefb8 move.w d5,d0
 cmp.w d7,d0
 blt vef3a
vefc0 move.w -$5848(a4),d0
 beq.s vefd4
 clr.w -$5848(a4)
 move.l -$12(a6),-(a7)
 jsr $5ca(a5)
 addq.l #4,a7
vefd4 jsr vd2a8(pc)
 move.w #1,d0
 bra.s vefe2
vefde move.w #0,d0
vefe2 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vefea link a6,#-$2e4
 movem.l d5-d7/a3,-(a7)
 clr.w d5
 move.w #2,-$5844(a4)
 move.w #1,-$5846(a4)
 move.w #1,-$5842(a4)
 move.w #$a,-$5840(a4)
 movea.l #0,a3
 move.w -$2da6(a4),d0
 beq.s vf090
 move.w #1,-(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 tst.w d0
 seq d0
 and.w #1,d0
 move.w d0,d5
 clr.w -(a7)
 pea $55a(a4)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5832(a4)
 tst.w -$5832(a4)
 bge.s vf054
 move.w #$32,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
vf052 bra.s vf052
vf054 clr.w -$583a(a4)
 clr.w -$2db4(a4)
 move.w #$ffff,-$40c0(a4)
 jsr $90(a5)
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $90(a5)
 move.l d0,d1
 move.l (a7)+,d0
 move.l d0,-(a7)
 move.w d1,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr $168(a5)
 move.l (a7)+,d0
 move.l d0,-$583e(a4)
 bra vf396
vf090 movea.l #0,a3
 move.w #2,-(a7)
 move.l -$5954(a4),-(a7)
 pea -$32(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
 move.w #2,-(a7)
 move.l -$5970(a4),-(a7)
 pea -$64(a6)
 jsr vcfd6(pc)
 adda.w #$a,a7
vf0be cmpi.w #1,-$59c2(a4)
 bne.s vf0da
 move.w #2,-(a7)
 jsr w098a(pc)
 addq.l #2,a7
 cmpi.w #1,d0
 bne.s vf0d8
 bra.s vf13c
vf0d8 bra.s vf0e4
vf0da cmpa.l #0,a3
 bne.s vf0e4
 bra.s vf13c
vf0e4 cmpa.l #0,a3
 move.l #$10001,-(a7)
 move.w #1,-(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5988(a4),-(a7)
 move.l -$5974(a4),-(a7)
 pea -$32(a6)
 move.l a3,-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 move.l #$20001,-(a7)
 move.l #$20001,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 move.w d0,d7
 cmpi.w #2,d7
 bne.s vf13c
vf128 move.w #1,-(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 move.w #$ffff,d0
 bra vf518
vf13c move.w #1,-(a7)
 jsr w0b68(pc)
 addq.l #2,a7
 cmpi.w #1,d0
 bne.s vf1bc
 clr.w d6
 clr.w -(a7)
 move.l -$59c8(a4),-(a7)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5832(a4)
 tst.w d0
 bge.s vf1ba
 clr.w -(a7)
 move.l -$59cc(a4),-(a7)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5832(a4)
 tst.w d0
 blt.s vf184
 move.w #1,d6
 bra.s vf1ba
vf184 move.w -$5838(a4),d0
 bne.s vf1b0
 clr.w -(a7)
 pea $568(a4)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5832(a4)
 tst.w d0
 blt.s vf1b0
 move.w #1,d5
 move.w #1,-$2da6(a4)
 bra vf054
vf1b0 movea.l -$5930(a4),a3
 move.w #3,-$59c4(a4)
vf1ba bra.s vf1f2
vf1bc tst.w -$59c4(a4)
 bne.s vf1c8
 movea.l -$593c(a4),a3
 bra.s vf1f2
vf1c8 cmpi.w #3,-$59c4(a4)
 bne.s vf1d6
 movea.l -$5948(a4),a3
 bra.s vf1f2
vf1d6 cmpi.w #2,-$59c4(a4)
 bne.s vf1e4
 movea.l -$5944(a4),a3
 bra.s vf1f2
vf1e4 cmpi.w #4,-$59c4(a4)
 bne.s vf1f2
 lea -$64(a6),a0
 movea.l a0,a3
vf1f2 cmpi.w #1,-$59c4(a4)
 bne vf0e4
 pea -$2e4(a6)
 jsr ve014(pc)
 addq.l #4,a7
 tst.w d0
 bne.s vf20e
 bra vf4c0
vf20e move.w -$5838(a4),d0
 beq.s vf226
 move.l -$1b0(a6),d0
 cmp.l -$583e(a4),d0
 beq.s vf226
 movea.l -$594c(a4),a3
 bra vf0be
vf226 move.l -$1b0(a6),-$583e(a4)
 move.w #$84,-(a7)
 pea -$5918(a4)
 pea -$168(a6)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w d0
 move.b -$1b7(a6),d0
 cmp.w #1,d0
 beq.s vf258
 cmpi.w #1,-$16c(a6)
 beq.s vf258
 bra vf4c0
vf258 move.w -$18c(a6),-(a7)
 move.w -$1ac(a6),-(a7)
 move.w #$80,-(a7)
 pea -$e4(a6)
 jsr vd180(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vf278
 bra vf4c0
vf278 move.l -$e4(a6),d0
 move.l d0,-$2dc6(a4)
 move.l d0,-$2dd4(a4)
 move.l -$e0(a6),-$2ed2(a4)
 move.w -$da(a6),-$2db4(a4)
 move.w -$d8(a6),-$2db6(a4)
 move.w -$d6(a6),-$2db8(a4)
 move.w -$d4(a6),-$2dba(a4)
 move.w -$d2(a6),-$2dbc(a4)
 move.w -$d0(a6),-$40b8(a4)
 move.w -$ce(a6),-$4f2a(a4)
 move.w -$cc(a6),-$32c8(a4)
 move.w -$ca(a6),-$32ca(a4)
 move.w -$c8(a6),-$32be(a4)
 move.w -$c6(a6),-$32d6(a4)
 move.l -$c4(a6),-$3296(a4)
 move.l -$c0(a6),-$329a(a4)
 move.w -$bc(a6),-$2dbe(a4)
 move.w -$ba(a6),-$2dc0(a4)
 move.w -$b8(a6),-$2dc2(a4)
 move.w -$dc(a6),-$40c0(a4)
 move.w -$b6(a6),-$32d4(a4)
 move.w -$5838(a4),d0
 bne.s vf304
 jsr $35a(a5)
 jsr $2c4(a5)
vf304 move.w -$18a(a6),-(a7)
 move.w -$1aa(a6),-(a7)
 move.w #$10,d0
 mulu -$32d4(a4),d0
 move.w d0,-(a7)
 move.l -$32d2(a4),-(a7)
 jsr vd180(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vf32a
 bra vf4c0
vf32a move.w -$188(a6),-(a7)
 move.w -$1a8(a6),-(a7)
 move.w #$d00,-(a7)
 pea -$4062(a4)
 jsr vd180(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vf34a
 bra vf4c0
vf34a move.w -$186(a6),-(a7)
 move.w -$1a6(a6),-(a7)
 move.w #$a,d0
 mulu -$32be(a4),d0
 move.w d0,-(a7)
 move.l -$32c2(a4),-(a7)
 jsr vd180(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vf370
 bra vf4c0
vf370 move.w -$184(a6),-(a7)
 move.w -$1a4(a6),-(a7)
 move.w #2,d0
 mulu -$32be(a4),d0
 move.w d0,-(a7)
 move.l -$32c6(a4),-(a7)
 jsr vd180(pc)
 adda.w #$a,a7
 tst.w d0
 bne.s vf396
 bra vf4c0
vf396 jsr vea20(pc)
 tst.w d0
 bne.s vf3a2
 bra vf4c0
vf3a2 move.w -$5832(a4),-(a7)
 move.w #$3e,-(a7)
 jsr $96(a5)
 addq.l #4,a7
 move.w -$2da6(a4),d0
 beq.s vf3fe
 jsr $35a(a5)
 jsr $2c4(a5)
 move.w d5,d0
 beq.s vf3ee
 pea -$2e8a(a4)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 pea -$2eca(a4)
 jsr vf520(pc)
 addq.l #4,a7
vf3ee move.w #1,-(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 bra vf4b6
vf3fe clr.w d0
 move.b -$1b8(a6),d0
 move.w d0,-$5846(a4)
 clr.w d0
 move.b -$1b7(a6),d0
 cmp.w #1,d0
 bne.s vf454
 movea.l -$28ce(a4),a0
 clr.w d7
 move.b 4(a0),d7
 cmpi.w #$e,d7
 bne.s vf436
 movea.l -$28ce(a4),a0
 cmpi.w #$63,(a0)
 bne.s vf436
 move.w #$a,-$5840(a4)
 bra.s vf452
vf436 cmpi.w #$a,d7
 bne.s vf44e
 movea.l -$28ce(a4),a0
 cmpi.w #$4c,(a0)
 bne.s vf44e
 move.w #$d,-$5840(a4)
 bra.s vf452
vf44e clr.w -$5840(a4)
vf452 bra.s vf46a
vf454 clr.w d0
 move.b -$1b7(a6),d0
 move.w d0,-$5844(a4)
 move.w -$16c(a6),-$5842(a4)
 move.w -$16a(a6),-$5840(a4)
vf46a move.w #1,-$583a(a4)
 move.w d6,d0
 beq.s vf48a
 move.l -$59c8(a4),-(a7)
 move.l -$59cc(a4),-(a7)
 clr.w -(a7)
 move.w #$56,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
vf48a move.l #$10001,-(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 move.l #$10001,-(a7)
 move.w #1,-(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5964(a4),-(a7)
 clr.l -(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
vf4b6 clr.w -$2db0(a4)
 move.w #1,d0
 bra.s vf518
vf4c0 pea -$2eca(a4)
 jsr vf520(pc)
 addq.l #4,a7
 move.w -$5838(a4),d0
 beq.s vf508
 move.l #$10001,-(a7)
 move.w #1,-(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5984(a4),-(a7)
 move.l -$5958(a4),-(a7)
 move.l -$5950(a4),-(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l #$10001,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 bra vf128
vf508 move.l -$5950(a4),-(a7)
 move.w #9,-(a7)
 jsr $96(a5)
 addq.l #6,a7
vf516 bra.s vf516
vf518 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
vf520 link a6,#-4
 movem.l d4-d7/a3,-(a7)
 movea.l #$ffff8240,a3
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d0,-4(a6)
 clr.w d4
 bra vf5f4
vf544 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 clr.w d5
 bra vf5ea
vf554 move.w d5,d7
 asl.l #1,d7
 movea.l a3,a0
 adda.w d7,a0
 move.w (a0),d7
 move.w d5,d6
 asl.l #1,d6
 movea.l 8(a6),a0
 adda.w d6,a0
 move.w (a0),d6
 move.w d7,d0
 and.w #7,d0
 move.w d6,d1
 and.w #7,d1
 cmp.w d1,d0
 bls.s vf57c
 subq.w #1,d7
vf57c move.w d7,d0
 and.w #7,d0
 move.w d6,d1
 and.w #7,d1
 cmp.w d1,d0
 bcc.s vf58e
 addq.w #1,d7
vf58e move.w d7,d0
 and.w #$70,d0
 move.w d6,d1
 and.w #$70,d1
 cmp.w d1,d0
 bls.s vf5a2
 sub.w #$10,d7
vf5a2 move.w d7,d0
 and.w #$70,d0
 move.w d6,d1
 and.w #$70,d1
 cmp.w d1,d0
 bcc.s vf5b6
 add.w #$10,d7
vf5b6 move.w d7,d0
 and.w #$700,d0
 move.w d6,d1
 and.w #$700,d1
 cmp.w d1,d0
 bls.s vf5ca
 sub.w #$100,d7
vf5ca move.w d7,d0
 and.w #$700,d0
 move.w d6,d1
 and.w #$700,d1
 cmp.w d1,d0
 bcc.s vf5de
 add.w #$100,d7
vf5de move.w d5,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w d7,(a0)
 addq.w #1,d5
vf5ea cmpi.w #$10,d5
 blt vf554
 addq.w #1,d4
vf5f4 cmpi.w #8,d4
 blt vf544
 move.l -4(a6),-(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
vf612 link a6,#-$154
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -$5a00(a4)
 cmpi.l #$21b4c,-$5b12(a4)
 bge.s vf62c
 bra vf944
vf62c clr.w -(a7)
 move.l #$207c0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,d4
 add.l #$100,d4
 and.l #$ffffff00,d4
 clr.w -(a7)
 clr.w -(a7)
 move.l d4,d0
 movea.l d0,a3
 move.l d0,-(a7)
 move.w #1,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 add.l #$7d00,d4
 move.l -$2ece(a4),d0
 move.l d0,-4(a6)
 movea.l d0,a2
 move.l a3,d0
 move.l d0,-8(a6)
 move.l d0,-$5c(a6)
 move.l #$20002,-(a7)
 move.w #$10,-(a7)
 pea -$154(a6)
 jsr $2a(a5)
 adda.w #$a,a7
 pea -$154(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$7d00,-(a7)
 move.l a2,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.l #$a0ffff,-(a7)
 move.l #$8900a0,-(a7)
 clr.w -(a7)
 pea -$34(a4)
 move.l -$2ece(a4),-(a7)
 move.l a3,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w #$777,-$136(a6)
 pea -$154(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.l #$a0ffff,-(a7)
 move.l #$5000a0,-(a7)
 clr.w -(a7)
 pea -$2c(a4)
 move.l d4,d0
 move.l d0,-$60(a6)
 move.l d0,-(a7)
 move.l a3,-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 add.l #$23a0,d4
 move.w #$c,d6
 move.w #$30,d5
 clr.w d7
 bra vf7bc
vf70c move.l d4,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$58(a6),a0
 adda.w d1,a0
 move.l d0,(a0)
 pea -$9c(a4)
 move.w d6,-(a7)
 move.w d5,-(a7)
 move.l #$1400050,-(a7)
 move.l d4,-(a7)
 move.l a3,-(a7)
 jsr $1da(a5)
 adda.w #$14,a7
 move.w #$140,d0
 sub.w d5,d0
 ext.l d0
 divs #2,d0
 move.w d7,d1
 muls #$a,d1
 lea -$134(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 add.w d5,d0
 subq.w #1,d0
 move.w d7,d1
 muls #$a,d1
 lea -$132(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$a0,d0
 sub.w d6,d0
 ext.l d0
 divs #2,d0
 move.w d7,d1
 muls #$a,d1
 lea -$130(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 add.w d6,d0
 subq.w #1,d0
 move.w d7,d1
 muls #$a,d1
 lea -$12e(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d5,d0
 add.w #$f,d0
 ext.l d0
 divs #$10,d0
 muls #8,d0
 move.w d7,d1
 muls #$a,d1
 lea -$12c(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 mulu d6,d0
 and.l #$ffff,d0
 add.l d0,d4
 addq.w #4,d6
 add.w #$10,d5
 addq.w #1,d7
vf7bc cmpi.w #$12,d7
 blt vf70c
 move.w #2,-$136(a6)
 pea -$154(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$7d00,-(a7)
 move.l -$5c(a6),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #$ffff,-(a7)
 move.l -$5c(a6),-(a7)
 move.l #$ffffffff,-(a7)
 move.w #5,-(a7)
 jsr $138(a5)
 adda.w #$c,a7
 move.w #$7d00,-(a7)
 move.l a2,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #$ffff,-(a7)
 move.l a2,-(a7)
 move.l #$ffffffff,-(a7)
 move.w #5,-(a7)
 jsr $138(a5)
 adda.w #$c,a7
 move.w #$541,-$14e(a6)
 move.w #$421,-$14c(a6)
 move.w #$651,-$14a(a6)
 move.w #$531,-$148(a6)
 move.w #$772,-$144(a6)
 move.w #$700,-$136(a6)
 move.w #2,-$140(a6)
 move.w #2,-$13c(a6)
 pea -$154(a6)
 jsr vf520(pc)
 addq.l #4,a7
 clr.w d7
 bra vf8de
vf860 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.l #$a0ffff,-(a7)
 move.w d7,d0
 muls #$a,d0
 lea -$12c(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w d7,d0
 muls #$a,d0
 lea -$134(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w d7,d0
 and.w #1,d0
 asl.l #2,d0
 lea -8(a6),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.w d7,d0
 asl.l #2,d0
 lea -$58(a6),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w #$ffff,-(a7)
 move.w d7,d0
 and.w #1,d0
 asl.l #2,d0
 lea -8(a6),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.l #$ffffffff,-(a7)
 move.w #5,-(a7)
 jsr $138(a5)
 adda.w #$c,a7
 addq.w #1,d7
vf8de cmpi.w #$12,d7
 blt vf860
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 clr.w -(a7)
 move.l #$a000a0,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$24(a4)
 move.l -$2ece(a4),-(a7)
 move.l -$60(a6),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 clr.w -$140(a6)
 move.w #$700,-$13c(a6)
 pea -$154(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.l #$207c0,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
vf944 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
vf94c link a6,#-8
 movem.l d7/a3,-(a7)
 lea -$59b0(a4),a0
 movea.l a0,a3
 move.l -$2ece(a4),d0
 add.l #$12c0,d0
 move.l d0,-4(a6)
 move.l $24(a3),d0
 move.l d0,-8(a6)
 move.w #1,d7
vf974 move.w d7,d0
 and.l #$ffff,d0
 divu #3,d0
 swap d0
 cmpi.w #1,d0
 bne.s vf998
 move.l #$910001,-(a7)
 move.l -$59bc(a4),-(a7)
 jsr $b4(a5)
 addq.l #8,a7
vf998 move.w #$5080,-(a7)
 move.l $24(a3),-(a7)
 move.l $20(a3),-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.l #$80ffff,-(a7)
 move.w #$70,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -$3c(a4)
 move.l $24(a3),-(a7)
 move.l -$2da2(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.w -$42(a4),d0
 tst.w d0
 blt.s vfa0e
 move.l #$80ffff,-(a7)
 move.w #$40,-(a7)
 clr.w -(a7)
 move.w d7,d0
 and.w #$fc,d0
 asl.w #2,d0
 move.w d0,-(a7)
 pea -$44(a4)
 move.l $24(a3),-(a7)
 move.w d7,d0
 and.w #3,d0
 asl.l #2,d0
 movea.l a3,a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 subq.w #4,-$42(a4)
vfa0e move.l #$80ffff,-(a7)
 move.w #$40,-(a7)
 clr.w -(a7)
 move.w d7,d0
 and.w #3,d0
 asl.w #2,d0
 move.w d0,-(a7)
 pea -$4c(a4)
 move.l $24(a3),-(a7)
 move.w #4,d0
 move.w d7,d1
 and.w #3,d1
 add.w d1,d0
 asl.l #2,d0
 movea.l a3,a0
 adda.w d0,a0
 move.l (a0),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 addq.w #4,-$4c(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 movem.l d4-d7/a2-a6,-(a7)
 movea.l -4(a6),a0
 movea.l -8(a6),a1
 move.w #$a0,d0
vfa66 movem.l (a1)+,d1-d7/a2-a6
 movem.l d1-d7/a2-a6,(a0)
 movem.l (a1)+,d1-d7/a2-a6
 movem.l d1-d7/a2-a6,$30(a0)
 movem.l (a1)+,d1-d4
 movem.l d1-d4,$60(a0)
 move.b (a1),$70(a0)
 move.b 2(a1),$72(a0)
 move.b 4(a1),$74(a0)
 move.b 6(a1),$76(a0)
 lea $a0(a0),a0
 lea $10(a1),a1
 dbf d0,vfa66
 movem.l (a7)+,d4-d7/a2-a6
 addq.w #1,d7
 move.w d7,d0
 cmpi.w #$20,d0
 bne vf974
 movem.l (a7)+,d7/a3
 unlk a6
 rts
vfabc link a6,#-$aa
 move.w d7,-(a7)
 move.w #$ff,-$2dbc(a4)
 move.w #1,-$2da4(a4)
 move.w #5,-$28bc(a4)
 move.w #5,-$28be(a4)
 lea -$80(a6),a0
 move.l a0,-$28b8(a4)
 lea -$aa(a6),a0
 move.l a0,-$28b0(a4)
 move.w #1,-(a7)
 clr.w -(a7)
 move.w #$19,-(a7)
 pea -$9a(a6)
 jsr $3c(a5)
 adda.w #$a,a7
 clr.w d7
 bra.s vfb2e
vfb04 move.w d7,d0
 mulu #5,d0
 lea -$9a(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$80(a6),a0
 adda.w d1,a0
 move.l d0,(a0)
 move.w d7,d0
 lea -$90(a6),a0
 adda.w d0,a0
 move.b #$20,(a0)
 addq.w #1,d7
vfb2e cmpi.w #5,d7
 bcs.s vfb04
 move.b #$20,-$93(a6)
 pea -$2e8a(a4)
 jsr vf520(pc)
 addq.l #4,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l -$2ece(a4),-(a7)
 move.l -$59b4(a4),-(a7)
 jsr $5d0(a5)
 adda.w #$c,a7
 clr.w -(a7)
 move.l #$20002,-(a7)
 jsr $1e6(a5)
 addq.l #6,a7
 clr.w -$2dde(a4)
 move.w #0,d0
 move.w d0,-$5a00(a4)
 move.l #$80ffff,-(a7)
 move.l #$1e00a0,-(a7)
 clr.w -(a7)
 pea -$54(a4)
 move.l -$5990(a4),-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 move.l #$40ffff,-(a7)
 pea -$5c(a4)
 move.l -$59b0(a4),-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.l #$40ffff,-(a7)
 pea -$64(a4)
 move.l -$59a0(a4),-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 pea -$168(a4)
 jsr vf520(pc)
 addq.l #4,a7
 move.w (a7)+,d7
 unlk a6
 rts
vfbd0 link a6,#-4
 clr.w -(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w 8(a6),-(a7)
 jsr $5dc(a5)
 addq.l #2,a7
 and.l #$ffff,d0
 move.l d0,-4(a6)
 move.l d0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l $a(a6),a0
 move.l d0,(a0)
 move.l d0,-(a7)
 move.w 8(a6),d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 move.l -4(a6),d0
 unlk a6
 rts
vfc18 link a6,#-8
 movem.l d5-d7,-(a7)
 lea -$4224(a4),a0
 move.l a0,-$41e8(a4)
 clr.l -$41ec(a4)
 clr.l -$41f0(a4)
 clr.l -$41f4(a4)
 clr.w d7
 bra.s vfc54
vfc38 clr.w -(a7)
 move.l #$2840,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.w d7,d1
 asl.l #2,d1
 lea -$59b0(a4),a0
 adda.w d1,a0
 move.l d0,(a0)
 addq.w #1,d7
vfc54 cmpi.w #8,d7
 bcs.s vfc38
 clr.w -(a7)
 move.l #$5080,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$5990(a4)
 clr.w -(a7)
 move.l #$5080,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$598c(a4)
 clr.w -(a7)
 clr.w -(a7)
 move.l -$59a0(a4),-(a7)
 move.w #3,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l -$59b0(a4),-(a7)
 move.w #2,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 pea -$59b4(a4)
 move.w #4,-(a7)
 jsr vfbd0(pc)
 addq.l #6,a7
 move.l d0,d6
 pea -$59b8(a4)
 move.w #5,-(a7)
 jsr vfbd0(pc)
 addq.l #6,a7
 add.l d0,d6
 pea -$59bc(a4)
 move.w #$217,-(a7)
 jsr vfbd0(pc)
 addq.l #6,a7
 add.l d0,d6
 pea -$59c0(a4)
 move.w #$216,-(a7)
 jsr vfbd0(pc)
 addq.l #6,a7
 add.l d0,d6
 jsr $600(a5)
 clr.w -$5a00(a4)
 clr.w -8(a6)
 move.w #$64,-6(a6)
 clr.w -4(a6)
 move.w #$a0,-2(a6)
 move.w #1,d7
 bra.s vfd3c
vfd08 move.l #$40ffff,-(a7)
 move.w #$40,-(a7)
 clr.w -(a7)
 move.w d7,d0
 asl.w #2,d0
 move.w d0,-(a7)
 pea -8(a6)
 move.w d7,d0
 asl.l #2,d0
 lea -$59b0(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.l -$59b0(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 subq.w #4,-6(a6)
 addq.w #1,d7
vfd3c cmpi.w #4,d7
 bcs.s vfd08
 move.w #$7f,-6(a6)
 move.w #5,d7
 bra.s vfd7e
vfd4e addq.w #4,-8(a6)
 move.l #$40ffff,-(a7)
 move.w #$40,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 pea -8(a6)
 move.w d7,d0
 asl.l #2,d0
 lea -$59b0(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 move.l -$59a0(a4),-(a7)
 jsr $1e0(a5)
 adda.w #$16,a7
 addq.w #1,d7
vfd7e cmpi.w #8,d7
 bcs.s vfd4e
vfd84 jsr vfabc(pc)
 jsr $a8(a5)
 jsr $52e(a5)
 move.w #$63,-$2da6(a4)
vfd96 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 jsr $51c(a5)
 cmpi.w #$63,-$2da6(a4)
 beq.s vfd96
 cmpi.w #$ca,-$2da6(a4)
 beq.s vfd84
 move.l #$700001,-(a7)
 move.l -$59c0(a4),-(a7)
 jsr $b4(a5)
 addq.l #8,a7
 move.w #$14,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 jsr $24(a5)
 move.w -$2da6(a4),d0
 beq.s vfddc
 jsr vf94c(pc)
vfddc move.l d6,d0
 add.l #$14200,d0
 add.l #$a100,d0
 move.l d0,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 movem.l (a7)+,d5-d7
 unlk a6
 rts
vfdfa link a6,#-2
 move.w #$708,-2(a6)
 jsr $24(a5)
 pea -$2e8a(a4)
 jsr vf520(pc)
 addq.l #4,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l -$2ece(a4),-(a7)
 move.l -$59b8(a4),-(a7)
 jsr $5d0(a5)
 adda.w #$c,a7
 pea -$148(a4)
 jsr vf520(pc)
 addq.l #4,a7
vfe30 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 subq.w #1,-2(a6)
 move.w -2(a6),d0
 beq.s vfe58
 move.w -$5a58(a4),d0
 bne.s vfe58
 move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 beq.s vfe30
vfe58 move.w #$ca,-$2da6(a4)
 unlk a6
 rts
vfe62 link a6,#-$32
 movem.l a2-a3,-(a7)
 movea.l $e(a6),a3
 lea -$32(a6),a0
 movea.l a0,a2
 bra.s vfe90
vfe76 move.b (a2),d0
 ext.w d0
 cmp.w #$41,d0
 blt.s vfe8e
 move.b (a2),d0
 ext.w d0
 cmp.w #$5a,d0
 bgt.s vfe8e
 subi.b #$40,(a2)
vfe8e addq.l #1,a2
vfe90 move.b (a3)+,(a2)
 bne.s vfe76
 pea -$32(a6)
 move.w #$c,-(a7)
 move.w $c(a6),-(a7)
 move.w $a(a6),-(a7)
 move.w 8(a6),-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 movem.l (a7)+,a2-a3
 unlk a6
 rts
vfeb8 link a6,#-$8e
 movem.l d4-d7/a2-a3,-(a7)
 move.w #1,-$84(a6)
 clr.w -(a7)
 jsr $144(a5)
 addq.l #2,a7
 jsr $24(a5)
 clr.l -$41e8(a4)
 clr.l -$41ec(a4)
 clr.l -$41f0(a4)
 clr.l -$41f4(a4)
 move.w 8(a6),d0
 beq.s vff0c
 move.w -$2dae(a4),d0
 bne.s vff0c
 clr.w -(a7)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w #6,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w #$f0,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
vff0c clr.w -(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 jsr $5fa(a5)
 movea.l -$836(a4),a3
 move.w 8(a6),d0
 beq.s vff62
 movea.l a3,a2
 adda.l #$230,a3
 clr.w -(a7)
 clr.w -(a7)
 move.l a2,-(a7)
 move.w #6,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 move.w -$2dae(a4),d0
 beq.s vff62
 move.l a3,-$e(a6)
 adda.l #$560,a3
 clr.w -(a7)
 clr.w -(a7)
 move.l -$e(a6),-(a7)
 move.w #$d0,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
vff62 clr.w -(a7)
 clr.w -(a7)
 move.l a3,d0
 move.l d0,-$a(a6)
 move.l d0,-(a7)
 move.w #$8005,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 jsr $600(a5)
 move.w -$2dda(a4),d0
 beq w001c
 move.w #$20,-(a7)
 pea -$4e(a6)
 pea -$2eca(a4)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w d6
 bra.s vfff2
vff9e move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 clr.w d7
 bra.s vffea
vffac move.w d7,d0
 asl.l #1,d0
 lea -$2eaa(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr ve11c(pc)
 addq.l #2,a7
 move.w d7,d1
 asl.l #1,d1
 lea -$2eaa(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d7,d0
 asl.l #1,d0
 lea -$2eca(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr ve11c(pc)
 addq.l #2,a7
 move.w d7,d1
 asl.l #1,d1
 lea -$2eca(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d7
vffea cmpi.w #$10,d7
 blt.s vffac
 addq.w #1,d6
vfff2 cmpi.w #7,d6
 ble.s vff9e
 clr.w -$2dda(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #$20,-(a7)
 pea -$2eca(a4)
 pea -$4e(a6)
 jsr 6(a5)
 adda.w #$a,a7
 bra.s w0026
w001c pea -$2e8a(a4)
 jsr vf520(pc)
 addq.l #4,a7
w0026 move.w 8(a6),d0
 beq w034e
 move.w -$2dae(a4),d0
 beq w01e2
 move.l #$c0fa0,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $1c8(a5)
 addq.l #8,a7
 clr.w d7
 bra w01cc
w004c move.w d7,d6
 muls #$30,d6
 move.w d7,d0
 muls #$320,d0
 lea -$4062(a4),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-6(a6)
 move.l #$20000a,-(a7)
 pea -$84(a4)
 move.l -$e(a6),-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.l #$100001,-(a7)
 pea -$8c(a4)
 movea.l -6(a6),a0
 lea $150(a0),a0
 move.l a0,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 movea.l -6(a6),a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w #9,-(a7)
 move.w d6,d0
 add.w #$e,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #$57,-(a7)
 jsr vfe62(pc)
 adda.w #$a,a7
 movea.l -6(a6),a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr $6c(a5)
 addq.l #4,a7
 move.w d0,-$8e(a6)
 move.w #6,d0
 muls -$8e(a6),d0
 add.w #$57,d0
 move.w d0,d5
 movea.l -6(a6),a0
 move.b 8(a0),-1(a6)
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$2c,d0
 beq.s w0108
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$3b,d0
 beq.s w0108
 move.b -1(a6),d0
 ext.w d0
 cmp.w #$2d,d0
 beq.s w0108
 addq.w #6,d5
w0108 movea.l -6(a6),a0
 lea 8(a0),a0
 move.l a0,-(a7)
 move.w #9,-(a7)
 move.w d6,d0
 addq.w #1,d6
 move.w d0,-(a7)
 move.w d5,-(a7)
 jsr vfe62(pc)
 adda.w #$a,a7
 clr.w d5
 bra w01aa
w012c move.w d5,d0
 or.w #$c000,d0
 move.w d0,-(a7)
 move.w d7,-(a7)
 jsr $3f6(a5)
 addq.l #4,a7
 move.w d0,-(a7)
 move.w #$10,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #1,d4
 bne.s w0152
 bra.s w01a8
w0152 move.w d4,d0
 asl.l #2,d0
 lea -$4182(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$82(a6)
 jsr $5a(a5)
 addq.l #8,a7
 pea $578(a4)
 pea -$82(a6)
 jsr $78(a5)
 addq.l #8,a7
 move.w d5,d0
 asl.l #2,d0
 lea -$40d4(a4),a0
 adda.w d0,a0
 move.l (a0),-(a7)
 pea -$82(a6)
 jsr $78(a5)
 addq.l #8,a7
 pea -$82(a6)
 move.w #$d,-(a7)
 move.w d6,d0
 addq.w #8,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.w #$69,-(a7)
 jsr vfe62(pc)
 adda.w #$a,a7
w01a8 addq.w #1,d5
w01aa cmpi.w #3,d5
 ble w012c
 addi.w #$30,-$80(a4)
 addi.w #$30,-$7e(a4)
 addi.w #$30,-$88(a4)
 addi.w #$30,-$86(a4)
 addq.w #1,d7
w01cc move.w d7,d0
 cmp.w -$2db4(a4),d0
 bcs w004c
 pea -$4e(a6)
 jsr vf520(pc)
 addq.l #4,a7
w01e0 bra.s w01e0
w01e2 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.l #$28ffff,-(a7)
 pea -$6c(a4)
 move.l a2,-(a7)
 jsr $a2(a5)
 adda.w #$c,a7
 move.l #$20002,-(a7)
 move.w #$10,-(a7)
 pea -$6e(a6)
 jsr $2a(a5)
 adda.w #$a,a7
 move.w #$20,-(a7)
 pea -$2e(a6)
 pea -$6e(a6)
 jsr 6(a5)
 adda.w #$a,a7
 move.w #$777,-$10(a6)
 pea -$2e(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w -$84(a6),d0
 beq.s w024e
 move.w #$12c,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
w024e move.w -$583a(a4),d0
 beq w0344
 clr.w -$5a00(a4)
 move.l #$100a0,-(a7)
 pea -$74(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$7c(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 pea $57a(a4)
 clr.w -(a7)
 move.l #$9a0004,-(a7)
 move.w #$6e,-(a7)
 jsr $108(a5)
 adda.w #$c,a7
 move.w #$437,-$2c(a6)
 move.w #$777,-$26(a6)
 lea -$423c(a4),a0
 move.l a0,-$41e8(a4)
 jsr $52e(a5)
 jsr $a8(a5)
 pea -$2e(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$384,d7
 bra.s w02d8
w02ca jsr $51c(a5)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
w02d8 subq.w #1,d7
 move.w d7,d0
 beq.s w02e4
 move.w -$5838(a4),d0
 beq.s w02ca
w02e4 jsr $24(a5)
 move.w -$5838(a4),d0
 beq.s w0344
 pea -$6e(a6)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 pea -$228(a4)
 jsr vf520(pc)
 addq.l #4,a7
 move.w #$20,-(a7)
 pea -$2eaa(a4)
 pea -$228(a4)
 jsr 6(a5)
 adda.w #$a,a7
 clr.w -$2da6(a4)
 jsr vefea(pc)
 cmpi.w #$ffff,d0
 beq.s w0344
 jsr w14f2(pc)
 clr.w -$5838(a4)
 jsr $a8(a5)
 jsr $52e(a5)
 bra.s w03a0
w0344 pea -$6e(a6)
 jsr vf520(pc)
 addq.l #4,a7
w034e clr.w -(a7)
 clr.w -(a7)
 move.l -$2ece(a4),-(a7)
 move.l -$a(a6),-(a7)
 jsr $5d0(a5)
 adda.w #$c,a7
 pea -$148(a4)
 jsr vf520(pc)
 addq.l #4,a7
w036c move.w -$5a58(a4),d0
 bne.s w0380
 move.w #$b,-(a7)
 jsr $96(a5)
 addq.l #2,a7
 tst.w d0
 beq.s w036c
w0380 move.w -$583a(a4),d0
 beq.s w039e
 move.w 8(a6),d0
 beq.s w039e
 clr.w -$84(a6)
 pea -$6e(a6)
 jsr vf520(pc)
 addq.l #4,a7
 bra w01e2
w039e bra.s w039e
w03a0 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w03a8 link a6,#0
 jsr $3ae(a5)
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 move.w -$2dba(a4),-(a7)
 jsr $1e6(a5)
 addq.l #6,a7
 jsr $de(a5)
 addq.l #1,-$2dc6(a4)
 unlk a6
 rts
w03ce link a6,#-$e2
 movem.l d4-d7/a2-a3,-(a7)
 move.w #1,-$2dae(a4)
 move.w -$40e6(a4),d0
 beq.s w03ec
 move.w #4,-(a7)
 jsr $44a(a5)
 addq.l #2,a7
w03ec jsr $546(a5)
 move.w #$c8,-$33e2(a4)
 jsr $4ce(a5)
 move.w #$64,d0
 move.w d0,-$33de(a4)
 move.w d0,-$33da(a4)
 move.w d0,-$33dc(a4)
 jsr $384(a5)
 jsr w03a8(pc)
 move.w -$2db6(a4),-4(a6)
 move.w -$2db8(a4),-6(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c5e(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -4(a6),d0
 add.w d1,d0
 move.w d0,-4(a6)
 move.w -$2dba(a4),d1
 asl.l #1,d1
 lea -$1c66(a4),a0
 adda.w d1,a0
 move.w (a0),d1
 move.w -6(a6),d0
 add.w d1,d0
 move.w d0,-6(a6)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,-8(a6)
 move.w d0,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a3
 move.w #$2710,6(a3)
 move.w -$2dbc(a4),-(a7)
 move.w #$ff,-(a7)
 move.l a3,-(a7)
 jsr $32a(a5)
 addq.l #8,a7
 move.w -$2dbc(a4),-(a7)
 move.w -$2dba(a4),d0
 addq.w #2,d0
 and.w #3,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 jsr $330(a5)
 addq.l #8,a7
 move.w #1,d7
 move.w -$2db6(a4),d6
 move.w -$2db8(a4),d5
w04a4 move.w d5,-(a7)
 move.w d6,-(a7)
 jsr $324(a5)
 addq.l #4,a7
 move.w d0,d4
 bra.s w04f8
w04b2 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #$f,d0
 bne.s w04ee
 move.w d4,-(a7)
 jsr $312(a5)
 addq.l #2,a7
 movea.l d0,a2
 move.w 2(a2),d0
 and.w #$7f,d0
 cmpi.w #$32,d0
 bne.s w04ee
 move.w d5,-(a7)
 move.w d6,-(a7)
 clr.w -(a7)
 move.w d4,-(a7)
 jsr $28e(a5)
 addq.l #8,a7
 move.w #$ffff,(a2)
 bra.s w04a4
w04ee move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
w04f8 cmpi.w #$fffe,d4
 bne.s w04b2
 move.w d7,d0
 beq.s w050e
 clr.w d7
 move.w -4(a6),d6
 move.w -6(a6),d5
 bra.s w04a4
w050e jsr w03a8(pc)
 move.w #$37,d7
 bra.s w053a
w0518 move.w #$ff,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w d7,-(a7)
 move.w #$ff80,-(a7)
 jsr $3c0(a5)
 adda.w #$a,a7
 jsr w03a8(pc)
 add.w #$28,d7
w053a cmpi.w #$ff,d7
 ble.s w0518
 move.w #1,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.b #$19,4(a3)
 jsr w03a8(pc)
 move.w #$37,d7
 bra.s w0588
w0566 move.w #$ff,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w d7,-(a7)
 move.w #$ff83,-(a7)
 jsr $3c0(a5)
 adda.w #$a,a7
 jsr w03a8(pc)
 add.w #$28,d7
w0588 cmpi.w #$ff,d7
 ble.s w0566
 move.w #4,d6
 bra.s w05da
w0594 move.w #5,d7
 bra.s w05d6
w059a move.w #1,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.w #$11,-(a7)
 jsr $120(a5)
 addq.l #8,a7
 move.w d7,d0
 and.w #1,d0
 beq.s w05be
 move.w #$19,d0
 bra.s w05c2
w05be move.w #$17,d0
w05c2 move.b d0,4(a3)
 move.w d6,d5
 bra.s w05ce
w05ca jsr w03a8(pc)
w05ce move.w d5,d0
 subq.w #1,d5
 tst.w d0
 bne.s w05ca
w05d6 subq.w #1,d7
 bne.s w059a
w05da subq.w #1,d6
 bne.s w0594
 move.w #$ff,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.l #$ff8000ff,-(a7)
 jsr $3c0(a5)
 adda.w #$a,a7
 move.w #$ff,-(a7)
 move.w -6(a6),-(a7)
 move.w -4(a6),-(a7)
 move.l #$ff8300ff,-(a7)
 jsr $3c0(a5)
 adda.w #$a,a7
 jsr w03a8(pc)
 move.b #$1a,4(a3)
 jsr w03a8(pc)
 move.w #1,-$74c(a4)
 jsr w03a8(pc)
 clr.w d7
 bra.s w066a
w062e clr.w d6
 bra.s w0660
w0632 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $270(a5)
 addq.l #4,a7
 move.w d0,d4
 cmpi.w #$fffe,d0
 beq.s w065e
 move.w d7,d0
 cmp.w -4(a6),d0
 bne.s w0654
 move.w d6,d0
 cmp.w -6(a6),d0
 beq.s w065e
w0654 move.w d6,-(a7)
 move.w d7,-(a7)
 jsr $288(a5)
 addq.l #4,a7
w065e addq.w #1,d6
w0660 move.w d6,d0
 cmp.w -$28be(a4),d0
 blt.s w0632
 addq.w #1,d7
w066a move.w d7,d0
 cmp.w -$28bc(a4),d0
 blt.s w062e
 jsr w03a8(pc)
 clr.w -(a7)
 clr.w -(a7)
 jsr $246(a5)
 addq.l #4,a7
 move.w d0,d4
 clr.w d7
 bra.s w06ae
w0686 move.w d4,d0
 and.w #$3c00,d0
 lsr.w #2,d0
 lsr.w #8,d0
 cmpi.w #2,d0
 bne.s w06a4
 move.w d7,d0
 addq.w #1,d7
 asl.l #1,d0
 lea -$1a(a6),a0
 adda.w d0,a0
 move.w d4,(a0)
w06a4 move.w d4,-(a7)
 jsr $222(a5)
 addq.l #2,a7
 move.w d0,d4
w06ae cmpi.w #$fffe,d4
 bne.s w0686
 move.b #$41,-9(a6)
 move.w d7,d5
 bra.s w0720
w06be clr.w d6
 bra.s w071a
w06c2 move.w #$8001,-(a7)
 move.w d6,d0
 asl.l #1,d0
 lea -$1a(a6),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 pea -$e2(a6)
 jsr $2e8(a5)
 addq.l #8,a7
 move.b -$e1(a6),d0
 move.b -9(a6),d1
 ext.w d1
 ext.w d0
 cmp.w d1,d0
 bne.s w0718
 jsr $11a(a5)
 move.b #$a,-$e1(a6)
 pea -$e1(a6)
 move.w #$f,-(a7)
 jsr $c0(a5)
 addq.l #6,a7
 jsr w03a8(pc)
 move.w #$30c,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 addq.b #1,-9(a6)
 bra.s w0720
w0718 addq.w #1,d6
w071a move.w d6,d0
 cmp.w d5,d0
 blt.s w06c2
w0720 move.w d7,d0
 subq.w #1,d7
 tst.w d0
 bne.s w06be
 move.w #$258,-(a7)
 jsr $19e(a5)
 addq.l #2,a7
 clr.w -$583a(a4)
 move.w #1,-(a7)
 jsr vfeb8(pc)
 addq.l #2,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w0748 link a6,#0
 move.w 8(a6),d0
 bne.s w0754
w0752 bra.s w0752
w0754 unlk a6
 rts
w0758 link a6,#0
 movem.l d4-d7,-(a7)
 pea $58c(a4)
 move.w #9,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l #$ffffffff,-(a7)
 move.w #$48,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 sub.l #$14,d0
 move.l d0,d7
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d0,d4
 movea.l $4f2.w,a1
 move.l $c(a1),d6
 movea.l $14(a1),a0
 move.l 4(a0),d5
 sub.l d6,d5
 move.l d4,-(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d5,-(a7)
 move.l d6,-(a7)
 move.l d7,-(a7)
 move.l d7,-(a7)
 move.w #$48,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d0,-(a7)
 jsr $5e2(a5)
 adda.w #$10,a7
 movem.l (a7)+,d4-d7
 unlk a6
 rts
w07d6 link a6,#0
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w 8(a6),-(a7)
 clr.l -(a7)
 move.l $a(a6),-(a7)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w 8(a6),-(a7)
 clr.l -(a7)
 move.l $a(a6),-(a7)
 move.w #9,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 cmpi.l #$fffffff3,d0
 seq d0
 and.w #1,d0
 unlk a6
 rts
w082e link a6,#-$e
 movem.l d6-d7,-(a7)
 tst.w 8(a6)
 beq w0930
 cmpi.w #1,8(a6)
 bne.s w084e
 move.w -$59d6(a4),-2(a6)
 bra.s w0854
w084e move.w -$59d8(a4),-2(a6)
w0854 move.w #$41,d0
 add.w -2(a6),d0
 move.b d0,-$59fe(a4)
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d0,d7
 lea w0920(pc),a0
 move.l a6,(a0)
 move.l $472.w,-6(a6)
 move.l $47e.w,-$a(a6)
 move.l $476.w,-$e(a6)
 lea w08ca(pc),a0
 move.l a0,$472.w
 move.l a0,d6
 lea w08f0(pc),a0
 move.l a0,$47e.w
 lea w0908(pc),a0
 move.l a0,$476.w
 clr.w -(a7)
 pea -$59fe(a4)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 cmp.l $472.w,d6
 bne.s w0924
 move.l -6(a6),$472.w
 move.l -$a(a6),$47e.w
 move.l -$e(a6),$476.w
 bra.s w0924
w08ca movea.l w0920(pc),a0
 move.w -2(a0),d0
 cmp.w 4(a7),d0
 bne.s w08ea
 move.l -6(a0),$472.w
 move.l -$a(a0),$47e.w
 move.l -$e(a0),$476.w
w08ea movea.l -6(a0),a0
 jmp (a0)
w08f0 movea.l w0920(pc),a0
 move.w -2(a0),d0
 cmp.w 4(a7),d0
 bne.s w0902
 moveq #2,d0
 rts
w0902 movea.l -$a(a0),a0
 jmp (a0)
w0908 movea.l w0920(pc),a0
 move.w -2(a0),d0
 cmp.w $e(a7),d0
 bne.s w091a
 moveq #-$e,d0
 rts
w091a movea.l -$e(a0),a0
 jmp (a0)
w0920 ds.l 1
w0924 move.l d7,-(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
w0930 movem.l (a7)+,d6-d7
 unlk a6
 rts
w0938 link a6,#0
 movem.l d6-d7,-(a7)
 clr.l -(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 move.l d0,d6
 move.w $4a6.w,d7
 move.l d6,-(a7)
 move.w #$20,-(a7)
 jsr $96(a5)
 addq.l #6,a7
 cmpi.w #2,d7
 bne.s w096c
 move.w #1,-$59d8(a4)
 bra.s w0972
w096c move.w #1,-$59c2(a4)
w0972 lea $590(a4),a0
 move.l a0,-$59d0(a4)
 lea $59a(a4),a0
 move.l a0,-$59d4(a4)
 movem.l (a7)+,d6-d7
 unlk a6
 rts
w098a link a6,#0
 movem.l d5-d7/a3,-(a7)
 tst.w 8(a6)
 bne.s w09a0
 move.w #4,d0
 bra w0aa8
w09a0 move.w -$5ad4(a4),d5
 beq.s w09b0
 move.w #1,-$5ad4(a4)
 jsr $600(a5)
w09b0 clr.w -(a7)
 move.l #$400,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 cmpi.w #1,8(a6)
 bne.s w09ce
 move.w -$59d6(a4),d6
 bra.s w09d2
w09ce move.w -$59d8(a4),d6
w09d2 move.w 8(a6),-(a7)
 jsr w082e(pc)
 addq.l #2,a7
 move.w #2,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w d6,-(a7)
 clr.l -(a7)
 move.l a3,-(a7)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 tst.w d0
 beq.s w0a06
 move.w #3,d7
 bra w0a8a
w0a06 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #$a,-(a7)
 move.w d6,-(a7)
 clr.l -(a7)
 move.l a3,-(a7)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 tst.w d0
 bne.s w0a72
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #$f7,-(a7)
 move.w d6,-(a7)
 clr.l -(a7)
 move.l a3,-(a7)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 tst.w d0
 bne.s w0a72
 pea $5a4(a4)
 move.l a3,-(a7)
 jsr $66(a5)
 addq.l #8,a7
 tst.w d0
 bne.s w0a72
 pea $5ce(a4)
 lea $80(a3),a0
 move.l a0,-(a7)
 jsr $66(a5)
 addq.l #8,a7
 tst.w d0
 bne.s w0a72
 clr.w d7
 bra.s w0a8a
w0a72 move.l a3,-(a7)
 move.w d6,-(a7)
 jsr w07d6(pc)
 addq.l #6,a7
 tst.w d0
 beq.s w0a86
 move.w #2,d7
 bra.s w0a8a
w0a86 move.w #1,d7
w0a8a move.l #$400,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 move.w d5,d0
 beq.s w0aa2
 jsr $5fa(a5)
 move.w d5,-$5ad4(a4)
w0aa2 move.w d7,d0
 move.w d0,-$59c4(a4)
w0aa8 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
w0ab0 link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w #1,d6
 move.l -$5b12(a4),d5
 clr.w -(a7)
 move.l d5,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 movea.l d0,a3
 clr.w d7
 bra.s w0b10
w0ad0 cmpi.w #1,d7
 bhi.s w0adc
 move.w #0,d0
 bra.s w0ae0
w0adc move.w #$e5e5,d0
w0ae0 move.w d0,-(a7)
 move.l #$87654321,-(a7)
 move.w #1,-(a7)
 clr.w -(a7)
 move.w d7,-(a7)
 move.w #9,-(a7)
 move.w -$59d8(a4),-(a7)
 clr.l -(a7)
 move.l a3,-(a7)
 move.w #$a,-(a7)
 jsr $138(a5)
 adda.w #$1a,a7
 tst.l d0
 beq.s w0b0e
 bra.s w0b54
w0b0e addq.w #1,d7
w0b10 cmpi.w #$50,d7
 bcs.s w0ad0
 clr.w -(a7)
 move.w #2,-(a7)
 move.l #$1000001,-(a7)
 move.l a3,-(a7)
 move.w #$12,-(a7)
 jsr $138(a5)
 adda.w #$e,a7
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #1,-(a7)
 move.w -$59d8(a4),-(a7)
 clr.l -(a7)
 move.l a3,-(a7)
 move.w #9,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 tst.l d0
 beq.s w0b56
w0b54 clr.w d6
w0b56 move.l d5,-(a7)
 jsr $5be(a5)
 addq.l #4,a7
 move.w d6,d0
 movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
w0b68 link a6,#0
 move.w d7,-(a7)
 cmpi.w #2,8(a6)
 bne.s w0b7c
 move.w #3,d7
 bra.s w0bac
w0b7c lea -$59e8(a4),a0
 move.l a0,-$59c8(a4)
 lea -$59f8(a4),a0
 move.l a0,-$59cc(a4)
 move.w -$59c2(a4),d0
 beq.s w0b98
 move.w #$41,d7
 bra.s w0b9c
w0b98 move.w #$42,d7
w0b9c move.w d7,d0
 move.b d0,-$59e8(a4)
 move.w d7,d0
 move.b d0,-$59f8(a4)
 move.w #1,d7
w0bac move.w #2,-(a7)
 jsr w098a(pc)
 addq.l #2,a7
 cmp.w d7,d0
 bne.s w0bc0
 move.w #1,d0
 bra.s w0bc4
w0bc0 move.w #0,d0
w0bc4 move.w (a7)+,d7
 unlk a6
 rts
w0bca link a6,#0
 movem.l d7/a2-a3,-(a7)
 movea.l 8(a6),a3
 movea.l $c(a6),a2
 move.l $10(a6),d7
 movea.l a3,a0
 lea $14(a3),a3
 moveq #0,d1
w0be6 move.w (a3)+,d1
 moveq #$10,d0
w0bea btst #$f,d1
 beq.s w0c0e
 moveq #2,d2
 bsr.s w0c24
 subq.w #2,d1
 bne.s w0c04
 swap d1
 moveq #4,d2
 bsr.s w0c24
 move.b 4(a0,d1.w),(a2)+
 bra.s w0c16
w0c04 swap d1
 moveq #8,d2
 bsr.s w0c24
 move.b d1,(a2)+
 bra.s w0c16
w0c0e moveq #3,d2
 bsr.s w0c24
 move.b 0(a0,d1.w),(a2)+
w0c16 subq.l #1,d7
 beq.s w0c38
 clr.w d1
 swap d1
 tst.w d0
 bne.s w0bea
 bra.s w0be6
w0c24 cmp.w d2,d0
 bpl.s w0c30
 sub.w d0,d2
 lsl.l d0,d1
 move.w (a3)+,d1
 moveq #$10,d0
w0c30 sub.w d2,d0
 lsl.l d2,d1
 swap d1
 rts
w0c38 movem.l (a7)+,d7/a2-a3
 unlk a6
 rts
w0c40 link a6,#0
 move.w -$2daa(a4),d0
 bne.s w0c92
 jsr $24(a5)
 jsr $546(a5)
 clr.w -$5a00(a4)
 move.w -$40e6(a4),d0
 beq.s w0c62
 jsr $4e0(a5)
 bra.s w0c6e
w0c62 clr.w -(a7)
 pea -$1c(a4)
 jsr $204(a5)
 addq.l #6,a7
w0c6e clr.w -(a7)
 pea -$c(a4)
 jsr $204(a5)
 addq.l #6,a7
 clr.w -(a7)
 pea -$14(a4)
 jsr $204(a5)
 addq.l #6,a7
 clr.w -(a7)
 jsr $144(a5)
 addq.l #2,a7
 jsr $a8(a5)
w0c92 unlk a6
 rts
w0c96 link a6,#0
 move.w d7,-(a7)
 move.w -$2daa(a4),d0
 beq.s w0cb0
 jsr $540(a5)
 clr.w -(a7)
 jsr $1ec(a5)
 addq.l #2,a7
 bra.s w0cf6
w0cb0 move.w -$4f2a(a4),d7
 move.w #$ffff,-$4f2a(a4)
 move.w d7,-(a7)
 jsr $534(a5)
 addq.l #2,a7
 move.w -$4f16(a4),d0
 bne.s w0cce
 move.w #1,-$4f1c(a4)
w0cce jsr $552(a5)
 move.w -$40e6(a4),d7
 beq.s w0cea
 clr.w -$40e6(a4)
 move.w d7,d0
 subq.w #1,d0
 move.w d0,-(a7)
 jsr $44a(a5)
 addq.l #2,a7
 bra.s w0cf2
w0cea jsr $1c2(a5)
 jsr $528(a5)
w0cf2 jsr $192(a5)
w0cf6 clr.w -$2de6(a4)
 move.w (a7)+,d7
 unlk a6
 rts
w0d00 link a6,#0
 movem.l d6-d7/a3,-(a7)
 move.l -4(a4),d0
 add.l #$80,d0
 movea.l d0,a3
 clr.w d7
 move.b (a3)+,d7
 clr.w d6
 bra.s w0d2e
w0d1c movea.l a3,a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 movea.l 8(a6),a0
 adda.w d6,a0
 move.b d0,(a0)
 addq.w #1,d6
w0d2e move.w d6,d0
 cmp.w d7,d0
 blt.s w0d1c
 addq.w #1,d6
 move.w d6,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 clr.b (a0)
 move.w d7,d0
 movem.l (a7)+,d6-d7/a3
 unlk a6
 rts
w0d4a link a6,#0
 move.w 8(a6),d0
 muls $c(a6),d0
 move.w $c(a6),d1
 asr.w #1,d1
 add.w d1,d0
 asr.w #5,d0
 addq.w #7,d0
 and.w #$fff8,d0
 move.w $a(a6),d1
 muls $c(a6),d1
 move.w $c(a6),d2
 asr.w #1,d2
 add.w d2,d1
 asr.w #5,d1
 muls d1,d0
 unlk a6
 rts
w0d7e link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.w #1,-(a7)
 move.l #$cb0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$81a(a4)
 move.w #1,-(a7)
 move.l #$1ea0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$816(a4)
 move.w #1,-(a7)
 move.l #$188,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$82a(a4)
 move.w #1,-(a7)
 move.l #$188,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$826(a4)
 move.w #1,-(a7)
 move.l #$cc0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$82e(a4)
 move.w #1,-(a7)
 move.l #$13f8,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$832(a4)
 move.w #1,-(a7)
 move.l #$3780,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$836(a4)
 move.w #1,-(a7)
 move.l #$880,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$83a(a4)
 move.w #1,-(a7)
 move.l #$880,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$83e(a4)
 move.w #1,-(a7)
 move.l #$90,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$842(a4)
 move.w #1,-(a7)
 move.l #$100,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$846(a4)
 move.w #1,-(a7)
 move.l #$2b0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$84a(a4)
 move.w #1,-(a7)
 move.l #$2c0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$84e(a4)
 move.w #1,-(a7)
 move.l #$618,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$852(a4)
 move.w #1,-(a7)
 move.l #$5e0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$856(a4)
 move.w #1,-(a7)
 move.l #$5e0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$85e(a4)
 move.w #1,-(a7)
 move.l #$7b0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$85a(a4)
 move.w #1,-(a7)
 move.l #$3b80,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$2da2(a4)
 move.l -$2da2(a4),d0
 add.l #$cb0,d0
 move.l d0,-$81e(a4)
 move.l -$81e(a4),d0
 add.l #$1030,d0
 move.l d0,-$822(a4)
 clr.w -(a7)
 clr.w -(a7)
 lea -$1c50(a4),a0
 move.l a0,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.w #$822e,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 lea -$49fa(a4),a0
 move.l a0,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.w #$8231,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 lea -$4f14(a4),a0
 move.l a0,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.w #$8230,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 lea -$2866(a4),a0
 move.l a0,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.w #$822f,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 clr.w -(a7)
 clr.w -(a7)
 lea -$728(a4),a0
 move.l a0,d0
 addq.l #2,d0
 move.l d0,-(a7)
 move.w #$8232,-(a7)
 jsr $606(a5)
 adda.w #$a,a7
 movea.l -$5af2(a4),a0
 move.w #$3b80,(a0)
 movea.l -$5af2(a4),a0
 move.w #$11d0,2(a0)
 movea.l -$5af2(a4),a0
 move.w #$4a0,4(a0)
 movea.l -$5af2(a4),a0
 move.w #$378,6(a0)
 move.w #$f,d7
 bra.s w1002
w0fb8 move.w d7,d0
 add.w #$11e,d0
 move.w d7,d1
 asl.l #2,d1
 lea -$9d2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d7,d0
 asl.l #2,d0
 lea -$9d0(a4),a0
 adda.w d0,a0
 move.w #1,(a0)
 move.w d7,d0
 muls #2,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w #$3d8,$88(a0)
 move.w d7,d0
 muls #2,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w #$7a0,$8a(a0)
 addq.w #1,d7
w1002 cmpi.w #$10,d7
 ble.s w0fb8
 move.w #$f1,-$952(a4)
 move.w #1,-$950(a4)
 move.w #0,d0
 move.w d0,d7
 lea -$15e4(a4),a0
 move.l a0,d0
 movea.l d0,a3
 bra w1110
w1026 move.w #$68,d5
 clr.w d3
 move.b 1(a3),d3
 add.w d3,d5
 move.w #$10,-(a7)
 clr.w d0
 move.b 3(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a3),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$14,-(a7)
 clr.w d0
 move.b 3(a3),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 2(a3),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 clr.w d0
 move.b 4(a3),d0
 and.w #1,d0
 beq.s w10c6
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -4(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d5
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -4(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d5
w10c6 clr.w d0
 move.b 4(a3),d0
 and.w #$10,d0
 beq.s w1108
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -4(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #1,d5
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -4(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
w1108 move.w d7,d0
 addq.w #1,d7
 move.l a3,d0
 addq.l #6,a3
w1110 cmpi.w #$55,d7
 blt w1026
 move.w #0,d0
 move.w d0,d7
 lea -$1638(a4),a0
 move.l a0,d0
 move.l d0,-4(a6)
 bra w11e6
w112c movea.l -4(a6),a0
 move.w 4(a0),d0
 and.w #$100,d0
 bne w11da
 move.w #$11a,d5
 movea.l -4(a6),a0
 clr.w d3
 move.b 1(a0),d3
 add.w d3,d5
 clr.w d6
 bra w11d2
w1152 lea -$1678(a4),a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 movea.l -4(a6),a0
 clr.w d0
 move.b 3(a0),d0
 move.w d0,-(a7)
 movea.l -4(a6),a0
 clr.w d0
 move.b 2(a0),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d0,d4
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 movea.l -4(a6),a0
 move.w 4(a0),d0
 and.w #3,d0
 cmpi.w #3,d0
 beq.s w11ca
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w d4,$c(a0)
 movea.l -4(a6),a0
 move.w 4(a0),d0
 and.w #3,d0
 cmpi.w #2,d0
 beq.s w11ca
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w d4,$18(a0)
w11ca move.w d6,d0
 addq.w #1,d6
 move.w d5,d0
 addq.w #1,d5
w11d2 cmpi.w #6,d6
 blt w1152
w11da move.w d7,d0
 addq.w #1,d7
 move.l -4(a6),d0
 addq.l #6,-4(a6)
w11e6 cmpi.w #$e,d7
 blt w112c
 lea -$1660(a4),a0
 move.l a0,-$748(a4)
 lea -$1670(a4),a0
 move.l a0,-$744(a4)
 lea -$9c(a4),a0
 move.l a0,d0
 move.l d0,-$73c(a4)
 move.l d0,-$740(a4)
 move.w #$1b6,d5
 move.w #0,d0
 move.w d0,d7
 lea -$1640(a4),a0
 move.l a0,d0
 move.l d0,-8(a6)
 bra.s w1292
w1222 move.w #4,d6
 bra.s w1256
w1228 move.w d6,-(a7)
 movea.l -8(a6),a0
 clr.w d0
 move.b 1(a0),d0
 move.w d0,-(a7)
 movea.l -8(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 addq.w #2,d6
w1256 cmpi.w #$20,d6
 blt.s w1228
 cmpi.w #3,d7
 bne.s w1286
 movea.l -8(a6),a0
 move.b (a0),d0
 movea.l -8(a6),a0
 clr.w d1
 move.b 1(a0),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
w1286 move.w d7,d0
 addq.w #1,d7
 move.l -8(a6),d0
 addq.l #2,-8(a6)
w1292 cmpi.w #4,d7
 blt.s w1222
 move.w #$1ef,d5
 clr.w d6
 bra w1476
w12a2 move.w d6,d0
 muls #$c,d0
 lea -$190e(a4),a0
 adda.w d0,a0
 lea (a0),a0
 movea.l a0,a2
 move.w d6,d7
 muls #$1a,d7
 lea -$25bc(a4),a0
 adda.w d7,a0
 move.w (a0),d7
 move.w d5,2(a2)
 move.w #$10,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d0,-$c(a6)
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$14,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d0,-$a(a6)
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d7,d0
 and.w #8,d0
 beq.s w1374
 move.w #$10,-(a7)
 clr.w d0
 move.b 7(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$14,-(a7)
 clr.w d0
 move.b 7(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 6(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
w1374 move.w d7,d0
 and.w #$10,d0
 beq.s w139c
 move.w d5,d0
 addq.w #1,d5
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -$c(a6),(a0)
 move.w d5,d0
 addq.w #1,d5
 asl.l #1,d0
 movea.l -$5af2(a4),a0
 adda.w d0,a0
 move.w -$a(a6),(a0)
w139c move.w d7,d0
 and.w #$20,d0
 beq.s w13f4
 move.w #$10,-(a7)
 clr.w d0
 move.b 9(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 8(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$14,-(a7)
 clr.w d0
 move.b 9(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 8(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
w13f4 move.w d7,d0
 and.w #3,d0
 move.w d0,-$c(a6)
 beq.s w1474
w1400 move.b 4(a2),d0
 clr.w d1
 move.b 5(a2),d1
 and.w #$ff,d0
 muls d1,d0
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$10,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w #$14,-(a7)
 clr.w d0
 move.b 5(a2),d0
 move.w d0,-(a7)
 clr.w d0
 move.b 4(a2),d0
 move.w d0,-(a7)
 jsr w0d4a(pc)
 addq.l #6,a7
 move.w d5,d1
 addq.w #1,d5
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 subq.w #1,-$c(a6)
 bne.s w1400
w1474 addq.w #1,d6
w1476 cmpi.w #$1b,d6
 blt w12a2
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w1486 link a6,#0
 move.w #1,-(a7)
 move.l #$cc0,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$8a6(a4)
 move.w #1,-(a7)
 move.l #$13f8,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$8aa(a4)
 move.w #1,-(a7)
 move.l #$3780,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$8ae(a4)
 move.w #1,-(a7)
 move.l #$880,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$8b2(a4)
 move.w #1,-(a7)
 move.l #$880,-(a7)
 jsr $5d6(a5)
 addq.l #6,a7
 move.l d0,-$8b6(a4)
 unlk a6
 rts
w14f2 link a6,#-2
 clr.w -$2dec(a4)
 clr.w -$2dee(a4)
 clr.w -$2df0(a4)
 clr.w -$2df2(a4)
 clr.w -$2dfe(a4)
 clr.w -$2e00(a4)
 clr.w -$2daa(a4)
 move.w #$f,-$72c(a4)
 clr.w -$72e(a4)
 clr.w -$730(a4)
 clr.w -$4f16(a4)
 move.w #1,-$4f1c(a4)
 clr.w -$5a70(a4)
 move.l #$ffffff,-$32ce(a4)
 lea -$432c(a4),a0
 move.l a0,-$41e8(a4)
 lea -$4398(a4),a0
 move.l a0,-$41ec(a4)
 lea -$47e0(a4),a0
 move.l a0,-$41f0(a4)
 lea -$47fc(a4),a0
 move.l a0,-$41f4(a4)
 move.w -$2dbc(a4),-(a7)
 jsr $1b0(a5)
 addq.l #2,a7
 move.w -$2da6(a4),d0
 bne w15fa
 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 pea -$2eca(a4)
 jsr vf520(pc)
 addq.l #4,a7
 move.l #$10001,-(a7)
 move.w #1,-(a7)
 clr.l -(a7)
 clr.l -(a7)
 clr.l -(a7)
 move.l -$5984(a4),-(a7)
 move.l -$5924(a4),-(a7)
 clr.l -(a7)
 jsr vdb46(pc)
 adda.w #$1e,a7
 clr.w -(a7)
 clr.w -(a7)
 move.l #$10001,-(a7)
 jsr vd69a(pc)
 addq.l #8,a7
 move.w -$5ad4(a4),-2(a6)
 beq.s w15c4
 move.w #1,-$5ad4(a4)
 jsr $600(a5)
w15c4 move.w #1,-(a7)
 clr.w -(a7)
 jsr vdf76(pc)
 addq.l #4,a7
 move.w -2(a6),d0
 beq.s w15e0
 jsr $5fa(a5)
 move.w -2(a6),-$5ad4(a4)
w15e0 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #$7d00,-(a7)
 move.l -$2ece(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 bra.s w164a
w15fa clr.w -$5a00(a4)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$6f4(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$6fc(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
 move.w #$a0,-(a7)
 clr.w -(a7)
 pea -$704(a4)
 move.l -$2ece(a4),-(a7)
 jsr $1ce(a5)
 adda.w #$c,a7
w164a pea -$228(a4)
 move.w #6,-(a7)
 jsr $138(a5)
 addq.l #6,a7
 jsr $528(a5)
 jsr $498(a5)
 move.w #1,-$2dac(a4)
 unlk a6
 rts
w166a link a6,#-$82
 move.w d7,-(a7)
 pea $156(a5)
 move.w #$26,-(a7)
 jsr $138(a5)
 addq.l #6,a7
 pea -$82(a6)
 jsr w0d00(pc)
 addq.l #4,a7
 jsr w0938(pc)
 jsr w0758(pc)
 move.b -$82(a6),d7
 ext.w d7
 cmp.w #$41,d7
 seq d7
 tst.b d7
 beq.s w16ae
 move.b -$81(a6),d7
 ext.w d7
 cmp.w #$55,d7
 seq d7
 tst.b d7
w16ae tst.b d7
 beq.s w16c0
 move.b -$80(a6),d7
 ext.w d7
 cmp.w #$54,d7
 seq d7
 tst.b d7
w16c0 tst.b d7
 beq.s w16d2
 move.b -$7f(a6),d7
 ext.w d7
 cmp.w #$4f,d7
 seq d7
 tst.b d7
w16d2 and.w #1,d7
 jsr $5ee(a5)
 jsr w0d7e(pc)
 move.w d7,-(a7)
 jsr w0748(pc)
 addq.l #2,a7
 jsr vf612(pc)
 clr.w -(a7)
 jsr $1f8(a5)
 addq.l #2,a7
 clr.w -(a7)
 jsr $20a(a5)
 addq.l #2,a7
 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #7,-(a7)
 clr.w -(a7)
 clr.l -(a7)
 pea -$2d9e(a4)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 jsr $1e(a5)
 jsr $36(a5)
 move.w #$20,-(a7)
 pea -$2eaa(a4)
 pea -$228(a4)
 jsr 6(a5)
 adda.w #$a,a7
 move.w #$20,-(a7)
 pea -$2eca(a4)
 pea -$228(a4)
 jsr 6(a5)
 adda.w #$a,a7
 pea $114(a5)
 jsr $24c(a5)
 addq.l #4,a7
 move.l d0,-$5ac8(a4)
 pea $12c(a5)
 jsr $24c(a5)
 addq.l #4,a7
 move.l d0,-$5acc(a4)
 jsr $e4(a5)
 pea $15c(a5)
 move.w #$26,-(a7)
 jsr $138(a5)
 addq.l #6,a7
 move.l #$1a0005,-(a7)
 jsr $138(a5)
 addq.l #4,a7
 jsr $fc(a5)
 move.w #$25,-(a7)
 jsr $138(a5)
 addq.l #2,a7
 jsr vfc18(pc)
 bra.s w17a0
w1798 jsr $5fa(a5)
 jsr vfc18(pc)
w17a0 jsr vefea(pc)
 cmpi.w #1,d0
 bne.s w1798
 jsr $5fa(a5)
 jsr $522(a5)
 jsr $5e8(a5)
 jsr w14f2(pc)
 jsr $600(a5)
 move.w -$2da6(a4),d0
 beq.s w17dc
 move.w -$2db8(a4),-(a7)
 move.w -$2db6(a4),-(a7)
 clr.w -(a7)
 move.l #$ffffffff,-(a7)
 jsr $3a2(a5)
 adda.w #$a,a7
w17dc jsr $a8(a5)
 jsr $52e(a5)
 move.w (a7)+,d7
 unlk a6
 rts
w17ea link a6,#0
 moveq #$1b,d0
 movea.l 8(a6),a1
 move.l #$4e5e4e75,d2
 moveq #0,d1
 cmpi.w #$4ef9,(a1)
 bne.s w1806
 movea.l 2(a1),a1
w1806 sub.w (a1)+,d0
 addq.w #1,d1
 add.w d1,d0
 cmp.l (a1),d2
 bne.s w1806
 unlk a6
 rts
w1814 tst.w -$5ac4(a4)
 bne.s w1814
 moveq #4,d0
 or.w d0,-$2dc8(a4)
 move.l a2,d3
 clr.l -(a7)
 move.w #$20,-(a7)
 trap #1
 move.l d0,2(a7)
 tst.w $43e.w
 bne.s w18a0
 move.w #1,$43e.w
 move.w #$103,-$5ac4(a4)
 move.w #1,-$5ac2(a4)
 movea.w #$8800,a1
 moveq #-8,d2
 move.w sr,d0
 ori.w #$700,sr
 move.b #$e,(a1)
 and.b (a1),d2
 ori.b #5,d2
 move.b d2,2(a1)
 movea.w #$8606,a1
 move.w #$84,(a1)
 moveq #-9,d1
 bsr.s w18a8
 move.b $d(a7),$ffff860d
 move.b $c(a7),$ffff860b
 move.b $b(a7),$ffff8609
 move.w #$90,(a1)
 move.w #$190,(a1)
 move.w #$90,(a1)
 move.w #1,-2(a1)
 move.w #$80,d1
 move.w d1,(a1)
 bsr.s w18a8
 move.w d0,sr
w18a0 trap #1
 addq.l #6,a7
 movea.l d3,a2
 rts
w18a8 bsr.s w18ae
 move.w d1,-2(a1)
w18ae moveq #$2e,d2
w18b0 subq.w #1,d2
 bne.s w18b0
 rts
w18b6 link a6,#0
 movem.l d4-d7/a2-a6,-(a7)
 movea.l 8(a6),a0
 movea.l $c(a6),a1
 move.w $10(a6),d5
 move.w $12(a6),d4
 move.w (a0)+,d7
 move.w (a0)+,d6
 add.w #$f,d7
 lsr.w #1,d7
 and.w #$fff8,d7
 cmpa.l #0,a1
 bne.s w191c
 move.l a0,-(a7)
 move.w #2,-(a7)
 trap #14
 addq.l #2,a7
 movea.l d0,a1
 movea.l (a7)+,a0
 move.w #$a0,d0
 cmp.w d0,d7
 beq.s w191c
 lsr.w #1,d5
 and.w #$fff8,d5
 adda.w d5,a1
 mulu d0,d4
 adda.w d4,a1
 movea.l a1,a3
 adda.w d7,a3
 subq.w #1,d6
 mulu d0,d6
 add.l a3,d6
 move.w d0,d4
 sub.w d7,d4
 move.w d4,d7
 swap d7
 move.w d0,d7
 bra.s w1924
w191c mulu d7,d6
 movea.l a1,a3
 adda.l d6,a3
 move.l a3,d6
w1924 clr.l (a1)
 clr.l 4(a1)
 moveq #$f,d0
 moveq #0,d4
 lea w1ad4(pc),a4
 lea w1b14(pc),a5
 lea w1b54(pc),a6
w193a move.b (a0)+,d3
 move.b d3,d2
 bmi.s w1988
 lsr.b #4,d3
 beq.s w19bc
 and.w #$f,d2
 moveq #1,d1
 add.b d3,d1
w194c lsl.w #3,d2
 movea.l a6,a2
 adda.w d2,a2
w1952 bsr.s w19c4
 tst.w d1
 beq.s w193a
 cmpi.w #$10,d1
 bcs.s w1952
 move.l (a2),d3
 move.l 4(a2),d5
 subi.w #$10,d1
w1968 move.l d3,(a1)+
 move.l d5,(a1)+
 cmpa.l a1,a3
 bne.s w1974
 bsr w1a06
w1974 subi.w #$10,d1
 bcc.s w1968
 clr.l (a1)
 clr.l 4(a1)
 addi.w #$10,d1
 bne.s w1952
 bra.s w193a
w1988 andi.w #$f,d2
 moveq #0,d1
 move.b (a0)+,d1
 btst #6,d3
 beq.s w199a
 asl.w #8,d1
 move.b (a0)+,d1
w199a addq.w #1,d1
 btst #4,d3
 beq.s w194c
 btst #5,d3
 beq w1a22
 movea.l a1,a2
 suba.w d7,a2
w19ae bsr.s w19c4
 tst.l d5
 beq.s w19b6
 movea.l d5,a2
w19b6 addq.l #8,a2
 tst.w d1
 bne.s w19ae
w19bc bsr w1a3a
 bra w193a
w19c4 move.b d0,d4
 add.w d4,d4
 add.w d4,d4
 move.l 0(a4,d4.w),d3
 cmp.l d1,d0
 bmi.s w19e2
 sub.w d1,d0
 move.b d0,d4
 add.w d4,d4
 add.w d4,d4
 and.l 0(a5,d4.w),d3
 moveq #0,d1
 bra.s w19e8
w19e2 sub.w d0,d1
 subq.w #1,d1
 moveq #-1,d0
w19e8 move.l (a2),d5
 and.l d3,d5
 or.l d5,(a1)+
 move.l 4(a2),d5
 and.l d3,d5
 or.l d5,(a1)+
 moveq #0,d5
 tst.w d0
 bmi.s w1a02
 subq.l #8,a1
 rts
w1a00 addq.l #8,a1
w1a02 cmpa.l a1,a3
 bne.s w1a18
w1a06 cmp.l a1,d6
 beq w1bd4
 adda.w d7,a3
 swap d7
 adda.w d7,a1
 move.l a2,d5
 add.w d7,d5
 swap d7
w1a18 moveq #$f,d0
 clr.l (a1)
 clr.l 4(a1)
 rts
w1a22 lsr.w #1,d1
 bcc.s w1a28
 bsr.s w1a3a
w1a28 move.b (a0),d2
 lsr.b #4,d2
 bsr.s w1a3a
 move.b (a0)+,d2
 bsr.s w1a3a
 subq.w #1,d1
 bne.s w1a28
 bra w193a
w1a3a clr.w d3
 bset d0,d3
 andi.w #$f,d2
 add.w d2,d2
 jmp w1a48(pc,d2.w)
w1a48 bra.s w1a74
 bra.s w1a72
 bra.s w1a96
 bra.s w1a6e
 bra.s w1aa6
 bra.s w1a80
 bra.s w1a92
 bra.s w1a6a
 bra.s w1ab8
 bra.s w1ab6
 bra.s w1ac4
 bra.s w1ab2
 bra.s w1aa2
 bra.s w1a7c
 bra.s w1a8e
 or.w d3,6(a1)
w1a6a or.w d3,4(a1)
w1a6e or.w d3,2(a1)
w1a72 or.w d3,(a1)
w1a74 subq.w #1,d0
 bmi w1a00
 rts
w1a7c or.w d3,6(a1)
w1a80 or.w d3,4(a1)
 or.w d3,(a1)
 subq.w #1,d0
 bmi w1a00
 rts
w1a8e or.w d3,6(a1)
w1a92 or.w d3,4(a1)
w1a96 or.w d3,2(a1)
 subq.w #1,d0
 bmi w1a00
 rts
w1aa2 or.w d3,6(a1)
w1aa6 or.w d3,4(a1)
 subq.w #1,d0
 bmi w1a00
 rts
w1ab2 or.w d3,2(a1)
w1ab6 or.w d3,(a1)
w1ab8 or.w d3,6(a1)
 subq.w #1,d0
 bmi w1a00
 rts
w1ac4 or.w d3,6(a1)
 or.w d3,2(a1)
 subq.w #1,d0
 bmi w1a00
 rts
w1ad4
 dc.w $0001,$0001,$0003,$0003,$0007,$0007,$000f,$000f
 dc.w $001f,$001f,$003f,$003f,$007f,$007f,$00ff,$00ff
 dc.w $01ff,$01ff,$03ff,$03ff,$07ff,$07ff,$0fff,$0fff
 dc.w $1fff,$1fff,$3fff,$3fff,$7fff,$7fff,$ffff,$ffff
w1b14
 dc.w $fffe,$fffe,$fffc,$fffc,$fff8,$fff8,$fff0,$fff0
 dc.w $ffe0,$ffe0,$ffc0,$ffc0,$ff80,$ff80,$ff00,$ff00
 dc.w $fe00,$fe00,$fc00,$fc00,$f800,$f800,$f000,$f000
 dc.w $e000,$e000,$c000,$c000,$8000,$8000,$0000,$0000
w1b54
 dc.w $0000,$0000,$0000,$0000,$ffff,$0000,$0000,$0000
 dc.w $0000,$ffff,$0000,$0000,$ffff,$ffff,$0000,$0000
 dc.w $0000,$0000,$ffff,$0000,$ffff,$0000,$ffff,$0000
 dc.w $0000,$ffff,$ffff,$0000,$ffff,$ffff,$ffff,$0000
 dc.w $0000,$0000,$0000,$ffff,$ffff,$0000,$0000,$ffff
 dc.w $0000,$ffff,$0000,$ffff,$ffff,$ffff,$0000,$ffff
 dc.w $0000,$0000,$ffff,$ffff,$ffff,$0000,$ffff,$ffff
 dc.w $0000,$ffff,$ffff,$ffff,$ffff,$ffff,$ffff,$ffff
w1bd4 addq.l #4,a7
 movem.l (a7)+,d4-d7/a2-a6
 unlk a6
 rts
w1bde link a6,#0
 movem.l d5-d7,-(a7)
 move.w 8(a6),d7
 move.w #2,d6
 move.w -$5ad6(a4),d1
 asl.w #2,d1
 add.w d1,d6
 and.l #$ffff,d6
 clr.w d5
 bra.s w1c16
w1c00 move.w d5,d0
 asl.l #1,d0
 movea.l -$5ade(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.l #$ffff,d0
 add.l d0,d6
 addq.w #1,d5
w1c16 move.w d5,d0
 cmp.w d7,d0
 bcs.s w1c00
 move.l d6,d0
 movem.l (a7)+,d5-d7
 unlk a6
 rts
w1c26 link a6,#0
 movem.l d7/a3,-(a7)
 move.l 8(a6),d7
 move.l d7,d0
 and.l #1,d0
 beq.s w1c3e
 addq.l #1,d7
w1c3e cmpi.w #1,$c(a6)
 bne.s w1c60
 move.l -$5b26(a4),d0
 cmp.l d7,d0
 blt.s w1c60
 move.l d7,d0
 sub.l d0,-$5b26(a4)
 movea.l -$5b22(a4),a3
 move.l d7,d0
 add.l d0,-$5b22(a4)
 bra.s w1c98
w1c60 move.l d7,d0
 cmp.l -$5b12(a4),d0
 ble.s w1c72
 move.w #$28,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
w1c72 cmpi.w #2,$c(a6)
 bne.s w1c86
 move.l -$5b0a(a4),d0
 sub.l -$5b12(a4),d0
 movea.l d0,a3
 bra.s w1c92
w1c86 move.l -$5b0a(a4),d0
 sub.l d7,d0
 move.l d0,-$5b0a(a4)
 movea.l d0,a3
w1c92 move.l d7,d0
 sub.l d0,-$5b12(a4)
w1c98 move.l a3,d0
 movem.l (a7)+,d7/a3
 unlk a6
 rts
w1ca2 link a6,#0
 move.l d7,-(a7)
 move.l 8(a6),d7
 move.l d7,d0
 and.l #1,d0
 beq.s w1cb8
 addq.l #1,d7
w1cb8 move.l d7,d0
 add.l d0,-$5b12(a4)
 move.l d7,d0
 add.l d0,-$5b0a(a4)
 move.l (a7)+,d7
 unlk a6
 rts
w1cca link a6,#0
 move.l d7,-(a7)
 move.l 8(a6),d7
 move.l d7,d0
 and.l #1,d0
 beq.s w1ce0
 addq.l #1,d7
w1ce0 move.l d7,d0
 add.l d0,-$5b12(a4)
 move.l (a7)+,d7
 unlk a6
 rts
w1cec link a6,#-4
 movem.l a2-a3,-(a7)
 movea.l 8(a6),a3
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 movea.l (a0),a2
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l (a0),-4(a6)
 cmpa.l #0,a2
 bne.s w1d30
 tst.l -4(a6)
 bne.s w1d1e
 clr.l -$5b34(a4)
 bra.s w1d2e
w1d1e move.l -4(a6),-$5b34(a4)
 move.l -4(a6),d0
 addq.l #4,d0
 movea.l d0,a0
 clr.l (a0)
w1d2e bra.s w1d4a
w1d30 move.l a2,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l -4(a6),(a0)
 tst.l -4(a6)
 beq.s w1d4a
 move.l -4(a6),d0
 addq.l #4,d0
 movea.l d0,a0
 move.l a2,(a0)
w1d4a movem.l (a7)+,a2-a3
 unlk a6
 rts
w1d52 link a6,#-4
 movem.l d6-d7/a2-a3,-(a7)
 movea.l 8(a6),a2
 tst.l -$5b34(a4)
 bne.s w1d82
 move.l a2,-$5b34(a4)
 move.l #0,d0
 move.l a2,d1
 addq.l #8,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l a2,d1
 addq.l #4,d1
 movea.l d1,a0
 move.l d0,(a0)
 bra w1e22
w1d82 movea.l -$5b34(a4),a3
 move.l a2,d7
 movea.l d7,a0
 move.l (a0),d7
 move.l d7,d0
 move.l a3,d1
 movea.l d1,a0
 cmp.l (a0),d0
 blt.s w1db4
 move.l a2,-$5b34(a4)
 move.l a2,d0
 addq.l #4,d0
 movea.l d0,a0
 clr.l (a0)
 move.l a2,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l a3,(a0)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.l a2,(a0)
 bra.s w1e22
w1db4 clr.w d6
 bra.s w1df2
w1db8 move.l d7,d0
 move.l a2,d1
 movea.l d1,a0
 cmp.l (a0),d0
 blt.s w1df0
 move.l 8(a6),d0
 move.l a2,d1
 addq.l #4,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l a3,d1
 addq.l #8,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l 8(a6),d0
 addq.l #4,d0
 movea.l d0,a0
 move.l a3,(a0)
 move.l 8(a6),d0
 addq.l #8,d0
 movea.l d0,a0
 move.l a2,(a0)
 move.w #1,d6
 bra.s w1e00
w1df0 movea.l a2,a3
w1df2 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l (a0),d0
 movea.l d0,a2
 tst.l d0
 bne.s w1db8
w1e00 move.w d6,d0
 bne.s w1e22
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l 8(a6),(a0)
 move.l 8(a6),d0
 addq.l #4,d0
 movea.l d0,a0
 move.l a3,(a0)
 move.l 8(a6),d0
 addq.l #8,d0
 movea.l d0,a0
 clr.l (a0)
w1e22 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
w1e2a link a6,#-8
 movem.l d4-d7/a3,-(a7)
 movea.l 8(a6),a3
 clr.w -4(a6)
 move.w $c(a6),-2(a6)
 bra.s w1e46
w1e42 addq.w #1,-4(a6)
w1e46 move.w -2(a6),d0
 asr.w #1,d0
 move.w d0,-2(a6)
 bne.s w1e42
 move.w -4(a6),d0
 subq.w #1,d0
 move.w d0,-2(a6)
 bra w1efe
w1e60 move.w #1,d0
 move.w -2(a6),d3
 asl.w d3,d0
 subq.w #1,d0
 move.w d0,-6(a6)
 asl.w #1,d0
 move.w d0,-8(a6)
 move.w -6(a6),d6
 bra.s w1ef2
w1e7c move.w d6,d4
 move.w d4,d7
 asl.l #1,d4
 movea.l a3,a0
 adda.w d4,a0
 move.w (a0),d4
w1e88 move.w d7,d0
 asl.w #1,d0
 addq.w #1,d0
 move.w d0,d5
 cmp.w $c(a6),d0
 bcs.s w1e98
 bra.s w1ee6
w1e98 move.w d5,d0
 addq.w #1,d0
 cmp.w $c(a6),d0
 bcc.s w1ebc
 move.w d5,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w 2(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 cmp.w (a0),d0
 bcs.s w1ebc
 addq.w #1,d5
w1ebc move.w d4,d0
 move.w d5,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 cmp.w (a0),d0
 bcc.s w1ee2
 move.w d5,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d5,d7
 bra.s w1ee4
w1ee2 bra.s w1ee6
w1ee4 bra.s w1e88
w1ee6 move.w d7,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w d4,(a0)
 addq.w #1,d6
w1ef2 move.w d6,d0
 cmp.w -8(a6),d0
 bls.s w1e7c
 subq.w #1,-2(a6)
w1efe tst.w -2(a6)
 bge w1e60
 move.w $c(a6),d0
 subq.w #1,d0
 move.w d0,-6(a6)
 bra w1faa
w1f14 move.w -6(a6),d4
 asl.l #1,d4
 movea.l a3,a0
 adda.w d4,a0
 move.w (a0),d4
 move.w #0,d0
 move.w d0,d7
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w (a0),d0
 move.w -6(a6),d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,(a0)
w1f3a move.w d7,d0
 asl.w #1,d0
 addq.w #1,d0
 move.w d0,d5
 move.w -6(a6),d1
 subq.w #1,d1
 cmp.w d1,d0
 bls.s w1f4e
 bra.s w1f9c
w1f4e move.w d5,d0
 addq.w #1,d0
 cmp.w -6(a6),d0
 bcc.s w1f72
 move.w d5,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w 2(a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 cmp.w (a0),d0
 bcs.s w1f72
 addq.w #1,d5
w1f72 move.w d4,d0
 move.w d5,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 cmp.w (a0),d0
 bcc.s w1f98
 move.w d5,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d5,d7
 bra.s w1f9a
w1f98 bra.s w1f9c
w1f9a bra.s w1f3a
w1f9c move.w d7,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w d4,(a0)
 subq.w #1,-6(a6)
w1faa cmpi.w #1,-6(a6)
 bcc w1f14
 movem.l (a7)+,d4-d7/a3
 unlk a6
 rts
w1fbc link a6,#-8
 movem.l d4-d7,-(a7)
w1fc4 move.w -$5ac4(a4),d0
 bne.s w1fc4
 move.w 8(a6),-(a7)
 jsr w1bde(pc)
 addq.l #2,a7
 move.l d0,d7
 move.w 8(a6),d5
 asl.l #1,d5
 movea.l -$5ade(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 move.l d7,d0
 asr.l #2,d0
 asr.l #8,d0
 move.w d0,-2(a6)
 move.w -2(a6),d6
 ext.l d6
 asl.l #2,d6
 asl.l #8,d6
 bra w20c4
w1ffc move.w -2(a6),d0
 cmp.w -$5af4(a4),d0
 bne.s w200c
 move.w -$5b02(a4),d0
 beq.s w2072
w200c move.w -2(a6),-$5af4(a4)
 move.l -$5ada(a4),d0
 sub.l d6,d0
 move.l d0,-8(a6)
 cmpi.l #$400,d0
 ble.s w202c
 move.l #$400,-8(a6)
w202c clr.w -(a7)
 move.w -$5ad2(a4),-(a7)
 move.l d6,-(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 tst.l d0
 sge d0
 and.w #1,d0
 move.l -$5b00(a4),-(a7)
 move.l -8(a6),d0
 move.l d0,-(a7)
 move.w -$5ad2(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.l -8(a6),d1
 cmp.l d1,d0
 seq d0
 and.w #1,d0
 clr.w -$5b02(a4)
w2072 move.l d7,d4
 sub.l d6,d4
 move.w #$400,d0
 sub.w d4,d0
 move.w d0,-(a7)
 move.w d5,-(a7)
 jsr $d8(a5)
 addq.l #4,a7
 move.w d0,-4(a6)
 move.w -4(a6),-(a7)
 move.l $a(a6),-(a7)
 move.l -$5b00(a4),d0
 ext.l d4
 add.l d4,d0
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 sub.w -4(a6),d5
 move.w -4(a6),d0
 ext.l d0
 add.l d0,d7
 move.w -4(a6),d0
 ext.l d0
 add.l d0,$a(a6)
 addq.w #1,-2(a6)
 add.l #$400,d6
w20c4 tst.w d5
 bgt w1ffc
 movem.l (a7)+,d4-d7
 unlk a6
 rts
w20d2 link a6,#0
 movem.l d7/a3,-(a7)
 movea.l 8(a6),a3
 move.l $c(a6),d7
 move.l a3,d0
 move.l d0,-$5b1e(a4)
 move.l d0,-$5af8(a4)
 move.l a3,d0
 add.l d7,d0
 move.l d0,-$5b06(a4)
 move.l d0,-$5b0a(a4)
 move.l d7,-$5b12(a4)
 move.l $10(a6),-$5b22(a4)
 move.l $14(a6),-$5b26(a4)
 move.w #1,-(a7)
 move.l #$400,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5b00(a4)
 move.w #1,-(a7)
 move.l #$13ec,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5b2c(a4)
 move.w #$13ec,-(a7)
 move.l -$5b2c(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #1,-(a7)
 move.l #$5b4,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5aee(a4)
 move.l #$ffff0002,-(a7)
 move.w #$2da,-(a7)
 move.l -$5aee(a4),-(a7)
 jsr $2a(a5)
 adda.w #$a,a7
 move.w #1,-(a7)
 move.l #$5b4,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5af2(a4)
 move.l #0,d0
 move.l d0,-$5b34(a4)
 move.l d0,-$5b40(a4)
 move.l d0,-$5b3c(a4)
 move.l d0,-$5b38(a4)
 move.l #$ffffffff,-$5b46(a4)
 movem.l (a7)+,d7/a3
 unlk a6
 rts
w21a2 link a6,#0
 move.l -$5b0a(a4),d0
 move.l -$5af8(a4),d1
 sub.l d1,d0
 cmpi.l #$5a550,d0
 sgt d0
 and.w #1,d0
 move.w d0,-$5b42(a4)
 beq.s w21c6
 jsr $59a(a5)
w21c6 move.l -$5b0a(a4),d0
 sub.l #$2710,d0
 move.l d0,-$5afc(a4)
 move.w #1,-$5b28(a4)
 move.l -$5afc(a4),d0
 move.l d0,-$5b1a(a4)
 move.l d0,-$5b16(a4)
 move.l #$2710,-$5b12(a4)
 move.l -$5afc(a4),d0
 move.l -$5af8(a4),d1
 sub.l d1,d0
 move.l d0,-$5b30(a4)
 unlk a6
 rts
w2200 link a6,#0
w2204 move.w -$5ac4(a4),d0
 bne.s w2204
 move.w -$5ad4(a4),d0
 addq.w #1,-$5ad4(a4)
 tst.w d0
 beq.s w2218
 bra.s w223c
w2218 clr.w -(a7)
 pea $5dc(a4)
 move.w #$3d,-(a7)
 jsr $96(a5)
 addq.l #8,a7
 move.w d0,-$5ad2(a4)
 tst.w -$5ad2(a4)
 bge.s w223c
 move.w #$29,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
w223c unlk a6
 rts
w2240 link a6,#0
 subq.w #1,-$5ad4(a4)
 beq.s w224c
 bra.s w2260
w224c move.w -$5ac4(a4),d0
 bne.s w224c
 move.w -$5ad2(a4),-(a7)
 move.w #$3e,-(a7)
 jsr $96(a5)
 addq.l #4,a7
w2260 unlk a6
 rts
w2264 link a6,#0
 movem.l d6-d7,-(a7)
 clr.w -$5ad4(a4)
 jsr w2200(pc)
 pea -$5ad6(a4)
 move.l #2,-(a7)
 move.w -$5ad2(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 cmpi.l #2,d0
 seq d0
 tst.b d0
 beq.s w22a2
 move.w -$5ad6(a4),d0
 asl.w #1,d0
 move.w d0,d6
w22a2 sne d0
 tst.b d0
 beq.s w22c6
 move.w #1,-(a7)
 move.w d6,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5ade(a4)
 tst.l d0
 sne d0
 tst.b d0
w22c6 tst.b d0
 beq.s w22e8
 move.w #1,-(a7)
 move.w d6,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5ae2(a4)
 tst.l d0
 sne d0
 tst.b d0
w22e8 tst.b d0
 beq.s w2318
 move.l -$5ade(a4),-(a7)
 move.w d6,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 move.w -$5ad2(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.w d6,d1
 and.l #$ffff,d1
 cmp.l d1,d0
 seq d0
 tst.b d0
w2318 tst.b d0
 beq.s w2348
 move.l -$5ae2(a4),-(a7)
 move.w d6,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 move.w -$5ad2(a4),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.w d6,d1
 and.l #$ffff,d1
 cmp.l d1,d0
 seq d0
 tst.b d0
w2348 tst.b d0
 beq.s w236c
 move.w #1,-(a7)
 move.w d6,d0
 asl.w #1,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5ae6(a4)
 tst.l d0
 sne d0
 tst.b d0
w236c tst.b d0
 beq.s w238e
 move.w #1,-(a7)
 move.w d6,d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$5aea(a4)
 tst.l d0
 sne d0
 tst.b d0
w238e and.w #1,d0
 move.w d0,d7
 move.w d7,d0
 bne.s w239a
 bra.s w2416
w239a move.w d6,d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.l -$5ae6(a4),-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.l #$ffff0002,-(a7)
 move.w d6,d0
 lsr.w #1,d0
 move.w d0,d6
 move.w d0,-(a7)
 move.l -$5aea(a4),-(a7)
 jsr $2a(a5)
 adda.w #$a,a7
 subq.w #1,d6
 move.w d6,-(a7)
 jsr w1bde(pc)
 addq.l #2,a7
 move.w d6,d1
 asl.l #1,d1
 movea.l -$5ade(a4),a0
 adda.w d1,a0
 move.w (a0),d3
 and.l #$ffff,d3
 add.l d3,d0
 move.l d0,-$5ada(a4)
 move.w #1,-(a7)
 movea.l -$5ae2(a4),a0
 move.w (a0),d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$2e06(a4)
 tst.l d0
 bne.s w2408
 bra.s w2416
w2408 move.l -$2e06(a4),-(a7)
 clr.w -(a7)
 jsr w1fbc(pc)
 addq.l #6,a7
 bra.s w2420
w2416 move.w #$2a,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
w2420 movem.l (a7)+,d6-d7
 unlk a6
 rts
w2428 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 tst.w 8(a6)
 blt.s w2462
 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aea(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s w2450
 bra w25bc
w2450 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aea(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
 bra.s w2492
w2462 andi.w #$7fff,8(a6)
 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s w2482
 bra w25bc
w2482 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 move.w #$ffff,(a0)
w2492 move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
 move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 clr.l (a0)
 move.l a3,d7
 movea.l d7,a0
 move.l (a0),d7
 neg.l d7
 move.l d7,d0
 add.l d0,-$5b30(a4)
 move.l a3,d5
 addq.l #6,d5
 movea.l d5,a0
 move.w (a0),d5
 move.l a3,d4
 addq.l #8,d4
 movea.l d4,a0
 move.w (a0),d4
 cmpi.w #$ffff,d5
 bne.s w250c
 cmpi.w #$ffff,d4
 bne.s w24e2
 clr.l -$5b38(a4)
 clr.l -$5b3c(a4)
 clr.l -$5b40(a4)
 bra.s w250a
w24e2 move.w d4,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l (a0),-$5b38(a4)
 move.l -$5b38(a4),d0
 addq.l #6,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 move.l -$5b40(a4),d0
 cmp.l a3,d0
 bne.s w250a
 move.l -$5b38(a4),-$5b40(a4)
w250a bra.s w2558
w250c move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d4,(a0)
 cmpi.w #$ffff,d4
 bne.s w2538
 move.l a2,-$5b3c(a4)
 move.l -$5b40(a4),d0
 cmp.l a3,d0
 bne.s w2536
 clr.l -$5b40(a4)
w2536 bra.s w2558
w2538 move.w d4,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.l -$5b40(a4),d0
 cmp.l a3,d0
 bne.s w2558
 move.l a2,-$5b40(a4)
w2558 move.l a3,d0
 cmp.l -$5af8(a4),d0
 beq.s w257a
 move.l a3,d0
 subq.l #4,d0
 movea.l d0,a0
 move.l (a0),d0
 move.l d0,d6
 tst.l d0
 ble.s w257a
 suba.l d6,a3
 move.l a3,-(a7)
 jsr w1cec(pc)
 addq.l #4,a7
 add.l d6,d7
w257a move.l a3,d0
 add.l d7,d0
 cmp.l -$5b1e(a4),d0
 bne.s w258a
 move.l a3,-$5b1e(a4)
 bra.s w25bc
w258a move.l a3,d0
 add.l d7,d0
 movea.l d0,a2
 movea.l d0,a0
 move.l (a0),d0
 move.l d0,d6
 tst.l d0
 ble.s w25a4
 move.l a2,-(a7)
 jsr w1cec(pc)
 addq.l #4,a7
 add.l d6,d7
w25a4 move.l a3,d0
 movea.l d0,a0
 move.l d7,(a0)
 move.l a3,d0
 add.l d7,d0
 subq.l #4,d0
 movea.l d0,a0
 move.l d7,(a0)
 move.l a3,-(a7)
 jsr w1d52(pc)
 addq.l #4,a7
w25bc movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w25c4 link a6,#0
 bra.s w25ee
w25ca tst.l -$5b38(a4)
 bne.s w25da
 move.w #$2b,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
w25da move.l -$5b38(a4),d0
 add.l #$a,d0
 movea.l d0,a0
 move.w (a0),-(a7)
 jsr w2428(pc)
 addq.l #2,a7
w25ee move.l -$5b30(a4),d0
 cmp.l 8(a6),d0
 blt.s w25ca
 unlk a6
 rts
w25fc link a6,#0
 movem.l d5-d7/a2-a3,-(a7)
 tst.l -$5b34(a4)
 bne.s w260e
 bra w26b8
w260e move.l -$5af8(a4),d0
 movea.l d0,a2
 movea.l d0,a3
w2616 move.l a2,d0
 movea.l d0,a0
 move.l (a0),d0
 move.l d0,d7
 tst.l d0
 ble.s w2628
 adda.l d7,a2
 bra w26a6
w2628 move.l d7,d0
 neg.l d0
 move.l d0,d7
 move.l a2,d0
 cmp.l a3,d0
 beq.s w26a2
 move.l a2,d6
 add.l #$a,d6
 movea.l d6,a0
 move.w (a0),d6
 tst.w d6
 blt.s w2652
 move.w d6,d5
 asl.l #1,d5
 movea.l -$5aea(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 bra.s w2662
w2652 move.w d6,d5
 and.w #$7fff,d5
 asl.l #1,d5
 movea.l -$5aee(a4),a0
 adda.w d5,a0
 move.w (a0),d5
w2662 move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l a3,(a0)
 move.l d7,d0
 move.w d0,-(a7)
 move.l a3,-(a7)
 move.l a2,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.l -$5b38(a4),d0
 cmp.l a2,d0
 bne.s w268a
 move.l a3,-$5b38(a4)
w268a move.l -$5b3c(a4),d0
 cmp.l a2,d0
 bne.s w2696
 move.l a3,-$5b3c(a4)
w2696 move.l -$5b40(a4),d0
 cmp.l a2,d0
 bne.s w26a2
 move.l a3,-$5b40(a4)
w26a2 adda.l d7,a2
 adda.l d7,a3
w26a6 move.l a2,d0
 cmp.l -$5b1e(a4),d0
 bne w2616
 move.l a3,-$5b1e(a4)
 clr.l -$5b34(a4)
w26b8 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
w26c0 link a6,#0
 movem.l d5-d7/a2-a3,-(a7)
 move.l 8(a6),d7
 move.l d7,-(a7)
 jsr w25c4(pc)
 addq.l #4,a7
 move.l -$5afc(a4),d0
 move.l -$5b1e(a4),d1
 sub.l d1,d0
 cmp.l d7,d0
 blt.s w26f0
 movea.l -$5b1e(a4),a3
 move.l d7,d0
 add.l d0,-$5b1e(a4)
 bra w278c
w26f0 move.l -$5b34(a4),d0
 movea.l d0,a0
 move.l (a0),d0
 cmp.l d7,d0
 bge.s w270e
 jsr w25fc(pc)
 movea.l -$5b1e(a4),a3
 move.l d7,d0
 add.l d0,-$5b1e(a4)
 bra w278c
w270e movea.l -$5b34(a4),a3
 clr.w d6
w2714 move.l a3,d0
 movea.l d0,a0
 move.l (a0),d0
 cmp.l d7,d0
 bne.s w2724
 move.w #1,d6
 bra.s w2748
w2724 move.l a3,d0
 movea.l d0,a0
 move.l (a0),d0
 cmp.l d7,d0
 blt.s w273c
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.l (a0),d0
 movea.l d0,a2
 tst.l d0
 bne.s w2746
w273c movea.l -$5b34(a4),a3
 move.w #1,d6
 bra.s w2748
w2746 movea.l a2,a3
w2748 move.w d6,d0
 beq.s w2714
 move.l a3,-(a7)
 jsr w1cec(pc)
 addq.l #4,a7
 move.l a3,d5
 movea.l d5,a0
 move.l (a0),d5
 sub.l d7,d5
 cmpi.l #$18,d5
 blt.s w2786
 move.l a3,d0
 add.l d7,d0
 movea.l d0,a2
 move.l d5,d0
 move.l a2,d1
 add.l d5,d1
 subq.l #4,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l a2,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l a2,-(a7)
 jsr w1d52(pc)
 addq.l #4,a7
 bra.s w278c
w2786 move.l a3,d7
 movea.l d7,a0
 move.l (a0),d7
w278c move.l d7,d0
 sub.l d0,-$5b30(a4)
 move.l d7,d0
 neg.l d0
 move.l a3,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l d7,d0
 neg.l d0
 move.l a3,d1
 add.l d7,d1
 subq.l #4,d1
 movea.l d1,a0
 move.l d0,(a0)
 move.l a3,d0
 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
w27b4 link a6,#-$18
 movem.l d4-d7/a2-a3,-(a7)
 clr.w -$e(a6)
 move.w $c(a6),-(a7)
 move.l 8(a6),-(a7)
 jsr w1e2a(pc)
 addq.l #6,a7
 clr.l -4(a6)
 clr.w d7
 bra w285e
w27d8 move.w d7,d5
 asl.l #1,d5
 movea.l 8(a6),a0
 adda.w d5,a0
 move.w (a0),d5
 bra.s w2818
w27e6 move.w $c(a6),d0
 subq.w #1,$c(a6)
 sub.w d6,d0
 asl.w #1,d0
 move.w d0,-(a7)
 move.w d7,d0
 asl.l #1,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 move.w d6,d0
 asl.l #1,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 lea (a0),a0
 move.l a0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
w2818 move.w d7,d0
 addq.w #1,d0
 move.w d0,d6
 cmp.w $c(a6),d0
 bge.s w2834
 move.w d5,d0
 move.w d6,d1
 asl.l #1,d1
 movea.l 8(a6),a0
 adda.w d1,a0
 cmp.w (a0),d0
 beq.s w27e6
w2834 move.w #2,d4
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5ae2(a4),a0
 adda.w d1,a0
 add.w (a0),d4
 and.l #$ffff,d4
 move.l d4,d0
 and.l #1,d0
 beq.s w2856
 addq.l #1,d4
w2856 move.l d4,d0
 add.l d0,-4(a6)
 addq.w #1,d7
w285e move.w d7,d0
 cmp.w $c(a6),d0
 blt w27d8
 move.w -$5b28(a4),d0
 beq.s w2882
 move.l -$5b16(a4),d0
 sub.l -4(a6),d0
 move.l -$5af8(a4),d1
 sub.l d1,d0
 move.l d0,-8(a6)
 bra.s w2890
w2882 move.l -$5afc(a4),d0
 move.l -$5af8(a4),d1
 sub.l d1,d0
 move.l d0,-8(a6)
w2890 movea.l -$2ece(a4),a0
 move.l -8(a6),$7d00(a0)
 move.l #$4c78,d0
 cmp.l -8(a6),d0
 ble.s w28b0
 move.w #$2c,-(a7)
 jsr $cc(a5)
 addq.l #2,a7
w28b0 clr.w d7
 bra.s w28d4
w28b4 move.w d7,d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 cmpi.w #$ffff,(a0)
 beq.s w28d2
 move.w d7,d0
 or.w #$8000,d0
 move.w d0,-(a7)
 jsr w2428(pc)
 addq.l #2,a7
w28d2 addq.w #1,d7
w28d4 cmpi.w #$2da,d7
 blt.s w28b4
 move.w #0,d6
 move.w d6,d7
w28e0 move.w d7,d5
 asl.l #1,d5
 movea.l 8(a6),a0
 adda.w d5,a0
 move.w (a0),d5
 bra.s w2940
w28ee move.w d6,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
 tst.l d0
 beq.s w293e
 move.w d6,-(a7)
 jsr w2428(pc)
 addq.l #2,a7
 move.w d6,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 clr.l (a0)
 move.w d6,d4
 asl.l #1,d4
 movea.l -$5ae2(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 and.l #$ffff,d4
 move.l d4,d0
 and.l #1,d0
 beq.s w2932
 addq.l #1,d4
w2932 move.l d4,d0
 neg.l d0
 move.l a3,d1
 add.l d4,d1
 movea.l d1,a0
 move.w d0,(a0)
w293e addq.w #1,d6
w2940 move.w d6,d0
 cmp.w d5,d0
 blt.s w28ee
 move.w d6,d0
 addq.w #1,d6
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 tst.l (a0)
 beq.s w2970
 move.w d7,d0
 asl.l #1,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 not.w d0
 move.w d7,d1
 asl.l #1,d1
 movea.l 8(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
w2970 addq.w #1,d7
 move.w d7,d0
 cmp.w $c(a6),d0
 blt w28e0
 bra.s w29d0
w297e move.w d6,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
 tst.l d0
 beq.s w29ce
 move.w d6,-(a7)
 jsr w2428(pc)
 addq.l #2,a7
 move.w d6,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 clr.l (a0)
 move.w d6,d4
 asl.l #1,d4
 movea.l -$5ae2(a4),a0
 adda.w d4,a0
 move.w (a0),d4
 and.l #$ffff,d4
 move.l d4,d0
 and.l #1,d0
 beq.s w29c2
 addq.l #1,d4
w29c2 move.l d4,d0
 neg.l d0
 move.l a3,d1
 add.l d4,d1
 movea.l d1,a0
 move.w d0,(a0)
w29ce addq.w #1,d6
w29d0 move.w d6,d0
 cmp.w -$5ad6(a4),d0
 bcs.s w297e
 move.w -$5b28(a4),d0
 beq.s w2a02
 move.l -$5b1a(a4),d4
 move.l -$5b16(a4),d1
 sub.l -4(a6),d1
 sub.l d1,d4
 tst.l d4
 ble.s w29f8
 move.l d4,-(a7)
 jsr w25c4(pc)
 addq.l #4,a7
w29f8 jsr w25fc(pc)
 move.l d4,d0
 sub.l d0,-$5b30(a4)
w2a02 move.l -$5b16(a4),d0
 movea.l d0,a2
 subq.l #2,d0
 movea.l d0,a3
 bra.s w2a6e
w2a0e move.l a3,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d5
 tst.w d0
 bge.s w2a24
 move.w d5,d0
 subq.w #2,d0
 ext.l d0
 adda.l d0,a3
 bra.s w2a6e
w2a24 move.l a3,d4
 move.w d5,d1
 asl.l #2,d1
 movea.l -$5ae6(a4),a0
 adda.w d1,a0
 move.l (a0),d1
 sub.l d1,d4
 move.l d4,-$18(a6)
 move.l #2,d4
 add.l -$18(a6),d4
 suba.l d4,a2
 suba.l d4,a3
 move.l a3,d0
 addq.l #2,d0
 cmp.l a2,d0
 beq.s w2a6e
 move.l d4,d0
 move.w d0,-(a7)
 move.l a2,-(a7)
 move.l a3,d0
 addq.l #2,d0
 move.l d0,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
 move.w d5,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 move.l a2,(a0)
w2a6e move.l a3,d0
 cmp.l -$5b1a(a4),d0
 bgt.s w2a0e
 clr.w -(a7)
 move.l #$138c,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 move.l d0,-$c(a6)
w2a88 move.w -$5ac4(a4),d0
 bne.s w2a88
 clr.w d7
 bra w2b92
w2a94 move.w d7,d0
 asl.l #1,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d5
 tst.w d0
 bge.s w2ac4
 move.w d7,d0
 asl.l #1,d0
 movea.l 8(a6),a0
 adda.w d0,a0
 move.w (a0),d0
 not.w d0
 move.w d7,d1
 asl.l #1,d1
 movea.l 8(a6),a0
 adda.w d1,a0
 move.w d0,(a0)
 bra w2b90
w2ac4 move.l a2,d0
 subq.l #2,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.w #2,d4
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5ae2(a4),a0
 adda.w d1,a0
 add.w (a0),d4
 and.l #$ffff,d4
 move.l d4,d0
 and.l #1,d0
 beq.s w2aee
 addq.l #1,d4
w2aee suba.l d4,a2
 move.w -$e(a6),d0
 bne.s w2b0a
 clr.w -(a7)
 clr.w -(a7)
 jsr $570(a5)
 addq.l #4,a7
 jsr w2200(pc)
 move.w #1,-$e(a6)
w2b0a move.w d5,d0
 asl.l #1,d0
 movea.l -$5ade(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d5,d1
 asl.l #1,d1
 movea.l -$5ae2(a4),a0
 adda.w d1,a0
 cmp.w (a0),d0
 beq.s w2b7a
 clr.w -(a7)
 move.w -$5ad2(a4),-(a7)
 move.w d5,-(a7)
 jsr w1bde(pc)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 tst.l d0
 sge d0
 and.w #1,d0
 move.l -$c(a6),-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a2,-(a7)
 move.w d5,d0
 asl.l #1,d0
 movea.l -$5ade(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 move.w -$5ad2(a4),-(a7)
 jsr w342e(pc)
 adda.w #$12,a7
 move.w #1,-$2da4(a4)
 bra.s w2b84
w2b7a move.l a2,-(a7)
 move.w d5,-(a7)
 jsr w1fbc(pc)
 addq.l #6,a7
w2b84 move.w d5,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 move.l a2,(a0)
w2b90 addq.w #1,d7
w2b92 move.w d7,d0
 cmp.w $c(a6),d0
 blt w2a94
 move.w -$e(a6),d0
 beq.s w2ba6
 jsr w2240(pc)
w2ba6 move.l a2,-$5b1a(a4)
 move.w -$5b28(a4),d0
 beq.s w2bb6
 move.l -$5b1a(a4),-$5afc(a4)
w2bb6 move.w #1,-(a7)
 clr.w -(a7)
 clr.w -(a7)
 move.w #7,-(a7)
 clr.w -(a7)
 clr.l -(a7)
 pea -$2d9e(a4)
 move.w #8,-(a7)
 jsr $138(a5)
 adda.w #$14,a7
 move.l #$138c,-(a7)
 jsr w1ca2(pc)
 addq.l #4,a7
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w2bea link a6,#0
 movem.l d7/a3,-(a7)
 move.l -$2dc6(a4),-$5b46(a4)
 clr.l -$5b40(a4)
 move.l -$5b3c(a4),d0
 movea.l d0,a3
 tst.l d0
 bne.s w2c08
 bra.s w2c3a
w2c08 bra.s w2c30
w2c0a move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 clr.w (a0)
 move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d7
 cmpi.w #$ffff,d0
 bne.s w2c24
 bra.s w2c3a
w2c24 move.w d7,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
w2c30 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 tst.w (a0)
 bne.s w2c0a
w2c3a movem.l (a7)+,d7/a3
 unlk a6
 rts
w2c42 link a6,#0
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w #1,(a0)
 tst.l -$5b40(a4)
 bne.s w2cd4
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 tst.l -$5b3c(a4)
 bne.s w2c8a
 move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 move.l a3,-$5b38(a4)
 bra.s w2ccc
w2c8a move.l -$5b3c(a4),d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.l -$5b3c(a4),d4
 add.l #$a,d4
 movea.l d4,a0
 move.w (a0),d4
 tst.w d4
 blt.s w2cb4
 move.w d4,d6
 asl.l #1,d6
 movea.l -$5aea(a4),a0
 adda.w d6,a0
 move.w (a0),d6
 bra.s w2cc4
w2cb4 move.w d4,d6
 and.w #$7fff,d6
 asl.l #1,d6
 movea.l -$5aee(a4),a0
 adda.w d6,a0
 move.w (a0),d6
w2cc4 move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
w2ccc move.l a3,-$5b3c(a4)
 bra w2d58
w2cd4 move.l -$5b40(a4),d6
 addq.l #6,d6
 movea.l d6,a0
 move.w (a0),d6
 move.l -$5b40(a4),d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
 cmpi.w #$ffff,d6
 beq.s w2d1c
 move.w d6,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w (a0),d0
 move.l a3,d1
 addq.l #8,d1
 movea.l d1,a0
 move.w d0,(a0)
 move.l a2,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d7,(a0)
 bra.s w2d58
w2d1c move.l -$5b40(a4),d4
 add.l #$a,d4
 movea.l d4,a0
 move.w (a0),d4
 tst.w d4
 blt.s w2d3c
 move.w d4,d5
 asl.l #1,d5
 movea.l -$5aea(a4),a0
 adda.w d5,a0
 move.w (a0),d5
 bra.s w2d4c
w2d3c move.w d4,d5
 and.w #$7fff,d5
 asl.l #1,d5
 movea.l -$5aee(a4),a0
 adda.w d5,a0
 move.w (a0),d5
w2d4c move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.l a3,-$5b38(a4)
w2d58 move.l a3,-$5b40(a4)
 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w2d64 link a6,#-4
 movem.l d4-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 movea.l d0,a3
 move.l d0,-4(a6)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d4
 tst.w d0
 bne.s w2e0c
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s w2db4
 move.l a3,-$5b40(a4)
 move.l a3,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w #1,(a0)
 move.l a3,d0
 bra w2f22
w2db4 move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s w2de0
 move.l a2,-$5b38(a4)
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 bra.s w2dfc
w2de0 move.w d6,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
w2dfc move.w d7,-(a7)
 jsr w2c42(pc)
 addq.l #2,a7
 move.l -4(a6),d0
 bra w2f22
w2e0c move.w d4,d0
 addq.w #1,d0
 move.w d0,d4
 move.l a3,d1
 addq.l #4,d1
 movea.l d1,a0
 move.w d0,(a0)
 move.l a3,d0
 cmp.l -$5b3c(a4),d0
 bne.s w2e28
 move.l a3,d0
 bra w2f22
w2e28 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d5
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),d0
 cmp.w d4,d0
 bcs.s w2e4e
 move.l a3,d0
 bra w2f22
w2e4e move.l a3,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s w2e74
 move.l a2,d0
 move.l d0,-$5b40(a4)
 move.l d0,-$5b38(a4)
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 bra.s w2e9c
w2e74 move.l -$5b40(a4),d0
 cmp.l a3,d0
 bne.s w2e80
 move.l a2,-$5b40(a4)
w2e80 move.w d6,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a3
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
w2e9c movea.l a2,a3
 move.w d5,d6
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w (a0),d0
 move.w d0,d5
 cmpi.w #$ffff,d0
 bne.s w2ed8
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.l -4(a6),d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
 move.l -4(a6),d0
 addq.l #8,d0
 movea.l d0,a0
 move.w #$ffff,(a0)
 move.l -4(a6),d0
 move.l d0,-$5b3c(a4)
 bra.s w2f22
w2ed8 move.w d5,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 addq.l #4,d0
 movea.l d0,a0
 move.w (a0),d0
 cmp.w d4,d0
 bcs.s w2f1a
 move.l a3,d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.l -4(a6),d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d6,(a0)
 move.l -4(a6),d0
 addq.l #8,d0
 movea.l d0,a0
 move.w d5,(a0)
 move.l a2,d0
 addq.l #6,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.l -4(a6),d0
 bra.s w2f22
w2f1a move.w #1,d0
 bne w2e9c
w2f22 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts
w2f2a link a6,#0
 movem.l a2-a3,-(a7)
 movea.l $a(a6),a3
 move.w 8(a6),d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 clr.w -(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 move.l a2,-(a7)
 jsr w18b6(pc)
 adda.w #$c,a7
 movem.l (a7)+,a2-a3
 unlk a6
 rts
w2f5c link a6,#-$a
 movem.l d5-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 move.w d7,d0
 and.w #$8000,d0
 beq.s w2f86
 move.w d7,d0
 and.w #$7fff,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d0
 bra w3048
w2f86 move.l -$2dc6(a4),d0
 cmp.l -$5b46(a4),d0
 beq.s w2f94
 jsr w2bea(pc)
w2f94 move.w d7,d0
 asl.l #1,d0
 movea.l -$5aea(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d6
 cmpi.w #$ffff,d0
 beq.s w2fba
 move.w d6,-(a7)
 jsr w2d64(pc)
 addq.l #2,a7
 add.l #$c,d0
 bra w3048
w2fba move.w d7,d0
 asl.l #2,d0
 movea.l -$5ae6(a4),a0
 adda.w d0,a0
 movea.l (a0),a2
 move.l a2,d5
 movea.l d5,a0
 move.w (a0),d5
 asr.w #1,d5
 move.l a2,d1
 addq.l #2,d1
 movea.l d1,a0
 muls (a0),d5
 move.w d5,-$a(a6)
 move.w #$10,d5
 add.w -$a(a6),d5
 ext.l d5
 move.l d5,-(a7)
 jsr w26c0(pc)
 addq.l #4,a7
 movea.l d0,a3
 clr.w d6
w2ff0 move.w d6,d0
 addq.w #1,d6
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 tst.l (a0)
 bne.s w2ff0
 subq.w #1,d6
 move.w d6,d0
 move.w d7,d1
 asl.l #1,d1
 movea.l -$5aea(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l a3,(a0)
 move.l a3,d0
 add.l #$a,d0
 movea.l d0,a0
 move.w d7,(a0)
 move.w d6,-(a7)
 jsr w2c42(pc)
 addq.l #2,a7
 adda.l #$c,a3
 clr.w -(a7)
 clr.w -(a7)
 move.l a3,-(a7)
 move.l a2,-(a7)
 jsr w18b6(pc)
 adda.w #$c,a7
 move.l a3,d0
w3048 movem.l (a7)+,d5-d7/a2-a3
 unlk a6
 rts
w3050 link a6,#0
 movem.l d6-d7/a2-a3,-(a7)
 move.w 8(a6),d7
 movea.l $a(a6),a3
 jsr w2200(pc)
 move.w d7,d6
 and.w #$8000,d6
 and.w #$7fff,d7
 move.w d7,d0
 asl.l #1,d0
 movea.l -$5ade(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d7,d1
 asl.l #1,d1
 movea.l -$5ae2(a4),a0
 adda.w d1,a0
 cmp.w (a0),d0
 beq w3118
 clr.w -(a7)
 move.l #$138c,-(a7)
 jsr w1c26(pc)
 addq.l #6,a7
 movea.l d0,a2
 clr.w -(a7)
 move.w -$5ad2(a4),-(a7)
 move.w d7,-(a7)
 jsr w1bde(pc)
 addq.l #2,a7
 move.l d0,-(a7)
 move.w #$42,-(a7)
 jsr $96(a5)
 adda.w #$a,a7
 tst.l d0
 sge d0
 and.w #1,d0
 move.l a2,-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 move.w d7,d0
 asl.l #1,d0
 movea.l -$5ade(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 and.l #$ffff,d0
 move.l d0,-(a7)
 move.w -$5ad2(a4),-(a7)
 jsr w342e(pc)
 adda.w #$12,a7
 move.w #1,-$2da4(a4)
 move.l #$138c,-(a7)
 jsr w1ca2(pc)
 addq.l #4,a7
 move.w d6,d0
 bne.s w3116
 move.w d7,d0
 asl.l #1,d0
 movea.l -$5ae2(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 move.l -$2da2(a4),-(a7)
 move.l a3,-(a7)
 jsr 6(a5)
 adda.w #$a,a7
w3116 bra.s w312e
w3118 move.w d6,d0
 beq.s w3120
 move.l a3,d0
 bra.s w3124
w3120 move.l -$2da2(a4),d0
w3124 move.l d0,-(a7)
 move.w d7,-(a7)
 jsr w1fbc(pc)
 addq.l #6,a7
w312e move.w d6,d0
 bne.s w314e
 move.w $10(a6),-(a7)
 move.w $e(a6),-(a7)
 move.l a3,-(a7)
 move.l -$2da2(a4),-(a7)
 jsr w18b6(pc)
 adda.w #$c,a7
 move.w #1,-$2da4(a4)
w314e jsr w2240(pc)
 movem.l (a7)+,d6-d7/a2-a3
 unlk a6
 rts
w315a link a6,#0
 movem.l d5-d7/a3,-(a7)
 move.w 8(a6),d7
 move.l -$2dc6(a4),d0
 cmp.l -$5b46(a4),d0
 beq.s w3174
 jsr w2bea(pc)
w3174 move.w d7,d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 move.w d0,d6
 cmpi.w #$ffff,d0
 beq.s w3196
 move.w d6,-(a7)
 jsr w2d64(pc)
 addq.l #2,a7
 move.w #1,d0
 bra.s w31fa
w3196 move.w #$10,d5
 move.w d7,d1
 asl.l #1,d1
 movea.l -$5af2(a4),a0
 adda.w d1,a0
 add.w (a0),d5
 and.l #$ffff,d5
 move.l d5,-(a7)
 jsr w26c0(pc)
 addq.l #4,a7
 movea.l d0,a3
 clr.w d6
w31b8 move.w d6,d0
 addq.w #1,d6
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 tst.l (a0)
 bne.s w31b8
 subq.w #1,d6
 move.w d6,d0
 move.w d7,d1
 asl.l #1,d1
 movea.l -$5aee(a4),a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d6,d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l a3,(a0)
 move.w d7,d0
 or.w #$8000,d0
 move.l a3,d1
 add.l #$a,d1
 movea.l d1,a0
 move.w d0,(a0)
 move.w #0,d0
w31fa movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
w3202 link a6,#0
 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 asl.l #2,d0
 movea.l -$5b2c(a4),a0
 adda.w d0,a0
 move.l (a0),d0
 add.l #$c,d0
 unlk a6
 rts
w3228 link a6,#0
 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5aee(a4),a0
 adda.w d0,a0
 move.w (a0),-(a7)
 jsr w2c42(pc)
 addq.l #2,a7
 unlk a6
 rts
w3244 link a6,#0
 move.w 8(a6),d0
 asl.l #1,d0
 movea.l -$5ae2(a4),a0
 adda.w d0,a0
 move.w (a0),d0
 unlk a6
 rts
w325a link a6,#0
 movem.l d5-d7/a3,-(a7)
 lea -$5b5a(a4),a0
 move.l a0,d0
 movea.l d0,a3
 tst.w -$5b5e(a4)
 bgt.s w3286
 move.w -$5b74(a4),d0
 cmp.w -$5b76(a4),d0
 bge.s w3286
 move.w -$5b5c(a4),d0
 cmp.w -$5b4c(a4),d0
 ble w3352
w3286 move.w -$5b5c(a4),d0
 cmp.w -$5b4c(a4),d0
 ble.s w32b4
 addq.w #1,-$5b4a(a4)
 cmpi.w #$c,-$5b4a(a4)
 bne.s w32a4
 move.w -$5b4e(a4),-$5b4c(a4)
 bra.s w32b4
w32a4 move.w #1,d0
 move.w -$5b4a(a4),d3
 asl.w d3,d0
 subq.w #1,d0
 move.w d0,-$5b4c(a4)
w32b4 tst.w -$5b5e(a4)
 ble.s w32d2
 move.w #1,d0
 move.w #9,d1
 move.w d1,-$5b4a(a4)
 asl.w d1,d0
 subq.w #1,d0
 move.w d0,-$5b4c(a4)
 clr.w -$5b5e(a4)
w32d2 movea.l $a(a6),a0
 move.l (a0),d0
 move.w -$5b4a(a4),d1
 ext.l d1
 cmp.l d1,d0
 ble.s w32ea
 move.w -$5b4a(a4),-$5b76(a4)
 bra.s w32f4
w32ea movea.l $a(a6),a0
 move.l (a0),d0
 move.w d0,-$5b76(a4)
w32f4 tst.w -$5b76(a4)
 ble.s w3336
 pea -$5b5a(a4)
 move.w -$5b76(a4),d0
 ext.l d0
 move.l d0,-(a7)
 move.w 8(a6),-(a7)
 move.w #$3f,-(a7)
 jsr $96(a5)
 adda.w #$c,a7
 move.w -$5b76(a4),d1
 ext.l d1
 cmp.l d1,d0
 seq d0
 and.w #1,d0
 move.w -$5b76(a4),d1
 ext.l d1
 movea.l $a(a6),a0
 move.l (a0),d0
 sub.l d1,d0
 move.l d0,(a0)
 bra.s w333c
w3336 move.w #$ffff,d0
 bra.s w33ae
w333c clr.w -$5b74(a4)
 move.w -$5b76(a4),d0
 asl.w #3,d0
 move.w -$5b4a(a4),d1
 subq.w #1,d1
 sub.w d1,d0
 move.w d0,-$5b76(a4)
w3352 move.w -$5b74(a4),d6
 move.w -$5b4a(a4),d5
 move.w d6,d0
 asr.w #3,d0
 ext.l d0
 adda.l d0,a3
 and.w #7,d6
 clr.w d7
 move.b (a3)+,d7
 asr.w d6,d7
 move.w #8,d0
 sub.w d6,d0
 sub.w d0,d5
 move.w #8,d0
 sub.w d6,d0
 move.w d0,d6
 cmpi.w #8,d5
 blt.s w338e
 clr.w d0
 move.b (a3)+,d0
 asl.w d6,d0
 or.w d0,d7
 addq.w #8,d6
 subq.w #8,d5
w338e move.b (a3),d0
 lea -$5b72(a4),a0
 adda.w d5,a0
 and.w #$ff,d0
 clr.w d3
 move.b (a0),d3
 and.w d3,d0
 asl.w d6,d0
 or.w d0,d7
 move.w -$5b4a(a4),d0
 add.w d0,-$5b74(a4)
 move.w d7,d0
w33ae movem.l (a7)+,d5-d7/a3
 unlk a6
 rts
w33b6 link a6,#0
 movem.l d7/a3,-(a7)
 move.b 9(a6),d7
 movea.l $a(a6),a0
 movea.l (a0),a3
 move.w -$5b48(a4),d0
 tst.w d0
 beq.s w33d2
 bra.s w33f6
w33d2 clr.w d0
 move.b d7,d0
 cmp.w #$90,d0
 bne.s w33e4
 move.w #1,-$5b48(a4)
 bra.s w33ee
w33e4 clr.w d0
 move.b d7,d0
 move.w d0,-$5b78(a4)
 move.b d0,(a3)+
w33ee movea.l $a(a6),a0
 move.l a3,(a0)
 bra.s w3426
w33f6 cmp.w #1,d0
 beq.s w33fe
 bra.s w3424
w33fe move.b d7,d0
 beq.s w3410
 bra.s w340a
w3404 move.w -$5b78(a4),d0
 move.b d0,(a3)+
w340a subq.b #1,d7
 bne.s w3404
 bra.s w3414
w3410 move.b #$90,(a3)+
w3414 clr.w -$5b48(a4)
 movea.l $a(a6),a0
 move.l a3,(a0)
 bra.s w3426
w3420 bra.s w3420
 bra.s w3426
w3424 bra.s w3420
w3426 movem.l (a7)+,d7/a3
 unlk a6
 rts
w342e link a6,#-$c
 movem.l d4-d7/a2-a3,-(a7)
 move.l $12(a6),d0
 movea.l d0,a3
 move.l $12(a6),d0
 add.l #$2716,d0
 movea.l d0,a2
 move.l $16(a6),d0
 move.l d0,-8(a6)
 move.l d0,-4(a6)
 move.l $e(a6),d0
 move.l d0,-$c(a6)
 clr.w -$5b48(a4)
 move.w #$c,d6
 move.w #9,-$5b4a(a4)
 clr.w -$5b5e(a4)
 move.w #1,d0
 move.w #9,d1
 move.w d1,-$5b4a(a4)
 asl.w d1,d0
 subq.w #1,d0
 move.w d0,-$5b4c(a4)
 move.w #$ff,d6
 bra.s w34a0
w3488 move.w d6,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 clr.w (a0)
 move.w d6,d0
 movea.l a2,a0
 adda.w d6,a0
 and.w #$ff,d0
 move.b d0,(a0)
 subq.w #1,d6
w34a0 tst.w d6
 bge.s w3488
 move.w #$101,-$5b5c(a4)
 pea $a(a6)
 move.w 8(a6),-(a7)
 jsr w325a(pc)
 addq.l #6,a7
 move.w d0,d5
 move.w d0,d7
 cmpi.w #$ffff,d5
 bne.s w34cc
 move.l #$ffffffff,d0
 bra w35d6
w34cc pea $e(a6)
 move.w d7,d0
 ext.w d0
 move.w d0,-(a7)
 jsr w33b6(pc)
 addq.l #6,a7
 bra w35b6
w34e0 cmpi.w #$100,d6
 bne.s w3518
 move.w #$200,-(a7)
 move.l a3,-(a7)
 jsr $54(a5)
 addq.l #6,a7
 move.w #1,-$5b5e(a4)
 move.w #$100,-$5b5c(a4)
 pea $a(a6)
 move.w 8(a6),-(a7)
 jsr w325a(pc)
 addq.l #6,a7
 move.w d0,d6
 cmpi.w #$ffff,d0
 bne.s w3518
 bra w35ce
w3518 move.w d6,d4
 move.w d6,d0
 cmp.w -$5b5c(a4),d0
 blt.s w3530
 move.w d7,d0
 movea.l -4(a6),a0
 addq.l #1,-4(a6)
 move.b d0,(a0)
 move.w d5,d6
w3530 bra.s w3550
w3532 movea.l a2,a0
 adda.w d6,a0
 move.b (a0),d0
 movea.l -4(a6),a0
 addq.l #1,-4(a6)
 and.w #$ff,d0
 move.b d0,(a0)
 move.w d6,d0
 asl.l #1,d0
 movea.l a3,a0
 adda.w d0,a0
 move.w (a0),d6
w3550 cmpi.w #$100,d6
 bge.s w3532
 movea.l a2,a0
 adda.w d6,a0
 clr.w d0
 move.b (a0),d0
 move.w d0,d7
 movea.l -4(a6),a0
 addq.l #1,-4(a6)
 move.b d0,(a0)
w356a pea $e(a6)
 subq.l #1,-4(a6)
 movea.l -4(a6),a0
 clr.w d0
 move.b (a0),d0
 move.w d0,-(a7)
 jsr w33b6(pc)
 addq.l #6,a7
 move.l -4(a6),d0
 cmp.l -8(a6),d0
 bgt.s w356a
 move.w -$5b5c(a4),d0
 move.w d0,d6
 cmp.w -$5b4e(a4),d0
 bge.s w35b4
 move.w d5,d0
 move.w d6,d1
 asl.l #1,d1
 movea.l a3,a0
 adda.w d1,a0
 move.w d0,(a0)
 move.w d7,d0
 movea.l a2,a0
 adda.w d6,a0
 move.b d0,(a0)
 move.w d6,d0
 addq.w #1,d0
 move.w d0,-$5b5c(a4)
w35b4 move.w d4,d5
w35b6 pea $a(a6)
 move.w 8(a6),-(a7)
 jsr w325a(pc)
 addq.l #6,a7
 move.w d0,d6
 cmpi.w #$ffff,d0
 bgt w34e0
w35ce move.l $e(a6),d0
 sub.l -$c(a6),d0
w35d6 movem.l (a7)+,d4-d7/a2-a3
 unlk a6
 rts

 data

; d16(a4) data
 dc.b $1b,"H","SYSTEM ERROR ",0				; 0(a4)
 dc.b " ",0						; $10(a4)
 dc.b "FIGHTER",0					; $12(a4)
 dc.b "NINJA",0						; $1a(a4)
 dc.b "PRIEST",0,0					; $20(a4)
 dc.b "WIZARD",0,0					; $28(a4)
 dc.b "_______",0					; $30(a4)
 dc.b "___________________",0				; $38(a4)
 dc.b " RESURRECTED.",0					; $4c(a4)
 dc.b " REINCARNATED.",0,0				; $5a(a4)
 dc.b "/",0						; $6a(a4)
 dc.b "LOAD ",0						; $6c(a4)
 dc.b ".",0						; $72(a4)
 dc.b "/",0						; $74(a4)
 dc.b " KG",0						; $76(a4)
 dc.b " JUST GAINED A ",0				; $7a(a4)
 dc.b " LEVEL!",0					; $8a(a4)
 dc.b "NEOPHYTE",0,0					; $92(a4)
 dc.b "NOVICE",0,0					; $9c(a4)
 dc.b "APPRENTICE",0,0					; $a4(a4)
 dc.b "JOURNEYMAN",0,0					; $b0(a4)
 dc.b "CRAFTSMAN",0					; $bc(a4)
 dc.b "ARTISAN",0					; $c6(a4)
 dc.b "ADEPT",0						; $ce(a4)
 dc.b "EXPERT",0,0					; $d4(a4)
 dc.b "` MASTER",0,0					; $dc(a4)
 dc.b "a MASTER",0,0					; $e6(a4)
 dc.b "b MASTER",0,0					; $f0(a4)
 dc.b "c MASTER",0,0					; $fa(a4)
 dc.b "d MASTER",0,0					; $104(a4)
 dc.b "e MASTER",0,0					; $10e(a4)
 dc.b "ARCHMASTER",0,0					; $118(a4)
 dc.b ", ",0,0						; $124(a4)
 dc.b " AND ",0						; $128(a4)
 dc.b ")",0						; $12e(a4)
 dc.b "(",0						; $130(a4)
 dc.b "NORTH",0						; $132(a4)
 dc.b "EAST",0,0					; $138(a4)
 dc.b "SOUTH",0						; $13e(a4)
 dc.b "WEST",0,0					; $144(a4)
 dc.b 12,0						; $14a(a4)
 dc.b " ",0						; $14c(a4)
 dc.b "CONSUMABLE",0,0					; $14e(a4)
 dc.b "POISONED",0,0					; $15a(a4)
 dc.b "BROKEN",0,0					; $164(a4)
 dc.b "CURSED",0,0					; $16c(a4)
 dc.b "(BURNT OUT)",0					; $174(a4)
 dc.b "(EMPTY)",0					; $180(a4)
 dc.b "(ALMOST EMPTY)",0,0				; $188(a4)
 dc.b "(ALMOST FULL)",0					; $198(a4)
 dc.b "(FULL)",0,0					; $1a6(a4)
 dc.b "PARTY FACING ",0					; $1ae(a4)
 dc.b "WEIGHS ",0					; $1bc(a4)
 dc.b ".",0						; $1c4(a4)
 dc.b " KG.",0,0					; $1c6(a4)
 dc.b "L",0						; $1cc(a4)
 dc.b "STRENGTH",0,0					; $1ce(a4)
 dc.b "DEXTERITY",0					; $1d8(a4)
 dc.b "WISDOM",0,0					; $1e2(a4)
 dc.b "VITALITY",0,0					; $1ea(a4)
 dc.b "ANTI-MAGIC",0,0					; $1f4(a4)
 dc.b "ANTI-FIRE",0					; $200(a4)
 dc.b " ",0						; $20a(a4)
 dc.b "/",0						; $20c(a4)
 dc.b "HEALTH",0,0					; $20e(a4)
 dc.b "STAMINA",0					; $216(a4)
 dc.b "MANA",0,0					; $21e(a4)
 dc.b "WAKE UP",0					; $224(a4)
 dc.b "GAME FROZEN",0					; $22c(a4)
 dc.b 0,0						; $238(a4)
 dc.b "CAN'T REACH",0					; $23a(a4)
 dc.b "NEED AMMO",0					; $246(a4)
 dc.b "IT COMES UP HEADS.",0,0				; $250(a4)
 dc.b "IT COMES UP TAILS.",0,0				; $264(a4)
 dc.b " NEEDS MORE PRACTICE WITH THIS ",0		; $278(a4)
 dc.b " NEEDS MORE PRACTICE WITH THIS ",0		; $298(a4)
 dc.b " SPELL.",0					; $2b8(a4)
 dc.b " MUMBLES A MEANINGLESS SPELL.",0			; $2c0(a4)
 dc.b " NEEDS AN EMPTY FLASK IN HAND FOR POTION.",0	; $2de(a4)
 dc.b "GAME LOADED, READY TO PLAY.",0			; $308(a4)
 dc.b "CAN'T MODIFY CHAOS STRIKES BACK DISK!",0		; $324(a4)
 dc.b "THAT'S NOT THE MASTER DISK!",0			; $34a(a4)
 dc.b "CAN'T FIND SAVED GAME!",0,0			; $366(a4)
 dc.b "UNABLE TO SAVE GAME!",0,0			; $37e(a4)
 dc.b "UNABLE TO FORMAT DISK!",0,0			; $394(a4)
 dc.b "THAT'S THE CHAOS STRIKES BACK DISK!",0		; $3ac(a4)
 dc.b "THAT'S A GAME SAVE DISK!",0,0			; $3d0(a4)
 dc.b "THAT DISK IS WRITE-PROTECTED!",0			; $3ea(a4)
 dc.b "THAT DISK IS UNREADABLE",0			; $408(a4)
 dc.b "THAT'S NOT THE SAME GAME",0,0			; $420(a4)
 dc.b "SAVED GAME DAMAGED!",0				; $43a(a4)
 dc.b "PUT THE GAME SAVE DISK IN ~",0			; $44e(a4)
 dc.b "PUT THE CHAOS STRIKES BACK DISK IN ~",0,0	; $46a(a4)
 dc.b "PUT A BLANK DISK IN ~",0				; $490(a4)
 dc.b "SAVING GAME . . .",0				; $4a6(a4)
 dc.b "LOADING GAME . . .",0,0				; $4b8(a4)
 dc.b "FORMATTING DISK . . .",0				; $4cc(a4)
 dc.b "FORMAT DISK ANYWAY?",0				; $4e2(a4)
 dc.b "THERE IS NO DISK IN ~!",0,0			; $4f6(a4)
 dc.b "LOAD SAVED GAME",0				; $50e(a4)
 dc.b "SAVE AND PLAY",0					; $51e(a4)
 dc.b "SAVE AND QUIT",0					; $52c(a4)
 dc.b "FORMAT FLOPPY",0					; $53a(a4)
 dc.b "OK",0,0						; $548(a4)
 dc.b "CANCEL",0,0					; $54c(a4)
 dc.b "V2.1",0,0					; $554(a4)
 dc.b $5c,"DUNGEON.DAT",0,0				; $55a(a4)
 dc.b "A:",$5c,"DUNGEON.FTL",0,0			; $568(a4)
 dc.b " ",0						; $578(a4)
 dc.b "RESTART THIS GAME",0				; $57a(a4)
 dc.b $1b,"f",0,0					; $58c(a4)
 dc.b "DRIVE A:",0,0					; $590(a4)
 dc.b "DRIVE B:",0,0					; $59a(a4)
 dc.b "Copyright (c) 1987, Software Heaven, Inc.",0	; $5a4(a4)
 dc.b "DungeonMaster",0					; $5ce(a4)
 dc.b "A:",$5c,"GRAPHICS.DAT",0				; $5dc(a4)

 bss
 ds.b $5b78
