	.file	"extr_netback_unit_tests.c_xnb_ring2pkt_partial.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xnb_ring2pkt_partial, @function
xnb_ring2pkt_partial:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, xnb_unit_pvt[rip+4]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR xnb_unit_pvt[rip+4]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbp, 4[rsp]
	call	RING_GET_REQUEST@PLT
	mov	edx, DWORD PTR NETTXF_more_data[rip]
	lea	rdi, xnb_unit_pvt[rip+4]
	mov	DWORD PTR [rax], 150
	mov	DWORD PTR 4[rax], edx
	add	DWORD PTR xnb_unit_pvt[rip+4], 1
	call	RING_PUSH_REQUESTS@PLT
	mov	edx, DWORD PTR xnb_unit_pvt[rip]
	lea	rsi, xnb_unit_pvt[rip]
	mov	rdi, rbp
	call	xnb_ring2pkt@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	XNB_ASSERT@PLT
	mov	rdi, rbp
	call	xnb_pkt_is_valid@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	XNB_ASSERT@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xnb_ring2pkt_partial, .-xnb_ring2pkt_partial
	.comm	xnb_unit_pvt,8,8
	.comm	NETTXF_more_data,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_netback_unit_tests.c_xnb_ring2pkt_partial.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xnb_ring2pkt_partial, %function
xnb_ring2pkt_partial:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L6
	ldr	r3, .L6+4
	mov	r0, r4
	sub	sp, sp, #8
	ldr	r1, [r0, #4]!
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	RING_GET_REQUEST
	mov	r1, #150
	mov	r3, r0
	mov	r0, r4
	ldr	ip, .L6+8
	ldr	r2, [r4, #4]
	ldr	ip, [ip]
	add	r2, r2, #1
	stm	r3, {r1, ip}
	str	r2, [r0, #4]!
	bl	RING_PUSH_REQUESTS
	ldr	r2, [r4]
	mov	r1, r4
	mov	r0, sp
	bl	xnb_ring2pkt
	clz	r0, r0
	lsr	r0, r0, #5
	bl	XNB_ASSERT
	mov	r0, sp
	bl	xnb_pkt_is_valid
	clz	r0, r0
	lsr	r0, r0, #5
	bl	XNB_ASSERT
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	xnb_unit_pvt
	.word	.LC0
	.word	NETTXF_more_data
	.size	xnb_ring2pkt_partial, .-xnb_ring2pkt_partial
	.comm	xnb_unit_pvt,8,4
	.comm	NETTXF_more_data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
