	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recent_mt_destroy
_recent_mt_destroy:                     ## @recent_mt_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	_recent_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movl	(%rbx), %edi
	callq	_recent_table_lookup
	decq	(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_recent_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_list_del
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_recent_table_flush
	movq	%rbx, %rdi
	callq	_kfree
LBB0_2:
	movq	_recent_mutex@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_recent_mutex,4,2               ## @recent_mutex
	.comm	_recent_lock,4,2                ## @recent_lock
	.comm	_proc_old_dir,4,2               ## @proc_old_dir
	.comm	_recent_proc_dir,4,2            ## @recent_proc_dir
	.no_dead_strip	_recent_mt_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recent_mt_destroy
_recent_mt_destroy:                     ; @recent_mt_destroy
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x0, _recent_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _recent_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	w0, [x19]
	bl	_recent_table_lookup
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x20, _recent_lock@GOTPAGE
Lloh3:
	ldr	x20, [x20, _recent_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
	add	x0, x19, #12
	bl	_list_del
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_recent_table_flush
	mov	x0, x19
	bl	_kfree
LBB0_2:
Lloh4:
	adrp	x0, _recent_mutex@GOTPAGE
Lloh5:
	ldr	x0, [x0, _recent_mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_recent_mutex,4,2               ; @recent_mutex
	.comm	_recent_lock,4,2                ; @recent_lock
	.comm	_proc_old_dir,4,2               ; @proc_old_dir
	.comm	_recent_proc_dir,4,2            ; @recent_proc_dir
	.no_dead_strip	_recent_mt_destroy
.subsections_via_symbols
