	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme9652_info_sync_pref
_snd_rme9652_info_sync_pref:            ## @snd_rme9652_info_sync_pref
	.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	_RME9652_NCHANNELS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	addl	$3, %eax
	movl	%eax, 4(%rbx)
	movl	8(%rbx), %ecx
	cmpl	%eax, %ecx
	jl	LBB0_2
## %bb.1:
	decl	%eax
	movl	%eax, 8(%rbx)
	movl	%eax, %ecx
LBB0_2:
	movl	12(%rbx), %edi
	movslq	%ecx, %rax
	leaq	_reltable.snd_rme9652_info_sync_pref(%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_rme9652_info_sync_pref
_reltable.snd_rme9652_info_sync_pref:
	.long	L_.str-_reltable.snd_rme9652_info_sync_pref
	.long	L_.str.1-_reltable.snd_rme9652_info_sync_pref
	.long	L_.str.2-_reltable.snd_rme9652_info_sync_pref
	.long	L_.str.3-_reltable.snd_rme9652_info_sync_pref

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

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

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

L_.str.3:                               ## @.str.3
	.asciz	"ADAT3 In"

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_RME9652_NCHANNELS,8,3          ## @RME9652_NCHANNELS
	.no_dead_strip	_snd_rme9652_info_sync_pref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme9652_info_sync_pref
_snd_rme9652_info_sync_pref:            ; @snd_rme9652_info_sync_pref
	.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]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _RME9652_NCHANNELS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RME9652_NCHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	mov	w9, #3
	cinc	w9, w9, eq
	stp	w8, w9, [x19]
	ldr	w8, [x19, #8]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	sub	w8, w9, #1
	str	w8, [x19, #8]
LBB0_2:
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x9, _snd_rme9652_info_sync_pref.texts@PAGE
Lloh7:
	add	x9, x9, _snd_rme9652_info_sync_pref.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_rme9652_info_sync_pref.texts
_snd_rme9652_info_sync_pref.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	"IEC958 In"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"ADAT3 In"

	.comm	_SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED
	.comm	_RME9652_NCHANNELS,8,3          ; @RME9652_NCHANNELS
	.no_dead_strip	_snd_rme9652_info_sync_pref
.subsections_via_symbols
