	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function sd_1d97_float
LCPI0_0:
	.quad	0xbff960ce0b912dba              ## double -1.5861339999999999
LCPI0_1:
	.quad	0xbfab2031ceaf251c              ## double -0.052979999999999999
LCPI0_2:
	.quad	0x3fec40ce91c8eac0              ## double 0.882911
LCPI0_3:
	.quad	0x3fdc6266fd651b0d              ## double 0.44350600000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sd_1d97_float:                         ## @sd_1d97_float
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r15
	leal	1(%rsi), %ebx
	cmpl	%edx, %ebx
	jge	LBB0_1
## %bb.3:
	movl	%edx, %r14d
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_extend97_float
	incl	%r14d
	sarl	%ebx
	leal	-2(%rbx), %edx
	sarl	%r14d
	movslq	%r14d, %rax
	movslq	%ebx, %r8
	cmpl	%r14d, %edx
	jg	LBB0_6
## %bb.4:
	leal	(%r8,%r8), %esi
	addl	$-4, %esi
	leaq	-3(%r8), %rdx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rdi
	movss	(%r15,%rdi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	leal	2(%rdi), %esi
	movslq	%esi, %rcx
	addss	(%r15,%rcx,4), %xmm1
	cvtss2sd	%xmm1, %xmm1
	incl	%edi
	movslq	%edi, %rcx
	movss	(%r15,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvtsd2ss	%xmm1, %xmm1
	movss	%xmm1, (%r15,%rcx,4)
	incq	%rdx
	cmpq	%rax, %rdx
	jl	LBB0_5
LBB0_6:
	leal	-1(%rbx), %ecx
	cmpl	%r14d, %ecx
	jg	LBB0_9
## %bb.7:
	leal	(%rbx,%rbx), %edx
	decl	%edx
	leaq	-2(%r8), %rsi
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rdx), %ecx
	leal	-2(%rdx), %edi
	movslq	%edi, %rdi
	movss	(%r15,%rdi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movslq	%edx, %rdx
	addss	(%r15,%rdx,4), %xmm1
	cvtss2sd	%xmm1, %xmm1
	movslq	%ecx, %rcx
	movss	(%r15,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvtsd2ss	%xmm1, %xmm1
	movss	%xmm1, (%r15,%rcx,4)
	addl	$2, %edx
	incq	%rsi
	cmpq	%rax, %rsi
	jl	LBB0_8
LBB0_9:
	cmpl	%r14d, %ebx
	jg	LBB0_12
## %bb.10:
	leal	(%rbx,%rbx), %edx
	movq	%rax, %rsi
	subq	%r8, %rsi
	incq	%rsi
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdx), %ecx
	movslq	%ecx, %rcx
	movss	(%r15,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movslq	%edx, %rdx
	addss	(%r15,%rdx,4), %xmm1
	cvtss2sd	%xmm1, %xmm1
	leal	-1(%rdx), %ecx
	movslq	%ecx, %rcx
	movss	(%r15,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvtsd2ss	%xmm1, %xmm1
	movss	%xmm1, (%r15,%rcx,4)
	addl	$2, %edx
	decq	%rsi
	jne	LBB0_11
LBB0_12:
	cmpl	%r14d, %ebx
	jge	LBB0_17
## %bb.13:
	addl	%ebx, %ebx
	subq	%r8, %rax
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %ecx
	movslq	%ecx, %rcx
	movss	(%r15,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	leal	1(%rbx), %ecx
	movslq	%ecx, %rcx
	addss	(%r15,%rcx,4), %xmm1
	cvtss2sd	%xmm1, %xmm1
	movslq	%ebx, %rbx
	movss	(%r15,%rbx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvtsd2ss	%xmm1, %xmm1
	movss	%xmm1, (%r15,%rbx,4)
	addl	$2, %ebx
	decq	%rax
	jne	LBB0_14
	jmp	LBB0_17
LBB0_1:
	cmpl	$1, %esi
	jne	LBB0_15
## %bb.2:
	movq	_F_LFTG_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cvtsi2ss	%eax, %xmm0
	addq	$4, %r15
	movq	%r15, %rax
	jmp	LBB0_16
LBB0_15:
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_F_LFTG_K@GOTPCREL(%rip), %rax
LBB0_16:
	mulss	(%rax), %xmm0
	movss	%xmm0, (%r15)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_LFTG_X,4,2                   ## @F_LFTG_X
	.comm	_F_LFTG_K,4,2                   ## @F_LFTG_K
	.no_dead_strip	_sd_1d97_float
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_1d97_float
_sd_1d97_float:                         ; @sd_1d97_float
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	w21, w1, #1
	cmp	w21, w2
	b.ge	LBB0_13
; %bb.1:
	mov	x20, x2
	mov	x0, x19
	bl	_extend97_float
	add	w8, w20, #1
	asr	w9, w21, #1
	sub	w11, w9, #2
	asr	w10, w8, #1
	lsl	w8, w9, #1
	cmp	w11, w10
	b.gt	LBB0_4
; %bb.2:
	sxtw	x11, w10
	sub	w14, w8, #4
	sxtw	x12, w9
	sub	x12, x12, #3
	mov	x13, #11706
	movk	x13, #2961, lsl #16
	movk	x13, #24782, lsl #32
	movk	x13, #49145, lsl #48
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19, w14, sxtw #2]
	add	w15, w14, #1
	add	w14, w14, #2
	ldr	s1, [x19, w14, sxtw #2]
	fadd	s0, s0, s1
	fcvt	d0, s0
	sbfiz	x15, x15, #2, #32
	ldr	s1, [x19, x15]
	fcvt	d1, s1
	fmov	d2, x13
	fmadd	d0, d0, d2, d1
	fcvt	s0, d0
	str	s0, [x19, x15]
	add	x12, x12, #1
	cmp	x12, x11
	b.lt	LBB0_3
LBB0_4:
	sub	w11, w9, #1
	cmp	w11, w10
	b.gt	LBB0_7
; %bb.5:
	mov	x11, x10
	sxtw	x11, w11
	sub	w12, w8, #1
	mov	x13, x9
	sxtw	x13, w13
	sub	x13, x13, #2
	mov	x14, #9500
	movk	x14, #52911, lsl #16
	movk	x14, #8241, lsl #32
	movk	x14, #49067, lsl #48
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w15, w12, #1
	sub	w16, w12, #2
	ldr	s0, [x19, w16, sxtw #2]
	ldr	s1, [x19, w12, sxtw #2]
	fadd	s0, s0, s1
	fcvt	d0, s0
	sbfiz	x15, x15, #2, #32
	ldr	s1, [x19, x15]
	fcvt	d1, s1
	fmov	d2, x14
	fmadd	d0, d0, d2, d1
	fcvt	s0, d0
	str	s0, [x19, x15]
	add	w12, w12, #2
	add	x13, x13, #1
	cmp	x13, x11
	b.lt	LBB0_6
LBB0_7:
	cmp	w9, w10
	b.gt	LBB0_10
; %bb.8:
	mov	x11, x10
	sxtw	x11, w11
	sub	x11, x11, w9, sxtw
	add	x11, x11, #1
	mov	x12, #60096
	movk	x12, #37320, lsl #16
	movk	x12, #16590, lsl #32
	movk	x12, #16364, lsl #48
	mov	x13, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w14, w13, #2
	ldr	s0, [x19, w14, sxtw #2]
	ldr	s1, [x19, w13, sxtw #2]
	fadd	s0, s0, s1
	fcvt	d0, s0
	sub	w14, w13, #1
	sbfiz	x14, x14, #2, #32
	ldr	s1, [x19, x14]
	fcvt	d1, s1
	fmov	d2, x12
	fmadd	d0, d0, d2, d1
	fcvt	s0, d0
	str	s0, [x19, x14]
	add	w13, w13, #2
	subs	x11, x11, #1
	b.ne	LBB0_9
LBB0_10:
	cmp	w9, w10
	b.ge	LBB0_17
; %bb.11:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sxtw	x10, w10
	sub	x9, x10, w9, sxtw
	mov	x10, #6925
	movk	x10, #64869, lsl #16
	movk	x10, #25190, lsl #32
	movk	x10, #16348, lsl #48
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #1
	ldr	s0, [x19, w11, sxtw #2]
	add	w11, w8, #1
	ldr	s1, [x19, w11, sxtw #2]
	fadd	s0, s0, s1
	fcvt	d0, s0
	sbfiz	x11, x8, #2, #32
	ldr	s1, [x19, x11]
	fcvt	d1, s1
	fmov	d2, x10
	fmadd	d0, d0, d2, d1
	fcvt	s0, d0
	str	s0, [x19, x11]
	add	w8, w8, #2
	subs	x9, x9, #1
	b.ne	LBB0_12
	b	LBB0_17
LBB0_13:
	cmp	w1, #1
	b.ne	LBB0_15
; %bb.14:
Lloh0:
	adrp	x8, _F_LFTG_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_LFTG_X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	scvtf	s0, w8
	add	x8, x19, #4
	mov	x19, x8
	b	LBB0_16
LBB0_15:
	ldr	s0, [x19]
Lloh3:
	adrp	x8, _F_LFTG_K@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_LFTG_K@GOTPAGEOFF]
LBB0_16:
	ldr	s1, [x8]
	fmul	s0, s1, s0
	str	s0, [x19]
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_F_LFTG_X,4,2                   ; @F_LFTG_X
	.comm	_F_LFTG_K,4,2                   ; @F_LFTG_K
	.no_dead_strip	_sd_1d97_float
.subsections_via_symbols
