	.file	"extr_netmap_mem2.c_netmap_mem2_get_pool_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	netmap_mem2_get_pool_info
	.type	netmap_mem2_get_pool_info, @function
netmap_mem2_get_pool_info:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	sete	r8b
	test	rdx, rdx
	sete	al
	or	r8b, al
	mov	eax, 1
	jne	.L1
	test	rcx, rcx
	je	.L1
	cmp	QWORD PTR NETMAP_POOLS_NR[rip], rsi
	jbe	.L1
	mov	r8d, DWORD PTR [rdi]
	test	DWORD PTR NETMAP_MEM_FINALIZED[rip], r8d
	je	.L7
	sal	rsi, 4
	add	rsi, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR 8[rsi]
	mov	QWORD PTR [rcx], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	QWORD PTR [rcx], 0
	mov	QWORD PTR [rdx], 0
	ret
	.cfi_endproc
.LFE0:
	.size	netmap_mem2_get_pool_info, .-netmap_mem2_get_pool_info
	.comm	NETMAP_POOLS_NR,8,8
	.comm	NETMAP_MEM_FINALIZED,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_netmap_mem2.c_netmap_mem2_get_pool_info.c"
	.text
	.align	2
	.global	netmap_mem2_get_pool_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	netmap_mem2_get_pool_info, %function
netmap_mem2_get_pool_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r2
	cmp	r0, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r3, #0
	moveq	ip, #1
	cmp	ip, #0
	bne	.L4
	push	{r4, lr}
	ldr	lr, .L11
	ldr	lr, [lr]
	cmp	lr, r1
	bls	.L5
	ldr	r4, .L11+4
	ldr	lr, [r0]
	ldr	r4, [r4]
	ands	lr, lr, r4
	ldrne	lr, [r0, #4]
	moveq	r0, #1
	movne	r0, ip
	ldrne	ip, [lr, r1, lsl #3]
	addne	r1, lr, r1, lsl #3
	strne	ip, [r2]
	ldrne	r2, [r1, #4]
	streq	lr, [r3]
	strne	r2, [r3]
	streq	lr, [r2]
	pop	{r4, pc}
.L4:
	mov	r0, #1
	bx	lr
.L5:
	mov	r0, #1
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	NETMAP_POOLS_NR
	.word	NETMAP_MEM_FINALIZED
	.size	netmap_mem2_get_pool_info, .-netmap_mem2_get_pool_info
	.comm	NETMAP_POOLS_NR,4,4
	.comm	NETMAP_MEM_FINALIZED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
