	.file	"extr_pllnv04.c_getMNP_double.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	getMNP_double, @function
getMNP_double:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 40[rsp], rcx
	mov	QWORD PTR 48[rsp], r8
	mov	QWORD PTR 56[rsp], r9
	call	nouveau_bios@PLT
	mov	r11d, DWORD PTR 28[r12]
	mov	esi, DWORD PTR 36[r12]
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR 4[r12]
	mov	r13d, DWORD PTR 32[r12]
	mov	edi, DWORD PTR 12[r12]
	mov	DWORD PTR 12[rsp], esi
	mov	ebx, DWORD PTR 16[r12]
	mov	ebp, DWORD PTR 20[r12]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, DWORD PTR 40[r12]
	mov	edx, DWORD PTR [r12]
	mov	DWORD PTR 36[rsp], ecx
	mov	DWORD PTR 76[rsp], eax
	mov	eax, DWORD PTR 44[r12]
	mov	DWORD PTR 84[rsp], eax
	mov	eax, DWORD PTR 8[r12]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR 48[r12]
	mov	DWORD PTR 96[rsp], eax
	mov	eax, DWORD PTR 52[r12]
	mov	DWORD PTR 100[rsp], eax
	mov	eax, DWORD PTR 56[r12]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR 60[r12]
	mov	DWORD PTR 92[rsp], eax
	mov	eax, DWORD PTR 64[r12]
	mov	DWORD PTR 104[rsp], eax
	mov	eax, DWORD PTR 68[r12]
	mov	DWORD PTR 72[rsp], eax
	mov	eax, DWORD PTR 24[r12]
	cmp	eax, r11d
	mov	DWORD PTR 80[rsp], eax
	sete	cl
	cmp	r13d, esi
	sete	al
	and	ecx, eax
	mov	BYTE PTR 19[rsp], cl
	movsx	rcx, edi
	mov	eax, DWORD PTR INT_MAX[rip]
	imul	rcx, rcx, 1374389535
	mov	r14d, eax
	mov	eax, edi
	sar	eax, 31
	sar	rcx, 38
	sub	eax, ecx
	add	eax, edi
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	test	edx, edx
	jle	.L17
	test	r15d, r15d
	je	.L17
	cmp	eax, r15d
	jl	.L17
	xor	ecx, ecx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, eax
	sar	esi, cl
	cmp	esi, r15d
	jl	.L36
.L4:
	add	ecx, 1
	cmp	edx, ecx
	jg	.L3
.L36:
	mov	r12d, r15d
	sal	r12d, cl
.L2:
	movsx	rax, r15d
	mov	edx, r15d
	imul	rax, rax, 1374389535
	sar	edx, 31
	sar	rax, 38
	sub	eax, edx
	add	eax, r15d
	cmp	eax, edi
	cmovge	edi, eax
	mov	eax, DWORD PTR 92[rsp]
	mov	DWORD PTR 64[rsp], edi
	mov	edi, DWORD PTR 20[rsp]
	cmp	edi, eax
	jg	.L19
	mov	eax, DWORD PTR 36[rsp]
	cdq
	idiv	edi
	cmp	DWORD PTR 96[rsp], eax
	jg	.L19
	mov	edi, DWORD PTR 104[rsp]
	imul	edi, DWORD PTR 36[rsp]
	mov	DWORD PTR 8[rsp], r15d
	mov	r15d, r14d
	mov	DWORD PTR 68[rsp], 0
	mov	DWORD PTR 108[rsp], edi
	mov	edi, DWORD PTR 80[rsp]
	imul	edi, r12d
	mov	DWORD PTR 88[rsp], edi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	add	DWORD PTR 20[rsp], 1
	mov	eax, DWORD PTR 20[rsp]
	cmp	DWORD PTR 92[rsp], eax
	jl	.L20
	mov	eax, DWORD PTR 36[rsp]
	cdq
	idiv	DWORD PTR 20[rsp]
	cmp	eax, DWORD PTR 96[rsp]
	jl	.L20
.L6:
	cmp	DWORD PTR 100[rsp], eax
	jl	.L7
	mov	r14d, DWORD PTR 104[rsp]
	mov	eax, DWORD PTR 72[rsp]
	cmp	r14d, eax
	jg	.L7
	mov	eax, DWORD PTR 108[rsp]
	mov	DWORD PTR 24[rsp], eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR 36[rsp]
	add	r14d, 1
	add	DWORD PTR 24[rsp], edi
	cmp	DWORD PTR 72[rsp], r14d
	jl	.L7
.L14:
	mov	eax, DWORD PTR 24[rsp]
	cdq
	idiv	DWORD PTR 20[rsp]
	mov	edi, eax
	cmp	DWORD PTR 76[rsp], eax
	jg	.L8
	cmp	DWORD PTR 84[rsp], eax
	jl	.L7
	mov	esi, DWORD PTR 80[rsp]
	cmp	esi, r11d
	jg	.L8
	cdq
	idiv	esi
	cmp	ebx, eax
	jg	.L8
	mov	r8d, edi
	shr	r8d, 31
	add	r8d, edi
	sar	r8d
	add	r8d, DWORD PTR 88[rsp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L38:
	cmp	DWORD PTR 28[rsp], 95
	jg	.L12
	cdq
	idiv	esi
	sub	eax, 4
	cmp	eax, 6
	ja	.L10
.L12:
	mov	eax, edi
	imul	eax, r10d
	cdq
	idiv	esi
	cmp	DWORD PTR 32[rsp], eax
	jg	.L8
	cmp	DWORD PTR 64[rsp], eax
	jl	.L10
.L11:
	sar	eax, cl
	mov	r9d, eax
	sub	r9d, DWORD PTR 8[rsp]
	mov	edx, r9d
	sar	edx, 31
	xor	r9d, edx
	sub	r9d, edx
	cmp	r9d, r15d
	jge	.L10
	mov	r15, QWORD PTR 40[rsp]
	mov	edx, DWORD PTR 20[rsp]
	mov	DWORD PTR [r15], r14d
	mov	r15, QWORD PTR 48[rsp]
	mov	DWORD PTR [r15], edx
	mov	r15, QWORD PTR 56[rsp]
	mov	DWORD PTR [r15], r10d
	mov	r15, QWORD PTR 176[rsp]
	mov	DWORD PTR [r15], esi
	mov	r15, QWORD PTR 184[rsp]
	mov	DWORD PTR [r15], ecx
	cmp	DWORD PTR 8[rsp], eax
	je	.L1
	mov	DWORD PTR 68[rsp], eax
	mov	r15d, r9d
	.p2align 4,,10
	.p2align 3
.L10:
	add	esi, 1
	cmp	r11d, esi
	jl	.L8
	mov	eax, edi
	add	r8d, r12d
	cdq
	idiv	esi
	cmp	eax, ebx
	jl	.L8
.L9:
	cmp	ebp, eax
	jl	.L10
	mov	eax, r8d
	cdq
	idiv	edi
	mov	r10d, eax
	cmp	r13d, eax
	jg	.L10
	cmp	DWORD PTR 12[rsp], eax
	jl	.L8
	cmp	BYTE PTR 19[rsp], 0
	je	.L38
	mov	eax, edi
	jmp	.L11
.L19:
	xor	eax, eax
.L1:
	add	rsp, 120
	.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
.L20:
	.cfi_restore_state
	mov	eax, DWORD PTR 68[rsp]
	add	rsp, 120
	.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
.L17:
	.cfi_restore_state
	mov	r12d, r15d
	xor	ecx, ecx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	getMNP_double, .-getMNP_double
	.comm	INT_MAX,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_pllnv04.c_getMNP_double.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getMNP_double, %function
getMNP_double:
	@ args = 16, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	sub	sp, sp, #108
	mov	r5, r2
	str	r2, [sp, #32]
	str	r3, [sp, #56]
	bl	nouveau_bios
	ldr	r3, [r4, #24]
	ldr	r1, [r4, #32]
	ldr	ip, [r4, #36]
	ldr	r6, [r4, #28]
	str	r3, [sp, #72]
	cmp	r3, r6
	cmpeq	r1, ip
	moveq	r3, #1
	movne	r3, #0
	ldr	r2, [r4]
	ldr	r0, [r0]
	cmp	r5, #0
	cmpne	r2, #0
	str	r0, [sp, #40]
	ldr	r0, [r4, #40]
	str	ip, [sp, #16]
	str	r0, [sp, #68]
	ldr	r0, [r4, #44]
	mov	fp, r1
	str	r0, [sp, #76]
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #12]
	str	r0, [sp, #44]
	ldr	r0, [r4, #48]
	ldr	ip, .L33
	str	r0, [sp, #88]
	ldr	r0, [r4, #52]
	smull	r7, ip, r1, ip
	str	r0, [sp, #92]
	ldr	r0, [r4, #56]
	str	r3, [sp, #20]
	str	r0, [sp, #24]
	ldr	r0, [r4, #60]
	asr	r3, r1, #31
	str	r0, [sp, #84]
	ldr	r0, [r4, #64]
	sub	r3, r3, ip, asr #6
	str	r0, [sp, #96]
	ldr	r0, [r4, #68]
	ldr	ip, .L33+4
	str	r0, [sp, #64]
	ldr	r0, [r4, #4]
	ldr	r7, [r4, #16]
	ldr	r8, [r4, #20]
	str	r0, [sp, #52]
	ldr	r0, [ip]
	add	r3, r3, r1
	movgt	lr, #1
	movle	lr, #0
	add	r3, r3, r3, lsr #31
	str	r0, [sp, #4]
	ble	.L16
	asr	r3, r3, #1
	cmp	r3, r5
	mov	r0, r5
	blt	.L17
	mov	r10, #0
	b	.L4
.L3:
	cmp	r0, r3, asr r10
	bgt	.L30
.L4:
	add	r10, r10, #1
	cmp	r2, r10
	bgt	.L3
.L30:
	ldr	r3, [sp, #32]
	lsl	r9, r3, r10
.L2:
	ldr	r0, [sp, #32]
	ldr	r2, .L33
	mov	ip, r0
	smull	lr, ip, r2, ip
	asr	r3, r0, #31
	rsb	r3, r3, ip, asr #6
	add	r3, r3, r0
	cmp	r3, r1
	movlt	r3, r1
	ldr	r2, [sp, #84]
	str	r3, [sp, #48]
	ldr	r3, [sp, #24]
	cmp	r3, r2
	bgt	.L19
	ldr	r4, [sp, #52]
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idiv
	ldr	r3, [sp, #88]
	cmp	r3, r0
	bgt	.L19
	ldr	r3, [sp, #96]
	str	r10, [sp, #36]
	mul	r3, r4, r3
	str	r3, [sp, #100]
	ldr	r3, [sp, #72]
	mov	r10, fp
	mul	r3, r9, r3
	str	r3, [sp, #80]
	mov	r3, #0
	str	r3, [sp, #60]
	b	.L6
.L7:
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #84]
	add	r3, r3, #1
	cmp	r2, r3
	str	r3, [sp, #24]
	blt	.L20
	ldr	r1, [sp, #24]
	ldr	r0, [sp, #52]
	bl	__aeabi_idiv
	ldr	r3, [sp, #88]
	cmp	r0, r3
	blt	.L20
.L6:
	ldr	r3, [sp, #92]
	cmp	r3, r0
	blt	.L7
	ldr	r3, [sp, #96]
	ldr	r2, [sp, #64]
	cmp	r3, r2
	bgt	.L7
	ldr	r2, [sp, #100]
	str	r3, [sp, #8]
	str	r2, [sp, #12]
	b	.L14
.L8:
	ldr	r3, [sp, #8]
	ldr	r2, [sp, #64]
	add	r3, r3, #1
	cmp	r2, r3
	str	r3, [sp, #8]
	ldr	r2, [sp, #52]
	ldr	r3, [sp, #12]
	add	r3, r3, r2
	str	r3, [sp, #12]
	blt	.L7
.L14:
	ldr	r1, [sp, #24]
	ldr	r0, [sp, #12]
	bl	__aeabi_idiv
	ldr	r3, [sp, #68]
	mov	r4, r0
	cmp	r3, r0
	bgt	.L8
	ldr	r3, [sp, #76]
	cmp	r3, r0
	blt	.L7
	ldr	fp, [sp, #72]
	cmp	fp, r6
	bgt	.L8
	mov	r1, fp
	bl	__aeabi_idiv
	cmp	r7, r0
	bgt	.L8
	ldr	r3, [sp, #80]
	add	r5, r4, r4, lsr #31
	add	r5, r3, r5, asr #1
	b	.L9
.L32:
	ldr	r3, [sp, #40]
	cmp	r3, #95
	bgt	.L12
	mov	r1, fp
	str	r0, [sp, #28]
	bl	__aeabi_idiv
	sub	r0, r0, #4
	cmp	r0, #6
	ldr	r2, [sp, #28]
	bhi	.L10
.L12:
	mov	r1, fp
	mul	r0, r2, r4
	str	r2, [sp, #28]
	bl	__aeabi_idiv
	ldr	r3, [sp, #44]
	cmp	r3, r0
	bgt	.L8
	ldr	r3, [sp, #48]
	ldr	r2, [sp, #28]
	cmp	r3, r0
	blt	.L10
.L11:
	ldr	r3, [sp, #36]
	ldr	ip, [sp, #32]
	asr	r0, r0, r3
	sub	r1, r0, ip
	cmp	r1, #0
	ldr	lr, [sp, #4]
	rsblt	r1, r1, #0
	cmp	r1, lr
	bge	.L10
	ldr	lr, [sp, #8]
	cmp	ip, r0
	ldr	ip, [sp, #56]
	str	lr, [ip]
	ldr	ip, [sp, #144]
	ldr	lr, [sp, #24]
	str	lr, [ip]
	ldr	ip, [sp, #148]
	str	r2, [ip]
	ldr	r2, [sp, #152]
	str	fp, [r2]
	ldr	r2, [sp, #156]
	str	r3, [r2]
	beq	.L1
	str	r0, [sp, #60]
	str	r1, [sp, #4]
.L10:
	add	fp, fp, #1
	cmp	r6, fp
	blt	.L8
	mov	r1, fp
	mov	r0, r4
	bl	__aeabi_idiv
	cmp	r0, r7
	add	r5, r5, r9
	blt	.L8
.L9:
	cmp	r8, r0
	blt	.L10
	mov	r1, r4
	mov	r0, r5
	bl	__aeabi_idiv
	cmp	r10, r0
	mov	r2, r0
	bgt	.L10
	ldr	r3, [sp, #16]
	cmp	r3, r0
	blt	.L8
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L32
	mov	r0, r4
	b	.L11
.L19:
	mov	r0, #0
.L1:
	add	sp, sp, #108
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r0, [sp, #60]
	add	sp, sp, #108
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r10, lr
	ldr	r9, [sp, #32]
	b	.L2
.L17:
	mov	r10, #0
	ldr	r9, [sp, #32]
	b	.L2
.L34:
	.align	2
.L33:
	.word	1374389535
	.word	INT_MAX
	.size	getMNP_double, .-getMNP_double
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
