	.file	"extr_sweep.c_FinishLeftRegions.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FinishLeftRegions, @function
FinishLeftRegions:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rsi]
	cmp	rsi, rdx
	je	.L1
	mov	r14, rdi
	mov	rbx, rsi
	mov	r15, rdx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	QWORD PTR 16[r12], rbp
	je	.L7
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, rbp
	call	__gl_meshSplice@PLT
	test	eax, eax
	je	.L14
.L8:
	mov	rsi, rbp
	mov	rdi, r12
	call	__gl_meshSplice@PLT
	test	eax, eax
	je	.L15
.L7:
	mov	rsi, r13
	mov	rdi, r14
	call	FinishRegion@PLT
	mov	r12, QWORD PTR [rbx]
	cmp	r15, rbx
	je	.L1
.L10:
	mov	eax, DWORD PTR FALSE[rip]
	mov	rdi, rbx
	mov	r13, rbx
	mov	DWORD PTR 8[rbx], eax
	call	RegionBelow@PLT
	mov	rbp, QWORD PTR [rax]
	mov	rbx, rax
	mov	rax, QWORD PTR [r12]
	cmp	QWORD PTR 0[rbp], rax
	je	.L3
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L16
	mov	esi, DWORD PTR 24[rbp]
	mov	edi, DWORD PTR 28[r12]
	call	__gl_meshConnect@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L17
.L5:
	mov	rsi, rbp
	mov	rdi, rbx
	call	FixUpperEdge@PLT
	test	eax, eax
	jne	.L3
	mov	edi, DWORD PTR [r14]
	mov	esi, 1
	call	longjmp@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR [r14]
	mov	esi, 1
	call	longjmp@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR [r14]
	mov	esi, 1
	call	longjmp@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR [r14]
	mov	esi, 1
	call	longjmp@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, r13
	mov	rdi, r14
	call	FinishRegion@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	FinishLeftRegions, .-FinishLeftRegions
	.comm	FALSE,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_FinishLeftRegions.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FinishLeftRegions, %function
FinishLeftRegions:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, r2
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r1]
	beq	.L1
	mov	r4, r1
	mov	r9, r2
	mov	r8, r0
	ldr	r10, .L18
	b	.L10
.L3:
	ldr	r3, [r6, #8]
	cmp	r3, r5
	beq	.L7
	mov	r1, r5
	ldr	r0, [r5, #4]
	bl	__gl_meshSplice
	cmp	r0, #0
	beq	.L14
.L8:
	mov	r1, r5
	mov	r0, r6
	bl	__gl_meshSplice
	cmp	r0, #0
	beq	.L15
.L7:
	mov	r1, r7
	mov	r0, r8
	bl	FinishRegion
	cmp	r9, r4
	ldr	r6, [r4]
	beq	.L1
.L10:
	ldr	r3, [r10]
	mov	r0, r4
	str	r3, [r4, #4]
	bl	RegionBelow
	ldr	r5, [r0]
	ldr	r3, [r6]
	ldr	r2, [r5]
	mov	r7, r4
	cmp	r2, r3
	mov	r4, r0
	beq	.L3
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L16
	ldr	r1, [r5, #12]
	ldr	r0, [r6, #16]
	bl	__gl_meshConnect
	subs	r5, r0, #0
	beq	.L17
.L5:
	mov	r1, r5
	mov	r0, r4
	bl	FixUpperEdge
	cmp	r0, #0
	bne	.L3
	mov	r1, #1
	ldr	r0, [r8]
	bl	longjmp
	b	.L3
.L15:
	mov	r1, #1
	ldr	r0, [r8]
	bl	longjmp
	b	.L7
.L14:
	mov	r1, #1
	ldr	r0, [r8]
	bl	longjmp
	b	.L8
.L17:
	mov	r1, #1
	ldr	r0, [r8]
	bl	longjmp
	b	.L5
.L16:
	mov	r1, r7
	mov	r0, r8
	bl	FinishRegion
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	.align	2
.L18:
	.word	FALSE
	.size	FinishLeftRegions, .-FinishLeftRegions
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
