	.file	"51700540.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
	.type	defaultcfg, @object
	.size	defaultcfg, 12
defaultcfg:
	.long	1036831949
	.long	1056964608
	.long	1019809755
	.text
	.type	u32, @function
u32:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movabs	rdx, -4991625576251695275
	imul	rax, rdx
	movabs	rdx, -6668110776648579825
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	shr	rax, 32
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	u32, .-u32
	.type	ppm_create, @function
ppm_create:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, 8
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ppm_create, .-ppm_create
	.section	.rodata
.LC0:
	.string	"P6 %u%u%*d%*c"
	.text
	.type	ppm_read, @function
ppm_read:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -20[rbp]
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	jg	.L6
	mov	eax, 0
	jmp	.L8
.L6:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ppm_create
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rsi, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdi, 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	call	fread@PLT
	mov	rax, QWORD PTR -16[rbp]
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ppm_read, .-ppm_read
	.section	.rodata
.LC1:
	.string	"P6\n%d %d\n255\n"
	.text
	.type	ppm_write, @function
ppm_write:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	imul	rcx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	test	rax, rax
	jne	.L12
	mov	edi, 1
	call	exit@PLT
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ppm_write, .-ppm_write
	.type	ppm_copy, @function
ppm_copy:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	imul	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ppm_copy, .-ppm_copy
	.type	ppm_put, @function
ppm_put:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 16
	mov	rcx, rax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax+rdx], cl
	mov	rax, QWORD PTR -24[rbp]
	sar	rax, 8
	mov	rcx, rax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax+rdx], cl
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax+rdx], cl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ppm_put, .-ppm_put
	.type	ppm_get, @function
ppm_get:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax+rdx]
	movzx	eax, al
	sal	rax, 16
	mov	rcx, rax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax+rdx]
	movzx	eax, al
	sal	rax, 8
	or	rcx, rax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax+rdx]
	movzx	eax, al
	or	rax, rcx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ppm_get, .-ppm_get
	.type	map_get, @function
map_get:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 64
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, 2
	mov	rsi, QWORD PTR 8[rax+rdx*8]
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	QWORD PTR -8[rbp]
	mov	rax, rdx
	mov	ecx, eax
	shr	rsi, cl
	mov	rax, rsi
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	map_get, .-map_get
	.type	ppm_to_map, @function
ppm_to_map:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -56[rbp], 64
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	imul	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	sub	rax, 1
	cqo
	idiv	QWORD PTR -56[rbp]
	add	rax, 3
	sal	rax, 3
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 16[rax], xmm0
	mov	DWORD PTR -80[rbp], 0
	jmp	.L20
.L24:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L21
.L23:
	mov	edx, DWORD PTR -80[rbp]
	mov	ecx, DWORD PTR -76[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ppm_get
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 65280
	jne	.L22
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	DWORD PTR 12[rax], edx
.L22:
	add	DWORD PTR -76[rbp], 1
.L21:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L23
	add	DWORD PTR -80[rbp], 1
.L20:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L24
	mov	DWORD PTR -72[rbp], 0
	jmp	.L25
.L29:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L26
.L28:
	mov	edx, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ppm_get
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 255
	jne	.L27
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, edx
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, eax
	movd	eax, xmm2
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	atan2f@PLT
	movd	eax, xmm0
	mov	rdx, QWORD PTR -48[rbp]
	mov	DWORD PTR 16[rdx], eax
.L27:
	add	DWORD PTR -68[rbp], 1
.L26:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -68[rbp], eax
	jl	.L28
	add	DWORD PTR -72[rbp], 1
.L25:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L29
	mov	DWORD PTR -64[rbp], 0
	jmp	.L30
.L33:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L31
.L32:
	mov	edx, DWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ppm_get
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	sar	rax, 16
	cmp	rax, 127
	setg	al
	movzx	eax, al
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 2[rsi]
	mov	rdi, QWORD PTR 8[rax+rdx*8]
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	QWORD PTR -56[rbp]
	mov	rax, rdx
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, edx
	sal	rax, cl
	or	rdi, rax
	mov	rcx, rdi
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 2[rsi]
	mov	QWORD PTR 8[rax+rdx*8], rcx
	add	DWORD PTR -60[rbp], 1
.L31:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L32
	add	DWORD PTR -64[rbp], 1
.L30:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L33
	mov	rax, QWORD PTR -48[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ppm_to_map, .-ppm_to_map
	.type	draw_map, @function
draw_map:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	edi, DWORD PTR [rdx]
	cdq
	idiv	edi
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L36
.L41:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -12[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -16[rbp]
	cdq
	idiv	DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, esi
	mov	esi, ecx
	mov	rdi, rax
	call	map_get
	test	eax, eax
	je	.L38
	mov	eax, 16777215
	jmp	.L39
.L38:
	mov	eax, 0
.L39:
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ppm_put
	add	DWORD PTR -16[rbp], 1
.L37:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L40
	add	DWORD PTR -20[rbp], 1
.L36:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L41
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	draw_map, .-draw_map
	.type	draw_vehicles, @function
draw_vehicles:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -60[rbp], ecx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	edi, DWORD PTR [rdx]
	cdq
	idiv	edi
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L43
.L48:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, 0
	sub	eax, edx
	add	eax, eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L44
.L47:
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	mov	DWORD PTR -16[rbp], eax
	jmp	.L45
.L46:
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm1, xmm0
	movss	DWORD PTR -64[rbp], xmm1
	pxor	xmm4, xmm4
	cvtsi2ss	xmm4, DWORD PTR -16[rbp]
	movss	DWORD PTR -68[rbp], xmm4
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 8[rax]
	movss	xmm1, DWORD PTR .LC3[rip]
	subss	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	cosf@PLT
	mulss	xmm0, DWORD PTR -68[rbp]
	addss	xmm0, DWORD PTR -64[rbp]
	movss	DWORD PTR -64[rbp], xmm0
	pxor	xmm5, xmm5
	cvtsi2ss	xmm5, DWORD PTR -20[rbp]
	movss	DWORD PTR -68[rbp], xmm5
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	movd	xmm0, eax
	call	cosf@PLT
	mulss	xmm0, DWORD PTR -68[rbp]
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	addss	xmm0, DWORD PTR -64[rbp]
	movss	DWORD PTR -8[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 4[rax]
	mulss	xmm1, xmm0
	movss	DWORD PTR -64[rbp], xmm1
	pxor	xmm6, xmm6
	cvtsi2ss	xmm6, DWORD PTR -16[rbp]
	movss	DWORD PTR -68[rbp], xmm6
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 8[rax]
	movss	xmm1, DWORD PTR .LC3[rip]
	subss	xmm0, xmm1
	movd	eax, xmm0
	movd	xmm0, eax
	call	sinf@PLT
	mulss	xmm0, DWORD PTR -68[rbp]
	addss	xmm0, DWORD PTR -64[rbp]
	movss	DWORD PTR -64[rbp], xmm0
	pxor	xmm7, xmm7
	cvtsi2ss	xmm7, DWORD PTR -20[rbp]
	movss	DWORD PTR -68[rbp], xmm7
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	movd	xmm0, eax
	call	sinf@PLT
	mulss	xmm0, DWORD PTR -68[rbp]
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	addss	xmm0, DWORD PTR -64[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR 16[rax]
	movss	xmm0, DWORD PTR -4[rbp]
	cvttss2si	edx, xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	cvttss2si	esi, xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ppm_put
	add	DWORD PTR -16[rbp], 1
.L45:
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -16[rbp], eax
	jl	.L46
	add	DWORD PTR -20[rbp], 1
.L44:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	cmp	DWORD PTR -20[rbp], eax
	jl	.L47
	add	DWORD PTR -24[rbp], 1
.L43:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	draw_vehicles, .-draw_vehicles
	.type	sense, @function
sense:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	movss	DWORD PTR -52[rbp], xmm0
	movss	DWORD PTR -56[rbp], xmm1
	movss	DWORD PTR -60[rbp], xmm2
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	eax, DWORD PTR -60[rbp]
	movd	xmm0, eax
	call	cosf@PLT
	movd	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	movd	xmm0, eax
	call	sinf@PLT
	movd	eax, xmm0
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -40[rbp], 1
.L57:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -52[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	movss	xmm0, DWORD PTR -16[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	js	.L50
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L50
	cmp	DWORD PTR -8[rbp], 0
	js	.L50
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L50
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	map_get
	test	eax, eax
	jne	.L59
	cmp	QWORD PTR -80[rbp], 0
	je	.L52
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR [rdx]
	cdq
	idiv	edi
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L53
.L56:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	esi, [rcx+rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, 16711680
	mov	rdi, rax
	call	ppm_put
	add	DWORD PTR -32[rbp], 1
.L54:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L55
	add	DWORD PTR -36[rbp], 1
.L53:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L56
.L52:
	add	DWORD PTR -40[rbp], 1
	jmp	.L57
.L59:
	nop
.L50:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, xmm1
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	movaps	xmm2, xmm0
	mulss	xmm2, DWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, xmm2
	mulss	xmm0, DWORD PTR -24[rbp]
	addss	xmm1, xmm0
	movd	eax, xmm1
	movd	xmm0, eax
	call	sqrtf@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	sense, .-sense
	.type	alive, @function
alive:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	cvttss2si	ecx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	map_get
	test	eax, eax
	sete	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	alive, .-alive
	.type	drive, @function
drive:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	alive
	test	eax, eax
	jne	.L63
	mov	eax, 0
	jmp	.L76
.L63:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, angles.1[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rdx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	sense
	movd	eax, xmm0
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -20[rbp+rdx*4], eax
	add	DWORD PTR -32[rbp], 1
.L65:
	cmp	DWORD PTR -32[rbp], 2
	jle	.L66
	movss	xmm1, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm2, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR [rax]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm1, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	mulss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -24[rbp]
	jbe	.L81
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	jmp	.L69
.L81:
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR 4[rax]
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, xmm1
	jbe	.L82
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	jmp	.L69
.L82:
	movss	xmm0, DWORD PTR -24[rbp]
.L69:
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm3, DWORD PTR 8[rax]
	movss	DWORD PTR -68[rbp], xmm3
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR .LC5[rip]
	andps	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	comiss	xmm0, xmm1
	jbe	.L83
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 8[rax]
	movss	xmm0, DWORD PTR -28[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	copysignf@PLT
	movd	eax, xmm0
	jmp	.L75
.L83:
	mov	eax, DWORD PTR -28[rbp]
.L75:
	movd	xmm0, eax
	addss	xmm0, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm5, DWORD PTR [rax]
	movss	DWORD PTR -68[rbp], xmm5
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	movd	xmm0, eax
	call	cosf@PLT
	movd	eax, xmm0
	movd	xmm0, eax
	mulss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm6, DWORD PTR 4[rax]
	movss	DWORD PTR -68[rbp], xmm6
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	movd	xmm0, eax
	call	sinf@PLT
	movd	eax, xmm0
	movd	xmm0, eax
	mulss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR 4[rax], xmm0
	mov	eax, 1
.L76:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	drive, .-drive
	.type	draw_beams, @function
draw_beams:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L85
.L86:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 8[rax]
	movss	xmm1, DWORD PTR .LC6[rip]
	movaps	xmm2, xmm0
	subss	xmm2, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rdx
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	sense
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rdx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	sense
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 8[rax]
	movss	xmm0, DWORD PTR .LC6[rip]
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rdx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	sense
	add	DWORD PTR -4[rbp], 1
.L85:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L86
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	draw_beams, .-draw_beams
	.type	randomize, @function
randomize:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	u32
	test	rax, rax
	js	.L88
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, rax
	movd	eax, xmm2
	jmp	.L89
.L88:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
	movd	eax, xmm0
.L89:
	mov	edi, -32
	movd	xmm0, eax
	call	ldexpf@PLT
	movd	eax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	u32
	test	rax, rax
	js	.L90
	pxor	xmm3, xmm3
	cvtsi2ss	xmm3, rax
	movd	eax, xmm3
	jmp	.L91
.L90:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
	movd	eax, xmm0
.L91:
	mov	edi, -32
	movd	xmm0, eax
	call	ldexpf@PLT
	movss	xmm1, DWORD PTR .LC7[rip]
	mulss	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 4[rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	randomize, .-randomize
	.data
	.align 4
	.type	optind, @object
	.size	optind, 4
optind:
	.long	1
	.align 4
	.type	opterr, @object
	.size	opterr, 4
opterr:
	.long	1
	.local	optopt
	.comm	optopt,4,4
	.local	optarg
	.comm	optarg,8,8
	.section	.rodata
.LC8:
	.string	"--"
.LC9:
	.string	"%s: illegal option: %c\n"
	.align 8
.LC10:
	.string	"%s: option requires an argument: %c\n"
	.text
	.type	getopt, @function
getopt:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR optind[rip]
	test	eax, eax
	jne	.L93
	mov	DWORD PTR optind[rip], 1
	mov	DWORD PTR optpos.0[rip], 1
.L93:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L94
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L94
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	eax, -1
	jmp	.L95
.L94:
	cmp	QWORD PTR -16[rbp], 0
	je	.L96
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L96
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L97
.L96:
	mov	eax, -1
	jmp	.L95
.L97:
	mov	eax, DWORD PTR optpos.0[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR optpos.0[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR optopt[rip], eax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L98
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L99
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L99
	mov	ecx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L99:
	mov	eax, 63
	jmp	.L95
.L98:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L100
	mov	eax, DWORD PTR optpos.0[rip]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L101
	mov	eax, DWORD PTR optpos.0[rip]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR optarg[rip], rax
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	DWORD PTR optpos.0[rip], 1
	mov	eax, DWORD PTR optopt[rip]
	jmp	.L95
.L101:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L102
	mov	eax, DWORD PTR optind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR optarg[rip], rax
	mov	eax, DWORD PTR optind[rip]
	add	eax, 2
	mov	DWORD PTR optind[rip], eax
	mov	DWORD PTR optpos.0[rip], 1
	mov	eax, DWORD PTR optopt[rip]
	jmp	.L95
.L102:
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L103
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L103
	mov	ecx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L103:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L104
	mov	eax, 58
	jmp	.L95
.L104:
	mov	eax, 63
	jmp	.L95
.L100:
	mov	eax, DWORD PTR optpos.0[rip]
	add	eax, 1
	mov	DWORD PTR optpos.0[rip], eax
	mov	eax, DWORD PTR optpos.0[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L106
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	DWORD PTR optpos.0[rip], 1
.L106:
	mov	eax, DWORD PTR optopt[rip]
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	getopt, .-getopt
	.section	.rodata
	.align 8
.LC11:
	.string	"usage aidrivers <map.ppm [-abcdehkmMnsvx]\n"
	.align 8
.LC12:
	.string	"  -a INT   simulation steps per frame\n"
	.align 8
.LC13:
	.string	"  -b       show vehicle vision beams\n"
	.align 8
.LC14:
	.string	"  -c DIV   control divisor (turning limiter)\n"
	.align 8
.LC15:
	.string	"  -d INT   initial time steps to skip rendering\n"
	.align 8
.LC16:
	.string	"  -e       erase crashed vehicles\n"
	.align 8
.LC17:
	.string	"  -h       print this help information\n"
	.align 8
.LC18:
	.string	"  -k       kill vehicles when they crash (no reset)\n"
	.align 8
.LC19:
	.string	"  -m FLOAT minimum speed (%g)\n"
	.align 8
.LC21:
	.string	"  -M FLOAT maximum speed (%g)\n"
	.align 8
.LC22:
	.string	"  -n INT   number of vehicles to simulate\n"
	.align 8
.LC23:
	.string	"  -s INT   input-to-output image scaling\n"
	.align 8
.LC24:
	.string	"  -v FILE  render on the given overlay\n"
	.align 8
.LC25:
	.string	"  -x SEED  seed from any string\n"
	.text
	.type	usage, @function
usage:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR .LC7[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	movss	xmm0, DWORD PTR .LC20[rip]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	usage, .-usage
	.type	hash, @function
hash:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, -8967245397017125869
	xor	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L109
.L110:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	xor	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movabs	rdx, -3141325871961315423
	imul	rax, rdx
	mov	QWORD PTR -16[rbp], rax
.L109:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -32[rbp], rdx
	test	rax, rax
	jne	.L110
	mov	rax, QWORD PTR -16[rbp]
	shr	rax, 32
	xor	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	hash, .-hash
	.section	.rodata
.LC28:
	.string	"a:bc:d:ehkm:M:n:s:v:x:"
.LC29:
	.string	"rb"
.LC30:
	.string	"file not found: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -184[rbp], 12
	mov	DWORD PTR -180[rbp], 16
	mov	DWORD PTR -176[rbp], 1
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 0
	mov	DWORD PTR -164[rbp], 1
	mov	DWORD PTR -160[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -48[rbp], rax
	lea	rax, main[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, -48[rbp]
	mov	edx, 0
	mov	esi, 24
	mov	rdi, rax
	call	hash
	mov	QWORD PTR -16[rbp], rax
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -60[rbp], xmm0
	movss	xmm0, DWORD PTR .LC20[rip]
	movss	DWORD PTR -56[rbp], xmm0
	movss	xmm0, DWORD PTR .LC26[rip]
	movss	DWORD PTR -52[rbp], xmm0
	jmp	.L113
.L129:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 77
	cmp	eax, 43
	ja	.L114
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L116[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L116[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L116:
	.long	.L128-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L127-.L116
	.long	.L126-.L116
	.long	.L125-.L116
	.long	.L124-.L116
	.long	.L123-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L122-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L121-.L116
	.long	.L114-.L116
	.long	.L120-.L116
	.long	.L119-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L118-.L116
	.long	.L114-.L116
	.long	.L114-.L116
	.long	.L117-.L116
	.long	.L114-.L116
	.long	.L115-.L116
	.text
.L127:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -176[rbp], eax
	jmp	.L113
.L126:
	mov	DWORD PTR -160[rbp], 1
	jmp	.L113
.L125:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR .LC27[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -52[rbp], xmm0
	jmp	.L113
.L124:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -172[rbp], eax
	jmp	.L113
.L123:
	mov	DWORD PTR -168[rbp], 1
	jmp	.L113
.L122:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 0
	call	exit@PLT
.L121:
	mov	DWORD PTR -164[rbp], 0
	jmp	.L113
.L120:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atof@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -60[rbp], xmm0
	jmp	.L113
.L128:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atof@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -56[rbp], xmm0
	jmp	.L113
.L119:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -180[rbp], eax
	jmp	.L113
.L118:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -184[rbp], eax
	jmp	.L113
.L117:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L113
.L115:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	hash
	mov	QWORD PTR -16[rbp], rax
	jmp	.L113
.L114:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 1
	call	exit@PLT
.L113:
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -196[rbp]
	lea	rdx, .LC28[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt
	mov	DWORD PTR -140[rbp], eax
	cmp	DWORD PTR -140[rbp], -1
	jne	.L129
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	ppm_read
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	ppm_to_map
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	je	.L130
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L131
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -136[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L131:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ppm_read
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, edx
	mov	edi, eax
	call	ppm_create
	mov	QWORD PTR -128[rbp], rax
	jmp	.L132
.L130:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -184[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ppm_create
	mov	QWORD PTR -120[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	draw_map
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -184[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ppm_create
	mov	QWORD PTR -128[rbp], rax
.L132:
	mov	DWORD PTR -156[rbp], 0
	jmp	.L133
.L134:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rdx, rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	randomize
	add	DWORD PTR -156[rbp], 1
.L133:
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L134
	mov	DWORD PTR -152[rbp], 0
	jmp	.L135
.L136:
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, ecx
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, ecx
	movss	DWORD PTR 4[rax], xmm0
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	movss	DWORD PTR 8[rdx], xmm0
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	u32
	shr	rax, 8
	or	rax, 4210752
	mov	rcx, rax
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR 16[rax], rdx
	add	DWORD PTR -152[rbp], 1
.L135:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L136
	mov	QWORD PTR -112[rbp], 0
.L148:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	cmp	QWORD PTR -112[rbp], rax
	jl	.L137
	mov	eax, DWORD PTR -176[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -112[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	test	rax, rax
	jne	.L137
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ppm_copy
	cmp	DWORD PTR -160[rbp], 0
	je	.L138
	mov	ecx, DWORD PTR -180[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	draw_beams
.L138:
	mov	ecx, DWORD PTR -180[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	draw_vehicles
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	ppm_write
.L137:
	mov	DWORD PTR -148[rbp], 0
	jmp	.L139
.L140:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	lea	rdi, [rdx+rax]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	drive
	add	DWORD PTR -148[rbp], 1
.L139:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L140
	mov	DWORD PTR -144[rbp], 0
	jmp	.L141
.L145:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	alive
	test	eax, eax
	jne	.L142
	cmp	DWORD PTR -168[rbp], 0
	jne	.L143
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	draw_vehicles
.L143:
	cmp	DWORD PTR -164[rbp], 0
	je	.L144
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rdx, rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	randomize
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, ecx
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, ecx
	movss	DWORD PTR 4[rax], xmm0
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	movss	DWORD PTR 8[rdx], xmm0
	jmp	.L142
.L144:
	sub	DWORD PTR -180[rbp], 1
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR 16[rsi]
	mov	QWORD PTR 16[rcx], rax
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -96[rbp]
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	sub	DWORD PTR -144[rbp], 1
.L142:
	add	DWORD PTR -144[rbp], 1
.L141:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L145
	cmp	DWORD PTR -180[rbp], 0
	je	.L152
	add	QWORD PTR -112[rbp], 1
	jmp	.L148
.L152:
	nop
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L150
	call	__stack_chk_fail@PLT
.L150:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	angles.1, @object
	.size	angles.1, 12
angles.1:
	.long	-1085730853
	.long	0
	.long	1061752795
	.data
	.align 4
	.type	optpos.0, @object
	.size	optpos.0, 4
optpos.0:
	.long	1
	.section	.rodata
	.align 4
.LC3:
	.long	1070141403
	.align 4
.LC4:
	.long	1073741824
	.align 16
.LC5:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 4
.LC6:
	.long	1061752795
	.align 4
.LC7:
	.long	1036831949
	.align 4
.LC20:
	.long	1056964608
	.align 4
.LC26:
	.long	1019809755
	.align 4
.LC27:
	.long	1078530011
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"51700540.c"
	.text
	.section	.rodata
	.align	2
	.type	defaultcfg, %object
	.size	defaultcfg, 12
defaultcfg:
	.word	1036831949
	.word	1056964608
	.word	1019809755
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	u32, %function
u32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, .L3+8
	mul	r2, r3, r1
	ldr	r3, .L3+12
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L3+8
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	adr	r1, .L3
	ldmia	r1, {r0-r1}
	adds	r4, r2, r0
	adc	r5, r3, r1
	ldr	r3, [fp, #-16]
	stm	r3, {r4-r5}
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	mov	r2, r1
	mov	r3, #0
	mov	r3, r2
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	3
.L3:
	.word	-353876721
	.word	-1552540525
	.word	868441941
	.word	-1162203396
	.size	u32, .-u32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_create, %function
ppm_create:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ppm_create, .-ppm_create
	.section	.rodata
	.align	2
.LC0:
	.ascii	"P6 %u%u%*d%*c\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_read, %function
ppm_read:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	sub	r2, fp, #20
	ldr	r1, .L12+4
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	bgt	.L8
	mov	r3, #0
	b	.L10
.L8:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	ppm_create
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r0, r3, #8
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r1, r3
	ldr	r3, [fp, #-24]
	mov	r2, #1
	bl	fread
	ldr	r3, [fp, #-12]
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	ppm_read, .-ppm_read
	.section	.rodata
	.align	2
.LC2:
	.ascii	"P6\012%d %d\012255\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_write, %function
ppm_write:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L17
	bl	printf
	ldr	r3, [fp, #-8]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r1, r3
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #1
	bl	fwrite
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r0, #1
	bl	exit
.L16:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	stdout
	.size	ppm_write, .-ppm_write
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_copy, %function
ppm_copy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r0, r3, #8
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r2, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ppm_copy, .-ppm_copy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_put, %function
ppm_put:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	asr	r1, r3, #16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	and	r1, r1, #255
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	asr	r1, r3, #8
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	and	r1, r1, #255
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-20]
	and	r1, r2, #255
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ppm_put, .-ppm_put
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_get, %function
ppm_get:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	lsl	r1, r3, #16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r1, r1, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	orr	r3, r1, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ppm_get, .-ppm_get
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_get, %function
map_get:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	mov	r3, #32
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r2, [fp, #-24]
	add	r3, r3, #4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r4, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsr	r3, r4, r3
	and	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	map_get, .-map_get
	.global	__aeabi_i2f
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppm_to_map, %function
ppm_to_map:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	str	r0, [fp, #-72]
	mov	r3, #32
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	ldr	r2, [r2, #4]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #5
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	str	r2, [r3, #16]	@ float
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L26
.L30:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L27
.L29:
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-72]
	bl	ppm_get
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #65280
	bne	.L28
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-60]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #12]
.L28:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L27:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L26:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L30
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L31
.L35:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L32
.L34:
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-72]
	bl	ppm_get
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #255
	bne	.L33
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-56]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	atan2f
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3, #16]	@ float
.L33:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L32:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L31:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L36
.L39:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L37
.L38:
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-72]
	bl	ppm_get
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #16
	cmp	r3, #127
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-36]
	add	r3, r4, #4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r5, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, r2
	orr	r2, r5, r3
	ldr	r1, [fp, #-36]
	add	r3, r4, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L37:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L36:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-36]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	ppm_to_map, .-ppm_to_map
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_map, %function
draw_map:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L42
.L47:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L43
.L46:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-36]
	bl	map_get
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	mvn	r3, #-16777216
	b	.L45
.L44:
	mov	r3, #0
.L45:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	ppm_put
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L43:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L42:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L47
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	draw_map, .-draw_map
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_vehicles, %function
draw_vehicles:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L49
.L54:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #31
	sub	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L50
.L53:
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	str	r3, [fp, #-28]
	b	.L51
.L52:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	ldr	r1, .L55
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r5, r3
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	ldr	r1, .L55
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r5, r3
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2iz
	mov	r4, r0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2iz
	mov	r1, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	mov	r2, r1
	mov	r1, r4
	ldr	r0, [fp, #-40]
	bl	ppm_put
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L51:
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	cmp	r3, r2
	blt	.L52
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L50:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L49:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L54
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L56:
	.align	2
.L55:
	.word	1070141403
	.size	draw_vehicles, .-draw_vehicles
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sense, %function
sense:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-56]	@ float
	str	r1, [fp, #-60]	@ float
	str	r2, [fp, #-64]	@ float
	str	r3, [fp, #-68]
	ldr	r0, [fp, #-64]	@ float
	bl	cosf
	str	r0, [fp, #-40]	@ float
	ldr	r0, [fp, #-64]	@ float
	bl	sinf
	str	r0, [fp, #-36]	@ float
	mov	r3, #1
	str	r3, [fp, #-52]
.L65:
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L58
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L58
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L58
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L58
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-68]
	bl	map_get
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L61
.L64:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L62
.L63:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-44]
	add	r1, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-48]
	add	r2, r2, r3
	mov	r3, #16711680
	ldr	r0, [fp, #4]
	bl	ppm_put
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L62:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L63
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L61:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L64
.L60:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L65
.L67:
	nop
.L58:
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	sqrtf
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	sense, .-sense
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alive, %function
alive:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-20]
	bl	map_get
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	alive, .-alive
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	drive, %function
drive:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-48]
	bl	alive
	mov	r3, r0
	cmp	r3, #0
	bne	.L71
	mov	r3, #0
	b	.L84
.L71:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L73
.L74:
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-48]
	ldr	r5, [r3, #4]	@ float
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]	@ float
	ldr	r1, .L92+4
	ldr	r3, [fp, #-40]
	ldr	r3, [r1, r3, lsl #2]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	mov	r1, r5
	mov	r0, r4
	bl	sense
	mov	r2, r0
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-16]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L73:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	ble	.L74
	ldr	r2, [fp, #-20]	@ float
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-28]	@ float
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-24]	@ float
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L89
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]	@ float
	b	.L77
.L89:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]	@ float
	b	.L77
.L90:
	ldr	r3, [fp, #-32]	@ float
.L77:
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-48]
	ldr	r4, [r3, #8]	@ float
	ldr	r3, [fp, #-36]
	bic	r2, r3, #-2147483648
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]	@ float
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	copysignf
	mov	r3, r0
	b	.L83
.L91:
	ldr	r3, [fp, #-36]	@ float
.L83:
	mov	r1, r4
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	cosf
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-48]
	ldr	r4, [r3, #4]	@ float
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	sinf
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3, #4]	@ float
	mov	r3, #1
.L84:
	ldr	r2, .L92
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC3
	.word	angles.6712
	.size	drive, .-drive
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_beams, %function
draw_beams:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L95
.L96:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r5, [r3, #4]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	ldr	r1, .L97
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	mov	r1, r5
	mov	r0, r4
	bl	sense
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3, #4]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	bl	sense
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r5, [r3, #4]	@ float
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3, #8]	@ float
	ldr	r1, .L97
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	mov	r1, r5
	mov	r0, r4
	bl	sense
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L95:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L96
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L98:
	.align	2
.L97:
	.word	1061752795
	.size	draw_beams, .-draw_beams
	.global	__aeabi_ui2f
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	randomize, %function
randomize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	u32
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mvn	r1, #31
	mov	r0, r3
	bl	ldexpf
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]	@ float
	ldr	r0, [fp, #-12]
	bl	u32
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mvn	r1, #31
	mov	r0, r3
	bl	ldexpf
	mov	r3, r0
	ldr	r1, .L100
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]	@ float
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	1036831949
	.size	randomize, .-randomize
	.data
	.align	2
	.type	optind, %object
	.size	optind, 4
optind:
	.word	1
	.align	2
	.type	opterr, %object
	.size	opterr, 4
opterr:
	.word	1
	.local	optopt
	.comm	optopt,4,4
	.local	optarg
	.comm	optarg,4,4
	.section	.rodata
	.align	2
.LC4:
	.ascii	"--\000"
	.align	2
.LC5:
	.ascii	"%s: illegal option: %c\012\000"
	.align	2
.LC6:
	.ascii	"%s: option requires an argument: %c\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getopt, %function
getopt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L117
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L103
	ldr	r3, .L117
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L117+4
	mov	r2, #1
	str	r2, [r3]
.L103:
	ldr	r3, .L117
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L104
	ldr	r1, .L117+8
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L117
	str	r3, [r2]
	mvn	r3, #0
	b	.L105
.L104:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L106
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L106
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L107
.L106:
	mvn	r3, #0
	b	.L105
.L107:
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L117+12
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L117+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L109
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L109
	ldr	r3, .L117+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, .L117+12
	ldr	r3, [r3]
	ldr	r1, .L117+24
	bl	fprintf
.L109:
	mov	r3, #63
	b	.L105
.L108:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L110
	ldr	r3, .L117+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L111
	ldr	r3, .L117+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, .L117+28
	str	r3, [r2]
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L117
	str	r3, [r2]
	ldr	r3, .L117+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L117+12
	ldr	r3, [r3]
	b	.L105
.L111:
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L112
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L117+28
	str	r3, [r2]
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L117
	str	r3, [r2]
	ldr	r3, .L117+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L117+12
	ldr	r3, [r3]
	b	.L105
.L112:
	ldr	r3, .L117+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L113
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L113
	ldr	r3, .L117+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, .L117+12
	ldr	r3, [r3]
	ldr	r1, .L117+32
	bl	fprintf
.L113:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L114
	mov	r3, #58
	b	.L105
.L114:
	mov	r3, #63
	b	.L105
.L110:
	ldr	r3, .L117+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L117+4
	str	r3, [r2]
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L116
	ldr	r3, .L117
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L117
	str	r3, [r2]
	ldr	r3, .L117+4
	mov	r2, #1
	str	r2, [r3]
.L116:
	ldr	r3, .L117+12
	ldr	r3, [r3]
.L105:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	optind
	.word	optpos.6742
	.word	.LC4
	.word	optopt
	.word	opterr
	.word	stderr
	.word	.LC5
	.word	optarg
	.word	.LC6
	.size	getopt, .-getopt
	.section	.rodata
	.align	2
.LC7:
	.ascii	"usage aidrivers <map.ppm [-abcdehkmMnsvx]\012\000"
	.align	2
.LC8:
	.ascii	"  -a INT   simulation steps per frame\012\000"
	.align	2
.LC9:
	.ascii	"  -b       show vehicle vision beams\012\000"
	.align	2
.LC10:
	.ascii	"  -c DIV   control divisor (turning limiter)\012\000"
	.align	2
.LC11:
	.ascii	"  -d INT   initial time steps to skip rendering\012"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"  -e       erase crashed vehicles\012\000"
	.align	2
.LC13:
	.ascii	"  -h       print this help information\012\000"
	.align	2
.LC14:
	.ascii	"  -k       kill vehicles when they crash (no reset)"
	.ascii	"\012\000"
	.global	__aeabi_f2d
	.align	2
.LC15:
	.ascii	"  -m FLOAT minimum speed (%g)\012\000"
	.align	2
.LC16:
	.ascii	"  -M FLOAT maximum speed (%g)\012\000"
	.align	2
.LC17:
	.ascii	"  -n INT   number of vehicles to simulate\012\000"
	.align	2
.LC18:
	.ascii	"  -s INT   input-to-output image scaling\012\000"
	.align	2
.LC19:
	.ascii	"  -v FILE  render on the given overlay\012\000"
	.align	2
.LC20:
	.ascii	"  -x SEED  seed from any string\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L120
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L120+4
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L120+8
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L120+12
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L120+16
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L120+20
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L120+24
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L120+28
	bl	fwrite
	ldr	r3, .L120+32
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L120+36
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, #1056964608
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L120+40
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-8]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L120+44
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L120+48
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L120+52
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L120+56
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	1036831949
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	usage, .-usage
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hash, %function
hash:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #36
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adr	r1, .L126
	ldmia	r1, {r0-r1}
	eor	r6, r2, r0
	eor	r7, r3, r1
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-40]
	b	.L123
.L124:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	eor	r4, r0, r2
	eor	r5, r1, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, .L126+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	ldr	r1, .L126+12
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r0, [fp, #-36]
	ldr	ip, .L126+8
	umull	r2, r3, r0, ip
	add	r1, r1, r3
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L123:
	ldr	r3, [fp, #-52]
	sub	r2, r3, #1
	str	r2, [fp, #-52]
	cmp	r3, #0
	bne	.L124
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	mov	r2, r1
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	eor	r8, r2, r0
	eor	r9, r3, r1
	mov	r2, r8
	mov	r3, r9
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
.L127:
	.align	3
.L126:
	.word	1762237459
	.word	-2087849518
	.word	1308649377
	.word	-731396925
	.size	hash, .-hash
	.global	__aeabi_d2f
	.section	.rodata
	.align	2
.LC21:
	.ascii	"a:bc:d:ehkm:M:n:s:v:x:\000"
	.align	2
.LC22:
	.ascii	"rb\000"
	.align	2
.LC23:
	.ascii	"file not found: %s\012\000"
	.global	__aeabi_ldivmod
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #140
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L169
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #12
	str	r3, [fp, #-148]
	mov	r3, #16
	str	r3, [fp, #-144]
	mov	r3, #1
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #1
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, .L169+4
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	str	r3, [fp, #-52]
	sub	r0, fp, #60
	mov	r2, #0
	mov	r3, #0
	mov	r1, #12
	bl	hash
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r2, .L169+8
	sub	r3, fp, #48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	b	.L129
.L145:
	ldr	r3, [fp, #-92]
	sub	r3, r3, #77
	cmp	r3, #43
	ldrls	pc, [pc, r3, asl #2]
	b	.L130
.L132:
	.word	.L144
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L143
	.word	.L142
	.word	.L141
	.word	.L140
	.word	.L139
	.word	.L130
	.word	.L130
	.word	.L138
	.word	.L130
	.word	.L130
	.word	.L137
	.word	.L130
	.word	.L136
	.word	.L135
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L130
	.word	.L134
	.word	.L130
	.word	.L130
	.word	.L133
	.word	.L130
	.word	.L131
.L143:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-140]
	b	.L129
.L142:
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L129
.L141:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L169+16
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	b	.L129
.L140:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-136]
	b	.L129
.L139:
	mov	r3, #1
	str	r3, [fp, #-132]
	b	.L129
.L138:
	ldr	r3, .L169+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #0
	bl	exit
.L137:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L129
.L136:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	b	.L129
.L144:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	b	.L129
.L135:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-144]
	b	.L129
.L134:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-148]
	b	.L129
.L133:
	ldr	r3, .L169+12
	ldr	r3, [r3]
	str	r3, [fp, #-120]
	b	.L129
.L131:
	ldr	r3, .L169+12
	ldr	r6, [r3]
	ldr	r3, .L169+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r1, r0
	mov	r2, #0
	mov	r3, #0
	mov	r0, r6
	bl	hash
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L129
.L130:
	ldr	r3, .L169+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #1
	bl	exit
.L129:
	ldr	r2, .L169+28
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-152]
	bl	getopt
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmn	r3, #1
	bne	.L145
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, .L169+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	ppm_read
	str	r0, [fp, #-80]
	ldr	r0, [fp, #-80]
	bl	ppm_to_map
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L146
	ldr	r1, .L169+36
	ldr	r0, [fp, #-120]
	bl	fopen
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L147
	ldr	r3, .L169+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	ldr	r1, .L169+40
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L147:
	ldr	r0, [fp, #-72]
	bl	ppm_read
	str	r0, [fp, #-112]
	ldr	r0, [fp, #-72]
	bl	fclose
	ldr	r3, [fp, #-112]
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r0, r2
	bl	ppm_create
	str	r0, [fp, #-116]
	b	.L148
.L146:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	mul	r0, r2, r3
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-148]
	mul	r3, r2, r3
	mov	r1, r3
	bl	ppm_create
	str	r0, [fp, #-112]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-112]
	bl	draw_map
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	mul	r0, r2, r3
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-148]
	mul	r3, r2, r3
	mov	r1, r3
	bl	ppm_create
	str	r0, [fp, #-116]
.L148:
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L149
.L150:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	sub	r2, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	randomize
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L149:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L150
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L151
.L152:
	ldr	r3, [fp, #-76]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r6, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r6]	@ float
	ldr	r3, [fp, #-76]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r6, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r6, #4]	@ float
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [fp, #-76]
	ldr	r2, [r2, #16]	@ float
	str	r2, [r3, #8]	@ float
	sub	r3, fp, #36
	mov	r0, r3
	bl	u32
	mov	r3, r0
	lsr	r2, r3, #8
	ldr	r3, .L169+44
	orr	r3, r2, r3
	ldr	r2, [fp, #-104]
	lsl	r2, r2, #4
	ldr	r1, [fp, #-88]
	add	r2, r1, r2
	str	r3, [r2, #12]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L151:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L152
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L164:
	ldr	r3, [fp, #-136]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L153
	ldr	r3, [fp, #-140]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	bne	.L153
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-116]
	bl	ppm_copy
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L154
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-116]
	bl	draw_beams
.L154:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-116]
	bl	draw_vehicles
	ldr	r0, [fp, #-116]
	bl	ppm_write
.L153:
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L155
.L156:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r0, r2, r3
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-84]
	add	r1, r2, r3
	sub	r3, fp, #48
	ldr	r2, [fp, #-76]
	bl	drive
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L155:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L156
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L157
.L161:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r1, [fp, #-76]
	mov	r0, r3
	bl	alive
	mov	r3, r0
	cmp	r3, #0
	bne	.L158
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L159
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r2, r2, r3
	mov	r3, #1
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-112]
	bl	draw_vehicles
.L159:
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	beq	.L160
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	sub	r2, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	randomize
	ldr	r3, [fp, #-76]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r6, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r6]	@ float
	ldr	r3, [fp, #-76]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r6, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r6, #4]	@ float
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [fp, #-76]
	ldr	r2, [r2, #16]	@ float
	str	r2, [r3, #8]	@ float
	b	.L158
.L160:
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r1, r2, r3
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	mov	ip, r3
	mov	r3, r1
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-84]
	add	r1, r2, r3
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	mov	r2, r1
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
.L158:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L157:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L161
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L168
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-68]
	str	r5, [fp, #-64]
	b	.L164
.L168:
	nop
	mov	r3, #0
	ldr	r2, .L169
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L166
	bl	__stack_chk_fail
.L166:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L170:
	.align	2
.L169:
	.word	.LC24
	.word	main
	.word	defaultcfg
	.word	optarg
	.word	1078530011
	.word	stdout
	.word	stderr
	.word	.LC21
	.word	stdin
	.word	.LC22
	.word	.LC23
	.word	4210752
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	angles.6712, %object
	.size	angles.6712, 12
angles.6712:
	.word	3209236443
	.word	0
	.word	1061752795
	.data
	.align	2
	.type	optpos.6742, %object
	.size	optpos.6742, 4
optpos.6742:
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
