	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ice1712_pro_internal_clock_get
_snd_ice1712_pro_internal_clock_get:    ## @snd_ice1712_pro_internal_clock_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_is_spdif_master
	movl	$13, %ecx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ICEMT
	movl	%eax, %edi
	callq	_inb
                                        ## kill: def $eax killed $eax def $rax
	andl	$15, %eax
	leaq	-12(%rax), %rcx
	cmpq	$2, %rcx
	ja	LBB0_2
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_snd_BUG
	jmp	LBB0_4
LBB0_2:
	leaq	_snd_ice1712_pro_internal_clock_get.xlate(%rip), %rcx
	movb	(%rax,%rcx), %r15b
LBB0_4:
	movzbl	%r15b, %ecx
LBB0_5:
	movq	(%r14), %rax
	movl	%ecx, (%rax)
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @snd_ice1712_pro_internal_clock_get.xlate
_snd_ice1712_pro_internal_clock_get.xlate:
	.ascii	"\t\006\003\001\007\004\000\f\b\005\002\013\377\377\377\n"

	.comm	_RATE,4,2                       ## @RATE
	.no_dead_strip	_snd_ice1712_pro_internal_clock_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ice1712_pro_internal_clock_get
_snd_ice1712_pro_internal_clock_get:    ; @snd_ice1712_pro_internal_clock_get
	.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
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_is_spdif_master
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #13
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ICEMT
	bl	_inb
                                        ; kill: def $w0 killed $w0 def $x0
	and	x8, x0, #0xf
	sub	x9, x8, #12
	cmp	x9, #2
	b.hi	LBB0_4
; %bb.3:
	bl	_snd_BUG
	mov	w8, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x9, _snd_ice1712_pro_internal_clock_get.xlate@PAGE
Lloh4:
	add	x9, x9, _snd_ice1712_pro_internal_clock_get.xlate@PAGEOFF
	ldrb	w8, [x9, x8]
LBB0_5:
	ldr	x9, [x19]
	str	w8, [x9]
	mov	x0, x20
	bl	_spin_unlock_irq
	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	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_snd_ice1712_pro_internal_clock_get.xlate: ; @snd_ice1712_pro_internal_clock_get.xlate
	.ascii	"\t\006\003\001\007\004\000\f\b\005\002\013\377\377\377\n"

	.comm	_RATE,4,2                       ; @RATE
	.no_dead_strip	_snd_ice1712_pro_internal_clock_get
.subsections_via_symbols
