	.file	"extr_ip_set_core.c_ip_set_nfnl_get_byindex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ip_set_nfnl_get_byindex
	.type	ip_set_nfnl_get_byindex, @function
ip_set_nfnl_get_byindex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR ip_set_max[rip], rdi
	mov	r12, QWORD PTR IPSET_INVALID_ID[rip]
	jge	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	eax, eax
	mov	rbx, rdi
	call	nfnl_lock@PLT
	mov	rax, QWORD PTR ip_set_list[rip]
	mov	r12, QWORD PTR IPSET_INVALID_ID[rip]
	cmp	QWORD PTR [rax+rbx*8], 0
	jne	.L9
.L5:
	xor	eax, eax
	call	nfnl_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbx
	mov	r12, rbx
	call	__ip_set_get@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ip_set_nfnl_get_byindex, .-ip_set_nfnl_get_byindex
	.comm	ip_set_max,8,8
	.comm	ip_set_list,8,8
	.comm	IPSET_INVALID_ID,8,8
	.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_ip_set_core.c_ip_set_nfnl_get_byindex.c"
	.text
	.align	2
	.global	ip_set_nfnl_get_byindex
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_set_nfnl_get_byindex, %function
ip_set_nfnl_get_byindex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, r0
	bge	.L2
	ldr	r3, .L9+4
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, pc}
.L2:
	mov	r4, r0
	bl	nfnl_lock
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L9+4
	ldr	r4, [r3]
.L5:
	bl	nfnl_unlock
	mov	r0, r4
	pop	{r4, pc}
.L8:
	mov	r0, r4
	bl	__ip_set_get
	b	.L5
.L10:
	.align	2
.L9:
	.word	ip_set_max
	.word	IPSET_INVALID_ID
	.word	ip_set_list
	.size	ip_set_nfnl_get_byindex, .-ip_set_nfnl_get_byindex
	.comm	ip_set_max,4,4
	.comm	ip_set_list,4,4
	.comm	IPSET_INVALID_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
