	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gru_unload_mm_tracker
_gru_unload_mm_tracker:                 ## @gru_unload_mm_tracker
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	8(%rsi), %rbx
	movq	16(%rbx), %r12
	movq	(%rdi), %r14
	movl	(%rsi), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %r15d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	movq	%rbx, %rdi
	callq	_spin_lock
	leaq	8(%r13), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movzwl	(%r12,%r14,2), %eax
	xorl	$65535, %eax                    ## imm = 0xFFFF
	xorl	%edi, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	btl	%ecx, %eax
	setb	%dil
	callq	_BUG_ON
	xorw	%r15w, (%r12,%r14,2)
	movq	_grudev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r9d
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %r8
	callq	_gru_dbg
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_grudev,4,2                     ## @grudev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gid %d, gts %p, gms %p, ctxnum %d, asidmap 0x%lx\n"

	.no_dead_strip	_gru_unload_mm_tracker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gru_unload_mm_tracker
_gru_unload_mm_tracker:                 ; @gru_unload_mm_tracker
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	ldr	x23, [x21, #16]
	ldr	x24, [x0]
	ldr	w25, [x1]
	mov	w8, #1
	lsl	w26, w8, w25
	mov	x0, x21
	bl	_spin_lock
	add	x22, x20, #8
	mov	x0, x22
	bl	_spin_lock
	lsl	x24, x24, #1
	ldrh	w8, [x23, x24]
	eor	w8, w8, #0xffff
	lsr	w8, w8, w25
	and	w0, w8, #0x1
	bl	_BUG_ON
	ldrh	w8, [x23, x24]
	eor	w8, w8, w26
	strh	w8, [x23, x24]
Lloh0:
	adrp	x8, _grudev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _grudev@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x20]
	ldr	w5, [x19]
	ldr	x8, [x21, #8]
	ldr	w6, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	mov	x4, x21
	bl	_gru_dbg
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock
	.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, gts %p, gms %p, ctxnum %d, asidmap 0x%lx\n"

	.no_dead_strip	_gru_unload_mm_tracker
.subsections_via_symbols
