	.file	"extr_hdac_controller.c_snd_hdac_bus_exit_link_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_hdac_bus_exit_link_reset
	.type	snd_hdac_bus_exit_link_reset, @function
snd_hdac_bus_exit_link_reset:
.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	edx, DWORD PTR AZX_GCTL_RESET[rip]
	mov	esi, DWORD PTR GCTL[rip]
	mov	ecx, edx
	call	snd_hdac_chip_updateb@PLT
	mov	edi, 100
	call	msecs_to_jiffies@PLT
	add	rax, QWORD PTR jiffies[rip]
	mov	rbp, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR jiffies[rip]
	mov	rsi, rbp
	call	time_before@PLT
	test	rax, rax
	je	.L1
	mov	esi, 1000
	mov	edi, 500
	call	usleep_range@PLT
.L2:
	mov	esi, DWORD PTR GCTL[rip]
	mov	rdi, rbx
	call	snd_hdac_chip_readb@PLT
	test	eax, eax
	je	.L8
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_hdac_bus_exit_link_reset, .-snd_hdac_bus_exit_link_reset
	.comm	jiffies,8,8
	.comm	GCTL,4,4
	.comm	AZX_GCTL_RESET,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_hdac_controller.c_snd_hdac_bus_exit_link_reset.c"
	.text
	.align	2
	.global	snd_hdac_bus_exit_link_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_hdac_bus_exit_link_reset, %function
snd_hdac_bus_exit_link_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r6, .L8+4
	mov	r2, r3
	ldr	r1, [r6]
	mov	r4, r0
	bl	snd_hdac_chip_updateb
	mov	r0, #100
	bl	msecs_to_jiffies
	ldr	r7, .L8+8
	ldr	r5, [r7]
	add	r5, r0, r5
.L2:
	mov	r0, r4
	ldr	r1, [r6]
	bl	snd_hdac_chip_readb
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, r5
	ldr	r0, [r7]
	bl	time_before
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, #1000
	mov	r0, #500
	bl	usleep_range
	b	.L2
.L9:
	.align	2
.L8:
	.word	AZX_GCTL_RESET
	.word	GCTL
	.word	jiffies
	.size	snd_hdac_bus_exit_link_reset, .-snd_hdac_bus_exit_link_reset
	.comm	jiffies,4,4
	.comm	GCTL,4,4
	.comm	AZX_GCTL_RESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
