	.file	"7950278.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	" %[^\n]s"
.LC2:
	.string	"%s %s\n"
	.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
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3680
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -20052[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20048[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -20036[rbp], 0
	mov	eax, DWORD PTR -20036[rbp]
	mov	DWORD PTR -20040[rbp], eax
	mov	eax, DWORD PTR -20040[rbp]
	mov	DWORD PTR -20044[rbp], eax
	mov	QWORD PTR -20032[rbp], 0
	mov	QWORD PTR -20024[rbp], 0
	lea	rdx, -20016[rbp]
	mov	eax, 0
	mov	ecx, 623
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	mov	QWORD PTR -15024[rbp], 0
	mov	QWORD PTR -15016[rbp], 0
	lea	rdx, -15008[rbp]
	mov	eax, 0
	mov	ecx, 623
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	lea	rax, -10016[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -20044[rbp]
	and	eax, 1
	test	eax, eax
	je	.L4
	cmp	DWORD PTR -20044[rbp], 0
	jne	.L5
.L4:
	mov	edx, DWORD PTR -20044[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -20044[rbp], eax
	mov	eax, DWORD PTR -20040[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -20040[rbp], ecx
	movsx	rdx, edx
	movzx	edx, BYTE PTR -10016[rbp+rdx]
	cdqe
	mov	BYTE PTR -20032[rbp+rax], dl
	jmp	.L3
.L5:
	mov	edx, DWORD PTR -20044[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -20044[rbp], eax
	mov	eax, DWORD PTR -20036[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -20036[rbp], ecx
	movsx	rdx, edx
	movzx	edx, BYTE PTR -10016[rbp+rdx]
	cdqe
	mov	BYTE PTR -15024[rbp+rax], dl
.L3:
	mov	eax, DWORD PTR -20044[rbp]
	cdqe
	movzx	eax, BYTE PTR -10016[rbp+rax]
	test	al, al
	jne	.L6
	lea	rdx, -15024[rbp]
	lea	rax, -20032[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20048[rbp], 1
.L2:
	mov	eax, DWORD PTR -20052[rbp]
	cmp	DWORD PTR -20048[rbp], eax
	jl	.L7
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"7950278.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	" %[^\012]s\000"
	.align	2
.LC2:
	.ascii	"%s %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 20032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #19968
	sub	sp, sp, #64
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #19968
	sub	r3, r3, #4
	sub	r3, r3, #64
	mov	r1, r3
	ldr	r0, .L10+4
	bl	__isoc99_scanf
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3644]
	b	.L2
.L7:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3632]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3632]
	str	r3, [r2, #-3636]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3636]
	str	r3, [r2, #-3640]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3, #-3628]
	sub	r3, r3, #3616
	sub	r3, r3, #8
	ldr	r2, .L10+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12288
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3, #-2720]
	sub	r3, r3, #2704
	sub	r3, r3, #12
	ldr	r2, .L10+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #9984
	sub	r3, r3, #4
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L10+12
	bl	__isoc99_scanf
	b	.L3
.L6:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3640]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3640]
	cmp	r3, #0
	bne	.L5
.L4:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-3640]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r1, r3
	add	r3, r2, #1
	str	r3, [r1, #-3640]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3636]
	sub	r1, fp, #16384
	sub	r1, r1, #4
	mov	r0, r1
	add	r1, r3, #1
	str	r1, [r0, #-3636]
	sub	r1, fp, #8192
	sub	r1, r1, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-1812]	@ zero_extendqisi2
	sub	r1, fp, #16384
	sub	r1, r1, #4
	add	r3, r1, r3
	strb	r2, [r3, #-3628]
	b	.L3
.L5:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-3640]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r1, r3
	add	r3, r2, #1
	str	r3, [r1, #-3640]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3632]
	sub	r1, fp, #16384
	sub	r1, r1, #4
	mov	r0, r1
	add	r1, r3, #1
	str	r1, [r0, #-3632]
	sub	r1, fp, #8192
	sub	r1, r1, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-1812]	@ zero_extendqisi2
	sub	r1, fp, #12288
	sub	r1, r1, #4
	add	r3, r1, r3
	strb	r2, [r3, #-2720]
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3640]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	sub	r2, fp, #14976
	sub	r2, r2, #4
	sub	r2, r2, #32
	sub	r3, fp, #19968
	sub	r3, r3, #4
	sub	r3, r3, #44
	mov	r1, r3
	ldr	r0, .L10+16
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3644]
	add	r3, r3, #1
	str	r3, [r2, #-3644]
.L2:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-3648]
	sub	r2, fp, #16384
	sub	r2, r2, #4
	ldr	r2, [r2, #-3644]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	4997
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
