	.file	"57948938.c"
	.intel_syntax noprefix
	.text
	.globl	gor
	.bss
	.align 32
	.type	gor, @object
	.size	gor, 808
gor:
	.zero	808
	.globl	asol
	.align 32
	.type	asol, @object
	.size	asol, 808
asol:
	.zero	808
	.text
	.globl	pichone
	.type	pichone, @function
pichone:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	cmp	QWORD PTR -24[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pichone, .-pichone
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %s"
.LC2:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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, 72
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, gor[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, asol[rip]
	mov	QWORD PTR [rdx+rax], 0
	add	DWORD PTR -60[rbp], 1
.L7:
	cmp	DWORD PTR -60[rbp], 100
	jle	.L8
	lea	rax, -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L9
.L12:
	lea	rdx, -35[rbp]
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -56[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, gor[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	ebx, DWORD PTR -68[rbp]
	lea	rdx, -35[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	pichone
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, gor[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, asol[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L10
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -68[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, gor[rip]
	mov	rax, QWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, asol[rip]
	mov	QWORD PTR [rcx+rdx], rax
.L10:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jge	.L11
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -64[rbp], eax
.L11:
	add	DWORD PTR -56[rbp], 1
.L9:
	mov	eax, DWORD PTR -72[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L12
	mov	DWORD PTR -52[rbp], 0
	jmp	.L13
.L18:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, asol[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	jg	.L15
	mov	edi, 45
	call	putchar@PLT
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -48[rbp], rax
.L14:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L17
	add	DWORD PTR -52[rbp], 1
.L13:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L18
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"57948938.c"
	.text
	.comm	gor,404,4
	.comm	asol,404,4
	.align	2
	.global	pichone
	.syntax unified
	.arm
	.fpu softvfp
	.type	pichone, %function
pichone:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	b	.L3
.L5:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pichone, .-pichone
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d %s\000"
	.align	2
.LC2:
	.ascii	"%s\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 = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L7
.L8:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-44]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L21+8
	ldr	r3, [fp, #-44]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L7:
	ldr	r3, [fp, #-44]
	cmp	r3, #100
	ble	.L8
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L21+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L9
.L12:
	sub	r2, fp, #28
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	ldr	r2, .L21+4
	ldr	r0, [r2, r3, lsl #2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r4, [fp, #-52]
	sub	r2, fp, #28
	mov	r1, r3
	bl	pichone
	mov	r3, r0
	ldr	r2, .L21+4
	str	r3, [r2, r4, lsl #2]
	ldr	r3, [fp, #-52]
	ldr	r2, .L21+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r1, .L21+4
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L21+8
	str	r2, [r1, r3, lsl #2]
.L10:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bge	.L11
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-48]
.L11:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L9:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L13
.L18:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	b	.L14
.L17:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bgt	.L15
	mov	r0, #45
	bl	putchar
	b	.L16
.L15:
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
.L16:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-32]
.L14:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L13:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L18
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	gor
	.word	asol
	.word	.LC0
	.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
