	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function device_status_char
_device_status_char:                    ## @device_status_char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_DM_RAID1_FLUSH_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movb	$70, %cl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_DM_RAID1_WRITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movb	$68, %cl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_DM_RAID1_SYNC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movb	$83, %cl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_DM_RAID1_READ_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	(%rcx,%rcx,2), %ecx
	addl	$82, %ecx
	jmp	LBB0_6
LBB0_1:
	movb	$65, %cl
LBB0_6:
	movsbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_RAID1_FLUSH_ERROR,4,2       ## @DM_RAID1_FLUSH_ERROR
	.comm	_DM_RAID1_WRITE_ERROR,4,2       ## @DM_RAID1_WRITE_ERROR
	.comm	_DM_RAID1_SYNC_ERROR,4,2        ## @DM_RAID1_SYNC_ERROR
	.comm	_DM_RAID1_READ_ERROR,4,2        ## @DM_RAID1_READ_ERROR
	.no_dead_strip	_device_status_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function device_status_char
_device_status_char:                    ; @device_status_char
	.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
	add	x0, x0, #4
	bl	_atomic_read
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _DM_RAID1_FLUSH_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_RAID1_FLUSH_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #70
	b	LBB0_9
LBB0_3:
	mov	w0, #65
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _DM_RAID1_WRITE_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DM_RAID1_WRITE_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #68
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _DM_RAID1_SYNC_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_RAID1_SYNC_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.7:
	mov	w0, #83
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _DM_RAID1_READ_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DM_RAID1_READ_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cmp	x0, #0
	mov	w8, #82
	mov	w9, #85
	csel	w0, w9, w8, eq
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_RAID1_FLUSH_ERROR,4,2       ; @DM_RAID1_FLUSH_ERROR
	.comm	_DM_RAID1_WRITE_ERROR,4,2       ; @DM_RAID1_WRITE_ERROR
	.comm	_DM_RAID1_SYNC_ERROR,4,2        ; @DM_RAID1_SYNC_ERROR
	.comm	_DM_RAID1_READ_ERROR,4,2        ; @DM_RAID1_READ_ERROR
	.no_dead_strip	_device_status_char
.subsections_via_symbols
