	.file	"extr_wm9712.c_wm9712_soc_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to register AC97 codec: %d\n"
	.text
	.p2align 4
	.type	wm9712_soc_probe, @function
wm9712_soc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	call	snd_soc_component_get_drvdata@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L2
	mov	rdx, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rbx], rdx
.L3:
	mov	rdi, rbp
	xor	r12d, r12d
	call	snd_soc_component_init_regmap@PLT
	mov	esi, DWORD PTR AC97_VIDEO[rip]
	mov	ecx, 12288
	mov	rdi, rbp
	mov	edx, 12288
	call	snd_soc_component_update_bits@PLT
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR CONFIG_SND_SOC_AC97_BUS[rip]
	call	IS_ENABLED@PLT
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR WM9712_VENDOR_ID_MASK[rip]
	mov	esi, DWORD PTR WM9712_VENDOR_ID[rip]
	mov	rdi, rbp
	call	snd_soc_new_ac97_component@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, wm9712_regmap_config[rip]
	call	regmap_init_ac97@PLT
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	IS_ERR@PLT
	mov	rsi, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR [rbx]
	call	snd_soc_free_ac97_component@PLT
	mov	rsi, QWORD PTR 8[rsp]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rdi, rsi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENXIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rbx]
	call	PTR_ERR@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	mov	r12d, eax
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wm9712_soc_probe, .-wm9712_soc_probe
	.comm	wm9712_regmap_config,4,4
	.comm	WM9712_VENDOR_ID_MASK,4,4
	.comm	WM9712_VENDOR_ID,4,4
	.comm	ENXIO,4,4
	.comm	CONFIG_SND_SOC_AC97_BUS,4,4
	.comm	AC97_VIDEO,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_wm9712.c_wm9712_soc_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to register AC97 codec: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm9712_soc_probe, %function
wm9712_soc_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	mov	r5, r0
	bl	snd_soc_component_get_drvdata
	ldr	r3, [r0, #4]
	mov	r4, r0
	cmp	r3, #0
	beq	.L2
	ldm	r3, {r1, r2}
	str	r2, [r0]
.L3:
	mov	r0, r5
	bl	snd_soc_component_init_regmap
	mov	r3, #12288
	ldr	r1, .L13
	mov	r0, r5
	mov	r2, r3
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	mov	r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	bl	IS_ENABLED
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L13+8
	ldr	r2, .L13+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	snd_soc_new_ac97_component
	str	r0, [r4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	ldr	r1, .L13+16
	ldr	r0, [r4]
	bl	regmap_init_ac97
	str	r0, [sp, #4]
	bl	IS_ERR
	cmp	r0, #0
	ldr	r1, [sp, #4]
	beq	.L3
	ldr	r0, [r4]
	bl	snd_soc_free_ac97_component
	ldr	r1, [sp, #4]
	mov	r0, r1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	PTR_ERR
.L4:
	ldr	r3, .L13+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	ldr	r0, [r4]
	bl	PTR_ERR
	mov	r4, r0
	ldr	r1, .L13+24
	mov	r2, r4
	ldr	r0, [r5]
	bl	dev_err
	b	.L1
.L14:
	.align	2
.L13:
	.word	AC97_VIDEO
	.word	CONFIG_SND_SOC_AC97_BUS
	.word	WM9712_VENDOR_ID
	.word	WM9712_VENDOR_ID_MASK
	.word	wm9712_regmap_config
	.word	ENXIO
	.word	.LC0
	.size	wm9712_soc_probe, .-wm9712_soc_probe
	.comm	wm9712_regmap_config,4,4
	.comm	WM9712_VENDOR_ID_MASK,4,4
	.comm	WM9712_VENDOR_ID,4,4
	.comm	ENXIO,4,4
	.comm	CONFIG_SND_SOC_AC97_BUS,4,4
	.comm	AC97_VIDEO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
