	.file	"extr_sfxge_rx.c_sfxge_rx_post_refill.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"evq not started"
.LC1:
	.string	"rxq not started"
	.text
	.p2align 4
	.type	sfxge_rx_post_refill, @function
sfxge_rx_post_refill:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, rdi
	mov	edx, DWORD PTR [rdi]
	mov	edi, DWORD PTR SFXGE_SW_EV_RX_QREFILL[rip]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR [rax+rdx*8]
	call	sfxge_sw_ev_rxq_magic@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	mov	ebp, eax
	mov	rax, QWORD PTR SFXGE_EVQ_STARTED[rip]
	cmp	QWORD PTR [r12], rax
	sete	dil
	call	KASSERT@PLT
	mov	rax, QWORD PTR SFXGE_RXQ_STARTED[rip]
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], rax
	sete	dil
	lea	rsi, .LC1[rip]
	call	KASSERT@PLT
	mov	edi, DWORD PTR 8[r12]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	efx_ev_qpost@PLT
	.cfi_endproc
.LFE0:
	.size	sfxge_rx_post_refill, .-sfxge_rx_post_refill
	.comm	SFXGE_SW_EV_RX_QREFILL,4,4
	.comm	SFXGE_RXQ_STARTED,8,8
	.comm	SFXGE_EVQ_STARTED,8,8
	.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_sfxge_rx.c_sfxge_rx_post_refill.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"evq not started\000"
	.align	2
.LC1:
	.ascii	"rxq not started\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sfxge_rx_post_refill, %function
sfxge_rx_post_refill:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, [r0, #8]
	ldr	r0, .L4
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r1, r4
	ldr	r0, [r0]
	ldr	r6, [r3, r2, lsl #2]
	bl	sfxge_sw_ev_rxq_magic
	ldr	r3, .L4+4
	mov	r5, r0
	ldr	r3, [r3]
	ldr	r0, [r6]
	ldr	r1, .L4+8
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	ldr	r3, .L4+12
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	ldr	r1, .L4+16
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	mov	r1, r5
	ldr	r0, [r6, #4]
	pop	{r4, r5, r6, lr}
	b	efx_ev_qpost
.L5:
	.align	2
.L4:
	.word	SFXGE_SW_EV_RX_QREFILL
	.word	SFXGE_EVQ_STARTED
	.word	.LC0
	.word	SFXGE_RXQ_STARTED
	.word	.LC1
	.size	sfxge_rx_post_refill, .-sfxge_rx_post_refill
	.comm	SFXGE_SW_EV_RX_QREFILL,4,4
	.comm	SFXGE_RXQ_STARTED,4,4
	.comm	SFXGE_EVQ_STARTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
