	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4114_spdif_pget
_snd_ak4114_spdif_pget:                 ## @snd_ak4114_spdif_pget
	.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	(%r14), %rax
	movabsq	$85895051016434, %rcx           ## imm = 0x4E1F0000F8F2
	movq	%rcx, (%rax)
	movq	_AK4114_REG_Pc0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_reg_read
	movl	%eax, %r15d
	movq	_AK4114_REG_Pc1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_reg_read
	shll	$8, %eax
	orl	%r15d, %eax
	movzwl	%ax, %eax
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	_AK4114_REG_Pd0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_reg_read
	movl	%eax, %r15d
	movq	_AK4114_REG_Pd1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_reg_read
	shll	$8, %eax
	orl	%r15d, %eax
	movzwl	%ax, %eax
	movq	(%r14), %rcx
	movl	%eax, 12(%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AK4114_REG_Pc0,4,2             ## @AK4114_REG_Pc0
	.comm	_AK4114_REG_Pc1,4,2             ## @AK4114_REG_Pc1
	.comm	_AK4114_REG_Pd0,4,2             ## @AK4114_REG_Pd0
	.comm	_AK4114_REG_Pd1,4,2             ## @AK4114_REG_Pd1
	.no_dead_strip	_snd_ak4114_spdif_pget
.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_ak4114_spdif_pget
lCPI0_0:
	.long	63730                           ; 0xf8f2
	.long	19999                           ; 0x4e1f
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_snd_ak4114_spdif_pget:                 ; @snd_ak4114_spdif_pget
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
Lloh2:
	adrp	x8, _AK4114_REG_Pc0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AK4114_REG_Pc0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_reg_read
	mov	x21, x0
Lloh5:
	adrp	x8, _AK4114_REG_Pc1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AK4114_REG_Pc1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_reg_read
	orr	w8, w21, w0, lsl #8
	and	w8, w8, #0xffff
	ldr	x9, [x19]
	str	w8, [x9, #8]
Lloh8:
	adrp	x8, _AK4114_REG_Pd0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AK4114_REG_Pd0@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_reg_read
	mov	x21, x0
Lloh11:
	adrp	x8, _AK4114_REG_Pd1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AK4114_REG_Pd1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_reg_read
	orr	w8, w21, w0, lsl #8
	and	w8, w8, #0xffff
	ldr	x9, [x19]
	str	w8, [x9, #12]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AK4114_REG_Pc0,4,2             ; @AK4114_REG_Pc0
	.comm	_AK4114_REG_Pc1,4,2             ; @AK4114_REG_Pc1
	.comm	_AK4114_REG_Pd0,4,2             ; @AK4114_REG_Pd0
	.comm	_AK4114_REG_Pd1,4,2             ; @AK4114_REG_Pd1
	.no_dead_strip	_snd_ak4114_spdif_pget
.subsections_via_symbols
