	.file	"89201542.c"
	.intel_syntax noprefix
	.text
	.globl	edges
	.bss
	.align 32
	.type	edges, @object
	.size	edges, 8000
edges:
	.zero	8000
	.globl	edge_cur
	.section	.data.rel.local,"aw"
	.align 8
	.type	edge_cur, @object
	.size	edge_cur, 8
edge_cur:
	.quad	edges
	.globl	head
	.bss
	.align 32
	.type	head, @object
	.size	head, 800
head:
	.zero	800
	.globl	degree_in
	.align 32
	.type	degree_in, @object
	.size	degree_in, 400
degree_in:
	.zero	400
	.globl	degree_out
	.align 32
	.type	degree_out, @object
	.size	degree_out, 400
degree_out:
	.zero	400
	.text
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB6:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	rax, QWORD PTR edge_cur[rip]
	lea	rdx, edges[rip]
	sub	rax, rdx
	sar	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR edge_cur[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR edge_cur[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR edge_cur[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, head[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR edge_cur[rip]
	lea	rdx, 16[rax]
	mov	QWORD PTR edge_cur[rip], rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, head[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_out[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_out[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_in[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_in[rip]
	mov	DWORD PTR [rdx+rax], ecx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add_edge, .-add_edge
	.globl	S
	.bss
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	T
	.align 4
	.type	T, @object
	.size	T, 4
T:
	.zero	4
	.text
	.globl	init_ST
	.type	init_ST, @function
init_ST:
.LFB7:
	.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 -4[rbp], edi
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_in[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, degree_out[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, 1
	cmp	eax, edx
	jne	.L4
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR T[rip], eax
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, degree_out[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, degree_in[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, 1
	cmp	eax, edx
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR S[rip], eax
.L3:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4[rbp], edx
	test	eax, eax
	jne	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init_ST, .-init_ST
	.globl	via
	.bss
	.align 32
	.type	via, @object
	.size	via, 500
via:
	.zero	500
	.globl	path
	.align 32
	.type	path, @object
	.size	path, 2000
path:
	.zero	2000
	.globl	path_cur
	.data
	.align 4
	.type	path_cur, @object
	.size	path_cur, 4
path_cur:
	.long	-1
	.text
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB8:
	.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	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR path_cur[rip]
	add	eax, 1
	mov	DWORD PTR path_cur[rip], eax
	mov	eax, DWORD PTR path_cur[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, path[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, head[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, via[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	xor	eax, 1
	test	al, al
	je	.L8
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, via[rip]
	mov	BYTE PTR [rax+rdx], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	dfs
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L7:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"Eular Circuit:"
.LC1:
	.string	"Eular Path:"
	.text
	.globl	eular
	.type	eular, @function
eular:
.LFB9:
	.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	DWORD PTR -4[rbp], edi
	mov	edx, 500
	mov	esi, 0
	lea	rdi, via[rip]
	call	memset@PLT
	mov	edx, 2000
	mov	esi, 255
	lea	rdi, path[rip]
	call	memset@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	init_ST
	mov	edx, DWORD PTR S[rip]
	mov	eax, DWORD PTR T[rip]
	cmp	edx, eax
	jne	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L12
.L11:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L12:
	mov	eax, DWORD PTR S[rip]
	mov	edi, eax
	call	dfs
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	eular, .-eular
	.section	.rodata
.LC2:
	.string	"%d "
.LC3:
	.string	""
	.text
	.globl	print_eular
	.type	print_eular, @function
print_eular:
.LFB10:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR path_cur[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L15
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	print_eular, .-print_eular
	.globl	go
	.type	go, @function
go:
.LFB11:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	QWORD PTR -16[rbp], rdx
	mov	edx, 800
	mov	esi, 0
	lea	rdi, head[rip]
	call	memset@PLT
	mov	edx, 400
	mov	esi, 0
	lea	rdi, degree_in[rip]
	call	memset@PLT
	mov	edx, 400
	mov	esi, 0
	lea	rdi, degree_out[rip]
	call	memset@PLT
	lea	rax, edges[rip]
	mov	QWORD PTR edge_cur[rip], rax
	mov	DWORD PTR path_cur[rip], -1
	mov	DWORD PTR T[rip], 0
	mov	eax, DWORD PTR T[rip]
	mov	DWORD PTR S[rip], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, edx
	mov	edi, eax
	call	add_edge
.L17:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	eular
	mov	eax, 0
	call	print_eular
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	go, .-go
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -232[rbp], 5
	mov	DWORD PTR -228[rbp], 15
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 1
	mov	DWORD PTR -120[rbp], 1
	mov	DWORD PTR -116[rbp], 2
	mov	DWORD PTR -112[rbp], 2
	mov	DWORD PTR -108[rbp], 3
	mov	DWORD PTR -104[rbp], 3
	mov	DWORD PTR -100[rbp], 4
	mov	DWORD PTR -96[rbp], 4
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 2
	mov	DWORD PTR -80[rbp], 2
	mov	DWORD PTR -76[rbp], 4
	mov	DWORD PTR -72[rbp], 4
	mov	DWORD PTR -68[rbp], 1
	mov	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -60[rbp], 3
	mov	DWORD PTR -56[rbp], 3
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 4
	mov	DWORD PTR -40[rbp], 4
	mov	DWORD PTR -36[rbp], 3
	mov	DWORD PTR -32[rbp], 3
	mov	DWORD PTR -28[rbp], 2
	mov	DWORD PTR -24[rbp], 2
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	lea	rdx, -128[rbp]
	mov	ecx, DWORD PTR -228[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	go
	mov	DWORD PTR -232[rbp], 4
	mov	DWORD PTR -228[rbp], 6
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 1
	mov	DWORD PTR -168[rbp], 1
	mov	DWORD PTR -164[rbp], 2
	mov	DWORD PTR -160[rbp], 2
	mov	DWORD PTR -156[rbp], 1
	mov	DWORD PTR -152[rbp], 1
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 3
	mov	DWORD PTR -136[rbp], 3
	mov	DWORD PTR -132[rbp], 1
	lea	rdx, -176[rbp]
	mov	ecx, DWORD PTR -228[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	go
	mov	DWORD PTR -232[rbp], 4
	mov	DWORD PTR -228[rbp], 5
	mov	DWORD PTR -224[rbp], 0
	mov	DWORD PTR -220[rbp], 1
	mov	DWORD PTR -216[rbp], 1
	mov	DWORD PTR -212[rbp], 2
	mov	DWORD PTR -208[rbp], 2
	mov	DWORD PTR -204[rbp], 1
	mov	DWORD PTR -200[rbp], 2
	mov	DWORD PTR -196[rbp], 3
	mov	DWORD PTR -192[rbp], 3
	mov	DWORD PTR -188[rbp], 2
	lea	rdx, -224[rbp]
	mov	ecx, DWORD PTR -228[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	go
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"89201542.c"
	.text
	.comm	edges,6000,4
	.global	edge_cur
	.data
	.align	2
	.type	edge_cur, %object
	.size	edge_cur, 4
edge_cur:
	.word	edges
	.comm	head,400,4
	.comm	degree_in,400,4
	.comm	degree_out,400,4
	.text
	.align	2
	.global	add_edge
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_edge, %function
add_edge:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	sub	r3, r3, r2
	ldr	r2, .L2
	ldr	r1, [r2]
	asr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #4
	add	r3, r3, r0
	lsl	r0, r3, #8
	add	r3, r3, r0
	lsl	r0, r3, #16
	add	r3, r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r2
	str	r3, [r1]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r1, .L2+8
	ldr	r2, [fp, #-8]
	ldr	r2, [r1, r2, lsl #2]
	str	r2, [r3, #8]
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r2, r3, #12
	ldr	r1, .L2
	str	r2, [r1]
	ldr	r1, .L2+8
	ldr	r2, [fp, #-8]
	str	r3, [r1, r2, lsl #2]
	ldr	r2, .L2+12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L2+12
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L2+16
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L2+16
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	edge_cur
	.word	edges
	.word	head
	.word	degree_out
	.word	degree_in
	.size	add_edge, .-add_edge
	.global	S
	.bss
	.align	2
	.type	S, %object
	.size	S, 4
S:
	.space	4
	.global	T
	.align	2
	.type	T, %object
	.size	T, 4
T:
	.space	4
	.text
	.align	2
	.global	init_ST
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_ST, %function
init_ST:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	b	.L5
.L7:
	ldr	r2, .L8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L6
	ldr	r2, .L8+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L5
.L6:
	ldr	r2, .L8+4
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L8
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L5
	ldr	r2, .L8+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L5:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	str	r2, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	degree_in
	.word	degree_out
	.word	T
	.word	S
	.size	init_ST, .-init_ST
	.comm	via,500,4
	.comm	path,2000,4
	.global	path_cur
	.data
	.align	2
	.type	path_cur, %object
	.size	path_cur, 4
path_cur:
	.word	-1
	.text
	.align	2
	.global	dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfs, %function
dfs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14
	str	r3, [r2]
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r1, .L14+4
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L14+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	b	.L11
.L13:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r2, .L14+12
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldr	r2, .L14+12
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	dfs
.L12:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	path_cur
	.word	path
	.word	head
	.word	via
	.size	dfs, .-dfs
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Eular Circuit:\000"
	.align	2
.LC4:
	.ascii	"Eular Path:\000"
	.text
	.align	2
	.global	eular
	.syntax unified
	.arm
	.fpu softvfp
	.type	eular, %function
eular:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r2, #500
	mov	r1, #0
	ldr	r0, .L19
	bl	memset
	mov	r2, #2000
	mov	r1, #255
	ldr	r0, .L19+4
	bl	memset
	ldr	r0, [fp, #-8]
	bl	init_ST
	ldr	r3, .L19+8
	ldr	r2, [r3]
	ldr	r3, .L19+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L17
	ldr	r0, .L19+16
	bl	puts
	b	.L18
.L17:
	ldr	r0, .L19+20
	bl	puts
.L18:
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	dfs
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	via
	.word	path
	.word	S
	.word	T
	.word	.LC3
	.word	.LC4
	.size	eular, .-eular
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.ascii	"\000"
	.text
	.align	2
	.global	print_eular
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_eular, %function
print_eular:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r2, .L24
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L24+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L23
	ldr	r0, .L24+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	path
	.word	.LC5
	.word	path_cur
	.word	.LC6
	.size	print_eular, .-print_eular
	.align	2
	.global	go
	.syntax unified
	.arm
	.fpu softvfp
	.type	go, %function
go:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	mov	r2, #400
	mov	r1, #0
	ldr	r0, .L29
	bl	memset
	mov	r2, #400
	mov	r1, #0
	ldr	r0, .L29+4
	bl	memset
	mov	r2, #400
	mov	r1, #0
	ldr	r0, .L29+8
	bl	memset
	ldr	r3, .L29+12
	ldr	r2, .L29+16
	str	r2, [r3]
	ldr	r3, .L29+20
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L29+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L29+24
	ldr	r3, [r3]
	ldr	r2, .L29+28
	str	r3, [r2]
	b	.L27
.L28:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	bl	add_edge
.L27:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L28
	ldr	r0, [fp, #-8]
	bl	eular
	bl	print_eular
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	head
	.word	degree_in
	.word	degree_out
	.word	edge_cur
	.word	edges
	.word	path_cur
	.word	T
	.word	S
	.size	go, .-go
	.section	.rodata
	.align	2
.LC0:
	.word	0
	.word	1
	.word	1
	.word	2
	.word	2
	.word	3
	.word	3
	.word	4
	.word	4
	.word	0
	.word	0
	.word	2
	.word	2
	.word	4
	.word	4
	.word	1
	.word	1
	.word	3
	.word	3
	.word	0
	.word	0
	.word	4
	.word	4
	.word	3
	.word	3
	.word	2
	.word	2
	.word	1
	.word	1
	.word	0
	.align	2
.LC1:
	.word	0
	.word	1
	.word	1
	.word	2
	.word	2
	.word	1
	.word	1
	.word	0
	.word	0
	.word	3
	.word	3
	.word	1
	.align	2
.LC2:
	.word	0
	.word	1
	.word	1
	.word	2
	.word	2
	.word	1
	.word	2
	.word	3
	.word	3
	.word	2
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-224]
	mov	r3, #15
	str	r3, [fp, #-220]
	ldr	r2, .L34+4
	sub	r3, fp, #128
	mov	r1, r2
	mov	r2, #120
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #128
	mov	r2, r3
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-224]
	bl	go
	mov	r3, #4
	str	r3, [fp, #-224]
	mov	r3, #6
	str	r3, [fp, #-220]
	ldr	r3, .L34+8
	sub	ip, fp, #176
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #176
	mov	r2, r3
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-224]
	bl	go
	mov	r3, #4
	str	r3, [fp, #-224]
	mov	r3, #5
	str	r3, [fp, #-220]
	ldr	r3, .L34+12
	sub	ip, fp, #216
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #216
	mov	r2, r3
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-224]
	bl	go
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC7
	.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
