	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_blkdev              ## -- Begin function unregister_blkdev
	.p2align	4, 0x90
_unregister_blkdev:                     ## @unregister_blkdev
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	callq	_major_to_index
	movl	%eax, %r15d
	movq	_block_class_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_major_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%r15d, %rdx
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.2:
	leaq	(%rcx,%rdx,8), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.5:
	addq	$8, %rbx
LBB0_6:
	movl	16(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movl	$1, %edi
	callq	_WARN_ON
	xorl	%r14d, %r14d
LBB0_9:
	movq	_block_class_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_8:
	movq	(%rbx), %r14
	movq	8(%r14), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_block_class_lock,4,2           ## @block_class_lock
	.comm	_major_names,8,3                ## @major_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_blkdev              ; -- Begin function unregister_blkdev
	.p2align	2
_unregister_blkdev:                     ; @unregister_blkdev
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_major_to_index
	mov	x21, x0
Lloh0:
	adrp	x0, _block_class_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _block_class_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x8, _major_names@GOTPAGE
Lloh3:
	ldr	x8, [x8, _major_names@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x21, x8, w21, sxtw #3
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, w20
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x8]
	cmp	w10, w20
	b.ne	LBB0_2
; %bb.4:
	add	x21, x9, #8
LBB0_5:
	ldr	w0, [x8, #16]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #1
	bl	_WARN_ON
	mov	x19, #0
LBB0_7:
Lloh5:
	adrp	x0, _block_class_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _block_class_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_8:
	ldr	x19, [x21]
	ldr	x8, [x19, #8]
	str	x8, [x21]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_block_class_lock,4,2           ; @block_class_lock
	.comm	_major_names,8,3                ; @major_names
.subsections_via_symbols
