	.file	"extr_mtk-btcvsd.c_mtk_btcvsd_snd_data_transfer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mtk_btcvsd_snd_data_transfer, @function
mtk_btcvsd_snd_data_transfer:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	ecx, 60
	sete	r9b
	cmp	ecx, 120
	sete	al
	or	r9b, al
	jne	.L2
	cmp	ecx, 20
	jne	.L25
.L2:
	imul	ecx, r8d
	shr	ecx, 2
	je	.L21
	lea	edi, -1[rcx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rcx, rax
	add	rax, 1
	cmp	rdi, rcx
	jne	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	test	r8d, r8d
	je	.L21
	shr	ecx
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	r11d, r11d
	lea	r9d, -1[rcx]
	mov	r10d, ecx
	lea	rbx, 4[0+r9*4]
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	test	r10d, r10d
	je	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, DWORD PTR [rsi+rax*4]
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rcx, rax
	add	rax, 1
	cmp	r9, rcx
	jne	.L6
	add	rsi, rbx
	add	rdx, rbx
.L9:
	cmp	DWORD PTR BT_SCO_DIRECT_BT2ARM[rip], edi
	je	.L26
	add	rdx, 4
.L8:
	add	r11d, 1
	cmp	r8d, r11d
	jne	.L4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	add	rsi, 4
	jmp	.L8
.L21:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	ret
	.cfi_endproc
.LFE0:
	.size	mtk_btcvsd_snd_data_transfer, .-mtk_btcvsd_snd_data_transfer
	.comm	BT_SCO_DIRECT_BT2ARM,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_mtk-btcvsd.c_mtk_btcvsd_snd_data_transfer.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mtk_btcvsd_snd_data_transfer, %function
mtk_btcvsd_snd_data_transfer:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #120
	cmpne	r3, #60
	push	{r4, r5, r6, r7, r8, r9, lr}
	moveq	r6, #1
	movne	r6, #0
	cmp	r3, #20
	orreq	r6, r6, #1
	cmp	r6, #0
	ldr	r8, [sp, #28]
	beq	.L22
	mul	r3, r8, r3
	lsrs	r3, r3, #2
	popeq	{r4, r5, r6, r7, r8, r9, pc}
	sub	r2, r2, #4
	add	r3, r1, r3, lsl #2
.L5:
	ldr	r0, [r1], #4
	cmp	r3, r1
	str	r0, [r2, #4]!
	bne	.L5
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L22:
	cmp	r8, #0
	popeq	{r4, r5, r6, r7, r8, r9, pc}
	lsr	r5, r3, #1
	ldr	r9, .L23
	lsl	r7, r5, #2
.L4:
	cmp	r5, #0
	movne	lr, r1
	movne	r3, #0
	subne	ip, r2, #4
	beq	.L10
.L6:
	ldr	r4, [lr], #4
	add	r3, r3, #1
	cmp	r3, r5
	str	r4, [ip, #4]!
	bne	.L6
	add	r1, r1, r7
	add	r2, r2, r7
.L10:
	ldr	ip, [r9]
	add	r6, r6, #1
	cmp	ip, r0
	addeq	r1, r1, #4
	addne	r2, r2, #4
	cmp	r8, r6
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L24:
	.align	2
.L23:
	.word	BT_SCO_DIRECT_BT2ARM
	.size	mtk_btcvsd_snd_data_transfer, .-mtk_btcvsd_snd_data_transfer
	.comm	BT_SCO_DIRECT_BT2ARM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
