	.file	"extr_msm_gem_vma.c_msm_gem_address_space_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	msm_gem_address_space_create
	.type	msm_gem_address_space_create, @function
msm_gem_address_space_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	edi, 24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	edx, DWORD PTR [rsi]
	sub	edx, DWORD PTR 4[rsi]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	ebp, edx
	call	kzalloc@PLT
	test	rax, rax
	je	.L5
	mov	r12, rax
	lea	rdi, 20[rax]
	call	spin_lock_init@PLT
	mov	QWORD PTR [r12], r14
	mov	rsi, rbx
	mov	rdi, r13
	call	msm_iommu_new@PLT
	mov	ecx, DWORD PTR PAGE_SHIFT[rip]
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, ebp
	mov	DWORD PTR 16[r12], eax
	lea	rdi, 12[r12]
	sar	edx, cl
	sar	esi, cl
	call	drm_mm_init@PLT
	lea	rdi, 8[r12]
	call	kref_init@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	edi
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	msm_gem_address_space_create, .-msm_gem_address_space_create
	.comm	PAGE_SHIFT,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_msm_gem_vma.c_msm_gem_address_space_create.c"
	.text
	.align	2
	.global	msm_gem_address_space_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	msm_gem_address_space_create, %function
msm_gem_address_space_create:
	@ 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, .L6
	ldr	ip, [r5]
	ldr	r3, [r5, #4]
	mov	r7, r0
	ldr	r1, [r1]
	mov	r0, #20
	mov	r6, r2
	sub	r8, ip, r3
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L5
	add	r0, r4, #16
	bl	spin_lock_init
	mov	r1, r5
	mov	r0, r7
	str	r6, [r4]
	bl	msm_iommu_new
	ldr	r3, .L6+4
	ldr	r1, [r5, #4]
	ldr	r3, [r3]
	str	r0, [r4, #12]
	asr	r2, r8, r3
	asr	r1, r1, r3
	add	r0, r4, #8
	bl	drm_mm_init
	add	r0, r4, #4
	bl	kref_init
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L6+8
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L7:
	.align	2
.L6:
	.word	GFP_KERNEL
	.word	PAGE_SHIFT
	.word	ENOMEM
	.size	msm_gem_address_space_create, .-msm_gem_address_space_create
	.comm	PAGE_SHIFT,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
