	.file	"extr_uipc_mbuf2.c_m_tag_locate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m_tag_locate
	.type	m_tag_locate, @function
m_tag_locate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	and	edi, DWORD PTR M_PKTHDR[rip]
	call	VERIFY@PLT
	test	rbp, rbp
	je	.L15
	xor	edi, edi
	mov	rax, QWORD PTR M_TAG_VALID_PATTERN[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	VERIFY@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR m_tag_link[rip]
	mov	rdi, rbp
	call	SLIST_NEXT@PLT
	mov	rbp, rax
.L3:
	test	rbp, rbp
	je	.L4
	xor	edi, edi
	mov	rax, QWORD PTR M_TAG_VALID_PATTERN[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	VERIFY@PLT
	cmp	QWORD PTR 8[rbp], rbx
	jne	.L13
	cmp	QWORD PTR 16[rbp], r12
	jne	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	ebp, ebp
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, 4[r13]
	call	SLIST_FIRST@PLT
	mov	rbp, rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	m_tag_locate, .-m_tag_locate
	.comm	m_tag_link,4,4
	.comm	M_TAG_VALID_PATTERN,8,8
	.comm	M_PKTHDR,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_uipc_mbuf2.c_m_tag_locate.c"
	.text
	.align	2
	.global	m_tag_locate
	.syntax unified
	.arm
	.fpu softvfp
	.type	m_tag_locate, %function
m_tag_locate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	ldr	r3, .L15
	mov	r7, r0
	ldr	r3, [r3]
	ldr	r0, [r0]
	mov	r5, r1
	and	r0, r0, r3
	mov	r6, r2
	bl	VERIFY
	cmp	r4, #0
	beq	.L14
	ldr	r7, .L15+4
	ldr	r0, [r4]
	ldr	r3, [r7]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	VERIFY
	ldr	r3, .L15+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	SLIST_NEXT
	mov	r4, r0
.L3:
	cmp	r4, #0
	beq	.L4
	ldr	r7, .L15+4
	ldr	r8, .L15+8
.L7:
	ldr	r3, [r7]
	ldr	r0, [r4]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	VERIFY
	ldr	r3, [r4, #4]
	cmp	r3, r5
	bne	.L5
	ldr	r3, [r4, #8]
	cmp	r3, r6
	beq	.L1
.L5:
	mov	r0, r4
	ldr	r1, [r8]
	bl	SLIST_NEXT
	subs	r4, r0, #0
	bne	.L7
.L4:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	add	r0, r7, #4
	bl	SLIST_FIRST
	mov	r4, r0
	b	.L3
.L16:
	.align	2
.L15:
	.word	M_PKTHDR
	.word	M_TAG_VALID_PATTERN
	.word	m_tag_link
	.size	m_tag_locate, .-m_tag_locate
	.comm	m_tag_link,4,4
	.comm	M_TAG_VALID_PATTERN,4,4
	.comm	M_PKTHDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
