	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tessMeshMakeEdge               ## -- Begin function tessMeshMakeEdge
	.p2align	4, 0x90
_tessMeshMakeEdge:                      ## @tessMeshMakeEdge
	.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	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_bucketAlloc
	movq	%rax, %r12
	movl	16(%rbx), %edi
	callq	_bucketAlloc
	movq	%rax, %r15
	movl	12(%rbx), %edi
	callq	_bucketAlloc
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_MakeEdge
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%rax, %r13
	leaq	4(%rbx), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rdx, %r12
	callq	_MakeVertex
	movq	(%r13), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_MakeVertex
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_MakeFace
	jmp	LBB0_13
LBB0_5:
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movl	16(%rbx), %edi
	movq	%r12, %rsi
	callq	_bucketFree
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_bucketFree
LBB0_9:
	testq	%r14, %r14
	je	LBB0_12
## %bb.10:
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	callq	_bucketFree
LBB0_12:
	xorl	%r13d, %r13d
LBB0_13:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tessMeshMakeEdge               ; -- Begin function tessMeshMakeEdge
	.p2align	2
_tessMeshMakeEdge:                      ; @tessMeshMakeEdge
	.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, x0
	ldr	w0, [x0, #16]
	bl	_bucketAlloc
	mov	x22, x0
	ldr	w0, [x19, #16]
	bl	_bucketAlloc
	mov	x21, x0
	ldr	w0, [x19, #12]
	bl	_bucketAlloc
	mov	x20, x0
	cmp	x22, #0
	ccmp	x21, #0, #4, ne
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_8
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	mov	x1, x22
	bl	_bucketFree
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	w0, [x19, #16]
	mov	x1, x21
	bl	_bucketFree
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_bucketFree
LBB0_7:
	mov	x23, #0
	b	LBB0_10
LBB0_8:
	add	x1, x19, #8
	mov	x0, x19
	bl	_MakeEdge
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.9:
	add	x24, x19, #4
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_MakeVertex
	ldr	x1, [x23]
	mov	x0, x21
	mov	x2, x24
	bl	_MakeVertex
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_MakeFace
LBB0_10:
	mov	x0, x23
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
