	.file	"864688.c"
	.intel_syntax noprefix
	.text
	.globl	graph_alloc
	.type	graph_alloc, @function
graph_alloc:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 64
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -64[rbp], 0
	jmp	.L2
.L3:
	mov	edi, 512
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	QWORD PTR 16[rax], 32
	mov	QWORD PTR 24[rax], 0
	add	QWORD PTR -64[rbp], 1
.L2:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jb	.L3
	mov	r12, QWORD PTR -72[rbp]
	mov	r13, QWORD PTR -80[rbp]
	mov	rax, r12
	mov	rdx, r13
	add	rsp, 64
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	graph_alloc, .-graph_alloc
	.section	.rodata
.LC0:
	.string	"the_stack_data/864688.c"
.LC1:
	.string	"G != NULL"
	.text
	.globl	graph_free
	.type	graph_free, @function
graph_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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.7[rip]
	mov	edx, 112
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L6:
	mov	QWORD PTR -8[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	graph_free, .-graph_free
	.globl	insert_edge
	.type	insert_edge, @function
insert_edge:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	eax, r8d
	mov	BYTE PTR -40[rbp], al
	cmp	QWORD PTR -24[rbp], 0
	jne	.L10
	lea	rcx, __PRETTY_FUNCTION__.6[rip]
	mov	edx, 118
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rdx], rcx
	sal	rax, 4
	add	rax, rsi
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, edx
	and	ecx, 2147483647
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR 8[rax], 0
	and	ecx, 2147483647
	mov	edx, DWORD PTR 12[rax]
	and	edx, -2147483648
	or	edx, ecx
	mov	DWORD PTR 12[rax], edx
	movzx	edx, BYTE PTR -40[rbp]
	mov	ecx, edx
	sal	ecx, 7
	movzx	edx, BYTE PTR 15[rax]
	and	edx, 127
	or	edx, ecx
	mov	BYTE PTR 15[rax], dl
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rdx], rax
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert_edge, .-insert_edge
	.globl	queue_alloc
	.type	queue_alloc, @function
queue_alloc:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	queue_alloc, .-queue_alloc
	.section	.rodata
.LC2:
	.string	"Q != NULL"
	.align 8
.LC3:
	.string	"Q->head != (Q->tail+1) % Q->capacity"
	.text
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L16
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 138
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 24[rax]
	mov	rax, rdx
	mov	edx, 0
	div	rsi
	mov	rax, rdx
	cmp	rcx, rax
	jne	.L17
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 139
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, rdx
	mov	edx, 0
	div	rcx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	enqueue, .-enqueue
	.section	.rodata
.LC4:
	.string	"!queue_is_empty(Q)"
	.text
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 146
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	queue_is_empty
	xor	eax, 1
	test	al, al
	jne	.L20
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 147
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, rdx
	mov	edx, 0
	div	rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	dequeue, .-dequeue
	.globl	queue_is_empty
	.type	queue_is_empty, @function
queue_is_empty:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 156
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	sete	al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	queue_is_empty, .-queue_is_empty
	.globl	queue_clear
	.type	queue_clear, @function
queue_clear:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	queue_clear, .-queue_clear
	.globl	min
	.type	min, @function
min:
.LFB14:
	.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	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jnb	.L27
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -8[rbp]
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	min, .-min
	.globl	max
	.type	max, @function
max:
.LFB15:
	.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	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jbe	.L30
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L31
.L30:
	mov	eax, DWORD PTR -8[rbp]
.L31:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	max, .-max
	.globl	edmonds_karp
	.type	edmonds_karp, @function
edmonds_karp:
.LFB16:
	.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, 184
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	DWORD PTR -160[rbp], edx
	mov	QWORD PTR -168[rbp], rcx
	mov	QWORD PTR -176[rbp], r8
	mov	QWORD PTR -184[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L33
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 178
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L33:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR 8[rax]
	lea	rax, -64[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	queue_alloc
.L47:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	queue_clear
	mov	edx, DWORD PTR -156[rbp]
	lea	rax, -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	enqueue
	mov	eax, DWORD PTR -156[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	mov	edx, DWORD PTR -156[rbp]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	jmp	.L34
.L42:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	dequeue
	mov	DWORD PTR -124[rbp], eax
	mov	QWORD PTR -112[rbp], 0
	jmp	.L35
.L41:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 4
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR 15[rax]
	and	eax, -128
	test	al, al
	je	.L36
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -136[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 12[rax]
	and	eax, 2147483647
	mov	ecx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -132[rbp], eax
	jmp	.L37
.L36:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -136[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -132[rbp], eax
.L37:
	cmp	DWORD PTR -132[rbp], 0
	je	.L38
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L38
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	sal	rax, 5
	add	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -124[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -136[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rbx, [rcx+rdx]
	mov	edx, DWORD PTR -132[rbp]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	je	.L54
	mov	edx, DWORD PTR -136[rbp]
	lea	rax, -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	enqueue
.L38:
	add	QWORD PTR -112[rbp], 1
.L35:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -112[rbp], rax
	jb	.L41
.L34:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	queue_is_empty
	xor	eax, 1
	test	al, al
	jne	.L42
	jmp	.L40
.L54:
	nop
.L40:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -120[rbp], rax
	jmp	.L43
.L46:
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, BYTE PTR 15[rax]
	and	eax, -128
	test	al, al
	je	.L44
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -160[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	mov	QWORD PTR -104[rbp], rax
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edx, DWORD PTR -160[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -184[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR [rdx]
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	mov	QWORD PTR -104[rbp], rax
.L45:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -120[rbp], rax
.L43:
	cmp	QWORD PTR -120[rbp], 0
	jne	.L46
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L47
	mov	DWORD PTR -128[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	jmp	.L48
.L51:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -156[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -96[rbp]
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movzx	eax, BYTE PTR -65[rbp]
	and	eax, -128
	test	al, al
	je	.L49
	mov	eax, DWORD PTR -72[rbp]
	jmp	.L50
.L49:
	mov	eax, DWORD PTR -72[rbp]
	neg	eax
.L50:
	mov	edx, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	add	QWORD PTR -96[rbp], 1
.L48:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -156[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -96[rbp], rax
	jb	.L51
	mov	eax, DWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	edmonds_karp, .-edmonds_karp
	.globl	insert_flow_edge
	.type	insert_flow_edge, @function
insert_flow_edge:
.LFB17:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	cmp	QWORD PTR -8[rbp], 0
	jne	.L56
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 250
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L56:
	cmp	DWORD PTR -20[rbp], 0
	je	.L59
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 1
	mov	rdi, rax
	call	insert_edge
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 0
	mov	rdi, rax
	call	insert_edge
	jmp	.L55
.L59:
	nop
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	insert_flow_edge, .-insert_flow_edge
	.globl	swap_platform
	.type	swap_platform, @function
swap_platform:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -48[rbp], rdi
	mov	QWORD PTR -56[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -32[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	edx, DWORD PTR 24[rdx]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR 24[rax], edx
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	swap_platform, .-swap_platform
	.globl	lessxy
	.type	lessxy, @function
lessxy:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR 16[rbp]
	mov	eax, DWORD PTR 48[rbp]
	cmp	edx, eax
	jl	.L62
	mov	edx, DWORD PTR 16[rbp]
	mov	eax, DWORD PTR 48[rbp]
	cmp	edx, eax
	jne	.L63
	mov	edx, DWORD PTR 20[rbp]
	mov	eax, DWORD PTR 52[rbp]
	cmp	edx, eax
	jge	.L63
.L62:
	mov	eax, 1
	jmp	.L64
.L63:
	mov	eax, 0
.L64:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	lessxy, .-lessxy
	.globl	lessy
	.type	lessy, @function
lessy:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR 20[rbp]
	mov	eax, DWORD PTR 52[rbp]
	cmp	edx, eax
	setl	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	lessy, .-lessy
	.globl	partition
	.type	partition, @function
partition:
.LFB21:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	call	rand@PLT
	mov	edx, DWORD PTR -80[rbp]
	sub	edx, DWORD PTR -76[rbp]
	lea	ecx, 1[rdx]
	cdq
	idiv	ecx
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap_platform
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L69
.L71:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	je	.L80
.L69:
	add	DWORD PTR -60[rbp], 1
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	sub	rsp, 32
	mov	rdx, rsp
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rdx], rcx
	mov	ecx, DWORD PTR -24[rbp]
	mov	DWORD PTR 24[rdx], ecx
	sub	rsp, 32
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR 24[rdx], eax
	mov	rax, QWORD PTR -88[rbp]
	call	rax
	add	rsp, 64
	test	al, al
	jne	.L71
	jmp	.L72
.L80:
	nop
	jmp	.L72
.L74:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	je	.L81
.L72:
	sub	DWORD PTR -56[rbp], 1
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	sub	rsp, 32
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR 24[rdx], eax
	sub	rsp, 32
	mov	rax, rsp
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	call	rax
	add	rsp, 64
	test	al, al
	jne	.L74
	jmp	.L73
.L81:
	nop
.L73:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jge	.L82
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap_platform
	jmp	.L69
.L82:
	nop
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swap_platform
	mov	eax, DWORD PTR -56[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	partition, .-partition
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB22:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	cmp	eax, 16
	jle	.L85
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	partition
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edi, -1[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, edi
	mov	rdi, rax
	call	quicksort
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, 1[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	quicksort
.L85:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	quicksort, .-quicksort
	.globl	insertion_sort
	.type	insertion_sort, @function
insertion_sort:
.LFB23:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -64[rbp], 1
	jmp	.L87
.L91:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L88
.L90:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, -28[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	edx, DWORD PTR 24[rdx]
	mov	DWORD PTR 24[rax], edx
	sub	QWORD PTR -56[rbp], 1
.L88:
	cmp	QWORD PTR -56[rbp], 0
	je	.L89
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, -28[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	sub	rsp, 32
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR 24[rdx], eax
	sub	rsp, 32
	mov	rax, rsp
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	call	rax
	add	rsp, 64
	test	al, al
	jne	.L90
.L89:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 24[rax], edx
	add	QWORD PTR -64[rbp], 1
.L87:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jb	.L91
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	insertion_sort, .-insertion_sort
	.globl	sort
	.type	sort, @function
sort:
.LFB24:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	lea	esi, -1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, esi
	mov	esi, 0
	mov	rdi, rax
	call	quicksort
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertion_sort
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	sort, .-sort
	.section	.rodata
.LC5:
	.string	"slopes != NULL"
	.text
	.globl	update_slope_count
	.type	update_slope_count, @function
update_slope_count:
.LFB25:
	.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	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L94
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 333
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L94:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 0
	div	DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], edx
.L99:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L95
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, 0
	jmp	.L96
.L95:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L97
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jbe	.L98
	mov	eax, 1
	jmp	.L96
.L98:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	mov	eax, 0
	jmp	.L96
.L97:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	div	DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], edx
	jmp	.L99
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	update_slope_count, .-update_slope_count
	.globl	next_prime
	.type	next_prime, @function
next_prime:
.LFB26:
	.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	DWORD PTR -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -16[rbp], eax
.L112:
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 1
	test	eax, eax
	je	.L114
	mov	BYTE PTR -17[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	test	rax, rax
	js	.L103
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movq	rax, xmm2
	jmp	.L104
.L103:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
	movq	rax, xmm0
.L104:
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 3
	jmp	.L105
.L110:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 0
	div	DWORD PTR -12[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L106
	mov	BYTE PTR -17[rbp], 0
	jmp	.L107
.L106:
	add	DWORD PTR -12[rbp], 2
.L105:
	mov	eax, DWORD PTR -12[rbp]
	test	rax, rax
	js	.L108
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L109
.L108:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L109:
	movsd	xmm1, QWORD PTR -8[rbp]
	comisd	xmm1, xmm0
	jnb	.L110
.L107:
	cmp	BYTE PTR -17[rbp], 0
	je	.L102
	mov	eax, DWORD PTR -16[rbp]
	jmp	.L113
.L114:
	nop
.L102:
	add	DWORD PTR -16[rbp], 1
	jmp	.L112
.L113:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	next_prime, .-next_prime
	.globl	ccw
	.type	ccw, @function
ccw:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	sub	edx, eax
	mov	ecx, edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, esi
	imul	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	sub	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, DWORD PTR [rax]
	mov	eax, ecx
	sub	eax, edi
	imul	esi, eax
	mov	ecx, esi
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	ccw, .-ccw
	.globl	convex_hull
	.type	convex_hull, @function
convex_hull:
.LFB28:
	.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, 64
	.cfi_offset 3, -24
	mov	QWORD PTR -48[rbp], rdi
	mov	QWORD PTR -56[rbp], rsi
	mov	QWORD PTR -64[rbp], rdx
	mov	QWORD PTR -72[rbp], rcx
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	jmp	.L118
.L121:
	sub	QWORD PTR -40[rbp], 1
.L119:
	cmp	QWORD PTR -40[rbp], 1
	jbe	.L120
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	lea	rcx, -28[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	lea	rsi, -56[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	ccw
	test	eax, eax
	jle	.L121
.L120:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR -40[rbp]
	lea	rax, 1[rcx]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	edx, DWORD PTR 24[rdx]
	mov	DWORD PTR 24[rax], edx
	add	QWORD PTR -32[rbp], 1
.L118:
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jl	.L119
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 2
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	QWORD PTR -16[rbp], rax
	jmp	.L123
.L126:
	sub	QWORD PTR -40[rbp], 1
.L124:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jb	.L125
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	lea	rcx, -28[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	lea	rsi, -56[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	ccw
	test	eax, eax
	jle	.L126
.L125:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR -40[rbp]
	lea	rax, 1[rcx]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	edx, DWORD PTR 24[rdx]
	mov	DWORD PTR 24[rax], edx
	sub	QWORD PTR -32[rbp], 1
.L123:
	cmp	QWORD PTR -32[rbp], 0
	jns	.L124
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	convex_hull, .-convex_hull
	.section	.rodata
.LC6:
	.string	"%d"
.LC7:
	.string	"%d %d %u %u %u %u"
.LC8:
	.string	"%u\n"
	.align 8
.LC10:
	.string	"IN: %4.2f, A1: %5.2f, A2: %5.2f, A3: %6.2f, A4: %3.2f, FLOW: %4.2f, TOTAL: %6.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB29:
	.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, 488
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -240[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 42
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -484[rbp]
	lea	rax, -80[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edx, DWORD PTR -484[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	mov	edi, eax
	call	next_prime
	mov	DWORD PTR -456[rbp], eax
	mov	eax, DWORD PTR -484[rbp]
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -376[rbp], rax
	mov	edx, DWORD PTR -484[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	eax, eax
	sal	rax, 5
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -368[rbp], rax
	mov	eax, DWORD PTR -456[rbp]
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	eax, DWORD PTR -456[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -352[rbp], rax
	mov	edx, DWORD PTR -484[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -344[rbp], rax
	mov	eax, DWORD PTR -484[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -448[rbp], rax
	mov	edx, DWORD PTR -484[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	graph_alloc
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], rdx
	mov	DWORD PTR -476[rbp], 0
	jmp	.L129
.L130:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 42
	mov	rdi, rax
	call	fgets@PLT
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	lea	rdi, 24[rax]
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	lea	rsi, 20[rax]
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	lea	r9, 16[rax]
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	lea	r8, 12[rax]
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	ecx, DWORD PTR -476[rbp]
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rcx
	mov	r10, rax
	lea	rax, -80[rbp]
	push	rdi
	push	rsi
	mov	rcx, rdx
	mov	rdx, r10
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 16
	mov	edx, DWORD PTR -476[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -476[rbp]
	mov	DWORD PTR 8[rdx], eax
	add	DWORD PTR -476[rbp], 1
.L129:
	mov	eax, DWORD PTR -484[rbp]
	cmp	DWORD PTR -476[rbp], eax
	jb	.L130
	lea	rax, -224[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -484[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -376[rbp]
	lea	rdx, lessy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	sort
	mov	QWORD PTR -432[rbp], 0
	jmp	.L131
.L135:
	mov	rdx, QWORD PTR -432[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	test	eax, eax
	je	.L132
	mov	rax, QWORD PTR -432[rbp]
	add	rax, 1
	mov	QWORD PTR -424[rbp], rax
	jmp	.L133
.L134:
	mov	ecx, DWORD PTR -100[rbp]
	mov	rdx, QWORD PTR -424[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	mov	esi, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -484[rbp]
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
	mov	rdx, QWORD PTR -424[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 12[rax]
	mov	edx, DWORD PTR -104[rbp]
	mov	rsi, QWORD PTR -424[rbp]
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -484[rbp]
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
	add	QWORD PTR -424[rbp], 1
.L133:
	mov	eax, DWORD PTR -484[rbp]
	mov	eax, eax
	cmp	QWORD PTR -424[rbp], rax
	jnb	.L132
	mov	rdx, QWORD PTR -424[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -108[rbp]
	cmp	edx, eax
	je	.L134
.L132:
	add	QWORD PTR -432[rbp], 1
.L131:
	mov	eax, DWORD PTR -484[rbp]
	mov	eax, eax
	cmp	QWORD PTR -432[rbp], rax
	jb	.L135
	mov	eax, DWORD PTR -484[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -376[rbp]
	lea	rdx, lessxy[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	sort
	mov	QWORD PTR -416[rbp], 0
	jmp	.L136
.L140:
	mov	rdx, QWORD PTR -416[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	test	eax, eax
	je	.L137
	mov	rax, QWORD PTR -416[rbp]
	add	rax, 1
	mov	QWORD PTR -408[rbp], rax
	jmp	.L138
.L139:
	mov	ecx, DWORD PTR -100[rbp]
	mov	rdx, QWORD PTR -408[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	mov	esi, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -484[rbp]
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
	mov	rdx, QWORD PTR -408[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 12[rax]
	mov	edx, DWORD PTR -104[rbp]
	mov	rsi, QWORD PTR -408[rbp]
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -484[rbp]
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
	add	QWORD PTR -408[rbp], 1
.L138:
	mov	eax, DWORD PTR -484[rbp]
	mov	eax, eax
	cmp	QWORD PTR -408[rbp], rax
	jnb	.L137
	mov	rdx, QWORD PTR -408[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	cmp	edx, eax
	je	.L139
.L137:
	add	QWORD PTR -416[rbp], 1
.L136:
	mov	eax, DWORD PTR -484[rbp]
	mov	eax, eax
	cmp	QWORD PTR -416[rbp], rax
	jb	.L140
	lea	rax, -208[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -484[rbp]
	mov	esi, eax
	lea	rcx, -440[rbp]
	lea	rdx, -448[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	convex_hull
	mov	QWORD PTR -400[rbp], 0
	jmp	.L141
.L149:
	mov	rdx, QWORD PTR -400[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -136[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -128[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -120[rbp], eax
	mov	DWORD PTR -472[rbp], -1
	mov	QWORD PTR -392[rbp], 0
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	je	.L142
	mov	QWORD PTR -384[rbp], 0
	jmp	.L143
.L148:
	mov	rcx, QWORD PTR -448[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -104[rbp]
	cmp	edx, eax
	je	.L161
	mov	eax, DWORD PTR -144[rbp]
	mov	edx, DWORD PTR -112[rbp]
	sub	eax, edx
	cdqe
	mov	QWORD PTR -264[rbp], rax
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, DWORD PTR -108[rbp]
	sub	eax, edx
	cdqe
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	imul	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -256[rbp]
	imul	rax, rax
	add	rax, rdx
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -248[rbp]
	cmp	rax, QWORD PTR -392[rbp]
	jg	.L146
	mov	rax, QWORD PTR -248[rbp]
	cmp	rax, QWORD PTR -392[rbp]
	jne	.L145
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -472[rbp], eax
	jbe	.L145
.L146:
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -472[rbp], eax
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR -392[rbp], rax
	jmp	.L145
.L161:
	nop
.L145:
	add	QWORD PTR -384[rbp], 1
.L143:
	mov	rax, QWORD PTR -440[rbp]
	cmp	QWORD PTR -384[rbp], rax
	jb	.L148
	mov	ecx, DWORD PTR -128[rbp]
	mov	esi, DWORD PTR -136[rbp]
	mov	edx, DWORD PTR -472[rbp]
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
.L142:
	add	QWORD PTR -400[rbp], 1
.L141:
	mov	eax, DWORD PTR -484[rbp]
	mov	eax, eax
	cmp	QWORD PTR -400[rbp], rax
	jb	.L149
	lea	rax, -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -468[rbp], 0
	jmp	.L150
.L156:
	mov	edx, DWORD PTR -468[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -136[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -128[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	je	.L162
	mov	eax, DWORD PTR -468[rbp]
	add	eax, 1
	mov	DWORD PTR -464[rbp], eax
	jmp	.L153
.L155:
	mov	edx, DWORD PTR -464[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	mov	edx, DWORD PTR -112[rbp]
	sub	eax, edx
	cdqe
	mov	QWORD PTR -280[rbp], rax
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, DWORD PTR -108[rbp]
	sub	eax, edx
	cdqe
	mov	QWORD PTR -272[rbp], rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -272[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, QWORD PTR -280[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -480[rbp], xmm0
	mov	eax, DWORD PTR -480[rbp]
	mov	DWORD PTR -176[rbp], eax
	mov	ecx, DWORD PTR -176[rbp]
	mov	edx, DWORD PTR -456[rbp]
	mov	rsi, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	update_slope_count
	test	al, al
	je	.L154
	mov	ecx, DWORD PTR -124[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	esi, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -484[rbp]
	add	eax, eax
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -484[rbp]
	add	eax, eax
	add	esi, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	insert_flow_edge
.L154:
	add	DWORD PTR -464[rbp], 1
.L153:
	mov	eax, DWORD PTR -484[rbp]
	cmp	DWORD PTR -464[rbp], eax
	jb	.L155
	mov	edx, DWORD PTR -456[rbp]
	mov	rax, QWORD PTR -352[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L152
.L162:
	nop
.L152:
	add	DWORD PTR -468[rbp], 1
.L150:
	mov	eax, DWORD PTR -484[rbp]
	cmp	DWORD PTR -468[rbp], eax
	jb	.L156
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -460[rbp], 0
	jmp	.L157
.L158:
	mov	edx, DWORD PTR -460[rbp]
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -376[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	edx, DWORD PTR -100[rbp]
	mov	ecx, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -484[rbp]
	lea	edi, [rcx+rax]
	mov	esi, DWORD PTR -104[rbp]
	lea	rax, -160[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	insert_flow_edge
	mov	edx, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -484[rbp]
	add	eax, eax
	lea	edi, [rcx+rax]
	mov	esi, DWORD PTR -104[rbp]
	lea	rax, -160[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	insert_flow_edge
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -484[rbp]
	lea	edi, -1[rax]
	mov	esi, DWORD PTR -104[rbp]
	lea	rax, -160[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	insert_flow_edge
	add	DWORD PTR -460[rbp], 1
.L157:
	mov	eax, DWORD PTR -484[rbp]
	cmp	DWORD PTR -460[rbp], eax
	jb	.L158
	lea	rax, -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -484[rbp]
	lea	esi, -1[rax]
	mov	rdi, QWORD PTR -344[rbp]
	mov	rcx, QWORD PTR -352[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	lea	rax, -160[rbp]
	mov	r9, rdi
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, esi
	mov	esi, 0
	mov	rdi, rax
	call	edmonds_karp
	mov	DWORD PTR -452[rbp], eax
	mov	eax, DWORD PTR -452[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -352[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rax, -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	graph_free
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -240[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -336[rbp], xmm0
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR -224[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -200[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -328[rbp], xmm0
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -208[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -200[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -320[rbp], xmm0
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -192[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -312[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -176[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -304[rbp], xmm0
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -296[rbp], xmm0
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -240[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -288[rbp], xmm0
	movsd	xmm5, QWORD PTR -288[rbp]
	movsd	xmm4, QWORD PTR -296[rbp]
	movsd	xmm3, QWORD PTR -304[rbp]
	movsd	xmm2, QWORD PTR -312[rbp]
	movsd	xmm1, QWORD PTR -320[rbp]
	movsd	xmm0, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR -336[rbp]
	movapd	xmm6, xmm5
	movapd	xmm5, xmm4
	movapd	xmm4, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 7
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L160
	call	__stack_chk_fail@PLT
.L160:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.7, @object
	.size	__PRETTY_FUNCTION__.7, 11
__PRETTY_FUNCTION__.7:
	.string	"graph_free"
	.align 8
	.type	__PRETTY_FUNCTION__.6, @object
	.size	__PRETTY_FUNCTION__.6, 12
__PRETTY_FUNCTION__.6:
	.string	"insert_edge"
	.align 8
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 8
__PRETTY_FUNCTION__.5:
	.string	"enqueue"
	.align 8
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 8
__PRETTY_FUNCTION__.4:
	.string	"dequeue"
	.align 8
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 15
__PRETTY_FUNCTION__.3:
	.string	"queue_is_empty"
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 13
__PRETTY_FUNCTION__.2:
	.string	"edmonds_karp"
	.align 16
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 17
__PRETTY_FUNCTION__.1:
	.string	"insert_flow_edge"
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 19
__PRETTY_FUNCTION__.0:
	.string	"update_slope_count"
	.align 8
.LC9:
	.long	0
	.long	1083129856
	.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	"864688.c"
	.text
	.align	2
	.global	graph_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	graph_alloc, %function
graph_alloc:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L3:
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	mov	r2, #32
	str	r2, [r3, #8]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L3
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	graph_alloc, .-graph_alloc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/864688.c\000"
	.align	2
.LC1:
	.ascii	"G != NULL\000"
	.text
	.align	2
	.global	graph_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	graph_free, %function
graph_free:
	@ 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, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L9
	mov	r2, #112
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	__assert_fail
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L8
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	__PRETTY_FUNCTION__.6541
	.word	.LC0
	.word	.LC1
	.size	graph_free, .-graph_free
	.align	2
	.global	insert_edge
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_edge, %function
insert_edge:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L15
	mov	r2, #118
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	add	r0, r3, #1
	ldr	r1, [fp, #-24]
	str	r0, [r1, #12]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	bic	r1, r2, #-2147483648
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #4]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r2, [r3, #12]
	bic	r1, r1, #-2147483648
	and	r2, r2, #-2147483648
	orr	r2, r1, r2
	str	r2, [r3, #12]
	ldrb	r1, [r3, #15]
	ldrb	r2, [fp, #4]
	and	r2, r2, #1
	bic	r1, r1, #128
	lsl	r2, r2, #7
	orr	r2, r2, r1
	mov	r1, r2
	strb	r1, [r3, #15]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	__PRETTY_FUNCTION__.6553
	.word	.LC0
	.word	.LC1
	.size	insert_edge, .-insert_edge
	.align	2
	.global	queue_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_alloc, %function
queue_alloc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #12]
	ldr	r0, [fp, #-24]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	queue_alloc, .-queue_alloc
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Q != NULL\000"
	.global	__aeabi_uidivmod
	.align	2
.LC3:
	.ascii	"Q->head != (Q->tail+1) % Q->capacity\000"
	.text
	.align	2
	.global	enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue, %function
enqueue:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L22
	mov	r2, #138
	ldr	r1, .L22+4
	ldr	r0, .L22+8
	bl	__assert_fail
.L20:
	ldr	r3, [fp, #-16]
	ldr	r4, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r4, r3
	bne	.L21
	ldr	r3, .L22
	mov	r2, #139
	ldr	r1, .L22+4
	ldr	r0, .L22+12
	bl	__assert_fail
.L21:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	__PRETTY_FUNCTION__.6565
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.size	enqueue, .-enqueue
	.section	.rodata
	.align	2
.LC4:
	.ascii	"!queue_is_empty(Q)\000"
	.text
	.align	2
	.global	dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue, %function
dequeue:
	@ 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, [fp, #-16]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L28
	mov	r2, #146
	ldr	r1, .L28+4
	ldr	r0, .L28+8
	bl	__assert_fail
.L25:
	ldr	r0, [fp, #-16]
	bl	queue_is_empty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28
	mov	r2, #147
	ldr	r1, .L28+4
	ldr	r0, .L28+12
	bl	__assert_fail
.L26:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	__PRETTY_FUNCTION__.6569
	.word	.LC0
	.word	.LC2
	.word	.LC4
	.size	dequeue, .-dequeue
	.align	2
	.global	queue_is_empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_is_empty, %function
queue_is_empty:
	@ 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	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L33
	mov	r2, #156
	ldr	r1, .L33+4
	ldr	r0, .L33+8
	bl	__assert_fail
.L31:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	__PRETTY_FUNCTION__.6574
	.word	.LC0
	.word	.LC2
	.size	queue_is_empty, .-queue_is_empty
	.align	2
	.global	queue_clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_clear, %function
queue_clear:
	@ 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]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	queue_clear, .-queue_clear
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ 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	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcs	.L37
	ldr	r3, [fp, #-8]
	b	.L38
.L37:
	ldr	r3, [fp, #-12]
.L38:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L40
	ldr	r3, [fp, #-8]
	b	.L41
.L40:
	ldr	r3, [fp, #-12]
.L41:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max, .-max
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	edmonds_karp
	.syntax unified
	.arm
	.fpu softvfp
	.type	edmonds_karp, %function
edmonds_karp:
	@ args = 8, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-108]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L65+4
	mov	r2, #178
	ldr	r1, .L65+8
	ldr	r0, .L65+12
	bl	__assert_fail
.L43:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #4]
	sub	r3, fp, #48
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	queue_alloc
.L57:
	sub	r3, fp, #48
	mov	r0, r3
	bl	queue_clear
	sub	r3, fp, #48
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	enqueue
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	b	.L44
.L52:
	sub	r3, fp, #48
	mov	r0, r3
	bl	dequeue
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L45
.L51:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	bic	r3, r3, #127
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #12]
	bic	r3, r3, #-2147483648
	mov	r2, r3
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	str	r3, [fp, #-72]
	b	.L47
.L46:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-72]
.L47:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L48
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L48
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r4, r2, r3
	ldr	r1, [fp, #-72]
	bl	min
	mov	r3, r0
	str	r3, [r4]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	beq	.L64
	sub	r3, fp, #48
	ldr	r1, [fp, #-76]
	mov	r0, r3
	bl	enqueue
.L48:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L45:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bcc	.L51
.L44:
	sub	r3, fp, #48
	mov	r0, r3
	bl	queue_is_empty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L52
	b	.L50
.L64:
	nop
.L50:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-84]
	b	.L53
.L56:
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	bic	r3, r3, #127
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-84]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-108]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L55
.L54:
	ldr	r3, [fp, #-84]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-108]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-84]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-68]
.L55:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-84]
.L53:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #4]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-104]
	bl	memset
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L57
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L58
.L61:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	ip, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	bic	r3, r3, #127
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-24]
	b	.L60
.L59:
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
.L60:
	ldr	r2, [fp, #-64]
	add	r3, r3, r2
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L58:
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bcc	.L61
	ldr	r3, [fp, #-64]
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC5
	.word	__PRETTY_FUNCTION__.6594
	.word	.LC0
	.word	.LC1
	.size	edmonds_karp, .-edmonds_karp
	.align	2
	.global	insert_flow_edge
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_flow_edge, %function
insert_flow_edge:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L72
	mov	r2, #250
	ldr	r1, .L72+4
	ldr	r0, .L72+8
	bl	__assert_fail
.L68:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L71
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	insert_edge
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	insert_edge
	b	.L67
.L71:
	nop
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	__PRETTY_FUNCTION__.6627
	.word	.LC0
	.word	.LC1
	.size	insert_flow_edge, .-insert_flow_edge
	.align	2
	.global	swap_platform
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap_platform, %function
swap_platform:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-44]
	mov	lr, r3
	sub	ip, fp, #32
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	swap_platform, .-swap_platform
	.align	2
	.global	lessxy
	.syntax unified
	.arm
	.fpu softvfp
	.type	lessxy, %function
lessxy:
	@ args = 56, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #32]
	cmp	r2, r3
	blt	.L76
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #32]
	cmp	r2, r3
	bne	.L77
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #36]
	cmp	r2, r3
	bge	.L77
.L76:
	mov	r3, #1
	b	.L78
.L77:
	mov	r3, #0
.L78:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
	.size	lessxy, .-lessxy
	.align	2
	.global	lessy
	.syntax unified
	.arm
	.fpu softvfp
	.type	lessy, %function
lessy:
	@ args = 56, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #36]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
	.size	lessy, .-lessy
	.global	__aeabi_idivmod
	.align	2
	.global	partition
	.syntax unified
	.arm
	.fpu softvfp
	.type	partition, %function
partition:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	bl	rand
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r0, r3, r2
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	r1, r3
	bl	swap_platform
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	ip, fp, #40
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	b	.L83
.L85:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	beq	.L94
.L83:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r4, r3, r2
	add	lr, sp, #12
	sub	ip, fp, #40
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	mov	ip, sp
	add	r3, r4, #16
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldm	r4, {r0, r1, r2, r3}
	ldr	r4, [fp, #-68]
	blx	r4
	mov	r3, r0
	cmp	r3, #0
	bne	.L85
	b	.L86
.L94:
	nop
	b	.L86
.L88:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	beq	.L95
.L86:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	add	ip, sp, #12
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	ip, sp
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #40
	ldm	r3, {r0, r1, r2, r3}
	ldr	r4, [fp, #-68]
	blx	r4
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	b	.L87
.L95:
	nop
.L87:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L96
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r0, r3, r2
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	r1, r3
	bl	swap_platform
	b	.L83
.L96:
	nop
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r0, r3, r2
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	r1, r3
	bl	swap_platform
	ldr	r3, [fp, #-48]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	partition, .-partition
	.align	2
	.global	quicksort
	.syntax unified
	.arm
	.fpu softvfp
	.type	quicksort, %function
quicksort:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	cmp	r3, #16
	ble	.L99
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	partition
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	quicksort
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	quicksort
.L99:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	quicksort, .-quicksort
	.align	2
	.global	insertion_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertion_sort, %function
insertion_sort:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L101
.L105:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	sub	ip, fp, #40
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	b	.L102
.L104:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #28
	ldr	r2, [fp, #-56]
	add	r1, r2, r3
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	ip, r3
	mov	lr, r1
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
.L102:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L103
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #28
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	add	ip, sp, #12
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	ip, sp
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #40
	ldm	r3, {r0, r1, r2, r3}
	ldr	r4, [fp, #-64]
	blx	r4
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
.L103:
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	lr, r3
	sub	ip, fp, #40
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L101:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bcc	.L105
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	insertion_sort, .-insertion_sort
	.align	2
	.global	sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort, %function
sort:
	@ 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]
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	quicksort
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	insertion_sort
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sort, .-sort
	.section	.rodata
	.align	2
.LC6:
	.ascii	"slopes != NULL\000"
	.text
	.align	2
	.global	update_slope_count
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_slope_count, %function
update_slope_count:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L114
	ldr	r2, .L114+4
	ldr	r1, .L114+8
	ldr	r0, .L114+12
	bl	__assert_fail
.L108:
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-8]
.L113:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L109
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	mov	r3, #0
	b	.L110
.L109:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L111
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bls	.L112
	mov	r3, #1
	b	.L110
.L112:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	b	.L110
.L111:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	b	.L113
.L110:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	__PRETTY_FUNCTION__.6691
	.word	333
	.word	.LC0
	.word	.LC6
	.size	update_slope_count, .-update_slope_count
	.global	__aeabi_ui2d
	.global	__aeabi_dcmpge
	.align	2
	.global	next_prime
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_prime, %function
next_prime:
	@ 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, [fp, #-32]
	str	r3, [fp, #-20]
.L124:
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L126
	mov	r3, #1
	strb	r3, [fp, #-21]
	ldr	r0, [fp, #-20]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	mov	r3, #3
	str	r3, [fp, #-16]
	b	.L119
.L122:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L120
	mov	r3, #0
	strb	r3, [fp, #-21]
	b	.L121
.L120:
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-16]
.L119:
	ldr	r0, [fp, #-16]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L122
.L121:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L118
	ldr	r3, [fp, #-20]
	b	.L125
.L126:
	nop
.L118:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L124
.L125:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	next_prime, .-next_prime
	.align	2
	.global	ccw
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccw, %function
ccw:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r1, [r2, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	sub	r2, r1, r2
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	sub	r3, r1, r3
	ldr	r1, [fp, #-16]
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	ldr	r1, [r1]
	sub	r1, r0, r1
	mul	r3, r1, r3
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ccw, .-ccw
	.align	2
	.global	convex_hull
	.syntax unified
	.arm
	.fpu softvfp
	.type	convex_hull, %function
convex_hull:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L130
.L133:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
.L131:
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bls	.L132
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #56
	ldr	r2, [fp, #-44]
	add	r0, r2, r3
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #28
	ldr	r2, [fp, #-44]
	add	r1, r2, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	r2, r3
	bl	ccw
	mov	r3, r0
	cmp	r3, #0
	ble	.L133
.L132:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r3, r2
	ldr	r2, [fp, #-48]
	add	r3, r2, #1
	str	r3, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	mov	ip, r3
	mov	lr, r1
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	str	r8, [fp, #-36]
	str	r9, [fp, #-32]
.L130:
	ldr	r3, [fp, #-60]
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L131
	ldr	r3, [fp, #-60]
	mov	r2, r3
	mov	r3, #0
	subs	r6, r2, #2
	sbc	r7, r3, #0
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L135
.L138:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
.L136:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L137
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #56
	ldr	r2, [fp, #-44]
	add	r0, r2, r3
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #28
	ldr	r2, [fp, #-44]
	add	r1, r2, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	mov	r2, r3
	bl	ccw
	mov	r3, r0
	cmp	r3, #0
	ble	.L138
.L137:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r3, r2
	ldr	r2, [fp, #-48]
	add	r3, r2, #1
	str	r3, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	mov	ip, r3
	mov	lr, r1
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
.L135:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L136
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	convex_hull, .-convex_hull
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"%d %d %u %u %u %u\000"
	.global	__aeabi_l2f
	.global	__aeabi_fdiv
	.align	2
.LC9:
	.ascii	"%u\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC10:
	.ascii	"IN: %4.2f, A1: %5.2f, A2: %5.2f, A3: %6.2f, A4: %3."
	.ascii	"2f, FLOW: %4.2f, TOTAL: %6.2f\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #392
	ldr	r3, .L175
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #172
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L175+4
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, #42
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #364
	sub	r3, fp, #68
	ldr	r1, .L175+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r2, [fp, #-364]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	mov	r0, r3
	bl	next_prime
	str	r0, [fp, #-304]
	ldr	r2, [fp, #-364]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-300]
	ldr	r2, [fp, #-364]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-304]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-292]
	mov	r1, #1
	ldr	r0, [fp, #-304]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-288]
	ldr	r2, [fp, #-364]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-364]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-360]
	ldr	r2, [fp, #-364]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	sub	r3, fp, #132
	ldr	r1, [fp, #-296]
	mov	r0, r3
	bl	graph_alloc
	mov	r3, #0
	str	r3, [fp, #-348]
	b	.L141
.L142:
	ldr	r3, .L175+4
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, #42
	mov	r0, r3
	bl	fgets
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	mov	r7, r3
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	add	r6, r3, #4
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	add	r1, r3, #12
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	add	r0, r3, #16
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	add	ip, r3, #20
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	add	r3, r3, #24
	sub	lr, fp, #68
	str	r3, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r6
	mov	r2, r7
	ldr	r1, .L175+12
	mov	r0, lr
	bl	__isoc99_sscanf
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [fp, #-348]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
.L141:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-348]
	cmp	r2, r3
	bcc	.L142
	sub	r3, fp, #164
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-364]
	ldr	r2, .L175+16
	mov	r1, r3
	ldr	r0, [fp, #-300]
	bl	sort
	mov	r3, #0
	str	r3, [fp, #-344]
	b	.L143
.L147:
	ldr	r2, [fp, #-344]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L144
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-340]
	b	.L145
.L146:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-364]
	add	r1, r2, r3
	ldr	r2, [fp, #-340]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-84]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r2, [fp, #-340]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-364]
	add	r1, r2, r3
	ldr	ip, [fp, #-88]
	ldr	r2, [fp, #-340]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r3, [r3, #12]
	sub	r0, fp, #132
	mov	r2, ip
	bl	insert_flow_edge
	ldr	r3, [fp, #-340]
	add	r3, r3, #1
	str	r3, [fp, #-340]
.L145:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-340]
	cmp	r2, r3
	bcs	.L144
	ldr	r2, [fp, #-340]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	beq	.L146
.L144:
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-344]
.L143:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-344]
	cmp	r2, r3
	bcc	.L147
	ldr	r3, [fp, #-364]
	ldr	r2, .L175+20
	mov	r1, r3
	ldr	r0, [fp, #-300]
	bl	sort
	mov	r3, #0
	str	r3, [fp, #-336]
	b	.L148
.L152:
	ldr	r2, [fp, #-336]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L149
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-332]
	b	.L150
.L151:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-364]
	add	r1, r2, r3
	ldr	r2, [fp, #-332]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-84]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r2, [fp, #-332]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-364]
	add	r1, r2, r3
	ldr	ip, [fp, #-88]
	ldr	r2, [fp, #-332]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r3, [r3, #12]
	sub	r0, fp, #132
	mov	r2, ip
	bl	insert_flow_edge
	ldr	r3, [fp, #-332]
	add	r3, r3, #1
	str	r3, [fp, #-332]
.L150:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-332]
	cmp	r2, r3
	bcs	.L149
	ldr	r2, [fp, #-332]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	beq	.L151
.L149:
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-336]
.L148:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-336]
	cmp	r2, r3
	bcc	.L152
	sub	r3, fp, #156
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r1, [fp, #-364]
	sub	r3, fp, #356
	sub	r2, fp, #360
	ldr	r0, [fp, #-300]
	bl	convex_hull
	mov	r3, #0
	str	r3, [fp, #-328]
	b	.L153
.L161:
	ldr	r2, [fp, #-328]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #124
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mvn	r3, #0
	str	r3, [fp, #-324]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-276]
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	beq	.L154
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L155
.L160:
	ldr	r1, [fp, #-360]
	ldr	r2, [fp, #-320]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	beq	.L173
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-196]
	str	r3, [fp, #-192]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-192]
	ldr	r2, [fp, #-196]
	mul	r2, r3, r2
	ldr	r3, [fp, #-192]
	ldr	r1, [fp, #-196]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-196]
	umull	r0, r1, r3, r3
	add	r3, r2, r1
	mov	r1, r3
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-188]
	mul	r2, r3, r2
	ldr	r3, [fp, #-184]
	ldr	ip, [fp, #-188]
	mul	r3, ip, r3
	add	lr, r2, r3
	ldr	ip, [fp, #-188]
	umull	r2, r3, ip, ip
	add	ip, lr, r3
	mov	r3, ip
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-180]
	str	r5, [fp, #-176]
	sub	r3, fp, #180
	ldmia	r3, {r2-r3}
	sub	r1, fp, #276
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L158
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	sub	r3, fp, #276
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L157
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-324]
	cmp	r2, r3
	bls	.L157
.L158:
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-324]
	sub	r3, fp, #180
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-276]
	str	r3, [fp, #-272]
	b	.L157
.L173:
	nop
.L157:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L155:
	ldr	r3, [fp, #-356]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	bcc	.L160
	ldr	r1, [fp, #-116]
	ldr	r3, [fp, #-108]
	sub	r0, fp, #132
	ldr	r2, [fp, #-324]
	bl	insert_flow_edge
.L154:
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	str	r3, [fp, #-328]
.L153:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-328]
	cmp	r2, r3
	bcc	.L161
	sub	r3, fp, #148
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L162
.L168:
	ldr	r2, [fp, #-316]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #124
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L174
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-312]
	b	.L165
.L167:
	ldr	r2, [fp, #-312]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-212]
	str	r3, [fp, #-208]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-204]
	str	r3, [fp, #-200]
	sub	r1, fp, #204
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2f
	mov	r4, r0
	sub	r1, fp, #212
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-352]	@ float
	ldr	r3, [fp, #-352]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-304]
	ldr	r1, [fp, #-288]
	ldr	r0, [fp, #-292]
	bl	update_slope_count
	mov	r3, r0
	cmp	r3, #0
	beq	.L166
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-364]
	lsl	r3, r3, #1
	add	r1, r2, r3
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-364]
	lsl	r3, r3, #1
	add	r1, r2, r3
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-76]
	sub	r0, fp, #132
	bl	insert_flow_edge
.L166:
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L165:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-312]
	cmp	r2, r3
	bcc	.L167
	ldr	r2, [fp, #-304]
	mov	r1, #0
	ldr	r0, [fp, #-288]
	bl	memset
	b	.L164
.L174:
	nop
.L164:
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L162:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-316]
	cmp	r2, r3
	bcc	.L168
	sub	r3, fp, #140
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L169
.L170:
	ldr	r2, [fp, #-308]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-300]
	add	r3, r3, r2
	sub	ip, fp, #96
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-364]
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-364]
	lsl	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-364]
	sub	r2, r3, #1
	ldr	r3, [fp, #-72]
	sub	r0, fp, #132
	bl	insert_flow_edge
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L169:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-308]
	cmp	r2, r3
	bcc	.L170
	sub	r3, fp, #124
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-364]
	sub	r2, r3, #1
	sub	r0, fp, #132
	ldr	r3, [fp, #-284]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-288]
	str	r3, [sp]
	ldr	r3, [fp, #-292]
	mov	r1, #0
	bl	edmonds_karp
	str	r0, [fp, #-280]
	ldr	r1, [fp, #-280]
	ldr	r0, .L175+24
	bl	printf
	ldr	r0, [fp, #-300]
	bl	free
	ldr	r0, [fp, #-292]
	bl	free
	ldr	r0, [fp, #-288]
	bl	free
	ldr	r0, [fp, #-284]
	bl	free
	ldr	r3, [fp, #-360]
	mov	r0, r3
	bl	free
	sub	r3, fp, #96
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #132
	mov	r0, r3
	bl	graph_free
	ldr	r0, [fp, #-296]
	bl	free
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-172]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-168]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-268]
	str	r3, [fp, #-264]
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-160]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-152]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-148]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-144]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-140]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-136]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-120]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-228]
	str	r3, [fp, #-224]
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-172]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-168]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L175+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-220]
	str	r3, [fp, #-216]
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	str	r2, [sp, #40]
	str	r3, [sp, #44]
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	sub	r3, fp, #244
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #252
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #260
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #268
	ldmia	r3, {r2-r3}
	ldr	r0, .L175+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L175
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L172
	bl	__stack_chk_fail
.L172:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L176:
	.align	2
.L175:
	.word	.LC11
	.word	stdin
	.word	.LC7
	.word	.LC8
	.word	lessy
	.word	lessxy
	.word	.LC9
	.word	1083129856
	.word	.LC10
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6541, %object
	.size	__PRETTY_FUNCTION__.6541, 11
__PRETTY_FUNCTION__.6541:
	.ascii	"graph_free\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6553, %object
	.size	__PRETTY_FUNCTION__.6553, 12
__PRETTY_FUNCTION__.6553:
	.ascii	"insert_edge\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6565, %object
	.size	__PRETTY_FUNCTION__.6565, 8
__PRETTY_FUNCTION__.6565:
	.ascii	"enqueue\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6569, %object
	.size	__PRETTY_FUNCTION__.6569, 8
__PRETTY_FUNCTION__.6569:
	.ascii	"dequeue\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6574, %object
	.size	__PRETTY_FUNCTION__.6574, 15
__PRETTY_FUNCTION__.6574:
	.ascii	"queue_is_empty\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6594, %object
	.size	__PRETTY_FUNCTION__.6594, 13
__PRETTY_FUNCTION__.6594:
	.ascii	"edmonds_karp\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6627, %object
	.size	__PRETTY_FUNCTION__.6627, 17
__PRETTY_FUNCTION__.6627:
	.ascii	"insert_flow_edge\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6691, %object
	.size	__PRETTY_FUNCTION__.6691, 19
__PRETTY_FUNCTION__.6691:
	.ascii	"update_slope_count\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
