	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_trident_pcm_mixer_build
_snd_trident_pcm_mixer_build:           ## @snd_trident_pcm_mixer_build
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	sete	%al
	testq	%rsi, %rsi
	sete	%cl
	testq	%rdx, %rdx
	sete	%dl
	orb	%al, %cl
	orb	%dl, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rax
	movq	(%rbx), %rdx
	leaq	(%rdx,%rdx,2), %rcx
	leaq	(%rax,%rcx,8), %rsi
	movq	%r15, 16(%rax,%rcx,8)
	movq	_T4D_DEFAULT_PCM_VOL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 12(%rax,%rcx,8)
	movq	_T4D_DEFAULT_PCM_PAN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 8(%rax,%rcx,8)
	movq	_T4D_DEFAULT_PCM_RVOL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 4(%rax,%rcx,8)
	movq	_T4D_DEFAULT_PCM_CVOL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, (%rax,%rcx,8)
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_snd_trident_notify_pcm_change
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_T4D_DEFAULT_PCM_VOL,4,2        ## @T4D_DEFAULT_PCM_VOL
	.comm	_T4D_DEFAULT_PCM_PAN,4,2        ## @T4D_DEFAULT_PCM_PAN
	.comm	_T4D_DEFAULT_PCM_RVOL,4,2       ## @T4D_DEFAULT_PCM_RVOL
	.comm	_T4D_DEFAULT_PCM_CVOL,4,2       ## @T4D_DEFAULT_PCM_CVOL
	.no_dead_strip	_snd_trident_pcm_mixer_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_trident_pcm_mixer_build
_snd_trident_pcm_mixer_build:           ; @snd_trident_pcm_mixer_build
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x2, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	x2, [x21]
	mov	w9, #24
	madd	x1, x2, x9, x8
	str	x20, [x1, #16]
Lloh3:
	adrp	x8, _T4D_DEFAULT_PCM_VOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T4D_DEFAULT_PCM_VOL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1, #12]
Lloh6:
	adrp	x8, _T4D_DEFAULT_PCM_PAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _T4D_DEFAULT_PCM_PAN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x1, #8]
Lloh9:
	adrp	x8, _T4D_DEFAULT_PCM_RVOL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _T4D_DEFAULT_PCM_RVOL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x1, #4]
Lloh12:
	adrp	x8, _T4D_DEFAULT_PCM_CVOL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _T4D_DEFAULT_PCM_CVOL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x1]
	mov	x0, x19
	mov	w3, #1
	bl	_snd_trident_notify_pcm_change
	mov	w0, #0
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_T4D_DEFAULT_PCM_VOL,4,2        ; @T4D_DEFAULT_PCM_VOL
	.comm	_T4D_DEFAULT_PCM_PAN,4,2        ; @T4D_DEFAULT_PCM_PAN
	.comm	_T4D_DEFAULT_PCM_RVOL,4,2       ; @T4D_DEFAULT_PCM_RVOL
	.comm	_T4D_DEFAULT_PCM_CVOL,4,2       ; @T4D_DEFAULT_PCM_CVOL
	.no_dead_strip	_snd_trident_pcm_mixer_build
.subsections_via_symbols
