	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___gl_meshMakeEdge              ## -- Begin function __gl_meshMakeEdge
	.p2align	4, 0x90
___gl_meshMakeEdge:                     ## @__gl_meshMakeEdge
	.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, %r15
	xorl	%eax, %eax
	callq	_allocVertex
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_allocVertex
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_allocFace
	movq	%rax, %r14
	testq	%r13, %r13
	je	LBB0_5
## %bb.1:
	testq	%r12, %r12
	je	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	leaq	8(%r15), %rdi
	callq	_MakeEdge
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	addq	$4, %r15
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_MakeVertex
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_MakeVertex
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_MakeFace
	jmp	LBB0_14
LBB0_5:
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_memFree
LBB0_7:
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_memFree
LBB0_9:
	testq	%r14, %r14
	jne	LBB0_12
	jmp	LBB0_13
LBB0_11:
	movq	%r13, %rdi
	callq	_memFree
	movq	%r12, %rdi
	callq	_memFree
LBB0_12:
	movq	%r14, %rdi
	callq	_memFree
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %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	___gl_meshMakeEdge              ; -- Begin function __gl_meshMakeEdge
	.p2align	2
___gl_meshMakeEdge:                     ; @__gl_meshMakeEdge
	.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, x0
	bl	_allocVertex
	mov	x22, x0
	bl	_allocVertex
	mov	x20, x0
	bl	_allocFace
	mov	x19, x0
	cbz	x22, LBB0_5
; %bb.1:
	cbz	x20, LBB0_5
; %bb.2:
	cbz	x19, LBB0_5
; %bb.3:
	add	x0, x21, #8
	bl	_MakeEdge
	mov	x23, x0
	cbz	x0, LBB0_12
; %bb.4:
	add	x24, x21, #4
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_MakeVertex
	ldr	x1, [x23]
	mov	x0, x20
	mov	x2, x24
	bl	_MakeVertex
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_MakeFace
	b	LBB0_13
LBB0_5:
	cbz	x22, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_memFree
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_memFree
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_memFree
LBB0_11:
	mov	x23, #0
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_memFree
	mov	x0, x20
	bl	_memFree
	mov	x0, x19
	bl	_memFree
LBB0_13:
	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
