	.file	"extr_cpufreq_stats.c_freq_table_get_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	freq_table_get_index, @function
freq_table_get_index:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L4
	mov	rcx, QWORD PTR 8[rdi]
	lea	edi, -1[rax]
	xor	eax, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdx, 1[rax]
	cmp	rax, rdi
	je	.L4
	mov	rax, rdx
.L3:
	mov	r8d, eax
	cmp	DWORD PTR [rcx+rax*4], esi
	jne	.L7
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8d, -1
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	freq_table_get_index, .-freq_table_get_index
	.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_cpufreq_stats.c_freq_table_get_index.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	freq_table_get_index, %function
freq_table_get_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, [r0]
	mov	r3, r0
	cmp	ip, #0
	ble	.L4
	mov	r0, #0
	ldr	r3, [r3, #4]
	sub	r3, r3, #4
.L3:
	ldr	r2, [r3, #4]!
	cmp	r2, r1
	bxeq	lr
	add	r0, r0, #1
	cmp	r0, ip
	bne	.L3
.L4:
	mvn	r0, #0
	bx	lr
	.size	freq_table_get_index, .-freq_table_get_index
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
