	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_fan_failure
_bnx2x_fan_failure:                     ## @bnx2x_fan_failure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_BP_PORT
	movq	_dev_info@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movslq	%eax, %r15
	movl	(%rcx,%r15,4), %esi
	movq	%rbx, %rdi
	callq	_SHMEM_RD
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	%rbx, %rdi
	callq	_SHMEM_WR
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	xorl	%eax, %eax
	callq	_smp_mb__before_clear_bit
	movq	_BNX2X_SP_RTNL_FAN_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_set_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_clear_bit
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_info,8,3                   ## @dev_info
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK,4,2 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE,4,2 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fan Failure on Network Controller has caused the driver to shutdown the card to prevent permanent damage.\nPlease contact OEM Support for assistance\n"

	.comm	_BNX2X_SP_RTNL_FAN_FAILURE,4,2  ## @BNX2X_SP_RTNL_FAN_FAILURE
	.no_dead_strip	_bnx2x_fan_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_fan_failure
_bnx2x_fan_failure:                     ; @bnx2x_fan_failure
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_BP_PORT
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x20, _dev_info@GOTPAGE
Lloh1:
	ldr	x20, [x20, _dev_info@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x0, #2, #32
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_SHMEM_RD
Lloh2:
	adrp	x8, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh7:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	x8, [x20]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_SHMEM_WR
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	bl	_smp_mb__before_clear_bit
Lloh10:
	adrp	x8, _BNX2X_SP_RTNL_FAN_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BNX2X_SP_RTNL_FAN_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	bl	_smp_mb__after_clear_bit
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_delayed_work
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_info,8,3                   ; @dev_info
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK,4,2 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_MASK
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE,4,2 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fan Failure on Network Controller has caused the driver to shutdown the card to prevent permanent damage.\nPlease contact OEM Support for assistance\n"

	.comm	_BNX2X_SP_RTNL_FAN_FAILURE,4,2  ; @BNX2X_SP_RTNL_FAN_FAILURE
	.no_dead_strip	_bnx2x_fan_failure
.subsections_via_symbols
