	.file	"extr_ar2413.c_ar2413FillVpdTable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ar2413FillVpdTable, @function
ar2413FillVpdTable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r10, QWORD PTR 112[rsp]
	cmp	r9d, 1
	jle	.L2
	sub	edx, esi
	js	.L10
	lea	r15d, [rsi+rsi]
	lea	eax, -1[r9]
	movsx	rdi, edi
	mov	r12, r8
	lea	ebx, 2[r15]
	mov	DWORD PTR 20[rsp], eax
	sal	rdi, 8
	mov	rbp, rcx
	lea	eax, [rbx+rdx*2]
	mov	r14d, r9d
	lea	r13, [r10+rdi]
	mov	DWORD PTR 16[rsp], eax
	lea	rax, 32[rsp]
	lea	r8, 36[rsp]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	sal	rcx, 2
.L6:
	mov	eax, DWORD PTR 32[rsp]
	cmp	eax, DWORD PTR 20[rsp]
	jne	.L7
	lea	eax, -2[r14]
	mov	DWORD PTR 32[rsp], eax
.L7:
	cdqe
	mov	esi, DWORD PTR 0[rbp+rcx]
	mov	edi, DWORD PTR 0[rbp+rax*4]
	mov	eax, DWORD PTR [r12+rax*4]
	cmp	edi, esi
	je	.L8
	mov	edx, r15d
	sub	edx, edi
	imul	edx, DWORD PTR [r12+rcx]
	mov	ecx, edx
	mov	edx, esi
	sub	esi, edi
	sub	edx, r15d
	imul	eax, edx
	add	eax, ecx
	cdq
	idiv	esi
.L8:
	mov	DWORD PTR 0[r13], eax
	mov	r15d, ebx
	add	r13, 4
	cmp	DWORD PTR 16[rsp], ebx
	je	.L10
	add	ebx, 2
.L9:
	mov	rcx, QWORD PTR 24[rsp]
	mov	edx, r14d
	mov	rsi, rbp
	mov	edi, r15d
	mov	QWORD PTR 8[rsp], r8
	call	GetLowerUpperIndex@PLT
	movsx	rcx, DWORD PTR 36[rsp]
	mov	r8, QWORD PTR 8[rsp]
	test	ecx, ecx
	jg	.L15
	mov	DWORD PTR 36[rsp], 1
	mov	ecx, 4
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR AH_TRUE[rip]
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR AH_FALSE[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ar2413FillVpdTable, .-ar2413FillVpdTable
	.comm	AH_TRUE,4,4
	.comm	AH_FALSE,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_ar2413.c_ar2413FillVpdTable.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ar2413FillVpdTable, %function
ar2413FillVpdTable:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #36
	ldr	r10, [sp, #76]
	mov	r6, r3
	ldr	r3, .L17
	cmp	r10, #1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r9, [sp, #72]
	ldr	r7, [sp, #80]
	ble	.L2
	subs	r2, r2, r1
	bmi	.L10
	lsl	r4, r1, #1
	add	r0, r7, r0, lsl #8
	add	r5, r4, #2
	sub	r3, r10, #2
	sub	r7, r0, #4
	add	r8, r5, r2, lsl #1
	sub	fp, r10, #1
	str	r3, [sp, #12]
	b	.L9
.L15:
	add	r5, r5, #2
.L9:
	add	r3, sp, #24
	mov	r1, r6
	mov	r2, r10
	str	r3, [sp]
	mov	r0, r4
	add	r3, sp, #20
	bl	GetLowerUpperIndex
	ldr	r3, [sp, #24]
	cmp	r3, #0
	movle	r2, #1
	strle	r2, [sp, #24]
	ldr	r2, [sp, #20]
	movle	r3, #4
	lslgt	r3, r3, #2
	cmp	r2, fp
	ldreq	r1, [sp, #12]
	ldr	ip, [r6, r3]
	moveq	r2, r1
	streq	r1, [sp, #20]
	ldr	r1, [r6, r2, lsl #2]
	ldr	r0, [r9, r2, lsl #2]
	cmp	r1, ip
	beq	.L8
	sub	r2, ip, r4
	mul	r0, r2, r0
	ldr	r3, [r9, r3]
	sub	r4, r4, r1
	mla	r0, r3, r4, r0
	sub	r1, ip, r1
	bl	__aeabi_idiv
.L8:
	cmp	r8, r5
	mov	r4, r5
	str	r0, [r7, #4]!
	bne	.L15
.L10:
	ldr	r3, .L17+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	AH_TRUE
	.word	AH_FALSE
	.size	ar2413FillVpdTable, .-ar2413FillVpdTable
	.comm	AH_TRUE,4,4
	.comm	AH_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
