	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_error_status
_decode_error_status:                   ## @decode_error_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_MCI_STATUS_UC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_MCI_STATUS_PCC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	movq	_MCI_STATUS_DEFERRED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MCG_STATUS_RIPV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
LBB0_5:
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_STATUS_UC,4,2              ## @MCI_STATUS_UC
	.comm	_MCI_STATUS_PCC,4,2             ## @MCI_STATUS_PCC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"System Fatal error."

	.comm	_MCG_STATUS_RIPV,4,2            ## @MCG_STATUS_RIPV
L_.str.1:                               ## @.str.1
	.asciz	"Uncorrected, software restartable error."

L_.str.2:                               ## @.str.2
	.asciz	"Uncorrected, software containable error."

	.comm	_MCI_STATUS_DEFERRED,4,2        ## @MCI_STATUS_DEFERRED
L_.str.3:                               ## @.str.3
	.asciz	"Deferred error, no action required."

L_.str.4:                               ## @.str.4
	.asciz	"Corrected error, no action required."

	.no_dead_strip	_decode_error_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_error_status
_decode_error_status:                   ; @decode_error_status
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MCI_STATUS_UC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCI_STATUS_UC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _MCI_STATUS_PCC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCI_STATUS_PCC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ret
LBB0_3:
Lloh8:
	adrp	x9, _MCI_STATUS_DEFERRED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MCI_STATUS_DEFERRED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, l_.str.3@PAGE
Lloh12:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh13:
	adrp	x11, l_.str.4@PAGE
Lloh14:
	add	x11, x11, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0, #4]
Lloh15:
	adrp	x9, _MCG_STATUS_RIPV@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MCG_STATUS_RIPV@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, l_.str.1@PAGE
Lloh19:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh20:
	adrp	x11, l_.str.2@PAGE
Lloh21:
	add	x11, x11, l_.str.2@PAGEOFF
LBB0_5:
	tst	w9, w8
	csel	x0, x11, x10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_STATUS_UC,4,2              ; @MCI_STATUS_UC
	.comm	_MCI_STATUS_PCC,4,2             ; @MCI_STATUS_PCC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"System Fatal error."

	.comm	_MCG_STATUS_RIPV,4,2            ; @MCG_STATUS_RIPV
l_.str.1:                               ; @.str.1
	.asciz	"Uncorrected, software restartable error."

l_.str.2:                               ; @.str.2
	.asciz	"Uncorrected, software containable error."

	.comm	_MCI_STATUS_DEFERRED,4,2        ; @MCI_STATUS_DEFERRED
l_.str.3:                               ; @.str.3
	.asciz	"Deferred error, no action required."

l_.str.4:                               ; @.str.4
	.asciz	"Corrected error, no action required."

	.no_dead_strip	_decode_error_status
.subsections_via_symbols
