	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_pagetable
_dump_pagetable:                        ## @dump_pagetable
	.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	%rdi, %r12
	xorl	%eax, %eax
	callq	_read_cr3
	movq	_PHYSICAL_PAGE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	___va
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_pgd_index
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movq	%rbx, %rdi
	callq	_bad_address
	leaq	L_.str.5(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movl	(%rbx), %edi
	callq	_pgd_val
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %edi
	callq	_pgd_present
	leaq	L_.str.4(%rip), %r13
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pud_offset
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_bad_address
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movl	(%r15), %edi
	callq	_pud_val
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
	movl	(%r15), %edi
	callq	_pud_present
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movl	(%r15), %edi
	callq	_pud_large
	testq	%rax, %rax
	je	LBB0_5
LBB0_10:
	movq	%r13, %r14
LBB0_11:
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pmd_offset
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_bad_address
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movl	(%r15), %edi
	callq	_pmd_val
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
	movl	(%r15), %edi
	callq	_pmd_present
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	(%r15), %edi
	callq	_pmd_large
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pte_offset_kernel
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_bad_address
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movl	(%rbx), %edi
	callq	_pte_val
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYSICAL_PAGE_MASK,4,2         ## @PHYSICAL_PAGE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGD %lx "

L_.str.1:                               ## @.str.1
	.asciz	"PUD %lx "

L_.str.2:                               ## @.str.2
	.asciz	"PMD %lx "

L_.str.3:                               ## @.str.3
	.asciz	"PTE %lx"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

L_.str.5:                               ## @.str.5
	.asciz	"BAD\n"

	.no_dead_strip	_dump_pagetable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_pagetable
_dump_pagetable:                        ; @dump_pagetable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_read_cr3
Lloh0:
	adrp	x8, _PHYSICAL_PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHYSICAL_PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	___va
	mov	x20, x0
	mov	x0, x19
	bl	_pgd_index
	add	x20, x20, w0, sxtw #2
	mov	x0, x20
	bl	_bad_address
	cbz	x0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x0, l_.str.5@PAGE
Lloh4:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_2:
	ldr	w0, [x20]
	bl	_pgd_val
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	ldr	w0, [x20]
	bl	_pgd_present
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_pud_offset
	mov	x20, x0
	bl	_bad_address
	cbnz	x0, LBB0_1
; %bb.4:
	ldr	w0, [x20]
	bl	_pud_val
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	w0, [x20]
	bl	_pud_present
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_pud_large
	cbz	x0, LBB0_8
LBB0_6:
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_printk
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_pmd_offset
	mov	x20, x0
	bl	_bad_address
	cbnz	x0, LBB0_1
; %bb.9:
	ldr	w0, [x20]
	bl	_pmd_val
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	ldr	w0, [x20]
	bl	_pmd_present
	cbz	w0, LBB0_6
; %bb.10:
	ldr	w0, [x20]
	bl	_pmd_large
	cbnz	x0, LBB0_6
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_pte_offset_kernel
	mov	x19, x0
	bl	_bad_address
	cbnz	x0, LBB0_1
; %bb.12:
	ldr	w0, [x19]
	bl	_pte_val
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYSICAL_PAGE_MASK,4,2         ; @PHYSICAL_PAGE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGD %lx "

l_.str.1:                               ; @.str.1
	.asciz	"PUD %lx "

l_.str.2:                               ; @.str.2
	.asciz	"PMD %lx "

l_.str.3:                               ; @.str.3
	.asciz	"PTE %lx"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

l_.str.5:                               ; @.str.5
	.asciz	"BAD\n"

	.no_dead_strip	_dump_pagetable
.subsections_via_symbols
