	.file	"extr_netback_unit_tests.c_xnb_mbufc2pkt_long.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xnb_mbufc2pkt_long, @function
xnb_mbufc2pkt_long:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR MT_DATA[rip]
	mov	edx, DWORD PTR M_WAITOK[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	imul	eax, DWORD PTR MCLBYTES[rip], 14
	movsx	r12, eax
	sar	eax, 31
	imul	r12, r12, 1431655766
	shr	r12, 32
	sub	r12d, eax
	movsx	r12, r12d
	mov	rsi, r12
	call	m_getm@PLT
	xor	edi, edi
	test	rax, rax
	mov	QWORD PTR 8[rsp], rax
	setne	dil
	call	XNB_ASSERT@PLT
	mov	rbx, QWORD PTR 8[rsp]
	test	rbx, rbx
	je	.L1
	mov	eax, DWORD PTR M_PKTHDR[rip]
	or	DWORD PTR 24[rbx], eax
	mov	rbp, r12
	mov	QWORD PTR 16[rbx], r12
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbx
	call	M_TRAILINGSPACE@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	MAX@PLT
	mov	DWORD PTR [rbx], eax
	mov	rbx, QWORD PTR 8[rbx]
	cdqe
	sub	rbp, rax
	test	rbx, rbx
	jne	.L4
	mov	rdi, QWORD PTR 8[rsp]
	lea	rbp, 16[rsp]
	mov	ecx, 15
	mov	edx, 3
	mov	rsi, rbp
	call	xnb_mbufc2pkt@PLT
	mov	rdi, rbp
	call	xnb_pkt_is_valid@PLT
	mov	edi, eax
	call	XNB_ASSERT@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], r12
	sete	dil
	call	XNB_ASSERT@PLT
	xor	edi, edi
	cmp	QWORD PTR 24[rsp], 3
	sete	dil
	call	XNB_ASSERT@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	mov	DWORD PTR 32[rsp], edi
	call	XNB_ASSERT@PLT
	mov	eax, DWORD PTR 36[rsp]
	xor	edi, edi
	test	DWORD PTR NETRXF_extra_info[rip], eax
	sete	dil
	call	XNB_ASSERT@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	edi, edi
	add	rax, 1
	cmp	rax, QWORD PTR 40[rsp]
	sete	dil
	call	XNB_ASSERT@PLT
	lea	rdi, 8[rsp]
	call	safe_m_freem@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xnb_mbufc2pkt_long, .-xnb_mbufc2pkt_long
	.comm	NETRXF_extra_info,4,4
	.comm	M_WAITOK,4,4
	.comm	M_PKTHDR,4,4
	.comm	MT_DATA,4,4
	.comm	MCLBYTES,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_mbufc2pkt_long.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_mbufc2pkt_long, %function
xnb_mbufc2pkt_long:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r6, .L10+4
	rsb	r3, r3, r3, lsl #3
	lsl	r3, r3, #1
	smull	r2, r6, r3, r6
	ldr	r0, .L10+8
	ldr	r2, .L10+12
	ldr	ip, .L10+16
	sub	r6, r6, r3, asr #31
	sub	sp, sp, #32
	ldr	r3, [r0]
	mov	r1, r6
	ldr	r2, [r2]
	mov	r0, #0
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	m_getm
	mov	r3, r0
	subs	r0, r0, #0
	movne	r0, #1
	str	r3, [sp, #4]
	bl	XNB_ASSERT
	ldr	r4, [sp, #4]
	cmp	r4, #0
	beq	.L1
	mov	r5, r6
	ldr	r2, .L10+20
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	str	r6, [r4, #8]
	orr	r3, r3, r2
	str	r3, [r4, #12]
.L4:
	mov	r0, r4
	bl	M_TRAILINGSPACE
	mov	r1, r5
	bl	MAX
	str	r0, [r4]
	ldr	r4, [r4, #4]
	sub	r5, r5, r0
	cmp	r4, #0
	bne	.L4
	add	r1, sp, #8
	mov	r2, #3
	mov	r3, #15
	ldr	r0, [sp, #4]
	bl	xnb_mbufc2pkt
	add	r0, sp, #8
	bl	xnb_pkt_is_valid
	bl	XNB_ASSERT
	ldr	r0, [sp, #8]
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	XNB_ASSERT
	ldr	r0, [sp, #12]
	sub	r0, r0, #3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	XNB_ASSERT
	ldr	r3, [sp, #4]
	ldr	r0, [r3]
	str	r0, [sp, #16]
	bl	XNB_ASSERT
	ldr	r3, .L10+24
	ldr	r2, [sp, #20]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	XNB_ASSERT
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #24]
	add	r3, r3, #1
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	XNB_ASSERT
	add	r0, sp, #4
	bl	safe_m_freem
.L1:
	ldr	r3, .L10+16
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	MCLBYTES
	.word	1431655766
	.word	MT_DATA
	.word	M_WAITOK
	.word	.LC0
	.word	M_PKTHDR
	.word	NETRXF_extra_info
	.size	xnb_mbufc2pkt_long, .-xnb_mbufc2pkt_long
	.comm	NETRXF_extra_info,4,4
	.comm	M_WAITOK,4,4
	.comm	M_PKTHDR,4,4
	.comm	MT_DATA,4,4
	.comm	MCLBYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
