	.file	"extr_nouveau_perf.c_nouveau_perf_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"perflvl %d, bad vid\n"
.LC1:
	.string	"perflvl %d, bad timing: %d\n"
.LC2:
	.string	"performance_level_%d"
.LC3:
	.string	"%d"
	.text
	.p2align 4
	.globl	nouveau_perf_init
	.type	nouveau_perf_init, @function
nouveau_perf_init:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	nouveau_drm@PLT
	mov	rdi, r12
	mov	rbx, rax
	mov	QWORD PTR 32[rsp], rax
	call	nouveau_pm@PLT
	mov	rbp, rax
	mov	rax, rbx
	mov	rbx, QWORD PTR NVBIOS_BMP[rip]
	cmp	QWORD PTR 8[rax], rbx
	jne	.L2
	movsx	rdx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR 16[rax]
	cmp	DWORD PTR 24[rax+rdx*4], 36
	jle	.L27
.L2:
	lea	r13, 56[rsp]
	mov	rdi, r12
	mov	ebx, -1
	mov	rsi, r13
	call	nouveau_perf_table@PLT
	lea	rax, 68[rsp]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, 64[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 60[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 8[rbp]
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r9, QWORD PTR 24[rsp]
	mov	r8, QWORD PTR 16[rsp]
	add	ebx, 1
	mov	rdx, r13
	mov	rcx, QWORD PTR 8[rsp]
	mov	esi, ebx
	mov	rdi, r12
	call	nouveau_perf_entry@PLT
	mov	r14, rax
	test	rax, rax
	je	.L1
	mov	r8, QWORD PTR 0[rbp]
	sal	r8, 7
	add	r8, QWORD PTR 24[rbp]
	cmp	DWORD PTR [r14], 255
	mov	r15, r8
	je	.L4
	mov	eax, DWORD PTR 56[rsp]
	sub	eax, 18
	cmp	eax, 46
	ja	.L6
	lea	rcx, .L8[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L13-.L8
	.long	.L13-.L8
	.long	.L6-.L8
	.long	.L13-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L12-.L8
	.long	.L6-.L8
	.long	.L12-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L10-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L9-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L7-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L7:
	mov	DWORD PTR [r8], 0
	mov	eax, DWORD PTR 8[r14]
	mov	DWORD PTR 4[r8], eax
	mov	rax, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR [rax]
	call	nv_device@PLT
	mov	edx, DWORD PTR NV_50[rip]
	cmp	DWORD PTR 4[rax], edx
	movsx	rax, DWORD PTR 60[rsp]
	mov	edi, DWORD PTR [r14+rax*4]
	je	.L28
	call	ROM16@PLT
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 112[r15], rax
	mov	eax, DWORD PTR 68[rsp]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	mov	ecx, DWORD PTR 68[rsp]
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 104[r15], rax
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*2]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 96[r15], rax
	mov	eax, DWORD PTR 68[rsp]
	lea	eax, [rax+rax*2]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	mov	ecx, DWORD PTR 68[rsp]
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 16[r15], eax
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*4]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 88[r15], rax
	mov	eax, DWORD PTR 68[rsp]
	lea	eax, [rax+rax*4]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 12[r15], eax
	mov	eax, DWORD PTR 68[rsp]
	lea	ecx, [rax+rax*2]
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*2]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 24[r15], eax
	mov	eax, DWORD PTR 68[rsp]
	lea	ecx, [rax+rax*4]
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*2]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 80[r15], rax
	mov	eax, DWORD PTR 68[rsp]
	lea	ecx, [rax+rax*4]
	lea	eax, [rax+rcx*2]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	mov	edx, DWORD PTR 16[r15]
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 72[r15], rax
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR 8[r15], eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, r15
	mov	rdi, r12
	call	nouveau_perf_voltage@PLT
	cmp	QWORD PTR 16[rbp], 0
	je	.L18
	mov	esi, DWORD PTR 4[r15]
	test	esi, esi
	jne	.L29
.L18:
	mov	esi, DWORD PTR 12[r15]
	lea	rdx, 68[r15]
	mov	rdi, r12
	call	nouveau_mem_timing_calc@PLT
	test	eax, eax
	jne	.L30
	mov	edi, DWORD PTR 64[r15]
	mov	ecx, ebx
	mov	esi, 4
	lea	rdx, .LC2[rip]
	call	snprintf@PLT
	mov	DWORD PTR 32[r15], ebx
	mov	edi, DWORD PTR 56[r15]
	mov	ecx, ebx
	lea	rdx, .LC3[rip]
	mov	esi, 4
	call	snprintf@PLT
	lea	rax, nouveau_pm_static_profile_func[rip]
	mov	rsi, QWORD PTR 40[rsp]
	lea	rdi, 40[r15]
	mov	QWORD PTR 48[r15], rax
	call	list_add_tail@PLT
	add	QWORD PTR 0[rbp], 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR 16[r14]
	mov	DWORD PTR [r8], eax
	mov	eax, DWORD PTR 20[r14]
	mov	DWORD PTR 4[r8], eax
	mov	edi, DWORD PTR 24[r14]
	call	ROM16@PLT
	imul	ecx, eax, 1000
	mov	DWORD PTR 8[r15], ecx
	mov	DWORD PTR 16[r15], ecx
	movsx	eax, BYTE PTR 32[r14]
	imul	eax, eax, 1000
	add	eax, ecx
	mov	DWORD PTR 8[r15], eax
	mov	rax, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR [rax]
	call	nv_device@PLT
	cmp	DWORD PTR [rax], 73
	je	.L16
	mov	rax, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR [rax]
	call	nv_device@PLT
	cmp	DWORD PTR [rax], 75
	jne	.L31
.L16:
	mov	edi, DWORD PTR 44[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 12[r15], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 220[r14]
	cmp	DWORD PTR 60[rsp], 56
	mov	DWORD PTR [r8], eax
	jle	.L14
	mov	eax, DWORD PTR 224[r14]
	mov	DWORD PTR 4[r8], eax
.L14:
	mov	edi, DWORD PTR 4[r14]
	call	ROM32@PLT
	lea	eax, [rax+rax*4]
	add	eax, eax
	mov	DWORD PTR 8[r15], eax
	mov	edi, DWORD PTR 20[r14]
	call	ROM32@PLT
	lea	eax, [rax+rax*4]
	sal	eax, 2
	mov	DWORD PTR 12[r15], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 8[r14]
	call	ROM16@PLT
	mov	DWORD PTR 20[r15], eax
.L9:
	mov	eax, DWORD PTR 24[r14]
	mov	DWORD PTR [r15], eax
	mov	eax, DWORD PTR 28[r14]
	mov	DWORD PTR 4[r15], eax
	mov	edi, DWORD PTR 32[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 8[r15], eax
	mov	edi, DWORD PTR 40[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 16[r15], eax
	mov	edi, DWORD PTR 48[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 12[r15], eax
	mov	edi, DWORD PTR 64[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 24[r15], eax
	mov	edi, DWORD PTR 80[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 28[r15], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 16[r14]
	mov	DWORD PTR [r8], eax
	mov	eax, DWORD PTR 20[r14]
	mov	DWORD PTR 4[r8], eax
	mov	edi, DWORD PTR 24[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 8[r15], eax
	mov	edi, DWORD PTR 40[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 16[r15], eax
	mov	edi, DWORD PTR 48[r14]
	call	ROM16@PLT
	imul	eax, eax, 1000
	mov	DWORD PTR 12[r15], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rdi, QWORD PTR 32[rsp]
	mov	ecx, eax
	mov	edx, ebx
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	NV_DEBUG@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, r12
	call	nouveau_volt_vid_lookup@PLT
	test	eax, eax
	jns	.L18
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, ebx
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	NV_DEBUG@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, r12
	call	legacy_perf_init@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	add	rsp, 88
	.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
.L31:
	.cfi_restore_state
	mov	edi, DWORD PTR 44[r14]
	call	ROM16@PLT
	imul	eax, eax, 2000
	mov	DWORD PTR 12[r15], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L28:
	call	ROM16@PLT
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 8[r15], eax
	mov	eax, DWORD PTR 68[rsp]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	mov	ecx, DWORD PTR 68[rsp]
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 16[r15], eax
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*2]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 12[r15], eax
	mov	eax, DWORD PTR 68[rsp]
	lea	eax, [rax+rax*2]
	add	eax, DWORD PTR 60[rsp]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	mov	ecx, DWORD PTR 68[rsp]
	and	eax, 4095
	imul	eax, eax, 1000
	mov	DWORD PTR 24[r15], eax
	mov	eax, DWORD PTR 60[rsp]
	lea	eax, [rax+rcx*4]
	cdqe
	mov	edi, DWORD PTR [r14+rax*4]
	call	ROM16@PLT
	and	eax, 4095
	imul	rax, rax, 1000
	mov	QWORD PTR 120[r15], rax
	jmp	.L6
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nouveau_perf_init, .-nouveau_perf_init
	.comm	nouveau_pm_static_profile_func,4,4
	.comm	NV_50,4,4
	.comm	NVBIOS_BMP,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_nouveau_perf.c_nouveau_perf_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"perflvl %d, bad vid\012\000"
	.align	2
.LC1:
	.ascii	"perflvl %d, bad timing: %d\012\000"
	.align	2
.LC2:
	.ascii	"performance_level_%d\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nouveau_perf_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	nouveau_perf_init, %function
nouveau_perf_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L43
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r7, r0
	bl	nouveau_drm
	mov	r8, r0
	mov	r0, r7
	bl	nouveau_pm
	ldr	r3, .L43+4
	ldr	r2, [r8, #4]
	ldr	r3, [r3]
	mov	r6, r0
	cmp	r2, r3
	bne	.L2
	ldr	r3, [r8, #12]
	ldr	r2, [r8, #8]
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #36
	ble	.L37
.L2:
	mov	r0, r7
	add	r1, sp, #20
	bl	nouveau_perf_table
	mvn	r5, #0
	add	r10, sp, #32
.L4:
	add	r3, sp, #28
	add	r5, r5, #1
	str	r3, [sp]
	mov	r1, r5
	mov	r0, r7
	str	r10, [sp, #4]
	add	r3, sp, #24
	add	r2, sp, #20
	bl	nouveau_perf_entry
	subs	r9, r0, #0
	beq	.L1
	ldr	r3, [r6]
	ldr	r1, [r9]
	ldr	r2, [r6, #12]
	add	r3, r3, r3, lsl #1
	rsb	fp, r3, r3, lsl #3
	cmp	r1, #255
	add	r4, r2, fp, lsl #2
	beq	.L4
	ldr	r3, [sp, #20]
	sub	r3, r3, #18
	cmp	r3, #46
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L13
	.word	.L13
	.word	.L6
	.word	.L13
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L12
	.word	.L6
	.word	.L12
	.word	.L12
	.word	.L11
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L10
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L9
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L7
.L12:
	ldr	r3, [r9, #16]
	str	r3, [r2, fp, lsl #2]
	ldr	r3, [r9, #20]
	str	r3, [r4, #4]
	ldr	r0, [r9, #24]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r3, r0, #3
	str	r3, [r4, #8]
	str	r3, [r4, #16]
	ldrsb	r2, [r9, #32]
	ldr	r0, [r8]
	rsb	r1, r2, r2, lsl #5
	add	r2, r2, r1, lsl #2
	add	r3, r3, r2, lsl #3
	str	r3, [r4, #8]
	bl	nv_device
	ldr	r3, [r0]
	cmp	r3, #73
	beq	.L16
	ldr	r0, [r8]
	bl	nv_device
	ldr	r3, [r0]
	cmp	r3, #75
	bne	.L38
.L16:
	ldr	r0, [r9, #44]
.L35:
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #12]
.L6:
	mov	r1, r4
	mov	r0, r7
	bl	nouveau_perf_voltage
	ldr	r3, [r6, #8]
	cmp	r3, #0
	beq	.L18
	ldr	r1, [r4, #4]
	cmp	r1, #0
	bne	.L39
.L18:
	mov	r0, r7
	ldr	r1, [r4, #12]
	add	r2, r4, #52
	bl	nouveau_mem_timing_calc
	subs	r3, r0, #0
	bne	.L40
	mov	r3, r5
	mov	r1, #4
	ldr	r2, .L43+8
	ldr	r0, [r4, #48]
	bl	snprintf
	mov	r3, r5
	mov	r1, #4
	ldr	r2, .L43+12
	ldr	r0, [r4, #44]
	str	r5, [r4, #32]
	bl	snprintf
	ldr	r3, .L43+16
	add	r0, r4, #36
	str	r3, [r4, #40]
	add	r1, r6, #4
	bl	list_add_tail
	ldr	r3, [r6]
	add	r3, r3, #1
	str	r3, [r6]
	b	.L4
.L13:
	ldr	r3, [r9, #220]
	ldr	r1, [sp, #24]
	str	r3, [r2, fp, lsl #2]
	cmp	r1, #56
	ldrgt	r3, [r9, #224]
	strgt	r3, [r4, #4]
	ldr	r0, [r9, #4]
	bl	ROM32
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #1
	str	r0, [r4, #8]
	ldr	r0, [r9, #20]
	bl	ROM32
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #2
	str	r0, [r4, #12]
	b	.L6
.L10:
	ldr	r0, [r9, #8]
	str	r2, [sp, #12]
	bl	ROM16
	ldr	r2, [sp, #12]
	str	r0, [r4, #20]
.L9:
	ldr	r3, [r9, #24]
	str	r3, [r2, fp, lsl #2]
	ldr	r3, [r9, #28]
	str	r3, [r4, #4]
	ldr	r0, [r9, #32]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #8]
	ldr	r0, [r9, #40]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #16]
	ldr	r0, [r9, #48]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #12]
	ldr	r0, [r9, #64]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #24]
	ldr	r0, [r9, #80]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #28]
	b	.L6
.L11:
	ldr	r3, [r9, #16]
	str	r3, [r2, fp, lsl #2]
	ldr	r3, [r9, #20]
	str	r3, [r4, #4]
	ldr	r0, [r9, #24]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #8]
	ldr	r0, [r9, #40]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #16]
	ldr	r0, [r9, #48]
	b	.L35
.L7:
	mov	r3, #0
	str	r3, [r2, fp, lsl #2]
	ldr	r3, [r9, #8]
	ldr	r0, [r8]
	str	r3, [r4, #4]
	bl	nv_device
	ldr	r3, .L43+20
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	ldr	fp, .L43+24
	cmp	r2, r3
	ldr	r3, [sp, #24]
	ldr	r0, [r9, r3, lsl #2]
	beq	.L41
	bl	ROM16
	and	r0, r0, fp
	rsb	r2, r0, r0, lsl #5
	ldr	r3, [sp, #24]
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #32]
	lsl	r0, r0, #3
	add	r3, r3, r2
	str	r0, [r4, #76]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	ldr	r2, [sp, #32]
	add	r0, r0, r3, lsl #2
	ldr	r3, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2, lsl #1
	str	r0, [r4, #72]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	ldr	r3, [sp, #32]
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #24]
	add	r3, r3, r3, lsl #1
	add	r3, r3, r2
	lsl	r0, r0, #3
	str	r0, [r4, #68]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	ldr	r2, [sp, #32]
	add	r0, r0, r3, lsl #2
	ldr	r3, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2, lsl #2
	str	r0, [r4, #16]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	ldr	r3, [sp, #32]
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #24]
	add	r3, r3, r3, lsl #2
	add	r3, r3, r2
	lsl	r0, r0, #3
	str	r0, [r4, #64]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	ldr	r3, [sp, #32]
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r3, lsl #1
	add	r3, r2, r3, lsl #1
	str	r0, [r4, #12]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	ldr	r3, [sp, #32]
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r3, lsl #2
	add	r3, r2, r3, lsl #1
	str	r0, [r4, #24]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	ldr	r3, [sp, #32]
	and	r0, r0, fp
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	add	r2, r3, r3, lsl #2
	add	r3, r3, r2, lsl #1
	ldr	r2, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2
	str	r0, [r4, #60]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	ldr	r3, [r4, #16]
	and	r0, r0, fp
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	add	r3, r3, r3, lsr #31
	lsl	r0, r0, #3
	asr	r3, r3, #1
	str	r0, [r4, #56]
	str	r3, [r4, #8]
	b	.L6
.L40:
	mov	r2, r5
	mov	r0, r8
	ldr	r1, .L43+28
	bl	NV_DEBUG
	b	.L4
.L39:
	mov	r0, r7
	bl	nouveau_volt_vid_lookup
	cmp	r0, #0
	bge	.L18
	mov	r2, r5
	mov	r0, r8
	ldr	r1, .L43+32
	bl	NV_DEBUG
	b	.L4
.L37:
	mov	r0, r7
	bl	legacy_perf_init
.L1:
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	ldr	r0, [r9, #44]
	bl	ROM16
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #4
	str	r0, [r4, #12]
	b	.L6
.L41:
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	ldr	r2, [sp, #32]
	add	r0, r0, r3, lsl #2
	ldr	r3, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2
	str	r0, [r4, #8]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	ldr	r2, [sp, #32]
	add	r0, r0, r3, lsl #2
	ldr	r3, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2, lsl #1
	str	r0, [r4, #16]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	ldr	r3, [sp, #32]
	rsb	r2, r0, r0, lsl #5
	add	r0, r0, r2, lsl #2
	ldr	r2, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r3, lsl #1
	add	r3, r3, r2
	str	r0, [r4, #12]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	ldr	r2, [sp, #32]
	add	r0, r0, r3, lsl #2
	ldr	r3, [sp, #24]
	lsl	r0, r0, #3
	add	r3, r3, r2, lsl #2
	str	r0, [r4, #24]
	ldr	r0, [r9, r3, lsl #2]
	bl	ROM16
	and	r0, r0, fp
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	str	r0, [r4, #80]
	b	.L6
.L42:
	bl	__stack_chk_fail
.L44:
	.align	2
.L43:
	.word	.LC4
	.word	NVBIOS_BMP
	.word	.LC2
	.word	.LC3
	.word	nouveau_pm_static_profile_func
	.word	NV_50
	.word	4095
	.word	.LC1
	.word	.LC0
	.size	nouveau_perf_init, .-nouveau_perf_init
	.comm	nouveau_pm_static_profile_func,4,4
	.comm	NV_50,4,4
	.comm	NVBIOS_BMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
