	.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), %r12
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r12), %ecx
	movq	%rax, %r15
	movq	_DM_ACTIVE_PRESENT_FLAG@GOTPCREL(%rip), %r13
	orl	(%r13), %ecx
	notl	%ecx
	andl	%ecx, (%rbx)
	movq	%r14, %rdi
	callq	_dm_suspended_md
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %eax
	orl	%eax, (%rbx)
LBB0_2:
	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)
	movq	%r14, %rdi
	callq	_dm_get_live_table
	movq	%rax, %r12
	movl	(%rbx), %eax
	testq	%r12, %r12
	je	LBB0_8
## %bb.3:
	movq	_DM_QUERY_INACTIVE_TABLE_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_get_disk_ro
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	%r12, %rdi
	callq	_dm_table_get_num_targets
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%r12, %rdi
	callq	_dm_table_put
	movl	(%rbx), %eax
	orl	(%r13), %eax
	movl	%eax, (%rbx)
LBB0_8:
	movq	_DM_QUERY_INACTIVE_TABLE_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_dm_get_inactive_table
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_dm_table_get_mode
	movq	_FMODE_WRITE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.11:
	movq	_DM_READONLY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_12:
	movq	%r14, %rdi
	callq	_dm_table_get_num_targets
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_table_put                   ## TAILCALL
LBB0_13:
	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_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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	bl	_dm_disk
	mov	x21, x0
Lloh0:
	adrp	x22, _DM_SUSPEND_FLAG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DM_SUSPEND_FLAG@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _DM_READONLY_FLAG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DM_READONLY_FLAG@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh4:
	adrp	x24, _DM_ACTIVE_PRESENT_FLAG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DM_ACTIVE_PRESENT_FLAG@GOTPAGEOFF]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	mov	x0, x20
	bl	_dm_suspended_md
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	x0, x21
	bl	_disk_devt
	bl	_huge_encode_dev
	str	w0, [x19, #24]
	mov	x0, x20
	bl	_dm_open_count
	str	w0, [x19, #20]
	mov	x0, x20
	bl	_dm_get_event_nr
	str	w0, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x20
	bl	_dm_get_live_table
	ldr	w8, [x19]
Lloh6:
	adrp	x25, _DM_QUERY_INACTIVE_TABLE_FLAG@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DM_QUERY_INACTIVE_TABLE_FLAG@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.3:
	mov	x22, x0
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_get_disk_ro
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	x0, x22
	bl	_dm_table_get_num_targets
	str	x0, [x19, #8]
LBB0_7:
	mov	x0, x22
	bl	_dm_table_put
	ldr	w8, [x24]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.9:
	mov	x0, x20
	bl	_dm_get_inactive_table
	cbz	x0, LBB0_13
; %bb.10:
	mov	x20, x0
	bl	_dm_table_get_mode
Lloh8:
	adrp	x8, _FMODE_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FMODE_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	mov	x0, x20
	bl	_dm_table_get_num_targets
	str	x0, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dm_table_put
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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_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
