	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_mixer                  ## -- Begin function snd_wss_mixer
	.p2align	4, 0x90
_snd_wss_mixer:                         ## @snd_wss_mixer
	.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
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	sete	%dil
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
LBB0_3:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_6:
	movq	8(%r12), %rax
	movq	16(%r12), %r14
	movl	(%r14), %edi
	movl	(%rax), %esi
	callq	_strcpy
	movl	(%r12), %eax
	movq	_WSS_HW_OPTI93X@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.7:
	movq	_snd_opti93x_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_9
	jmp	LBB0_18
LBB0_12:
	movq	_WSS_HW_AD1848_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.13:
	movq	_snd_ad1848_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_18
## %bb.14:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_5
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_15
	jmp	LBB0_18
LBB0_19:
	movq	_snd_wss_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_18
## %bb.20:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_5
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ecx
	addq	$4, %r13
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jb	LBB0_21
	jmp	LBB0_5
LBB0_18:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WSS_HW_OPTI93X,4,2             ## @WSS_HW_OPTI93X
	.comm	_snd_opti93x_controls,8,3       ## @snd_opti93x_controls
	.comm	_WSS_HW_AD1848_MASK,4,2         ## @WSS_HW_AD1848_MASK
	.comm	_snd_ad1848_controls,8,3        ## @snd_ad1848_controls
	.comm	_snd_wss_controls,8,3           ## @snd_wss_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_mixer                  ; -- Begin function snd_wss_mixer
	.p2align	2
_snd_wss_mixer:                         ; @snd_wss_mixer
	.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	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ret
LBB0_4:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
LBB0_5:
	ldp	x8, x20, [x19, #8]
	ldr	w0, [x20]
	ldr	w1, [x8]
	bl	_strcpy
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _WSS_HW_OPTI93X@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WSS_HW_OPTI93X@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.6:
Lloh6:
	adrp	x21, _snd_opti93x_controls@GOTPAGE
Lloh7:
	ldr	x21, [x21, _snd_opti93x_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.7:
	mov	x22, #0
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_8
	b	LBB0_15
LBB0_10:
Lloh8:
	adrp	x9, _WSS_HW_AD1848_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WSS_HW_AD1848_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.11:
Lloh11:
	adrp	x21, _snd_ad1848_controls@GOTPAGE
Lloh12:
	ldr	x21, [x21, _snd_ad1848_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.12:
	mov	x22, #0
	mov	x23, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_13
LBB0_15:
	mov	w0, #0
	b	LBB0_3
LBB0_16:
Lloh13:
	adrp	x21, _snd_wss_controls@GOTPAGE
Lloh14:
	ldr	x21, [x21, _snd_wss_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.17:
	mov	x22, #0
	mov	x23, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	mov	x8, x0
	mov	w0, #0
	add	x22, x22, #4
	cmp	x23, w8, uxtw
	b.lo	LBB0_18
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WSS_HW_OPTI93X,4,2             ; @WSS_HW_OPTI93X
	.comm	_snd_opti93x_controls,8,3       ; @snd_opti93x_controls
	.comm	_WSS_HW_AD1848_MASK,4,2         ; @WSS_HW_AD1848_MASK
	.comm	_snd_ad1848_controls,8,3        ; @snd_ad1848_controls
	.comm	_snd_wss_controls,8,3           ; @snd_wss_controls
.subsections_via_symbols
