	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_outside_range
_insert_outside_range:                  ## @insert_outside_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	$1024, %edx                     ## imm = 0x400
	callq	_drm_mm_init
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_expect_insert_in_range_fail
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	-24(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	$512, %edx                      ## imm = 0x200
	movl	$1536, %ecx                     ## imm = 0x600
	callq	_expect_insert_in_range_fail
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	leaq	-24(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	$1536, %edx                     ## imm = 0x600
	movl	$2560, %ecx                     ## imm = 0xA00
	callq	_expect_insert_in_range_fail
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	-24(%rbp), %rdi
	movl	$1, %esi
	movl	$2048, %edx                     ## imm = 0x800
	movl	$3072, %ecx                     ## imm = 0xC00
	callq	_expect_insert_in_range_fail
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rdi
	callq	_drm_mm_takedown
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_insert_outside_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_outside_range
_insert_outside_range:                  ; @insert_outside_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x0, sp, #8
	mov	w1, #1024
	mov	w2, #1024
	bl	_drm_mm_init
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #0
	mov	w3, #1024
	bl	_expect_insert_in_range_fail
	cbz	w0, LBB0_5
; %bb.1:
	add	x0, sp, #8
	mov	w1, #1024
	mov	w2, #512
	mov	w3, #1536
	bl	_expect_insert_in_range_fail
	cbz	w0, LBB0_5
; %bb.2:
	add	x0, sp, #8
	mov	w1, #1024
	mov	w2, #1536
	mov	w3, #2560
	bl	_expect_insert_in_range_fail
	cbz	w0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #2048
	mov	w3, #3072
	bl	_expect_insert_in_range_fail
	cbz	w0, LBB0_5
; %bb.4:
	add	x0, sp, #8
	bl	_drm_mm_takedown
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_insert_outside_range
.subsections_via_symbols
