	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_get_md                      ## -- Begin function dm_get_md
	.p2align	4, 0x90
_dm_get_md:                             ## @dm_get_md
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	callq	_MINOR
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_MAJOR
	movq	__major@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_MINORBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r15d, %eax
	shrl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	__minor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	movl	%r15d, %esi
	callq	_idr_find
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %r14
	movq	_MINOR_ALLOCED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	callq	_dm_disk
	movl	%eax, %edi
	callq	_disk_devt
	movl	%eax, %edi
	callq	_MINOR
	cmpl	%r15d, %eax
	jne	LBB0_9
## %bb.7:
	movq	_DMF_FREEING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_9
## %bb.12:
	movq	%r14, %rdi
	callq	_dm_deleting_md
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	__minor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	jmp	LBB0_11
LBB0_14:
	movq	%r14, %rdi
	callq	_dm_get
	movq	%r14, %rbx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	__major,8,3                     ## @_major
	.comm	_MINORBITS,4,2                  ## @MINORBITS
	.comm	__minor_lock,4,2                ## @_minor_lock
	.comm	__minor_idr,4,2                 ## @_minor_idr
	.comm	_MINOR_ALLOCED,8,3              ## @MINOR_ALLOCED
	.comm	_DMF_FREEING,4,2                ## @DMF_FREEING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_get_md                      ; -- Begin function dm_get_md
	.p2align	2
_dm_get_md:                             ; @dm_get_md
	.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
	bl	_MINOR
	mov	x20, x0
	mov	x0, x19
	bl	_MAJOR
Lloh0:
	adrp	x8, __major@GOTPAGE
Lloh1:
	ldr	x8, [x8, __major@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MINORBITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MINORBITS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsr	w8, w20, w8
	cbz	w8, LBB0_4
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x0, __minor_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, __minor_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh8:
	adrp	x0, __minor_idr@GOTPAGE
Lloh9:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	mov	x1, x20
	bl	_idr_find
Lloh10:
	adrp	x8, _MINOR_ALLOCED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MINOR_ALLOCED@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_8
; %bb.5:
	mov	x19, x0
	bl	_dm_disk
	bl	_disk_devt
	bl	_MINOR
	cmp	w0, w20
	b.ne	LBB0_8
; %bb.6:
Lloh13:
	adrp	x8, _DMF_FREEING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DMF_FREEING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_dm_deleting_md
	cbz	x0, LBB0_10
LBB0_8:
	mov	x19, #0
LBB0_9:
Lloh16:
	adrp	x0, __minor_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, __minor_lock@GOTPAGEOFF]
	bl	_spin_unlock
	b	LBB0_3
LBB0_10:
	mov	x0, x19
	bl	_dm_get
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	__major,8,3                     ; @_major
	.comm	_MINORBITS,4,2                  ; @MINORBITS
	.comm	__minor_lock,4,2                ; @_minor_lock
	.comm	__minor_idr,4,2                 ; @_minor_idr
	.comm	_MINOR_ALLOCED,8,3              ; @MINOR_ALLOCED
	.comm	_DMF_FREEING,4,2                ; @DMF_FREEING
.subsections_via_symbols
