	.file	"extr_kpi_mbuf.c_mbuf_get_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mbuf_get_status
	.type	mbuf_get_status, @function
mbuf_get_status:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR M_PKTHDR[rip], eax
	je	.L2
	test	rsi, rsi
	je	.L2
	mov	eax, DWORD PTR 8[rdi]
	and	eax, DWORD PTR PKTF_DRIVER_MTAG[rip]
	jne	.L6
	mov	QWORD PTR [rsi], 0
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 16[rdi]
	mov	QWORD PTR [rsi], rax
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	mbuf_get_status, .-mbuf_get_status
	.comm	PKTF_DRIVER_MTAG,4,4
	.comm	M_PKTHDR,4,4
	.comm	EINVAL,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_kpi_mbuf.c_mbuf_get_status.c"
	.text
	.align	2
	.global	mbuf_get_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbuf_get_status, %function
mbuf_get_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	subs	r3, r0, #0
	beq	.L2
	ldr	r2, .L10
	ldr	r0, [r3]
	ldr	r2, [r2]
	tst	r0, r2
	moveq	r2, #1
	movne	r2, #0
	cmp	r1, #0
	moveq	r2, #1
	cmp	r2, #0
	bne	.L2
	ldr	ip, .L10+4
	ldr	r0, [r3, #4]
	ldr	ip, [ip]
	ands	r0, r0, ip
	ldrne	r3, [r3, #8]
	streq	r0, [r1]
	movne	r0, r2
	strne	r3, [r1]
	bx	lr
.L2:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	bx	lr
.L11:
	.align	2
.L10:
	.word	M_PKTHDR
	.word	PKTF_DRIVER_MTAG
	.word	EINVAL
	.size	mbuf_get_status, .-mbuf_get_status
	.comm	PKTF_DRIVER_MTAG,4,4
	.comm	M_PKTHDR,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
