	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pages_map                      ## -- Begin function pages_map
	.p2align	4, 0x90
_pages_map:                             ## @pages_map
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_PAGE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rdx, (%rax)
	setbe	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ALIGNMENT_ADDR2BASE
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	callq	_assert
	movq	_os_page@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_os_pages_map
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	%rbx, %r13
	je	LBB0_4
## %bb.2:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_assert
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ALIGNMENT_ADDR2OFFSET
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_os_pages_unmap
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pages_map_slow                 ## TAILCALL
LBB0_3:
	movq	%r13, %rdi
	callq	_PAGE_ADDR2BASE
	xorl	%edi, %edi
	cmpq	%r13, %rax
	sete	%dil
	callq	_assert
LBB0_4:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE,8,3                       ## @PAGE
	.comm	_os_page,4,2                    ## @os_page
	.comm	_MAP_EXCL,4,2                   ## @MAP_EXCL
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	_MAP_FIXED,4,2                  ## @MAP_FIXED
	.comm	_PAGES_PROT_COMMIT,4,2          ## @PAGES_PROT_COMMIT
	.comm	_PAGES_PROT_DECOMMIT,4,2        ## @PAGES_PROT_DECOMMIT
	.comm	_mmap_flags,4,2                 ## @mmap_flags
	.comm	_os_overcommits,8,3             ## @os_overcommits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pages_map                      ; -- Begin function pages_map
	.p2align	2
_pages_map:                             ; @pages_map
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	cset	w0, ls
	bl	_assert
	mov	x0, x22
	mov	x1, x20
	bl	_ALIGNMENT_ADDR2BASE
	cmp	x0, x22
	cset	w0, eq
	bl	_assert
Lloh3:
	adrp	x8, _os_page@GOTPAGE
Lloh4:
	ldr	x8, [x8, _os_page@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_os_pages_map
	mov	x23, x0
	cmp	x0, #0
	ccmp	x0, x22, #4, ne
	b.eq	LBB0_4
; %bb.1:
	cmp	x22, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x23
	mov	x1, x20
	bl	_ALIGNMENT_ADDR2OFFSET
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, x21
	bl	_os_pages_unmap
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pages_map_slow
LBB0_3:
	mov	x0, x23
	bl	_PAGE_ADDR2BASE
	cmp	x0, x23
	cset	w0, eq
	bl	_assert
LBB0_4:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE,8,3                       ; @PAGE
	.comm	_os_page,4,2                    ; @os_page
	.comm	_MAP_EXCL,4,2                   ; @MAP_EXCL
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	_MAP_FIXED,4,2                  ; @MAP_FIXED
	.comm	_PAGES_PROT_COMMIT,4,2          ; @PAGES_PROT_COMMIT
	.comm	_PAGES_PROT_DECOMMIT,4,2        ; @PAGES_PROT_DECOMMIT
	.comm	_mmap_flags,4,2                 ; @mmap_flags
	.comm	_os_overcommits,8,3             ; @os_overcommits
.subsections_via_symbols
