	.file	"extr_NDIS5.c_NeoNewPacketBuffer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	NeoNewPacketBuffer
	.type	NeoNewPacketBuffer, @function
NeoNewPacketBuffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, 20
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbp, 4[rsp]
	call	NeoZeroMalloc@PLT
	mov	edi, DWORD PTR NEO_MAX_PACKET_SIZE[rip]
	mov	r12, rax
	call	NeoMalloc@PLT
	lea	rsi, 16[r12]
	mov	edx, 1
	mov	rdi, rbp
	mov	DWORD PTR 12[r12], eax
	call	NdisAllocateBufferPool@PLT
	mov	ecx, DWORD PTR 12[r12]
	mov	rsi, r12
	mov	rdi, rbp
	mov	r8d, DWORD PTR NEO_MAX_PACKET_SIZE[rip]
	mov	edx, DWORD PTR 16[r12]
	call	NdisAllocateBuffer@PLT
	mov	ecx, DWORD PTR PROTOCOL_RESERVED_SIZE_IN_PACKET[rip]
	lea	rsi, 8[r12]
	mov	rdi, rbp
	mov	edx, 1
	call	NdisAllocatePacketPool@PLT
	mov	edx, DWORD PTR 8[r12]
	lea	rsi, 4[r12]
	mov	rdi, rbp
	call	NdisAllocatePacket@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR NEO_PACKET_HEADER_SIZE[rip]
	call	NDIS_SET_PACKET_HEADER_SIZE@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	esi, DWORD PTR [r12]
	call	NdisChainBufferAtFront@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	NeoNewPacketBuffer, .-NeoNewPacketBuffer
	.comm	PROTOCOL_RESERVED_SIZE_IN_PACKET,4,4
	.comm	NEO_PACKET_HEADER_SIZE,4,4
	.comm	NEO_MAX_PACKET_SIZE,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_NDIS5.c_NeoNewPacketBuffer.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	NeoNewPacketBuffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	NeoNewPacketBuffer, %function
NeoNewPacketBuffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #20
	mov	r0, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	NeoZeroMalloc
	ldr	r5, .L6+4
	mov	r4, r0
	ldr	r0, [r5]
	bl	NeoMalloc
	mov	r2, #1
	str	r0, [r4, #12]
	add	r1, r4, #16
	add	r0, sp, #8
	bl	NdisAllocateBufferPool
	ldr	r1, [r5]
	ldr	r3, [r4, #12]
	ldr	r2, [r4, #16]
	add	r0, sp, #8
	str	r1, [sp]
	mov	r1, r4
	bl	NdisAllocateBuffer
	ldr	r3, .L6+8
	mov	r2, #1
	ldr	r3, [r3]
	add	r1, r4, #8
	add	r0, sp, #8
	bl	NdisAllocatePacketPool
	ldr	r2, [r4, #8]
	add	r1, r4, #4
	add	r0, sp, #8
	bl	NdisAllocatePacket
	ldr	r3, .L6+12
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	NDIS_SET_PACKET_HEADER_SIZE
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	NdisChainBufferAtFront
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	NEO_MAX_PACKET_SIZE
	.word	PROTOCOL_RESERVED_SIZE_IN_PACKET
	.word	NEO_PACKET_HEADER_SIZE
	.size	NeoNewPacketBuffer, .-NeoNewPacketBuffer
	.comm	PROTOCOL_RESERVED_SIZE_IN_PACKET,4,4
	.comm	NEO_PACKET_HEADER_SIZE,4,4
	.comm	NEO_MAX_PACKET_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
