	.file	"708020.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"sxhmaeis"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	sxhmaeis
	.type	sxhmaeis, @function
sxhmaeis:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sxhmaeis, .-sxhmaeis
	.section	.rodata
.LC3:
	.string	"megeis"
	.text
	.globl	megeis
	.type	megeis, @function
megeis:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 5
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	megeis, .-megeis
	.section	.rodata
.LC4:
	.string	"tetr"
	.text
	.globl	tetr
	.type	tetr, @function
tetr:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	tetr, .-tetr
	.section	.rodata
.LC5:
	.string	"paright"
	.text
	.globl	paright
	.type	paright, @function
paright:
.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	DWORD PTR -4[rbp], edi
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	paright, .-paright
	.section	.rodata
.LC6:
	.string	"parleft"
	.text
	.globl	parleft
	.type	parleft, @function
parleft:
.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	DWORD PTR -4[rbp], edi
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parleft, .-parleft
	.section	.rodata
.LC7:
	.string	"tetrtetr"
	.text
	.globl	tetrtetr
	.type	tetrtetr, @function
tetrtetr:
.LFB11:
	.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	DWORD PTR -4[rbp], edi
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	tetrtetr, .-tetrtetr
	.section	.rodata
.LC8:
	.string	"arrowdown"
	.text
	.globl	arrowdown
	.type	arrowdown, @function
arrowdown:
.LFB12:
	.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	DWORD PTR -4[rbp], edi
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	arrowdown, .-arrowdown
	.section	.rodata
.LC9:
	.string	"arrowup"
	.text
	.globl	arrowup
	.type	arrowup, @function
arrowup:
.LFB13:
	.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	DWORD PTR -4[rbp], edi
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	arrowup, .-arrowup
	.section	.rodata
.LC10:
	.string	"Continue?<0/1>"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 1
	jmp	.L14
.L21:
	mov	eax, 0
	call	sxhmaeis
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 0
	call	megeis
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jne	.L15
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tetr
	jmp	.L16
.L15:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L17
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	paright
	jmp	.L16
.L17:
	cmp	DWORD PTR -16[rbp], 2
	jne	.L18
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	parleft
	jmp	.L16
.L18:
	cmp	DWORD PTR -16[rbp], 3
	jne	.L19
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tetrtetr
	jmp	.L16
.L19:
	cmp	DWORD PTR -16[rbp], 4
	jne	.L20
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	arrowdown
	jmp	.L16
.L20:
	cmp	DWORD PTR -16[rbp], 5
	jne	.L16
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	arrowup
.L16:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 1
	je	.L21
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.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	"708020.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sxhmaeis\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sxhmaeis
	.syntax unified
	.arm
	.fpu softvfp
	.type	sxhmaeis, %function
sxhmaeis:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+8
	bl	scanf_s
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	sxhmaeis, .-sxhmaeis
	.section	.rodata
	.align	2
.LC4:
	.ascii	"megeis\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	megeis
	.syntax unified
	.arm
	.fpu softvfp
	.type	megeis, %function
megeis:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L9+8
	bl	scanf_s
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	mov	r3, #5
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.size	megeis, .-megeis
	.section	.rodata
	.align	2
.LC6:
	.ascii	"tetr\000"
	.text
	.align	2
	.global	tetr
	.syntax unified
	.arm
	.fpu softvfp
	.type	tetr, %function
tetr:
	@ 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	r0, .L12
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L12+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC1
	.size	tetr, .-tetr
	.section	.rodata
	.align	2
.LC7:
	.ascii	"paright\000"
	.text
	.align	2
	.global	paright
	.syntax unified
	.arm
	.fpu softvfp
	.type	paright, %function
paright:
	@ 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	r0, .L15
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC7
	.word	.LC1
	.size	paright, .-paright
	.section	.rodata
	.align	2
.LC8:
	.ascii	"parleft\000"
	.text
	.align	2
	.global	parleft
	.syntax unified
	.arm
	.fpu softvfp
	.type	parleft, %function
parleft:
	@ 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	r0, .L18
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L18+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC8
	.word	.LC1
	.size	parleft, .-parleft
	.section	.rodata
	.align	2
.LC9:
	.ascii	"tetrtetr\000"
	.text
	.align	2
	.global	tetrtetr
	.syntax unified
	.arm
	.fpu softvfp
	.type	tetrtetr, %function
tetrtetr:
	@ 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	r0, .L21
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L21+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC9
	.word	.LC1
	.size	tetrtetr, .-tetrtetr
	.section	.rodata
	.align	2
.LC10:
	.ascii	"arrowdown\000"
	.text
	.align	2
	.global	arrowdown
	.syntax unified
	.arm
	.fpu softvfp
	.type	arrowdown, %function
arrowdown:
	@ 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	r0, .L24
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L24+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC10
	.word	.LC1
	.size	arrowdown, .-arrowdown
	.section	.rodata
	.align	2
.LC11:
	.ascii	"arrowup\000"
	.text
	.align	2
	.global	arrowup
	.syntax unified
	.arm
	.fpu softvfp
	.type	arrowup, %function
arrowup:
	@ 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	r0, .L27
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L27+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC11
	.word	.LC1
	.size	arrowup, .-arrowup
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Continue?<0/1>\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L30
.L37:
	bl	sxhmaeis
	str	r0, [fp, #-16]
	bl	megeis
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L31
	ldr	r0, [fp, #-12]
	bl	tetr
	b	.L32
.L31:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L33
	ldr	r0, [fp, #-12]
	bl	paright
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L34
	ldr	r0, [fp, #-12]
	bl	parleft
	b	.L32
.L34:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L35
	ldr	r0, [fp, #-12]
	bl	tetrtetr
	b	.L32
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L36
	ldr	r0, [fp, #-12]
	bl	arrowdown
	b	.L32
.L36:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L32
	ldr	r0, [fp, #-12]
	bl	arrowup
.L32:
	ldr	r0, .L40+4
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L40+8
	bl	scanf_s
.L30:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L37
	mov	r3, #0
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC13
	.word	.LC12
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
