	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ak4396_write
_ak4396_write:                          ## @ak4396_write
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AK4396_CSN@GOTPCREL(%rip), %r15
	movq	_AK4396_CCLK@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	(%r15), %eax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_AK4396_CDTI@GOTPCREL(%rip), %r12
	orl	(%r12), %eax
	movl	%eax, %esi
	callq	_snd_ice1712_gpio_set_dir
	movl	(%r13), %esi
	orl	(%r15), %esi
	orl	(%r12), %esi
	notl	%esi
	movq	%rbx, %rdi
	callq	_snd_ice1712_gpio_set_mask
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_set_gpio_bit
	movq	_AK4396_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$14, %eax
	movzwl	%ax, %eax
	andl	$31, %r14d
	shll	$8, %r14d
	movzbl	-44(%rbp), %ecx                 ## 1-byte Folded Reload
	orl	%r14d, %ecx
	leal	(%rax,%rcx), %esi
	addl	$8192, %esi                     ## imm = 0x2000
	movq	%rbx, %rdi
	callq	_ak4396_send_word
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_set_gpio_bit
	movl	$1, %edi
	callq	_udelay
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_snd_ice1712_gpio_set_mask
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_ice1712_gpio_set_dir       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AK4396_CSN,4,2                 ## @AK4396_CSN
	.comm	_AK4396_CCLK,4,2                ## @AK4396_CCLK
	.comm	_AK4396_CDTI,4,2                ## @AK4396_CDTI
	.comm	_AK4396_ADDR,4,2                ## @AK4396_ADDR
	.no_dead_strip	_ak4396_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ak4396_write
_ak4396_write:                          ; @ak4396_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _AK4396_CSN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AK4396_CSN@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _AK4396_CCLK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AK4396_CCLK@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh4:
	adrp	x24, _AK4396_CDTI@GOTPAGE
Lloh5:
	ldr	x24, [x24, _AK4396_CDTI@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w8, w9
	bl	_snd_ice1712_gpio_set_dir
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	mvn	w1, w8
	mov	x0, x19
	bl	_snd_ice1712_gpio_set_mask
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_set_gpio_bit
Lloh6:
	adrp	x8, _AK4396_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AK4396_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w9, w20, #0xff
	bfi	w9, w21, #8, #5
	bfi	w9, w8, #14, #2
	orr	w1, w9, #0x2000
	mov	x0, x19
	bl	_ak4396_send_word
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_set_gpio_bit
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x19]
	mov	x0, x19
	bl	_snd_ice1712_gpio_set_mask
	ldr	w1, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_snd_ice1712_gpio_set_dir
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AK4396_CSN,4,2                 ; @AK4396_CSN
	.comm	_AK4396_CCLK,4,2                ; @AK4396_CCLK
	.comm	_AK4396_CDTI,4,2                ; @AK4396_CDTI
	.comm	_AK4396_ADDR,4,2                ; @AK4396_ADDR
	.no_dead_strip	_ak4396_write
.subsections_via_symbols
