	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdsp_info_spdif_in
_snd_hdsp_info_spdif_in:                ## @snd_hdsp_info_spdif_in
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	_SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movl	$1, (%rbx)
	movq	(%rax), %rcx
	movq	_H9632@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	leal	3(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movl	8(%rbx), %ecx
	orl	$2, %eax
	cmpl	%eax, %ecx
	jle	LBB0_2
## %bb.1:
	movl	%eax, 8(%rbx)
	movl	%eax, %ecx
LBB0_2:
	movl	12(%rbx), %edi
	movslq	%ecx, %rax
	leaq	_reltable.snd_hdsp_info_spdif_in(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	callq	_strcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.snd_hdsp_info_spdif_in
_reltable.snd_hdsp_info_spdif_in:
	.long	L_.str-_reltable.snd_hdsp_info_spdif_in
	.long	L_.str.1-_reltable.snd_hdsp_info_spdif_in
	.long	L_.str.2-_reltable.snd_hdsp_info_spdif_in
	.long	L_.str.3-_reltable.snd_hdsp_info_spdif_in

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

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

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

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

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_H9632,8,3                      ## @H9632
	.no_dead_strip	_snd_hdsp_info_spdif_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdsp_info_spdif_in
_snd_hdsp_info_spdif_in:                ; @snd_hdsp_info_spdif_in
	.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
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _H9632@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H9632@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #1
	mov	w9, #3
	cinc	w9, w9, eq
	stp	w8, w9, [x19]
	ldr	w8, [x19, #8]
	mov	w9, #2
	cinc	w9, w9, eq
	cmp	w8, w9
	b.le	LBB0_2
; %bb.1:
	str	w9, [x19, #8]
	mov	x8, x9
LBB0_2:
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x9, _snd_hdsp_info_spdif_in.texts@PAGE
Lloh7:
	add	x9, x9, _snd_hdsp_info_spdif_in.texts@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	bl	_strcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @snd_hdsp_info_spdif_in.texts
_snd_hdsp_info_spdif_in.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	"Optical"

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

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

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

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_H9632,8,3                      ; @H9632
	.no_dead_strip	_snd_hdsp_info_spdif_in
.subsections_via_symbols
