	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10_mixer_set
_a10_mixer_set:                         ## @a10_mixer_set
	.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	%edx, %r14d
	movl	%esi, %ebx
	callq	_mix_getdevinfo
	movq	%rax, %r15
	movq	_a10_mixers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movl	(%rax,%r13), %r12d
	movb	4(%rax,%r13), %cl
	shrl	%cl, %r12d
	movl	%r12d, %ecx
	imull	%r14d, %ecx
	imulq	$1374389535, %rcx, %rbx         ## imm = 0x51EB851F
	shrq	$37, %rbx
	movl	8(%rax,%r13), %esi
	movq	%r15, %rdi
	callq	_CODEC_READ
	movq	_a10_mixers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rdx,%r13), %esi
	movb	4(%rdx,%r13), %cl
	shll	%cl, %ebx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %ebx
	movl	8(%rdx,%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_CODEC_WRITE
	imull	$100, %r14d, %eax
	xorl	%edx, %edx
	divl	%r12d
	movl	%eax, %ecx
	shll	$8, %ecx
	orl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a10_mixers,8,3                 ## @a10_mixers
	.no_dead_strip	_a10_mixer_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10_mixer_set
_a10_mixer_set:                         ; @a10_mixer_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	bl	_mix_getdevinfo
	mov	x21, x0
Lloh0:
	adrp	x22, _a10_mixers@GOTPAGE
Lloh1:
	ldr	x22, [x22, _a10_mixers@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w23, #12
	umaddl	x8, w20, w23, x8
	ldp	w9, w10, [x8]
	lsr	w24, w9, w10
	mul	w9, w24, w19
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x9, w9, w10
	lsr	x25, x9, #37
	ldr	w1, [x8, #8]
	bl	_CODEC_READ
	ldr	x8, [x22]
	umaddl	x8, w20, w23, x8
	ldp	w9, w10, [x8]
	bic	w9, w0, w9
	lsl	w10, w25, w10
	orr	w2, w10, w9
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_CODEC_WRITE
	mov	w8, #100
	mul	w8, w19, w8
	udiv	w8, w8, w24
	orr	w0, w8, w8, lsl #8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_a10_mixers,8,3                 ; @a10_mixers
	.no_dead_strip	_a10_mixer_set
.subsections_via_symbols
