	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pages_boot                     ## -- Begin function pages_boot
	.p2align	4, 0x90
_pages_boot:                            ## @pages_boot
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_os_page_detect
	movq	_os_page@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PAGE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jle	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_malloc_write
	movq	_opt_abort@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.2:
	xorl	%eax, %eax
	callq	_abort
LBB0_3:
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movq	_MAP_ANON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_mmap_flags@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_os_overcommits@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%eax, %eax
	callq	_init_thp_state
	movq	_pages_can_purge_lazy@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.4:
	movl	$0, -28(%rbp)
	movq	(%r14), %rdx
	leaq	-28(%rbp), %rcx
	xorl	%edi, %edi
	movq	%rdx, %rsi
	callq	_os_pages_map
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	_pages_can_purge_lazy_runtime@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_assert
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_pages_purge_lazy
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$0, (%r15)
LBB0_7:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_os_pages_unmap
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_os_page,8,3                    ## @os_page
	.comm	_PAGE,8,3                       ## @PAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<jemalloc>: Unsupported system page size\n"

	.comm	_opt_abort,8,3                  ## @opt_abort
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_ANON,4,2                   ## @MAP_ANON
	.comm	_mmap_flags,4,2                 ## @mmap_flags
	.comm	_os_overcommits,4,2             ## @os_overcommits
	.comm	_pages_can_purge_lazy,8,3       ## @pages_can_purge_lazy
	.comm	_pages_can_purge_lazy_runtime,4,2 ## @pages_can_purge_lazy_runtime
	.comm	_MAP_NORESERVE,4,2              ## @MAP_NORESERVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pages_boot                     ; -- Begin function pages_boot
	.p2align	2
_pages_boot:                            ; @pages_boot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_os_page_detect
Lloh0:
	adrp	x8, _os_page@GOTPAGE
Lloh1:
	ldr	x8, [x8, _os_page@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x20, _PAGE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PAGE@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.le	LBB0_3
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_malloc_write
Lloh7:
	adrp	x8, _opt_abort@GOTPAGE
Lloh8:
	ldr	x8, [x8, _opt_abort@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbnz	x8, LBB0_10
LBB0_2:
	mov	w0, #1
	b	LBB0_9
LBB0_3:
Lloh10:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _MAP_ANON@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAP_ANON@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _mmap_flags@GOTPAGE
Lloh17:
	ldr	x9, [x9, _mmap_flags@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
Lloh19:
	adrp	x8, _os_overcommits@GOTPAGE
Lloh20:
	ldr	x8, [x8, _os_overcommits@GOTPAGEOFF]
Lloh21:
	str	wzr, [x8]
	bl	_init_thp_state
Lloh22:
	adrp	x8, _pages_can_purge_lazy@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pages_can_purge_lazy@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.4:
	str	wzr, [sp, #12]
	ldr	x1, [x20]
	add	x3, sp, #12
	mov	x0, #0
	mov	x2, x1
	bl	_os_pages_map
	cbz	x0, LBB0_2
; %bb.5:
	mov	x19, x0
Lloh25:
	adrp	x21, _pages_can_purge_lazy_runtime@GOTPAGE
Lloh26:
	ldr	x21, [x21, _pages_can_purge_lazy_runtime@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_assert
	ldr	x1, [x20]
	mov	x0, x19
	bl	_pages_purge_lazy
	cbz	x0, LBB0_7
; %bb.6:
	str	wzr, [x21]
LBB0_7:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_os_pages_unmap
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
	bl	_abort
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_os_page,8,3                    ; @os_page
	.comm	_PAGE,8,3                       ; @PAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<jemalloc>: Unsupported system page size\n"

	.comm	_opt_abort,8,3                  ; @opt_abort
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_ANON,4,2                   ; @MAP_ANON
	.comm	_mmap_flags,4,2                 ; @mmap_flags
	.comm	_os_overcommits,4,2             ; @os_overcommits
	.comm	_pages_can_purge_lazy,8,3       ; @pages_can_purge_lazy
	.comm	_pages_can_purge_lazy_runtime,4,2 ; @pages_can_purge_lazy_runtime
	.comm	_MAP_NORESERVE,4,2              ; @MAP_NORESERVE
.subsections_via_symbols
