	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8940_set_bias_level
_wm8940_set_bias_level:                 ## @wm8940_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, %ebx
	movq	%rdi, %r14
	movq	_WM8940_POWER1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_snd_soc_read
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_1
## %bb.3:
	movl	%eax, %r15d
	andl	$496, %r15d                     ## imm = 0x1F0
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movl	(%r12), %esi
	orl	$14, %r15d
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_2
LBB0_4:
	movq	_WM8940_OUTPUTCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_snd_soc_read
	movl	(%rbx), %esi
	orl	$2, %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_snd_soc_write
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r12), %esi
	orl	$13, %r15d
	jmp	LBB0_8
LBB0_7:
	movl	(%r12), %esi
LBB0_8:
	movq	%r14, %rdi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_write                  ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_WM8940_POWER1,4,2              ## @WM8940_POWER1
	.comm	_WM8940_OUTPUTCTL,4,2           ## @WM8940_OUTPUTCTL
	.no_dead_strip	_wm8940_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 wm8940_set_bias_level
_wm8940_set_bias_level:                 ; @wm8940_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _WM8940_POWER1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8940_POWER1@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_snd_soc_read
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	and	w20, w0, #0x1f0
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w1, [x21]
	orr	w2, w20, #0xe
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x22, _WM8940_OUTPUTCTL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _WM8940_OUTPUTCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_snd_soc_read
	ldr	w1, [x22]
	orr	w2, w0, #0x2
	mov	x0, x19
	bl	_snd_soc_write
	cbz	w0, LBB0_6
LBB0_5:
	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
LBB0_6:
	ldr	w1, [x21]
	mov	w8, #13
	orr	w2, w20, w8
LBB0_7:
	mov	x0, x19
	b	LBB0_9
LBB0_8:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
LBB0_9:
	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
	b	_snd_soc_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_WM8940_POWER1,4,2              ; @WM8940_POWER1
	.comm	_WM8940_OUTPUTCTL,4,2           ; @WM8940_OUTPUTCTL
	.no_dead_strip	_wm8940_set_bias_level
.subsections_via_symbols
