; In_Go Reassembler audio: 11.05.2003 12:32:55

_SysBase EQU $4
MinWordSgnd EQU $8000
Long_Custom EQU $DFF000
_custom EQU $DFF000
INTENAR EQU $1C
DMACON EQU $96
INTENA EQU $9A
INTREQ EQU $9C
MaxIntSgnd EQU $7FFFFFFF

 SECTION "Segment0",CODE

 cnop 0,4
RomTag: illegal
L_0_2:  dc.l RomTag
L_0_6:  dc.l EndSkip
  dc.b $80,$25,$03,$88
L_0_E:  dc.l audioname
L_0_12:  dc.l L_0_28
L_0_16:  dc.l L_0_40
audioname:  dc.b "audio.device",0,0
L_0_28:  dc.b "audio 37.10 (26.4.91)",13,10,0
L_0_40:  dc.l $27A
L_0_44:  dc.l JumpTAB1
L_0_48:  dc.l L_0_50
L_0_4C:  dc.l JL_0_6E
L_0_50:  dc.b $A0,$08,$03,$00
  dc.b $80,$0A
L_0_56:  dc.l audioname
  dc.b $A0,$0E,$06,$00
  dc.b $90,$14
  dc.b $00,$25,$90,$16
  dc.b $00,$0A,$80,$18
L_0_68:  dc.l L_0_28
  ds.w 1

JL_0_6E:  movem.l D0/A0,-(A7)
   bsr.w JL_0_40C
  addq.l #8,A7
 rtS 
 
JumpTAB1:  dc.w $FFFF
L_0_7C: dc.w JL_0_8C-(JumpTAB1)
L_0_7E: dc.w JL_0_9E-(JumpTAB1)
L_0_80: dc.w JL_0_AA-(JumpTAB1)
L_0_82: dc.w JL_0_B2-(JumpTAB1)
L_0_84: dc.w JL_0_B4-(JumpTAB1)
L_0_86: dc.w JL_0_C0-(JumpTAB1)
  dc.w $FFFF
  dc.w $0000

JL_0_8C:  movem.l D1/A6,-(A7)
  movem.l D0/A1,-(A7)
   bsr.w JL_0_2E4
  lea $10(A7),A7
 rtS 
 
JL_0_9E:  movem.l A1/A6,-(A7)
   bsr.w JL_0_332
  addq.l #8,A7
 rtS 
 
JL_0_AA:  move.l A6,-(A7)
   bsr.w JL_0_394
  addq.l #4,A7
JL_0_B2: rtS 
 
JL_0_B4:  movem.l A1/A6,-(A7)
   bsr.w JL_0_948
  addq.l #8,A7
 rtS 
 
JL_0_C0:  movem.l A1/A6,-(A7)
   bsr.w JL_0_EB6
  addq.l #8,A7
 rtS 
 
AJL_0_CC:  movea.l $8(A1),A5
  move.l $58(A1),$6(A5)
 bra.b JL_0_12E
 
AJL_0_D8:  movea.l $10(A1),A5
  btst #$4,$1E(A5)
   beq.b JL_0_EE
  movea.l $8(A1),A6
  move.l $2A(A5),$6(A6)
JL_0_EE:  move.l $C(A1),D0
   beq.b JL_0_10C
  movea.l D0,A5
  movea.l $50(A1),A6
  move.l $4(A6),D0
  move.l A6,(A5)
  move.l A5,$4(A6)
  movea.l D0,A6
  move.l A5,(A6)
  movea.l $10(A1),A5
JL_0_10C:  move.l A5,$C(A1)
  btst #$7,$1E(A5)
   beq.b JL_0_12E
  lea $30(A5),A5
  movea.l $50(A1),A6
  move.l $4(A6),D0
  move.l A6,(A5)
  move.l A5,$4(A6)
  movea.l D0,A6
  move.l A5,(A6)
JL_0_12E:  move.l #AL_0_136,$0(A1)
AL_0_136:  subq.w #1,$5C(A1)
   bls.b JL_0_172
JL_0_13C:  move.w $68(A1),$9C(A0)
JL_0_142:  btst #$1,$15(A1)
   bne.w JL_0_25C
  movea.l $50(A1),A5
  cmpa.l -$4(A5),A5
   bne.b JL_0_1BA
 rtS 
 
AJL_0_158:  move.l $4(A1),$0(A1)
  move.w $66(A1),D0
  ori.w #$8000,D0
  move.w $68(A1),$9C(A0)
  move.w D0,$96(A0)
 bra.b JL_0_142
 
JL_0_172:   bcc.b JL_0_1C6
  clr.w $5C(A1)
  move.w $68(A1),$9A(A0)
 bra.b JL_0_13C
 
JL_0_180:  clr.l $10(A1)
  move.l #AJL_0_18E,$0(A1)
 bra.b JL_0_13C
 
AJL_0_18E:  move.w $66(A1),$96(A0)
  move.w $68(A1),$9A(A0)
  move.l $C(A1),D0
   beq.b JL_0_142
  movea.l D0,A5
  movea.l $50(A1),A6
  move.l $4(A6),D0
  move.l A6,(A5)
  move.l A5,$4(A6)
  movea.l D0,A6
  move.l A5,(A6)
  clr.l $C(A1)
 bra.b JL_0_142
 
JL_0_1BA:  movea.l $4C(A1),A1
  movea.l $4.W,A6
Cause SET -$B4
 jmp Cause(A6)
 
JL_0_1C6:  movea.l $16(A1),A5
  tst.l (A5)
   beq.b JL_0_180
  move.l $26(A5),D0
  lsr.l #1,D0
  movea.l $8(A1),A6
  move.w D0,$4(A6)
  move.l $22(A5),$0(A6)
  move.w $2E(A5),$5C(A1)
  move.l A5,$10(A1)
  movea.l (A5),A6
  movea.l $4(A5),A5
  move.l A6,(A5)
  move.l A5,$4(A6)
  move.l #AJL_0_D8,$0(A1)
 bra.w JL_0_13C
 
JL_0_204:  movem.l A5-A6,-(A7)
  lea Long_Custom,A0
  movea.l $C(A7),A1
   bsr.w AJL_0_18E
  movem.l (A7)+,A5-A6
 rtS 
 
JL_0_21C:  movem.l A5-A6,-(A7)
  lea Long_Custom,A0
  movea.l $C(A7),A1
   bsr.b JL_0_1C6
  movem.l (A7)+,A5-A6
 rtS 
 
JL_0_232:  movem.l A5-A6,-(A7)
  movem.l $C(A7),A5-A6
  lea $8E(A6),A0
   bsr.b JL_0_270
  movem.l (A7)+,A5-A6
 rtS 
 
JL_0_248:  movem.l A5-A6,-(A7)
  movea.l $C(A7),A1
  movea.l $4.W,A6
   bsr.b AJL_0_28E
  movem.l (A7)+,A5-A6
 rtS 
 
JL_0_25C:  bclr #$1,$15(A1)
  lea $24(A1),A5
  movea.l $50(A1),A0
   bsr.b JL_0_270
 bra.w JL_0_1BA
 
JL_0_270:  movea.l $8(A5),A6
  move.l A0,(A6)
  movea.l $4(A0),A6
  move.l $8(A5),$4(A0)
  move.l (A5),(A6)
  move.l A5,$8(A5)
  addq.l #4,A5
  clr.l (A5)
  move.l A5,-(A5)
 rtS 
 
AJL_0_28E:  movea.l A1,A5
JL_0_290:  move.w #$4000,_custom+INTENA
  addq.b #1,$126(A6)
  movea.l (A5),A1
  move.l (A1),D0
   beq.b JL_0_2C2
  move.l D0,(A5)
  cmpa.l $8(A5),A1
   bne.b JL_0_2AE
  move.l A5,$8(A5)
JL_0_2AE:  subq.b #1,$126(A6)
   bge.b JL_0_2BC
  move.w #$C000,_custom+INTENA
ReplyMsg SET -$17A
JL_0_2BC:   jsr ReplyMsg(A6)
 bra.b JL_0_290
 
JL_0_2C2:  subq.b #1,$126(A6)
   bge.b JL_0_2D0
  move.w #$C000,_custom+INTENA
JL_0_2D0: rtS 
 
AJL_0_2D2:  movea.l $0(A1),A5
  cmpa.l #$0,A5
   bne.b JL_0_2E2
  lea AJL_0_D8(PC),A5
JL_0_2E2: jmp (A5)
 
JL_0_2E4:  move.l A2,-(A7)
  movea.l $C(A7),A2
  movea.l $14(A7),A0
  addq.w #1,$20(A0)
  move.w #$0020,$1C(A2)
  move.b #$41,$1E(A2)
  move.l A2,-(A7)
   bsr.w JL_0_1078
  move.l A2,-(A7)
   bsr.w JL_0_1064
  clr.b $1E(A2)
  tst.b $1F(A2)
  addq.l #8,A7
   beq.b JL_0_324
  move.l $14(A7),-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_332
  addq.l #8,A7
 bra.b JL_0_32E
 
JL_0_324:  movea.l $14(A7),A0
  andi.w #$FFFE,$22(A0)
JL_0_32E:  movea.l (A7)+,A2
 rtS 
 
JL_0_332:  movem.l D2-D4/A2-A3,-(A7)
  movea.l $18(A7),A2
  movea.l $1C(A7),A3
  move.b $1D(A2),D4
  move.b $1E(A2),D2
  move.b $1F(A2),D3
  moveq.l #$0F,D0
  move.l D0,$18(A2)
  move.w #$0009,$1C(A2)
  move.l A2,-(A7)
   bsr.w JL_0_FB0
  moveq.l #$00,D0
  move.b D4,D0
  move.w D0,$1C(A2)
  move.b D2,$1E(A2)
  move.b D3,$1F(A2)
  moveq.l #-$01,D0
  move.l D0,$14(A2)
  subq.w #1,$20(A3)
  addq.l #4,A7
   bne.b JL_0_38C
  btst #$0,$23(A3)
   beq.b JL_0_38C
  move.l A3,-(A7)
   bsr.w JL_0_394
  addq.l #4,A7
 bra.b JL_0_38E
 
JL_0_38C:  moveq.l #$00,D0
JL_0_38E:  movem.l (A7)+,D2-D4/A2-A3
 rtS 
 
JL_0_394:  movem.l D2/A2,-(A7)
  movea.l $C(A7),A2
  tst.w $20(A2)
   beq.b JL_0_3AC
  ori.w #$1,$22(A2)
  moveq.l #$00,D0
 bra.b JL_0_404
 
JL_0_3AC:  clr.w D2
JL_0_3AE:  moveq.l #$01,D1
  move.b D2,D0
  asl.l D0,D1
  asl.l #2,D1
  movea.l $28(A2,D1.L),A0
  move.l $54(A0),-(A7)
  moveq.l #$00,D0
  move.b $6B(A0),D0
  move.l D0,-(A7)
   bsr.w JL_0_104C
  addq.w #1,D2
  cmpi.w #$4,D2
  addq.l #8,A7
   blt.b JL_0_3AE
  move.l $24(A2),D2
  move.l A2,-(A7)
   bsr.w JL_0_1024
  moveq.l #$00,D0
  move.w $12(A2),D0
  moveq.l #$00,D1
  move.w $10(A2),D1
  add.l D1,D0
  move.l D0,-(A7)
  move.l A2,D1
  moveq.l #$00,D0
  move.w $10(A2),D0
  sub.l D0,D1
  move.l D1,-(A7)
   bsr.w JL_0_FFC
  move.l D2,D0
  lea $C(A7),A7
JL_0_404:  movem.l (A7)+,D2/A2
 rtS 

JL_0_40C:  movem.l D2-D6/A2-A5,-(A7)
  movea.l $28(A7),A2
  move.l $2C(A7),D0
  movea.l #AJL_0_108C,A4
  move.w #$000F,_custom+DMACON
  move.l D0,$24(A2)
  pea $8A(A2)
L_0_42E:   jsr (A4)
  pea $98(A2)
L_0_434:   jsr (A4)
  pea $A6(A2)
L_0_43A:   jsr (A4)
  move.w #$007F,$7A(A2)
  move.b #$2,$BC(A2)
  move.l #audioname,$BE(A2)
  lea $8A(A2),A0
  move.l A0,$C2(A2)
  move.l #AJL_0_28E,$C6(A2)
  lea $CA(A2),A3
  move.l #$DFF0A0,D6
  lea $6A(A2),A0
  move.l A0,D4
  lea $72(A2),A0
  move.l A0,D5
  clr.w D3
  lea $C(A7),A7
JL_0_47C:  move.w D3,D1
  asl.w #2,D1
  move.w D3,D2
  movea.l #AL_0_55C,A1
  moveq.l #$00,D0
  move.b $0(A1,D2.W),D0
  mulu #$6C,D0
  lea $CA(A2),A1
  adda.w D0,A1
  move.l A1,$28(A2,D1.W)
  cmpi.w #$4,D3
   bcc.w JL_0_54A
  pea $16(A3)
L_0_4A8:   jsr (A4)
  pea $24(A3)
L_0_4AE:   jsr (A4)
  move.b #$2,$3A(A3)
  move.l #audioname,$3C(A3)
  move.l A3,$40(A3)
  move.l #AJL_0_2D2,$44(A3)
  move.l A2,$48(A3)
  lea $B4(A2),A0
  move.l A0,$4C(A3)
  lea $8E(A2),A0
  move.l A0,$50(A3)
  moveq.l #$01,D1
  move.b D3,D0
  move.b D0,$6A(A3)
  asl.l D0,D1
  move.w D1,D0
  move.w D0,$66(A3)
  ext.l D0
  asl.l #7,D0
  move.w D0,$68(A3)
  pea $32(A3)
  moveq.l #$00,D0
  move.w D3,D0
  addq.l #7,D0
  move.b D0,$6B(A3)
  moveq.l #$00,D1
  move.b D0,D1
  move.l D1,-(A7)
   bsr.w JL_0_104C
  move.l D0,$54(A3)
  movea.l D5,A5
  move.w #$FF7F,(A5)
  move.l D5,D0
  addq.l #2,D5
  move.l D0,$62(A3)
  movea.l D4,A5
  move.w #$FFFF,(A5)
  move.l D4,D0
  addq.l #2,D4
  move.l D0,$5E(A3)
  move.l D6,D0
  moveq.l #$10,D1
  add.l D1,D6
  move.l D0,$8(A3)
  move.l A2,-(A7)
  move.l A3,D0
  moveq.l #$6C,D1
  adda.l D1,A3
  move.l D0,-(A7)
   bsr.w JL_0_704
  lea $18(A7),A7
JL_0_54A:  addq.w #1,D3
  cmpi.w #$10,D3
   bcs.w JL_0_47C
  move.l A2,D0
  movem.l (A7)+,D2-D6/A2-A5
 rtS 
 
AL_0_55C:  ds.w 1
  dc.b $01,$00,$02,$00 ;....
  dc.b $01,$00,$03,$00 ;....
  dc.b $01,$00,$02,$00 ;....
  dc.b $01,$00 ;..
JL_0_56C:  movea.l $4(A7),A0
  movea.l $8(A7),A1
  move.b #$FE,$1F(A0)
  move.l A0,-(A7)
  pea $8A(A1)
   bsr.w JL_0_F88
  addq.l #8,A7
 rtS 
 
JL_0_588:  movem.l D2/A2,-(A7)
  movea.l $C(A7),A2
  tst.l $10(A2)
   beq.b JL_0_59E
  btst #$0,$15(A2)
   beq.b JL_0_5A8
JL_0_59E:  move.l A2,-(A7)
   bsr.w JL_0_204
  addq.l #4,A7
 bra.b JL_0_5E4
 
JL_0_5A8:  move.l (A2),$4(A2)
  move.l #AJL_0_158,(A2)
  move.w $68(A2),D2
  moveq.l #$00,D1
  move.w _custom+INTENAR,D1
  moveq.l #$00,D0
  move.w D2,D0
  and.l D0,D1
   bne.b JL_0_5DC
  move.w D2,_custom+INTREQ
  moveq.l #$00,D0
  move.w D2,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
JL_0_5DC:  move.w $66(A2),_custom+DMACON
JL_0_5E4:  movea.l $8(A2),A0
  lea $6(A0),A0
  move.l #$10000,(A0)
  movem.l (A7)+,D2/A2
 rtS 
 
JL_0_5F8:  movem.l D2-D3/A2,-(A7)
  movea.l $10(A7),A2
  move.l $14(A7),D2
  move.l $10(A2),D3
   beq.b JL_0_622
  move.l A2,-(A7)
   bsr.w JL_0_21C
  cmp.l $C(A2),D3
  addq.l #4,A7
   beq.b JL_0_622
  move.l D2,-(A7)
  move.l D3,-(A7)
   bsr.w JL_0_56C
  addq.l #8,A7
JL_0_622:  movem.l (A7)+,D2-D3/A2
 rtS 
 
JL_0_628:  movem.l A2-A4,-(A7)
  movea.l $10(A7),A2
  movea.l $14(A7),A3
  movea.l $18(A7),A4
   bsr.w AJL_0_FA0
  movea.l (A3),A0
 bra.b JL_0_64E
 
JL_0_640:  movea.l (A0),A0
  move.l A0,D0
   bne.b JL_0_64E
   bsr.w AJL_0_FC4
  moveq.l #$00,D0
 bra.b JL_0_67A
 
JL_0_64E:  cmpa.l A2,A0
   bne.b JL_0_640
  cmpi.b #$1,$1F(A2)
   beq.b JL_0_66E
  move.l A2,-(A7)
   bsr.w JL_0_1024
  move.l A2,-(A7)
  pea $8A(A4)
   bsr.w JL_0_F88
  lea $C(A7),A7
JL_0_66E:   bsr.w AJL_0_FC4
  move.b #$FE,$1F(A2)
  moveq.l #$01,D0
JL_0_67A:  movem.l (A7)+,A2-A4
 rtS 
 
JL_0_680:  movem.l D2/A2,-(A7)
  movea.l $C(A7),A2
  move.l $10(A7),D2
   bsr.w AJL_0_FA0
  movea.l (A2),A0
 bra.b JL_0_69C
 
JL_0_694:  move.b #$FE,$1F(A0)
  movea.l D0,A0
JL_0_69C:  move.l (A0),D0
   bne.b JL_0_694
   bsr.w AJL_0_FC4
   bsr.w AJL_0_FA0
  movea.l (A2),A0
  tst.l (A0)
   beq.b JL_0_6B8
  move.l D2,-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_232
  addq.l #8,A7
JL_0_6B8:   bsr.w AJL_0_FC4
  movem.l (A7)+,D2/A2
 rtS 
 
JL_0_6C2:  movem.l D2/A2,-(A7)
  movea.l $C(A7),A2
  move.l $10(A7),D2
   bsr.w AJL_0_FA0
  move.l D2,-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_5F8
  move.l A2,-(A7)
   bsr.w JL_0_588
  move.l D2,-(A7)
  pea $16(A2)
   bsr.b JL_0_680
   bsr.w AJL_0_FC4
  andi.w #$FFFD,$14(A2)
  move.l D2,-(A7)
  pea $24(A2)
   bsr.b JL_0_680
  lea $1C(A7),A7
  movem.l (A7)+,D2/A2
 rtS 
 
JL_0_704:  movem.l D2/A2,-(A7)
  movea.l $C(A7),A2
  move.l $10(A7),D2
  pea $32(A2)
  moveq.l #$00,D0
  move.b $6B(A2),D0
  move.l D0,-(A7)
   bsr.w JL_0_104C
  move.l D2,-(A7)
  move.l A2,-(A7)
   bsr.b JL_0_6C2
  movea.l $8(A2),A0
  lea $6(A0),A0
  move.l #$10000,(A0)
  moveq.l #$00,D0
  move.b $6A(A2),D0
  movea.l #AL_0_F82,A0
  moveq.l #$00,D1
  move.b $0(A0,D0.W),D1
  move.w D1,$DFF09E
  andi.w #$FFFE,$14(A2)
  lea $10(A7),A7
  movem.l (A7)+,D2/A2
 rtS 
 
JL_0_75C:  movea.l $4(A7),A1
  movea.l $8(A7),A0
  tst.w $20(A1)
   bne.b JL_0_77C
  addq.w #1,$68(A0)
   bgt.b JL_0_776
  move.w #$0001,$68(A0)
JL_0_776:  move.w $68(A0),$20(A1)
JL_0_77C: rtS 
 
JL_0_77E:  movem.l D2-D5/A2-A5,-(A7)
  movea.l $24(A7),A2
  movea.l $28(A7),A3
  clr.w D3
  tst.l $26(A2)
   beq.w JL_0_92E
  btst #$1,$23(A3)
   beq.b JL_0_7FC
  moveq.l #$0F,D4
  move.w #$FF7F,D5
  lea $7A(A3),A1
  lea $84(A3),A4
 bra.b JL_0_7EE
 
JL_0_7AC:  moveq.l #$01,D0
  clr.b D3
  lea $72(A3),A0
 bra.b JL_0_7D8
 
JL_0_7B6:  moveq.l #$00,D2
  move.b D0,D2
  move.l D2,D1
  moveq.l #$00,D2
  move.b D4,D2
  and.l D2,D1
   beq.b JL_0_7D4
  cmp.w (A0),D5
   bne.b JL_0_7CC
  or.b D0,D3
 bra.b JL_0_7D4
 
JL_0_7CC:  cmp.w (A0),D5
   blt.b JL_0_7D4
  move.b D0,D3
  move.w (A0),D5
JL_0_7D4:  lsl.b #1,D0
  addq.l #2,A0
JL_0_7D8:  cmp.b D0,D4
   bcc.b JL_0_7B6
  cmpi.w #$FF7F,D5
   ble.b JL_0_7E4
  move.w D5,(A1)+
JL_0_7E4:  moveq.l #$7F,D5
  move.b D3,D0
  not.b D0
  and.b D0,D4
  move.b D4,(A4)+
JL_0_7EE:  tst.b D4
   bne.b JL_0_7AC
  move.w #$007F,(A1)
  andi.w #$FFFD,$22(A3)
JL_0_7FC:  clr.l $18(A2)
  lea $84(A3),A4
  lea $7A(A3),A0
 bra.b JL_0_80E
 
JL_0_80A:  addq.l #1,A4
  addq.l #2,A0
JL_0_80E:  move.b $9(A2),D0
  ext.w D0
  cmp.w (A0),D0
   bgt.b JL_0_80A
  clr.w D4
  movea.l $22(A2),A1
 bra.b JL_0_86A
 
JL_0_820:  moveq.l #$00,D2
  move.b (A4),D2
  move.l D2,D1
  moveq.l #$00,D0
  move.b (A1),D0
  move.l D0,D2
  and.l D2,D1
   bne.b JL_0_866
  lea $84(A3),A0
 bra.b JL_0_85E
 
JL_0_836:  clr.w D3
  movea.l $22(A2),A1
 bra.b JL_0_852
 
JL_0_83E:  moveq.l #$00,D2
  move.b (A0),D2
  move.l D2,D1
  moveq.l #$00,D0
  move.b (A1),D0
  move.l D0,D2
  and.l D2,D1
   beq.b JL_0_87C
  addq.l #1,A1
  addq.w #1,D3
JL_0_852:  move.w D3,D1
  ext.l D1
  cmp.l $26(A2),D1
   bcs.b JL_0_83E
  addq.l #1,A0
JL_0_85E:  cmpa.l A4,A0
   blt.b JL_0_836
  move.w D4,D3
 bra.b JL_0_87C
 
JL_0_866:  addq.l #1,A1
  addq.w #1,D4
JL_0_86A:  moveq.l #$00,D2
  move.w D4,D2
  move.l D2,D1
  cmp.l $26(A2),D1
   bcs.b JL_0_820
  moveq.l #-$01,D0
 bra.w JL_0_93E
 
JL_0_87C:  movea.l $22(A2),A0
  move.w D3,D0
  ext.l D0
  adda.l D0,A0
  move.b (A0),D2
  move.b $89(A3),D4
  and.b D2,D4
   beq.b JL_0_8D2
   bsr.w AJL_0_FA0
  movea.l $98(A3),A2
 bra.b JL_0_8C2
 
JL_0_89A:  move.l $18(A2),D1
  moveq.l #$00,D2
  move.b D4,D2
  and.l D2,D1
   beq.b JL_0_8C0
  move.l A2,-(A7)
   bsr.w JL_0_1024
  move.b #$F4,$1F(A2)
  move.l A2,-(A7)
  pea $8A(A3)
   bsr.w JL_0_F88
  lea $C(A7),A7
JL_0_8C0:  movea.l D3,A2
JL_0_8C2:  move.l (A2),D3
   bne.b JL_0_89A
   bsr.w AJL_0_FC4
  moveq.l #-$02,D2
  movea.l D2,A0
 bra.w JL_0_940
 
JL_0_8D2:  moveq.l #$00,D0
  move.b D2,D0
  move.l D0,$18(A2)
  move.l A3,-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_75C
  lea $CA(A3),A0
  move.l A0,D5
  lea $72(A3),A0
  move.l A0,D4
  lea $6A(A3),A4
  addq.l #8,A7
 bra.b JL_0_928
 
JL_0_8F6:  btst #$0,D2
   beq.b JL_0_91A
  move.l A3,-(A7)
  move.l D5,-(A7)
   bsr.w JL_0_704
  move.b $9(A2),D0
  ext.w D0
  movea.l D4,A5
  move.w D0,(A5)
  move.w $20(A2),(A4)
  ori.w #$2,$22(A3)
  addq.l #8,A7
JL_0_91A:  moveq.l #$6C,D1
  add.l D1,D5
  addq.l #2,A4
  addq.l #2,D4
  move.b D2,D0
  lsr.b #1,D0
  move.b D0,D2
JL_0_928:  tst.b D2
   beq.b JL_0_938
 bra.b JL_0_8F6
 
JL_0_92E:  move.l A3,-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_75C
  addq.l #8,A7
JL_0_938:  movea.w D3,A0
  move.l A0,D0
  ext.l D0
JL_0_93E:  movea.l D0,A0
JL_0_940:  move.l A0,D0
  movem.l (A7)+,D2-D5/A2-A5
 rtS 
 
JL_0_948:  link A6,#-$8
  movem.l D2-D6/A2-A5,-(A7)
  movea.l $8(A6),A2
  movea.l $C(A6),A3
  move.l #AJL_0_FC4,D3
  move.l #AJL_0_FA0,D4
  move.l #_custom+INTENAR,D6
  move.b #$5,$8(A2)
  clr.b $1F(A2)
   bsr.w JL_0_FEC
  cmpi.w #$20,$1C(A2)
   bne.b JL_0_9C2
  move.l A3,-(A7)
  move.l A2,-(A7)
   bsr.w JL_0_77E
  move.b D0,D1
  cmpi.b #$FF,D0
  addq.l #8,A7
   bne.b JL_0_9A4
  btst #$6,$1E(A2)
   beq.b JL_0_9A4
  move.b #$F5,$1F(A2)
 bra.w JL_0_E68
 
JL_0_9A4:  tst.b D1
   bge.w JL_0_E68
   bsr.w AJL_0_FA0
  move.l A2,-(A7)
  pea $A6(A3)
   bsr.w JL_0_FD4
JL_0_9B8:   bsr.w AJL_0_FC4
  addq.l #8,A7
 bra.w JL_0_E90
 
JL_0_9C2:  clr.b D5
  move.l $18(A2),-$4(A6)
 bra.w JL_0_E60
 
JL_0_9CE:  move.l -$4(A6),D1
  asl.l #2,D1
  movea.l D1,A0
  movea.l $28(A3,A0.L),A4
  movea.w $66(A4),A0
  move.l A0,D1
  ext.l D1
  not.l D1
  move.l -$4(A6),D2
  and.l D1,D2
  move.l D2,-$4(A6)
  movea.l $5E(A4),A1
  move.w (A1),D0
  cmp.w $20(A2),D0
   beq.b JL_0_A5C
  move.b #$F6,$1F(A2)
  move.w $66(A4),D0
  ext.l D0
  not.l D0
  and.l $18(A2),D0
  move.l D0,$18(A2)
  move.w $1C(A2),D0
  add.w D0,D0
  move.w L_0_A1A(PC,D0.W),D0
L_0_A1A: jmp L_0_A1E(PC,D0.W)
 
L_0_A1E: dc.w JL_0_A38-(L_0_A1E)
L_0_A20: dc.w JL_0_A38-(L_0_A1E)
L_0_A22: dc.w JL_0_E60-(L_0_A1E)
L_0_A24: dc.w JL_0_E60-(L_0_A1E)
L_0_A26: dc.w JL_0_E60-(L_0_A1E)
L_0_A28: dc.w JL_0_A40-(L_0_A1E)
L_0_A2A: dc.w JL_0_E60-(L_0_A1E)
L_0_A2C: dc.w JL_0_A48-(L_0_A1E)
L_0_A2E: dc.w JL_0_A50-(L_0_A1E)
L_0_A30: dc.w JL_0_E60-(L_0_A1E)
L_0_A32: dc.w JL_0_E60-(L_0_A1E)
L_0_A34: dc.w JL_0_A38-(L_0_A1E)
L_0_A36: dc.w JL_0_A38-(L_0_A1E)
JL_0_A38:  clr.l $18(A2)
 bra.w JL_0_E68
 
JL_0_A40:  tst.l -$4(A6)
   beq.w JL_0_BFE
JL_0_A48:  tst.l -$4(A6)
   beq.w JL_0_CFA
JL_0_A50:  tst.l -$4(A6)
   bne.w JL_0_E60
 bra.w JL_0_D68
 
JL_0_A5C:  move.w $1C(A2),D0
  add.w D0,D0
  move.w L_0_A66+2(PC,D0.W),D0
L_0_A66:  jmp L_0_A6A(PC,d0.w)
L_0_A6A:  dc.w       JL_0_A86-(L_0_A6A)
L_0_A6C:  dc.w       JL_0_A92-(L_0_A6A)
L_0_A6E:  dc.w       JL_0_AA6-(L_0_A6A)
L_0_A70:  dc.w       JL_0_E60-(L_0_A6A)
L_0_A72:  dc.w       JL_0_E60-(L_0_A6A)
L_0_A74:  dc.w       JL_0_B98-(L_0_A6A)
L_0_A76:  dc.w       JL_0_BB2-(L_0_A6A)
L_0_A78:  dc.w       JL_0_C12-(L_0_A6A)
L_0_A7A:  dc.w       JL_0_CD8-(L_0_A6A)
L_0_A7C:  dc.w       JL_0_D54-(L_0_A6A)
L_0_A7E:  dc.w       JL_0_C20-(L_0_A6A)
L_0_A80:  dc.w       JL_0_C72-(L_0_A6A)
L_0_A82:  dc.w       JL_0_DDA-(L_0_A6A)
L_0_A84:  dc.w       JL_0_DFC-(L_0_A6A)

JL_0_A86:  move.l A3,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_704
 bra.w JL_0_C1A
 
JL_0_A92:  move.w $66(A4),D0
  ext.l D0
  move.l D0,$18(A2)
  move.l $C(A4),$22(A2)
 bra.w JL_0_E68
 
JL_0_AA6:  move.w $66(A4),D0
  ext.l D0
  move.l D0,$18(A2)
  moveq.l #$00,D0
  movea.l D6,A1
  move.w (A1),D0
  movea.l D0,A0
  move.w $68(A4),D0
  ext.l D0
  exg.l D1,A0
  and.l D0,D1
  exg.l D1,A0
   beq.b JL_0_AD2
JL_0_AC6:  tst.l $10(A4)
   beq.b JL_0_AD2
  tst.l $C(A4)
   beq.b JL_0_AC6
JL_0_AD2:   bsr.w AJL_0_FA0
  tst.l $10(A4)
   beq.b JL_0_AEC
  move.l A2,-(A7)
  pea $16(A4)
   bsr.w JL_0_F88
  addq.l #8,A7
 bra.w JL_0_B90
 
JL_0_AEC:  move.l $8(A4),D1
  move.l $26(A2),D0
  lsr.l #1,D0
  movea.l D0,A0
  movea.l D1,A5
  move.w A0,$4(A5)
  movea.l D1,A5
  move.l $22(A2),(A5)
  move.w $2E(A2),$5C(A4)
  move.l A2,$10(A4)
  move.l #AJL_0_D8,(A4)
  tst.l $C(A4)
   bne.w JL_0_B90
  btst #$0,$15(A4)
   bne.b JL_0_B90
  move.l #AJL_0_D8,$4(A4)
  move.l #AJL_0_158,(A4)
  btst #$4,$1E(A2)
   beq.b JL_0_B46
  movea.l D1,A0
  lea $6(A0),A1
  move.l #$80000,(A1)
JL_0_B46:  move.w $68(A4),D2
  moveq.l #$00,D0
  movea.l D6,A1
  move.w (A1),D0
  movea.l D0,A0
  moveq.l #$00,D0
  move.w D2,D0
  exg.l D4,A0
  and.l D0,D4
  exg.l D4,A0
   bne.b JL_0_B74
  move.w D2,_custom+INTREQ
  moveq.l #$00,D0
  move.w D2,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
JL_0_B74:  movea.l $22(A2),A1
  move.b (A1),D2
  moveq.l #$00,D0
  move.b D2,D0
  move.l D0,D4
  lsl.l #8,D4
  moveq.l #$00,D0
  move.b D2,D0
  or.l D0,D4
  movea.l D4,A0
  movea.l D1,A4
  move.w A0,$A(A4)
JL_0_B90:   bsr.w AJL_0_FC4
 bra.w JL_0_E90
 
JL_0_B98:  ori.w #$1,$14(A4)
  move.w $68(A4),_custom+INTENA
  move.w $66(A4),_custom+DMACON
 bra.w JL_0_E60
 
JL_0_BB2:  andi.w #$FFFE,$14(A4)
  tst.l $C(A4)
   bne.b JL_0_BC4
  tst.l $10(A4)
   beq.b JL_0_BF6
JL_0_BC4:  or.b $67(A4),D5
  move.w $68(A4),D1
  moveq.l #$00,D0
  movea.l D6,A1
  move.w (A1),D0
  movea.l D0,A0
  moveq.l #$00,D0
  move.w D1,D0
  exg.l D2,A0
  and.l D0,D2
  exg.l D2,A0
   bne.b JL_0_BF6
  move.w D1,_custom+INTREQ
  moveq.l #$00,D0
  move.w D1,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
JL_0_BF6:  tst.l -$4(A6)
   bne.w JL_0_E60
JL_0_BFE:  moveq.l #$00,D0
  move.b D5,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+DMACON
 bra.w JL_0_E60
 
JL_0_C12:  move.l A3,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_6C2
JL_0_C1A:  addq.l #8,A7
 bra.w JL_0_E60
 
JL_0_C20:   bsr.w AJL_0_FA0
  move.l A3,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_5F8
  btst #$5,$1E(A2)
  addq.l #8,A7
   beq.b JL_0_C66
  move.w $68(A4),D1
  moveq.l #$00,D0
  movea.l D6,A1
  move.w (A1),D0
  movea.l D0,A0
  moveq.l #$00,D0
  move.w D1,D0
  exg.l D2,A0
  and.l D0,D2
  exg.l D2,A0
   bne.b JL_0_C6E
  move.w D1,_custom+INTREQ
  moveq.l #$00,D0
  move.w D1,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
 bra.b JL_0_C6E
 
JL_0_C66:  move.l A4,-(A7)
   bsr.w JL_0_588
  addq.l #4,A7
JL_0_C6E: bra.w JL_0_DD2
 
JL_0_C72:  btst #$5,$1E(A2)
   beq.b JL_0_CC6
  movea.l #AL_0_136,A0
  cmpa.l (A4),A0
   bne.b JL_0_CC6
  move.l #AJL_0_CC,(A4)
  lea $2A(A2),A1
  move.l (A1),$58(A4)
  move.w $68(A4),D1
  moveq.l #$00,D0
  movea.l D6,A5
  move.w (A5),D0
  movea.l D0,A0
  moveq.l #$00,D0
  move.w D1,D0
  exg.l D2,A0
  and.l D0,D2
  exg.l D2,A0
   bne.w JL_0_E60
  move.w D1,_custom+INTREQ
  moveq.l #$00,D0
  move.w D1,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
 bra.w JL_0_E60
 
JL_0_CC6:  movea.l $8(A4),A1
  lea $6(A1),A0
  lea $2A(A2),A1
  move.l (A1),(A0)
 bra.w JL_0_E60
 
JL_0_CD8:  move.l A3,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_704
  movea.l $5E(A4),A1
  move.w #$FFFF,(A1)
  movea.l $62(A4),A1
  move.w #$FF7F,(A1)
  tst.l -$4(A6)
  addq.l #8,A7
   bne.w JL_0_E60
JL_0_CFA:  movea.l $18(A2),A0
  moveq.l #$00,D0
  move.b $89(A3),D0
  exg.l D1,A0
  and.l D0,D1
  exg.l D1,A0
   beq.b JL_0_D4E
  move.b $1B(A2),D0
  not.b D0
  and.b D0,$89(A3)
   bsr.w AJL_0_FA0
  movea.l $98(A3),A4
 bra.b JL_0_D46
 
JL_0_D20:  move.l $18(A2),D0
  not.l D0
  and.l $18(A4),D0
  move.l D0,$18(A4)
   bne.b JL_0_D44
  move.l A4,-(A7)
   bsr.w JL_0_1024
  move.l A4,-(A7)
  pea $8A(A3)
   bsr.w JL_0_F88
  lea $C(A7),A7
JL_0_D44:  movea.l D2,A4
JL_0_D46:  move.l (A4),D2
   bne.b JL_0_D20
   bsr.w AJL_0_FC4
JL_0_D4E:  clr.l $18(A2)
 bra.b JL_0_D68
 
JL_0_D54:  movea.l $62(A4),A1
  move.b $9(A2),D0
  ext.w D0
  move.w D0,(A1)
  tst.l -$4(A6)
   bne.w JL_0_E60
JL_0_D68:  ori.w #$2,$22(A3)
   bsr.w AJL_0_FA0
  movea.l $A6(A3),A4
 bra.b JL_0_DCE
 
JL_0_D78:  move.b #$1,$1F(A4)
   bsr.w AJL_0_FC4
  move.l A3,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_77E
  move.b D0,D2
   bsr.w AJL_0_FA0
  move.l (A4),-$8(A6)
  tst.b D2
  addq.l #8,A7
   blt.b JL_0_DA0
  clr.b $1F(A4)
 bra.b JL_0_DB6
 
JL_0_DA0:  cmpi.b #$FE,$1F(A4)
   beq.b JL_0_DB6
  btst #$6,$1E(A4)
   beq.b JL_0_DCA
  move.b #$F5,$1F(A4)
JL_0_DB6:  move.l A4,-(A7)
   bsr.w JL_0_1024
  move.l A4,-(A7)
  pea $8A(A3)
   bsr.w JL_0_F88
  lea $C(A7),A7
JL_0_DCA:  movea.l -$8(A6),A4
JL_0_DCE:  tst.l (A4)
   bne.b JL_0_D78
JL_0_DD2:   bsr.w AJL_0_FC4
 bra.w JL_0_E60
 
JL_0_DDA:  tst.l -$4(A6)
   bne.w JL_0_E60
  move.b $1B(A2),D0
  or.b D0,$89(A3)
   bsr.w AJL_0_FA0
  move.l A2,-(A7)
  pea $98(A3)
   bsr.w JL_0_F88
 bra.w JL_0_9B8
 
JL_0_DFC:  move.w $66(A4),D0
  ext.l D0
  move.l D0,$18(A2)
   bsr.w AJL_0_FA0
  tst.l $C(A4)
   beq.b JL_0_E54
  ori.w #$2,$14(A4)
  move.l A2,-(A7)
  pea $24(A4)
   bsr.w JL_0_F88
  move.w $68(A4),D1
  moveq.l #$00,D0
  movea.l D6,A5
  move.w (A5),D0
  movea.l D0,A0
  moveq.l #$00,D0
  move.w D1,D0
  exg.l D2,A0
  and.l D0,D2
  exg.l D2,A0
  addq.l #8,A7
   bne.b JL_0_E50
  move.w D1,_custom+INTREQ
  moveq.l #$00,D0
  move.w D1,D0
  ori.l #MinWordSgnd,D0
  move.w D0,_custom+INTENA
JL_0_E50: bra.w JL_0_B90
 
JL_0_E54:   bsr.w AJL_0_FC4
 bra.b JL_0_E68
 
   dc.b $15,$7C,$00,$FD ;.|..
   dc.b $00 ;.
   dc.b $1F ;.
JL_0_E60:  tst.l -$4(A6)
   bne.w JL_0_9CE
JL_0_E68:   bsr.w JL_0_1014
  movea.l $8A(A3),A1
  tst.l (A1)
   beq.b JL_0_E7E
  pea $8A(A3)
   bsr.w JL_0_248
  addq.l #4,A7
JL_0_E7E:  btst #$0,$1E(A2)
   bne.b JL_0_E8E
  move.l A2,-(A7)
   bsr.w JL_0_1038
  addq.l #4,A7
JL_0_E8E: bra.b JL_0_EAC
 
JL_0_E90:   bsr.w JL_0_1014
  movea.l $8A(A3),A1
  tst.l (A1)
   beq.b JL_0_EA6
  pea $8A(A3)
   bsr.w JL_0_248
  addq.l #4,A7
JL_0_EA6:  andi.b #$FE,$1E(A2)
JL_0_EAC:  movem.l -$2C(A6),D2-D6/A2-A5
  unlk A6
 rtS 
 
JL_0_EB6:  movem.l A2-A4,-(A7)
  movea.l $10(A7),A3
  movea.l $14(A7),A2
  move.b $1B(A3),D1
  andi.b #$F,D1
  move.w $1C(A3),D0
  cmpi.w #$E,D0
   blt.b JL_0_EDA
   bgt.b JL_0_EEC
 bra.w JL_0_F50
 
JL_0_EDA:  cmpi.w #$3,D0
   ble.b JL_0_F00
  cmpi.w #$D,D0
   bne.w JL_0_F72
 bra.w JL_0_F60
 
JL_0_EEC:  cmpi.w #$20,D0
   blt.w JL_0_F72
 bra.w JL_0_EF8
 
JL_0_EF8:  lea $A6(A2),A0
 bra.w JL_0_F64
 
JL_0_F00:  moveq.l #$00,D0
  move.b D1,D0
  asl.w #2,D0
  movea.l $28(A2,D0.W),A4
   bsr.w AJL_0_FA0
  cmpa.l $C(A4),A3
   beq.b JL_0_F1A
  cmpa.l $10(A4),A3
   bne.b JL_0_F3A
JL_0_F1A:  cmpa.l $10(A4),A3
   bne.b JL_0_F2A
  move.l A2,-(A7)
  move.l A4,-(A7)
   bsr.w JL_0_5F8
  addq.l #8,A7
JL_0_F2A:  cmpa.l $C(A4),A3
   bne.b JL_0_F4A
  move.l A4,-(A7)
   bsr.w JL_0_588
  addq.l #4,A7
 bra.b JL_0_F4A
 
JL_0_F3A:  move.l A2,-(A7)
  pea $16(A4)
  move.l A3,-(A7)
   bsr.w JL_0_628
  lea $C(A7),A7
JL_0_F4A:   bsr.w AJL_0_FC4
 bra.b JL_0_F72
 
JL_0_F50:  moveq.l #$00,D0
  move.b D1,D0
  asl.w #2,D0
  movea.l $28(A2,D0.W),A0
  lea $24(A0),A0
 bra.b JL_0_F64
 
JL_0_F60:  lea $98(A2),A0
JL_0_F64:  move.l A2,-(A7)
  move.l A0,-(A7)
  move.l A3,-(A7)
   bsr.w JL_0_628
  lea $C(A7),A7
JL_0_F72:  pea $8A(A2)
   bsr.w JL_0_248
  addq.l #4,A7
  movem.l (A7)+,A2-A4
 rtS 
 
AL_0_F82:  dc.b $11 ;.
  dc.b "3f"
  dc.b $CC,$00 ;..
  dc.b $00 ;.
JL_0_F88:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movem.l $8(A7),A0-A1
AddTail SET -$F6
   jsr AddTail(A6)
  movea.l (A7)+,A6
 rtS 
 
  ds.w 1
AJL_0_FA0:  move.l A6,-(A7)
  movea.l _SysBase,A6
Disable SET -$78
   jsr Disable(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_FB0:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movea.l $8(A7),A1
DoIO SET -$1C8
   jsr DoIO(A6)
  movea.l (A7)+,A6
 rtS 
 
AJL_0_FC4:  move.l A6,-(A7)
  movea.l _SysBase,A6
Enable SET -$7E
   jsr Enable(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_FD4:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movem.l $8(A7),A0-A1
Enqueue SET -$10E
   jsr Enqueue(A6)
  movea.l (A7)+,A6
 rtS 
 
  ds.w 1
JL_0_FEC:  move.l A6,-(A7)
  movea.l _SysBase,A6
Forbid SET -$84
   jsr Forbid(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_FFC:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movea.l $8(A7),A1
  move.l $C(A7),D0
FreeMem SET -$D2
   jsr FreeMem(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_1014:  move.l A6,-(A7)
  movea.l _SysBase,A6
Permit SET -$8A
   jsr Permit(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_1024:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movea.l $8(A7),A1
Remove SET -$FC
   jsr Remove(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_1038:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movea.l $8(A7),A1
ReplyMsg SET -$17A
   jsr ReplyMsg(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_104C:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movem.l $8(A7),D0/A1
SetIntVector SET -$A2
   jsr SetIntVector(A6)
  movea.l (A7)+,A6
 rtS 
 
  ds.w 1
JL_0_1064:  move.l A6,-(A7)
  movea.l _SysBase,A6
  movea.l $8(A7),A1
WaitIO SET -$1DA
   jsr WaitIO(A6)
  movea.l (A7)+,A6
 rtS 
 
JL_0_1078:  movea.l $4(A7),A1
  move.l A6,-(A7)
  movea.l $14(A1),A6
   jsr -$1E(A6)
  movea.l (A7)+,A6
 rtS 
 
  ds.w 1
AJL_0_108C:  movea.l $4(A7),A0
  clr.l $4(A0)
  move.l A0,$8(A0)
  addq.l #4,A0
  move.l A0,-(A0)
 rtS 
EndSkip: ds.w 1
 End
