	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbr_hf_gen_c
_sbr_hf_gen_c:                          ## @sbr_hf_gen_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%r9d, %r8d
	jge	LBB0_8
## %bb.1:
	movss	(%rcx), %xmm12                  ## xmm12 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm12
	mulss	%xmm0, %xmm12
	movss	4(%rcx), %xmm14                 ## xmm14 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm14
	mulss	%xmm0, %xmm14
	movss	(%rdx), %xmm13                  ## xmm13 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm13
	mulss	4(%rdx), %xmm0
	movslq	%r8d, %rax
	movslq	%r9d, %r11
	movq	%r11, %r8
	subq	%rax, %r8
	cmpq	$4, %r8
	jb	LBB0_7
## %bb.2:
	leaq	(%rdi,%rax,8), %r9
	leaq	(%rsi,%rax,8), %rdx
	addq	$-16, %rdx
	leaq	(%rsi,%r11,8), %rcx
	cmpq	%rcx, %r9
	jae	LBB0_4
## %bb.3:
	leaq	(%rdi,%r11,8), %rcx
	cmpq	%rcx, %rdx
	jb	LBB0_7
LBB0_4:
	movq	%r8, %r10
	andq	$-4, %r10
	addq	%r10, %rax
	movaps	%xmm14, %xmm8
	shufps	$0, %xmm14, %xmm8               ## xmm8 = xmm8[0,0],xmm14[0,0]
	movaps	%xmm12, %xmm9
	shufps	$0, %xmm12, %xmm9               ## xmm9 = xmm9[0,0],xmm12[0,0]
	movaps	%xmm13, %xmm10
	shufps	$0, %xmm13, %xmm10              ## xmm10 = xmm10[0,0],xmm13[0,0]
	movaps	%xmm0, %xmm11
	shufps	$0, %xmm0, %xmm11               ## xmm11 = xmm11[0,0],xmm0[0,0]
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rcx,8), %xmm6
	movups	8(%rdx,%rcx,8), %xmm7
	movups	16(%rdx,%rcx,8), %xmm15
	movups	24(%rdx,%rcx,8), %xmm3
	movaps	%xmm6, %xmm2
	shufps	$136, %xmm15, %xmm2             ## xmm2 = xmm2[0,2],xmm15[0,2]
	shufps	$221, %xmm15, %xmm6             ## xmm6 = xmm6[1,3],xmm15[1,3]
	movaps	%xmm8, %xmm5
	mulps	%xmm6, %xmm5
	movaps	%xmm2, %xmm1
	mulps	%xmm9, %xmm1
	subps	%xmm5, %xmm1
	movaps	%xmm7, %xmm5
	shufps	$136, %xmm3, %xmm5              ## xmm5 = xmm5[0,2],xmm3[0,2]
	shufps	$221, %xmm3, %xmm7              ## xmm7 = xmm7[1,3],xmm3[1,3]
	movaps	%xmm5, %xmm3
	mulps	%xmm10, %xmm3
	addps	%xmm1, %xmm3
	movaps	%xmm7, %xmm1
	mulps	%xmm11, %xmm1
	subps	%xmm1, %xmm3
	movups	32(%rdx,%rcx,8), %xmm1
	movaps	%xmm15, %xmm4
	shufps	$136, %xmm1, %xmm4              ## xmm4 = xmm4[0,2],xmm1[0,2]
	addps	%xmm3, %xmm4
	shufps	$221, %xmm1, %xmm15             ## xmm15 = xmm15[1,3],xmm1[1,3]
	mulps	%xmm8, %xmm2
	mulps	%xmm9, %xmm6
	addps	%xmm2, %xmm6
	mulps	%xmm10, %xmm7
	addps	%xmm6, %xmm7
	mulps	%xmm11, %xmm5
	addps	%xmm7, %xmm5
	addps	%xmm15, %xmm5
	movaps	%xmm4, %xmm1
	unpcklps	%xmm5, %xmm1                    ## xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
	unpckhps	%xmm5, %xmm4                    ## xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
	movups	%xmm4, 16(%r9,%rcx,8)
	movups	%xmm1, (%r9,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_5
## %bb.6:
	cmpq	%r10, %r8
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movss	-12(%rsi,%rax,8), %xmm1         ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm14, %xmm1
	movss	-16(%rsi,%rax,8), %xmm2         ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm12, %xmm2
	subss	%xmm1, %xmm2
	movss	-8(%rsi,%rax,8), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm13, %xmm1
	addss	%xmm2, %xmm1
	movss	-4(%rsi,%rax,8), %xmm2          ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	subss	%xmm2, %xmm1
	addss	(%rsi,%rax,8), %xmm1
	movss	%xmm1, (%rdi,%rax,8)
	movss	-16(%rsi,%rax,8), %xmm1         ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm14, %xmm1
	movss	-12(%rsi,%rax,8), %xmm2         ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm12, %xmm2
	addss	%xmm1, %xmm2
	movss	-4(%rsi,%rax,8), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm13, %xmm1
	addss	%xmm2, %xmm1
	movss	-8(%rsi,%rax,8), %xmm2          ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	addss	4(%rsi,%rax,8), %xmm2
	movss	%xmm2, 4(%rdi,%rax,8)
	incq	%rax
	cmpq	%rax, %r11
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sbr_hf_gen_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbr_hf_gen_c
_sbr_hf_gen_c:                          ; @sbr_hf_gen_c
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w4, w5
	b.ge	LBB0_9
; %bb.1:
	ldp	s1, s2, [x3]
	fmul	s1, s1, s0
	fmul	s1, s1, s0
	fmul	s2, s2, s0
	fmul	s2, s2, s0
	ldp	s3, s4, [x2]
	fmul	s3, s3, s0
	fmul	s0, s4, s0
	sxtw	x8, w4
	sxtw	x9, w5
	sub	x10, x9, x8
	cmp	x10, #4
	b.lo	LBB0_7
; %bb.2:
	lsl	x13, x8, #3
	add	x11, x0, x13
	lsl	x12, x9, #3
	add	x13, x13, x1
	add	x14, x1, x12
	cmp	x11, x14
	b.hs	LBB0_4
; %bb.3:
	sub	x14, x13, #16
	add	x12, x0, x12
	cmp	x14, x12
	b.lo	LBB0_7
LBB0_4:
	and	x12, x10, #0xfffffffffffffffc
	dup.4s	v4, v1[0]
	dup.4s	v5, v3[0]
	add	x8, x12, x8
	dup.4s	v6, v0[0]
	sub	x15, x13, #8
	mov	x13, x12
	mov	x14, x15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x16, x15, #8
	ld2.4s	{ v16, v17 }, [x16]
	fneg.4s	v7, v17
	ld2.4s	{ v18, v19 }, [x14], #32
	fmul.4s	v7, v7, v2[0]
	add	x16, x15, #8
	ld2.4s	{ v20, v21 }, [x16]
	fmla.4s	v7, v4, v16
	fmla.4s	v7, v5, v18
	fmls.4s	v7, v6, v19
	fadd.4s	v18, v20, v7
	fmul.4s	v7, v16, v2[0]
	fmla.4s	v7, v4, v17
	ld2.4s	{ v16, v17 }, [x15]
	fmla.4s	v7, v5, v17
	fmla.4s	v7, v6, v16
	fadd.4s	v19, v21, v7
	st2.4s	{ v18, v19 }, [x11], #32
	mov	x15, x14
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x12
	b.eq	LBB0_9
LBB0_7:
	sub	x9, x9, x8
	lsl	x10, x8, #3
	add	x8, x0, x10
	add	x8, x8, #4
	add	x10, x1, x10
	sub	x10, x10, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s4, s5, [x10, #-12]
	fneg	s5, s5
	fmul	s5, s2, s5
	fmadd	s4, s4, s1, s5
	ldur	s5, [x10, #-4]
	fmadd	s4, s5, s3, s4
	ldp	s5, s6, [x10]
	fmsub	s4, s5, s0, s4
	fadd	s4, s6, s4
	stur	s4, [x8, #-4]
	ldp	s5, s4, [x10, #-12]
	fmul	s5, s2, s5
	fmadd	s4, s4, s1, s5
	ldr	s5, [x10]
	fmadd	s4, s5, s3, s4
	ldur	s5, [x10, #-4]
	fmadd	s4, s5, s0, s4
	ldr	s5, [x10, #8]!
	fadd	s4, s5, s4
	str	s4, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sbr_hf_gen_c
.subsections_via_symbols
