	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_tsb_user                 ## -- Begin function flush_tsb_user
	.p2align	4, 0x90
_flush_tsb_user:                        ## @flush_tsb_user
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rax
	movq	_MM_TSB_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %r15
	movq	8(%rax,%rcx), %rdx
	movq	_tlb_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_cheetah_plus@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_hypervisor@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	%rdx, %rdi
	callq	___pa
	movq	%rax, %rdx
LBB0_3:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	___flush_tsb_one
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MM_TSB_BASE,8,3                ## @MM_TSB_BASE
	.comm	_tlb_type,8,3                   ## @tlb_type
	.comm	_cheetah_plus,8,3               ## @cheetah_plus
	.comm	_hypervisor,8,3                 ## @hypervisor
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_HPAGE_SHIFT,4,2                ## @HPAGE_SHIFT
	.comm	_MM_TSB_HUGE,8,3                ## @MM_TSB_HUGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_tsb_user                 ; -- Begin function flush_tsb_user
	.p2align	2
_flush_tsb_user:                        ; @flush_tsb_user
	.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, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _MM_TSB_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MM_TSB_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #4
	ldp	x21, x2, [x8]
Lloh3:
	adrp	x8, _tlb_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tlb_type@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _cheetah_plus@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cheetah_plus@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _hypervisor@GOTPAGE
Lloh10:
	ldr	x10, [x10, _hypervisor@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x2
	bl	___pa
	mov	x2, x0
LBB0_2:
Lloh12:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x3, x21
	bl	___flush_tsb_one
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MM_TSB_BASE,8,3                ; @MM_TSB_BASE
	.comm	_tlb_type,8,3                   ; @tlb_type
	.comm	_cheetah_plus,8,3               ; @cheetah_plus
	.comm	_hypervisor,8,3                 ; @hypervisor
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_HPAGE_SHIFT,4,2                ; @HPAGE_SHIFT
	.comm	_MM_TSB_HUGE,8,3                ; @MM_TSB_HUGE
.subsections_via_symbols
