	.file	"extr_kpi_mbuf.c_mbuf_get_buffer_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mbuf_get_buffer_status
	.type	mbuf_get_buffer_status, @function
mbuf_get_buffer_status:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	test	rsi, rsi
	je	.L2
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR M_PKTHDR[rip], eax
	je	.L2
	mov	eax, DWORD PTR 4[rdi]
	test	DWORD PTR PKTF_VALID_UNSENT_DATA[rip], eax
	je	.L2
	mov	eax, DWORD PTR 12[rdi]
	mov	DWORD PTR 4[rsi], eax
	mov	eax, DWORD PTR 8[rdi]
	mov	DWORD PTR [rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	mbuf_get_buffer_status, .-mbuf_get_buffer_status
	.comm	PKTF_VALID_UNSENT_DATA,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_buffer_status.c"
	.text
	.align	2
	.global	mbuf_get_buffer_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbuf_get_buffer_status, %function
mbuf_get_buffer_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	clz	r3, r1
	cmp	r0, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r3, #0
	mov	r2, r0
	bne	.L2
	ldr	r0, .L9
	ldr	ip, [r2]
	ldr	r0, [r0]
	tst	ip, r0
	beq	.L2
	ldr	r0, .L9+4
	ldr	ip, [r2, #4]
	ldr	r0, [r0]
	tst	ip, r0
	beq	.L2
	mov	r0, r3
	ldr	ip, [r2, #12]
	ldr	r3, [r2, #8]
	stm	r1, {r3, ip}
	bx	lr
.L2:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	bx	lr
.L10:
	.align	2
.L9:
	.word	M_PKTHDR
	.word	PKTF_VALID_UNSENT_DATA
	.word	EINVAL
	.size	mbuf_get_buffer_status, .-mbuf_get_buffer_status
	.comm	PKTF_VALID_UNSENT_DATA,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
