	.file	"12594.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\350\257\267\350\276\223\345\205\245\351\241\266\347\202\271\346\225\260\345\222\214\350\276\271\346\225\260:"
.LC1:
	.string	"%d, %d"
.LC2:
	.string	"%d"
	.align 8
.LC3:
	.string	"\350\276\223\345\205\245\350\276\271(i, j)\347\232\204\347\253\257\347\202\271, \346\235\203\345\200\274w"
.LC4:
	.string	"%d%d%d"
	.text
	.globl	CreateGraph
	.type	CreateGraph, @function
CreateGraph:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 40404[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 40400
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
.L2:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 40400[rax]
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jg	.L3
	mov	DWORD PTR -24[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 100
	mov	DWORD PTR [rdx+rax*4], 65535
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 40400[rax]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jg	.L6
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 40400[rax]
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jg	.L7
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L9:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movsx	rdi, esi
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdi
	add	rax, 100
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	edi, DWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movsx	r8, ecx
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, r8
	add	rax, 100
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -40[rbp]
	movsx	rdi, edi
	movsx	rsi, esi
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdi
	add	rax, 100
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 40404[rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L9
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	CreateGraph, .-CreateGraph
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"12594.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\350\257\267\350\276\223\345\205\245\351\241\266\347"
	.ascii	"\202\271\346\225\260\345\222\214\350\276\271\346\225"
	.ascii	"\260:\000"
	.align	2
.LC1:
	.ascii	"%d, %d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\350\276\223\345\205\245\350\276\271(i, j)\347\232\204"
	.ascii	"\347\253\257\347\202\271, \346\235\203\345\200\274w"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"%d%d%d\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	CreateGraph
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateGraph, %function
CreateGraph:
	@ 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]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L11+4
	bl	puts
	ldr	r3, [fp, #-32]
	add	r3, r3, #40192
	add	r3, r3, #208
	ldr	r2, [fp, #-32]
	add	r2, r2, #40192
	add	r2, r2, #212
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L3:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-32]
	add	r3, r3, #36864
	ldr	r2, [r3, #3536]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L3
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L6:
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	add	r3, r3, #100
	ldr	r2, .L11+16
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r3, [fp, #-32]
	add	r3, r3, #36864
	ldr	r2, [r3, #3536]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L6
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r3, [fp, #-32]
	add	r3, r3, #36864
	ldr	r2, [r3, #3536]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L7
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L8
.L9:
	ldr	r0, .L11+20
	bl	puts
	sub	r3, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	ldr	r0, .L11+24
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	ldr	ip, [fp, #-20]
	ldr	r0, [fp, #-16]
	ldr	r1, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, ip
	add	r3, r3, #100
	str	r0, [r1, r3, lsl #2]
	ldr	r1, [fp, #-24]
	ldr	lr, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	ip, [fp, #-24]
	ldr	r0, [fp, #-32]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, lr
	add	r3, r3, #100
	ldr	r0, [r0, r3, lsl #2]
	ldr	r1, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, ip
	add	r3, r3, #100
	str	r0, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-32]
	add	r3, r3, #36864
	ldr	r3, [r3, #3540]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L9
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	65535
	.word	.LC3
	.word	.LC4
	.size	CreateGraph, .-CreateGraph
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
