	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_table                      ## -- Begin function map_table
	.p2align	4, 0x90
_map_table:                             ## @map_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r8
	movq	%rsi, %rcx
                                        ## kill: def $cl killed $cl killed $rcx
	shrq	%cl, %rdx
	movq	_PTRS_PER_TABLE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	decq	%rbx
	andq	%rdx, %rbx
	movq	(%rdi,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$0, (%r8)
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	jmp	LBB0_3
LBB0_1:
	movq	%rdi, %r14
	movl	$1, (%r8)
	xorl	%eax, %eax
	callq	_get_free_page
	movq	_MM_TYPE_PAGE_TABLE@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	orq	(%rcx), %rdx
	movq	%rdx, (%r14,%rbx,8)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRS_PER_TABLE,4,2             ## @PTRS_PER_TABLE
	.comm	_MM_TYPE_PAGE_TABLE,8,3         ## @MM_TYPE_PAGE_TABLE
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_table                      ; -- Begin function map_table
	.p2align	2
_map_table:                             ; @map_table
	.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
Lloh0:
	adrp	x8, _PTRS_PER_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTRS_PER_TABLE@GOTPAGEOFF]
	lsr	x9, x2, x1
Lloh2:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	and	x20, x9, x8
	ldr	x8, [x0, x20, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	str	wzr, [x3]
Lloh3:
	adrp	x9, _PAGE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x0, x9, x8
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x3]
	bl	_get_free_page
Lloh6:
	adrp	x8, _MM_TYPE_PAGE_TABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MM_TYPE_PAGE_TABLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	orr	x8, x8, x0
	str	x8, [x19, x20, lsl #3]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRS_PER_TABLE,4,2             ; @PTRS_PER_TABLE
	.comm	_MM_TYPE_PAGE_TABLE,8,3         ; @MM_TYPE_PAGE_TABLE
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
.subsections_via_symbols
