	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8580_set_bias_level
_wm8580_set_bias_level:                 ## @wm8580_set_bias_level
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$131, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$128, %r14d
	jne	LBB0_6
## %bb.2:
	cmpl	$131, (%rbx)
	jne	LBB0_6
## %bb.3:
	movq	_WM8580_PWRDN1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8580_PWRDN1_PWDN@GOTPCREL(%rip), %rcx
	movq	_WM8580_PWRDN1_ALLDACPD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_write
	movq	_WM8580_ADC_CONTROL1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	andl	$-257, %eax                     ## imm = 0xFEFF
	movl	(%r15), %esi
	jmp	LBB0_5
LBB0_4:
	movq	_WM8580_PWRDN1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movl	(%r15), %esi
	movq	_WM8580_PWRDN1_PWDN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_5:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_snd_soc_write
LBB0_6:
	movl	%r14d, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8580_PWRDN1,4,2              ## @WM8580_PWRDN1
	.comm	_WM8580_PWRDN1_PWDN,4,2         ## @WM8580_PWRDN1_PWDN
	.comm	_WM8580_PWRDN1_ALLDACPD,4,2     ## @WM8580_PWRDN1_ALLDACPD
	.comm	_WM8580_ADC_CONTROL1,4,2        ## @WM8580_ADC_CONTROL1
	.no_dead_strip	_wm8580_set_bias_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8580_set_bias_level
_wm8580_set_bias_level:                 ; @wm8580_set_bias_level
	.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
	mov	x20, x0
	cmp	w1, #131
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #128
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #131
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x21, _WM8580_PWRDN1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8580_PWRDN1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
Lloh2:
	adrp	x8, _WM8580_PWRDN1_PWDN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WM8580_PWRDN1_PWDN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _WM8580_PWRDN1_ALLDACPD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM8580_PWRDN1_ALLDACPD@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
Lloh8:
	adrp	x21, _WM8580_ADC_CONTROL1@GOTPAGE
Lloh9:
	ldr	x21, [x21, _WM8580_ADC_CONTROL1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	and	w2, w0, #0xfffffeff
	ldr	w1, [x21]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x21, _WM8580_PWRDN1@GOTPAGE
Lloh11:
	ldr	x21, [x21, _WM8580_PWRDN1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _WM8580_PWRDN1_PWDN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM8580_PWRDN1_PWDN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w2, w8, w0
LBB0_5:
	mov	x0, x20
	bl	_snd_soc_write
LBB0_6:
	str	w19, [x20]
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8580_PWRDN1,4,2              ; @WM8580_PWRDN1
	.comm	_WM8580_PWRDN1_PWDN,4,2         ; @WM8580_PWRDN1_PWDN
	.comm	_WM8580_PWRDN1_ALLDACPD,4,2     ; @WM8580_PWRDN1_ALLDACPD
	.comm	_WM8580_ADC_CONTROL1,4,2        ; @WM8580_ADC_CONTROL1
	.no_dead_strip	_wm8580_set_bias_level
.subsections_via_symbols
