	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_suspend                  ## -- Begin function bnx2x_suspend
	.p2align	4, 0x90
_bnx2x_suspend:                         ## @bnx2x_suspend
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_pci_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r13, %rdi
	callq	_pci_save_state
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_device_detach
	movq	_UNLOAD_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_bnx2x_nic_unload
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_pci_choose_state
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_bnx2x_set_power_state
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_UNLOAD_CLOSE,4,2               ## @UNLOAD_CLOSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_suspend                  ; -- Begin function bnx2x_suspend
	.p2align	2
_bnx2x_suspend:                         ; @bnx2x_suspend
	.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	x20, x1
	mov	x19, x0
	bl	_pci_get_drvdata
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
	bl	_rtnl_lock
	mov	x0, x19
	bl	_pci_save_state
	mov	x0, x22
	bl	_netif_running
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_netif_device_detach
Lloh0:
	adrp	x8, _UNLOAD_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNLOAD_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_bnx2x_nic_unload
	mov	x0, x19
	mov	x1, x20
	bl	_pci_choose_state
	mov	x1, x0
	mov	x0, x21
	bl	_bnx2x_set_power_state
LBB0_3:
	bl	_rtnl_unlock
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.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	_UNLOAD_CLOSE,4,2               ; @UNLOAD_CLOSE
.subsections_via_symbols
