	.file	"extr_max98373.c_max98373_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	max98373_probe, @function
max98373_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_soc_component_get_drvdata@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rbx, rax
	mov	rdi, rax
	call	max98373_reset@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2020_PCM_TX_HIZ_EN_1[rip]
	mov	edx, 255
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2021_PCM_TX_HIZ_EN_2[rip]
	mov	edx, 255
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2029_PCM_TO_SPK_MONO_MIX_1[rip]
	mov	edx, 128
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2[rip]
	mov	edx, 1
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R203D_AMP_DIG_VOL_CTRL[rip]
	xor	edx, edx
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R203E_AMP_PATH_GAIN[rip]
	xor	edx, edx
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R203F_AMP_DSP_CFG[rip]
	mov	edx, 3
	call	regmap_write@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2046_IV_SENSE_ADC_DSP_CFG[rip]
	mov	edx, 7
	call	regmap_write@PLT
	mov	ecx, DWORD PTR MAX98373_PCM_TX_CH_SRC_A_I_SHIFT[rip]
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2022_PCM_TX_SRC_1[rip]
	sal	edx, cl
	or	edx, DWORD PTR 4[rbx]
	movzx	edx, dl
	call	regmap_write@PLT
	mov	ecx, DWORD PTR 4[rbx]
	cmp	ecx, 7
	jg	.L2
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2020_PCM_TX_HIZ_EN_1[rip]
	mov	edx, 1
	sal	edx, cl
	xor	ecx, ecx
	call	regmap_update_bits@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	edi, DWORD PTR 12[rbx]
	cmp	ecx, 7
	jg	.L4
.L10:
	mov	edx, 1
	mov	esi, DWORD PTR MAX98373_R2020_PCM_TX_HIZ_EN_1[rip]
	sal	edx, cl
	xor	ecx, ecx
	call	regmap_update_bits@PLT
.L5:
	movzx	edx, BYTE PTR 8[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2023_PCM_TX_SRC_2[rip]
	call	regmap_write@PLT
	cmp	QWORD PTR 16[rbx], 0
	jne	.L9
.L6:
	mov	edi, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR MAX98373_SPK_EN_MASK[rip]
	mov	ecx, 1
	mov	esi, DWORD PTR MAX98373_R2043_AMP_EN[rip]
	call	regmap_update_bits@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
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbx]
	sub	ecx, 8
	mov	esi, DWORD PTR MAX98373_R2021_PCM_TX_HIZ_EN_2[rip]
	mov	edx, 1
	sal	edx, cl
	xor	ecx, ecx
	call	regmap_update_bits@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	edi, DWORD PTR 12[rbx]
	cmp	ecx, 7
	jle	.L10
.L4:
	sub	ecx, 8
	mov	esi, DWORD PTR MAX98373_R2021_PCM_TX_HIZ_EN_2[rip]
	mov	edx, 1
	sal	edx, cl
	xor	ecx, ecx
	call	regmap_update_bits@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR MAX98373_PCM_TX_CH_INTERLEAVE_MASK[rip]
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR MAX98373_R2024_PCM_DATA_FMT_CFG[rip]
	mov	ecx, edx
	call	regmap_update_bits@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	max98373_probe, .-max98373_probe
	.comm	MAX98373_SPK_EN_MASK,4,4
	.comm	MAX98373_R2046_IV_SENSE_ADC_DSP_CFG,4,4
	.comm	MAX98373_R2043_AMP_EN,4,4
	.comm	MAX98373_R203F_AMP_DSP_CFG,4,4
	.comm	MAX98373_R203E_AMP_PATH_GAIN,4,4
	.comm	MAX98373_R203D_AMP_DIG_VOL_CTRL,4,4
	.comm	MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2,4,4
	.comm	MAX98373_R2029_PCM_TO_SPK_MONO_MIX_1,4,4
	.comm	MAX98373_R2024_PCM_DATA_FMT_CFG,4,4
	.comm	MAX98373_R2023_PCM_TX_SRC_2,4,4
	.comm	MAX98373_R2022_PCM_TX_SRC_1,4,4
	.comm	MAX98373_R2021_PCM_TX_HIZ_EN_2,4,4
	.comm	MAX98373_R2020_PCM_TX_HIZ_EN_1,4,4
	.comm	MAX98373_PCM_TX_CH_SRC_A_I_SHIFT,4,4
	.comm	MAX98373_PCM_TX_CH_INTERLEAVE_MASK,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_max98373.c_max98373_probe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max98373_probe, %function
max98373_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	snd_soc_component_get_drvdata
	mov	r4, r0
	ldr	r6, .L13
	ldr	r1, [r5]
	ldr	r5, .L13+4
	bl	max98373_reset
	mov	r2, #255
	ldr	r1, [r6]
	ldr	r0, [r4, #12]
	bl	regmap_write
	mov	r2, #255
	ldr	r1, [r5]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+8
	mov	r2, #128
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+12
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+16
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+20
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+24
	mov	r2, #3
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, .L13+28
	mov	r2, #7
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldm	r4, {r0, r2}
	ldr	r3, .L13+32
	ldr	r1, [r3]
	ldr	r3, .L13+36
	orr	r2, r2, r0, lsl r1
	and	r2, r2, #255
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	mov	r2, #1
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #12]
	cmp	r1, #7
	subgt	r1, r1, #8
	lslle	r2, r2, r1
	lslgt	r2, r2, r1
	ldrle	r1, [r6]
	ldrgt	r1, [r5]
	movle	r3, #0
	movgt	r3, #0
	bl	regmap_update_bits
	mov	r2, #1
	ldr	r3, [r4]
	ldr	r0, [r4, #12]
	cmp	r3, #7
	subgt	r3, r3, #8
	ldrle	r1, [r6]
	ldrgt	r1, [r5]
	lsl	r2, r2, r3
	mov	r3, #0
	bl	regmap_update_bits
	ldr	r3, .L13+40
	ldrb	r2, [r4, #8]	@ zero_extendqisi2
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_write
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L12
.L6:
	ldr	r3, .L13+44
	ldr	r2, .L13+48
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	mov	r3, #1
	ldr	r2, [r2]
	bl	regmap_update_bits
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L13+52
	ldr	r2, .L13+56
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r0, [r4, #12]
	mov	r2, r3
	bl	regmap_update_bits
	b	.L6
.L14:
	.align	2
.L13:
	.word	MAX98373_R2020_PCM_TX_HIZ_EN_1
	.word	MAX98373_R2021_PCM_TX_HIZ_EN_2
	.word	MAX98373_R2029_PCM_TO_SPK_MONO_MIX_1
	.word	MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2
	.word	MAX98373_R203D_AMP_DIG_VOL_CTRL
	.word	MAX98373_R203E_AMP_PATH_GAIN
	.word	MAX98373_R203F_AMP_DSP_CFG
	.word	MAX98373_R2046_IV_SENSE_ADC_DSP_CFG
	.word	MAX98373_PCM_TX_CH_SRC_A_I_SHIFT
	.word	MAX98373_R2022_PCM_TX_SRC_1
	.word	MAX98373_R2023_PCM_TX_SRC_2
	.word	MAX98373_R2043_AMP_EN
	.word	MAX98373_SPK_EN_MASK
	.word	MAX98373_PCM_TX_CH_INTERLEAVE_MASK
	.word	MAX98373_R2024_PCM_DATA_FMT_CFG
	.size	max98373_probe, .-max98373_probe
	.comm	MAX98373_SPK_EN_MASK,4,4
	.comm	MAX98373_R2046_IV_SENSE_ADC_DSP_CFG,4,4
	.comm	MAX98373_R2043_AMP_EN,4,4
	.comm	MAX98373_R203F_AMP_DSP_CFG,4,4
	.comm	MAX98373_R203E_AMP_PATH_GAIN,4,4
	.comm	MAX98373_R203D_AMP_DIG_VOL_CTRL,4,4
	.comm	MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2,4,4
	.comm	MAX98373_R2029_PCM_TO_SPK_MONO_MIX_1,4,4
	.comm	MAX98373_R2024_PCM_DATA_FMT_CFG,4,4
	.comm	MAX98373_R2023_PCM_TX_SRC_2,4,4
	.comm	MAX98373_R2022_PCM_TX_SRC_1,4,4
	.comm	MAX98373_R2021_PCM_TX_HIZ_EN_2,4,4
	.comm	MAX98373_R2020_PCM_TX_HIZ_EN_1,4,4
	.comm	MAX98373_PCM_TX_CH_SRC_A_I_SHIFT,4,4
	.comm	MAX98373_PCM_TX_CH_INTERLEAVE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
