	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mm_init                    ## -- Begin function drm_mm_init
	.p2align	4, 0x90
_drm_mm_init:                           ## @drm_mm_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	%rdx, %r15
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setle	%dil
	callq	_DRM_MM_BUG_ON
	movq	$0, 80(%rbx)
	leaq	72(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	_RB_ROOT_CACHED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	%rax, 56(%rbx)
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	leaq	8(%rbx), %r12
	leaq	40(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	$0, 8(%rbx)
	movq	%rbx, 32(%rbx)
	movq	%r15, 24(%rbx)
	negq	%r14
	movq	%r14, 16(%rbx)
	movq	%r12, %rdi
	callq	_add_hole
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_ROOT_CACHED,8,3             ## @RB_ROOT_CACHED
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mm_init                    ; -- Begin function drm_mm_init
	.p2align	2
_drm_mm_init:                           ; @drm_mm_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	add	x21, x2, x1
	cmp	x2, #1
	cset	w0, lt
	bl	_DRM_MM_BUG_ON
	str	xzr, [x20, #80]
	add	x0, x20, #72
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, _RB_ROOT_CACHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_ROOT_CACHED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #56]
Lloh3:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	add	x0, x20, #40
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	str	wzr, [x0, #8]!
	stp	x21, x20, [x20, #24]
	neg	x8, x19
	str	x8, [x20, #16]
	bl	_add_hole
	str	xzr, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_ROOT_CACHED,8,3             ; @RB_ROOT_CACHED
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
.subsections_via_symbols
