	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8961_hw_params
_wm8961_hw_params:                      ## @wm8961_hw_params
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdx), %r13
	movq	8(%r13), %rbx
	movq	%rsi, %rdi
	callq	_params_rate
	cmpl	$0, (%rbx)
	je	LBB0_10
## %bb.1:
	movl	%eax, %r12d
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_wm8961_srate@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movslq	%r12d, %r12
	movl	$8, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r15
	movl	%ebx, %r14d
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_wm8961_srate@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rdi,%r15), %rax
	subq	%r12, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	movslq	%r14d, %rax
	shlq	$4, %rax
	movq	8(%rdi,%rax), %rax
	subq	%r12, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovsq	%rax, %rdx
	movl	%r13d, %ebx
	cmpq	%rdx, %rcx
	jb	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %ebx
	jmp	LBB0_3
LBB0_6:
	movslq	%ebx, %r14
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_7:
	movq	_WM8961_ADDITIONAL_CONTROL_3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_snd_soc_read
	movq	_WM8961_SAMPLE_RATE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_wm8961_srate@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	shlq	$4, %r14
	orl	(%rax,%r14), %edx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_snd_soc_write
	movl	(%r13), %edi
	movq	(%rbx), %rax
	movl	8(%rax,%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cltd
	idivl	%r12d
	movl	%eax, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	cmpl	$63, %r14d
	jg	LBB0_11
## %bb.9:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_21
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_21
LBB0_11:
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	cmpl	$256, %r14d                     ## imm = 0x100
	jge	LBB0_14
## %bb.13:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_21
LBB0_14:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_wm8961_clk_sys_ratio@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_18
## %bb.15:
	movl	$4, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpl	%r14d, (%rdi,%rbx)
	jge	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jl	LBB0_16
	jmp	LBB0_19
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	(%r13), %edi
	cmpl	%eax, %r15d
	jne	LBB0_24
## %bb.20:
	leaq	L_.str.4(%rip), %rsi
LBB0_21:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_22:
	subl	(%rax), %ebx
LBB0_23:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	(%r12), %rax
	movl	%r15d, %r14d
	shlq	$4, %r14
	movl	4(%rax,%r14), %r9d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, %eax
	cltd
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	idivl	%r8d
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r9d, %edx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_WM8961_CLOCKING_4@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_snd_soc_read
	movq	_WM8961_CLK_SYS_RATE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r12), %rcx
	movl	(%rcx,%r14), %edx
	movq	_WM8961_CLK_SYS_RATE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_snd_soc_write
	movq	_WM8961_AUDIO_INTERFACE_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_snd_soc_read
	movl	%eax, %r12d
	movq	_WM8961_WL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_params_format
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_27
## %bb.25:
	notl	%r15d
	andl	%r15d, %r12d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:
	movq	_WM8961_WL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$3, %eax
	jmp	LBB0_29
LBB0_27:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_28:
	movq	_WM8961_WL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$2, %eax
LBB0_29:
	shll	%cl, %eax
	orl	%eax, %r12d
	jmp	LBB0_31
LBB0_30:
	movq	_WM8961_WL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %r12d
LBB0_31:
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_snd_soc_write
	movq	_WM8961_ADC_DAC_CONTROL_2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_snd_soc_read
	movq	_WM8961_DACSLOPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	orl	%eax, %ecx
	andl	%eax, %edx
	cmpl	$24001, -44(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0x5DC1
	cmovll	%ecx, %edx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_snd_soc_write
	xorl	%ebx, %ebx
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_26
	.long	L0_0_set_28
	.long	L0_0_set_30
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCLK has not been specified\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_wm8961_srate,8,3               ## @wm8961_srate
	.comm	_WM8961_ADDITIONAL_CONTROL_3,4,2 ## @WM8961_ADDITIONAL_CONTROL_3
	.comm	_WM8961_SAMPLE_RATE_MASK,4,2    ## @WM8961_SAMPLE_RATE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Selected SRATE %dHz for %dHz\n"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
L_.str.2:                               ## @.str.2
	.asciz	"SYSCLK must be at least 64*fs for DAC\n"

	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
L_.str.3:                               ## @.str.3
	.asciz	"SYSCLK must be at least 256*fs for ADC\n"

	.comm	_wm8961_clk_sys_ratio,8,3       ## @wm8961_clk_sys_ratio
L_.str.4:                               ## @.str.4
	.asciz	"Unable to generate CLK_SYS_RATE\n"

L_.str.5:                               ## @.str.5
	.asciz	"Selected CLK_SYS_RATE of %d for %d/%d=%d\n"

	.comm	_WM8961_CLOCKING_4,4,2          ## @WM8961_CLOCKING_4
	.comm	_WM8961_CLK_SYS_RATE_MASK,4,2   ## @WM8961_CLK_SYS_RATE_MASK
	.comm	_WM8961_CLK_SYS_RATE_SHIFT,4,2  ## @WM8961_CLK_SYS_RATE_SHIFT
	.comm	_WM8961_AUDIO_INTERFACE_0,4,2   ## @WM8961_AUDIO_INTERFACE_0
	.comm	_WM8961_WL_MASK,4,2             ## @WM8961_WL_MASK
	.comm	_WM8961_WL_SHIFT,4,2            ## @WM8961_WL_SHIFT
	.comm	_WM8961_ADC_DAC_CONTROL_2,4,2   ## @WM8961_ADC_DAC_CONTROL_2
	.comm	_WM8961_DACSLOPE,4,2            ## @WM8961_DACSLOPE
	.no_dead_strip	_wm8961_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8961_hw_params
_wm8961_hw_params:                      ; @wm8961_hw_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x22, x0
	ldr	x19, [x2]
	ldr	x23, [x19, #8]
	mov	x0, x1
	bl	_params_rate
	ldr	w8, [x23]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x24, _wm8961_srate@GOTPAGE
Lloh1:
	ldr	x24, [x24, _wm8961_srate@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x26, #0
	mov	w25, #0
	mov	x8, x20
	sxtw	x27, w8
	mov	w28, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0, x28]
	subs	x8, x8, x27
	cneg	x8, x8, mi
	add	x9, x0, w25, sxtw #4
	ldr	x9, [x9, #8]
	subs	x9, x9, x27
	cneg	x9, x9, mi
	cmp	x8, x9
	csel	w25, w26, w25, lo
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	add	x28, x28, #16
	cmp	x26, w0, sxtw
	b.lt	LBB0_3
; %bb.4:
	sxtw	x25, w25
	b	LBB0_7
LBB0_5:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_20
LBB0_6:
	mov	x25, #0
LBB0_7:
Lloh4:
	adrp	x26, _WM8961_ADDITIONAL_CONTROL_3@GOTPAGE
Lloh5:
	ldr	x26, [x26, _WM8961_ADDITIONAL_CONTROL_3@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_snd_soc_read
Lloh6:
	adrp	x8, _WM8961_SAMPLE_RATE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WM8961_SAMPLE_RATE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	x9, [x24]
	lsl	x25, x25, #4
	ldr	w9, [x9, x25]
	orr	w2, w9, w8
	ldr	w1, [x26]
	mov	x0, x19
	bl	_snd_soc_write
	ldr	w0, [x19]
	ldr	x8, [x24]
	add	x8, x8, x25
	ldr	w2, [x8, #8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x20
	bl	_dev_dbg
	ldr	w8, [x23]
	sdiv	w24, w8, w20
	ldr	x8, [x22]
Lloh11:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	cmp	w24, #63
	b.gt	LBB0_10
; %bb.9:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_10:
Lloh16:
	adrp	x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	cmp	w24, #256
	b.ge	LBB0_13
; %bb.12:
	ldr	w0, [x19]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_13:
Lloh21:
	adrp	x22, _wm8961_clk_sys_ratio@GOTPAGE
Lloh22:
	ldr	x22, [x22, _wm8961_clk_sys_ratio@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.14:
	mov	x25, #0
	mov	w26, #4
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x26]
	cmp	w8, w24
	b.ge	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x26, x26, #16
	cmp	x25, w0, sxtw
	b.lt	LBB0_15
	b	LBB0_18
LBB0_17:
	mov	w25, #0
LBB0_18:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x8, x0
	ldr	w0, [x19]
	cmp	w25, w8
	b.ne	LBB0_23
; %bb.19:
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_20:
	bl	_dev_err
LBB0_21:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_23:
	ldr	x8, [x22]
	mov	w9, w25
	lsl	x24, x9, #4
	add	x8, x8, x24
	ldr	w2, [x8, #4]
	ldr	w3, [x23]
	sdiv	w8, w3, w20
	stp	x20, x8, [sp]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_dbg
Lloh30:
	adrp	x23, _WM8961_CLOCKING_4@GOTPAGE
Lloh31:
	ldr	x23, [x23, _WM8961_CLOCKING_4@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_soc_read
Lloh32:
	adrp	x8, _WM8961_CLK_SYS_RATE_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WM8961_CLK_SYS_RATE_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	x9, [x22]
	ldr	w9, [x9, x24]
Lloh35:
	adrp	x10, _WM8961_CLK_SYS_RATE_SHIFT@GOTPAGE
Lloh36:
	ldr	x10, [x10, _WM8961_CLK_SYS_RATE_SHIFT@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_soc_write
Lloh38:
	adrp	x23, _WM8961_AUDIO_INTERFACE_0@GOTPAGE
Lloh39:
	ldr	x23, [x23, _WM8961_AUDIO_INTERFACE_0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_soc_read
	mov	x22, x0
Lloh40:
	adrp	x8, _WM8961_WL_MASK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WM8961_WL_MASK@GOTPAGEOFF]
Lloh42:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_params_format
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.24:
	bic	w2, w22, w24
Lloh43:
	adrp	x9, lJTI0_0@PAGE
Lloh44:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_25
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_25:
Lloh45:
	adrp	x8, _WM8961_WL_SHIFT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _WM8961_WL_SHIFT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	mov	w9, #3
	b	LBB0_28
LBB0_26:
Lloh48:
	adrp	x8, _WM8961_WL_SHIFT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _WM8961_WL_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	mov	w9, #2
	b	LBB0_28
LBB0_27:
Lloh51:
	adrp	x8, _WM8961_WL_SHIFT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WM8961_WL_SHIFT@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	mov	w9, #1
LBB0_28:
	lsl	w8, w9, w8
	orr	w2, w8, w2
LBB0_29:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_soc_write
Lloh54:
	adrp	x21, _WM8961_ADC_DAC_CONTROL_2@GOTPAGE
Lloh55:
	ldr	x21, [x21, _WM8961_ADC_DAC_CONTROL_2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_snd_soc_read
Lloh56:
	adrp	x8, _WM8961_DACSLOPE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _WM8961_DACSLOPE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	orr	w9, w8, w0
	and	w8, w8, w0
	mov	w10, #24001
	cmp	w20, w10
	csel	w2, w9, w8, lt
	ldr	w1, [x21]
	mov	x0, x19
	bl	_snd_soc_write
	mov	w0, #0
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_26-LBB0_25)>>2
	.byte	(LBB0_27-LBB0_25)>>2
	.byte	(LBB0_29-LBB0_25)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCLK has not been specified\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_wm8961_srate,8,3               ; @wm8961_srate
	.comm	_WM8961_ADDITIONAL_CONTROL_3,4,2 ; @WM8961_ADDITIONAL_CONTROL_3
	.comm	_WM8961_SAMPLE_RATE_MASK,4,2    ; @WM8961_SAMPLE_RATE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Selected SRATE %dHz for %dHz\n"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
l_.str.2:                               ; @.str.2
	.asciz	"SYSCLK must be at least 64*fs for DAC\n"

	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
l_.str.3:                               ; @.str.3
	.asciz	"SYSCLK must be at least 256*fs for ADC\n"

	.comm	_wm8961_clk_sys_ratio,8,3       ; @wm8961_clk_sys_ratio
l_.str.4:                               ; @.str.4
	.asciz	"Unable to generate CLK_SYS_RATE\n"

l_.str.5:                               ; @.str.5
	.asciz	"Selected CLK_SYS_RATE of %d for %d/%d=%d\n"

	.comm	_WM8961_CLOCKING_4,4,2          ; @WM8961_CLOCKING_4
	.comm	_WM8961_CLK_SYS_RATE_MASK,4,2   ; @WM8961_CLK_SYS_RATE_MASK
	.comm	_WM8961_CLK_SYS_RATE_SHIFT,4,2  ; @WM8961_CLK_SYS_RATE_SHIFT
	.comm	_WM8961_AUDIO_INTERFACE_0,4,2   ; @WM8961_AUDIO_INTERFACE_0
	.comm	_WM8961_WL_MASK,4,2             ; @WM8961_WL_MASK
	.comm	_WM8961_WL_SHIFT,4,2            ; @WM8961_WL_SHIFT
	.comm	_WM8961_ADC_DAC_CONTROL_2,4,2   ; @WM8961_ADC_DAC_CONTROL_2
	.comm	_WM8961_DACSLOPE,4,2            ; @WM8961_DACSLOPE
	.no_dead_strip	_wm8961_hw_params
.subsections_via_symbols
