	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_mix_setinputvolumebyte
_vortex_mix_setinputvolumebyte:         ## @vortex_mix_setinputvolumebyte
	.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
	movl	%ecx, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_VORTEX_MIX_INVOL_A@GOTPCREL(%rip), %rax
	shll	$5, %esi
	addl	%edx, %esi
	shll	$2, %esi
	movslq	%esi, %rbx
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_hwwrite
	movl	(%r15), %edi
	movq	_VORTEX_MIX_INVOL_B@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	callq	_hwread
	cmpb	$-128, %r14b
	je	LBB0_2
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.3:
	movl	(%r15), %edi
	addq	(%r12), %rbx
	movzbl	%r14b, %edx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_MIX_INVOL_A,8,3         ## @VORTEX_MIX_INVOL_A
	.comm	_VORTEX_MIX_INVOL_B,8,3         ## @VORTEX_MIX_INVOL_B
	.no_dead_strip	_vortex_mix_setinputvolumebyte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_mix_setinputvolumebyte
_vortex_mix_setinputvolumebyte:         ; @vortex_mix_setinputvolumebyte
	.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, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _VORTEX_MIX_INVOL_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VORTEX_MIX_INVOL_A@GOTPAGEOFF]
	ldr	w0, [x0]
Lloh2:
	ldr	x8, [x8]
	add	w9, w2, w1, lsl #5
	lsl	w9, w9, #2
	sxtw	x21, w9
	add	x1, x8, x21
	mov	x2, x3
	bl	_hwwrite
	ldr	w0, [x20]
Lloh3:
	adrp	x22, _VORTEX_MIX_INVOL_B@GOTPAGE
Lloh4:
	ldr	x22, [x22, _VORTEX_MIX_INVOL_B@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, x21
	bl	_hwread
	cmp	w19, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	ldr	x8, [x22]
	add	x1, x8, x21
	mov	x2, x19
	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
LBB0_3:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_MIX_INVOL_A,8,3         ; @VORTEX_MIX_INVOL_A
	.comm	_VORTEX_MIX_INVOL_B,8,3         ; @VORTEX_MIX_INVOL_B
	.no_dead_strip	_vortex_mix_setinputvolumebyte
.subsections_via_symbols
