	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_entry_create
_vm_map_entry_create:                   ## @vm_map_entry_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	movq	_kmapentzone@GOTPCREL(%rip), %rax
	cmoveq	_mapentzone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	cmoveq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_zalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kmapentzone,4,2                ## @kmapentzone
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_mapentzone,4,2                 ## @mapentzone
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm_map_entry_create: kernel resources exhausted"

	.no_dead_strip	_vm_map_entry_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_entry_create
_vm_map_entry_create:                   ; @vm_map_entry_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _mapentzone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mapentzone@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _kmapentzone@GOTPAGE
Lloh3:
	ldr	x10, [x10, _kmapentzone@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh6:
	adrp	x9, _M_NOWAIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_NOWAIT@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_uma_zalloc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_kmapentzone,4,2                ; @kmapentzone
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_mapentzone,4,2                 ; @mapentzone
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm_map_entry_create: kernel resources exhausted"

	.no_dead_strip	_vm_map_entry_create
.subsections_via_symbols
