	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_resume                   ## -- Begin function bnx2x_resume
	.p2align	4, 0x90
_bnx2x_resume:                          ## @bnx2x_resume
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_pci_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_BNX2X_RECOVERY_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r12, %rdi
	callq	_pci_restore_state
	movq	%r15, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	_PCI_D0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bnx2x_set_power_state
	movq	%r15, %rdi
	callq	_netif_device_attach
	movq	_LOAD_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bnx2x_nic_load
	movl	%eax, %ebx
LBB0_7:
	xorl	%eax, %eax
	callq	_rtnl_unlock
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BAD net device from bnx2x_init_one\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_BNX2X_RECOVERY_DONE,8,3        ## @BNX2X_RECOVERY_DONE
L_.str.1:                               ## @.str.1
	.asciz	"Handling parity error recovery. Try again later\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_PCI_D0,4,2                     ## @PCI_D0
	.comm	_LOAD_OPEN,4,2                  ## @LOAD_OPEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_resume                   ; -- Begin function bnx2x_resume
	.p2align	2
_bnx2x_resume:                          ; @bnx2x_resume
	.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	x21, x0
	bl	_pci_get_drvdata
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BNX2X_RECOVERY_DONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_RECOVERY_DONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_rtnl_lock
	mov	x0, x21
	bl	_pci_restore_state
	mov	x0, x19
	bl	_netif_running
	cbz	w0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _PCI_D0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_D0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bnx2x_set_power_state
	mov	x0, x19
	bl	_netif_device_attach
Lloh6:
	adrp	x8, _LOAD_OPEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOAD_OPEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bnx2x_nic_load
	mov	x19, x0
	bl	_rtnl_unlock
	mov	x0, x19
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh15:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	ret
LBB0_8:
	bl	_rtnl_unlock
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BAD net device from bnx2x_init_one\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_BNX2X_RECOVERY_DONE,8,3        ; @BNX2X_RECOVERY_DONE
l_.str.1:                               ; @.str.1
	.asciz	"Handling parity error recovery. Try again later\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_PCI_D0,4,2                     ; @PCI_D0
	.comm	_LOAD_OPEN,4,2                  ; @LOAD_OPEN
.subsections_via_symbols
