	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_invlpg_invpcid_handler         ## -- Begin function invlpg_invpcid_handler
	.p2align	4, 0x90
_invlpg_invpcid_handler:                ## @invlpg_invpcid_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_smp_tlb_generation@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_smp_tlb_addr1@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_invlpg
	movq	_smp_tlb_pmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_PMAP_NO_CR3@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	8(%rax), %r15
	movq	_cpuid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movq	_PMAP_PCID_USER_PT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r15,%rax,4), %ecx
	movl	%ecx, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	(%r14), %eax
	movl	%eax, -36(%rbp)
	movq	_INVPCID_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	_invpcid
LBB0_2:
	movq	_smp_tlb_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_PCPU_SET
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smp_tlb_generation,4,2         ## @smp_tlb_generation
	.comm	_smp_tlb_addr1,4,2              ## @smp_tlb_addr1
	.comm	_smp_tlb_pmap,8,3               ## @smp_tlb_pmap
	.comm	_PMAP_NO_CR3,8,3                ## @PMAP_NO_CR3
	.comm	_cpuid,4,2                      ## @cpuid
	.comm	_PMAP_PCID_USER_PT,4,2          ## @PMAP_PCID_USER_PT
	.comm	_INVPCID_ADDR,4,2               ## @INVPCID_ADDR
	.comm	_smp_tlb_done,4,2               ## @smp_tlb_done
	.comm	_ipi_invlpg_counts,8,3          ## @ipi_invlpg_counts
	.comm	_xhits_pg,8,3                   ## @xhits_pg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_invlpg_invpcid_handler         ; -- Begin function invlpg_invpcid_handler
	.p2align	2
_invlpg_invpcid_handler:                ; @invlpg_invpcid_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _smp_tlb_generation@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smp_tlb_generation@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x20, _smp_tlb_addr1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _smp_tlb_addr1@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_invlpg
Lloh5:
	adrp	x8, _smp_tlb_pmap@GOTPAGE
Lloh6:
	ldr	x8, [x8, _smp_tlb_pmap@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _PMAP_NO_CR3@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PMAP_NO_CR3@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.1:
	ldr	x21, [x8, #8]
Lloh11:
	adrp	x8, _cpuid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cpuid@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_PCPU_GET
	ldr	w8, [x21, x0, lsl #2]
Lloh14:
	adrp	x9, _PMAP_PCID_USER_PT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PMAP_PCID_USER_PT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	xzr, [sp, #8]
	ldr	w9, [x20]
	stp	w8, w9, [sp]
Lloh17:
	adrp	x8, _INVPCID_ADDR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INVPCID_ADDR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_invpcid
LBB0_2:
Lloh20:
	adrp	x8, _smp_tlb_done@GOTPAGE
Lloh21:
	ldr	x8, [x8, _smp_tlb_done@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_PCPU_SET
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_smp_tlb_generation,4,2         ; @smp_tlb_generation
	.comm	_smp_tlb_addr1,4,2              ; @smp_tlb_addr1
	.comm	_smp_tlb_pmap,8,3               ; @smp_tlb_pmap
	.comm	_PMAP_NO_CR3,8,3                ; @PMAP_NO_CR3
	.comm	_cpuid,4,2                      ; @cpuid
	.comm	_PMAP_PCID_USER_PT,4,2          ; @PMAP_PCID_USER_PT
	.comm	_INVPCID_ADDR,4,2               ; @INVPCID_ADDR
	.comm	_smp_tlb_done,4,2               ; @smp_tlb_done
	.comm	_ipi_invlpg_counts,8,3          ; @ipi_invlpg_counts
	.comm	_xhits_pg,8,3                   ; @xhits_pg
.subsections_via_symbols
