	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cqhci_error_from_flags
_cqhci_error_from_flags:                ## @cqhci_error_from_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	_CQHCI_HOST_CRC@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_EILSEQ@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_CQHCI_EXTERNAL_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_CQHCI_HOST_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%edi, %ecx
	je	LBB0_6
## %bb.5:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CQHCI_HOST_CRC,4,2             ## @CQHCI_HOST_CRC
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_CQHCI_EXTERNAL_TIMEOUT,4,2     ## @CQHCI_EXTERNAL_TIMEOUT
	.comm	_CQHCI_HOST_TIMEOUT,4,2         ## @CQHCI_HOST_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_cqhci_error_from_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cqhci_error_from_flags
_cqhci_error_from_flags:                ; @cqhci_error_from_flags
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _CQHCI_HOST_CRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CQHCI_HOST_CRC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _CQHCI_EXTERNAL_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CQHCI_EXTERNAL_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CQHCI_HOST_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CQHCI_HOST_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CQHCI_HOST_CRC,4,2             ; @CQHCI_HOST_CRC
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_CQHCI_EXTERNAL_TIMEOUT,4,2     ; @CQHCI_EXTERNAL_TIMEOUT
	.comm	_CQHCI_HOST_TIMEOUT,4,2         ; @CQHCI_HOST_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_cqhci_error_from_flags
.subsections_via_symbols
