	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcache_exit
_bcache_exit:                           ## @bcache_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_bch_debug_exit
	xorl	%eax, %eax
	callq	_bch_request_exit
	movq	_bcache_kobj@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_kobject_put
LBB0_2:
	movq	_bcache_wq@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_destroy_workqueue
LBB0_4:
	movq	_bch_journal_wq@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_destroy_workqueue
LBB0_6:
	movq	_bcache_major@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	callq	_unregister_blkdev
LBB0_8:
	movq	_reboot@GOTPCREL(%rip), %rdi
	callq	_unregister_reboot_notifier
	movq	_bch_register_lock@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_mutex_destroy                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bcache_kobj,8,3                ## @bcache_kobj
	.comm	_bcache_wq,8,3                  ## @bcache_wq
	.comm	_bch_journal_wq,8,3             ## @bch_journal_wq
	.comm	_bcache_major,8,3               ## @bcache_major
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bcache"

	.comm	_reboot,4,2                     ## @reboot
	.comm	_bch_register_lock,4,2          ## @bch_register_lock
	.no_dead_strip	_bcache_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcache_exit
_bcache_exit:                           ; @bcache_exit
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_bch_debug_exit
	bl	_bch_request_exit
Lloh0:
	adrp	x8, _bcache_kobj@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bcache_kobj@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_kobject_put
LBB0_2:
Lloh3:
	adrp	x8, _bcache_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bcache_wq@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_destroy_workqueue
LBB0_4:
Lloh6:
	adrp	x8, _bch_journal_wq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bch_journal_wq@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_destroy_workqueue
LBB0_6:
Lloh9:
	adrp	x8, _bcache_major@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bcache_major@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cbz	x0, LBB0_8
; %bb.7:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_unregister_blkdev
LBB0_8:
Lloh14:
	adrp	x0, _reboot@GOTPAGE
Lloh15:
	ldr	x0, [x0, _reboot@GOTPAGEOFF]
	bl	_unregister_reboot_notifier
Lloh16:
	adrp	x0, _bch_register_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _bch_register_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mutex_destroy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_bcache_kobj,8,3                ; @bcache_kobj
	.comm	_bcache_wq,8,3                  ; @bcache_wq
	.comm	_bch_journal_wq,8,3             ; @bch_journal_wq
	.comm	_bcache_major,8,3               ; @bcache_major
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bcache"

	.comm	_reboot,4,2                     ; @reboot
	.comm	_bch_register_lock,4,2          ; @bch_register_lock
	.no_dead_strip	_bcache_exit
.subsections_via_symbols
