	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_setup_wol
_bnx2_setup_wol:                        ## @bnx2_setup_wol
	.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
	movq	%rdi, %r15
	cmpq	$0, 56(%rdi)
	je	LBB0_1
## %bb.2:
	movl	48(%r15), %r12d
	movl	(%r15), %r13d
	movq	8(%r15), %rax
	movq	_PORT_TP@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_4
## %bb.3:
	movq	_AUTONEG_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
LBB0_4:
	leaq	52(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	8(%r15), %rsi
	movq	%r15, %rdi
	callq	_bnx2_setup_phy
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movl	%r12d, 48(%r15)
	movl	%r13d, (%r15)
	movq	40(%r15), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_bnx2_set_mac_addr
	movq	_BNX2_EMAC_MODE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_BNX2_RD
	movq	_BNX2_EMAC_MODE_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_BNX2_EMAC_MODE_MPKT_RCVD@GOTPCREL(%rip), %rax
	movq	_BNX2_EMAC_MODE_ACPI_RCVD@GOTPCREL(%rip), %rcx
	movq	_BNX2_EMAC_MODE_MPKT@GOTPCREL(%rip), %rsi
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rsi), %edx
	movq	8(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.5:
	movq	_BNX2_EMAC_MODE_PORT_MII@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	movq	_BNX2_EMAC_MODE_PORT_GMII@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	16(%r15), %rax
	movq	_SPEED_2500@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	_BNX2_EMAC_MODE_25G_MODE@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %edx
LBB0_9:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_BNX2_WR
	movq	_NUM_MC_HASH_REGISTERS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%r13d, %r13d
	movq	_BNX2_EMAC_MULTICAST_HASH0@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_BNX2_WR
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_BNX2_EMAC_RX_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_BNX2_EMAC_RX_MODE_SORT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_BNX2_WR
	movq	_BNX2_RPM_SORT_USER0_BC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BNX2_RPM_SORT_USER0_MC_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	$1, %ebx
	movq	_BNX2_RPM_SORT_USER0@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_BNX2_WR
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_BNX2_WR
	movq	(%r14), %rsi
	movq	_BNX2_RPM_SORT_USER0_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_BNX2_WR
	movq	_BNX2_MISC_ENABLE_SET_BITS@GOTPCREL(%rip), %rax
	movq	_BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE@GOTPCREL(%rip), %rcx
	movq	_BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	(%rax), %rsi
	movq	_BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_BNX2_WR
	movq	_BNX2_RPM_CONFIG@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_BNX2_RD
	movq	_BNX2_RPM_CONFIG_ACPI_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_BNX2_WR
	movq	_BNX2_DRV_MSG_CODE_SUSPEND_WOL@GOTPCREL(%rip), %rax
LBB0_13:
	movq	_BNX2_FLAG_NO_WOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 24(%r15)
	je	LBB0_14
## %bb.17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_BNX2_DRV_MSG_DATA_WAIT3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	cmpq	$0, 32(%r15)
	jne	LBB0_18
## %bb.15:
	movq	%r15, %rdi
	callq	_BNX2_CHIP
	movq	_BNX2_CHIP_5709@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.16:
	movq	_BNX2_PORT_FEATURE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_bnx2_shmem_rd
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	_BNX2_PORT_FEATURE_ASF_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ebx, %edx
	movq	%r15, %rdi
	callq	_bnx2_shmem_wr
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_bnx2_fw_sync
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2_shmem_wr                  ## TAILCALL
LBB0_18:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2_fw_sync                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_TP,8,3                    ## @PORT_TP
	.comm	_AUTONEG_SPEED,4,2              ## @AUTONEG_SPEED
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_BNX2_EMAC_MODE,8,3             ## @BNX2_EMAC_MODE
	.comm	_BNX2_EMAC_MODE_PORT,4,2        ## @BNX2_EMAC_MODE_PORT
	.comm	_BNX2_EMAC_MODE_MPKT_RCVD,4,2   ## @BNX2_EMAC_MODE_MPKT_RCVD
	.comm	_BNX2_EMAC_MODE_ACPI_RCVD,4,2   ## @BNX2_EMAC_MODE_ACPI_RCVD
	.comm	_BNX2_EMAC_MODE_MPKT,4,2        ## @BNX2_EMAC_MODE_MPKT
	.comm	_BNX2_EMAC_MODE_PORT_MII,4,2    ## @BNX2_EMAC_MODE_PORT_MII
	.comm	_BNX2_EMAC_MODE_PORT_GMII,4,2   ## @BNX2_EMAC_MODE_PORT_GMII
	.comm	_SPEED_2500,8,3                 ## @SPEED_2500
	.comm	_BNX2_EMAC_MODE_25G_MODE,4,2    ## @BNX2_EMAC_MODE_25G_MODE
	.comm	_NUM_MC_HASH_REGISTERS,4,2      ## @NUM_MC_HASH_REGISTERS
	.comm	_BNX2_EMAC_MULTICAST_HASH0,8,3  ## @BNX2_EMAC_MULTICAST_HASH0
	.comm	_BNX2_EMAC_RX_MODE,8,3          ## @BNX2_EMAC_RX_MODE
	.comm	_BNX2_EMAC_RX_MODE_SORT_MODE,4,2 ## @BNX2_EMAC_RX_MODE_SORT_MODE
	.comm	_BNX2_RPM_SORT_USER0_BC_EN,4,2  ## @BNX2_RPM_SORT_USER0_BC_EN
	.comm	_BNX2_RPM_SORT_USER0_MC_EN,4,2  ## @BNX2_RPM_SORT_USER0_MC_EN
	.comm	_BNX2_RPM_SORT_USER0,8,3        ## @BNX2_RPM_SORT_USER0
	.comm	_BNX2_RPM_SORT_USER0_ENA,4,2    ## @BNX2_RPM_SORT_USER0_ENA
	.comm	_BNX2_MISC_ENABLE_SET_BITS,8,3  ## @BNX2_MISC_ENABLE_SET_BITS
	.comm	_BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE,4,2 ## @BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE
	.comm	_BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE,4,2 ## @BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE
	.comm	_BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE,4,2 ## @BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE
	.comm	_BNX2_RPM_CONFIG,8,3            ## @BNX2_RPM_CONFIG
	.comm	_BNX2_RPM_CONFIG_ACPI_ENA,4,2   ## @BNX2_RPM_CONFIG_ACPI_ENA
	.comm	_BNX2_DRV_MSG_CODE_SUSPEND_WOL,4,2 ## @BNX2_DRV_MSG_CODE_SUSPEND_WOL
	.comm	_BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL,4,2 ## @BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL
	.comm	_BNX2_FLAG_NO_WOL,4,2           ## @BNX2_FLAG_NO_WOL
	.comm	_BNX2_DRV_MSG_DATA_WAIT3,4,2    ## @BNX2_DRV_MSG_DATA_WAIT3
	.comm	_BNX2_CHIP_5709,8,3             ## @BNX2_CHIP_5709
	.comm	_BNX2_PORT_FEATURE,4,2          ## @BNX2_PORT_FEATURE
	.comm	_BNX2_PORT_FEATURE_ASF_ENABLED,4,2 ## @BNX2_PORT_FEATURE_ASF_ENABLED
	.no_dead_strip	_bnx2_setup_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_setup_wol
_bnx2_setup_wol:                        ; @bnx2_setup_wol
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w22, [x19, #48]
	ldr	w23, [x19]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x21, _PORT_TP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PORT_TP@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _AUTONEG_SPEED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUTONEG_SPEED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #48]
Lloh5:
	adrp	x8, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh13:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _ADVERTISED_Autoneg@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_3:
	add	x20, x19, #52
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_bnx2_setup_phy
	mov	x0, x20
	bl	_spin_unlock_bh
	str	w22, [x19, #48]
	str	w23, [x19]
	ldr	x8, [x19, #40]
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bnx2_set_mac_addr
Lloh20:
	adrp	x20, _BNX2_EMAC_MODE@GOTPAGE
Lloh21:
	ldr	x20, [x20, _BNX2_EMAC_MODE@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_BNX2_RD
Lloh22:
	adrp	x8, _BNX2_EMAC_MODE_PORT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BNX2_EMAC_MODE_PORT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh25:
	adrp	x9, _BNX2_EMAC_MODE_MPKT_RCVD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _BNX2_EMAC_MODE_MPKT_RCVD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _BNX2_EMAC_MODE_ACPI_RCVD@GOTPAGE
Lloh29:
	ldr	x10, [x10, _BNX2_EMAC_MODE_ACPI_RCVD@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
Lloh31:
	adrp	x11, _BNX2_EMAC_MODE_MPKT@GOTPAGE
Lloh32:
	ldr	x11, [x11, _BNX2_EMAC_MODE_MPKT@GOTPAGEOFF]
Lloh33:
	ldr	w11, [x11]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	ldr	x9, [x19, #8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.4:
Lloh34:
	adrp	x9, _BNX2_EMAC_MODE_PORT_MII@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BNX2_EMAC_MODE_PORT_MII@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	LBB0_8
LBB0_5:
Lloh37:
	adrp	x8, _BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh39:
	adrp	x9, _BNX2_EMAC_MODE_PORT_GMII@GOTPAGE
Lloh40:
	ldr	x9, [x9, _BNX2_EMAC_MODE_PORT_GMII@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
Lloh42:
	adrp	x9, _SPEED_2500@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SPEED_2500@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh45:
	adrp	x8, _BNX2_EMAC_MODE_25G_MODE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BNX2_EMAC_MODE_25G_MODE@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_8:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_BNX2_WR
Lloh48:
	adrp	x20, _NUM_MC_HASH_REGISTERS@GOTPAGE
Lloh49:
	ldr	x20, [x20, _NUM_MC_HASH_REGISTERS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x21, #0
	mov	x22, #0
Lloh50:
	adrp	x23, _BNX2_EMAC_MULTICAST_HASH0@GOTPAGE
Lloh51:
	ldr	x23, [x23, _BNX2_EMAC_MULTICAST_HASH0@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	w2, #-1
	bl	_BNX2_WR
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_10
LBB0_11:
Lloh52:
	adrp	x8, _BNX2_EMAC_RX_MODE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _BNX2_EMAC_RX_MODE@GOTPAGEOFF]
Lloh54:
	ldr	x1, [x8]
Lloh55:
	adrp	x8, _BNX2_EMAC_RX_MODE_SORT_MODE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _BNX2_EMAC_RX_MODE_SORT_MODE@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_BNX2_WR
Lloh58:
	adrp	x8, _BNX2_RPM_SORT_USER0_BC_EN@GOTPAGE
Lloh59:
	ldr	x8, [x8, _BNX2_RPM_SORT_USER0_BC_EN@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _BNX2_RPM_SORT_USER0_MC_EN@GOTPAGE
Lloh62:
	ldr	x9, [x9, _BNX2_RPM_SORT_USER0_MC_EN@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w20, w8, #0x1
Lloh64:
	adrp	x21, _BNX2_RPM_SORT_USER0@GOTPAGE
Lloh65:
	ldr	x21, [x21, _BNX2_RPM_SORT_USER0@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_BNX2_WR
	ldr	x1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_BNX2_WR
	ldr	x1, [x21]
Lloh66:
	adrp	x8, _BNX2_RPM_SORT_USER0_ENA@GOTPAGE
Lloh67:
	ldr	x8, [x8, _BNX2_RPM_SORT_USER0_ENA@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	orr	w2, w8, w20
	mov	x0, x19
	bl	_BNX2_WR
Lloh69:
	adrp	x8, _BNX2_MISC_ENABLE_SET_BITS@GOTPAGE
Lloh70:
	ldr	x8, [x8, _BNX2_MISC_ENABLE_SET_BITS@GOTPAGEOFF]
Lloh71:
	ldr	x1, [x8]
Lloh72:
	adrp	x8, _BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
Lloh75:
	adrp	x9, _BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE@GOTPAGE
Lloh76:
	ldr	x9, [x9, _BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh78:
	adrp	x9, _BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE@GOTPAGE
Lloh79:
	ldr	x9, [x9, _BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_BNX2_WR
Lloh81:
	adrp	x20, _BNX2_RPM_CONFIG@GOTPAGE
Lloh82:
	ldr	x20, [x20, _BNX2_RPM_CONFIG@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_BNX2_RD
Lloh83:
	adrp	x8, _BNX2_RPM_CONFIG_ACPI_ENA@GOTPAGE
Lloh84:
	ldr	x8, [x8, _BNX2_RPM_CONFIG_ACPI_ENA@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	x1, [x20]
	mov	x0, x19
	bl	_BNX2_WR
Lloh86:
	adrp	x8, _BNX2_DRV_MSG_CODE_SUSPEND_WOL@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BNX2_DRV_MSG_CODE_SUSPEND_WOL@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x19, #24]
Lloh88:
	adrp	x10, _BNX2_FLAG_NO_WOL@GOTPAGE
Lloh89:
	ldr	x10, [x10, _BNX2_FLAG_NO_WOL@GOTPAGEOFF]
Lloh90:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	w8, [x8]
Lloh91:
	adrp	x9, _BNX2_DRV_MSG_DATA_WAIT3@GOTPAGE
Lloh92:
	ldr	x9, [x9, _BNX2_DRV_MSG_DATA_WAIT3@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_17
; %bb.15:
	mov	x0, x19
	bl	_BNX2_CHIP
Lloh94:
	adrp	x8, _BNX2_CHIP_5709@GOTPAGE
Lloh95:
	ldr	x8, [x8, _BNX2_CHIP_5709@GOTPAGEOFF]
Lloh96:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.16:
Lloh97:
	adrp	x22, _BNX2_PORT_FEATURE@GOTPAGE
Lloh98:
	ldr	x22, [x22, _BNX2_PORT_FEATURE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bnx2_shmem_rd
	mov	x21, x0
	ldr	w1, [x22]
Lloh99:
	adrp	x8, _BNX2_PORT_FEATURE_ASF_ENABLED@GOTPAGE
Lloh100:
	ldr	x8, [x8, _BNX2_PORT_FEATURE_ASF_ENABLED@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_bnx2_shmem_wr
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_bnx2_fw_sync
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2_shmem_wr
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2_fw_sync
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_TP,8,3                    ; @PORT_TP
	.comm	_AUTONEG_SPEED,4,2              ; @AUTONEG_SPEED
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_BNX2_EMAC_MODE,8,3             ; @BNX2_EMAC_MODE
	.comm	_BNX2_EMAC_MODE_PORT,4,2        ; @BNX2_EMAC_MODE_PORT
	.comm	_BNX2_EMAC_MODE_MPKT_RCVD,4,2   ; @BNX2_EMAC_MODE_MPKT_RCVD
	.comm	_BNX2_EMAC_MODE_ACPI_RCVD,4,2   ; @BNX2_EMAC_MODE_ACPI_RCVD
	.comm	_BNX2_EMAC_MODE_MPKT,4,2        ; @BNX2_EMAC_MODE_MPKT
	.comm	_BNX2_EMAC_MODE_PORT_MII,4,2    ; @BNX2_EMAC_MODE_PORT_MII
	.comm	_BNX2_EMAC_MODE_PORT_GMII,4,2   ; @BNX2_EMAC_MODE_PORT_GMII
	.comm	_SPEED_2500,8,3                 ; @SPEED_2500
	.comm	_BNX2_EMAC_MODE_25G_MODE,4,2    ; @BNX2_EMAC_MODE_25G_MODE
	.comm	_NUM_MC_HASH_REGISTERS,4,2      ; @NUM_MC_HASH_REGISTERS
	.comm	_BNX2_EMAC_MULTICAST_HASH0,8,3  ; @BNX2_EMAC_MULTICAST_HASH0
	.comm	_BNX2_EMAC_RX_MODE,8,3          ; @BNX2_EMAC_RX_MODE
	.comm	_BNX2_EMAC_RX_MODE_SORT_MODE,4,2 ; @BNX2_EMAC_RX_MODE_SORT_MODE
	.comm	_BNX2_RPM_SORT_USER0_BC_EN,4,2  ; @BNX2_RPM_SORT_USER0_BC_EN
	.comm	_BNX2_RPM_SORT_USER0_MC_EN,4,2  ; @BNX2_RPM_SORT_USER0_MC_EN
	.comm	_BNX2_RPM_SORT_USER0,8,3        ; @BNX2_RPM_SORT_USER0
	.comm	_BNX2_RPM_SORT_USER0_ENA,4,2    ; @BNX2_RPM_SORT_USER0_ENA
	.comm	_BNX2_MISC_ENABLE_SET_BITS,8,3  ; @BNX2_MISC_ENABLE_SET_BITS
	.comm	_BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE,4,2 ; @BNX2_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE
	.comm	_BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE,4,2 ; @BNX2_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE
	.comm	_BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE,4,2 ; @BNX2_MISC_ENABLE_SET_BITS_EMAC_ENABLE
	.comm	_BNX2_RPM_CONFIG,8,3            ; @BNX2_RPM_CONFIG
	.comm	_BNX2_RPM_CONFIG_ACPI_ENA,4,2   ; @BNX2_RPM_CONFIG_ACPI_ENA
	.comm	_BNX2_DRV_MSG_CODE_SUSPEND_WOL,4,2 ; @BNX2_DRV_MSG_CODE_SUSPEND_WOL
	.comm	_BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL,4,2 ; @BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL
	.comm	_BNX2_FLAG_NO_WOL,4,2           ; @BNX2_FLAG_NO_WOL
	.comm	_BNX2_DRV_MSG_DATA_WAIT3,4,2    ; @BNX2_DRV_MSG_DATA_WAIT3
	.comm	_BNX2_CHIP_5709,8,3             ; @BNX2_CHIP_5709
	.comm	_BNX2_PORT_FEATURE,4,2          ; @BNX2_PORT_FEATURE
	.comm	_BNX2_PORT_FEATURE_ASF_ENABLED,4,2 ; @BNX2_PORT_FEATURE_ASF_ENABLED
	.no_dead_strip	_bnx2_setup_wol
.subsections_via_symbols
