	.file	"extr_wm8998.c_wm8998_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to register component: %d\n"
	.text
	.p2align 4
	.type	wm8998_probe, @function
wm8998_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR [rdi]
	call	dev_get_drvdata@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	mov	rdi, r13
	mov	r12, rax
	call	devm_kzalloc@PLT
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	test	rax, rax
	je	.L1
	mov	rdi, r13
	mov	rsi, rax
	mov	rbp, rax
	call	platform_set_drvdata@PLT
	mov	edi, DWORD PTR CONFIG_OF[rip]
	call	IS_ENABLED@PLT
	test	rax, rax
	jne	.L4
.L6:
	mov	QWORD PTR 8[rbp], r12
	mov	rdi, QWORD PTR 16[rbp]
	xor	ebx, ebx
	mov	DWORD PTR 0[rbp], 3
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 16[rbp]
	mov	DWORD PTR [rdi+rbx*4], 1
	add	rbx, 1
.L5:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L7
	mov	rax, QWORD PTR ARIZONA_FLL1_CONTROL_1[rip]
	mov	r9, QWORD PTR 16[rbp]
	mov	rdi, r12
	xor	ebx, ebx
	mov	r8d, DWORD PTR ARIZONA_IRQ_FLL1_CLOCK_OK[rip]
	mov	ecx, DWORD PTR ARIZONA_IRQ_FLL1_LOCK[rip]
	mov	esi, 1
	lea	rdx, -1[rax]
	call	arizona_init_fll@PLT
	mov	rcx, QWORD PTR ARIZONA_FLL2_CONTROL_1[rip]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, r12
	mov	r8d, DWORD PTR ARIZONA_IRQ_FLL2_CLOCK_OK[rip]
	mov	esi, 2
	lea	rdx, -1[rcx]
	mov	ecx, DWORD PTR ARIZONA_IRQ_FLL2_LOCK[rip]
	lea	r9, 4[rax]
	call	arizona_init_fll@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, ebx
	mov	rdi, rbp
	add	ebx, 1
	call	arizona_init_dai@PLT
.L8:
	mov	rdi, QWORD PTR wm8998_dai[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L9
	xor	ebx, ebx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR wm8998_digital_vu[rip]
	mov	edx, DWORD PTR WM8998_DIG_VU[rip]
	mov	edi, DWORD PTR [r12]
	mov	esi, DWORD PTR [rax+rbx*4]
	mov	ecx, edx
	add	rbx, 1
	call	regmap_update_bits@PLT
.L10:
	mov	rdi, QWORD PTR wm8998_digital_vu[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L11
	mov	rdi, r13
	call	pm_runtime_enable@PLT
	mov	rdi, r13
	call	pm_runtime_idle@PLT
	mov	rdi, r12
	call	arizona_init_common@PLT
	mov	rdi, r12
	call	arizona_init_spk_irqs@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR wm8998_dai[rip]
	call	ARRAY_SIZE@PLT
	mov	rdx, QWORD PTR wm8998_dai[rip]
	lea	rsi, soc_component_dev_wm8998[rip]
	mov	rdi, r13
	mov	ecx, eax
	call	devm_snd_soc_register_component@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r12]
	call	dev_get_platdata@PLT
	test	eax, eax
	jne	.L6
	mov	rdi, r12
	call	arizona_of_get_audio_pdata@PLT
	mov	r14d, eax
	test	eax, eax
	jns	.L6
	jmp	.L1
.L14:
	mov	rdi, r13
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rdi, r12
	call	arizona_free_spk_irqs@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wm8998_probe, .-wm8998_probe
	.comm	wm8998_digital_vu,8,8
	.comm	wm8998_dai,8,8
	.comm	soc_component_dev_wm8998,4,4
	.comm	WM8998_DIG_VU,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CONFIG_OF,4,4
	.comm	ARIZONA_IRQ_FLL2_LOCK,4,4
	.comm	ARIZONA_IRQ_FLL2_CLOCK_OK,4,4
	.comm	ARIZONA_IRQ_FLL1_LOCK,4,4
	.comm	ARIZONA_IRQ_FLL1_CLOCK_OK,4,4
	.comm	ARIZONA_FLL2_CONTROL_1,8,8
	.comm	ARIZONA_FLL1_CONTROL_1,8,8
	.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_wm8998.c_wm8998_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to register component: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8998_probe, %function
wm8998_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r0
	sub	sp, sp, #12
	ldr	r0, [r0]
	bl	dev_get_drvdata
	ldr	r3, .L16
	mov	r6, r0
	mov	r1, #12
	mov	r0, r7
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L14
	mov	r1, r5
	mov	r0, r7
	bl	platform_set_drvdata
	ldr	r3, .L16+4
	ldr	r0, [r3]
	bl	IS_ENABLED
	cmp	r0, #0
	bne	.L4
.L6:
	mov	r3, #3
	mov	r4, #0
	mov	r8, #1
	stm	r5, {r3, r6}
	ldr	r0, [r5, #8]
	b	.L5
.L7:
	ldr	r0, [r5, #8]
	str	r8, [r0, r4, lsl #2]
	add	r4, r4, #1
.L5:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L7
	ldr	r3, .L16+8
	ldr	r1, [r5, #8]
	ldr	r0, [r3]
	ldr	r2, .L16+12
	ldr	r3, .L16+16
	ldr	r2, [r2]
	stm	sp, {r0, r1}
	sub	r2, r2, #1
	mov	r1, #1
	ldr	r3, [r3]
	mov	r0, r6
	bl	arizona_init_fll
	ldr	r1, .L16+20
	ldr	r3, [r5, #8]
	ldr	r0, [r1]
	ldr	r2, .L16+24
	add	r3, r3, #4
	ldr	r2, [r2]
	stm	sp, {r0, r3}
	ldr	r1, .L16+28
	mov	r0, r6
	ldr	r3, [r1]
	sub	r2, r2, #1
	mov	r1, #2
	bl	arizona_init_fll
	mov	r4, #0
	ldr	r8, .L16+32
	b	.L8
.L9:
	mov	r1, r4
	mov	r0, r5
	bl	arizona_init_dai
	add	r4, r4, #1
.L8:
	ldr	r0, [r8]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L9
	mov	r4, #0
	ldr	r5, .L16+36
	ldr	r9, .L16+40
	b	.L10
.L11:
	ldr	r3, [r9]
	ldr	r1, [r5]
	mov	r2, r3
	ldr	r1, [r1, r4, lsl #2]
	ldr	r0, [r6]
	bl	regmap_update_bits
	add	r4, r4, #1
.L10:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L11
	mov	r0, r7
	bl	pm_runtime_enable
	mov	r0, r7
	bl	pm_runtime_idle
	mov	r0, r6
	bl	arizona_init_common
	mov	r0, r6
	bl	arizona_init_spk_irqs
	subs	r4, r0, #0
	blt	.L1
	ldr	r4, [r8]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L16+44
	mov	r0, r7
	bl	devm_snd_soc_register_component
	subs	r4, r0, #0
	blt	.L15
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	ldr	r0, [r6, #4]
	bl	dev_get_platdata
	cmp	r0, #0
	bne	.L6
	mov	r0, r6
	bl	arizona_of_get_audio_pdata
	subs	r4, r0, #0
	bge	.L6
	b	.L1
.L14:
	ldr	r3, .L16+48
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L16+52
	bl	dev_err
	mov	r0, r6
	bl	arizona_free_spk_irqs
	b	.L1
.L17:
	.align	2
.L16:
	.word	GFP_KERNEL
	.word	CONFIG_OF
	.word	ARIZONA_IRQ_FLL1_CLOCK_OK
	.word	ARIZONA_FLL1_CONTROL_1
	.word	ARIZONA_IRQ_FLL1_LOCK
	.word	ARIZONA_IRQ_FLL2_CLOCK_OK
	.word	ARIZONA_FLL2_CONTROL_1
	.word	ARIZONA_IRQ_FLL2_LOCK
	.word	wm8998_dai
	.word	wm8998_digital_vu
	.word	WM8998_DIG_VU
	.word	soc_component_dev_wm8998
	.word	ENOMEM
	.word	.LC0
	.size	wm8998_probe, .-wm8998_probe
	.comm	wm8998_digital_vu,4,4
	.comm	wm8998_dai,4,4
	.comm	soc_component_dev_wm8998,4,4
	.comm	WM8998_DIG_VU,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CONFIG_OF,4,4
	.comm	ARIZONA_IRQ_FLL2_LOCK,4,4
	.comm	ARIZONA_IRQ_FLL2_CLOCK_OK,4,4
	.comm	ARIZONA_IRQ_FLL1_LOCK,4,4
	.comm	ARIZONA_IRQ_FLL1_CLOCK_OK,4,4
	.comm	ARIZONA_FLL2_CONTROL_1,4,4
	.comm	ARIZONA_FLL1_CONTROL_1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
