	.file	"extr_cmt_speech.c_cs_hsi_data_sync.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hsi_data_sync break, idle\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"hsi_data_sync timeout after %d ms\n"
	.align 8
.LC2:
	.string	"hsi_data_sync done with res %d\n"
	.text
	.p2align 4
	.type	cs_hsi_data_sync, @function
cs_hsi_data_sync:
.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
	lea	rbp, 8[rdi]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, rbp
	lea	r13, 12[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock_bh@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	cs_state_xfer_active@PLT
	test	eax, eax
	jne	.L2
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR current[rip]
	call	signal_pending@PLT
	test	rax, rax
	jne	.L14
	mov	edx, DWORD PTR TASK_INTERRUPTIBLE[rip]
	lea	rsi, wait[rip]
	mov	rdi, r13
	call	prepare_to_wait@PLT
	mov	rdi, rbp
	call	spin_unlock_bh@PLT
	mov	edi, DWORD PTR CS_HSI_TRANSFER_TIMEOUT_MS[rip]
	call	msecs_to_jiffies@PLT
	mov	edi, eax
	call	schedule_timeout@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	spin_lock_bh@PLT
	lea	rsi, wait[rip]
	mov	rdi, r13
	call	finish_wait@PLT
	test	r12d, r12d
	je	.L15
.L2:
	mov	edi, DWORD PTR wait[rip]
	call	DEFINE_WAIT@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	cs_state_xfer_active@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L16
.L3:
	mov	rdi, rbp
	call	spin_unlock_bh@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r12d
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	dev_dbg@PLT
	add	rsp, 8
	.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	r12d, DWORD PTR ERESTARTSYS[rip]
	neg	r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, DWORD PTR CS_HSI_TRANSFER_TIMEOUT_MS[rip]
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR [rbx]
	mov	r12d, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cs_hsi_data_sync, .-cs_hsi_data_sync
	.comm	wait,4,4
	.comm	current,4,4
	.comm	TASK_INTERRUPTIBLE,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EIO,4,4
	.comm	CS_HSI_TRANSFER_TIMEOUT_MS,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_cmt_speech.c_cs_hsi_data_sync.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hsi_data_sync break, idle\012\000"
	.align	2
.LC1:
	.ascii	"hsi_data_sync timeout after %d ms\012\000"
	.align	2
.LC2:
	.ascii	"hsi_data_sync done with res %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs_hsi_data_sync, %function
cs_hsi_data_sync:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	add	r4, r0, #4
	sub	sp, sp, #12
	mov	r0, r4
	bl	spin_lock_bh
	ldr	r0, [r7, #12]
	bl	cs_state_xfer_active
	subs	r2, r0, #0
	beq	.L10
	ldr	r8, .L16
	ldr	r9, .L16+4
	mov	r6, r8
	ldr	r10, .L16+8
	add	r5, r7, #8
	b	.L2
.L15:
	ldr	r0, [r9]
	bl	signal_pending
	cmp	r0, #0
	bne	.L13
	ldr	r3, .L16+12
	mov	r1, r6
	ldr	r2, [r3]
	mov	r0, r5
	bl	prepare_to_wait
	mov	r0, r4
	bl	spin_unlock_bh
	ldr	r0, [r10]
	bl	msecs_to_jiffies
	bl	schedule_timeout
	mov	fp, r0
	mov	r0, r4
	bl	spin_lock_bh
	mov	r1, r6
	mov	r0, r5
	bl	finish_wait
	cmp	fp, #0
	beq	.L14
.L2:
	ldr	r0, [r8]
	bl	DEFINE_WAIT
	ldr	r0, [r7, #12]
	bl	cs_state_xfer_active
	subs	r2, r0, #0
	bne	.L15
.L3:
	mov	r0, r4
	str	r2, [sp, #4]
	bl	spin_unlock_bh
	ldr	r2, [sp, #4]
	ldr	r0, [r7]
	ldr	r1, .L16+16
	bl	dev_dbg
	ldr	r2, [sp, #4]
	mov	r0, r2
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r2, r0, #0
	b	.L3
.L14:
	ldr	r2, [r10]
	ldr	r1, .L16+24
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r3, .L16+28
	ldr	r0, [r3]
	rsb	r2, r0, #0
	b	.L3
.L10:
	ldr	r1, .L16+32
	ldr	r0, [r7]
	str	r2, [sp, #4]
	bl	dev_dbg
	ldr	r2, [sp, #4]
	b	.L3
.L17:
	.align	2
.L16:
	.word	wait
	.word	current
	.word	CS_HSI_TRANSFER_TIMEOUT_MS
	.word	TASK_INTERRUPTIBLE
	.word	.LC2
	.word	ERESTARTSYS
	.word	.LC1
	.word	EIO
	.word	.LC0
	.size	cs_hsi_data_sync, .-cs_hsi_data_sync
	.comm	wait,4,4
	.comm	current,4,4
	.comm	TASK_INTERRUPTIBLE,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EIO,4,4
	.comm	CS_HSI_TRANSFER_TIMEOUT_MS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
