	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckForRightSplice
_CheckForRightSplice:                   ## @CheckForRightSplice
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_RegionBelow
	movq	%rax, %r12
	movq	8(%r15), %r13
	movq	8(%rax), %rbx
	movq	16(%r13), %rdi
	movq	16(%rbx), %rsi
	callq	_VertLeq
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	24(%rbx), %edi
	movq	16(%r13), %rsi
	movq	16(%rbx), %rdx
	callq	_EdgeSign
	testq	%rax, %rax
	jg	LBB0_2
## %bb.8:
	movq	16(%r13), %rdi
	movq	16(%rbx), %rsi
	callq	_VertEq
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movq	%r14, %r15
	movq	16(%r13), %rax
	movq	_TRUE@GOTPCREL(%rip), %r14
	cmpq	16(%rbx), %rax
	je	LBB0_17
## %bb.10:
	movl	8(%r15), %edi
	movl	(%rax), %esi
	callq	_pqDelete
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_SpliceMergeVertices
	jmp	LBB0_17
LBB0_3:
	movl	24(%r13), %edi
	movq	16(%rbx), %rsi
	movq	16(%r13), %rdx
	callq	_EdgeSign
	testq	%rax, %rax
	js	LBB0_2
## %bb.4:
	movq	%r14, %rax
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movl	%r12d, (%r15)
	movq	%r15, %rdi
	movq	%rax, %r15
	callq	_RegionAbove
	movl	%r12d, (%rax)
	movl	4(%r15), %edi
	movl	8(%r13), %esi
	callq	_tessMeshSplitEdge
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_6:
	movl	4(%r15), %edi
	movq	(%rbx), %rsi
	movq	%r13, %rdx
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	movl	(%r15), %edi
	movl	$1, %esi
	callq	_longjmp
	jmp	LBB0_17
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %r14
LBB0_17:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	4(%r14), %edi
	movl	8(%rbx), %esi
	callq	_tessMeshSplitEdge
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_14:
	movl	4(%r14), %edi
	movq	(%rbx), %rdx
	movq	%r13, %rsi
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, (%r12)
	movl	%eax, (%r15)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_CheckForRightSplice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckForRightSplice
_CheckForRightSplice:                   ; @CheckForRightSplice
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_RegionBelow
	mov	x22, x0
	ldr	x20, [x21, #8]
	ldr	x23, [x0, #8]
	ldr	x0, [x20, #16]
	ldr	x1, [x23, #16]
	bl	_VertLeq
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x23, #24]
	ldr	x1, [x20, #16]
	ldr	x2, [x23, #16]
	bl	_EdgeSign
	cmp	x0, #0
	b.gt	LBB0_11
; %bb.2:
	ldr	x0, [x20, #16]
	ldr	x1, [x23, #16]
	bl	_VertEq
	cbz	w0, LBB0_13
; %bb.3:
	ldr	x8, [x20, #16]
	ldr	x9, [x23, #16]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.4:
	ldr	w0, [x19, #8]
	ldr	w1, [x8]
	bl	_pqDelete
	ldr	x1, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_SpliceMergeVertices
	b	LBB0_10
LBB0_5:
	ldr	w0, [x20, #24]
	ldr	x1, [x23, #16]
	ldr	x2, [x20, #16]
	bl	_EdgeSign
	tbnz	x0, #63, LBB0_11
; %bb.6:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	str	w22, [x21]
	mov	x0, x21
	bl	_RegionAbove
	str	w22, [x0]
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #8]
	bl	_tessMeshSplitEdge
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_8:
	ldr	w0, [x19, #4]
	ldr	x1, [x23]
	mov	x2, x20
	bl	_tessMeshSplice
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_10:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	ret
LBB0_13:
	ldr	w0, [x19, #4]
	ldr	w1, [x23, #8]
	bl	_tessMeshSplitEdge
	cbnz	x0, LBB0_15
; %bb.14:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_15:
	ldr	w0, [x19, #4]
	ldr	x2, [x23]
	mov	x1, x20
	bl	_tessMeshSplice
	cbnz	w0, LBB0_17
; %bb.16:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_longjmp
LBB0_17:
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x22]
	str	w9, [x21]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_CheckForRightSplice
.subsections_via_symbols
