	.file	"extr_adlist.c_listIndex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	listIndex
	.type	listIndex, @function
listIndex:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	js	.L27
	mov	rax, QWORD PTR [rdi]
	je	.L1
	test	rax, rax
	je	.L1
	sub	rsi, 2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L28:
	sub	rsi, 1
	test	rax, rax
	je	.L1
.L5:
	mov	rax, QWORD PTR [rax]
	cmp	rsi, -1
	jne	.L28
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	not	rsi
	mov	rax, QWORD PTR 8[rdi]
	lea	rdx, -1[rsi]
	test	rsi, rsi
	je	.L1
	test	rax, rax
	jne	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	test	rax, rax
	je	.L29
.L4:
	sub	rdx, 1
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, -1
	jne	.L30
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	ret
	.cfi_endproc
.LFE0:
	.size	listIndex, .-listIndex
	.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_adlist.c_listIndex.c"
	.text
	.align	2
	.global	listIndex
	.syntax unified
	.arm
	.fpu softvfp
	.type	listIndex, %function
listIndex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #0
	blt	.L29
	ldr	r0, [r0]
	bxeq	lr
	cmp	r0, #0
	bxeq	lr
	sub	r1, r1, #2
.L5:
	cmn	r1, #1
	ldr	r0, [r0]
	bxeq	lr
	cmp	r0, #0
	sub	r1, r1, #1
	bne	.L5
	bx	lr
.L29:
	mvn	r1, r1
	cmp	r1, #0
	ldr	r0, [r0, #4]
	sub	r1, r1, #1
	bxeq	lr
	cmp	r0, #0
	bxeq	lr
.L30:
	sub	r1, r1, #1
	cmn	r1, #1
	ldr	r0, [r0, #4]
	bxeq	lr
	cmp	r0, #0
	bne	.L30
	bx	lr
	.size	listIndex, .-listIndex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
