	.file	"61262.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/61262.c"
.LC1:
	.string	"Fatal error"
	.align 8
.LC2:
	.string	"%s: at line %d of %s in function %s\nMemory exhausted, cannot allocate enough memory of total size: %lu\n"
	.text
	.globl	vertex_node_init
	.type	vertex_node_init, @function
vertex_node_init:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	esi, 24
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	24
	lea	r9, __PRETTY_FUNCTION__.8[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 80
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	vertex_node_init, .-vertex_node_init
	.globl	vertex_node_free
	.type	vertex_node_free, @function
vertex_node_free:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	vertex_node_free, .-vertex_node_free
	.globl	vertex_list_init
	.type	vertex_list_init, @function
vertex_list_init:
.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, 16
	mov	esi, 24
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	24
	lea	r9, __PRETTY_FUNCTION__.7[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 98
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	vertex_list_init, .-vertex_list_init
	.section	.rodata
.LC3:
	.string	"Assertion (list) failed"
	.align 8
.LC4:
	.string	"%s: at line %d of %s in function %s\n"
.LC5:
	.string	"Assertion (node) failed"
	.text
	.globl	vertex_list_push_front
	.type	vertex_list_push_front, @function
vertex_list_push_front:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.6[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 103
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.6[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 104
	lea	rdx, .LC5[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rdx], rcx
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	vertex_list_push_front, .-vertex_list_push_front
	.globl	vertex_list_free
	.type	vertex_list_free, @function
vertex_list_free:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.5[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 118
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	vertex_node_free
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L15:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	vertex_list_free, .-vertex_list_free
	.section	.rodata
.LC6:
	.string	"Assertion (size) failed"
	.text
	.globl	ud_graph_init
	.type	ud_graph_init, @function
ud_graph_init:
.LFB11:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.4[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 139
	lea	rdx, .LC6[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	16
	lea	r9, __PRETTY_FUNCTION__.4[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 140
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, __PRETTY_FUNCTION__.4[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 142
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR -32[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	eax, 0
	call	vertex_list_init
	mov	QWORD PTR [rbx], rax
	add	QWORD PTR -32[rbp], 1
.L21:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ud_graph_init, .-ud_graph_init
	.section	.rodata
.LC7:
	.string	"Assertion (graph) failed"
	.align 8
.LC8:
	.string	"Assertion (first != second) failed"
	.text
	.globl	ud_graph_add_edge
	.type	ud_graph_add_edge, @function
ud_graph_add_edge:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.3[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 154
	lea	rdx, .LC7[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.3[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 155
	lea	rdx, .LC8[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	vertex_node_init
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	vertex_node_init
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	vertex_list_push_front
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	vertex_list_push_front
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ud_graph_add_edge, .-ud_graph_add_edge
	.section	.rodata
.LC9:
	.string	"Assertion (visited) failed"
	.text
	.globl	ud_graph_has_cycle_impl_
	.type	ud_graph_has_cycle_impl_, @function
ud_graph_has_cycle_impl_:
.LFB13:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.2[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 168
	lea	rdx, .LC7[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.2[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 169
	lea	rdx, .LC9[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L30
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L31
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ud_graph_has_cycle_impl_
	test	eax, eax
	je	.L32
	mov	eax, 1
	jmp	.L33
.L31:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -48[rbp], rax
	je	.L32
	mov	eax, 1
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	add	QWORD PTR -8[rbp], 1
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L34
	mov	eax, 0
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	ud_graph_has_cycle_impl_, .-ud_graph_has_cycle_impl_
	.globl	ud_graph_has_cycle
	.type	ud_graph_has_cycle, @function
ud_graph_has_cycle:
.LFB14:
	.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	DWORD PTR -20[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.1[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 193
	lea	rdx, .LC7[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, __PRETTY_FUNCTION__.1[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 194
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	QWORD PTR -16[rbp], 0
	jmp	.L38
.L41:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L39
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, -1
	mov	rdi, rax
	call	ud_graph_has_cycle_impl_
	test	eax, eax
	je	.L39
	mov	DWORD PTR -20[rbp], 1
	jmp	.L40
.L39:
	add	QWORD PTR -16[rbp], 1
.L38:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L41
	nop
.L40:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ud_graph_has_cycle, .-ud_graph_has_cycle
	.section	.rodata
.LC10:
	.string	"%lu"
	.align 8
.LC11:
	.string	"%s: at line %d of %s in function %s\nInvalid input\n"
.LC12:
	.string	"%lu %lu %d"
.LC13:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 1
	je	.L44
	mov	rax, QWORD PTR stderr[rip]
	lea	r9, __PRETTY_FUNCTION__.0[rip]
	lea	r8, .LC0[rip]
	mov	ecx, 215
	lea	rdx, .LC1[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ud_graph_init
	mov	QWORD PTR -16[rbp], rax
.L47:
	lea	rcx, -48[rbp]
	lea	rdx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 3
	jne	.L50
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ud_graph_add_edge
	cmp	DWORD PTR -44[rbp], 3
	je	.L47
	jmp	.L46
.L50:
	nop
.L46:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ud_graph_has_cycle
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.8, @object
	.size	__PRETTY_FUNCTION__.8, 17
__PRETTY_FUNCTION__.8:
	.string	"vertex_node_init"
	.align 16
	.type	__PRETTY_FUNCTION__.7, @object
	.size	__PRETTY_FUNCTION__.7, 17
__PRETTY_FUNCTION__.7:
	.string	"vertex_list_init"
	.align 16
	.type	__PRETTY_FUNCTION__.6, @object
	.size	__PRETTY_FUNCTION__.6, 23
__PRETTY_FUNCTION__.6:
	.string	"vertex_list_push_front"
	.align 16
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 17
__PRETTY_FUNCTION__.5:
	.string	"vertex_list_free"
	.align 8
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 14
__PRETTY_FUNCTION__.4:
	.string	"ud_graph_init"
	.align 16
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 18
__PRETTY_FUNCTION__.3:
	.string	"ud_graph_add_edge"
	.align 16
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 25
__PRETTY_FUNCTION__.2:
	.string	"ud_graph_has_cycle_impl_"
	.align 16
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 19
__PRETTY_FUNCTION__.1:
	.string	"ud_graph_has_cycle"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"61262.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Fatal error\000"
	.align	2
.LC1:
	.ascii	"%s: at line %d of %s in function %s\012Memory exhau"
	.ascii	"sted, cannot allocate enough memory of total size: "
	.ascii	"%lu\012\000"
	.align	2
.LC2:
	.ascii	"the_stack_data/61262.c\000"
	.text
	.align	2
	.global	vertex_node_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	vertex_node_init, %function
vertex_node_init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4
	ldr	r0, [r3]
	mov	r3, #12
	str	r3, [sp, #8]
	ldr	r3, .L4+4
	str	r3, [sp, #4]
	ldr	r3, .L4+8
	str	r3, [sp]
	mov	r3, #80
	ldr	r2, .L4+12
	ldr	r1, .L4+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5408
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	vertex_node_init, .-vertex_node_init
	.align	2
	.global	vertex_node_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	vertex_node_free, %function
vertex_node_free:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	vertex_node_free, .-vertex_node_free
	.align	2
	.global	vertex_list_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	vertex_list_init, %function
vertex_list_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L10
	ldr	r0, [r3]
	mov	r3, #12
	str	r3, [sp, #8]
	ldr	r3, .L10+4
	str	r3, [sp, #4]
	ldr	r3, .L10+8
	str	r3, [sp]
	mov	r3, #98
	ldr	r2, .L10+12
	ldr	r1, .L10+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5420
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	vertex_list_init, .-vertex_list_init
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Assertion (list) failed\000"
	.align	2
.LC4:
	.ascii	"%s: at line %d of %s in function %s\012\000"
	.align	2
.LC5:
	.ascii	"Assertion (node) failed\000"
	.text
	.align	2
	.global	vertex_list_push_front
	.syntax unified
	.arm
	.fpu softvfp
	.type	vertex_list_push_front, %function
vertex_list_push_front:
	@ args = 0, pretend = 0, frame = 8
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L17
	ldr	r0, [r3]
	ldr	r3, .L17+4
	str	r3, [sp, #4]
	ldr	r3, .L17+8
	str	r3, [sp]
	mov	r3, #103
	ldr	r2, .L17+12
	ldr	r1, .L17+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L17
	ldr	r0, [r3]
	ldr	r3, .L17+4
	str	r3, [sp, #4]
	ldr	r3, .L17+8
	str	r3, [sp]
	mov	r3, #104
	ldr	r2, .L17+20
	ldr	r1, .L17+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r1, r3, #1
	ldr	r2, [fp, #-8]
	str	r1, [r2, #8]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	b	.L12
.L15:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5425
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	vertex_list_push_front, .-vertex_list_push_front
	.align	2
	.global	vertex_list_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	vertex_list_free, %function
vertex_list_free:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L23
	ldr	r0, [r3]
	ldr	r3, .L23+4
	str	r3, [sp, #4]
	ldr	r3, .L23+8
	str	r3, [sp]
	mov	r3, #118
	ldr	r2, .L23+12
	ldr	r1, .L23+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L21
.L22:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	vertex_node_free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L22
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5431
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	vertex_list_free, .-vertex_list_free
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Assertion (size) failed\000"
	.text
	.align	2
	.global	ud_graph_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	ud_graph_init, %function
ud_graph_init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L32
	ldr	r0, [r3]
	ldr	r3, .L32+4
	str	r3, [sp, #4]
	ldr	r3, .L32+8
	str	r3, [sp]
	mov	r3, #139
	ldr	r2, .L32+12
	ldr	r1, .L32+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L26:
	mov	r1, #8
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L32
	ldr	r0, [r3]
	mov	r3, #8
	str	r3, [sp, #8]
	ldr	r3, .L32+4
	str	r3, [sp, #4]
	ldr	r3, .L32+8
	str	r3, [sp]
	mov	r3, #140
	ldr	r2, .L32+20
	ldr	r1, .L32+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L27:
	mov	r1, #4
	ldr	r0, [fp, #-24]
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L28
	ldr	r3, .L32
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	str	r3, [sp, #8]
	ldr	r3, .L32+4
	str	r3, [sp, #4]
	ldr	r3, .L32+8
	str	r3, [sp]
	mov	r3, #142
	ldr	r2, .L32+20
	ldr	r1, .L32+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L28:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L29
.L30:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	bl	vertex_list_init
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L29:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L30
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5444
	.word	.LC2
	.word	.LC6
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.size	ud_graph_init, .-ud_graph_init
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Assertion (graph) failed\000"
	.align	2
.LC8:
	.ascii	"Assertion (first != second) failed\000"
	.text
	.align	2
	.global	ud_graph_add_edge
	.syntax unified
	.arm
	.fpu softvfp
	.type	ud_graph_add_edge, %function
ud_graph_add_edge:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L37
	ldr	r0, [r3]
	ldr	r3, .L37+4
	str	r3, [sp, #4]
	ldr	r3, .L37+8
	str	r3, [sp]
	mov	r3, #154
	ldr	r2, .L37+12
	ldr	r1, .L37+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L35:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L36
	ldr	r3, .L37
	ldr	r0, [r3]
	ldr	r3, .L37+4
	str	r3, [sp, #4]
	ldr	r3, .L37+8
	str	r3, [sp]
	mov	r3, #155
	ldr	r2, .L37+20
	ldr	r1, .L37+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L36:
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	vertex_node_init
	str	r0, [fp, #-12]
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	vertex_node_init
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	vertex_list_push_front
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	vertex_list_push_front
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5455
	.word	.LC2
	.word	.LC7
	.word	.LC4
	.word	.LC8
	.size	ud_graph_add_edge, .-ud_graph_add_edge
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Assertion (visited) failed\000"
	.text
	.align	2
	.global	ud_graph_has_cycle_impl_
	.syntax unified
	.arm
	.fpu softvfp
	.type	ud_graph_has_cycle_impl_, %function
ud_graph_has_cycle_impl_:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L47
	ldr	r0, [r3]
	ldr	r3, .L47+4
	str	r3, [sp, #4]
	ldr	r3, .L47+8
	str	r3, [sp]
	mov	r3, #168
	ldr	r2, .L47+12
	ldr	r1, .L47+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L40:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L47
	ldr	r0, [r3]
	ldr	r3, .L47+4
	str	r3, [sp, #4]
	ldr	r3, .L47+8
	str	r3, [sp]
	mov	r3, #169
	ldr	r2, .L47+20
	ldr	r1, .L47+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L41:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L46:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-12]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	ud_graph_has_cycle_impl_
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	mov	r3, #1
	b	.L45
.L43:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	beq	.L44
	mov	r3, #1
	b	.L45
.L44:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L46
	mov	r3, #0
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5464
	.word	.LC2
	.word	.LC7
	.word	.LC4
	.word	.LC9
	.size	ud_graph_has_cycle_impl_, .-ud_graph_has_cycle_impl_
	.align	2
	.global	ud_graph_has_cycle
	.syntax unified
	.arm
	.fpu softvfp
	.type	ud_graph_has_cycle, %function
ud_graph_has_cycle:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L57
	ldr	r0, [r3]
	ldr	r3, .L57+4
	str	r3, [sp, #4]
	ldr	r3, .L57+8
	str	r3, [sp]
	mov	r3, #193
	ldr	r2, .L57+12
	ldr	r1, .L57+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L50:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L57
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [sp, #8]
	ldr	r3, .L57+4
	str	r3, [sp, #4]
	ldr	r3, .L57+8
	str	r3, [sp]
	mov	r3, #194
	ldr	r2, .L57+20
	ldr	r1, .L57+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L51:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L52
.L55:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
	mvn	r3, #0
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	ud_graph_has_cycle_impl_
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L54
.L53:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L52:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L55
	nop
.L54:
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	stderr
	.word	__PRETTY_FUNCTION__.5474
	.word	.LC2
	.word	.LC7
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.size	ud_graph_has_cycle, .-ud_graph_has_cycle
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%lu\000"
	.align	2
.LC11:
	.ascii	"%s: at line %d of %s in function %s\012Invalid inpu"
	.ascii	"t\012\000"
	.align	2
.LC12:
	.ascii	"%lu %lu %d\000"
	.align	2
.LC13:
	.ascii	"%d\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L67+4
	bl	__isoc99_scanf
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L60
	ldr	r3, .L67+8
	ldr	r0, [r3]
	ldr	r3, .L67+12
	str	r3, [sp, #4]
	ldr	r3, .L67+16
	str	r3, [sp]
	mov	r3, #215
	ldr	r2, .L67+20
	ldr	r1, .L67+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	ud_graph_init
	str	r0, [fp, #-12]
.L63:
	sub	r3, fp, #20
	sub	r2, fp, #24
	sub	r1, fp, #28
	ldr	r0, .L67+28
	bl	__isoc99_scanf
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L66
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	ud_graph_add_edge
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L63
	b	.L62
.L66:
	nop
.L62:
	ldr	r0, [fp, #-12]
	bl	ud_graph_has_cycle
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L67+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L67
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC14
	.word	.LC10
	.word	stderr
	.word	__PRETTY_FUNCTION__.5487
	.word	.LC2
	.word	.LC0
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5408, %object
	.size	__PRETTY_FUNCTION__.5408, 17
__PRETTY_FUNCTION__.5408:
	.ascii	"vertex_node_init\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5420, %object
	.size	__PRETTY_FUNCTION__.5420, 17
__PRETTY_FUNCTION__.5420:
	.ascii	"vertex_list_init\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5425, %object
	.size	__PRETTY_FUNCTION__.5425, 23
__PRETTY_FUNCTION__.5425:
	.ascii	"vertex_list_push_front\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5431, %object
	.size	__PRETTY_FUNCTION__.5431, 17
__PRETTY_FUNCTION__.5431:
	.ascii	"vertex_list_free\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5444, %object
	.size	__PRETTY_FUNCTION__.5444, 14
__PRETTY_FUNCTION__.5444:
	.ascii	"ud_graph_init\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5455, %object
	.size	__PRETTY_FUNCTION__.5455, 18
__PRETTY_FUNCTION__.5455:
	.ascii	"ud_graph_add_edge\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5464, %object
	.size	__PRETTY_FUNCTION__.5464, 25
__PRETTY_FUNCTION__.5464:
	.ascii	"ud_graph_has_cycle_impl_\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5474, %object
	.size	__PRETTY_FUNCTION__.5474, 19
__PRETTY_FUNCTION__.5474:
	.ascii	"ud_graph_has_cycle\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5487, %object
	.size	__PRETTY_FUNCTION__.5487, 5
__PRETTY_FUNCTION__.5487:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
