	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dev_status
___dev_status:                          ## @__dev_status
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_dm_disk
	movq	_DM_SUSPEND_FLAG@GOTPCREL(%rip), %r13
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r13), %ecx
	movq	_DM_ACTIVE_PRESENT_FLAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	%rax, %r15
	movq	_DM_INTERNAL_SUSPEND_FLAG@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	notl	%ecx
	andl	%ecx, (%rbx)
	movq	%r14, %rdi
	callq	_dm_suspended_md
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r13), %eax
	orl	%eax, (%rbx)
LBB0_2:
	movq	%r14, %rdi
	callq	_dm_suspended_internally_md
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %eax
	orl	%eax, (%rbx)
LBB0_4:
	movq	%r14, %rdi
	callq	_dm_test_deferred_remove_flag
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DM_DEFERRED_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	_disk_devt
	movl	%eax, %edi
	callq	_huge_encode_dev
	movl	%eax, 24(%rbx)
	movq	%r14, %rdi
	callq	_dm_open_count
	movl	%eax, 20(%rbx)
	movq	%r14, %rdi
	callq	_dm_get_event_nr
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dm_get_live_table
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %r12
	movl	(%rbx), %eax
	movq	_DM_QUERY_INACTIVE_TABLE_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_get_disk_ro
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_10:
	movq	%r12, %rdi
	callq	_dm_table_get_num_targets
	movq	%rax, 8(%rbx)
	movl	(%rbx), %eax
LBB0_11:
	movq	_DM_ACTIVE_PRESENT_FLAG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_12:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_dm_put_live_table
	movq	_DM_QUERY_INACTIVE_TABLE_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_18
## %bb.13:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dm_get_inactive_table
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_dm_table_get_mode
	movq	_FMODE_WRITE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_16:
	movq	%r15, %rdi
	callq	_dm_table_get_num_targets
	movq	%rax, 8(%rbx)
LBB0_17:
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_dm_put_live_table
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_SUSPEND_FLAG,4,2            ## @DM_SUSPEND_FLAG
	.comm	_DM_READONLY_FLAG,4,2           ## @DM_READONLY_FLAG
	.comm	_DM_ACTIVE_PRESENT_FLAG,4,2     ## @DM_ACTIVE_PRESENT_FLAG
	.comm	_DM_INTERNAL_SUSPEND_FLAG,4,2   ## @DM_INTERNAL_SUSPEND_FLAG
	.comm	_DM_DEFERRED_REMOVE,4,2         ## @DM_DEFERRED_REMOVE
	.comm	_DM_QUERY_INACTIVE_TABLE_FLAG,4,2 ## @DM_QUERY_INACTIVE_TABLE_FLAG
	.comm	_FMODE_WRITE,4,2                ## @FMODE_WRITE
	.no_dead_strip	___dev_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __dev_status
___dev_status:                          ; @__dev_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	bl	_dm_disk
	mov	x21, x0
Lloh0:
	adrp	x25, _DM_SUSPEND_FLAG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DM_SUSPEND_FLAG@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x23, _DM_READONLY_FLAG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DM_READONLY_FLAG@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh4:
	adrp	x24, _DM_ACTIVE_PRESENT_FLAG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DM_ACTIVE_PRESENT_FLAG@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh6:
	adrp	x22, _DM_INTERNAL_SUSPEND_FLAG@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DM_INTERNAL_SUSPEND_FLAG@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x19
	bl	_dm_suspended_md
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x25]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_2:
	mov	x0, x19
	bl	_dm_suspended_internally_md
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	mov	x0, x19
	bl	_dm_test_deferred_remove_flag
	cbz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _DM_DEFERRED_REMOVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DM_DEFERRED_REMOVE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	mov	x0, x21
	bl	_disk_devt
	bl	_huge_encode_dev
	str	w0, [x20, #24]
	mov	x0, x19
	bl	_dm_open_count
	str	w0, [x20, #20]
	mov	x0, x19
	bl	_dm_get_event_nr
	str	w0, [x20, #16]
	str	xzr, [x20, #8]
	add	x1, sp, #12
	mov	x0, x19
	bl	_dm_get_live_table
Lloh11:
	adrp	x25, _DM_QUERY_INACTIVE_TABLE_FLAG@GOTPAGE
Lloh12:
	ldr	x25, [x25, _DM_QUERY_INACTIVE_TABLE_FLAG@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.8:
	mov	x22, x0
	mov	x0, x21
	bl	_get_disk_ro
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_10:
	mov	x0, x22
	bl	_dm_table_get_num_targets
	str	x0, [x20, #8]
	ldr	w8, [x20]
LBB0_11:
	ldr	w9, [x24]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_12:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_dm_put_live_table
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.13:
	add	x1, sp, #8
	mov	x0, x19
	bl	_dm_get_inactive_table
	cbz	x0, LBB0_17
; %bb.14:
	mov	x21, x0
	bl	_dm_table_get_mode
Lloh13:
	adrp	x8, _FMODE_WRITE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FMODE_WRITE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_16:
	mov	x0, x21
	bl	_dm_table_get_num_targets
	str	x0, [x20, #8]
LBB0_17:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_dm_put_live_table
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_SUSPEND_FLAG,4,2            ; @DM_SUSPEND_FLAG
	.comm	_DM_READONLY_FLAG,4,2           ; @DM_READONLY_FLAG
	.comm	_DM_ACTIVE_PRESENT_FLAG,4,2     ; @DM_ACTIVE_PRESENT_FLAG
	.comm	_DM_INTERNAL_SUSPEND_FLAG,4,2   ; @DM_INTERNAL_SUSPEND_FLAG
	.comm	_DM_DEFERRED_REMOVE,4,2         ; @DM_DEFERRED_REMOVE
	.comm	_DM_QUERY_INACTIVE_TABLE_FLAG,4,2 ; @DM_QUERY_INACTIVE_TABLE_FLAG
	.comm	_FMODE_WRITE,4,2                ; @FMODE_WRITE
	.no_dead_strip	___dev_status
.subsections_via_symbols
