	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_mm_track_pmd                ## -- Begin function do_mm_track_pmd
	.p2align	4, 0x90
_do_mm_track_pmd:                       ## @do_mm_track_pmd
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_pmd_present
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %edi
	callq	_pmd_large
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	(%rbx), %edi
	callq	_pte_val
	movq	__PAGE_DIRTY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movl	(%rbx), %edi
	callq	_pte_pfn
	movq	%rax, %rbx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rbx
	movq	_LARGE_PMD_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	%rbx, %r14
	cmpq	%r14, %rbx
	jae	LBB0_9
## %bb.4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_do_mm_track_phys
	addq	(%r15), %rbx
	cmpq	%r14, %rbx
	jb	LBB0_5
	jmp	LBB0_9
LBB0_6:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pte_offset_kernel
	movq	_PTRS_PER_PTE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_do_mm_track_pte
	incl	%r14d
	addq	$4, %rbx
	cmpl	(%r15), %r14d
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PAGE_DIRTY,4,2                ## @_PAGE_DIRTY
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_LARGE_PMD_SIZE,8,3             ## @LARGE_PMD_SIZE
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_PTRS_PER_PTE,4,2               ## @PTRS_PER_PTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_mm_track_pmd                ; -- Begin function do_mm_track_pmd
	.p2align	2
_do_mm_track_pmd:                       ; @do_mm_track_pmd
	.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	x19, x0
	ldr	w0, [x0]
	bl	_pmd_present
	cbz	w0, LBB0_9
; %bb.1:
	ldr	w0, [x19]
	bl	_pmd_large
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19]
	bl	_pte_val
Lloh0:
	adrp	x8, __PAGE_DIRTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PAGE_DIRTY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.3:
	ldr	w0, [x19]
	bl	_pte_pfn
Lloh3:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsl	x19, x0, x8
Lloh6:
	adrp	x8, _LARGE_PMD_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LARGE_PMD_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x20, x19, x8
	cmp	x19, x20
	b.hs	LBB0_9
; %bb.4:
Lloh9:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_do_mm_track_phys
	ldr	x8, [x21]
	add	x19, x8, x19
	cmp	x19, x20
	b.lo	LBB0_5
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_pte_offset_kernel
Lloh11:
	adrp	x20, _PTRS_PER_PTE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _PTRS_PER_PTE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x19, x0
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_do_mm_track_pte
	add	w21, w21, #1
	add	x19, x19, #4
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	__PAGE_DIRTY,4,2                ; @_PAGE_DIRTY
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_LARGE_PMD_SIZE,8,3             ; @LARGE_PMD_SIZE
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_PTRS_PER_PTE,4,2               ; @PTRS_PER_PTE
.subsections_via_symbols
