	.file	"extr_hw.h_NVReadPRMVIO.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	NVReadPRMVIO, @function
NVReadPRMVIO:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	nouveau_drm@PLT
	mov	rdi, rbp
	lea	r13, 8[rax]
	call	nouveau_drm@PLT
	test	ebx, ebx
	je	.L2
	mov	rcx, QWORD PTR NV_DEVICE_INFO_V0_CURIE[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L8
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r12d
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	nvif_rd08@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	r12d, DWORD PTR NV_PRMVIO_SIZE[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	NVReadPRMVIO, .-NVReadPRMVIO
	.comm	NV_PRMVIO_SIZE,8,8
	.comm	NV_DEVICE_INFO_V0_CURIE,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_hw.h_NVReadPRMVIO.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	NVReadPRMVIO, %function
NVReadPRMVIO:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	mov	r4, r2
	bl	nouveau_drm
	mov	r5, r0
	mov	r0, r7
	bl	nouveau_drm
	cmp	r6, #0
	add	r5, r5, #4
	beq	.L2
	ldr	r3, .L8
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, .L8+4
	ldreq	r3, [r3]
	addeq	r4, r4, r3
.L2:
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	nvif_rd08
.L9:
	.align	2
.L8:
	.word	NV_DEVICE_INFO_V0_CURIE
	.word	NV_PRMVIO_SIZE
	.size	NVReadPRMVIO, .-NVReadPRMVIO
	.comm	NV_PRMVIO_SIZE,4,4
	.comm	NV_DEVICE_INFO_V0_CURIE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
