	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_mix_setenablebit
_vortex_mix_setenablebit:               ## @vortex_mix_setenablebit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r15
	leal	3(%r13), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	shll	$5, %ebx
	addl	%ebx, %eax
	andl	$-4, %eax
	movl	(%rdi), %edi
	movq	_VORTEX_MIX_ENIN@GOTPCREL(%rip), %rcx
	movslq	%eax, %r14
	movq	(%rcx), %rsi
	addq	%r14, %rsi
	callq	_hwread
	movl	%r13d, %ecx
	andb	$3, %cl
	movl	%eax, %r12d
	btsl	%ecx, %r12d
	btrl	%ecx, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovel	%eax, %r12d
	movl	(%r15), %edi
	movq	_VORTEX_MIX_INVOL_B@GOTPCREL(%rip), %rax
	addl	%r13d, %ebx
	shll	$2, %ebx
	movslq	%ebx, %rsi
	addq	(%rax), %rsi
	movl	$128, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	_VORTEX_MIX_SMP@GOTPCREL(%rip), %rax
	shll	$2, %r13d
	movslq	%r13d, %rbx
	movq	(%rax), %rsi
	movq	%rax, %r13
	addq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	(%r13), %rax
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	xorl	%edx, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	_VORTEX_MIX_ENIN@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%r14, %rsi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_MIX_ENIN,8,3            ## @VORTEX_MIX_ENIN
	.comm	_VORTEX_MIX_INVOL_B,8,3         ## @VORTEX_MIX_INVOL_B
	.comm	_VORTEX_MIX_SMP,8,3             ## @VORTEX_MIX_SMP
	.no_dead_strip	_vortex_mix_setenablebit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_mix_setenablebit
_vortex_mix_setenablebit:               ; @vortex_mix_setenablebit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	add	w8, w2, #3
	cmp	w2, #0
	csel	w8, w8, w2, lt
	lsl	w22, w1, #5
	add	w8, w8, w22
	and	w8, w8, #0xfffffffc
	ldr	w0, [x0]
Lloh0:
	adrp	x23, _VORTEX_MIX_ENIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VORTEX_MIX_ENIN@GOTPAGEOFF]
	ldr	x9, [x23]
	sxtw	x24, w8
	add	x1, x9, x24
	bl	_hwread
	and	w8, w21, #0x3
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w9, w0, w8
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w20, w8, w9, eq
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _VORTEX_MIX_INVOL_B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VORTEX_MIX_INVOL_B@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	w9, w22, w21
	lsl	w9, w9, #2
	add	x1, x8, w9, sxtw
	mov	w2, #128
	bl	_hwwrite
	ldr	w0, [x19]
Lloh5:
	adrp	x22, _VORTEX_MIX_SMP@GOTPAGE
Lloh6:
	ldr	x22, [x22, _VORTEX_MIX_SMP@GOTPAGEOFF]
	ldr	x8, [x22]
	lsl	w9, w21, #2
	sxtw	x21, w9
	add	x1, x8, x21
	mov	w2, #0
	bl	_hwwrite
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #4
	mov	w2, #0
	bl	_hwwrite
	ldr	w0, [x19]
	ldr	x8, [x23]
	add	x1, x8, x24
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hwwrite
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_MIX_ENIN,8,3            ; @VORTEX_MIX_ENIN
	.comm	_VORTEX_MIX_INVOL_B,8,3         ; @VORTEX_MIX_INVOL_B
	.comm	_VORTEX_MIX_SMP,8,3             ; @VORTEX_MIX_SMP
	.no_dead_strip	_vortex_mix_setenablebit
.subsections_via_symbols
