	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_pte_vaddr                  ## -- Begin function set_pte_vaddr
	.p2align	4, 0x90
_set_pte_vaddr:                         ## @set_pte_vaddr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_swapper_pg_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_pgd_index
	movslq	%eax, %rbx
	movl	(%r15,%rbx,4), %edi
	callq	_pgd_none
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	leaq	(%r15,%rbx,4), %rdi
	movq	%r12, %rsi
	callq	_pud_offset
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_pud_none
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pmd_offset
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_pmd_none
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pte_offset_kernel
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_pte_val
	movq	_init_mm@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r14d, %ecx
	callq	_set_pte_at
	jmp	LBB0_6
LBB0_5:
	callq	_pte_clear
LBB0_6:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___flush_tlb_one                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_swapper_pg_dir,8,3             ## @swapper_pg_dir
	.comm	_init_mm,4,2                    ## @init_mm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_pte_vaddr                  ; -- Begin function set_pte_vaddr
	.p2align	2
_set_pte_vaddr:                         ; @set_pte_vaddr
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _swapper_pg_dir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _swapper_pg_dir@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	bl	_pgd_index
	add	x21, x21, w0, sxtw #2
	ldr	w0, [x21]
	bl	_pgd_none
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_pud_offset
	mov	x21, x0
	ldr	w0, [x0]
	bl	_pud_none
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	bl	_pmd_offset
	mov	x21, x0
	ldr	w0, [x0]
	bl	_pmd_none
	cbz	x0, LBB0_4
LBB0_3:
	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
	b	_BUG
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_pte_offset_kernel
	mov	x21, x0
	mov	x0, x20
	bl	_pte_val
	cbz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x0, _init_mm@GOTPAGE
Lloh4:
	ldr	x0, [x0, _init_mm@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_set_pte_at
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x0, _init_mm@GOTPAGE
Lloh6:
	ldr	x0, [x0, _init_mm@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x21
	bl	_pte_clear
LBB0_7:
	mov	x0, x19
	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
	b	___flush_tlb_one
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_swapper_pg_dir,8,3             ; @swapper_pg_dir
	.comm	_init_mm,4,2                    ; @init_mm
.subsections_via_symbols
