	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function upmix_3_1
LCPI0_0:
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.long	0x7fffffff                      ## float NaN
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_upmix_3_1:                             ## @upmix_3_1
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movss	%xmm5, -44(%rbp)                ## 4-byte Spill
	movaps	%xmm4, -96(%rbp)                ## 16-byte Spill
	movss	%xmm2, -72(%rbp)                ## 4-byte Spill
	movss	%xmm1, -68(%rbp)                ## 4-byte Spill
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movss	%xmm3, -48(%rbp)
	movq	(%rdi), %r14
	movq	40(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	8(%rax), %r12
	movq	16(%rax), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	36(%r14), %edi
	movl	32(%r14), %edx
	movl	24(%r14), %eax
	movl	28(%r14), %ecx
	movl	%eax, (%rsp)
	leaq	-60(%rbp), %r8
	leaq	-48(%rbp), %r9
	callq	_get_lfe
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = [NaN,NaN,NaN,NaN]
	andps	-96(%rbp), %xmm1                ## 16-byte Folded Reload
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
	movl	20(%r14), %edi
	callq	_powf
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	LCPI0_1(%rip), %xmm0
	mulss	LCPI0_2(%rip), %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	16(%r14), %edi
	callq	_powf
	mulss	-56(%rbp), %xmm0                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movaps	-96(%rbp), %xmm0                ## 16-byte Reload
	addss	LCPI0_1(%rip), %xmm0
	mulss	LCPI0_2(%rip), %xmm0
	movl	12(%r14), %edi
	callq	_powf
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movl	8(%r14), %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_powf
	mulss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	-96(%rbp), %xmm0                ## 16-byte Folded Reload
	mulss	LCPI0_2(%rip), %xmm0
	movl	4(%r14), %edi
	callq	_powf
	movss	%xmm0, -96(%rbp)                ## 4-byte Spill
	movl	(%r14), %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_powf
	mulss	-96(%rbp), %xmm0                ## 4-byte Folded Reload
	mulss	-48(%rbp), %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movss	-52(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	leal	(%r15,%r15), %eax
	movslq	%eax, %r14
	movss	%xmm1, (%r13,%r14,4)
	mulss	%xmm0, %xmm2
	leal	1(%r15,%r15), %eax
	movslq	%eax, %rbx
	movss	%xmm2, (%r13,%rbx,4)
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movss	-44(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	%xmm1, (%r12,%r14,4)
	mulss	%xmm0, %xmm2
	movss	%xmm2, (%r12,%rbx,4)
	movss	-72(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movaps	%xmm1, %xmm2
	movss	-56(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movss	%xmm2, (%rax,%r14,4)
	mulss	%xmm0, %xmm3
	movss	%xmm3, (%rax,%rbx,4)
	movss	-60(%rbp), %xmm2                ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movss	%xmm2, (%rax,%r14,4)
	movss	-60(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rax,%rbx,4)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_upmix_3_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function upmix_3_1
_upmix_3_1:                             ; @upmix_3_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	.cfi_offset b12, -104
	.cfi_offset b13, -112
	.cfi_offset b14, -120
	.cfi_offset b15, -128
	mov	x19, x1
	fmov	s12, s5
	fmov	s11, s4
	str	s2, [sp, #4]                    ; 4-byte Folded Spill
	fmov	s9, s1
	fmov	s10, s0
	str	s3, [sp, #12]
	ldr	x24, [x0]
	ldr	x8, [x24, #40]
	ldr	x8, [x8]
	ldp	x23, x22, [x8]
	ldp	x21, x20, [x8, #16]
	ldp	w2, w0, [x24, #32]
	ldp	w6, w3, [x24, #24]
	add	x4, sp, #8
	add	x5, sp, #12
	bl	_get_lfe
	fabs	s0, s11
	fmov	s15, #1.00000000
	fsub	s0, s15, s0
	ldr	w0, [x24, #20]
	bl	_powf
	fmov	s13, s0
	fadd	s0, s12, s15
	fmov	s8, #0.50000000
	fmul	s12, s0, s8
	ldr	w0, [x24, #16]
	fmov	s0, s12
	bl	_powf
	fmul	s0, s13, s0
	ldr	s1, [sp, #12]
	fmul	s14, s0, s1
	fadd	s0, s11, s15
	fmul	s0, s0, s8
	ldr	w0, [x24, #12]
	bl	_powf
	fmov	s13, s0
	ldr	w0, [x24, #8]
	fmov	s0, s12
	bl	_powf
	fmul	s0, s13, s0
	ldr	s1, [sp, #12]
	fmul	s13, s0, s1
	fsub	s0, s15, s11
	fmul	s0, s0, s8
	ldr	w0, [x24, #4]
	bl	_powf
	fmov	s11, s0
	ldr	w0, [x24]
	fmov	s0, s12
	bl	_powf
	fmul	s0, s11, s0
	ldr	s1, [sp, #12]
	fmul	s8, s0, s1
	fmov	s0, s10
	bl	___sincosf_stret
	fmul	s1, s1, s13
	lsl	w8, w19, #1
	sbfiz	x24, x8, #2, #32
	str	s1, [x23, x24]
	sxtw	x8, w19
	fmul	s0, s0, s13
	mov	w19, #4
	bfi	x19, x8, #3, #61
	str	s0, [x23, x19]
	fmov	s0, s9
	bl	___sincosf_stret
	fmul	s1, s1, s8
	str	s1, [x22, x24]
	fmul	s0, s0, s8
	str	s0, [x22, x19]
	ldr	s0, [sp, #4]                    ; 4-byte Folded Reload
	bl	___sincosf_stret
	fmul	s2, s1, s14
	str	s2, [x21, x24]
	fmul	s2, s0, s14
	str	s2, [x21, x19]
	ldr	s2, [sp, #8]
	fmul	s1, s1, s2
	str	s1, [x20, x24]
	ldr	s1, [sp, #8]
	fmul	s0, s0, s1
	str	s0, [x20, x19]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_upmix_3_1
.subsections_via_symbols
