#NO_APP
gcc2_compiled.:
___gnu_compiled_c:
.text
	.even
.globl _myDoCollision
_myDoCollision:
	lea sp@(-68),sp
	moveml #0x3f3e,sp@-
	movel a1,sp@(104)
	movel a1@(20),a0
	tstl a0
	jeq L3
	movel a0@(2),a0
	movel a0@,a5
	moveq #4,d0
	movel d0,sp@(100)
	btst #0,a5@(21)
	jeq L4
	moveq #1,d1
	movel d1,sp@(100)
L4:
	tstl a5@
	jeq L3
	clrl sp@(66)
	.even
L8:
	movel a5@,a4
	tstl a4
	jeq L10
	movew a5@(22),a0
	movew a5@(26),a1
	lea a1@(-1,a0:l),a2
	movel a0,d4
	movel a1,d6
	movew a4@(22),a6
	cmpl a2,a6
	jgt L10
	clrl sp@(70)
	clrl sp@(54)
	.even
L11:
	movew a4@(20),d0
	moveq #4,d1
	movew d0,d2
	btst #0,d2
	jeq L13
	moveq #1,d1
L13:
	movew a4@(24),a0
	movew a4@(28),d0
	extl d0
	lsll d1,d0
	lea a0@(-1,d0:l),a1
	movew a5@(24),a2
	movel a0,d3
	cmpl a2,a1
	jlt L15
	movew a5@(28),d0
	extl d0
	movel sp@(100),d1
	lsll d1,d0
	lea a2@(-1,d0:l),a0
	cmpl a0,d3
	jgt L15
	clrl sp@(96)
	movel a6,d0
	subl d4,d0
	movel a5@(44),sp@(92)
	movel a4@(44),sp@(88)
	clrl sp@(82)
	clrl sp@(78)
	clrl sp@(74)
	btst #0,a5@(21)
	jeq L16
	movew a5@(28),d1
	asrw #4,d1
	movew d1,sp@(86)
	jra L17
	.even
L16:
	movew a5@(28),sp@(86)
L17:
	btst #0,d2
	jeq L18
	movew a4@(28),a1
	movew a1,d2
	asrw #4,d2
	movew d2,a1
	jra L19
	.even
L18:
	movew a4@(28),a1
L19:
	tstl d0
	jle L20
	movew sp@(86),sp@(72)
	movel sp@(70),sp@(82)
	mulsl sp@(82),d0
	movel d0,sp@(82)
	movel a6,d1
	jra L21
	.even
L20:
	movew a1,sp@(68)
	movel sp@(66),sp@(78)
	mulsl sp@(78),d0
	movel d0,sp@(78)
	movel d4,d1
L21:
	movel d3,d7
	subl a2,d7
	jpl L22
	movel d7,d0
	negl d0
	movel d0,sp@(74)
	movel d0,d3
	asrl #4,d3
	movel d3,sp@(74)
	moveq #15,d5
	andl d0,d5
	clrl d7
	jra L23
	.even
L22:
	movel d7,d5
	moveq #15,d0
	andl d0,d5
	negl d5
	asrl #4,d7
L23:
	movel d6,d2
	addl d4,d2
	cmpl d1,d2
	jle L25
	movew a4@(26),a0
	movel a0,d0
	addl a6,d0
	cmpl d1,d0
	jle L25
	lea 0:w,a2
	movel d5,a0
	movel a0,d3
	negl d3
	movel d3,a0
	moveq #16,d3
	addl d5,d3
	movel d3,sp@(50)
	movel d2,sp@(62)
	movel d0,sp@(58)
	.even
L26:
	movel d7,d3
	movel sp@(74),a3
	addql #1,d1
	movel d1,sp@(46)
	jra L28
	.even
L34:
	movel sp@(82),d0
	addl d3,d0
	movel a2,d1
	movel sp@(92),a6
	movew a6@(d0:l:2),d1
	movel d1,a2
	moveq #16,d0
	subl d5,d0
	lsll d0,d2
	movel a2,d0
	andl d2,d0
	jne L55
	addql #1,a3
	jra L28
	.even
L32:
	tstl d5
	jne L37
	movel sp@(82),d0
	addl d3,d0
	movel sp@(78),d1
	addl a3,d1
	movel sp@(92),a6
	movew a6@(d0:l:2),d0
	movel sp@(88),a6
	andw a6@(d1:l:2),d0
	jne L55
	addql #1,a3
	jra L42
	.even
L37:
	movel sp@(82),d0
	addl d3,d0
	movel sp@(92),a6
	clrl d2
	movew a6@(d0:l:2),d2
	movel sp@(78),d0
	addl a3,d0
	movel sp@(88),a6
	movew a6@(d0:l:2),sp@(56)
	movel sp@(54),d1
	movel a0,d0
	lsll d0,d1
	movel d2,d0
	andl d1,d0
	jeq L40
	moveq #1,d1
	movel d1,sp@(96)
	jra L29
	.even
L40:
	addql #1,a3
	cmpl a3,d4
	jlt L29
	movel sp@(78),d0
	addl a3,d0
	movel sp@(88),a6
	movew a6@(d0:l:2),d0
	andl #0xFFFF,d0
	movel sp@(50),d1
	asrl d1,d0
	andl d0,d2
	jeq L42
	moveq #1,d2
	movel d2,sp@(96)
	jra L29
	.even
L42:
	addql #1,d3
L28:
	clrl d6
	movew sp@(86),d6
	cmpl d3,d6
	jle L29
	clrl d4
	movew a1,d4
	cmpl a3,d4
	jle L29
	tstl d5
	jle L32
	movel sp@(82),d0
	addl d3,d0
	movel sp@(92),a6
	clrl d1
	movew a6@(d0:l:2),d1
	movel sp@(78),d0
	addl a3,d0
	movel sp@(88),a6
	clrl d2
	movew a6@(d0:l:2),d2
	movel d2,d0
	asrl d5,d0
	andl d0,d1
	jeq L33
L55:
	moveq #1,d0
	movel d0,sp@(96)
	jra L29
	.even
L33:
	addql #1,d3
	cmpl d3,d6
	jge L34
L29:
	clrl d0
	movew sp@(86),d0
	addl d0,sp@(82)
	clrl d0
	movew a1,d0
	addl d0,sp@(78)
	movel sp@(46),d1
	cmpl sp@(62),d1
	jge L25
	cmpl sp@(58),d1
	jlt L26
L25:
	moveq #1,d1
	cmpl sp@(96),d1
	jne L15
	movew a5@(32),d0
	andw a4@(34),d0
	clrl d1
	jra L46
	.even
L50:
	addql #1,d1
	lsrw #1,d0
L46:
	moveq #15,d2
	cmpl d1,d2
	jlt L15
	tstw d0
	jeq L15
	btst #0,d0
	jeq L50
	movel sp@(104),a1
	movel a1@(20),a0
	movel a0@(18),a0
	tstl a0
	jeq L15
	movel d1,d0
	lsll #2,d0
	tstl a0@(d0:l)
	jeq L15
	movel a4,sp@-
	movel a5,sp@-
	movel a0@(d0:l),a0
	jbsr a0@
	addql #8,sp
L15:
	movel a4@,a4
	tstl a4
	jeq L10
	movew a5@(22),a0
	movew a5@(26),a1
	lea a1@(-1,a0:l),a3
	movew a4@(22),a2
	movel a0,d4
	movel a1,d6
	movel a2,a6
	cmpl a3,a6
	jle L11
L10:
	movel a5@,a5
	tstl a5@
	jne L8
L3:
	moveml sp@+,#0x7cfc
	lea sp@(68),sp
	rts
