	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_speed_point
_get_speed_point:                       ## @get_speed_point
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	cmpq	%rsi, (%rcx)
	jge	LBB0_1
## %bb.2:
	movslq	(%rdi), %r8
	leal	-1(%r8), %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	cmovgl	%eax, %edi
	leaq	-8(%rcx), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rdi
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%rdx), %rax
	cmpq	%rsi, 16(%rdx)
	movq	%rax, %rdx
	jle	LBB0_3
## %bb.6:
	popq	%rbp
	retq
LBB0_1:
	movq	%rcx, %rax
	popq	%rbp
	retq
LBB0_5:
	leaq	(%rcx,%r8,8), %rax
	addq	$-8, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_speed_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_speed_point
_get_speed_point:                       ; @get_speed_point
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x0, #8]
	ldr	x10, [x9]
	mov	x0, x9
	cmp	x10, x1
	b.ge	LBB0_4
; %bb.1:
	ldrsw	x8, [x8]
	sub	w10, w8, #1
	cmp	w10, #0
	csel	w10, w10, wzr, gt
	sub	x0, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x0, #16]
	add	x0, x0, #8
	sub	x10, x10, #1
	cmp	x11, x1
	b.le	LBB0_2
LBB0_4:
	ret
LBB0_5:
	add	x8, x9, x8, lsl #3
	sub	x0, x8, #8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_speed_point
.subsections_via_symbols
