	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ConnectLeftDegenerate
_ConnectLeftDegenerate:                 ## @ConnectLeftDegenerate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %rbx
	movl	28(%rbx), %edi
	movq	%rdx, %rsi
	callq	_VertEq
	testq	%rax, %rax
	je	LBB0_1
## %bb.18:
	movq	_TOLERANCE_NONZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SpliceMergeVertices            ## TAILCALL
LBB0_1:
	movl	24(%rbx), %edi
	movq	%r12, %rsi
	callq	_VertEq
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:
	movq	_TOLERANCE_NONZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
	movq	%r15, %rdi
	callq	_TopRightRegion
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_RegionBelow
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	16(%rax), %rbx
	movq	(%rbx), %r13
	cmpq	$0, (%r15)
	je	LBB0_15
## %bb.12:
	xorl	%edi, %edi
	cmpq	%rbx, %r13
	setne	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_DeleteRegion
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_tessMeshDelete
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_14:
	movq	8(%r13), %rbx
LBB0_15:
	movl	4(%r14), %edi
	movl	(%r12), %esi
	movq	%rbx, %rdx
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_17:
	movq	%r13, %rdi
	callq	_EdgeGoesLeft
	xorl	%r8d, %r8d
	testl	%eax, %eax
	cmovneq	%r13, %r8
	movq	(%rbx), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AddRightEdges                  ## TAILCALL
LBB0_2:
	movl	4(%r14), %edi
	movq	16(%rbx), %rsi
	callq	_tessMeshSplitEdge
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_4:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.5:
	movl	4(%r14), %edi
	movq	(%rbx), %rsi
	callq	_tessMeshDelete
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_8:
	movl	4(%r14), %edi
	movl	(%r12), %esi
	movq	%rbx, %rdx
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_10:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SweepEvent                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TOLERANCE_NONZERO,4,2          ## @TOLERANCE_NONZERO
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ConnectLeftDegenerate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ConnectLeftDegenerate
_ConnectLeftDegenerate:                 ; @ConnectLeftDegenerate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x1, #8]
	ldr	w0, [x21, #28]
	mov	x1, x2
	bl	_VertEq
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TOLERANCE_NONZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOLERANCE_NONZERO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_assert
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SpliceMergeVertices
LBB0_2:
	ldr	w0, [x21, #24]
	mov	x1, x20
	bl	_VertEq
	cbz	x0, LBB0_10
; %bb.3:
Lloh3:
	adrp	x8, _TOLERANCE_NONZERO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOLERANCE_NONZERO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_assert
	mov	x0, x22
	bl	_TopRightRegion
	mov	x21, x0
	bl	_RegionBelow
	ldp	x9, x8, [x0]
	ldr	x23, [x8, #16]
	ldr	x22, [x23]
	cbz	x9, LBB0_7
; %bb.4:
	mov	x24, x0
	cmp	x22, x23
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	mov	x1, x24
	bl	_DeleteRegion
	ldr	w0, [x19, #4]
	mov	x1, x23
	bl	_tessMeshDelete
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_6:
	ldr	x23, [x22, #8]
LBB0_7:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	mov	x2, x23
	bl	_tessMeshSplice
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_9:
	mov	x0, x22
	bl	_EdgeGoesLeft
	cmp	w0, #0
	csel	x4, xzr, x22, eq
	ldr	x2, [x23]
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AddRightEdges
LBB0_10:
	ldr	w0, [x19, #4]
	ldr	x1, [x21, #16]
	bl	_tessMeshSplitEdge
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_12:
	ldr	x8, [x22]
	cbz	x8, LBB0_16
; %bb.13:
	ldr	w0, [x19, #4]
	ldr	x1, [x21]
	bl	_tessMeshDelete
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_15:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_16:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	mov	x2, x21
	bl	_tessMeshSplice
	cbnz	w0, LBB0_18
; %bb.17:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SweepEvent
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TOLERANCE_NONZERO,4,2          ; @TOLERANCE_NONZERO
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ConnectLeftDegenerate
.subsections_via_symbols
