	.file	"extr_tas5720.c_tas5720_codec_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to enable supplies: %d\n"
	.align 8
.LC1:
	.string	"failed to read device ID register: %d\n"
	.align 8
.LC2:
	.string	"unexpected private driver data\n"
	.align 8
.LC3:
	.string	"wrong device ID. expected: %u read: %u\n"
	.align 8
.LC4:
	.string	"error configuring device registers: %d\n"
	.text
	.p2align 4
	.type	tas5720_codec_probe, @function
tas5720_codec_probe:
.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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	snd_soc_component_get_drvdata@PLT
	mov	r12d, DWORD PTR 4[rax]
	mov	QWORD PTR 16[rax], rbp
	mov	rbx, rax
	mov	edi, r12d
	call	ARRAY_SIZE@PLT
	mov	esi, r12d
	mov	edi, eax
	call	regulator_bulk_enable@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR TAS5720_DEVICE_ID_REG[rip]
	lea	rdx, 4[rsp]
	call	regmap_read@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L15
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 128
	je	.L6
	mov	edx, DWORD PTR TAS5720_DEVICE_ID[rip]
	cmp	eax, 129
	jne	.L16
	mov	ecx, DWORD PTR 4[rsp]
	cmp	ecx, edx
	jne	.L17
.L9:
	mov	edx, DWORD PTR TAS5720_MUTE[rip]
	mov	esi, DWORD PTR TAS5720_DIGITAL_CTRL2_REG[rip]
	mov	rdi, rbp
	mov	ecx, edx
	call	snd_soc_component_update_bits@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L10
	mov	edx, DWORD PTR TAS5720_SDZ[rip]
	mov	esi, DWORD PTR TAS5720_POWER_CTRL_REG[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	call	snd_soc_component_update_bits@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L10
	mov	esi, DWORD PTR tas5720_fault_check_work[rip]
	lea	rdi, 8[rbx]
	call	INIT_DELAYED_WORK@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, r13d
	lea	rsi, .LC4[rip]
	xor	eax, eax
	mov	r12d, r13d
	call	dev_err@PLT
.L5:
	mov	ebp, DWORD PTR 4[rbx]
	mov	edi, ebp
	call	ARRAY_SIZE@PLT
	mov	esi, ebp
	mov	edi, eax
	call	regulator_bulk_disable@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR TAS5722_DEVICE_ID[rip]
	mov	ecx, DWORD PTR 4[rsp]
	cmp	ecx, edx
	je	.L9
.L17:
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC3[rip]
	call	dev_warn@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	r12d, r13d
	call	dev_err@PLT
	jmp	.L5
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tas5720_codec_probe, .-tas5720_codec_probe
	.comm	tas5720_fault_check_work,4,4
	.comm	TAS5722_DEVICE_ID,4,4
	.comm	TAS5720_SDZ,4,4
	.comm	TAS5720_POWER_CTRL_REG,4,4
	.comm	TAS5720_MUTE,4,4
	.comm	TAS5720_DIGITAL_CTRL2_REG,4,4
	.comm	TAS5720_DEVICE_ID_REG,4,4
	.comm	TAS5720_DEVICE_ID,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_tas5720.c_tas5720_codec_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to enable supplies: %d\012\000"
	.align	2
.LC1:
	.ascii	"failed to read device ID register: %d\012\000"
	.align	2
.LC2:
	.ascii	"unexpected private driver data\012\000"
	.align	2
.LC3:
	.ascii	"wrong device ID. expected: %u read: %u\012\000"
	.align	2
.LC4:
	.ascii	"error configuring device registers: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tas5720_codec_probe, %function
tas5720_codec_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L17
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	snd_soc_component_get_drvdata
	mov	r4, r0
	str	r6, [r0, #16]
	ldr	r0, [r0, #4]
	bl	ARRAY_SIZE
	ldr	r1, [r4, #4]
	bl	regulator_bulk_enable
	subs	r5, r0, #0
	bne	.L14
	ldr	r3, .L17+4
	mov	r2, sp
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	regmap_read
	subs	r2, r0, #0
	blt	.L15
	ldr	r3, [r4]
	cmp	r3, #128
	beq	.L6
	cmp	r3, #129
	bne	.L7
	ldr	r3, .L17+8
	ldr	r2, [r3]
.L8:
	ldr	r3, [sp]
	cmp	r3, r2
	beq	.L9
	ldr	r1, .L17+12
	ldr	r0, [r6]
	bl	dev_warn
.L9:
	ldr	r3, .L17+16
	ldr	r2, .L17+20
	ldr	r3, [r3]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r3
	bl	snd_soc_component_update_bits
	subs	r2, r0, #0
	blt	.L10
	ldr	r3, .L17+24
	ldr	r2, .L17+28
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #0
	mov	r0, r6
	bl	snd_soc_component_update_bits
	subs	r2, r0, #0
	blt	.L10
	ldr	r3, .L17+32
	add	r0, r4, #8
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	b	.L1
.L14:
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L17+36
	bl	dev_err
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, [r6]
	ldr	r1, .L17+40
	bl	dev_err
	ldr	r3, .L17+44
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L6:
	ldr	r3, .L17+48
	ldr	r2, [r3]
	b	.L8
.L10:
	ldr	r0, [r6]
	ldr	r1, .L17+52
	mov	r5, r2
	bl	dev_err
.L5:
	ldr	r0, [r4, #4]
	bl	ARRAY_SIZE
	ldr	r1, [r4, #4]
	bl	regulator_bulk_disable
	b	.L1
.L15:
	ldr	r0, [r6]
	ldr	r1, .L17+56
	mov	r5, r2
	bl	dev_err
	b	.L5
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	TAS5720_DEVICE_ID_REG
	.word	TAS5720_DEVICE_ID
	.word	.LC3
	.word	TAS5720_MUTE
	.word	TAS5720_DIGITAL_CTRL2_REG
	.word	TAS5720_POWER_CTRL_REG
	.word	TAS5720_SDZ
	.word	tas5720_fault_check_work
	.word	.LC0
	.word	.LC2
	.word	EINVAL
	.word	TAS5722_DEVICE_ID
	.word	.LC4
	.word	.LC1
	.size	tas5720_codec_probe, .-tas5720_codec_probe
	.comm	tas5720_fault_check_work,4,4
	.comm	TAS5722_DEVICE_ID,4,4
	.comm	TAS5720_SDZ,4,4
	.comm	TAS5720_POWER_CTRL_REG,4,4
	.comm	TAS5720_MUTE,4,4
	.comm	TAS5720_DIGITAL_CTRL2_REG,4,4
	.comm	TAS5720_DEVICE_ID_REG,4,4
	.comm	TAS5720_DEVICE_ID,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
