	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_pager_alloc
_default_pager_alloc:                   ## @default_pager_alloc
	.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	%r8, %r15
	movq	%rcx, %rbx
	movq	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_swap_reserve_by_cred
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_crhold
LBB0_6:
	movq	_OBJT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addq	%r14, %rbx
	movq	%rbx, %rdi
	callq	_round_page
	movl	%eax, %edi
	callq	_OFF_TO_IDX
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_vm_object_allocate
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, 8(%rax)
	movq	%r14, (%rax)
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default_pager_alloc: handle specified"

	.comm	_OBJT_DEFAULT,4,2               ## @OBJT_DEFAULT
	.no_dead_strip	_default_pager_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_pager_alloc
_default_pager_alloc:                   ; @default_pager_alloc
	.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, x4
	mov	x21, x3
	mov	x20, x1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	cbz	x19, LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_swap_reserve_by_cred
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_crhold
LBB0_5:
Lloh2:
	adrp	x8, _OBJT_DEFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OBJT_DEFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	add	x0, x21, x20
	bl	_round_page
	bl	_OFF_TO_IDX
	mov	x1, x0
	mov	x0, x22
	bl	_vm_object_allocate
	cbz	x19, LBB0_8
; %bb.6:
	stp	x20, x19, [x0]
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default_pager_alloc: handle specified"

	.comm	_OBJT_DEFAULT,4,2               ; @OBJT_DEFAULT
	.no_dead_strip	_default_pager_alloc
.subsections_via_symbols
