	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8961_set_bias_level
_wm8961_set_bias_level:                 ## @wm8961_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %r14d
	jne	LBB0_7
## %bb.2:
	cmpl	$128, (%rbx)
	jne	LBB0_7
## %bb.3:
	movq	_WM8961_ANTI_POP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8961_BUFIOEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_WM8961_BUFDCOPEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_snd_soc_write
	movq	_WM8961_PWR_MGMT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8961_VMIDSEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_WM8961_VMIDSEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_WM8961_VREF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	btsl	%eax, %edx
	jmp	LBB0_6
LBB0_4:
	cmpl	$129, (%rbx)
	jne	LBB0_7
## %bb.5:
	movq	_WM8961_PWR_MGMT_1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8961_VREF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_write
	movq	_WM8961_ANTI_POP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8961_BUFIOEN@GOTPCREL(%rip), %rcx
	movq	_WM8961_BUFDCOPEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_write
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_read
	movq	_WM8961_VMIDSEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
LBB0_6:
	movq	_WM8961_PWR_MGMT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_soc_write
LBB0_7:
	movl	%r14d, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8961_ANTI_POP,4,2            ## @WM8961_ANTI_POP
	.comm	_WM8961_BUFIOEN,4,2             ## @WM8961_BUFIOEN
	.comm	_WM8961_BUFDCOPEN,4,2           ## @WM8961_BUFDCOPEN
	.comm	_WM8961_PWR_MGMT_1,4,2          ## @WM8961_PWR_MGMT_1
	.comm	_WM8961_VMIDSEL_MASK,4,2        ## @WM8961_VMIDSEL_MASK
	.comm	_WM8961_VMIDSEL_SHIFT,4,2       ## @WM8961_VMIDSEL_SHIFT
	.comm	_WM8961_VREF,4,2                ## @WM8961_VREF
	.no_dead_strip	_wm8961_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 wm8961_set_bias_level
_wm8961_set_bias_level:                 ; @wm8961_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, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x21, _WM8961_ANTI_POP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8961_ANTI_POP@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
Lloh2:
	adrp	x8, _WM8961_BUFIOEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WM8961_BUFIOEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _WM8961_BUFDCOPEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM8961_BUFDCOPEN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w2, w8, w9
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
Lloh8:
	adrp	x8, _WM8961_PWR_MGMT_1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WM8961_PWR_MGMT_1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_soc_read
Lloh11:
	adrp	x8, _WM8961_VMIDSEL_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WM8961_VMIDSEL_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh14:
	adrp	x9, _WM8961_VMIDSEL_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WM8961_VMIDSEL_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
Lloh17:
	adrp	x10, _WM8961_VREF@GOTPAGE
Lloh18:
	ldr	x10, [x10, _WM8961_VREF@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w8, w10, w8
	orr	w2, w8, w9
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.5:
Lloh20:
	adrp	x21, _WM8961_PWR_MGMT_1@GOTPAGE
Lloh21:
	ldr	x21, [x21, _WM8961_PWR_MGMT_1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
Lloh22:
	adrp	x8, _WM8961_VREF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WM8961_VREF@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
Lloh25:
	adrp	x22, _WM8961_ANTI_POP@GOTPAGE
Lloh26:
	ldr	x22, [x22, _WM8961_ANTI_POP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_snd_soc_read
Lloh27:
	adrp	x8, _WM8961_BUFIOEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WM8961_BUFIOEN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _WM8961_BUFDCOPEN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _WM8961_BUFDCOPEN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x20
	bl	_snd_soc_write
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
Lloh33:
	adrp	x8, _WM8961_VMIDSEL_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WM8961_VMIDSEL_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	bic	w2, w0, w8
LBB0_6:
Lloh36:
	adrp	x8, _WM8961_PWR_MGMT_1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WM8961_PWR_MGMT_1@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_soc_write
LBB0_7:
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8961_ANTI_POP,4,2            ; @WM8961_ANTI_POP
	.comm	_WM8961_BUFIOEN,4,2             ; @WM8961_BUFIOEN
	.comm	_WM8961_BUFDCOPEN,4,2           ; @WM8961_BUFDCOPEN
	.comm	_WM8961_PWR_MGMT_1,4,2          ; @WM8961_PWR_MGMT_1
	.comm	_WM8961_VMIDSEL_MASK,4,2        ; @WM8961_VMIDSEL_MASK
	.comm	_WM8961_VMIDSEL_SHIFT,4,2       ; @WM8961_VMIDSEL_SHIFT
	.comm	_WM8961_VREF,4,2                ; @WM8961_VREF
	.no_dead_strip	_wm8961_set_bias_level
.subsections_via_symbols
