	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expect_insert_in_range
_expect_insert_in_range:                ## @expect_insert_in_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %r15
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	24(%rbp), %rax
	movl	16(%rbp), %r10d
	movl	4(%rax), %eax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	pushq	%rax
	pushq	%r10
	callq	_drm_mm_insert_node_in_range
	addq	$16, %rsp
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	24(%rbp), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movq	%r15, %rcx
	movl	%r12d, %r9d
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_pr_err
	addq	$16, %rsp
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movq	%r15, %r8
	callq	_assert_node
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	je	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rdi
	callq	_drm_mm_remove_node
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"insert (size=%llu, alignment=%llu, color=%lu, mode=%s) nto range [%llx, %llx] failed with err=%d\n"

	.no_dead_strip	_expect_insert_in_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expect_insert_in_range
_expect_insert_in_range:                ; @expect_insert_in_range
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x7
	mov	x20, x6
	mov	x22, x5
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x26, x0
	ldr	w7, [x7, #4]
	bl	_drm_mm_insert_node_in_range
	cbz	w0, LBB0_3
; %bb.1:
	mov	x7, x0
	ldr	w4, [x25]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	mov	x6, x20
	bl	_pr_err
LBB0_2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	mov	x3, x21
	mov	x4, x19
	bl	_assert_node
	cbz	w0, LBB0_6
; %bb.4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x23
	bl	_drm_mm_remove_node
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"insert (size=%llu, alignment=%llu, color=%lu, mode=%s) nto range [%llx, %llx] failed with err=%d\n"

	.no_dead_strip	_expect_insert_in_range
.subsections_via_symbols
