	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_mixer_init
_vortex_mixer_init:                     ## @vortex_mixer_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_mchannels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NR_MIXOUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_rampchs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_VORTEX_MIX_SMP@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	movl	$380, %ebx                      ## imm = 0x17C
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rsi
	movl	(%r15), %edi
	xorl	%edx, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	cmpl	$-4, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_VORTEX_MIX_ENIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	$508, %ebx                      ## imm = 0x1FC
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rsi
	movl	(%r15), %edi
	xorl	%edx, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	cmpl	$-4, %ebx
	jne	LBB0_3
## %bb.4:
	movq	(%r14), %r14
	movl	$380, %ebx                      ## imm = 0x17C
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%rbx), %rsi
	movl	(%r15), %edi
	xorl	%edx, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	cmpl	$-4, %ebx
	jne	LBB0_5
## %bb.6:
	movq	_VORTEX_MIX_INVOL_A@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$2044, %ebx                     ## imm = 0x7FC
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%rbx), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	cmpl	$-4, %ebx
	jne	LBB0_7
## %bb.8:
	movq	_VORTEX_MIX_VOL_A@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	60(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	56(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	52(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	48(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	44(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	40(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	36(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	32(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	28(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	24(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	20(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	16(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	12(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	8(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	4(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	%r14, %rsi
	movl	$128, %edx
	callq	_hwwrite
	movq	_VORTEX_MIX_INVOL_B@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$2044, %ebx                     ## imm = 0x7FC
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%rbx), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	cmpl	$-4, %ebx
	jne	LBB0_9
## %bb.10:
	movq	_VORTEX_MIX_VOL_B@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	60(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	56(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	52(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	48(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	44(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	40(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	36(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	32(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	28(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	24(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	20(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	16(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	12(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	8(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	leaq	4(%r14), %rsi
	movl	(%r15), %edi
	movl	$128, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	%r14, %rsi
	movl	$128, %edx
	callq	_hwwrite
	movq	_MIXER_RTBASE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	testq	%r14, %r14
	jle	LBB0_13
## %bb.11:
	movq	_VORTEX_MIXER_RTBASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%r14,4), %rbx
	addq	$-4, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hwwrite
	addq	$-4, %rbx
	decl	%r14d
	jne	LBB0_12
LBB0_13:
	movl	(%r15), %edi
	movq	_VORTEX_MIXER_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mchannels,4,2                  ## @mchannels
	.comm	_NR_MIXOUT,4,2                  ## @NR_MIXOUT
	.comm	_rampchs,4,2                    ## @rampchs
	.comm	_VORTEX_MIX_SMP,8,3             ## @VORTEX_MIX_SMP
	.comm	_VORTEX_MIX_ENIN,8,3            ## @VORTEX_MIX_ENIN
	.comm	_VORTEX_MIX_INVOL_A,8,3         ## @VORTEX_MIX_INVOL_A
	.comm	_VORTEX_MIX_VOL_A,8,3           ## @VORTEX_MIX_VOL_A
	.comm	_VORTEX_MIX_INVOL_B,8,3         ## @VORTEX_MIX_INVOL_B
	.comm	_VORTEX_MIX_VOL_B,8,3           ## @VORTEX_MIX_VOL_B
	.comm	_VORTEX_MIXER_RTBASE,8,3        ## @VORTEX_MIXER_RTBASE
	.comm	_MIXER_RTBASE_SIZE,4,2          ## @MIXER_RTBASE_SIZE
	.comm	_VORTEX_MIXER_SR,8,3            ## @VORTEX_MIXER_SR
	.no_dead_strip	_vortex_mixer_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_mixer_init
_vortex_mixer_init:                     ; @vortex_mixer_init
	.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
Lloh0:
	adrp	x8, _mchannels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mchannels@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x20, _NR_MIXOUT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _NR_MIXOUT@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh5:
	adrp	x8, _rampchs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rampchs@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh8:
	adrp	x20, _VORTEX_MIX_SMP@GOTPAGE
Lloh9:
	ldr	x20, [x20, _VORTEX_MIX_SMP@GOTPAGEOFF]
	ldr	x21, [x20]
	mov	w22, #380
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x21, x22
	ldr	w0, [x19]
	mov	w2, #0
	bl	_hwwrite
	sub	x22, x22, #4
	cmn	w22, #4
	b.ne	LBB0_1
; %bb.2:
Lloh10:
	adrp	x8, _VORTEX_MIX_ENIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VORTEX_MIX_ENIN@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	mov	w22, #508
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x21, x22
	ldr	w0, [x19]
	mov	w2, #0
	bl	_hwwrite
	sub	x22, x22, #4
	cmn	w22, #4
	b.ne	LBB0_3
; %bb.4:
	ldr	x20, [x20]
	mov	w21, #380
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, x21
	ldr	w0, [x19]
	mov	w2, #0
	bl	_hwwrite
	sub	x21, x21, #4
	cmn	w21, #4
	b.ne	LBB0_5
; %bb.6:
Lloh13:
	adrp	x8, _VORTEX_MIX_INVOL_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VORTEX_MIX_INVOL_A@GOTPAGEOFF]
Lloh15:
	ldr	x20, [x8]
	mov	w21, #2044
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, x21
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	sub	x21, x21, #4
	cmn	w21, #4
	b.ne	LBB0_7
; %bb.8:
Lloh16:
	adrp	x8, _VORTEX_MIX_VOL_A@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VORTEX_MIX_VOL_A@GOTPAGEOFF]
Lloh18:
	ldr	x20, [x8]
	add	x1, x20, #60
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #56
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #52
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #48
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #44
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #40
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #36
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #32
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #28
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #24
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #20
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #16
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #12
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #8
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #4
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #128
	bl	_hwwrite
Lloh19:
	adrp	x8, _VORTEX_MIX_INVOL_B@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VORTEX_MIX_INVOL_B@GOTPAGEOFF]
Lloh21:
	ldr	x20, [x8]
	mov	w21, #2044
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, x21
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	sub	x21, x21, #4
	cmn	w21, #4
	b.ne	LBB0_9
; %bb.10:
Lloh22:
	adrp	x8, _VORTEX_MIX_VOL_B@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VORTEX_MIX_VOL_B@GOTPAGEOFF]
Lloh24:
	ldr	x20, [x8]
	add	x1, x20, #60
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #56
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #52
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #48
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #44
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #40
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #36
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #32
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #28
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #24
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #20
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #16
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #12
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #8
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	add	x1, x20, #4
	ldr	w0, [x19]
	mov	w2, #128
	bl	_hwwrite
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #128
	bl	_hwwrite
Lloh25:
	adrp	x8, _MIXER_RTBASE_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MIXER_RTBASE_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	cmp	w21, #1
	b.lt	LBB0_13
; %bb.11:
	lsl	w8, w21, #2
	sub	w8, w8, #4
Lloh28:
	adrp	x9, _VORTEX_MIXER_RTBASE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _VORTEX_MIXER_RTBASE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x20, x9, w8, sxtw
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #0
	bl	_hwwrite
	sub	x20, x20, #4
	subs	w21, w21, #1
	b.ne	LBB0_12
LBB0_13:
	ldr	w0, [x19]
Lloh31:
	adrp	x8, _VORTEX_MIXER_SR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VORTEX_MIXER_SR@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	mov	w2, #0
	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
	b	_hwwrite
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_mchannels,4,2                  ; @mchannels
	.comm	_NR_MIXOUT,4,2                  ; @NR_MIXOUT
	.comm	_rampchs,4,2                    ; @rampchs
	.comm	_VORTEX_MIX_SMP,8,3             ; @VORTEX_MIX_SMP
	.comm	_VORTEX_MIX_ENIN,8,3            ; @VORTEX_MIX_ENIN
	.comm	_VORTEX_MIX_INVOL_A,8,3         ; @VORTEX_MIX_INVOL_A
	.comm	_VORTEX_MIX_VOL_A,8,3           ; @VORTEX_MIX_VOL_A
	.comm	_VORTEX_MIX_INVOL_B,8,3         ; @VORTEX_MIX_INVOL_B
	.comm	_VORTEX_MIX_VOL_B,8,3           ; @VORTEX_MIX_VOL_B
	.comm	_VORTEX_MIXER_RTBASE,8,3        ; @VORTEX_MIXER_RTBASE
	.comm	_MIXER_RTBASE_SIZE,4,2          ; @MIXER_RTBASE_SIZE
	.comm	_VORTEX_MIXER_SR,8,3            ; @VORTEX_MIXER_SR
	.no_dead_strip	_vortex_mixer_init
.subsections_via_symbols
