	.file	"extr_vbox_main.c_vbox_gem_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to allocate GEM object\n"
	.text
	.p2align 4
	.globl	vbox_gem_create
	.type	vbox_gem_create, @function
vbox_gem_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rcx
	mov	QWORD PTR [rcx], 0
	call	roundup@PLT
	test	rax, rax
	jne	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, rbp
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, rax
	call	drm_gem_vram_create@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	xor	r12d, r12d
	mov	QWORD PTR [rbx], rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r12d, eax
	add	eax, DWORD PTR ERESTARTSYS[rip]
	je	.L1
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	vbox_gem_create, .-vbox_gem_create
	.comm	PAGE_SIZE,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EINVAL,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_vbox_main.c_vbox_gem_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to allocate GEM object\012\000"
	.text
	.align	2
	.global	vbox_gem_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	vbox_gem_create, %function
vbox_gem_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r3
	mov	r6, #0
	ldr	r3, .L7
	mov	r4, r0
	sub	sp, sp, #8
	mov	r0, r1
	str	r6, [r5]
	ldr	r1, [r3]
	bl	roundup
	subs	r2, r0, #0
	bne	.L2
	ldr	r3, .L7+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	str	r6, [sp]
	mov	r3, r6
	ldr	r1, [r4]
	mov	r0, r4
	bl	drm_gem_vram_create
	mov	r6, r0
	bl	IS_ERR
	subs	r4, r0, #0
	streq	r6, [r5]
	beq	.L1
	mov	r0, r6
	bl	PTR_ERR
	ldr	r3, .L7+8
	mov	r4, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L1
	ldr	r0, .L7+12
	bl	DRM_ERROR
	b	.L1
.L8:
	.align	2
.L7:
	.word	PAGE_SIZE
	.word	EINVAL
	.word	ERESTARTSYS
	.word	.LC0
	.size	vbox_gem_create, .-vbox_gem_create
	.comm	PAGE_SIZE,4,4
	.comm	ERESTARTSYS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
