	.file	"extr_drm_mm.c_drm_mm_insert_node_in_range_generic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	drm_mm_insert_node_in_range_generic
	.type	drm_mm_insert_node_in_range_generic, @function
drm_mm_insert_node_in_range_generic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	mov	edx, r13d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rsi, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	mov	r8, r14
	mov	rcx, rbx
	sub	rsp, 16
	.cfi_def_cfa_offset 72
	mov	rbp, QWORD PTR 72[rsp]
	push	0
	.cfi_def_cfa_offset 80
	mov	r9, rbp
	call	drm_mm_search_free_in_range_generic@PLT
	pop	rcx
	.cfi_def_cfa_offset 72
	pop	rsi
	.cfi_def_cfa_offset 64
	test	rax, rax
	je	.L6
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rdx, r12
	mov	r9, r14
	mov	r8, rbx
	push	rbp
	.cfi_def_cfa_offset 80
	mov	ecx, r13d
	mov	rsi, r15
	mov	rdi, rax
	call	drm_mm_insert_helper_range@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOSPC[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	drm_mm_insert_node_in_range_generic, .-drm_mm_insert_node_in_range_generic
	.comm	ENOSPC,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_drm_mm.c_drm_mm_insert_node_in_range_generic.c"
	.text
	.align	2
	.global	drm_mm_insert_node_in_range_generic
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_mm_insert_node_in_range_generic, %function
drm_mm_insert_node_in_range_generic:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r2
	mov	r4, #0
	sub	sp, sp, #16
	add	r8, sp, #48
	ldm	r8, {r8, r9, r10}
	mov	r2, r3
	mov	r6, r3
	mov	r7, r1
	mov	r3, r8
	mov	r1, r5
	stm	sp, {r9, r10}
	str	r4, [sp, #8]
	bl	drm_mm_search_free_in_range_generic
	cmp	r0, r4
	beq	.L6
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	stm	sp, {r8, r9, r10}
	bl	drm_mm_insert_helper_range
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L7
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	ENOSPC
	.size	drm_mm_insert_node_in_range_generic, .-drm_mm_insert_node_in_range_generic
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
