	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gru_flush_all_tlb              ## -- Begin function gru_flush_all_tlb
	.p2align	4, 0x90
_gru_flush_all_tlb:                     ## @gru_flush_all_tlb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_grudev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_gru_dbg
	movq	%rbx, %rdi
	callq	_get_lock_tgh_handle
	movq	%rax, %rbx
	movq	_GRUMAXINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$65535                          ## imm = 0xFFFF
	pushq	%rax
	callq	_tgh_invalidate
	addq	$16, %rsp
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_get_unlock_tgh_handle          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_grudev,4,2                     ## @grudev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gid %d\n"

	.comm	_GRUMAXINVAL,8,3                ## @GRUMAXINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gru_flush_all_tlb              ; -- Begin function gru_flush_all_tlb
	.p2align	2
_gru_flush_all_tlb:                     ; @gru_flush_all_tlb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _grudev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _grudev@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gru_dbg
	mov	x0, x19
	bl	_get_lock_tgh_handle
	mov	x19, x0
Lloh5:
	adrp	x8, _GRUMAXINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRUMAXINVAL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	x6, x8, #1
	mov	w1, #0
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w7, #65535
	bl	_tgh_invalidate
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_get_unlock_tgh_handle
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_grudev,4,2                     ; @grudev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gid %d\n"

	.comm	_GRUMAXINVAL,8,3                ; @GRUMAXINVAL
.subsections_via_symbols
