	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_recovery_failed
_bnx2x_recovery_failed:                 ## @bnx2x_recovery_failed
	.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
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movl	4(%rbx), %edi
	callq	_netif_device_detach
	movq	%rbx, %rdi
	callq	_bnx2x_set_reset_in_progress
	movq	_PCI_D3hot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_set_power_state
	movq	_BNX2X_RECOVERY_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_smp_mb                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Recovery has failed. Power cycle is needed.\n"

	.comm	_PCI_D3hot,4,2                  ## @PCI_D3hot
	.comm	_BNX2X_RECOVERY_FAILED,4,2      ## @BNX2X_RECOVERY_FAILED
	.no_dead_strip	_bnx2x_recovery_failed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_recovery_failed
_bnx2x_recovery_failed:                 ; @bnx2x_recovery_failed
	.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
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	ldr	w0, [x19, #4]
	bl	_netif_device_detach
	mov	x0, x19
	bl	_bnx2x_set_reset_in_progress
Lloh2:
	adrp	x8, _PCI_D3hot@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_D3hot@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_set_power_state
Lloh5:
	adrp	x8, _BNX2X_RECOVERY_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNX2X_RECOVERY_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smp_mb
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Recovery has failed. Power cycle is needed.\n"

	.comm	_PCI_D3hot,4,2                  ; @PCI_D3hot
	.comm	_BNX2X_RECOVERY_FAILED,4,2      ; @BNX2X_RECOVERY_FAILED
	.no_dead_strip	_bnx2x_recovery_failed
.subsections_via_symbols
