	.file	"extr_sweep.c_SweepEvent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SweepEvent, @function
SweepEvent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	QWORD PTR 8[rdi], rsi
	call	DebugEvent@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rax, rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L9
.L2:
	mov	rsi, QWORD PTR 8[rax]
	test	rsi, rsi
	je	.L3
	mov	rdi, rbp
	call	TopLeftRegion@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
.L4:
	mov	rdi, r12
	call	RegionBelow@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	rsi, rax
	mov	r13, QWORD PTR [rax]
	call	FinishLeftRegions@PLT
	mov	r10, QWORD PTR [rax]
	cmp	r10, r13
	je	.L11
	mov	r9d, DWORD PTR TRUE[rip]
	mov	r8, r13
	mov	rcx, r13
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, r10
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	AddRightEdges@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ConnectLeftVertex@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ConnectRightVertex@PLT
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, 1
	call	longjmp@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	SweepEvent, .-SweepEvent
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sweep.c_SweepEvent.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SweepEvent, %function
SweepEvent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	sub	sp, sp, #8
	str	r1, [r0, #4]
	mov	r4, r0
	bl	DebugEvent
	ldr	ip, [r5]
	mov	r3, ip
	b	.L2
.L3:
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L9
.L2:
	ldr	r1, [r3, #4]
	cmp	r1, #0
	beq	.L3
	mov	r0, r4
	bl	TopLeftRegion
	subs	r6, r0, #0
	beq	.L10
.L4:
	mov	r0, r6
	bl	RegionBelow
	mov	r1, r0
	mov	r2, #0
	mov	r0, r4
	ldr	r5, [r1]
	bl	FinishLeftRegions
	ldr	r2, [r0]
	cmp	r2, r5
	beq	.L11
	ldr	r3, .L12
	str	r5, [sp]
	ldr	ip, [r3]
	mov	r1, r6
	mov	r3, r5
	mov	r0, r4
	str	ip, [sp, #4]
	bl	AddRightEdges
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	ConnectLeftVertex
.L11:
	mov	r2, r0
	mov	r1, r6
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	ConnectRightVertex
.L10:
	mov	r1, #1
	ldr	r0, [r4]
	bl	longjmp
	b	.L4
.L13:
	.align	2
.L12:
	.word	TRUE
	.size	SweepEvent, .-SweepEvent
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
