	.file	"164510.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %s\n%c%d%d%d%d"
.LC1:
	.string	"%d %s %c %d %d %d %d %d %d\n"
.LC2:
	.string	"%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
	sub	rsp, 464
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L5:
	mov	DWORD PTR -456[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 40
	lea	r8, [rcx+rax]
	lea	rcx, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 36
	lea	rdi, [rcx+rax]
	lea	rcx, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 32
	lea	r9, [rcx+rax]
	lea	rcx, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 16
	add	rax, rcx
	lea	r10, 12[rax]
	lea	rcx, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 16
	add	rax, rcx
	lea	rcx, 8[rax]
	lea	rsi, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 4[rax]
	lea	r11, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, r11
	push	r8
	push	rdi
	mov	r8, r10
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 416
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 412
	mov	eax, DWORD PTR [rax]
	add	ecx, eax
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 408
	mov	eax, DWORD PTR [rax]
	add	eax, ecx
	mov	DWORD PTR -452[rbp], eax
	mov	eax, DWORD PTR -452[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	r9d, edx
	sub	r9d, eax
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 408
	mov	r8d, DWORD PTR [rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 412
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 416
	mov	r11d, DWORD PTR [rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 420
	mov	r10d, DWORD PTR [rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 424
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	lea	rsi, -448[rbp]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 4[rax]
	mov	eax, DWORD PTR -456[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 448
	mov	eax, DWORD PTR [rax]
	push	r9
	mov	edx, DWORD PTR -452[rbp]
	push	rdx
	push	r8
	push	rdi
	mov	r9d, r11d
	mov	r8d, r10d
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	add	DWORD PTR -456[rbp], 1
.L3:
	mov	eax, DWORD PTR -460[rbp]
	cmp	DWORD PTR -456[rbp], eax
	jl	.L4
.L2:
	lea	rax, -460[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L5
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"164510.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %s\012%c%d%d%d%d\000"
	.align	2
.LC1:
	.ascii	"%d %s %c %d %d %d %d %d %d\012\000"
	.align	2
.LC2:
	.ascii	"%d\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 = 456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #480
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-472]
	b	.L3
.L4:
	sub	r1, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	sub	r1, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r5, r3, #4
	sub	r1, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	add	r6, r1, r3
	sub	r1, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	add	r3, r1, r3
	add	r1, r3, #4
	sub	r0, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #32
	add	r0, r0, r3
	sub	ip, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #36
	add	ip, ip, r3
	sub	lr, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #40
	add	r3, lr, r3
	str	r3, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #412
	ldr	r1, [r3]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #408
	ldr	r3, [r3]
	add	r1, r1, r3
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #404
	ldr	r3, [r3]
	add	r3, r1, r3
	str	r3, [fp, #-468]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #444
	ldr	r4, [r3]
	sub	r1, fp, #464
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r5, r3, #4
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #420
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r6, r3
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #416
	ldr	r1, [r3]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #412
	ldr	r0, [r3]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #408
	ldr	ip, [r3]
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #404
	ldr	r2, [r3]
	ldr	r3, [fp, #-468]
	ldr	lr, .L8+8
	smull	r7, lr, r3, lr
	asr	r3, r3, #31
	sub	r3, lr, r3
	str	r3, [sp, #20]
	ldr	r3, [fp, #-468]
	str	r3, [sp, #16]
	str	r2, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L8+12
	bl	printf
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L3:
	ldr	r3, [fp, #-476]
	ldr	r2, [fp, #-472]
	cmp	r2, r3
	blt	.L4
.L2:
	sub	r3, fp, #476
	mov	r1, r3
	ldr	r0, .L8+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	1431655766
	.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
