	.file	"extr_wm8400.c_wm8400_hw_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm8400_hw_params, @function
wm8400_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbp, rsi
	mov	esi, DWORD PTR WM8400_AUDIO_INTERFACE_1[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r13, QWORD PTR [rax]
	mov	rdi, r13
	call	wm8400_read@PLT
	mov	r12d, DWORD PTR WM8400_AIF_WL_MASK[rip]
	mov	rdi, rbp
	not	r12d
	and	r12d, eax
	call	params_format@PLT
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L8
.L5:
	mov	esi, DWORD PTR WM8400_AUDIO_INTERFACE_1[rip]
	mov	edx, r12d
	mov	rdi, r13
	call	wm8400_write@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	or	r12d, DWORD PTR WM8400_AIF_WL_24BITS[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	or	r12d, DWORD PTR WM8400_AIF_WL_32BITS[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	or	r12d, DWORD PTR WM8400_AIF_WL_20BITS[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	wm8400_hw_params, .-wm8400_hw_params
	.comm	WM8400_AUDIO_INTERFACE_1,4,4
	.comm	WM8400_AIF_WL_MASK,4,4
	.comm	WM8400_AIF_WL_32BITS,4,4
	.comm	WM8400_AIF_WL_24BITS,4,4
	.comm	WM8400_AIF_WL_20BITS,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_wm8400.c_wm8400_hw_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8400_hw_params, %function
wm8400_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r7, .L9
	ldr	r3, [r3]
	mov	r5, r1
	ldr	r6, [r3]
	ldr	r1, [r7]
	mov	r0, r6
	bl	wm8400_read
	mov	r4, r0
	ldr	r3, .L9+4
	mov	r0, r5
	ldr	r2, [r3]
	bic	r4, r4, r2
	bl	params_format
	cmp	r0, #129
	beq	.L2
	cmp	r0, #130
	beq	.L3
	cmp	r0, #128
	beq	.L8
.L5:
	mov	r2, r4
	mov	r0, r6
	ldr	r1, [r7]
	bl	wm8400_write
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L5
.L8:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L5
.L3:
	ldr	r3, .L9+16
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L5
.L10:
	.align	2
.L9:
	.word	WM8400_AUDIO_INTERFACE_1
	.word	WM8400_AIF_WL_MASK
	.word	WM8400_AIF_WL_24BITS
	.word	WM8400_AIF_WL_32BITS
	.word	WM8400_AIF_WL_20BITS
	.size	wm8400_hw_params, .-wm8400_hw_params
	.comm	WM8400_AUDIO_INTERFACE_1,4,4
	.comm	WM8400_AIF_WL_MASK,4,4
	.comm	WM8400_AIF_WL_32BITS,4,4
	.comm	WM8400_AIF_WL_24BITS,4,4
	.comm	WM8400_AIF_WL_20BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
