	.file	"extr_twl4030.c_twl4030_shutdown.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	twl4030_shutdown, @function
twl4030_shutdown:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rsi]
	mov	rdi, rbp
	call	snd_soc_component_get_drvdata@PLT
	mov	rdx, QWORD PTR 8[rax]
	cmp	rdx, rbx
	je	.L9
.L2:
	mov	QWORD PTR 16[rax], 0
	test	rdx, rdx
	je	.L7
	mov	rdx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR [rdx]
	test	edx, edx
	je	.L7
	mov	rax, QWORD PTR 8[rbx]
	cmp	DWORD PTR [rax], 4
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR 8[rbx]
	cmp	DWORD PTR [rax], 4
	jne	.L1
.L10:
	mov	esi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	edx, edx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	twl4030_tdm_enable@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, QWORD PTR 16[rax]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	twl4030_shutdown, .-twl4030_shutdown
	.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_twl4030.c_twl4030_shutdown.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	twl4030_shutdown, %function
twl4030_shutdown:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r1]
	mov	r4, r0
	mov	r0, r5
	bl	snd_soc_component_get_drvdata
	mov	r2, #0
	ldr	r3, [r0, #4]
	cmp	r3, r4
	ldreq	r3, [r0, #8]
	str	r2, [r0, #8]
	streq	r3, [r0, #4]
	cmp	r3, r2
	beq	.L7
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
.L7:
	str	r3, [r0]
.L4:
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #4
	popne	{r4, r5, r6, pc}
	mov	r0, r5
	ldr	r1, [r4]
	mov	r2, #0
	pop	{r4, r5, r6, lr}
	b	twl4030_tdm_enable
	.size	twl4030_shutdown, .-twl4030_shutdown
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
