	.file	"extr_wm8961.c_wm8961_set_bias_level.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm8961_set_bias_level, @function
wm8961_set_bias_level:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	cmp	esi, 128
	je	.L2
	cmp	esi, 129
	jne	.L3
	call	snd_soc_component_get_bias_level@PLT
	cmp	eax, 128
	je	.L8
.L3:
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	snd_soc_component_get_bias_level@PLT
	cmp	eax, 129
	jne	.L3
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8961_VREF[rip]
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	mov	rdi, rbp
	not	edx
	and	edx, eax
	call	snd_soc_component_write@PLT
	mov	esi, DWORD PTR WM8961_ANTI_POP[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8961_BUFIOEN[rip]
	or	edx, DWORD PTR WM8961_BUFDCOPEN[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR WM8961_ANTI_POP[rip]
	not	edx
	and	edx, eax
	call	snd_soc_component_write@PLT
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8961_VMIDSEL_MASK[rip]
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	mov	rdi, rbp
	not	edx
	and	edx, eax
	call	snd_soc_component_write@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR WM8961_ANTI_POP[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8961_BUFIOEN[rip]
	mov	esi, DWORD PTR WM8961_ANTI_POP[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR WM8961_BUFDCOPEN[rip]
	or	edx, eax
	call	snd_soc_component_write@PLT
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8961_VMIDSEL_MASK[rip]
	mov	esi, 1
	mov	rdi, rbp
	mov	ecx, DWORD PTR WM8961_VMIDSEL_SHIFT[rip]
	not	edx
	and	eax, edx
	mov	edx, esi
	mov	esi, DWORD PTR WM8961_PWR_MGMT_1[rip]
	sal	edx, cl
	or	edx, DWORD PTR WM8961_VREF[rip]
	or	edx, eax
	call	snd_soc_component_write@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	wm8961_set_bias_level, .-wm8961_set_bias_level
	.comm	WM8961_VREF,4,4
	.comm	WM8961_VMIDSEL_SHIFT,4,4
	.comm	WM8961_VMIDSEL_MASK,4,4
	.comm	WM8961_PWR_MGMT_1,4,4
	.comm	WM8961_BUFIOEN,4,4
	.comm	WM8961_BUFDCOPEN,4,4
	.comm	WM8961_ANTI_POP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wm8961.c_wm8961_set_bias_level.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8961_set_bias_level, %function
wm8961_set_bias_level:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L2
	cmp	r1, #129
	bne	.L3
	bl	snd_soc_component_get_bias_level
	cmp	r0, #128
	beq	.L8
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	bl	snd_soc_component_get_bias_level
	cmp	r0, #129
	bne	.L3
	ldr	r5, .L9
	mov	r0, r4
	ldr	r1, [r5]
	bl	snd_soc_component_read32
	ldr	r3, .L9+4
	ldr	r6, .L9+8
	ldr	r2, [r3]
	ldr	r1, [r5]
	bic	r2, r0, r2
	mov	r0, r4
	bl	snd_soc_component_write
	ldr	r1, [r6]
	mov	r0, r4
	bl	snd_soc_component_read32
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r6]
	orr	r2, r3, r2
	bic	r2, r0, r2
	mov	r0, r4
	bl	snd_soc_component_write
	ldr	r1, [r5]
	mov	r0, r4
	bl	snd_soc_component_read32
	mov	r3, r0
	ldr	r2, .L9+20
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r5]
	bic	r2, r3, r2
	bl	snd_soc_component_write
	b	.L3
.L8:
	ldr	r6, .L9+8
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_soc_component_read32
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r5, .L9
	orr	r2, r3, r2
	orr	r2, r2, r0
	ldr	r1, [r6]
	mov	r0, r4
	bl	snd_soc_component_write
	ldr	r1, [r5]
	mov	r0, r4
	bl	snd_soc_component_read32
	mov	ip, #1
	ldr	r3, .L9+20
	ldr	r1, .L9+24
	ldr	r2, .L9+4
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	bic	r3, r0, r3
	orr	r2, r2, ip, lsl r1
	mov	r0, r4
	ldr	r1, [r5]
	orr	r2, r2, r3
	bl	snd_soc_component_write
	b	.L3
.L10:
	.align	2
.L9:
	.word	WM8961_PWR_MGMT_1
	.word	WM8961_VREF
	.word	WM8961_ANTI_POP
	.word	WM8961_BUFIOEN
	.word	WM8961_BUFDCOPEN
	.word	WM8961_VMIDSEL_MASK
	.word	WM8961_VMIDSEL_SHIFT
	.size	wm8961_set_bias_level, .-wm8961_set_bias_level
	.comm	WM8961_VREF,4,4
	.comm	WM8961_VMIDSEL_SHIFT,4,4
	.comm	WM8961_VMIDSEL_MASK,4,4
	.comm	WM8961_PWR_MGMT_1,4,4
	.comm	WM8961_BUFIOEN,4,4
	.comm	WM8961_BUFDCOPEN,4,4
	.comm	WM8961_ANTI_POP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
