	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_tlb_kernel_range_common  ## -- Begin function flush_tlb_kernel_range_common
	.p2align	4, 0x90
_flush_tlb_kernel_range_common:         ## @flush_tlb_kernel_range_common
	.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
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	%rsi, %rdi
	jae	LBB0_8
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_pte_val
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_map_memory
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	(%rbx), %r12
	movq	%r12, %r15
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r12
	cmpq	%r13, %r15
	jae	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_init_mm@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_pgd_offset
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_pgd_present
	testl	%eax, %eax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_pud_offset
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_pud_present
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pmd_offset
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_pmd_present
	testl	%eax, %eax
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pte_offset_kernel
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_pte_present
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_pte_newpage
	testq	%rax, %rax
	je	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_os_unmap_memory
	testl	%eax, %eax
	jns	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	negl	%eax
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_pte_present
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PGDIR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ADD_ROUND
	movq	%rax, %r15
	cmpq	%r13, %rax
	cmovaeq	%r13, %r15
	movl	(%r14), %edi
	callq	_pgd_newpage
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PUD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ADD_ROUND
	movq	%rax, %r15
	cmpq	%r13, %rax
	cmovaeq	%r13, %r15
	movl	(%rbx), %edi
	callq	_pud_newpage
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	subq	%r12, %rsi
	movq	%r12, %rdi
	callq	_os_unmap_memory
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jns	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	negl	%eax
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
	jmp	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PMD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ADD_ROUND
	movq	%rax, %r15
	cmpq	%r13, %rax
	cmovaeq	%r13, %r15
	movl	(%rbx), %edi
	callq	_pmd_newpage
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	subq	%r12, %rsi
	movq	%r12, %rdi
	callq	_os_unmap_memory
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_pte_newprot
	testq	%rax, %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rbx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_os_protect_memory
	jmp	LBB0_25
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_mm,4,2                    ## @init_mm
	.comm	_PGDIR_SIZE,4,2                 ## @PGDIR_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"munmap failed, errno = %d\n"

	.comm	_PUD_SIZE,4,2                   ## @PUD_SIZE
	.comm	_PMD_SIZE,4,2                   ## @PMD_SIZE
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_tlb_kernel_range_common  ; -- Begin function flush_tlb_kernel_range_common
	.p2align	2
_flush_tlb_kernel_range_common:         ; @flush_tlb_kernel_range_common
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	x0, x1
	b.hs	LBB0_22
; %bb.1:
	mov	x19, x1
	mov	x22, x0
	mov	w23, #0
Lloh0:
	adrp	x20, _init_mm@GOTPAGE
Lloh1:
	ldr	x20, [x20, _init_mm@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PGDIR_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PGDIR_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x26, _PUD_SIZE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _PUD_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x28, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _PAGE_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x27
	cmp	x27, x19
	b.hs	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_pgd_offset
	mov	x24, x0
	ldr	w0, [x0]
	bl	_pgd_present
	cbz	w0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_pud_offset
	mov	x24, x0
	ldr	w0, [x0]
	bl	_pud_present
	cbz	w0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_pmd_offset
	mov	x24, x0
	ldr	w0, [x0]
	bl	_pmd_present
	cbz	w0, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_pte_offset_kernel
	mov	x24, x0
	ldr	w0, [x0]
	bl	_pte_present
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	bl	_pte_newpage
	cbz	x0, LBB0_19
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x28]
	mov	x0, x22
	bl	_os_unmap_memory
	tbz	w0, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	neg	w1, w0
	mov	x0, x21
	bl	_panic
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	bl	_pte_present
	cbz	x0, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	bl	_pte_val
Lloh10:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w1, w8, w0
	ldr	x2, [x28]
	mov	w23, #1
	mov	x0, x22
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	bl	_map_memory
	b	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x25]
	mov	x0, x22
	bl	_ADD_ROUND
	cmp	x0, x19
	csel	x27, x0, x19, lo
	ldr	w0, [x24]
	bl	_pgd_newpage
	cbnz	x0, LBB0_16
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	mov	x0, x22
	bl	_ADD_ROUND
	cmp	x0, x19
	csel	x27, x0, x19, lo
	ldr	w0, [x24]
	bl	_pud_newpage
	cbnz	x0, LBB0_16
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _PMD_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PMD_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_ADD_ROUND
	cmp	x0, x19
	csel	x27, x0, x19, lo
	ldr	w0, [x24]
	bl	_pmd_newpage
	cbz	x0, LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x1, x27, x22
	mov	x0, x22
	bl	_os_unmap_memory
	tbz	w0, #31, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	neg	w1, w0
	mov	x0, x21
	bl	_panic
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	bl	_pte_newprot
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x28]
	mov	w23, #1
	mov	x0, x22
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1
	bl	_os_protect_memory
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	add	x27, x8, x22
	b	LBB0_3
LBB0_22:
	mov	w23, #0
LBB0_23:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_init_mm,4,2                    ; @init_mm
	.comm	_PGDIR_SIZE,4,2                 ; @PGDIR_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"munmap failed, errno = %d\n"

	.comm	_PUD_SIZE,4,2                   ; @PUD_SIZE
	.comm	_PMD_SIZE,4,2                   ; @PMD_SIZE
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
.subsections_via_symbols
