	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_invltlb_invpcid_pti_handler    ## -- Begin function invltlb_invpcid_pti_handler
	.p2align	4, 0x90
_invltlb_invpcid_pti_handler:           ## @invltlb_invpcid_pti_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), %r14d
	movq	_smp_tlb_pmap@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %rbx
	movq	_cpuid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	(%r15), %rax
	movq	_kernel_pmap@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	_INVPCID_CTX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_invpcid
	movq	_PMAP_PCID_USER_PT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	jmp	LBB0_3
LBB0_1:
	movq	_INVPCID_CTXGLOB@GOTPCREL(%rip), %rbx
LBB0_3:
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_invpcid
	movq	_smp_tlb_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %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_pmap,8,3               ## @smp_tlb_pmap
	.comm	_cpuid,4,2                      ## @cpuid
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.comm	_INVPCID_CTXGLOB,4,2            ## @INVPCID_CTXGLOB
	.comm	_INVPCID_CTX,4,2                ## @INVPCID_CTX
	.comm	_PMAP_PCID_USER_PT,4,2          ## @PMAP_PCID_USER_PT
	.comm	_smp_tlb_done,4,2               ## @smp_tlb_done
	.comm	_ipi_invltlb_counts,8,3         ## @ipi_invltlb_counts
	.comm	_xhits_gbl,8,3                  ## @xhits_gbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_invltlb_invpcid_pti_handler    ; -- Begin function invltlb_invpcid_pti_handler
	.p2align	2
_invltlb_invpcid_pti_handler:           ; @invltlb_invpcid_pti_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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:
	adrp	x20, _smp_tlb_pmap@GOTPAGE
Lloh3:
	ldr	x20, [x20, _smp_tlb_pmap@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	ldr	x8, [x20]
	ldr	x21, [x8]
Lloh5:
	adrp	x8, _cpuid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cpuid@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_PCPU_GET
	ldr	w8, [x21, x0, lsl #2]
	str	w8, [sp, #8]
	stp	xzr, xzr, [sp, #16]
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _kernel_pmap@GOTPAGE
Lloh9:
	ldr	x9, [x9, _kernel_pmap@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x20, _INVPCID_CTX@GOTPAGE
Lloh12:
	ldr	x20, [x20, _INVPCID_CTX@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_invpcid
Lloh13:
	adrp	x8, _PMAP_PCID_USER_PT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PMAP_PCID_USER_PT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x20, _INVPCID_CTXGLOB@GOTPAGE
Lloh17:
	ldr	x20, [x20, _INVPCID_CTXGLOB@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_invpcid
Lloh18:
	adrp	x8, _smp_tlb_done@GOTPAGE
Lloh19:
	ldr	x8, [x8, _smp_tlb_done@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_PCPU_SET
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_smp_tlb_generation,4,2         ; @smp_tlb_generation
	.comm	_smp_tlb_pmap,8,3               ; @smp_tlb_pmap
	.comm	_cpuid,4,2                      ; @cpuid
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.comm	_INVPCID_CTXGLOB,4,2            ; @INVPCID_CTXGLOB
	.comm	_INVPCID_CTX,4,2                ; @INVPCID_CTX
	.comm	_PMAP_PCID_USER_PT,4,2          ; @PMAP_PCID_USER_PT
	.comm	_smp_tlb_done,4,2               ; @smp_tlb_done
	.comm	_ipi_invltlb_counts,8,3         ; @ipi_invltlb_counts
	.comm	_xhits_gbl,8,3                  ; @xhits_gbl
.subsections_via_symbols
