	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm9705_acc_enable
_wm9705_acc_enable:                     ## @wm9705_acc_enable
	.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	%rdi, %r12
	movq	(%rdi), %rax
	movl	4(%rax), %r13d
	movl	8(%rax), %r14d
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	*%rax
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
LBB0_3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_WM97XX_CM_RATE_MASK@GOTPCREL(%rip), %rax
	movq	_WM97XX_ADCSEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WM97XX_DELAY_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WM97XX_SLT_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r13d
	movq	_WM97XX_CTC@GOTPCREL(%rip), %rax
	movq	_WM97XX_COO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	orl	%r13d, %r15d
	movq	_WM97XX_SLEN@GOTPCREL(%rip), %rax
	movq	_delay@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %r15d
	callq	_WM97XX_DELAY
	movl	%eax, %ebx
	movl	20(%r12), %edi
	callq	_WM97XX_SLT
	movl	%eax, %r13d
	movl	16(%r12), %edi
	callq	_WM97XX_RATE
	movq	_pil@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movl	$0, %ecx
	je	LBB0_5
## %bb.4:
	movq	_WM97XX_ADCSEL_PRES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	%r13d, %ebx
	orl	%eax, %ebx
	orl	%ecx, %ebx
	orl	%ebx, %r15d
	movq	_WM9705_PDEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r15d, %r13d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_6:
	movq	_WM97XX_CTC@GOTPCREL(%rip), %rax
	movq	_WM97XX_COO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WM97XX_SLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r13d
	movq	_WM9705_PDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movq	8(%r12), %rax
	movq	8(%rax), %rcx
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	*%rcx
LBB0_8:
	movq	_AC97_WM97XX_DIGITISER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_wm97xx_reg_write
	movq	_AC97_WM97XX_DIGITISER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_wm97xx_reg_write
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM97XX_CM_RATE_MASK,4,2        ## @WM97XX_CM_RATE_MASK
	.comm	_WM97XX_ADCSEL_MASK,4,2         ## @WM97XX_ADCSEL_MASK
	.comm	_WM97XX_DELAY_MASK,4,2          ## @WM97XX_DELAY_MASK
	.comm	_WM97XX_SLT_MASK,4,2            ## @WM97XX_SLT_MASK
	.comm	_WM97XX_CTC,4,2                 ## @WM97XX_CTC
	.comm	_WM97XX_COO,4,2                 ## @WM97XX_COO
	.comm	_WM97XX_SLEN,4,2                ## @WM97XX_SLEN
	.comm	_delay,4,2                      ## @delay
	.comm	_pil,8,3                        ## @pil
	.comm	_WM97XX_ADCSEL_PRES,4,2         ## @WM97XX_ADCSEL_PRES
	.comm	_WM9705_PDEN,4,2                ## @WM9705_PDEN
	.comm	_AC97_WM97XX_DIGITISER1,4,2     ## @AC97_WM97XX_DIGITISER1
	.comm	_AC97_WM97XX_DIGITISER2,4,2     ## @AC97_WM97XX_DIGITISER2
	.no_dead_strip	_wm9705_acc_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm9705_acc_enable
_wm9705_acc_enable:                     ; @wm9705_acc_enable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0]
	ldp	w21, w23, [x8, #4]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	blr	x8
	mov	x20, x0
	tbz	w0, #31, LBB0_7
	b	LBB0_9
LBB0_3:
Lloh0:
	adrp	x8, _WM97XX_CTC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM97XX_CTC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WM97XX_COO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WM97XX_COO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WM97XX_SLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WM97XX_SLEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w21, w21, w8
Lloh9:
	adrp	x8, _WM9705_PDEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM9705_PDEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w22, w23, w8
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	mov	w20, #0
	b	LBB0_8
LBB0_6:
	mov	w20, #0
LBB0_7:
Lloh12:
	adrp	x8, _WM97XX_CM_RATE_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM97XX_CM_RATE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _WM97XX_ADCSEL_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WM97XX_ADCSEL_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _WM97XX_DELAY_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WM97XX_DELAY_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _WM97XX_SLT_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _WM97XX_SLT_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _WM97XX_CTC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WM97XX_CTC@GOTPAGEOFF]
	bic	w24, w21, w8
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _WM97XX_COO@GOTPAGE
Lloh28:
	ldr	x9, [x9, _WM97XX_COO@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w25, w9, w8
Lloh30:
	adrp	x8, _WM97XX_SLEN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WM97XX_SLEN@GOTPAGEOFF]
Lloh32:
	ldr	w26, [x8]
Lloh33:
	adrp	x8, _delay@GOTPAGE
Lloh34:
	ldr	x8, [x8, _delay@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_WM97XX_DELAY
	mov	x21, x0
	ldr	w0, [x19, #20]
	bl	_WM97XX_SLT
	mov	x22, x0
	ldr	w0, [x19, #16]
	bl	_WM97XX_RATE
Lloh36:
	adrp	x8, _pil@GOTPAGE
Lloh37:
	ldr	x8, [x8, _pil@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
Lloh39:
	adrp	x9, _WM97XX_ADCSEL_PRES@GOTPAGE
Lloh40:
	ldr	x9, [x9, _WM97XX_ADCSEL_PRES@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w9, w25, w24
	orr	w9, w9, w26
	orr	w9, w9, w21
	orr	w9, w9, w22
	orr	w9, w9, w0
	orr	w21, w9, w8
Lloh42:
	adrp	x8, _WM9705_PDEN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WM9705_PDEN@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	orr	w22, w8, w23
LBB0_8:
Lloh45:
	adrp	x8, _AC97_WM97XX_DIGITISER1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AC97_WM97XX_DIGITISER1@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_wm97xx_reg_write
Lloh48:
	adrp	x8, _AC97_WM97XX_DIGITISER2@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AC97_WM97XX_DIGITISER2@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_wm97xx_reg_write
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_WM97XX_CM_RATE_MASK,4,2        ; @WM97XX_CM_RATE_MASK
	.comm	_WM97XX_ADCSEL_MASK,4,2         ; @WM97XX_ADCSEL_MASK
	.comm	_WM97XX_DELAY_MASK,4,2          ; @WM97XX_DELAY_MASK
	.comm	_WM97XX_SLT_MASK,4,2            ; @WM97XX_SLT_MASK
	.comm	_WM97XX_CTC,4,2                 ; @WM97XX_CTC
	.comm	_WM97XX_COO,4,2                 ; @WM97XX_COO
	.comm	_WM97XX_SLEN,4,2                ; @WM97XX_SLEN
	.comm	_delay,4,2                      ; @delay
	.comm	_pil,8,3                        ; @pil
	.comm	_WM97XX_ADCSEL_PRES,4,2         ; @WM97XX_ADCSEL_PRES
	.comm	_WM9705_PDEN,4,2                ; @WM9705_PDEN
	.comm	_AC97_WM97XX_DIGITISER1,4,2     ; @AC97_WM97XX_DIGITISER1
	.comm	_AC97_WM97XX_DIGITISER2,4,2     ; @AC97_WM97XX_DIGITISER2
	.no_dead_strip	_wm9705_acc_enable
.subsections_via_symbols
