	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_get_tables                ## -- Begin function pmap_get_tables
	.p2align	4, 0x90
_pmap_get_tables:                       ## @pmap_get_tables
	.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	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %r15d
	callq	_pmap_l1
	movq	%rax, (%r13)
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_pmap_load
	movq	_PTE_V@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_pmap_load
	movq	_PTE_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	$0, (%r12)
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pmap_l1_to_l2
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pmap_load
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.9:
	movq	%rbx, %rdi
	callq	_pmap_load
	movq	_PTE_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.11:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pmap_l2_to_l3
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PTE_V,4,2                      ## @PTE_V
	.comm	_PTE_RX,4,2                     ## @PTE_RX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_get_tables                ; -- Begin function pmap_get_tables
	.p2align	2
_pmap_get_tables:                       ; @pmap_get_tables
	.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, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	bl	_pmap_l1
	str	x0, [x23]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x22, x0
	bl	_pmap_load
Lloh0:
	adrp	x23, _PTE_V@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PTE_V@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.2:
	mov	x0, x22
	bl	_pmap_load
Lloh2:
	adrp	x24, _PTE_RX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PTE_RX@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
	mov	x0, #0
	str	xzr, [x21]
LBB0_4:
	str	x0, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_5:
	mov	x0, x22
	mov	x1, x20
	bl	_pmap_l1_to_l2
	str	x0, [x21]
	cbz	x0, LBB0_10
; %bb.6:
	mov	x22, x0
	bl	_pmap_load
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x22
	bl	_pmap_load
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.8:
	mov	x0, #0
	b	LBB0_4
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
LBB0_11:
	mov	x0, x22
	mov	x1, x20
	bl	_pmap_l2_to_l3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PTE_V,4,2                      ; @PTE_V
	.comm	_PTE_RX,4,2                     ; @PTE_RX
.subsections_via_symbols
