	.file	"extr_netjet.c_bc_next_frame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bc_next_frame, @function
bc_next_frame:
.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
	mov	rbp, rdi
	mov	rdi, QWORD PTR 16[rdi]
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L5
.L2:
	call	dev_kfree_skb@PLT
	mov	rdi, rbp
	lea	r13, 8[rbp]
	call	get_next_bframe@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	mov	r12d, 1
	call	fill_dma@PLT
	mov	edi, DWORD PTR FLG_TX_EMPTY[rip]
	mov	rsi, r13
	call	test_and_clear_bit@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR FLG_TX_EMPTY[rip]
	mov	rsi, r13
	call	test_bit@PLT
	test	rax, rax
	jne	.L5
	mov	edi, DWORD PTR FLG_FILLEMPTY[rip]
	mov	rsi, r13
	xor	r12d, r12d
	call	test_bit@PLT
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR FLG_TX_EMPTY[rip]
	mov	rsi, r13
	call	test_and_set_bit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	mov	r12d, 1
	call	fill_dma@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bc_next_frame, .-bc_next_frame
	.comm	FLG_TX_EMPTY,4,4
	.comm	FLG_FILLEMPTY,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_netjet.c_bc_next_frame.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bc_next_frame, %function
bc_next_frame:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	cmp	r0, #0
	beq	.L2
	ldr	r2, [r4]
	ldr	r3, [r0]
	cmp	r2, r3
	blt	.L5
.L2:
	bl	dev_kfree_skb
	mov	r0, r4
	bl	get_next_bframe
	cmp	r0, #0
	add	r5, r4, #4
	beq	.L4
	mov	r0, r4
	bl	fill_dma
	ldr	r3, .L14
	mov	r1, r5
	ldr	r0, [r3]
	bl	test_and_clear_bit
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r7, .L14
	mov	r1, r5
	ldr	r0, [r7]
	bl	test_bit
	subs	r6, r0, #0
	bne	.L5
	ldr	r3, .L14+4
	mov	r1, r5
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r5
	ldr	r0, [r7]
	bl	test_and_set_bit
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r4
	bl	fill_dma
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	FLG_TX_EMPTY
	.word	FLG_FILLEMPTY
	.size	bc_next_frame, .-bc_next_frame
	.comm	FLG_TX_EMPTY,4,4
	.comm	FLG_FILLEMPTY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
