	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4117_rx_put
_snd_ak4117_rx_put:                     ## @snd_ak4117_rx_put
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_snd_kcontrol_chip
	movq	%rax, %r12
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	(%r12), %rax
	movq	_AK4117_REG_IO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%rax,%rsi,4), %eax
	movq	(%r15), %rcx
	movq	(%rcx), %r8
	testq	%r8, %r8
	setne	%dl
	movq	_AK4117_IPS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%eax, %edi
	setne	%cl
	movl	%edx, %ebx
	xorb	%cl, %bl
	cmpb	%cl, %dl
	je	LBB0_2
## %bb.1:
	movl	%edi, %ecx
	notl	%ecx
	andl	%ecx, %eax
	xorl	%edx, %edx
	testq	%r8, %r8
	cmovnel	%edi, %edx
	orl	%eax, %edx
	movq	%r12, %rdi
	callq	_reg_write
LBB0_2:
	movzbl	%bl, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AK4117_REG_IO,8,3              ## @AK4117_REG_IO
	.comm	_AK4117_IPS,4,2                 ## @AK4117_IPS
	.no_dead_strip	_snd_ak4117_rx_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ak4117_rx_put
_snd_ak4117_rx_put:                     ; @snd_ak4117_rx_put
	.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	x21, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_irq
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AK4117_REG_IO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AK4117_REG_IO@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	ldr	w8, [x8, x1, lsl #2]
	ldr	x9, [x21]
	ldr	x9, [x9]
	cmp	x9, #0
Lloh3:
	adrp	x10, _AK4117_IPS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AK4117_IPS@GOTPAGEOFF]
	cset	w11, ne
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w12, ne
	eor	w21, w11, w12
	cmp	w11, w12
	b.eq	LBB0_2
; %bb.1:
	bic	w8, w8, w10
	cmp	x9, #0
	csel	w9, w10, wzr, ne
	orr	w2, w8, w9
	mov	x0, x20
	bl	_reg_write
LBB0_2:
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AK4117_REG_IO,8,3              ; @AK4117_REG_IO
	.comm	_AK4117_IPS,4,2                 ; @AK4117_IPS
	.no_dead_strip	_snd_ak4117_rx_put
.subsections_via_symbols
