	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_change_pte1
_pmap_change_pte1:                      ## @pmap_change_pte1
	.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	%ecx, %r12d
	movl	%edx, %r14d
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_allpmaps_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mtx_lock_spin
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_pmap_update_pte1_kernel
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtx_unlock_spin                ## TAILCALL
LBB0_2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_PSR_I@GOTPCREL(%rip), %rax
	movq	_PSR_F@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_disable_interrupts
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_pte1_clear
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_pmap_tlb_flush_pte1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_pte1_store
	movl	%r13d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_restore_interrupts             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.comm	_allpmaps_lock,4,2              ## @allpmaps_lock
	.comm	_PSR_I,4,2                      ## @PSR_I
	.comm	_PSR_F,4,2                      ## @PSR_F
	.no_dead_strip	_pmap_change_pte1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_change_pte1
_pmap_change_pte1:                      ; @pmap_change_pte1
	.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, x3
	mov	x20, x2
Lloh0:
	adrp	x8, _kernel_pmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _allpmaps_lock@GOTPAGE
Lloh4:
	ldr	x21, [x21, _allpmaps_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_mtx_lock_spin
	mov	x0, x20
	mov	x1, x19
	bl	_pmap_update_pte1_kernel
	mov	x0, x21
	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
	b	_mtx_unlock_spin
LBB0_2:
	mov	x21, x1
	mov	x22, x0
Lloh5:
	adrp	x8, _PSR_I@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PSR_I@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _PSR_F@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PSR_F@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_disable_interrupts
	mov	x23, x0
	mov	x0, x21
	bl	_pte1_clear
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_pmap_tlb_flush_pte1
	mov	x0, x21
	mov	x1, x19
	bl	_pte1_store
	mov	x0, x23
	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
	b	_restore_interrupts
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.comm	_allpmaps_lock,4,2              ; @allpmaps_lock
	.comm	_PSR_I,4,2                      ; @PSR_I
	.comm	_PSR_F,4,2                      ; @PSR_F
	.no_dead_strip	_pmap_change_pte1
.subsections_via_symbols
