	.file	"944946.c"
	.intel_syntax noprefix
	.text
	.globl	graph
	.bss
	.align 32
	.type	graph, @object
	.size	graph, 40804
graph:
	.zero	40804
	.globl	save
	.align 32
	.type	save, @object
	.size	save, 400
save:
	.zero	400
	.globl	check
	.align 32
	.type	check, @object
	.size	check, 404
check:
	.zero	404
	.section	.rodata
.LC0:
	.string	"%d%d"
	.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
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -28[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L5:
	mov	edx, 404
	mov	esi, 0
	lea	rdi, graph[rip]
	call	memset@PLT
	mov	edx, 404
	mov	esi, 0
	lea	rdi, check[rip]
	call	memset@PLT
	mov	QWORD PTR -16[rbp], 0
	jmp	.L3
.L4:
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, graph[rip]
	mov	DWORD PTR [rdx+rax], 1
	add	QWORD PTR -16[rbp], 1
.L3:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	cmp	QWORD PTR -16[rbp], rax
	jb	.L4
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, 0
	mov	edi, eax
	call	list
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -28[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jne	.L5
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"hi"
.LC2:
	.string	"%d "
.LC3:
	.string	"%d %d\t"
	.text
	.globl	list
	.type	list, @function
list:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L9
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -32[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, save[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -32[rbp], 1
.L10:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	jb	.L11
	mov	edi, 10
	call	putchar@PLT
	jmp	.L8
.L9:
	mov	QWORD PTR -24[rbp], 1
	jmp	.L13
.L22:
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -16[rbp], 1
	jmp	.L14
.L17:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, graph[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L15
	mov	DWORD PTR -36[rbp], 1
	jmp	.L16
.L15:
	add	QWORD PTR -16[rbp], 1
.L14:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -16[rbp], rax
	jbe	.L17
.L16:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, check[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L19
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, check[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, save[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	QWORD PTR -8[rbp], 0
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, graph[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	QWORD PTR -8[rbp], 1
.L20:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -8[rbp], rax
	jb	.L21
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	list
	jmp	.L19
.L23:
	nop
.L19:
	add	QWORD PTR -24[rbp], 1
.L13:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	jbe	.L22
	nop
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	list, .-list
	.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	"944946.c"
	.text
	.comm	graph,40804,4
	.comm	save,400,4
	.comm	check,404,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #24
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	b	.L2
.L5:
	mov	r2, #404
	mov	r1, #0
	ldr	r0, .L8+8
	bl	memset
	mov	r2, #404
	mov	r1, #0
	ldr	r0, .L8+12
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L4:
	sub	r2, fp, #16
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	ip, .L8+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	mov	r2, #1
	str	r2, [ip, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bcc	.L4
	ldr	r3, [fp, #-28]
	mov	r1, #0
	mov	r0, r3
	bl	list
	mov	r0, #10
	bl	putchar
	sub	r2, fp, #24
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	graph
	.word	check
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"hi\000"
	.align	2
.LC3:
	.ascii	"%d \000"
	.align	2
.LC4:
	.ascii	"%d %d\011\000"
	.text
	.align	2
	.global	list
	.syntax unified
	.arm
	.fpu softvfp
	.type	list, %function
list:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L11
	ldr	r0, .L26
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L12
.L13:
	ldr	r2, .L26+4
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L26+8
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L13
	mov	r0, #10
	bl	putchar
	b	.L10
.L11:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L15
.L24:
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L16
.L19:
	ldr	r0, .L26+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L18
.L17:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bls	.L19
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L25
	ldr	r2, .L26+16
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L21
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	ldr	r0, .L26+20
	bl	printf
	ldr	r2, .L26+16
	ldr	r3, [fp, #-20]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	ldr	r1, .L26+4
	ldr	r3, [fp, #-36]
	str	r2, [r1, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r0, .L26+12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L23
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	list
	b	.L21
.L25:
	nop
.L21:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bls	.L24
	nop
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC2
	.word	save
	.word	.LC3
	.word	graph
	.word	check
	.word	.LC4
	.size	list, .-list
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
