	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function triangulation_get_next_point
_triangulation_get_next_point:          ## @triangulation_get_next_point
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	%rdx, (%rdi)
	jne	LBB0_1
## %bb.2:
	movslq	8(%rdi), %rax
	decq	%rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	16(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rsi), %rsi
	shlq	$4, %rax
	movq	8(%rsi,%rax), %rcx
	movl	(%rsi,%rax), %eax
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movl	(%rcx), %esi
	addl	%esi, %eax
	decl	%eax
	cltd
	idivl	%esi
	jmp	LBB0_6
LBB0_5:
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rcx)
LBB0_6:
	movslq	%edx, %rax
	shlq	$2, %rax
	addq	8(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_triangulation_get_next_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function triangulation_get_next_point
_triangulation_get_next_point:          ; @triangulation_get_next_point
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x8, [x0, #8]
	sub	x8, x8, #1
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	ldr	x9, [x0, #16]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x9, [x1]
	add	x9, x9, x8, lsl #4
	ldr	x8, [x9, #8]
	ldr	w9, [x9]
	cbz	x2, LBB0_5
; %bb.4:
	ldr	w10, [x8]
	add	w9, w9, w10
	sub	w9, w9, #1
	b	LBB0_6
LBB0_5:
	add	w9, w9, #1
	ldr	w10, [x8]
LBB0_6:
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x8, [x8, #8]
	add	x0, x8, w9, sxtw #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_triangulation_get_next_point
.subsections_via_symbols
