	.file	"14199551.c"
	.intel_syntax noprefix
	.text
	.globl	G
	.bss
	.align 32
	.type	G, @object
	.size	G, 100
G:
	.zero	100
	.globl	d
	.align 32
	.type	d, @object
	.size	d, 100
d:
	.zero	100
	.text
	.globl	build_graph
	.type	build_graph, @function
build_graph:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR G[rip], 0
	mov	DWORD PTR G[rip+4], 2
	mov	DWORD PTR G[rip+8], 9999
	mov	DWORD PTR G[rip+12], 6
	mov	DWORD PTR G[rip+16], 9999
	mov	DWORD PTR G[rip+20], 2
	mov	DWORD PTR G[rip+24], 0
	mov	DWORD PTR G[rip+28], 3
	mov	DWORD PTR G[rip+32], 8
	mov	DWORD PTR G[rip+36], 5
	mov	DWORD PTR G[rip+40], 9999
	mov	DWORD PTR G[rip+44], 3
	mov	DWORD PTR G[rip+48], 0
	mov	DWORD PTR G[rip+52], 9999
	mov	DWORD PTR G[rip+56], 7
	mov	DWORD PTR G[rip+60], 6
	mov	DWORD PTR G[rip+64], 8
	mov	DWORD PTR G[rip+68], 9999
	mov	DWORD PTR G[rip+72], 0
	mov	DWORD PTR G[rip+76], 9
	mov	DWORD PTR G[rip+80], 9999
	mov	DWORD PTR G[rip+84], 5
	mov	DWORD PTR G[rip+88], 7
	mov	DWORD PTR G[rip+92], 9
	mov	DWORD PTR G[rip+96], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	build_graph, .-build_graph
	.globl	Folyd
	.type	Folyd, @function
Folyd:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, G[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L5
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L6
	mov	DWORD PTR -12[rbp], 0
	jmp	.L7
.L13:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L8
.L12:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, esi
	cmp	ecx, eax
	jle	.L10
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L10:
	add	DWORD PTR -4[rbp], 1
.L9:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L11
	add	DWORD PTR -8[rbp], 1
.L8:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L12
	add	DWORD PTR -12[rbp], 1
.L7:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L13
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Folyd, .-Folyd
	.section	.rodata
.LC0:
	.string	"All-Pairs Shortest Path:\n"
.LC1:
	.string	" "
.LC2:
	.string	"\n"
	.text
	.globl	MAIN
	.type	MAIN, @function
MAIN:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	build_graph
	mov	eax, 0
	call	Folyd
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	write@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L16
.L19:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, d[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L18
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -8[rbp], 1
.L16:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L19
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"14199551.c"
	.text
	.comm	G,100,4
	.comm	d,100,4
	.align	2
	.global	build_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_graph, %function
build_graph:
	@ 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
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L2
	mov	r2, #2
	str	r2, [r3, #4]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #8]
	ldr	r3, .L2
	mov	r2, #6
	str	r2, [r3, #12]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #16]
	ldr	r3, .L2
	mov	r2, #2
	str	r2, [r3, #20]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, .L2
	mov	r2, #3
	str	r2, [r3, #28]
	ldr	r3, .L2
	mov	r2, #8
	str	r2, [r3, #32]
	ldr	r3, .L2
	mov	r2, #5
	str	r2, [r3, #36]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #40]
	ldr	r3, .L2
	mov	r2, #3
	str	r2, [r3, #44]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #48]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #52]
	ldr	r3, .L2
	mov	r2, #7
	str	r2, [r3, #56]
	ldr	r3, .L2
	mov	r2, #6
	str	r2, [r3, #60]
	ldr	r3, .L2
	mov	r2, #8
	str	r2, [r3, #64]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #68]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #72]
	ldr	r3, .L2
	mov	r2, #9
	str	r2, [r3, #76]
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #80]
	ldr	r3, .L2
	mov	r2, #5
	str	r2, [r3, #84]
	ldr	r3, .L2
	mov	r2, #7
	str	r2, [r3, #88]
	ldr	r3, .L2
	mov	r2, #9
	str	r2, [r3, #92]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #96]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	G
	.word	9999
	.size	build_graph, .-build_graph
	.align	2
	.global	Folyd
	.syntax unified
	.arm
	.fpu softvfp
	.type	Folyd, %function
Folyd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L8:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L7:
	ldr	r1, .L17
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L17+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L7
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L8
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L15:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L14:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L13:
	ldr	r1, .L17+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L17+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r0, [r0, r3, lsl #2]
	ldr	ip, .L17+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r0, r3
	cmp	r1, r3
	ble	.L12
	ldr	r1, .L17+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L17+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r1, r1, r3
	ldr	r0, .L17+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L13
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L14
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L15
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	G
	.word	d
	.size	Folyd, .-Folyd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"All-Pairs Shortest Path:\012\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.text
	.align	2
	.global	MAIN
	.syntax unified
	.arm
	.fpu softvfp
	.type	MAIN, %function
MAIN:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	build_graph
	bl	Folyd
	ldr	r0, .L24
	bl	write
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L23:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L21
.L22:
	ldr	r1, .L24+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r0, r3
	bl	write
	ldr	r0, .L24+8
	bl	write
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L22
	ldr	r0, .L24+12
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L23
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	d
	.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
