	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_rdelta
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_rdelta:                            ## @get_rdelta
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movsd	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero
	cvtsi2sd	%esi, %xmm1
	subsd	%xmm3, %xmm5
	mulsd	%xmm0, %xmm1
	divsd	%xmm1, %xmm5
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	cmpq	$0, 24(%rdi)
	je	LBB0_5
## %bb.2:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_5
## %bb.3:
	movsd	8(%rdi), %xmm4                  ## xmm4 = mem[0],zero
	mulsd	16(%rdi), %xmm4
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	%xmm4, %xmm2
	mulsd	%xmm2, %xmm0
	ucomisd	%xmm3, %xmm0
	jbe	LBB0_5
## %bb.4:
	subsd	%xmm3, %xmm0
	divsd	%xmm1, %xmm0
	movapd	%xmm5, %xmm1
	divsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm5, -8(%rbp)                 ## 8-byte Spill
	callq	_FFMAX
	movapd	%xmm0, %xmm5
	minsd	-8(%rbp), %xmm5                 ## 8-byte Folded Reload
LBB0_5:
	movapd	%xmm5, %xmm0
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_rdelta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rdelta
_get_rdelta:                            ; @get_rdelta
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	fmov	d1, #1.00000000
	fsub	d1, d1, d3
	scvtf	d4, w1
	fmul	d0, d4, d0
	fdiv	d8, d1, d0
	cbz	w2, LBB0_5
; %bb.1:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.3:
	ldp	d1, d4, [x0, #8]
	fmul	d1, d1, d4
	fdiv	d1, d2, d1
	scvtf	d2, x8
	fmul	d1, d1, d2
	fcmp	d1, d3
	b.le	LBB0_5
; %bb.4:
	fsub	d1, d1, d3
	fdiv	d0, d1, d0
	fmov	d1, #10.00000000
	fdiv	d1, d8, d1
	bl	_FFMAX
	fcmp	d0, d8
	fcsel	d8, d0, d8, mi
LBB0_5:
	fmov	d0, d8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_rdelta
.subsections_via_symbols
