	.file	"extr_nv41.c_nv41_fb_vram_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nv41_fb_vram_init
	.type	nv41_fb_vram_init, @function
nv41_fb_vram_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, 1049716
	mov	rbp, rdi
	call	nv_rd32@PLT
	test	al, 4
	je	.L2
	mov	edx, DWORD PTR NV_MEM_TYPE_GDDR3[rip]
	mov	DWORD PTR 8[rbp], edx
.L2:
	test	al, 2
	je	.L3
	mov	edx, DWORD PTR NV_MEM_TYPE_DDR2[rip]
	mov	DWORD PTR 8[rbp], edx
.L3:
	test	al, 1
	je	.L4
	mov	eax, DWORD PTR NV_MEM_TYPE_DDR1[rip]
	mov	DWORD PTR 8[rbp], eax
.L4:
	mov	rdi, rbp
	mov	esi, 1049100
	call	nv_rd32@PLT
	mov	rdi, rbp
	mov	esi, 1049088
	and	eax, -16777216
	mov	DWORD PTR 0[rbp], eax
	call	nv_rd32@PLT
	mov	rdi, rbp
	mov	esi, 1049376
	and	eax, 3
	add	eax, 1
	mov	DWORD PTR 4[rbp], eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	nv_rd32@PLT
	.cfi_endproc
.LFE0:
	.size	nv41_fb_vram_init, .-nv41_fb_vram_init
	.comm	NV_MEM_TYPE_GDDR3,4,4
	.comm	NV_MEM_TYPE_DDR2,4,4
	.comm	NV_MEM_TYPE_DDR1,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_nv41.c_nv41_fb_vram_init.c"
	.text
	.align	2
	.global	nv41_fb_vram_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv41_fb_vram_init, %function
nv41_fb_vram_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r1, .L16
	mov	r4, r0
	bl	nv_rd32
	tst	r0, #4
	ldrne	r3, .L16+4
	ldr	r1, .L16+8
	ldrne	r3, [r3]
	strne	r3, [r4, #8]
	tst	r0, #2
	ldrne	r3, .L16+12
	ldrne	r3, [r3]
	strne	r3, [r4, #8]
	tst	r0, #1
	ldrne	r3, .L16+16
	mov	r0, r4
	ldrne	r3, [r3]
	strne	r3, [r4, #8]
	bl	nv_rd32
	and	r0, r0, #-16777216
	str	r0, [r4]
	ldr	r1, .L16+20
	mov	r0, r4
	bl	nv_rd32
	and	r0, r0, #3
	add	r0, r0, #1
	str	r0, [r4, #4]
	ldr	r1, .L16+24
	mov	r0, r4
	pop	{r4, lr}
	b	nv_rd32
.L17:
	.align	2
.L16:
	.word	1049716
	.word	NV_MEM_TYPE_GDDR3
	.word	1049100
	.word	NV_MEM_TYPE_DDR2
	.word	NV_MEM_TYPE_DDR1
	.word	1049088
	.word	1049376
	.size	nv41_fb_vram_init, .-nv41_fb_vram_init
	.comm	NV_MEM_TYPE_GDDR3,4,4
	.comm	NV_MEM_TYPE_DDR2,4,4
	.comm	NV_MEM_TYPE_DDR1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
