	.file	"extr_rioparam.c_remove_receive.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	remove_receive
	.type	remove_receive, @function
remove_receive:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	mov	rdi, rbp
	call	readw@PLT
	mov	edi, DWORD PTR PKT_IN_USE[rip]
	mov	rsi, rbp
	not	edi
	and	edi, eax
	call	writew@PLT
	mov	rdx, QWORD PTR [rbx]
	lea	rax, 1[rdx]
	mov	rsi, rax
	cmp	rdx, QWORD PTR 8[rbx]
	jne	.L3
	mov	rsi, QWORD PTR 32[rbx]
	mov	rax, rsi
.L3:
	mov	edi, DWORD PTR 24[rbx]
	mov	rbp, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rax
	call	RIO_OFF@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	writew@PLT
	.cfi_endproc
.LFE0:
	.size	remove_receive, .-remove_receive
	.comm	PKT_IN_USE,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_rioparam.c_remove_receive.c"
	.text
	.align	2
	.global	remove_receive
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_receive, %function
remove_receive:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0]
	bl	readw
	ldr	r3, .L6
	ldr	r1, [r4]
	ldr	r3, [r3]
	bic	r0, r0, r3
	bl	writew
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	ldr	r0, [r4, #12]
	cmp	r3, r2
	ldreq	r1, [r4, #16]
	addne	r3, r3, #1
	moveq	r3, r1
	movne	r1, r3
	str	r3, [r4]
	bl	RIO_OFF
	ldr	r1, [r4, #8]
	pop	{r4, lr}
	b	writew
.L7:
	.align	2
.L6:
	.word	PKT_IN_USE
	.size	remove_receive, .-remove_receive
	.comm	PKT_IN_USE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
