	.file	"319572.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter a number:"
.LC1:
	.string	"%d"
.LC2:
	.string	"Zero "
.LC3:
	.string	"One "
.LC4:
	.string	"Two "
.LC5:
	.string	"Three "
.LC6:
	.string	"Four "
.LC7:
	.string	"Five "
.LC8:
	.string	"Six "
.LC9:
	.string	"Seven "
.LC10:
	.string	"Eight "
.LC11:
	.string	"Nine "
	.text
	.globl	main
	.type	main, @function
main:
.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	mov	DWORD PTR -276[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	mov	ecx, DWORD PTR -288[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	add	DWORD PTR -284[rbp], 1
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -288[rbp], eax
	add	DWORD PTR -280[rbp], 1
.L2:
	mov	eax, DWORD PTR -288[rbp]
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -280[rbp]
	sub	eax, 1
	mov	DWORD PTR -284[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	edx, DWORD PTR -272[rbp+rax*4]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	add	DWORD PTR -276[rbp], 1
	sub	DWORD PTR -284[rbp], 1
.L4:
	cmp	DWORD PTR -284[rbp], 0
	jns	.L5
	mov	DWORD PTR -276[rbp], 0
	jmp	.L6
.L17:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	test	eax, eax
	jne	.L7
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 1
	jne	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 2
	jne	.L9
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 3
	jne	.L10
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 4
	jne	.L11
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 5
	jne	.L12
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 6
	jne	.L13
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 7
	jne	.L14
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 8
	jne	.L15
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	eax, 9
	jne	.L16
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	add	DWORD PTR -276[rbp], 1
.L6:
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jg	.L17
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"319572.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a number:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Zero \000"
	.align	2
.LC3:
	.ascii	"One \000"
	.align	2
.LC4:
	.ascii	"Two \000"
	.align	2
.LC5:
	.ascii	"Three \000"
	.align	2
.LC6:
	.ascii	"Four \000"
	.align	2
.LC7:
	.ascii	"Five \000"
	.align	2
.LC8:
	.ascii	"Six \000"
	.align	2
.LC9:
	.ascii	"Seven \000"
	.align	2
.LC10:
	.ascii	"Eight \000"
	.align	2
.LC11:
	.ascii	"Nine \000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	ldr	r0, .L20+4
	bl	printf
	sub	r3, fp, #280
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	b	.L2
.L3:
	ldr	r1, [fp, #-280]
	ldr	r3, .L20+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, [fp, #-276]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-280]
	ldr	r2, .L20+12
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L2:
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-272]
	sub	r3, r3, #1
	str	r3, [fp, #-276]
	b	.L4
.L5:
	ldr	r3, [fp, #-276]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-260]
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-132]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-276]
	sub	r3, r3, #1
	str	r3, [fp, #-276]
.L4:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bge	.L5
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L6
.L17:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L20+16
	bl	printf
.L7:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #1
	bne	.L8
	ldr	r0, .L20+20
	bl	printf
.L8:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #2
	bne	.L9
	ldr	r0, .L20+24
	bl	printf
.L9:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #3
	bne	.L10
	ldr	r0, .L20+28
	bl	printf
.L10:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #4
	bne	.L11
	ldr	r0, .L20+32
	bl	printf
.L11:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #5
	bne	.L12
	ldr	r0, .L20+36
	bl	printf
.L12:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #6
	bne	.L13
	ldr	r0, .L20+40
	bl	printf
.L13:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #7
	bne	.L14
	ldr	r0, .L20+44
	bl	printf
.L14:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #8
	bne	.L15
	ldr	r0, .L20+48
	bl	printf
.L15:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	cmp	r3, #9
	bne	.L16
	ldr	r0, .L20+52
	bl	printf
.L16:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L6:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	bgt	.L17
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	1717986919
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
