	far code
	far data
;#NO_APP
gcc2_compiled.:
___gnu_compiled_c:
	cseg
	even
	xdef	_myDoCollision
_myDoCollision:
	lea	(-68,sp),sp
	movem.l	d2-d7/a2-a6,-(sp)
	move.l	a1,(104,sp)
	move.l	(20,a1),a0
	tst.l	a0
	beq	L3
	move.l	(2,a0),a0
	move.l	(a0),a5
	moveq	#4,d0
	move.l	d0,(100,sp)
	btst	#0,(21,a5)
	beq	L4
	moveq	#1,d1
	move.l	d1,(100,sp)
L4:
	tst.l	(a5)
	beq	L3
	clr.l	(66,sp)
	even
L8:
	move.l	(a5),a4
	tst.l	a4
	beq	L10
	move.w	(22,a5),a0
	move.w	(26,a5),a1
	lea	(-1,a1,a0.l),a2
	move.l	a0,d4
	move.l	a1,d6
	move.w	(22,a4),a6
	cmp.l	a2,a6
	bgt	L10
	clr.l	(70,sp)
	clr.l	(54,sp)
	even
L11:
	move.w	(20,a4),d0
	moveq	#4,d1
	move.w	d0,d2
	btst	#0,d2
	beq	L13
	moveq	#1,d1
L13:
	move.w	(24,a4),a0
	move.w	(28,a4),d0
	ext.l	d0
	lsl.l	d1,d0
	lea	(-1,a0,d0.l),a1
	move.w	(24,a5),a2
	move.l	a0,d3
	cmp.l	a2,a1
	blt	L15
	move.w	(28,a5),d0
	ext.l	d0
	move.l	(100,sp),d1
	lsl.l	d1,d0
	lea	(-1,a2,d0.l),a0
	cmp.l	a0,d3
	bgt	L15
	clr.l	(96,sp)
	move.l	a6,d0
	sub.l	d4,d0
	move.l	(44,a5),(92,sp)
	move.l	(44,a4),(88,sp)
	clr.l	(82,sp)
	clr.l	(78,sp)
	clr.l	(74,sp)
	btst	#0,(21,a5)
	beq	L16
	move.w	(28,a5),d1
	asr.w	#4,d1
	move.w	d1,(86,sp)
	bra	L17
	even
L16:
	move.w	(28,a5),(86,sp)
L17:
	btst	#0,d2
	beq	L18
	move.w	(28,a4),a1
	move.w	a1,d2
	asr.w	#4,d2
	move.w	d2,a1
	bra	L19
	even
L18:
	move.w	(28,a4),a1
L19:
	tst.l	d0
	ble	L20
	move.w	(86,sp),(72,sp)
	move.l	(70,sp),(82,sp)
	muls.l	(82,sp),d0
	move.l	d0,(82,sp)
	move.l	a6,d1
	bra	L21
	even
L20:
	move.w	a1,(68,sp)
	move.l	(66,sp),(78,sp)
	muls.l	(78,sp),d0
	move.l	d0,(78,sp)
	move.l	d4,d1
L21:
	move.l	d3,d7
	sub.l	a2,d7
	bpl	L22
	move.l	d7,d0
	neg.l	d0
	move.l	d0,(74,sp)
	move.l	d0,d3
	asr.l	#4,d3
	move.l	d3,(74,sp)
	moveq	#15,d5
	and.l	d0,d5
	clr.l	d7
	bra	L23
	even
L22:
	move.l	d7,d5
	moveq	#15,d0
	and.l	d0,d5
	neg.l	d5
	asr.l	#4,d7
L23:
	move.l	d6,d2
	add.l	d4,d2
	cmp.l	d1,d2
	ble	L25
	move.w	(26,a4),a0
	move.l	a0,d0
	add.l	a6,d0
	cmp.l	d1,d0
	ble	L25
	lea	(0).w,a2
	move.l	d5,a0
	move.l	a0,d3
	neg.l	d3
	move.l	d3,a0
	moveq	#16,d3
	add.l	d5,d3
	move.l	d3,(50,sp)
	move.l	d2,(62,sp)
	move.l	d0,(58,sp)
	even
L26:
	move.l	d7,d3
	move.l	(74,sp),a3
	addq.l	#1,d1
	move.l	d1,(46,sp)
	bra	L28
	even
L34:
	move.l	(82,sp),d0
	add.l	d3,d0
	move.l	a2,d1
	move.l	(92,sp),a6
	move.w	(a6,d0.l*2),d1
	move.l	d1,a2
	moveq	#16,d0
	sub.l	d5,d0
	lsl.l	d0,d2
	move.l	a2,d0
	and.l	d2,d0
	bne	L55
	addq.l	#1,a3
	bra	L28
	even
L32:
	tst.l	d5
	bne	L37
	move.l	(82,sp),d0
	add.l	d3,d0
	move.l	(78,sp),d1
	add.l	a3,d1
	move.l	(92,sp),a6
	move.w	(a6,d0.l*2),d0
	move.l	(88,sp),a6
	and.w	(a6,d1.l*2),d0
	bne	L55
	addq.l	#1,a3
	bra	L42
	even
L37:
	move.l	(82,sp),d0
	add.l	d3,d0
	move.l	(92,sp),a6
	clr.l	d2
	move.w	(a6,d0.l*2),d2
	move.l	(78,sp),d0
	add.l	a3,d0
	move.l	(88,sp),a6
	move.w	(a6,d0.l*2),(56,sp)
	move.l	(54,sp),d1
	move.l	a0,d0
	lsl.l	d0,d1
	move.l	d2,d0
	and.l	d1,d0
	beq	L40
	moveq	#1,d1
	move.l	d1,(96,sp)
	bra	L29
	even
L40:
	addq.l	#1,a3
	cmp.l	a3,d4
	blt	L29
	move.l	(78,sp),d0
	add.l	a3,d0
	move.l	(88,sp),a6
	move.w	(a6,d0.l*2),d0
	and.l	#$FFFF,d0
	move.l	(50,sp),d1
	asr.l	d1,d0
	and.l	d0,d2
	beq	L42
	moveq	#1,d2
	move.l	d2,(96,sp)
	bra	L29
	even
L42:
	addq.l	#1,d3
L28:
	clr.l	d6
	move.w	(86,sp),d6
	cmp.l	d3,d6
	ble	L29
	clr.l	d4
	move.w	a1,d4
	cmp.l	a3,d4
	ble	L29
	tst.l	d5
	ble	L32
	move.l	(82,sp),d0
	add.l	d3,d0
	move.l	(92,sp),a6
	clr.l	d1
	move.w	(a6,d0.l*2),d1
	move.l	(78,sp),d0
	add.l	a3,d0
	move.l	(88,sp),a6
	clr.l	d2
	move.w	(a6,d0.l*2),d2
	move.l	d2,d0
	asr.l	d5,d0
	and.l	d0,d1
	beq	L33
L55:
	moveq	#1,d0
	move.l	d0,(96,sp)
	bra	L29
	even
L33:
	addq.l	#1,d3
	cmp.l	d3,d6
	bge	L34
L29:
	clr.l	d0
	move.w	(86,sp),d0
	add.l	d0,(82,sp)
	clr.l	d0
	move.w	a1,d0
	add.l	d0,(78,sp)
	move.l	(46,sp),d1
	cmp.l	(62,sp),d1
	bge	L25
	cmp.l	(58,sp),d1
	blt	L26
L25:
	moveq	#1,d1
	cmp.l	(96,sp),d1
	bne	L15
	move.w	(32,a5),d0
	and.w	(34,a4),d0
	clr.l	d1
	bra	L46
	even
L50:
	addq.l	#1,d1
	lsr.w	#1,d0
L46:
	moveq	#15,d2
	cmp.l	d1,d2
	blt	L15
	tst.w	d0
	beq	L15
	btst	#0,d0
	beq	L50
	move.l	(104,sp),a1
	move.l	(20,a1),a0
	move.l	(18,a0),a0
	tst.l	a0
	beq	L15
	move.l	d1,d0
	lsl.l	#2,d0
	tst.l	(a0,d0.l)
	beq	L15
	move.l	a4,-(sp)
	move.l	a5,-(sp)
	move.l	(a0,d0.l),a0
	jsr	(a0)
	addq.l	#8,sp
L15:
	move.l	(a4),a4
	tst.l	a4
	beq	L10
	move.w	(22,a5),a0
	move.w	(26,a5),a1
	lea	(-1,a1,a0.l),a3
	move.w	(22,a4),a2
	move.l	a0,d4
	move.l	a1,d6
	move.l	a2,a6
	cmp.l	a3,a6
	ble	L11
L10:
	move.l	(a5),a5
	tst.l	(a5)
	bne	L8
L3:
	movem.l	(sp)+,d2-d7/a2-a6
	lea	(68,sp),sp
	rts

;Global:
;Local	L10 L11 L13 L15 L16 L17 
;Local	L18 L19 L20 L21 L22 L23 
;Local	L25 L26 L28 L29 L3 L32 
;Local	L33 L34 L37 L4 L40 L42 
;Local	L46 L50 L55 L8 ___gnu_compiled_c _myDoCollision 
;Local	gcc2_compiled. 
;ERRORS: 0
;MACHINE: mc68020
