	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sr_1d97_float
_sr_1d97_float:                         ## @sr_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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	1(%r14), %eax
	cmpl	%edx, %eax
	jge	LBB0_1
## %bb.3:
	movl	%edx, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_extend97_float
	sarl	%r14d
	leal	-1(%r14), %r9d
	sarl	%r15d
	leal	2(%r15), %ecx
	movslq	%r15d, %rax
	movslq	%r14d, %r8
	cmpl	%ecx, %r14d
	jg	LBB0_6
## %bb.4:
	leal	(%r8,%r8), %esi
	decl	%esi
	movq	%rax, %rdi
	subq	%r8, %rdi
	addq	$3, %rdi
	movq	_F_LFTG_DELTA@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rsi), %edx
	leal	-2(%rsi), %ecx
	movslq	%ecx, %rcx
	movss	(%rbx,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movslq	%esi, %rsi
	addss	(%rbx,%rsi,4), %xmm0
	movslq	%edx, %rcx
	movss	(%rbx,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	(%r10), %xmm0
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rbx,%rcx,4)
	addl	$2, %esi
	decq	%rdi
	jne	LBB0_5
LBB0_6:
	cmpl	%r15d, %r9d
	jg	LBB0_9
## %bb.7:
	leal	(%r8,%r8), %edx
	leaq	-2(%r8), %rsi
	movq	_F_LFTG_GAMMA@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdx), %ecx
	movslq	%ecx, %rcx
	movss	(%rbx,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movslq	%edx, %rdx
	addss	(%rbx,%rdx,4), %xmm0
	leal	-1(%rdx), %ecx
	movslq	%ecx, %rcx
	movss	(%rbx,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	(%rdi), %xmm0
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rbx,%rcx,4)
	addl	$2, %edx
	incq	%rsi
	cmpq	%rax, %rsi
	jl	LBB0_8
LBB0_9:
	cmpl	%r15d, %r14d
	jg	LBB0_12
## %bb.10:
	leal	(%r14,%r14), %edx
	movl	%r15d, %esi
	subl	%r14d, %esi
	incl	%esi
	movq	_F_LFTG_BETA@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%rdx), %edi
	movslq	%edi, %rdi
	movss	(%rbx,%rdi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	leal	1(%rdx), %edi
	movslq	%edi, %rdi
	addss	(%rbx,%rdi,4), %xmm0
	movslq	%edx, %rdx
	mulss	(%rcx), %xmm0
	addss	(%rbx,%rdx,4), %xmm0
	movss	%xmm0, (%rbx,%rdx,4)
	addl	$2, %edx
	decl	%esi
	jne	LBB0_11
LBB0_12:
	cmpl	%r15d, %r14d
	jge	LBB0_17
## %bb.13:
	addl	%r14d, %r14d
	subq	%r8, %rax
	movq	_F_LFTG_ALPHA@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r14d, %rdx
	movss	(%rbx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	leal	2(%rdx), %r14d
	movslq	%r14d, %rsi
	addss	(%rbx,%rsi,4), %xmm0
	incl	%edx
	movslq	%edx, %rdx
	mulss	(%rcx), %xmm0
	addss	(%rbx,%rdx,4), %xmm0
	movss	%xmm0, (%rbx,%rdx,4)
	decq	%rax
	jne	LBB0_14
	jmp	LBB0_17
LBB0_1:
	cmpl	$1, %r14d
	jne	LBB0_15
## %bb.2:
	movq	_F_LFTG_K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cvtsi2ss	%ecx, %xmm0
	addq	$4, %rbx
	movq	%rbx, %rax
	jmp	LBB0_16
LBB0_15:
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_F_LFTG_X@GOTPCREL(%rip), %rax
LBB0_16:
	mulss	(%rax), %xmm0
	movss	%xmm0, (%rbx)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_LFTG_K,4,2                   ## @F_LFTG_K
	.comm	_F_LFTG_X,4,2                   ## @F_LFTG_X
	.comm	_F_LFTG_DELTA,4,2               ## @F_LFTG_DELTA
	.comm	_F_LFTG_GAMMA,4,2               ## @F_LFTG_GAMMA
	.comm	_F_LFTG_BETA,4,2                ## @F_LFTG_BETA
	.comm	_F_LFTG_ALPHA,4,2               ## @F_LFTG_ALPHA
	.no_dead_strip	_sr_1d97_float
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sr_1d97_float
_sr_1d97_float:                         ; @sr_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	x21, x1
	mov	x19, x0
	add	w8, w1, #1
	cmp	w8, w2
	b.ge	LBB0_13
; %bb.1:
	mov	x20, x2
	mov	x0, x19
	mov	x1, x21
	bl	_extend97_float
	asr	w9, w21, #1
	sub	w11, w9, #1
	asr	w10, w20, #1
	add	w12, w10, #2
	lsl	w8, w9, #1
	cmp	w9, w12
	b.gt	LBB0_4
; %bb.2:
	sub	w12, w8, #1
	sxtw	x13, w10
	sub	x13, x13, w9, sxtw
	add	x13, x13, #3
Lloh0:
	adrp	x14, _F_LFTG_DELTA@GOTPAGE
Lloh1:
	ldr	x14, [x14, _F_LFTG_DELTA@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x14]
	sub	w15, w12, #2
	ldr	s1, [x19, w15, sxtw #2]
	sub	w15, w12, #1
	ldr	s2, [x19, w12, sxtw #2]
	sbfiz	x15, x15, #2, #32
	ldr	s3, [x19, x15]
	fadd	s1, s1, s2
	fmsub	s0, s0, s1, s3
	str	s0, [x19, x15]
	add	w12, w12, #2
	subs	x13, x13, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	w11, w10
	b.gt	LBB0_7
; %bb.5:
	mov	x11, x10
	sxtw	x11, w11
	sxtw	x12, w9
	sub	x12, x12, #2
Lloh2:
	adrp	x13, _F_LFTG_GAMMA@GOTPAGE
Lloh3:
	ldr	x13, [x13, _F_LFTG_GAMMA@GOTPAGEOFF]
	mov	x14, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w15, w14, #2
	ldr	s0, [x19, w15, sxtw #2]
	ldr	s1, [x19, w14, sxtw #2]
	ldr	s2, [x13]
	fadd	s0, s0, s1
	sub	w15, w14, #1
	sbfiz	x15, x15, #2, #32
	ldr	s1, [x19, x15]
	fmsub	s0, s2, s0, s1
	str	s0, [x19, x15]
	add	w14, w14, #2
	add	x12, x12, #1
	cmp	x12, x11
	b.lt	LBB0_6
LBB0_7:
	cmp	w9, w10
	b.gt	LBB0_10
; %bb.8:
	sub	w11, w10, w9
	add	w11, w11, #1
Lloh4:
	adrp	x12, _F_LFTG_BETA@GOTPAGE
Lloh5:
	ldr	x12, [x12, _F_LFTG_BETA@GOTPAGEOFF]
	mov	x13, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x12]
	sub	w14, w13, #1
	ldr	s1, [x19, w14, sxtw #2]
	add	w14, w13, #1
	ldr	s2, [x19, w14, sxtw #2]
	sbfiz	x14, x13, #2, #32
	ldr	s3, [x19, x14]
	fadd	s1, s1, s2
	fmadd	s0, s0, s1, s3
	str	s0, [x19, x14]
	add	w13, w13, #2
	subs	w11, w11, #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
Lloh6:
	adrp	x10, _F_LFTG_ALPHA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _F_LFTG_ALPHA@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x10]
	ldr	s1, [x19, w8, sxtw #2]
	add	w11, w8, #1
	add	w8, w8, #2
	ldr	s2, [x19, w8, sxtw #2]
	sbfiz	x11, x11, #2, #32
	ldr	s3, [x19, x11]
	fadd	s1, s1, s2
	fmadd	s0, s0, s1, s3
	str	s0, [x19, x11]
	subs	x9, x9, #1
	b.ne	LBB0_12
	b	LBB0_17
LBB0_13:
	cmp	w21, #1
	b.ne	LBB0_15
; %bb.14:
Lloh8:
	adrp	x8, _F_LFTG_K@GOTPAGE
Lloh9:
	ldr	x8, [x8, _F_LFTG_K@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	scvtf	s0, w8
	add	x8, x19, #4
	mov	x19, x8
	b	LBB0_16
LBB0_15:
	ldr	s0, [x19]
Lloh11:
	adrp	x8, _F_LFTG_X@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_LFTG_X@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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_F_LFTG_K,4,2                   ; @F_LFTG_K
	.comm	_F_LFTG_X,4,2                   ; @F_LFTG_X
	.comm	_F_LFTG_DELTA,4,2               ; @F_LFTG_DELTA
	.comm	_F_LFTG_GAMMA,4,2               ; @F_LFTG_GAMMA
	.comm	_F_LFTG_BETA,4,2                ; @F_LFTG_BETA
	.comm	_F_LFTG_ALPHA,4,2               ; @F_LFTG_ALPHA
	.no_dead_strip	_sr_1d97_float
.subsections_via_symbols
