	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___gl_meshSplice                ## -- Begin function __gl_meshSplice
	.p2align	4, 0x90
___gl_meshSplice:                       ## @__gl_meshSplice
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	8(%rsi), %rdi
	movq	8(%r15), %rsi
	movl	%r12d, %ebx
	cmpq	%rsi, %rdi
	je	LBB0_3
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_KillVertex
LBB0_3:
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	cmpq	%rsi, %rdi
	je	LBB0_5
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_KillFace
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_Splice
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.8:
	testl	%r12d, %r12d
	jne	LBB0_11
	jmp	LBB0_9
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_allocVertex
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	8(%r15), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_MakeVertex
	movq	8(%r15), %rax
	movq	%r15, (%rax)
	testl	%r12d, %r12d
	jne	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_allocFace
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_MakeFace
	movq	(%r15), %rax
	movq	%r15, (%rax)
LBB0_11:
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___gl_meshSplice                ; -- Begin function __gl_meshSplice
	.p2align	2
___gl_meshSplice:                       ; @__gl_meshSplice
	.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
	cmp	x0, x1
	b.eq	LBB0_11
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x0, [x1, #8]
	ldr	x1, [x19, #8]
Lloh3:
	adrp	x23, _TRUE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	mov	x22, x21
	cmp	x0, x1
	b.eq	LBB0_3
; %bb.2:
	ldr	w22, [x23]
	bl	_KillVertex
LBB0_3:
	ldr	x0, [x20]
	ldr	x1, [x19]
	cmp	x0, x1
	b.eq	LBB0_5
; %bb.4:
	ldr	w21, [x23]
	bl	_KillFace
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_Splice
	cbz	w22, LBB0_7
; %bb.6:
	cbnz	w21, LBB0_11
	b	LBB0_9
LBB0_7:
	bl	_allocVertex
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x2, [x19, #8]
	mov	x1, x20
	bl	_MakeVertex
	ldr	x8, [x19, #8]
	str	x19, [x8]
	cbnz	w21, LBB0_11
LBB0_9:
	bl	_allocFace
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x2, [x19]
	mov	x1, x20
	bl	_MakeFace
	ldr	x8, [x19]
	str	x19, [x8]
LBB0_11:
	mov	w0, #1
LBB0_12:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
