	.file	"673200.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC5:
	.string	"ymin:%f ymax:%f"
.LC6:
	.string	"xmin:%f xmax:%f"
.LC7:
	.string	"zlevel:%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	call	initscr@PLT
	call	noecho@PLT
	call	cbreak@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L3
.L2:
	mov	eax, -1
.L3:
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	mov	DWORD PTR -104[rbp], eax
	call	start_color@PLT
	mov	edx, 7
	mov	esi, 0
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 7
	mov	edi, 2
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 2
	mov	edi, 3
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 3
	mov	edi, 4
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 5
	call	init_pair@PLT
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -104[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -108[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	WORD PTR -16[rbp], 0
	sub	rsp, 8
	push	QWORD PTR -16[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	call	draw_mb
	add	rsp, 64
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L6
.L19:
	cmp	DWORD PTR -100[rbp], 261
	je	.L7
	cmp	DWORD PTR -100[rbp], 261
	jg	.L21
	cmp	DWORD PTR -100[rbp], 260
	je	.L9
	cmp	DWORD PTR -100[rbp], 260
	jg	.L21
	cmp	DWORD PTR -100[rbp], 259
	je	.L10
	cmp	DWORD PTR -100[rbp], 259
	jg	.L21
	cmp	DWORD PTR -100[rbp], 258
	je	.L11
	cmp	DWORD PTR -100[rbp], 258
	jg	.L21
	cmp	DWORD PTR -100[rbp], 113
	je	.L12
	cmp	DWORD PTR -100[rbp], 113
	jg	.L21
	cmp	DWORD PTR -100[rbp], 104
	je	.L13
	cmp	DWORD PTR -100[rbp], 104
	jg	.L21
	cmp	DWORD PTR -100[rbp], 97
	je	.L14
	cmp	DWORD PTR -100[rbp], 97
	jg	.L21
	cmp	DWORD PTR -100[rbp], 10
	je	.L15
	cmp	DWORD PTR -100[rbp], 32
	je	.L16
	jmp	.L21
.L10:
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L17
.L11:
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L17
.L9:
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	jmp	.L17
.L7:
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	jmp	.L17
.L14:
	movzx	eax, WORD PTR -16[rbp]
	cmp	ax, 1
	setne	al
	movzx	eax, al
	mov	WORD PTR -16[rbp], ax
	jmp	.L17
.L13:
	cmp	DWORD PTR -116[rbp], 1
	setne	al
	movzx	eax, al
	mov	DWORD PTR -116[rbp], eax
	jmp	.L17
.L15:
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR -40[rbp]
	subsd	xmm1, xmm2
	movsd	xmm2, QWORD PTR .LC4[rip]
	divsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR -40[rbp]
	subsd	xmm0, xmm2
	movsd	xmm2, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm2, QWORD PTR -56[rbp]
	subsd	xmm1, xmm2
	movsd	xmm2, QWORD PTR .LC4[rip]
	divsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm2, QWORD PTR -56[rbp]
	subsd	xmm0, xmm2
	movsd	xmm2, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	add	DWORD PTR -112[rbp], 1
	jmp	.L17
.L16:
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR -40[rbp]
	subsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR -40[rbp]
	subsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm2, QWORD PTR -56[rbp]
	subsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm2, QWORD PTR -56[rbp]
	subsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	sub	DWORD PTR -112[rbp], 1
	jmp	.L17
.L12:
	call	endwin@PLT
	mov	eax, 0
	jmp	.L20
.L21:
	nop
.L17:
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -104[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -108[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	sub	rsp, 8
	push	QWORD PTR -16[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	call	draw_mb
	add	rsp, 64
	cmp	DWORD PTR -116[rbp], 0
	je	.L6
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdx, .LC5[rip]
	mov	esi, 0
	mov	edi, 0
	mov	eax, 2
	call	mvprintw@PLT
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdx, .LC6[rip]
	mov	esi, 0
	mov	edi, 1
	mov	eax, 2
	call	mvprintw@PLT
	mov	eax, DWORD PTR -112[rbp]
	mov	ecx, eax
	lea	rdx, .LC7[rip]
	mov	esi, 0
	mov	edi, 2
	mov	eax, 0
	call	mvprintw@PLT
.L6:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jne	.L19
	call	endwin@PLT
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	draw_mb
	.type	draw_mb, @function
draw_mb:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L24
.L23:
	mov	eax, -1
.L24:
	mov	DWORD PTR -64[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L25
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L26
.L25:
	mov	eax, -1
.L26:
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -14[rbp], 976101408
	mov	WORD PTR -10[rbp], 9003
	mov	DWORD PTR -76[rbp], 0
	jmp	.L27
.L39:
	movsd	xmm1, QWORD PTR 40[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -76[rbp]
	movsd	xmm0, QWORD PTR 56[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L28
.L38:
	movsd	xmm1, QWORD PTR 24[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR 48[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	mov	DWORD PTR -68[rbp], -1
	jmp	.L29
.L32:
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
.L29:
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	comisd	xmm0, xmm1
	jbe	.L30
	add	DWORD PTR -68[rbp], 1
	cmp	DWORD PTR -68[rbp], 249
	jle	.L32
.L30:
	mov	edx, DWORD PTR -68[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 1
	mov	WORD PTR -78[rbp], ax
	movzx	eax, WORD PTR 64[rbp]
	test	ax, ax
	je	.L33
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -76[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L35
	movsx	eax, WORD PTR -78[rbp]
	cdqe
	movzx	eax, BYTE PTR -14[rbp+rax]
	movsx	edx, al
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L35
.L33:
	movsx	eax, WORD PTR -78[rbp]
	sal	eax, 8
	movzx	eax, ax
	or	eax, 2359296
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -76[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L37:
	movsx	eax, WORD PTR -78[rbp]
	sal	eax, 8
	movzx	eax, ax
	or	eax, 2359296
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_off@PLT
.L35:
	add	DWORD PTR -72[rbp], 1
.L28:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L38
	add	DWORD PTR -76[rbp], 1
.L27:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L39
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L44
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 43
	mov	rdi, rax
	call	waddch@PLT
.L44:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	draw_mb, .-draw_mb
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC1:
	.long	0
	.long	-1073479680
	.align 8
.LC2:
	.long	0
	.long	-1074790400
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.long	0
	.long	1074790400
	.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	"673200.c"
	.text
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ymin:%f ymax:%f\000"
	.align	2
.LC1:
	.ascii	"xmin:%f xmax:%f\000"
	.align	2
.LC2:
	.ascii	"zlevel:%d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #160
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	bl	initscr
	bl	noecho
	bl	cbreak
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L3
.L2:
	mvn	r3, #0
.L3:
	str	r3, [fp, #-112]
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	str	r3, [fp, #-108]
	bl	start_color
	mov	r2, #7
	mov	r1, #0
	mov	r0, #1
	bl	init_pair
	mov	r2, #0
	mov	r1, #7
	mov	r0, #2
	bl	init_pair
	mov	r2, #0
	mov	r1, #2
	mov	r0, #3
	bl	init_pair
	mov	r2, #0
	mov	r1, #3
	mov	r0, #4
	bl	init_pair
	mov	r2, #0
	mov	r1, #1
	mov	r0, #5
	bl	init_pair
	mov	r2, #0
	ldr	r3, .L24+4
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	ldr	r3, .L24+8
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	ldr	r3, .L24+4
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L24+12
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-108]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-112]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	strh	r3, [fp, #-20]	@ movhi
	mov	lr, sp
	sub	ip, fp, #52
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	bl	draw_mb
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L6
.L21:
	ldr	r3, [fp, #-104]
	ldr	r2, .L24+16
	cmp	r3, r2
	bgt	.L23
	ldr	r3, [fp, #-104]
	ldr	r2, .L24+20
	cmp	r3, r2
	bge	.L8
	ldr	r3, [fp, #-104]
	cmp	r3, #113
	beq	.L9
	ldr	r3, [fp, #-104]
	cmp	r3, #113
	bgt	.L23
	ldr	r3, [fp, #-104]
	cmp	r3, #104
	beq	.L10
	ldr	r3, [fp, #-104]
	cmp	r3, #104
	bgt	.L23
	ldr	r3, [fp, #-104]
	cmp	r3, #97
	beq	.L11
	ldr	r3, [fp, #-104]
	cmp	r3, #97
	bgt	.L23
	ldr	r3, [fp, #-104]
	cmp	r3, #10
	beq	.L12
	ldr	r3, [fp, #-104]
	cmp	r3, #32
	beq	.L13
	b	.L23
.L8:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L15:
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L14
.L17:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L19
.L18:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L19
.L16:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L19
.L14:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L19
.L11:
	ldrsh	r3, [fp, #-20]
	cmp	r3, #1
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-20]	@ movhi
	b	.L19
.L10:
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-120]
	b	.L19
.L12:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L24+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L24+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L24+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L24+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L19
.L13:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L19
.L9:
	bl	endwin
	mov	r3, #0
	b	.L22
.L23:
	nop
.L19:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-108]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-112]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	lr, sp
	sub	ip, fp, #52
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	bl	draw_mb
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	ldr	r2, .L24+28
	mov	r1, #0
	mov	r0, #0
	bl	mvprintw
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	ldr	r2, .L24+32
	mov	r1, #0
	mov	r0, #1
	bl	mvprintw
	ldr	r3, [fp, #-116]
	ldr	r2, .L24+36
	mov	r1, #0
	mov	r0, #2
	bl	mvprintw
.L6:
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L21
	bl	endwin
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L25:
	.align	2
.L24:
	.word	stdscr
	.word	1072693248
	.word	-1073479680
	.word	-1074790400
	.word	261
	.word	258
	.word	1074790400
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_dmul
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC3:
	.ascii	"  .:+#"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	draw_mb
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_mb, %function
draw_mb:
	@ args = 56, pretend = 16, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L28
.L27:
	mvn	r3, #0
.L28:
	str	r3, [fp, #-76]
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L30
.L29:
	mvn	r3, #0
.L30:
	str	r3, [fp, #-72]
	ldr	r2, .L49+8
	sub	r3, fp, #24
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L31
.L43:
	add	r5, fp, #28
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L32
.L42:
	add	r5, fp, #12
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	add	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mvn	r3, #0
	str	r3, [fp, #-80]
	b	.L33
.L36:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L33:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+12
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #249
	ble	.L36
.L34:
	ldr	r1, [fp, #-80]
	ldr	r3, .L49+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	lsl	r3, r2, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-90]	@ movhi
	ldrsh	r3, [fp, #52]
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, .L49+4
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-90]
	sub	r1, fp, #12
	add	r3, r1, r3
	ldrb	r3, [r3, #-12]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	waddch
	b	.L39
.L37:
	ldr	r3, .L49+4
	ldr	r0, [r3]
	ldrsh	r3, [fp, #-90]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	orr	r3, r3, #2359296
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	ldr	r3, .L49+4
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L41:
	ldr	r3, .L49+4
	ldr	r0, [r3]
	ldrsh	r3, [fp, #-90]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	orr	r3, r3, #2359296
	mov	r2, #0
	mov	r1, r3
	bl	wattr_off
.L39:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L32:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L42
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L31:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L43
	ldr	r3, .L49+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L48
	ldr	r3, .L49+4
	ldr	r3, [r3]
	mov	r1, #43
	mov	r0, r3
	bl	waddch
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, lr}
	add	sp, sp, #16
	bx	lr
.L50:
	.align	2
.L49:
	.word	.LC4
	.word	stdscr
	.word	.LC3
	.word	1074790400
	.word	1717986919
	.size	draw_mb, .-draw_mb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
