	.file	"extr_max9860.c_max9860_hw_params.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hw_params %u Hz, %u channels\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"DSP_A works for 16 bits per sample only.\n"
	.align 8
.LC2:
	.string	"DSP_B works for 16 bits per sample only.\n"
	.section	.rodata.str1.1
.LC3:
	.string	"IFC1A  %02x\n"
.LC4:
	.string	"Failed to set IFC1A: %d\n"
.LC5:
	.string	"IFC1B  %02x\n"
.LC6:
	.string	"Failed to set IFC1B: %d\n"
.LC7:
	.string	"SYSCLK %02x\n"
.LC8:
	.string	"Failed to set SYSCLK: %d\n"
.LC9:
	.string	"N %lu\n"
.LC10:
	.string	"Failed to set NHI: %d\n"
.LC11:
	.string	"Failed to set NLO: %d\n"
.LC12:
	.string	"Enable PLL\n"
.LC13:
	.string	"Failed to enable PLL: %d\n"
	.text
	.p2align 4
	.type	max9860_hw_params, @function
max9860_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, 0
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdx]
	mov	rdi, r14
	call	snd_soc_component_get_drvdata@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	params_channels@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	params_rate@PLT
	mov	edi, DWORD PTR [r14]
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	dev_dbg@PLT
	mov	rdi, rbp
	call	params_channels@PLT
	mov	edx, DWORD PTR SND_SOC_DAIFMT_MASTER_MASK[rip]
	cmp	eax, 2
	mov	eax, DWORD PTR [rbx]
	cmove	r13d, DWORD PTR MAX9860_ST[rip]
	and	edx, eax
	cmp	edx, 136
	je	.L45
	cmp	edx, 137
	jne	.L62
	mov	r15d, DWORD PTR MAX9860_MASTER[rip]
	test	r15d, r15d
	jne	.L65
.L3:
	mov	edx, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	and	edx, eax
	cmp	edx, 134
	je	.L8
.L69:
	jg	.L9
	cmp	edx, 130
	je	.L10
	cmp	edx, 133
	jne	.L62
	mov	r12d, DWORD PTR MAX9860_DDLY[rip]
	or	r13d, DWORD PTR MAX9860_ADLY[rip]
	or	r12d, r15d
.L14:
	mov	edx, DWORD PTR SND_SOC_DAIFMT_INV_MASK[rip]
	and	edx, eax
	cmp	edx, 131
	je	.L17
	jg	.L18
	cmp	edx, 128
	je	.L19
	cmp	edx, 129
	jne	.L62
	and	eax, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	sub	eax, 134
	cmp	eax, 1
	jbe	.L62
	xor	r12d, DWORD PTR MAX9860_WCI[rip]
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR [r14]
	mov	edx, r12d
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_IFC1A[rip]
	movsx	rdx, r12d
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L66
	mov	edi, DWORD PTR [r14]
	mov	edx, r13d
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_IFC1B[rip]
	movsx	rdx, r13d
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L67
	mov	rdi, rbp
	call	params_rate@PLT
	cmp	eax, 8000
	je	.L29
	mov	rdi, rbp
	call	params_rate@PLT
	cmp	eax, 16000
	je	.L29
	mov	rdi, rbp
	mov	r13d, DWORD PTR 4[rbx]
	call	params_rate@PLT
	cdqe
	mov	esi, r13d
	lea	rdi, [rax+rax*2]
	sal	rdi, 21
	call	DIV_ROUND_CLOSEST_ULL@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	params_rate@PLT
	cmp	eax, 24000
	jg	.L41
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	edx, 135
	jne	.L62
	mov	rdi, rbp
	call	params_width@PLT
	cmp	eax, 16
	jne	.L68
	mov	r12d, DWORD PTR MAX9860_DDLY[rip]
	or	r12d, DWORD PTR MAX9860_WCI[rip]
	or	r12d, DWORD PTR MAX9860_HIZ[rip]
	or	r12d, DWORD PTR MAX9860_TDM[rip]
	mov	eax, DWORD PTR [rbx]
	or	r12d, r15d
	or	r13d, DWORD PTR MAX9860_ADLY[rip]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L68:
	lea	rsi, .LC1[rip]
.L63:
	mov	edi, DWORD PTR [r14]
	xor	eax, eax
	call	dev_err@PLT
	.p2align 4,,10
	.p2align 3
.L62:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	edx, 132
	jne	.L62
	and	eax, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	sub	eax, 134
	cmp	eax, 1
	jbe	.L62
	xor	r12d, DWORD PTR MAX9860_WCI[rip]
.L17:
	xor	r12d, DWORD PTR MAX9860_DBCI[rip]
	xor	r13d, DWORD PTR MAX9860_ABCI[rip]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L45:
	mov	edx, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	xor	r15d, r15d
	and	edx, eax
	cmp	edx, 134
	jne	.L69
.L8:
	mov	rdi, rbp
	call	params_width@PLT
	lea	rsi, .LC2[rip]
	cmp	eax, 16
	jne	.L63
	mov	r12d, DWORD PTR MAX9860_WCI[rip]
	or	r12d, DWORD PTR MAX9860_HIZ[rip]
	or	r12d, DWORD PTR MAX9860_TDM[rip]
	mov	eax, DWORD PTR [rbx]
	or	r12d, r15d
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r12d, DWORD PTR MAX9860_WCI[rip]
	or	r12d, r15d
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L65:
	mov	rdi, rbp
	call	params_width@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	params_channels@PLT
	imul	r12d, eax
	cmp	r12d, 48
	jle	.L7
	mov	eax, DWORD PTR [rbx]
	or	r13d, DWORD PTR MAX9860_BSEL_64X[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L66:
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	r13d, DWORD PTR 4[rbx]
	test	r15d, r15d
	je	.L70
	cmp	r13d, 13000000
	je	.L31
	cmp	r13d, 19200000
	je	.L32
	cmp	r13d, 12000000
	je	.L71
	mov	rdi, rbp
	call	params_rate@PLT
	cdqe
	lea	rdi, [rax+rax*2]
	sal	rdi, 21
.L61:
	mov	esi, r13d
	call	DIV_ROUND_CLOSEST_ULL@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	params_rate@PLT
	cmp	eax, 24000
	jle	.L37
.L41:
	mov	r12d, DWORD PTR MAX9860_16KHZ[rip]
.L42:
	test	r15d, r15d
	jne	.L37
	.p2align 4,,10
	.p2align 3
.L43:
	or	r13, 1
	.p2align 4,,10
	.p2align 3
.L37:
	or	r12d, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR [r14]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	mov	edx, r12d
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_SYSCLK[rip]
	movsx	rdx, r12d
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L72
	mov	edi, DWORD PTR [r14]
	mov	rdx, r13
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_AUDIOCLKHIGH[rip]
	mov	rdx, r13
	shr	rdx, 8
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L73
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_AUDIOCLKLOW[rip]
	movzx	edx, r13b
	call	regmap_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L74
	test	r15d, r15d
	jne	.L1
	mov	edi, DWORD PTR [r14]
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	edx, DWORD PTR MAX9860_PLL[rip]
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX9860_AUDIOCLKHIGH[rip]
	mov	ecx, edx
	call	regmap_update_bits@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC13[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L67:
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR [rbx]
	or	r13d, DWORD PTR MAX9860_BSEL_48X[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L70:
	mov	rdi, rbp
	xor	r12d, r12d
	call	params_rate@PLT
	mov	esi, r13d
	cdqe
	lea	rdi, [rax+rax*2]
	sal	rdi, 21
	call	DIV_ROUND_CLOSEST_ULL@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	params_rate@PLT
	cmp	eax, 24000
	jg	.L41
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L72:
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC8[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L73:
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC10[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L74:
	mov	edi, DWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC11[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	r12d, DWORD PTR MAX9860_FREQ_13MHZ[rip]
.L34:
	mov	rdi, rbp
	test	r12d, r12d
	jne	.L75
	call	params_rate@PLT
	movsx	rdi, eax
	imul	rdi, rdi, 6291456
	jmp	.L61
	.p2align 4,,10
	.p2align 3
.L71:
	mov	r12d, DWORD PTR MAX9860_FREQ_12MHZ[rip]
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L32:
	mov	r12d, DWORD PTR MAX9860_FREQ_19_2MHZ[rip]
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L75:
	call	params_rate@PLT
	cmp	eax, 16000
	jne	.L36
	or	r12d, DWORD PTR MAX9860_16KHZ[rip]
.L36:
	mov	rdi, rbp
	mov	r13d, DWORD PTR 4[rbx]
	call	params_rate@PLT
	cdqe
	mov	esi, r13d
	lea	rdi, [rax+rax*2]
	sal	rdi, 21
	call	DIV_ROUND_CLOSEST_ULL@PLT
	mov	r13, rax
	jmp	.L37
	.cfi_endproc
.LFE0:
	.size	max9860_hw_params, .-max9860_hw_params
	.comm	SND_SOC_DAIFMT_MASTER_MASK,4,4
	.comm	SND_SOC_DAIFMT_INV_MASK,4,4
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	MAX9860_WCI,4,4
	.comm	MAX9860_TDM,4,4
	.comm	MAX9860_SYSCLK,4,4
	.comm	MAX9860_ST,4,4
	.comm	MAX9860_PLL,4,4
	.comm	MAX9860_MASTER,4,4
	.comm	MAX9860_IFC1B,4,4
	.comm	MAX9860_IFC1A,4,4
	.comm	MAX9860_HIZ,4,4
	.comm	MAX9860_FREQ_19_2MHZ,4,4
	.comm	MAX9860_FREQ_13MHZ,4,4
	.comm	MAX9860_FREQ_12MHZ,4,4
	.comm	MAX9860_DDLY,4,4
	.comm	MAX9860_DBCI,4,4
	.comm	MAX9860_BSEL_64X,4,4
	.comm	MAX9860_BSEL_48X,4,4
	.comm	MAX9860_AUDIOCLKLOW,4,4
	.comm	MAX9860_AUDIOCLKHIGH,4,4
	.comm	MAX9860_ADLY,4,4
	.comm	MAX9860_ABCI,4,4
	.comm	MAX9860_16KHZ,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_max9860.c_max9860_hw_params.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hw_params %u Hz, %u channels\012\000"
	.align	2
.LC1:
	.ascii	"DSP_A works for 16 bits per sample only.\012\000"
	.align	2
.LC2:
	.ascii	"DSP_B works for 16 bits per sample only.\012\000"
	.align	2
.LC3:
	.ascii	"IFC1A  %02x\012\000"
	.align	2
.LC4:
	.ascii	"Failed to set IFC1A: %d\012\000"
	.align	2
.LC5:
	.ascii	"IFC1B  %02x\012\000"
	.align	2
.LC6:
	.ascii	"Failed to set IFC1B: %d\012\000"
	.align	2
.LC7:
	.ascii	"SYSCLK %02x\012\000"
	.align	2
.LC8:
	.ascii	"Failed to set SYSCLK: %d\012\000"
	.align	2
.LC9:
	.ascii	"N %lu\012\000"
	.align	2
.LC10:
	.ascii	"Failed to set NHI: %d\012\000"
	.align	2
.LC11:
	.ascii	"Failed to set NLO: %d\012\000"
	.align	2
.LC12:
	.ascii	"Enable PLL\012\000"
	.align	2
.LC13:
	.ascii	"Failed to enable PLL: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max9860_hw_params, %function
max9860_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, [r2]
	mov	r4, r1
	mov	r0, r7
	bl	snd_soc_component_get_drvdata
	mov	r6, r0
	mov	r0, r4
	ldr	r8, [r7]
	bl	params_rate
	mov	r5, r0
	mov	r0, r4
	bl	params_channels
	ldr	r1, .L67
	mov	r3, r0
	mov	r2, r5
	mov	r0, r8
	bl	dev_dbg
	mov	r0, r4
	bl	params_channels
	cmp	r0, #2
	ldreq	r3, .L67+4
	ldr	r1, [r6]
	ldreq	r8, [r3]
	ldr	r3, .L67+8
	movne	r8, #0
	ldr	r3, [r3]
	and	r3, r3, r1
	cmp	r3, #136
	beq	.L45
	cmp	r3, #137
	bne	.L55
	ldr	r3, .L67+12
	ldr	r9, [r3]
	cmp	r9, #0
	bne	.L57
.L3:
	ldr	r10, .L67+16
	ldr	r3, [r10]
	and	r3, r3, r1
	sub	r3, r3, #130
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L55
.L10:
	.word	.L13
	.word	.L55
	.word	.L55
	.word	.L12
	.word	.L11
	.word	.L9
.L58:
	ldr	r0, [r7]
	ldr	r1, .L67+20
	bl	dev_err
.L55:
	ldr	r3, .L67+24
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L45:
	mov	r9, #0
	b	.L3
.L9:
	mov	r0, r4
	bl	params_width
	cmp	r0, #16
	bne	.L58
	ldr	r1, .L67+28
	ldr	r2, .L67+32
	ldr	r3, .L67+36
	ldr	r5, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r5, r5, r2
	ldr	r2, .L67+40
	orr	r5, r5, r3
	ldr	r3, .L67+44
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r5, r5, r2
	ldr	r1, [r6]
	orr	r5, r5, r9
	orr	r8, r8, r3
.L14:
	ldr	r3, .L67+48
	ldr	r3, [r3]
	and	r3, r3, r1
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L55
.L19:
	.word	.L22
	.word	.L21
	.word	.L55
	.word	.L20
	.word	.L18
.L13:
	ldr	r3, .L67+32
	ldr	r5, [r3]
	orr	r5, r9, r5
	b	.L14
.L12:
	ldr	r2, .L67+28
	ldr	r3, .L67+44
	ldr	r5, [r2]
	ldr	r3, [r3]
	orr	r5, r9, r5
	orr	r8, r8, r3
	b	.L14
.L11:
	mov	r0, r4
	bl	params_width
	cmp	r0, #16
	bne	.L59
	ldr	r1, .L67+32
	ldr	r3, .L67+36
	ldr	r2, .L67+40
	ldr	r5, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r5, r5, r3
	orr	r5, r5, r2
	ldr	r1, [r6]
	orr	r5, r5, r9
	b	.L14
.L57:
	mov	r0, r4
	bl	params_width
	mov	r5, r0
	mov	r0, r4
	bl	params_channels
	mul	r5, r0, r5
	cmp	r5, #48
	ldrgt	r3, .L67+52
	ldrle	r3, .L67+56
	ldr	r1, [r6]
	ldr	r3, [r3]
	orr	r8, r8, r3
	b	.L3
.L21:
	ldr	r3, [r10]
	and	r1, r1, r3
	sub	r1, r1, #134
	cmp	r1, #1
	bls	.L55
	ldr	r3, .L67+32
	ldr	r3, [r3]
	eor	r5, r5, r3
.L22:
	mov	r2, r5
	ldr	r1, .L67+60
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r3, .L67+64
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r6, #12]
	bl	regmap_write
	subs	r5, r0, #0
	bne	.L60
	mov	r2, r8
	ldr	r1, .L67+68
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r3, .L67+72
	mov	r2, r8
	ldr	r1, [r3]
	ldr	r0, [r6, #12]
	bl	regmap_write
	subs	r5, r0, #0
	bne	.L61
	mov	r0, r4
	bl	params_rate
	cmp	r0, #8000
	beq	.L29
	mov	r0, r4
	bl	params_rate
	cmp	r0, #16000
	beq	.L29
	mov	r0, r4
	bl	params_rate
	mov	r3, #6291456
	mov	ip, r0
	ldr	r2, [r6, #4]
	smull	r0, r1, ip, r3
	bl	DIV_ROUND_CLOSEST_ULL
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	params_rate
	ldr	r3, .L67+76
	cmp	r0, r3
	ble	.L42
	b	.L41
.L18:
	ldr	r3, [r10]
	and	r1, r1, r3
	sub	r1, r1, #134
	cmp	r1, #1
	bls	.L55
	ldr	r3, .L67+32
	ldr	r3, [r3]
	eor	r5, r5, r3
.L20:
	ldr	r2, .L67+80
	ldr	r3, .L67+84
	ldr	r2, [r2]
	ldr	r3, [r3]
	eor	r5, r5, r2
	eor	r8, r8, r3
	b	.L22
.L29:
	cmp	r9, #0
	bne	.L27
	mov	r0, r4
	bl	params_rate
	mov	r3, #6291456
	mov	ip, r0
	ldr	r2, [r6, #4]
	smull	r0, r1, ip, r3
	bl	DIV_ROUND_CLOSEST_ULL
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	params_rate
	ldr	r3, .L67+76
	cmp	r0, r3
	movle	r5, r9
	bgt	.L41
.L43:
	orr	r4, r4, #1
.L37:
	ldr	r2, [r6, #8]
	ldr	r1, .L67+88
	orr	r5, r5, r2
	mov	r2, r5
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r3, .L67+92
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r6, #12]
	bl	regmap_write
	subs	r5, r0, #0
	bne	.L62
	ldr	r8, .L67+96
	mov	r2, r4
	ldr	r1, .L67+100
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r1, [r8]
	ldr	r0, [r6, #12]
	lsr	r2, r4, #8
	bl	regmap_write
	subs	r5, r0, #0
	bne	.L63
	ldr	r3, .L67+104
	ldr	r0, [r6, #12]
	ldr	r1, [r3]
	and	r2, r4, #255
	bl	regmap_write
	subs	r5, r0, #0
	bne	.L64
	cmp	r9, #0
	bne	.L1
	ldr	r1, .L67+108
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r3, .L67+112
	ldr	r1, [r8]
	ldr	r3, [r3]
	ldr	r0, [r6, #12]
	mov	r2, r3
	bl	regmap_update_bits
	subs	r5, r0, #0
	beq	.L1
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+116
	bl	dev_err
	b	.L1
.L60:
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+120
	bl	dev_err
	b	.L1
.L61:
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+124
	bl	dev_err
	b	.L1
.L27:
	ldr	r3, [r6, #4]
	ldr	r2, .L67+128
	cmp	r3, r2
	beq	.L31
	ldr	r2, .L67+132
	cmp	r3, r2
	beq	.L32
	ldr	r2, .L67+136
	cmp	r3, r2
	beq	.L65
	mov	r0, r4
	bl	params_rate
	mov	r3, #6291456
	mov	ip, r0
	ldr	r2, [r6, #4]
	smull	r0, r1, ip, r3
	bl	DIV_ROUND_CLOSEST_ULL
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	params_rate
	ldr	r3, .L67+76
	cmp	r0, r3
	ble	.L37
.L41:
	ldr	r3, .L67+140
	ldr	r5, [r3]
.L42:
	cmp	r9, #0
	beq	.L43
	b	.L37
.L59:
	ldr	r0, [r7]
	ldr	r1, .L67+144
	bl	dev_err
	ldr	r3, .L67+24
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L62:
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+148
	bl	dev_err
	b	.L1
.L63:
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+152
	bl	dev_err
	b	.L1
.L64:
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L67+156
	bl	dev_err
	b	.L1
.L31:
	ldr	r3, .L67+160
	ldr	r5, [r3]
.L34:
	cmp	r5, #0
	mov	r0, r4
	bne	.L66
	bl	params_rate
	mov	r3, #6291456
	mov	ip, r0
	ldr	r2, [r6, #4]
	smull	r0, r1, ip, r3
	bl	DIV_ROUND_CLOSEST_ULL
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	params_rate
	ldr	r3, .L67+76
	cmp	r0, r3
	bgt	.L41
	b	.L37
.L65:
	ldr	r3, .L67+164
	ldr	r5, [r3]
	b	.L34
.L32:
	ldr	r3, .L67+168
	ldr	r5, [r3]
	b	.L34
.L66:
	bl	params_rate
	cmp	r0, #16000
	ldreq	r3, .L67+140
	ldreq	r3, [r3]
	orreq	r5, r5, r3
.L36:
	mov	r0, r4
	bl	params_rate
	mov	r3, #6291456
	mov	ip, r0
	ldr	r2, [r6, #4]
	smull	r0, r1, ip, r3
	bl	DIV_ROUND_CLOSEST_ULL
	mov	r4, r0
	b	.L37
.L68:
	.align	2
.L67:
	.word	.LC0
	.word	MAX9860_ST
	.word	SND_SOC_DAIFMT_MASTER_MASK
	.word	MAX9860_MASTER
	.word	SND_SOC_DAIFMT_FORMAT_MASK
	.word	.LC1
	.word	EINVAL
	.word	MAX9860_DDLY
	.word	MAX9860_WCI
	.word	MAX9860_HIZ
	.word	MAX9860_TDM
	.word	MAX9860_ADLY
	.word	SND_SOC_DAIFMT_INV_MASK
	.word	MAX9860_BSEL_64X
	.word	MAX9860_BSEL_48X
	.word	.LC3
	.word	MAX9860_IFC1A
	.word	.LC5
	.word	MAX9860_IFC1B
	.word	24000
	.word	MAX9860_DBCI
	.word	MAX9860_ABCI
	.word	.LC7
	.word	MAX9860_SYSCLK
	.word	MAX9860_AUDIOCLKHIGH
	.word	.LC9
	.word	MAX9860_AUDIOCLKLOW
	.word	.LC12
	.word	MAX9860_PLL
	.word	.LC13
	.word	.LC4
	.word	.LC6
	.word	13000000
	.word	19200000
	.word	12000000
	.word	MAX9860_16KHZ
	.word	.LC2
	.word	.LC8
	.word	.LC10
	.word	.LC11
	.word	MAX9860_FREQ_13MHZ
	.word	MAX9860_FREQ_12MHZ
	.word	MAX9860_FREQ_19_2MHZ
	.size	max9860_hw_params, .-max9860_hw_params
	.comm	SND_SOC_DAIFMT_MASTER_MASK,4,4
	.comm	SND_SOC_DAIFMT_INV_MASK,4,4
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	MAX9860_WCI,4,4
	.comm	MAX9860_TDM,4,4
	.comm	MAX9860_SYSCLK,4,4
	.comm	MAX9860_ST,4,4
	.comm	MAX9860_PLL,4,4
	.comm	MAX9860_MASTER,4,4
	.comm	MAX9860_IFC1B,4,4
	.comm	MAX9860_IFC1A,4,4
	.comm	MAX9860_HIZ,4,4
	.comm	MAX9860_FREQ_19_2MHZ,4,4
	.comm	MAX9860_FREQ_13MHZ,4,4
	.comm	MAX9860_FREQ_12MHZ,4,4
	.comm	MAX9860_DDLY,4,4
	.comm	MAX9860_DBCI,4,4
	.comm	MAX9860_BSEL_64X,4,4
	.comm	MAX9860_BSEL_48X,4,4
	.comm	MAX9860_AUDIOCLKLOW,4,4
	.comm	MAX9860_AUDIOCLKHIGH,4,4
	.comm	MAX9860_ADLY,4,4
	.comm	MAX9860_ABCI,4,4
	.comm	MAX9860_16KHZ,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
