	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ConnectLeftVertex
_ConnectLeftVertex:                     ## @ConnectLeftVertex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movl	8(%rdi), %edi
	leaq	-88(%rbp), %rsi
	callq	_dictSearch
	movl	%eax, %edi
	callq	_dictKey
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_RegionBelow
	movq	%rax, %r13
	movq	16(%r14), %rbx
	movq	16(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	movl	28(%rbx), %edx
	movq	%r15, %rsi
	callq	_EdgeSign
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	24(%r12), %edi
	movl	24(%rbx), %esi
	callq	_VertLeq
	testq	%rax, %rax
	cmovneq	%r14, %r13
	cmpq	$0, 8(%r14)
	movq	%r14, %rsi
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%r13)
	je	LBB0_15
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	cmpq	%rsi, %r13
	je	LBB0_5
## %bb.7:
	movq	8(%r12), %rsi
	movq	(%r15), %rdx
	callq	_tessMeshConnect
	movq	%rax, %r13
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_9:
	movq	(%r13), %rdx
	movq	%r14, %rsi
	cmpq	$0, (%rsi)
	jne	LBB0_11
	jmp	LBB0_13
LBB0_1:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ConnectLeftDegenerate
	jmp	LBB0_16
LBB0_5:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	16(%rbx), %rdx
	callq	_tessMeshConnect
	movq	%rax, %rdx
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rsi
	je	LBB0_6
## %bb.10:
	cmpq	$0, (%rsi)
	je	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	callq	_FixUpperEdge
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_longjmp
	jmp	LBB0_14
LBB0_15:
	movq	(%r15), %rcx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rdx
	xorl	%r8d, %r8d
	callq	_AddRightEdges
	jmp	LBB0_16
LBB0_6:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_longjmp
	movq	%r14, %rsi
	xorl	%edx, %edx
	cmpq	$0, (%rsi)
	jne	LBB0_11
LBB0_13:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_AddRegionBelow
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ComputeWinding
LBB0_14:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_SweepEvent
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ConnectLeftVertex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ConnectLeftVertex
_ConnectLeftVertex:                     ; @ConnectLeftVertex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	bl	_dictSearch
	bl	_dictKey
	mov	x21, x0
	bl	_RegionBelow
	mov	x22, x0
	ldr	x23, [x21, #16]
	ldr	x24, [x0, #16]
	ldp	w0, w2, [x23, #24]
	mov	x1, x20
	bl	_EdgeSign
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w0, [x24, #24]
	ldr	w1, [x23, #24]
	bl	_VertLeq
	cmp	x0, #0
	csel	x22, x22, x21, eq
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	cbz	x8, LBB0_12
LBB0_3:
	ldr	w0, [x19, #4]
	cmp	x22, x21
	b.eq	LBB0_8
; %bb.4:
	ldr	x1, [x24, #8]
	ldr	x2, [x20]
	bl	_tessMeshConnect
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_6:
	ldr	x2, [x23]
	ldr	x8, [x22]
	cbnz	x8, LBB0_10
	b	LBB0_14
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ConnectLeftDegenerate
	b	LBB0_16
LBB0_8:
	ldr	x8, [x20]
	ldr	x1, [x8]
	ldr	x2, [x23, #16]
	bl	_tessMeshConnect
	mov	x2, x0
	cbz	x0, LBB0_13
; %bb.9:
	ldr	x8, [x22]
	cbz	x8, LBB0_14
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	bl	_FixUpperEdge
	cbnz	w0, LBB0_15
; %bb.11:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
	b	LBB0_15
LBB0_12:
	ldr	x2, [x20]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x2
	mov	x4, #0
	bl	_AddRightEdges
	b	LBB0_16
LBB0_13:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
	mov	x2, #0
	ldr	x8, [x22]
	cbnz	x8, LBB0_10
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	bl	_AddRegionBelow
	mov	x1, x0
	mov	x0, x19
	bl	_ComputeWinding
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_SweepEvent
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ConnectLeftVertex
.subsections_via_symbols
