	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_large_page
_alloc_large_page:                      ## @alloc_large_page
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	addq	$64, %rdi
	callq	_xmalloc
	movq	%rax, %rbx
	leaq	64(%rax), %rdi
	leaq	16(%rax), %rsi
	movq	%rdi, 16(%rax)
	movq	$1, 24(%rax)
	movq	%r14, 32(%rax)
	movl	$0, (%rax)
	movq	%r15, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rax)
	callq	_set_page_table_entry
	movq	_GGC_DEBUG_LEVEL@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %r8
	movq	32(%rbx), %rax
	movq	(%rax), %rdx
	movq	_SMALL_PAGE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r8,%rax), %r9
	decq	%r9
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_fprintf
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GGC_DEBUG_LEVEL,4,2            ## @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ## @G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Allocating %s large page at %p, data %p-%p\n"

	.comm	_SMALL_PAGE_SIZE,4,2            ## @SMALL_PAGE_SIZE
	.no_dead_strip	_alloc_large_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function alloc_large_page
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_alloc_large_page:                      ; @alloc_large_page
	.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	x20, x1
	mov	x21, x0
	add	x0, x0, #64
	bl	_xmalloc
	mov	x19, x0
	add	x0, x0, #64
	mov	x1, x19
	str	x0, [x1, #16]!
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #24]
	str	x20, [x19, #32]
	str	wzr, [x19]
	str	x21, [x19, #8]
	stp	xzr, xzr, [x19, #48]
	bl	_set_page_table_entry
Lloh2:
	adrp	x8, _GGC_DEBUG_LEVEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GGC_DEBUG_LEVEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _G@GOTPAGE
Lloh6:
	ldr	x8, [x8, _G@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #32]
	ldr	x2, [x8]
	ldr	x4, [x19, #16]
Lloh8:
	adrp	x8, _SMALL_PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMALL_PAGE_SIZE@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	add	x8, x4, x8
	sub	x5, x8, #1
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_fprintf
LBB0_2:
	mov	x0, x19
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GGC_DEBUG_LEVEL,4,2            ; @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ; @G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Allocating %s large page at %p, data %p-%p\n"

	.comm	_SMALL_PAGE_SIZE,4,2            ; @SMALL_PAGE_SIZE
	.no_dead_strip	_alloc_large_page
.subsections_via_symbols
