	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pagetable_allocate
_pagetable_allocate:                    ## @pagetable_allocate
	.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
	movq	%rdi, %rax
	movq	8(%rdi), %rbx
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsi
	movq	_DSA_ALLOC_HUGE@GOTPCREL(%rip), %rax
	movq	_DSA_ALLOC_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_dsa_allocate_extended
	movl	%eax, (%rbx)
	movq	8(%rbx), %rdi
	movl	%eax, %esi
	callq	_dsa_get_address
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rax), %edi
	movq	_MCXT_ALLOC_HUGE@GOTPCREL(%rip), %rax
	movq	_MCXT_ALLOC_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MemoryContextAllocExtended     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCXT_ALLOC_HUGE,4,2            ## @MCXT_ALLOC_HUGE
	.comm	_MCXT_ALLOC_ZERO,4,2            ## @MCXT_ALLOC_ZERO
	.comm	_DSA_ALLOC_HUGE,4,2             ## @DSA_ALLOC_HUGE
	.comm	_DSA_ALLOC_ZERO,4,2             ## @DSA_ALLOC_ZERO
	.no_dead_strip	_pagetable_allocate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pagetable_allocate
_pagetable_allocate:                    ; @pagetable_allocate
	.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
	mov	x8, x0
	ldr	x19, [x0, #8]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	str	w8, [x19, #16]
Lloh0:
	adrp	x8, _DSA_ALLOC_HUGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSA_ALLOC_HUGE@GOTPAGEOFF]
	add	x1, x1, #8
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DSA_ALLOC_ZERO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DSA_ALLOC_ZERO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_dsa_allocate_extended
	mov	x1, x0
	str	w0, [x19]
	ldr	x0, [x19, #8]
	bl	_dsa_get_address
	ldr	x0, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _MCXT_ALLOC_HUGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCXT_ALLOC_HUGE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MCXT_ALLOC_ZERO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MCXT_ALLOC_ZERO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MemoryContextAllocExtended
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MCXT_ALLOC_HUGE,4,2            ; @MCXT_ALLOC_HUGE
	.comm	_MCXT_ALLOC_ZERO,4,2            ; @MCXT_ALLOC_ZERO
	.comm	_DSA_ALLOC_HUGE,4,2             ; @DSA_ALLOC_HUGE
	.comm	_DSA_ALLOC_ZERO,4,2             ; @DSA_ALLOC_ZERO
	.no_dead_strip	_pagetable_allocate
.subsections_via_symbols
