	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tessMeshDelete                 ## -- Begin function tessMeshDelete
	.p2align	4, 0x90
_tessMeshDelete:                        ## @tessMeshDelete
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	40(%rsi), %r15
	movq	24(%rsi), %rsi
	movq	32(%rbx), %rdx
	cmpq	%rdx, %rsi
	je	LBB0_1
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_KillFace
	jmp	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	movq	8(%rbx), %rax
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %esi
	movq	32(%rbx), %rcx
	movl	%esi, (%rcx)
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_Splice
	testl	%r12d, %r12d
	jne	LBB0_9
## %bb.6:
	movl	(%r14), %edi
	callq	_bucketAlloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	24(%rbx), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_MakeFace
	jmp	LBB0_9
LBB0_4:
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_KillVertex
LBB0_9:
	movq	8(%r15), %rax
	cmpq	%r15, %rax
	je	LBB0_10
## %bb.11:
	movl	(%r15), %esi
	movq	24(%rbx), %rcx
	movl	%esi, (%rcx)
	movq	16(%r15), %rcx
	movq	%rax, (%rcx)
	movq	%r15, %rdi
	callq	_Splice
	jmp	LBB0_12
LBB0_10:
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_KillVertex
	movq	24(%r15), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_KillFace
LBB0_12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_KillEdge
	movl	$1, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_13
	.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	_tessMeshDelete                 ; -- Begin function tessMeshDelete
	.p2align	2
_tessMeshDelete:                        ; @tessMeshDelete
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #40]
	ldr	x1, [x1, #24]
	ldr	x2, [x19, #32]
	cmp	x1, x2
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_KillFace
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
LBB0_3:
	ldr	x8, [x19, #8]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.4:
	ldr	w1, [x19]
	ldr	x9, [x19, #32]
	str	w1, [x9]
	ldr	x9, [x19, #16]
	str	x8, [x9]
	mov	x0, x19
	bl	_Splice
	cbnz	w22, LBB0_8
; %bb.5:
	ldr	w0, [x20]
	bl	_bucketAlloc
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x2, [x19, #24]
	mov	x1, x19
	bl	_MakeFace
	b	LBB0_8
LBB0_7:
	ldr	x1, [x19, #16]
	mov	x0, x20
	mov	x2, #0
	bl	_KillVertex
LBB0_8:
	ldr	x8, [x21, #8]
	cmp	x8, x21
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x21]
	ldr	x9, [x19, #24]
	str	w1, [x9]
	ldr	x9, [x21, #16]
	str	x8, [x9]
	mov	x0, x21
	bl	_Splice
	b	LBB0_11
LBB0_10:
	ldr	x1, [x21, #16]
	mov	x0, x20
	mov	x2, #0
	bl	_KillVertex
	ldr	x1, [x21, #24]
	mov	x0, x20
	mov	x2, #0
	bl	_KillFace
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_KillEdge
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
