	.file	"extr_wm8991.c_wm8991_set_dai_clkdiv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm8991_set_dai_clkdiv, @function
wm8991_set_dai_clkdiv:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	cmp	esi, 130
	je	.L2
	jg	.L3
	cmp	esi, 128
	je	.L4
	cmp	esi, 129
	jne	.L6
	mov	esi, DWORD PTR WM8991_CLOCKING_2[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8991_DAC_CLKDIV_MASK[rip]
.L10:
	not	edx
	mov	esi, DWORD PTR WM8991_CLOCKING_2[rip]
	mov	rdi, rbp
	and	edx, eax
	or	edx, ebx
	call	snd_soc_component_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	esi, 131
	jne	.L6
	mov	esi, DWORD PTR WM8991_CLOCKING_2[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8991_ADC_CLKDIV_MASK[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR WM8991_CLOCKING_1[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8991_BCLK_DIV_MASK[rip]
	mov	esi, DWORD PTR WM8991_CLOCKING_1[rip]
	mov	rdi, rbp
	not	edx
	and	edx, eax
	or	edx, ebx
	call	snd_soc_component_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR WM8991_CLOCKING_2[rip]
	mov	rdi, rbp
	call	snd_soc_component_read32@PLT
	mov	edx, DWORD PTR WM8991_MCLK_DIV_MASK[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	wm8991_set_dai_clkdiv, .-wm8991_set_dai_clkdiv
	.comm	WM8991_MCLK_DIV_MASK,4,4
	.comm	WM8991_DAC_CLKDIV_MASK,4,4
	.comm	WM8991_CLOCKING_2,4,4
	.comm	WM8991_CLOCKING_1,4,4
	.comm	WM8991_BCLK_DIV_MASK,4,4
	.comm	WM8991_ADC_CLKDIV_MASK,4,4
	.comm	EINVAL,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_wm8991.c_wm8991_set_dai_clkdiv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8991_set_dai_clkdiv, %function
wm8991_set_dai_clkdiv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r1, r1, #128
	push	{r4, r5, r6, lr}
	mov	r5, r2
	ldr	r4, [r0]
	cmp	r1, #3
	ldrls	pc, [pc, r1, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r6, .L12
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_soc_component_read32
	mov	r2, r0
	ldr	r3, .L12+4
.L10:
	ldr	r3, [r3]
	mov	r0, r4
	bic	r2, r2, r3
	ldr	r1, [r6]
	orr	r2, r2, r5
	bl	snd_soc_component_write
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r6, .L12
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_soc_component_read32
	ldr	r3, .L12+8
	mov	r2, r0
	b	.L10
.L6:
	ldr	r6, .L12
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_soc_component_read32
	ldr	r3, .L12+12
	mov	r2, r0
	b	.L10
.L5:
	ldr	r6, .L12+16
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_soc_component_read32
	ldr	r3, .L12+20
	mov	r2, r0
	b	.L10
.L2:
	ldr	r3, .L12+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	WM8991_CLOCKING_2
	.word	WM8991_ADC_CLKDIV_MASK
	.word	WM8991_MCLK_DIV_MASK
	.word	WM8991_DAC_CLKDIV_MASK
	.word	WM8991_CLOCKING_1
	.word	WM8991_BCLK_DIV_MASK
	.word	EINVAL
	.size	wm8991_set_dai_clkdiv, .-wm8991_set_dai_clkdiv
	.comm	WM8991_MCLK_DIV_MASK,4,4
	.comm	WM8991_DAC_CLKDIV_MASK,4,4
	.comm	WM8991_CLOCKING_2,4,4
	.comm	WM8991_CLOCKING_1,4,4
	.comm	WM8991_BCLK_DIV_MASK,4,4
	.comm	WM8991_ADC_CLKDIV_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
