	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_dev
_free_dev:                              ## @free_dev
	.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	8(%rdi), %rdi
	callq	_disk_devt
	movl	%eax, %edi
	callq	_MINOR
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_unlock_fs
	movl	44(%rbx), %edi
	callq	_bdput
	movl	40(%rbx), %edi
	callq	_destroy_workqueue
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_mempool_destroy
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_mempool_destroy
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_bioset_free
LBB0_6:
	movq	8(%rbx), %rdi
	callq	_blk_integrity_unregister
	movq	8(%rbx), %rdi
	callq	_del_gendisk
	movl	%r14d, %edi
	callq	_free_minor
	movq	__minor_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	8(%rbx), %rdi
	callq	_put_disk
	movl	(%rbx), %edi
	callq	_blk_cleanup_queue
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_module_put
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__minor_lock,4,2                ## @_minor_lock
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_free_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_dev
_free_dev:                              ; @free_dev
	.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
	ldr	x0, [x0, #8]
	bl	_disk_devt
	bl	_MINOR
	mov	x20, x0
	mov	x0, x19
	bl	_unlock_fs
	ldr	w0, [x19, #44]
	bl	_bdput
	ldr	w0, [x19, #40]
	bl	_destroy_workqueue
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mempool_destroy
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_mempool_destroy
LBB0_4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_bioset_free
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_blk_integrity_unregister
	ldr	x0, [x19, #8]
	bl	_del_gendisk
	mov	x0, x20
	bl	_free_minor
Lloh0:
	adrp	x20, __minor_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, __minor_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	mov	x0, x20
	bl	_spin_unlock
	ldr	x0, [x19, #8]
	bl	_put_disk
	ldr	w0, [x19]
	bl	_blk_cleanup_queue
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_module_put
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__minor_lock,4,2                ; @_minor_lock
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_free_dev
.subsections_via_symbols
