	.file	"extr_ramgt215.c_gt215_ram_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gt215_ram_new
	.type	gt215_ram_new, @function
gt215_ram_new:
.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	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, 304
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	lea	rdx, 296[rax]
	mov	rsi, rbp
	lea	rdi, gt215_ram_func[rip]
	mov	rbx, rax
	mov	QWORD PTR [r12], rdx
	call	nv50_ram_ctor@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, 5648
	xor	ebp, ebp
	call	ramfuc_reg@PLT
	mov	edi, 5888
	mov	QWORD PTR 288[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 9476
	mov	QWORD PTR 280[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 16384
	mov	QWORD PTR 272[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 16388
	mov	QWORD PTR 264[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 16408
	mov	QWORD PTR 256[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 16680
	mov	QWORD PTR 248[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 16744
	mov	QWORD PTR 240[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1048704
	mov	QWORD PTR 232[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1049088
	mov	QWORD PTR 224[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1049104
	mov	QWORD PTR 216[rbx], rax
	call	ramfuc_reg@PLT
	mov	QWORD PTR 208[rbx], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 200[rbx]
	lea	edi, 1049120[0+rbp*4]
	lea	r12, [rax+rbp*8]
	add	rbp, 1
	call	ramfuc_reg@PLT
	mov	QWORD PTR [r12], rax
	cmp	rbp, 9
	jne	.L4
	mov	edi, 1049188
	call	ramfuc_reg@PLT
	mov	edi, 1049296
	mov	QWORD PTR 192[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1049300
	mov	QWORD PTR 184[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1049308
	mov	QWORD PTR 176[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1049916
	mov	QWORD PTR 168[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050016
	mov	QWORD PTR 160[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050020
	mov	QWORD PTR 152[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050368
	mov	QWORD PTR 144[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050388
	mov	QWORD PTR 136[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050392
	mov	QWORD PTR 128[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050396
	mov	QWORD PTR 120[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1050400
	mov	QWORD PTR 112[rbx], rax
	call	ramfuc_reg@PLT
	mov	edx, DWORD PTR 300[rbx]
	mov	esi, 4
	mov	edi, 1050464
	mov	QWORD PTR 104[rbx], rax
	call	ramfuc_stride@PLT
	mov	edx, DWORD PTR 300[rbx]
	mov	esi, 4
	mov	edi, 1050528
	mov	QWORD PTR 96[rbx], rax
	call	ramfuc_stride@PLT
	mov	edx, DWORD PTR 300[rbx]
	mov	esi, 4
	mov	edi, 1050592
	mov	QWORD PTR 88[rbx], rax
	call	ramfuc_stride@PLT
	mov	edx, DWORD PTR 300[rbx]
	mov	esi, 4
	mov	edi, 1052064
	mov	QWORD PTR 80[rbx], rax
	call	ramfuc_stride@PLT
	mov	edi, 1112068
	mov	QWORD PTR 72[rbx], rax
	call	ramfuc_reg@PLT
	mov	edx, DWORD PTR 300[rbx]
	mov	esi, 4
	mov	edi, 1118432
	mov	QWORD PTR 64[rbx], rax
	call	ramfuc_stride@PLT
	mov	edi, 1118464
	mov	QWORD PTR 56[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1118468
	mov	QWORD PTR 48[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1118688
	mov	QWORD PTR 40[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 1119232
	mov	QWORD PTR 32[rbx], rax
	call	ramfuc_reg@PLT
	mov	edi, 6361600
	mov	QWORD PTR 24[rbx], rax
	call	ramfuc_reg@PLT
	cmp	DWORD PTR 296[rbx], 1
	mov	rbp, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rbx], rax
	jle	.L5
	mov	esi, 1049288
	mov	edi, 1049280
	call	ramfuc_reg2@PLT
	mov	esi, 1049292
	mov	edi, 1049284
	mov	QWORD PTR 0[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg2@PLT
	mov	esi, 1049320
	mov	edi, 1049312
	mov	QWORD PTR 8[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg2@PLT
	mov	esi, 1049324
	mov	edi, 1049316
	mov	QWORD PTR 16[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg2@PLT
	mov	QWORD PTR 24[rbp], rax
.L6:
	mov	rbp, QWORD PTR [rbx]
	mov	edi, 57604
	call	ramfuc_reg@PLT
	mov	edi, 57608
	mov	QWORD PTR 0[rbp], rax
	mov	rbp, QWORD PTR [rbx]
	call	ramfuc_reg@PLT
	mov	edi, 57632
	mov	QWORD PTR 8[rbp], rax
	mov	rbp, QWORD PTR [rbx]
	call	ramfuc_reg@PLT
	mov	edi, 57636
	mov	QWORD PTR 16[rbp], rax
	mov	rbx, QWORD PTR [rbx]
	call	ramfuc_reg@PLT
	mov	QWORD PTR 24[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, 1049280
	call	ramfuc_reg@PLT
	mov	edi, 1049284
	mov	QWORD PTR 0[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg@PLT
	mov	edi, 1049312
	mov	QWORD PTR 8[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg@PLT
	mov	edi, 1049316
	mov	QWORD PTR 16[rbp], rax
	mov	rbp, QWORD PTR 8[rbx]
	call	ramfuc_reg@PLT
	mov	QWORD PTR 24[rbp], rax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	gt215_ram_new, .-gt215_ram_new
	.comm	gt215_ram_func,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_ramgt215.c_gt215_ram_new.c"
	.text
	.align	2
	.global	gt215_ram_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	gt215_ram_new, %function
gt215_ram_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r1, .L12
	mov	r6, r0
	ldr	r1, [r1]
	mov	r0, #156
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L10
	add	r2, r4, #148
	mov	r1, r6
	ldr	r0, .L12+4
	str	r2, [r5]
	bl	nv50_ram_ctor
	subs	r7, r0, #0
	beq	.L11
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, .L12+8
	bl	ramfuc_reg
	mov	r3, r0
	mov	r0, #5888
	str	r3, [r4, #144]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+12
	str	r3, [r4, #140]
	bl	ramfuc_reg
	mov	r3, r0
	mov	r0, #16384
	str	r3, [r4, #136]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+16
	str	r3, [r4, #132]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+20
	str	r3, [r4, #128]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+24
	str	r3, [r4, #124]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+28
	str	r3, [r4, #120]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+32
	str	r3, [r4, #116]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+36
	str	r3, [r4, #112]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+40
	str	r3, [r4, #108]
	bl	ramfuc_reg
	mov	r5, r7
	str	r0, [r4, #104]
.L4:
	add	r0, r5, #1048576
	add	r0, r0, #544
	ldr	r6, [r4, #100]
	bl	ramfuc_reg
	str	r0, [r6, r5]
	add	r5, r5, #4
	cmp	r5, #36
	bne	.L4
	ldr	r0, .L12+44
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+48
	str	r3, [r4, #96]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+52
	str	r3, [r4, #92]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+56
	str	r3, [r4, #88]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+60
	str	r3, [r4, #84]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+64
	str	r3, [r4, #80]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+68
	str	r3, [r4, #76]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+72
	str	r3, [r4, #72]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+76
	str	r3, [r4, #68]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+80
	str	r3, [r4, #64]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+84
	str	r3, [r4, #60]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+88
	str	r3, [r4, #56]
	bl	ramfuc_reg
	mov	r1, #4
	ldr	r2, [r4, #152]
	str	r0, [r4, #52]
	ldr	r0, .L12+92
	bl	ramfuc_stride
	mov	r1, #4
	ldr	r2, [r4, #152]
	str	r0, [r4, #48]
	ldr	r0, .L12+96
	bl	ramfuc_stride
	mov	r1, #4
	ldr	r2, [r4, #152]
	str	r0, [r4, #44]
	ldr	r0, .L12+100
	bl	ramfuc_stride
	mov	r1, #4
	ldr	r2, [r4, #152]
	str	r0, [r4, #40]
	ldr	r0, .L12+104
	bl	ramfuc_stride
	mov	r3, r0
	ldr	r0, .L12+108
	str	r3, [r4, #36]
	bl	ramfuc_reg
	mov	r1, #4
	ldr	r2, [r4, #152]
	str	r0, [r4, #32]
	ldr	r0, .L12+112
	bl	ramfuc_stride
	mov	r3, r0
	ldr	r0, .L12+116
	str	r3, [r4, #28]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+120
	str	r3, [r4, #24]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+124
	str	r3, [r4, #20]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+128
	str	r3, [r4, #16]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+132
	str	r3, [r4, #12]
	bl	ramfuc_reg
	ldr	r3, [r4, #148]
	str	r0, [r4, #8]
	cmp	r3, #1
	ble	.L5
	ldr	r1, .L12+136
	ldr	r0, .L12+140
	ldr	r5, [r4, #4]
	bl	ramfuc_reg2
	ldr	r1, .L12+144
	str	r0, [r5]
	ldr	r0, .L12+148
	ldr	r5, [r4, #4]
	bl	ramfuc_reg2
	ldr	r1, .L12+152
	str	r0, [r5, #4]
	ldr	r0, .L12+156
	ldr	r5, [r4, #4]
	bl	ramfuc_reg2
	ldr	r1, .L12+160
	str	r0, [r5, #8]
	ldr	r0, .L12+164
	ldr	r5, [r4, #4]
	bl	ramfuc_reg2
	str	r0, [r5, #12]
.L6:
	ldr	r0, .L12+168
	ldr	r5, [r4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+172
	str	r3, [r5]
	ldr	r5, [r4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+176
	str	r3, [r5, #4]
	ldr	r5, [r4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+180
	str	r3, [r5, #8]
	ldr	r4, [r4]
	bl	ramfuc_reg
	str	r0, [r4, #12]
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L12+184
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, .L12+140
	ldr	r5, [r4, #4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+148
	str	r3, [r5]
	ldr	r5, [r4, #4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+156
	str	r3, [r5, #4]
	ldr	r5, [r4, #4]
	bl	ramfuc_reg
	mov	r3, r0
	ldr	r0, .L12+164
	str	r3, [r5, #8]
	ldr	r5, [r4, #4]
	bl	ramfuc_reg
	str	r0, [r5, #12]
	b	.L6
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	gt215_ram_func
	.word	5648
	.word	9476
	.word	16388
	.word	16408
	.word	16680
	.word	16744
	.word	1048704
	.word	1049088
	.word	1049104
	.word	1049188
	.word	1049296
	.word	1049300
	.word	1049308
	.word	1049916
	.word	1050016
	.word	1050020
	.word	1050368
	.word	1050388
	.word	1050392
	.word	1050396
	.word	1050400
	.word	1050464
	.word	1050528
	.word	1050592
	.word	1052064
	.word	1112068
	.word	1118432
	.word	1118464
	.word	1118468
	.word	1118688
	.word	1119232
	.word	6361600
	.word	1049288
	.word	1049280
	.word	1049292
	.word	1049284
	.word	1049320
	.word	1049312
	.word	1049324
	.word	1049316
	.word	57604
	.word	57608
	.word	57632
	.word	57636
	.word	ENOMEM
	.size	gt215_ram_new, .-gt215_ram_new
	.comm	gt215_ram_func,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
