	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckForLeftSplice
_CheckForLeftSplice:                    ## @CheckForLeftSplice
	.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	$24, %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, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_RegionBelow
	movq	%rax, %r13
	movq	8(%r15), %rbx
	movq	8(%rax), %r12
	movl	28(%rbx), %edi
	movl	28(%r12), %esi
	callq	_VertEq
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	28(%rbx), %edi
	movl	28(%r12), %esi
	callq	_VertLeq
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	movl	28(%r12), %esi
	callq	_EdgeSign
	testq	%rax, %rax
	js	LBB0_9
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	movl	%r13d, (%r15)
	movq	%r15, %rdi
	callq	_RegionAbove
	movl	%r13d, (%rax)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %edi
	movq	%rbx, %rsi
	callq	_tessMeshSplitEdge
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_4:
	movl	4(%r13), %edi
	movq	8(%r12), %rsi
	movq	%rbx, %rdx
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_6:
	movl	4(%r15), %eax
	movq	32(%rbx), %rcx
	jmp	LBB0_15
LBB0_7:
	movl	24(%r12), %edx
	movl	28(%r12), %edi
	movl	28(%rbx), %esi
	callq	_EdgeSign
	testq	%rax, %rax
	jle	LBB0_10
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %r14
	jmp	LBB0_16
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, (%r13)
	movl	%eax, (%r15)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %edi
	movq	%r12, %rsi
	callq	_tessMeshSplitEdge
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_12:
	movl	4(%r13), %edi
	movq	16(%rbx), %rsi
	movq	8(%r12), %rdx
	callq	_tessMeshSplice
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_longjmp
LBB0_14:
	movl	4(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
LBB0_15:
	movl	%eax, (%rcx)
LBB0_16:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_CheckForLeftSplice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckForLeftSplice
_CheckForLeftSplice:                    ; @CheckForLeftSplice
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_RegionBelow
	mov	x23, x0
	ldr	x22, [x19, #8]
	ldr	x21, [x0, #8]
	ldr	w0, [x22, #28]
	ldr	w1, [x21, #28]
	bl	_VertEq
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x22, #28]
	ldr	w1, [x21, #28]
	bl	_VertLeq
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w1, [x21, #28]
	ldp	w2, w0, [x22, #24]
	bl	_EdgeSign
	tbnz	x0, #63, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	str	w23, [x19]
	mov	x0, x19
	bl	_RegionAbove
	str	w23, [x0]
	ldr	w0, [x20, #4]
	mov	x1, x22
	bl	_tessMeshSplitEdge
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_longjmp
LBB0_4:
	ldr	w0, [x20, #4]
	ldr	x1, [x21, #8]
	mov	x2, x22
	bl	_tessMeshSplice
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_longjmp
LBB0_6:
	ldr	w8, [x19, #4]
	ldr	x9, [x22, #32]
	b	LBB0_14
LBB0_7:
	ldr	w1, [x22, #28]
	ldp	w2, w0, [x21, #24]
	bl	_EdgeSign
	cmp	x0, #0
	b.le	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x23]
	str	w8, [x19]
	ldr	w0, [x20, #4]
	mov	x1, x21
	bl	_tessMeshSplitEdge
	mov	x23, x0
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_longjmp
LBB0_11:
	ldr	w0, [x20, #4]
	ldr	x1, [x22, #16]
	ldr	x2, [x21, #8]
	bl	_tessMeshSplice
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_longjmp
LBB0_13:
	ldr	w8, [x19, #4]
	ldr	x9, [x23]
LBB0_14:
	str	w8, [x9]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_CheckForLeftSplice
.subsections_via_symbols
