	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc655_iec958_route_info
_alc655_iec958_route_info:              ## @alc655_iec958_route_info
	.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), %rax
	cmpq	$1, %rax
	movl	$4, %ecx
	sbbl	$0, %ecx
	movl	%ecx, 4(%rbx)
	movl	8(%rbx), %edx
	cmpl	%ecx, %edx
	jl	LBB0_2
## %bb.1:
	decl	%ecx
	movl	%ecx, 8(%rbx)
	movl	%ecx, %edx
LBB0_2:
	testq	%rax, %rax
	movl	12(%rbx), %edi
	movslq	%edx, %rax
	leaq	_alc655_iec958_route_info.texts_658(%rip), %rcx
	leaq	_alc655_iec958_route_info.texts_655(%rip), %rdx
	cmovneq	%rcx, %rdx
	movq	(%rdx,%rax,8), %rsi
	callq	_strcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @alc655_iec958_route_info.texts_655
_alc655_iec958_route_info.texts_655:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

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

L_.str.1:                               ## @.str.1
	.asciz	"Analog In"

L_.str.2:                               ## @.str.2
	.asciz	"IEC958 In"

	.section	__DATA,__const
	.p2align	4                               ## @alc655_iec958_route_info.texts_658
_alc655_iec958_route_info.texts_658:
	.quad	L_.str
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.2

	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"Analog1 In"

L_.str.4:                               ## @.str.4
	.asciz	"Analog2 In"

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.no_dead_strip	_alc655_iec958_route_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc655_iec958_route_info
_alc655_iec958_route_info:              ; @alc655_iec958_route_info
	.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]
	mov	w9, #1
	ldr	x8, [x0]
	cmp	x8, #0
	mov	w10, #3
	cinc	w10, w10, ne
	stp	w9, w10, [x19]
	ldr	w9, [x19, #8]
	cmp	w9, w10
	b.lt	LBB0_2
; %bb.1:
	sub	w9, w10, #1
	str	w9, [x19, #8]
LBB0_2:
	ldr	w0, [x19, #12]
	sbfiz	x9, x9, #3, #32
Lloh3:
	adrp	x10, _alc655_iec958_route_info.texts_658@PAGE
Lloh4:
	add	x10, x10, _alc655_iec958_route_info.texts_658@PAGEOFF
	add	x10, x10, x9
Lloh5:
	adrp	x11, _alc655_iec958_route_info.texts_655@PAGE
Lloh6:
	add	x11, x11, _alc655_iec958_route_info.texts_655@PAGEOFF
	add	x9, x11, x9
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	x1, [x8]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @alc655_iec958_route_info.texts_655
_alc655_iec958_route_info.texts_655:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

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

l_.str.1:                               ; @.str.1
	.asciz	"Analog In"

l_.str.2:                               ; @.str.2
	.asciz	"IEC958 In"

	.section	__DATA,__const
	.p2align	3                               ; @alc655_iec958_route_info.texts_658
_alc655_iec958_route_info.texts_658:
	.quad	l_.str
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.2

	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"Analog1 In"

l_.str.4:                               ; @.str.4
	.asciz	"Analog2 In"

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.no_dead_strip	_alc655_iec958_route_info
.subsections_via_symbols
