	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_check_fw_error
_ixgbe_check_fw_error:                  ## @ixgbe_check_fw_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_IXGBE_FWSM
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_FWSM_EXT_ERR_IND_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_IXGBE_FWSM_FW_VAL_BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_e_dev_warn
LBB0_3:
	movq	(%rbx), %rcx
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_e_dev_err
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FWSM_EXT_ERR_IND_MASK,4,2 ## @IXGBE_FWSM_EXT_ERR_IND_MASK
	.comm	_IXGBE_FWSM_FW_VAL_BIT,4,2      ## @IXGBE_FWSM_FW_VAL_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning firmware error detected FWSM: 0x%08X\n"

L_.str.1:                               ## @.str.1
	.asciz	"Firmware recovery mode detected. Limiting functionality. Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware recovery mode.\n"

	.no_dead_strip	_ixgbe_check_fw_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_check_fw_error
_ixgbe_check_fw_error:                  ; @ixgbe_check_fw_error
	.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
	bl	_IXGBE_FWSM
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x1, x0
Lloh0:
	adrp	x8, _IXGBE_FWSM_EXT_ERR_IND_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_FWSM_EXT_ERR_IND_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IXGBE_FWSM_FW_VAL_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_FWSM_FW_VAL_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dev_warn
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dev_err
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FWSM_EXT_ERR_IND_MASK,4,2 ; @IXGBE_FWSM_EXT_ERR_IND_MASK
	.comm	_IXGBE_FWSM_FW_VAL_BIT,4,2      ; @IXGBE_FWSM_FW_VAL_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning firmware error detected FWSM: 0x%08X\n"

l_.str.1:                               ; @.str.1
	.asciz	"Firmware recovery mode detected. Limiting functionality. Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware recovery mode.\n"

	.no_dead_strip	_ixgbe_check_fw_error
.subsections_via_symbols
