	.file	"extr_kfifo-new.c___kfifo_dma_out_prepare_r.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__kfifo_dma_out_prepare_r
	.type	__kfifo_dma_out_prepare_r, @function
__kfifo_dma_out_prepare_r:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	test	edx, edx
	je	.L6
.L2:
	mov	rsi, rbx
	mov	edi, r14d
	call	__kfifo_max_r@PLT
	mov	r8d, DWORD PTR 4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 0[rbp]
	mov	rcx, rdx
	add	rdx, rbx
	sub	eax, r8d
	cmp	rdx, rax
	jbe	.L7
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	add	r8d, ebx
	mov	edx, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	setup_sgl@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	eax, eax
	call	BUG@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	__kfifo_dma_out_prepare_r, .-__kfifo_dma_out_prepare_r
	.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_kfifo-new.c___kfifo_dma_out_prepare_r.c"
	.text
	.align	2
	.global	__kfifo_dma_out_prepare_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	__kfifo_dma_out_prepare_r, %function
__kfifo_dma_out_prepare_r:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r2, #0
	mov	r4, r0
	mov	r7, r1
	mov	r6, r3
	ldr	r8, [sp, #24]
	beq	.L6
.L2:
	mov	r1, r8
	mov	r0, r6
	bl	__kfifo_max_r
	ldr	r1, [r4, #4]
	ldr	r2, [r4]
	mov	r3, r0
	sub	r2, r2, r1
	add	r0, r8, r0
	cmp	r0, r2
	bls	.L7
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	add	r1, r1, r8
	str	r1, [sp, #24]
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	setup_sgl
.L6:
	bl	BUG
	b	.L2
	.size	__kfifo_dma_out_prepare_r, .-__kfifo_dma_out_prepare_r
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
