	.file	"917053.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"GAME OVER!\nScore:%.2f"
	.text
	.globl	print_score
	.type	print_score, @function
print_score:
.LFB0:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	and	eax, 1
	test	rax, rax
	jne	.L3
	add	DWORD PTR -8[rbp], 1
.L3:
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 63
	jle	.L4
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -8[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	addsd	xmm0, QWORD PTR -40[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -4[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_score, .-print_score
	.globl	print_map
	.type	print_map, @function
print_map:
.LFB1:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 63
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	and	eax, 1
	test	rax, rax
	je	.L7
	mov	edi, 35
	call	putchar@PLT
	jmp	.L8
.L7:
	mov	edi, 46
	call	putchar@PLT
.L8:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L9
	mov	edi, 10
	call	putchar@PLT
.L9:
	sub	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L10
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_map, .-print_map
	.globl	clear_completed_lines
	.type	clear_completed_lines, @function
clear_completed_lines:
.LFB2:
	.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	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 255
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L16:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	and	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L13
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 8
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -16[rbp], 8
.L14:
	cmp	DWORD PTR -16[rbp], 55
	jle	.L15
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 56
	not	rax
	and	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	sub	DWORD PTR -20[rbp], 8
.L13:
	add	DWORD PTR -20[rbp], 8
.L12:
	cmp	DWORD PTR -20[rbp], 63
	jle	.L16
	cmp	DWORD PTR -12[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_map
.L17:
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	clear_completed_lines, .-clear_completed_lines
	.section	.rodata
.LC2:
	.string	"%llu"
.LC3:
	.string	"%d"
	.text
	.globl	move
	.type	move, @function
move:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 128
	mov	DWORD PTR -24[rbp], 256
	mov	DWORD PTR -20[rbp], 32768
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -40[rbp], 7
	jmp	.L20
.L33:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	DWORD PTR -36[rbp], 0
	jne	.L21
	cmp	DWORD PTR -40[rbp], 7
	je	.L22
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 3
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, ax
	test	rax, rax
	je	.L24
	cmp	DWORD PTR -40[rbp], 7
	jne	.L24
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_map
	mov	eax, 1
	jmp	.L34
.L24:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 65280
	test	rax, rax
	je	.L26
	cmp	DWORD PTR -40[rbp], 6
	jne	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_map
	mov	eax, 1
	jmp	.L34
.L26:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -36[rbp], 1
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -48[rbp]
	test	eax, eax
	js	.L27
	mov	DWORD PTR -44[rbp], 1
	jmp	.L28
.L30:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -16[rbp]
	shr	rax
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -44[rbp], 1
.L28:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jle	.L30
	jmp	.L29
.L27:
	mov	DWORD PTR -44[rbp], 1
	jmp	.L31
.L32:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rax
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -44[rbp], 1
.L31:
	mov	eax, DWORD PTR -48[rbp]
	neg	eax
	cmp	DWORD PTR -44[rbp], eax
	jle	.L32
.L29:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 3
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_map
.L21:
	sub	DWORD PTR -40[rbp], 1
.L20:
	cmp	DWORD PTR -40[rbp], 0
	jns	.L33
	mov	eax, 0
.L34:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	move, .-move
	.section	.rodata
.LC4:
	.string	"%hu"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_map
	mov	DWORD PTR -28[rbp], 0
	jmp	.L37
.L39:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	move
	mov	DWORD PTR -20[rbp], eax
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	clear_completed_lines
	add	DWORD PTR -24[rbp], eax
	add	DWORD PTR -28[rbp], 1
.L37:
	movzx	eax, WORD PTR -30[rbp]
	cwde
	cmp	DWORD PTR -28[rbp], eax
	jge	.L38
	cmp	DWORD PTR -20[rbp], 0
	je	.L39
.L38:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_score
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072955392
	.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	"917053.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"GAME OVER!\012Score:%.2f\000"
	.text
	.align	2
	.global	print_score
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_score, %function
print_score:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L4:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	mov	r2, #1
	mov	r3, #0
	and	r6, r4, r2
	and	r7, r5, r3
	orrs	r3, r6, r7
	bne	.L3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #63
	ble	.L4
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L5
	bl	pow
	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
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L5+4
	bl	printf
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L6:
	.align	2
.L5:
	.word	1072955392
	.word	.LC0
	.size	print_score, .-print_score
	.align	2
	.global	print_map
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_map, %function
print_map:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r3, #63
	str	r3, [fp, #-24]
	b	.L8
.L12:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-24]
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	mov	r2, #1
	mov	r3, #0
	and	r6, r4, r2
	and	r7, r5, r3
	orrs	r3, r6, r7
	beq	.L9
	mov	r0, #35
	bl	putchar
	b	.L10
.L9:
	mov	r0, #46
	bl	putchar
.L10:
	ldr	r3, [fp, #-24]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L11
	mov	r0, #10
	bl	putchar
.L11:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L8:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L12
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	print_map, .-print_map
	.align	2
	.global	clear_completed_lines
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_completed_lines, %function
clear_completed_lines:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #104
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r2, #255
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L14
.L18:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-48]
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r6, r2, r1
	orr	r6, r6, r3, lsl ip
	orr	r6, r6, r3, lsr r0
	lsr	r7, r3, r1
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	and	r1, r6, r2
	str	r1, [fp, #-92]
	and	r3, r7, r3
	str	r3, [fp, #-88]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L15
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	b	.L16
.L17:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-44]
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	lr, r3, r1
	str	lr, [fp, #-64]
	ldr	lr, [fp, #-64]
	orr	ip, lr, r2, lsl ip
	str	ip, [fp, #-64]
	ldr	ip, [fp, #-64]
	orr	r0, ip, r2, lsr r0
	str	r0, [fp, #-64]
	lsl	r3, r2, r1
	str	r3, [fp, #-68]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r1, r2
	mvn	r1, r1
	str	r1, [fp, #-100]
	mvn	r3, r3
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r1, r2
	and	r1, r4, r1
	str	r1, [fp, #-108]
	and	r3, r5, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-56]
	sub	r2, fp, #108
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-44]
	add	r1, r1, #8
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	lr, r2, r1
	str	lr, [fp, #-76]
	ldr	lr, [fp, #-76]
	orr	ip, lr, r3, lsl ip
	str	ip, [fp, #-76]
	ldr	ip, [fp, #-76]
	orr	r0, ip, r3, lsr r0
	str	r0, [fp, #-76]
	lsr	r3, r3, r1
	str	r3, [fp, #-72]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	ip, r0
	and	ip, ip, r2
	str	ip, [fp, #-84]
	and	r3, r1, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-44]
	sub	r1, r3, #32
	rsb	r2, r3, #32
	ldr	ip, [fp, #-80]
	lsl	r9, ip, r3
	ldr	ip, [fp, #-84]
	orr	r9, r9, ip, lsl r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	mov	ip, r0
	orr	r9, r9, ip, lsr r2
	mov	r2, r0
	lsl	r8, r2, r3
	orr	r3, r4, r8
	str	r3, [fp, #-116]
	orr	r3, r5, r9
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-56]
	sub	r2, fp, #116
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	str	r3, [fp, #-44]
.L16:
	ldr	r3, [fp, #-44]
	cmp	r3, #55
	ble	.L17
	ldr	r3, [fp, #-56]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r2, #24
	mov	r0, #0
	mvn	r3, r0
	str	r3, [fp, #-124]
	mvn	r3, r1
	str	r3, [fp, #-120]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	mov	r1, r2
	and	r1, r4, r1
	str	r1, [fp, #-132]
	and	r3, r5, r3
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-56]
	sub	r2, fp, #132
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #8
	str	r3, [fp, #-48]
.L15:
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L14:
	ldr	r3, [fp, #-48]
	cmp	r3, #63
	ble	.L18
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	print_map
.L19:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	clear_completed_lines, .-clear_completed_lines
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%llu\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	move
	.syntax unified
	.arm
	.fpu softvfp
	.type	move, %function
move:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #224
	str	r0, [fp, #-80]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r3, #128
	str	r3, [fp, #-56]
	mov	r3, #256
	str	r3, [fp, #-52]
	mov	r3, #32768
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L38+4
	bl	__isoc99_scanf
	mov	r3, #7
	str	r3, [fp, #-68]
	b	.L22
.L35:
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-68]
	cmp	r3, #7
	beq	.L24
	ldr	r3, [fp, #-80]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	add	r1, r1, #1
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	lr, r3, r1
	str	lr, [fp, #-88]
	ldr	lr, [fp, #-88]
	orr	ip, lr, r2, lsl ip
	str	ip, [fp, #-88]
	ldr	ip, [fp, #-88]
	orr	r0, ip, r2, lsr r0
	str	r0, [fp, #-88]
	lsl	r3, r2, r1
	str	r3, [fp, #-92]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	mov	r1, r2
	mvn	r1, r1
	str	r1, [fp, #-132]
	mvn	r3, r3
	str	r3, [fp, #-128]
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	mov	r1, r2
	and	r1, r4, r1
	str	r1, [fp, #-140]
	and	r3, r5, r3
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-80]
	sub	r2, fp, #140
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
.L24:
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	lsl	r1, r1, #3
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	lr, r2, r1
	str	lr, [fp, #-100]
	ldr	lr, [fp, #-100]
	orr	ip, lr, r3, lsl ip
	str	ip, [fp, #-100]
	ldr	ip, [fp, #-100]
	orr	r0, ip, r3, lsr r0
	str	r0, [fp, #-100]
	lsr	r3, r3, r1
	str	r3, [fp, #-96]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	mov	ip, r0
	and	ip, ip, r2
	str	ip, [fp, #-148]
	and	r3, r1, r3
	str	r3, [fp, #-144]
	sub	r4, fp, #148
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	beq	.L25
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L38+12
	mov	r3, #0
	and	ip, r0, r2
	str	ip, [fp, #-156]
	and	r3, r1, r3
	str	r3, [fp, #-152]
	sub	r4, fp, #156
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	beq	.L26
	ldr	r3, [fp, #-68]
	cmp	r3, #7
	bne	.L26
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	print_map
	mov	r3, #1
	b	.L36
.L26:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	mov	r2, #65280
	mov	r3, #0
	and	ip, r0, r2
	str	ip, [fp, #-164]
	and	r3, r1, r3
	str	r3, [fp, #-160]
	sub	r4, fp, #164
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	beq	.L28
	ldr	r3, [fp, #-68]
	cmp	r3, #6
	bne	.L28
	ldr	r3, [fp, #-80]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	add	r1, r1, #1
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	lr, r3, r1
	str	lr, [fp, #-104]
	ldr	lr, [fp, #-104]
	orr	ip, lr, r2, lsl ip
	str	ip, [fp, #-104]
	ldr	ip, [fp, #-104]
	orr	r0, ip, r2, lsr r0
	str	r0, [fp, #-104]
	lsl	r3, r2, r1
	str	r3, [fp, #-108]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	mov	r1, r2
	orr	r1, r4, r1
	str	r1, [fp, #-172]
	orr	r3, r5, r3
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-80]
	sub	r2, fp, #172
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	print_map
	mov	r3, #1
	b	.L36
.L28:
	ldr	r3, [fp, #-80]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	add	r1, r1, #1
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	lr, r3, r1
	str	lr, [fp, #-112]
	ldr	lr, [fp, #-112]
	orr	ip, lr, r2, lsl ip
	str	ip, [fp, #-112]
	ldr	ip, [fp, #-112]
	orr	r0, ip, r2, lsr r0
	str	r0, [fp, #-112]
	lsl	r3, r2, r1
	str	r3, [fp, #-116]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	mov	r1, r2
	orr	r1, r4, r1
	str	r1, [fp, #-180]
	orr	r3, r5, r3
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-80]
	sub	r2, fp, #180
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L23
.L25:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L29
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L30
.L32:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r9, r3, r1
	orr	r9, r9, r2, lsl ip
	orr	r9, r9, r2, lsr r0
	lsl	r8, r2, r1
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r8, #1
	orr	r0, r0, r9, lsl #31
	lsr	r1, r9, #1
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-188]
	and	r3, r1, r3
	str	r3, [fp, #-184]
	sub	r4, fp, #188
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	ldr	r3, [fp, #-60]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-196]
	and	r3, r1, r3
	str	r3, [fp, #-192]
	sub	r4, fp, #196
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	ldr	r3, [fp, #-52]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-204]
	and	r3, r1, r3
	str	r3, [fp, #-200]
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #1
	orr	r0, r0, r3, lsl #31
	lsr	r1, r3, #1
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L30:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r3, r2
	ble	.L32
	b	.L31
.L29:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L33
.L34:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r7, r3, r1
	orr	r7, r7, r2, lsl ip
	orr	r7, r7, r2, lsr r0
	lsl	r6, r2, r1
	adds	r3, r6, r6
	str	r3, [fp, #-244]
	adc	r3, r7, r7
	str	r3, [fp, #-240]
	sub	r1, fp, #244
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-212]
	and	r3, r1, r3
	str	r3, [fp, #-208]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	ldr	r3, [fp, #-56]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-220]
	and	r3, r1, r3
	str	r3, [fp, #-216]
	sub	r4, fp, #220
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	ldr	r3, [fp, #-48]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-228]
	and	r3, r1, r3
	str	r3, [fp, #-224]
	sub	r4, fp, #228
	ldmia	r4, {r3-r4}
	orrs	r3, r3, r4
	bne	.L31
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-252]
	adc	r3, r3, r3
	str	r3, [fp, #-248]
	sub	r3, fp, #252
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L33:
	ldr	r3, [fp, #-76]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-72]
	cmp	r3, r2
	ble	.L34
.L31:
	ldr	r3, [fp, #-80]
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	lsl	r1, r1, #3
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	lr, r3, r1
	str	lr, [fp, #-120]
	ldr	lr, [fp, #-120]
	orr	ip, lr, r2, lsl ip
	str	ip, [fp, #-120]
	ldr	ip, [fp, #-120]
	orr	r0, ip, r2, lsr r0
	str	r0, [fp, #-120]
	lsl	r3, r2, r1
	str	r3, [fp, #-124]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	mov	r1, r2
	orr	r1, r4, r1
	str	r1, [fp, #-236]
	orr	r3, r5, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-80]
	sub	r2, fp, #236
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	print_map
.L23:
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
.L22:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bge	.L35
	mov	r3, #0
.L36:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.word	65535
	.size	move, .-move
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%hu\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L46+4
	bl	__isoc99_scanf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L46+8
	bl	__isoc99_scanf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	print_map
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L41
.L43:
	sub	r3, fp, #20
	mov	r0, r3
	bl	move
	str	r0, [fp, #-24]
	sub	r3, fp, #20
	mov	r0, r3
	bl	clear_completed_lines
	mov	r2, r0
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L41:
	ldrsh	r3, [fp, #-34]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	cmp	r3, r2
	bge	.L42
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L43
.L42:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-28]
	bl	print_score
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC5
	.word	.LC1
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
