	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_wss_info_mux
_snd_wss_info_mux:                      ## @snd_wss_info_mux
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	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_9
LBB0_2:
	movq	_SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movabsq	$17179869186, %rax              ## imm = 0x400000002
	movq	%rax, (%r14)
	cmpl	$4, 8(%r14)
	jl	LBB0_4
## %bb.3:
	movl	$3, 8(%r14)
LBB0_4:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	leaq	_snd_wss_info_mux.gusmax_texts(%rip), %rcx
	leaq	_snd_wss_info_mux.texts(%rip), %rax
	cmoveq	%rcx, %rax
	movl	(%rbx), %edx
	cmpl	$128, %edx
	je	LBB0_7
## %bb.5:
	cmpl	$129, %edx
	jne	LBB0_8
## %bb.6:
	movq	%rcx, %rax
	jmp	LBB0_8
LBB0_7:
	leaq	_snd_wss_info_mux.opl3sa_texts(%rip), %rax
LBB0_8:
	movl	12(%r14), %edi
	movslq	8(%r14), %rcx
	movq	(%rax,%rcx,8), %rsi
	callq	_strcpy
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @snd_wss_info_mux.texts
_snd_wss_info_mux.texts:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Line"

L_.str.1:                               ## @.str.1
	.asciz	"Aux"

L_.str.2:                               ## @.str.2
	.asciz	"Mic"

L_.str.3:                               ## @.str.3
	.asciz	"Mix"

	.section	__DATA,__const
	.p2align	4                               ## @snd_wss_info_mux.opl3sa_texts
_snd_wss_info_mux.opl3sa_texts:
	.quad	L_.str
	.quad	L_.str.4
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"CD"

	.section	__DATA,__const
	.p2align	4                               ## @snd_wss_info_mux.gusmax_texts
_snd_wss_info_mux.gusmax_texts:
	.quad	L_.str
	.quad	L_.str.5
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"Synth"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
L_.str.6:                               ## @.str.6
	.asciz	"GUS MAX"

	.no_dead_strip	_snd_wss_info_mux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function snd_wss_info_mux
lCPI0_0:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_snd_wss_info_mux:                      ; @snd_wss_info_mux
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	x8, [x0, #8]
	cmp	x8, #0
	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_8
LBB0_2:
Lloh3:
	adrp	x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	w8, [x19, #8]
	cmp	w8, #4
	b.lt	LBB0_4
; %bb.3:
	mov	w8, #3
	str	w8, [x19, #8]
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.6@PAGE
Lloh9:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
Lloh10:
	adrp	x8, _snd_wss_info_mux.texts@PAGE
Lloh11:
	add	x8, x8, _snd_wss_info_mux.texts@PAGEOFF
Lloh12:
	adrp	x9, _snd_wss_info_mux.gusmax_texts@PAGE
Lloh13:
	add	x9, x9, _snd_wss_info_mux.gusmax_texts@PAGEOFF
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w9, [x20]
	cmp	w9, #128
	b.eq	LBB0_6
; %bb.5:
	cmp	w9, #129
Lloh14:
	adrp	x9, _snd_wss_info_mux.gusmax_texts@PAGE
Lloh15:
	add	x9, x9, _snd_wss_info_mux.gusmax_texts@PAGEOFF
	csel	x8, x8, x9, ne
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _snd_wss_info_mux.opl3sa_texts@PAGE
Lloh17:
	add	x8, x8, _snd_wss_info_mux.opl3sa_texts@PAGEOFF
LBB0_7:
	ldp	w9, w0, [x19, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldr	x1, [x8, x9, lsl #3]
	bl	_strcpy
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @snd_wss_info_mux.texts
_snd_wss_info_mux.texts:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line"

l_.str.1:                               ; @.str.1
	.asciz	"Aux"

l_.str.2:                               ; @.str.2
	.asciz	"Mic"

l_.str.3:                               ; @.str.3
	.asciz	"Mix"

	.section	__DATA,__const
	.p2align	3                               ; @snd_wss_info_mux.opl3sa_texts
_snd_wss_info_mux.opl3sa_texts:
	.quad	l_.str
	.quad	l_.str.4
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"CD"

	.section	__DATA,__const
	.p2align	3                               ; @snd_wss_info_mux.gusmax_texts
_snd_wss_info_mux.gusmax_texts:
	.quad	l_.str
	.quad	l_.str.5
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"Synth"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
l_.str.6:                               ; @.str.6
	.asciz	"GUS MAX"

	.no_dead_strip	_snd_wss_info_mux
.subsections_via_symbols
