	.file	"265142.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%[^\n]"
	.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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3944
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12144[rbp], 0
	mov	DWORD PTR -12140[rbp], 0
	jmp	.L2
.L4:
	lea	rdx, -12128[rbp]
	mov	eax, DWORD PTR -12144[rbp]
	cdqe
	imul	rax, rax, 110
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -12140[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jbe	.L3
	lea	rdx, -12128[rbp]
	mov	eax, DWORD PTR -12144[rbp]
	cdqe
	imul	rax, rax, 110
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12140[rbp], eax
.L3:
	add	DWORD PTR -12144[rbp], 1
	call	getchar@PLT
.L2:
	lea	rdx, -12128[rbp]
	mov	eax, DWORD PTR -12144[rbp]
	cdqe
	imul	rax, rax, 110
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L4
	mov	DWORD PTR -12136[rbp], 0
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -12144[rbp]
	sub	eax, 1
	mov	DWORD PTR -12132[rbp], eax
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -12136[rbp]
	movsx	rbx, eax
	lea	rdx, -12128[rbp]
	mov	eax, DWORD PTR -12132[rbp]
	cdqe
	imul	rax, rax, 110
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L7
	mov	eax, DWORD PTR -12136[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12132[rbp]
	cdqe
	imul	rax, rax, 110
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rdx
	sub	rax, 12112
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L8
.L7:
	mov	edi, 32
	call	putchar@PLT
.L8:
	sub	DWORD PTR -12132[rbp], 1
.L6:
	cmp	DWORD PTR -12132[rbp], 0
	jns	.L9
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12136[rbp], 1
.L5:
	mov	eax, DWORD PTR -12136[rbp]
	cmp	eax, DWORD PTR -12140[rbp]
	jl	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	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	"265142.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%[^\012]\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 12120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #12096
	sub	sp, sp, #24
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3928]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	b	.L2
.L4:
	sub	r2, fp, #12096
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-3928]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3924]
	cmp	r2, r3
	bls	.L3
	sub	r2, fp, #12096
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-3928]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #-3924]
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3928]
	add	r3, r3, #1
	str	r3, [r2, #-3928]
	bl	getchar
.L2:
	sub	r2, fp, #12096
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-3928]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3920]
	b	.L5
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3928]
	sub	r3, r3, #1
	str	r3, [r2, #-3916]
	b	.L6
.L9:
	sub	r2, fp, #12096
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r1, [r3, #-3916]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3920]
	cmp	r2, r3
	bls	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r3, #-3916]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3920]
	add	r3, r2, r3
	sub	r3, r3, #3904
	sub	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L8
.L7:
	mov	r0, #32
	bl	putchar
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3916]
	sub	r3, r3, #1
	str	r3, [r2, #-3916]
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3916]
	cmp	r3, #0
	bge	.L9
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-3920]
	add	r3, r3, #1
	str	r3, [r2, #-3920]
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-3920]
	ldr	r3, [r3, #-3924]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
