	.file	"383271.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %d"
	.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
	lea	r11, -299008[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1040
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -300032[rbp], 0
	mov	DWORD PTR -300028[rbp], 0
	mov	DWORD PTR -300020[rbp], 1
	lea	rax, -300040[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -300024[rbp], 1
	jmp	.L2
.L7:
	lea	rdx, -300036[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	DWORD PTR -300020[rbp], 1
	jne	.L3
	lea	rdx, -300016[rbp]
	lea	rax, -200016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	sub	DWORD PTR -300020[rbp], 1
	jmp	.L4
.L3:
	lea	rdx, -200016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	cmp	DWORD PTR -300020[rbp], -1
	je	.L4
	lea	rdx, -300016[rbp]
	lea	rax, -100016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -300020[rbp], -1
.L4:
	lea	rdx, -200016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -300036[rbp]
	add	DWORD PTR -300032[rbp], eax
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -300036[rbp]
	add	DWORD PTR -300028[rbp], eax
.L6:
	add	DWORD PTR -300024[rbp], 1
.L2:
	mov	eax, DWORD PTR -300040[rbp]
	cmp	DWORD PTR -300024[rbp], eax
	jle	.L7
	mov	eax, DWORD PTR -300032[rbp]
	cmp	eax, DWORD PTR -300028[rbp]
	jle	.L8
	lea	rax, -200016[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -300028[rbp]
	cmp	eax, DWORD PTR -300032[rbp]
	jle	.L10
	lea	rax, -100016[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L9
.L10:
	lea	rdx, -200016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -300036[rbp]
	test	eax, eax
	jle	.L11
	lea	rax, -100016[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L9
.L11:
	lea	rdx, -200016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	eax, DWORD PTR -300036[rbp]
	test	eax, eax
	jns	.L12
	lea	rax, -200016[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L9
.L12:
	lea	rdx, -100016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR -300036[rbp]
	test	eax, eax
	jle	.L13
	lea	rax, -200016[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L9
.L13:
	lea	rdx, -100016[rbp]
	lea	rax, -300016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -300036[rbp]
	test	eax, eax
	jns	.L9
	lea	rax, -100016[rbp]
	mov	rdi, rax
	call	puts@PLT
.L9:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"383271.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s %d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 300032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #299008
	sub	sp, sp, #1024
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1012]
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1008]
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1000]
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #1020
	mov	r1, r3
	ldr	r0, .L16+4
	bl	__isoc99_scanf
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1004]
	b	.L2
.L7:
	sub	r2, fp, #299008
	sub	r2, r2, #4
	sub	r2, r2, #1016
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1000]
	cmp	r3, #1
	bne	.L3
	sub	r2, fp, #299008
	sub	r2, r2, #4
	sub	r2, r2, #996
	sub	r3, fp, #199680
	sub	r3, r3, #4
	sub	r3, r3, #324
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1000]
	sub	r3, r3, #1
	str	r3, [r2, #-1000]
	b	.L4
.L3:
	sub	r2, fp, #199680
	sub	r2, r2, #4
	sub	r2, r2, #324
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1000]
	cmn	r3, #1
	beq	.L4
	sub	r2, fp, #299008
	sub	r2, r2, #4
	sub	r2, r2, #996
	sub	r3, fp, #99328
	sub	r3, r3, #4
	sub	r3, r3, #676
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-1000]
.L4:
	sub	r2, fp, #199680
	sub	r2, r2, #4
	sub	r2, r2, #324
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	sub	r2, fp, #299008
	sub	r2, r2, #4
	mov	r1, r2
	sub	r2, fp, #299008
	sub	r2, r2, #4
	ldr	r2, [r2, #-1012]
	add	r3, r2, r3
	str	r3, [r1, #-1012]
	b	.L6
.L5:
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	sub	r2, fp, #299008
	sub	r2, r2, #4
	mov	r1, r2
	sub	r2, fp, #299008
	sub	r2, r2, #4
	ldr	r2, [r2, #-1008]
	add	r3, r2, r3
	str	r3, [r1, #-1008]
.L6:
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1004]
	add	r3, r3, #1
	str	r3, [r2, #-1004]
.L2:
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1020]
	sub	r2, fp, #299008
	sub	r2, r2, #4
	ldr	r2, [r2, #-1004]
	cmp	r2, r3
	ble	.L7
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r2, [r2, #-1012]
	ldr	r3, [r3, #-1008]
	cmp	r2, r3
	ble	.L8
	sub	r3, fp, #199680
	sub	r3, r3, #4
	sub	r3, r3, #324
	mov	r0, r3
	bl	puts
	b	.L9
.L8:
	sub	r3, fp, #299008
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r2, [r2, #-1008]
	ldr	r3, [r3, #-1012]
	cmp	r2, r3
	ble	.L10
	sub	r3, fp, #99328
	sub	r3, r3, #4
	sub	r3, r3, #676
	mov	r0, r3
	bl	puts
	b	.L9
.L10:
	sub	r2, fp, #199680
	sub	r2, r2, #4
	sub	r2, r2, #324
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	cmp	r3, #0
	ble	.L11
	sub	r3, fp, #99328
	sub	r3, r3, #4
	sub	r3, r3, #676
	mov	r0, r3
	bl	puts
	b	.L9
.L11:
	sub	r2, fp, #199680
	sub	r2, r2, #4
	sub	r2, r2, #324
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	cmp	r3, #0
	bge	.L12
	sub	r3, fp, #199680
	sub	r3, r3, #4
	sub	r3, r3, #324
	mov	r0, r3
	bl	puts
	b	.L9
.L12:
	sub	r2, fp, #99328
	sub	r2, r2, #4
	sub	r2, r2, #676
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	cmp	r3, #0
	ble	.L13
	sub	r3, fp, #199680
	sub	r3, r3, #4
	sub	r3, r3, #324
	mov	r0, r3
	bl	puts
	b	.L9
.L13:
	sub	r2, fp, #99328
	sub	r2, r2, #4
	sub	r2, r2, #676
	sub	r3, fp, #299008
	sub	r3, r3, #4
	sub	r3, r3, #996
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #299008
	sub	r3, r3, #4
	ldr	r3, [r3, #-1016]
	cmp	r3, #0
	bge	.L9
	sub	r3, fp, #99328
	sub	r3, r3, #4
	sub	r3, r3, #676
	mov	r0, r3
	bl	puts
.L9:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
