	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_hw_err_from_flags           ## -- Begin function aq_hw_err_from_flags
	.p2align	4, 0x90
_aq_hw_err_from_flags:                  ## @aq_hw_err_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_AQ_HW_FLAG_ERR_UNPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_aq_utils_obj_test
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_AQ_HW_FLAG_ERR_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_aq_utils_obj_test
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_HW_FLAG_ERR_UNPLUG,4,2      ## @AQ_HW_FLAG_ERR_UNPLUG
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_AQ_HW_FLAG_ERR_HW,4,2          ## @AQ_HW_FLAG_ERR_HW
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_hw_err_from_flags           ; -- Begin function aq_hw_err_from_flags
	.p2align	2
_aq_hw_err_from_flags:                  ; @aq_hw_err_from_flags
	.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
Lloh0:
	adrp	x8, _AQ_HW_FLAG_ERR_UNPLUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AQ_HW_FLAG_ERR_UNPLUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_aq_utils_obj_test
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _AQ_HW_FLAG_ERR_HW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AQ_HW_FLAG_ERR_HW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_aq_utils_obj_test
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_HW_FLAG_ERR_UNPLUG,4,2      ; @AQ_HW_FLAG_ERR_UNPLUG
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_AQ_HW_FLAG_ERR_HW,4,2          ; @AQ_HW_FLAG_ERR_HW
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
