	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_init_dev
_bnx2x_init_dev:                        ## @bnx2x_init_dev
	.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	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_BCM57710@GOTPCREL(%rip), %rax
	movb	$1, %r12b
	cmpq	%rcx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_BCM57711@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_BCM57711E@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	sete	%r12b
LBB0_3:
	leaq	12(%r13), %rsi
	movq	%rbx, %rdi
	callq	_SET_NETDEV_DEV
	movq	%rbx, 72(%r15)
	movq	%r13, 56(%r15)
	movq	%r13, %rdi
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	movq	56(%r15), %rdi
	addq	$12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_18
LBB0_5:
	movb	%r12b, -41(%rbp)                ## 1-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_flags
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_10
## %bb.6:
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_pci_resource_flags
	testl	%eax, (%r12)
	je	LBB0_14
LBB0_8:
	movq	_PCICFG_REVISION_ID_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_pci_read_config_dword
	movq	_PCICFG_REVESION_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-48(%rbp), %eax
	movq	_PCICFG_REVESION_ID_ERROR_VAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_15
LBB0_10:
	movq	56(%r15), %rdi
	addq	$12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	leaq	4(%r13), %rdi
	movq	%rdi, %r12
	callq	_atomic_read
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.12:
	movq	_DRV_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_pci_request_regions
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	movl	%eax, %r14d
	movq	56(%r15), %rdi
	addq	$12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_17
LBB0_14:
	movq	56(%r15), %rdi
	addq	$12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
LBB0_15:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_16:
	subl	(%rax), %r14d
LBB0_17:
	movq	%r13, %rdi
	callq	_pci_disable_device
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%r13, %rdi
	callq	_pci_set_master
	movq	%r13, %rdi
	callq	_pci_save_state
LBB0_20:
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	cmpl	$0, 20(%r13)
	je	LBB0_28
LBB0_22:
	movq	%r13, %rdi
	callq	_pci_is_pcie
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	movq	%r15, %rdi
	callq	_bnx2x_set_coherency_mask
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_31
## %bb.24:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_start
	movq	%rbx, %r14
	movl	%eax, 68(%rbx)
	movl	%eax, 72(%rbx)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_end
	movl	%eax, 64(%rbx)
	movl	16(%r13), %eax
	movl	%eax, 60(%rbx)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pci_ioremap_bar
	movl	%eax, 64(%r15)
	testl	%eax, %eax
	je	LBB0_29
## %bb.25:
	movb	-41(%rbp), %r12b                ## 1-byte Reload
	testb	%r12b, %r12b
	je	LBB0_33
## %bb.26:
	movl	8(%r13), %edi
	callq	_PCI_FUNC
	movl	%eax, %esi
	jmp	LBB0_34
LBB0_27:
	movq	_EIO@GOTPCREL(%rip), %rbx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_30
LBB0_28:
	movq	_EIO@GOTPCREL(%rip), %rbx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_30
LBB0_29:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	leaq	L_.str.7(%rip), %rsi
LBB0_30:
	movq	56(%r15), %rdi
	addq	$12, %rdi
	callq	_dev_err
	xorl	%r14d, %r14d
	subl	(%rbx), %r14d
LBB0_31:
	movq	%r12, %rdi
	callq	_atomic_read
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.32:
	movq	%r13, %rdi
	callq	_pci_release_regions
	jmp	LBB0_17
LBB0_33:
	movq	56(%r15), %rdi
	movq	_PCICFG_ME_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_ME_REG_ABS_PF_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	-48(%rbp), %esi
	movq	_ME_REG_ABS_PF_NUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
LBB0_34:
	movl	%esi, (%r15)
	leaq	L_.str.8(%rip), %rdi
	callq	_BNX2X_DEV_INFO
	movq	56(%r15), %rdi
	movq	_PCICFG_GRC_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCICFG_VENDOR_ID_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_pci_write_config_dword
	movl	$1, (%r13)
	movq	%r13, %rdi
	callq	_pci_enable_pcie_error_reporting
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	callq	_BNX2X_DEV_INFO
	jmp	LBB0_37
LBB0_36:
	movq	_AER_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%r15)
LBB0_37:
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_42
## %bb.38:
	movq	_PXP2_REG_PGL_ADDR_88_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_8C_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_90_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_94_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	testb	%r12b, %r12b
	je	LBB0_40
## %bb.39:
	movq	_PXP2_REG_PGL_ADDR_88_F1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_8C_F1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_90_F1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_PXP2_REG_PGL_ADDR_94_F1@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_40:
	movl	$1, %r14d
	movq	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPCREL(%rip), %rax
LBB0_41:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_REG_WR
LBB0_42:
	movq	_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_bnx2x_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_set_ethtool_ops
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%rbx)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %r11
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	orl	(%r11), %edi
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %r8
	orl	(%r8), %edi
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %r10
	orl	(%r10), %edi
	movq	_NETIF_F_TSO_ECN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %r9
	orl	(%r9), %edi
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %r13
	orl	(%r13), %edi
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movl	%edi, (%rbx)
	testb	%r12b, %r12b
	je	LBB0_44
## %bb.43:
	movl	(%r11), %r11d
	movl	(%r14), %r12d
	movl	(%r8), %eax
	movl	(%r10), %r14d
	movl	(%rcx), %r8d
	movl	(%r9), %edx
	jmp	LBB0_45
LBB0_44:
	movq	_NETIF_F_GSO_GRE@GOTPCREL(%rip), %rsi
	movq	_NETIF_F_GSO_GRE_CSUM@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_GSO_IPXIP4@GOTPCREL(%rip), %r13
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rax
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_GSO_PARTIAL@GOTPCREL(%rip), %r12
	orl	(%rsi), %edi
	orl	(%rdx), %edi
	orl	(%r13), %edi
	orl	(%rax), %edi
	orl	(%rcx), %edi
	orl	(%r12), %edi
	movl	%edi, (%rbx)
	movl	(%r14), %r12d
	movl	(%r8), %eax
	movl	%eax, %edx
	orl	%r12d, %edx
	movl	(%r11), %r11d
	movl	(%r10), %r14d
	movl	%r11d, %ecx
	orl	%r14d, %ecx
	orl	%edx, %ecx
	movq	_NETIF_F_TSO_ECN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	(%r9), %edx
	movl	%r8d, %esi
	orl	%edx, %esi
	orl	%ecx, %esi
	orl	(%r13), %esi
	movq	_NETIF_F_GSO_GRE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %r13
	movq	_NETIF_F_GSO_GRE_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	orl	%r9d, %esi
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	%edi, %esi
	movq	_NETIF_F_GSO_PARTIAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, 4(%rbx)
	orl	%r9d, %edi
	movl	%edi, 8(%rbx)
LBB0_45:
	orl	%r8d, %edx
	orl	%r12d, %r14d
	orl	%r11d, %eax
	orl	%r14d, %eax
	orl	%edx, %eax
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %r14
	orl	(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_49
## %bb.46:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_48
## %bb.47:
	movl	$1, 4(%r15)
	jmp	LBB0_49
LBB0_48:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_49:
	movl	(%rbx), %eax
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	orl	16(%rbx), %ecx
	orl	(%r14), %ecx
	movl	%ecx, 16(%rbx)
	testl	%ecx, (%r13)
	je	LBB0_51
## %bb.50:
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, 16(%rbx)
LBB0_51:
	movq	_NETIF_F_LOOPBACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_ETH_MIN_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ETH_MAX_JUMBO_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_MDIO_PRTAD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	$0, 32(%r15)
	movq	_MDIO_SUPPORTS_C45@GOTPCREL(%rip), %rax
	movq	_MDIO_EMULATE_C22@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%r15)
	movq	%rbx, 24(%r15)
	movq	_bnx2x_mdio_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_bnx2x_mdio_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM57710,8,3                   ## @BCM57710
	.comm	_BCM57711,8,3                   ## @BCM57711
	.comm	_BCM57711E,8,3                  ## @BCM57711E
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot enable PCI device, aborting\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"Cannot find PCI device base address, aborting\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"Cannot find second PCI device base address, aborting\n"

	.comm	_PCICFG_REVISION_ID_OFFSET,4,2  ## @PCICFG_REVISION_ID_OFFSET
	.comm	_PCICFG_REVESION_ID_MASK,4,2    ## @PCICFG_REVESION_ID_MASK
	.comm	_PCICFG_REVESION_ID_ERROR_VAL,4,2 ## @PCICFG_REVESION_ID_ERROR_VAL
L_.str.3:                               ## @.str.3
	.asciz	"PCI device error, probably due to fan failure, aborting\n"

	.comm	_DRV_MODULE_NAME,4,2            ## @DRV_MODULE_NAME
L_.str.4:                               ## @.str.4
	.asciz	"Cannot obtain PCI resources, aborting\n"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot find power management capability, aborting\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.6:                               ## @.str.6
	.asciz	"Not PCI Express, aborting\n"

L_.str.7:                               ## @.str.7
	.asciz	"Cannot map register space, aborting\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCICFG_ME_REGISTER,4,2         ## @PCICFG_ME_REGISTER
	.comm	_ME_REG_ABS_PF_NUM,4,2          ## @ME_REG_ABS_PF_NUM
	.comm	_ME_REG_ABS_PF_NUM_SHIFT,4,2    ## @ME_REG_ABS_PF_NUM_SHIFT
L_.str.8:                               ## @.str.8
	.asciz	"me reg PF num: %d\n"

	.comm	_PCICFG_GRC_ADDRESS,4,2         ## @PCICFG_GRC_ADDRESS
	.comm	_PCICFG_VENDOR_ID_OFFSET,4,2    ## @PCICFG_VENDOR_ID_OFFSET
	.comm	_AER_ENABLED,4,2                ## @AER_ENABLED
L_.str.9:                               ## @.str.9
	.asciz	"Failed To configure PCIe AER [%d]\n"

	.comm	_PXP2_REG_PGL_ADDR_88_F0,4,2    ## @PXP2_REG_PGL_ADDR_88_F0
	.comm	_PXP2_REG_PGL_ADDR_8C_F0,4,2    ## @PXP2_REG_PGL_ADDR_8C_F0
	.comm	_PXP2_REG_PGL_ADDR_90_F0,4,2    ## @PXP2_REG_PGL_ADDR_90_F0
	.comm	_PXP2_REG_PGL_ADDR_94_F0,4,2    ## @PXP2_REG_PGL_ADDR_94_F0
	.comm	_PXP2_REG_PGL_ADDR_88_F1,4,2    ## @PXP2_REG_PGL_ADDR_88_F1
	.comm	_PXP2_REG_PGL_ADDR_8C_F1,4,2    ## @PXP2_REG_PGL_ADDR_8C_F1
	.comm	_PXP2_REG_PGL_ADDR_90_F1,4,2    ## @PXP2_REG_PGL_ADDR_90_F1
	.comm	_PXP2_REG_PGL_ADDR_94_F1,4,2    ## @PXP2_REG_PGL_ADDR_94_F1
	.comm	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ,4,2 ## @PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ
	.comm	_TX_TIMEOUT,4,2                 ## @TX_TIMEOUT
	.comm	_bnx2x_netdev_ops,4,2           ## @bnx2x_netdev_ops
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO_ECN,4,2            ## @NETIF_F_TSO_ECN
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_GSO_GRE,4,2            ## @NETIF_F_GSO_GRE
	.comm	_NETIF_F_GSO_GRE_CSUM,4,2       ## @NETIF_F_GSO_GRE_CSUM
	.comm	_NETIF_F_GSO_IPXIP4,4,2         ## @NETIF_F_GSO_IPXIP4
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ## @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.comm	_NETIF_F_GSO_PARTIAL,4,2        ## @NETIF_F_GSO_PARTIAL
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_LOOPBACK,4,2           ## @NETIF_F_LOOPBACK
	.comm	_ETH_MIN_PACKET_SIZE,4,2        ## @ETH_MIN_PACKET_SIZE
	.comm	_ETH_MAX_JUMBO_PACKET_SIZE,4,2  ## @ETH_MAX_JUMBO_PACKET_SIZE
	.comm	_MDIO_PRTAD_NONE,4,2            ## @MDIO_PRTAD_NONE
	.comm	_MDIO_SUPPORTS_C45,4,2          ## @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ## @MDIO_EMULATE_C22
	.comm	_bnx2x_mdio_read,4,2            ## @bnx2x_mdio_read
	.comm	_bnx2x_mdio_write,4,2           ## @bnx2x_mdio_write
	.comm	_bnx2x_dcbnl_ops,4,2            ## @bnx2x_dcbnl_ops
	.no_dead_strip	_bnx2x_init_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_init_dev
_bnx2x_init_dev:                        ; @bnx2x_init_dev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BCM57710@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCM57710@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BCM57711@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BCM57711@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x3
	ccmp	x9, x3, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w24, #1
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _BCM57711E@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BCM57711E@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x3
	cset	w24, eq
LBB0_3:
	add	x1, x21, #12
	mov	x0, x20
	bl	_SET_NETDEV_DEV
	str	x20, [x19, #72]
	str	x21, [x19, #56]
	mov	x0, x21
	bl	_pci_enable_device
	cbz	w0, LBB0_5
; %bb.4:
	mov	x23, x0
	ldr	x8, [x19, #56]
	add	x0, x8, #12
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_18
LBB0_5:
	mov	x0, x21
	mov	w1, #0
	bl	_pci_resource_flags
Lloh11:
	adrp	x22, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x22, [x22, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	w1, #2
	bl	_pci_resource_flags
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_14
LBB0_8:
Lloh13:
	adrp	x8, _PCICFG_REVISION_ID_OFFSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCICFG_REVISION_ID_OFFSET@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x21
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
Lloh16:
	adrp	x9, _PCICFG_REVESION_ID_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PCICFG_REVESION_ID_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh19:
	adrp	x9, _PCICFG_REVESION_ID_ERROR_VAL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PCICFG_REVESION_ID_ERROR_VAL@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.9:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	b	LBB0_16
LBB0_10:
	ldr	x8, [x19, #56]
	add	x0, x8, #12
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_11:
	add	x22, x21, #4
	mov	x0, x22
	bl	_atomic_read
	cmp	w0, #1
	b.ne	LBB0_20
; %bb.12:
Lloh26:
	adrp	x8, _DRV_MODULE_NAME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DRV_MODULE_NAME@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_request_regions
	cbz	w0, LBB0_19
; %bb.13:
	mov	x23, x0
	ldr	x8, [x19, #56]
	add	x0, x8, #12
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	b	LBB0_17
LBB0_14:
	ldr	x8, [x19, #56]
	add	x0, x8, #12
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_15:
	bl	_dev_err
LBB0_16:
Lloh33:
	adrp	x8, _ENODEV@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_17:
	mov	x0, x21
	bl	_pci_disable_device
LBB0_18:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
	mov	x0, x21
	bl	_pci_set_master
	mov	x0, x21
	bl	_pci_save_state
LBB0_20:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w8, [x21, #20]
	cbz	w8, LBB0_28
LBB0_22:
	mov	x0, x21
	bl	_pci_is_pcie
	cbz	w0, LBB0_27
; %bb.23:
	mov	x0, x19
	bl	_bnx2x_set_coherency_mask
	mov	x23, x0
	cbnz	w0, LBB0_31
; %bb.24:
	mov	x0, x21
	mov	w1, #0
	bl	_pci_resource_start
	stp	w0, w0, [x20, #68]
	mov	x0, x21
	mov	w1, #0
	bl	_pci_resource_end
	ldr	w8, [x21, #16]
	stp	w8, w0, [x20, #60]
	mov	x0, x21
	mov	w1, #0
	bl	_pci_ioremap_bar
	str	w0, [x19, #64]
	cbz	w0, LBB0_29
; %bb.25:
	cbz	w24, LBB0_33
; %bb.26:
	ldr	w0, [x21, #8]
	bl	_PCI_FUNC
	mov	x1, x0
	b	LBB0_34
LBB0_27:
Lloh36:
	adrp	x20, _EIO@GOTPAGE
Lloh37:
	ldr	x20, [x20, _EIO@GOTPAGEOFF]
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_30
LBB0_28:
Lloh40:
	adrp	x20, _EIO@GOTPAGE
Lloh41:
	ldr	x20, [x20, _EIO@GOTPAGEOFF]
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh44:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
Lloh46:
	adrp	x1, l_.str.7@PAGE
Lloh47:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
	ldr	x8, [x19, #56]
	add	x0, x8, #12
	bl	_dev_err
	ldr	w8, [x20]
	neg	w23, w8
LBB0_31:
	mov	x0, x22
	bl	_atomic_read
	cmp	w0, #1
	b.ne	LBB0_17
; %bb.32:
	mov	x0, x21
	bl	_pci_release_regions
	b	LBB0_17
LBB0_33:
	ldr	x0, [x19, #56]
Lloh48:
	adrp	x8, _PCICFG_ME_REGISTER@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PCICFG_ME_REGISTER@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
Lloh51:
	adrp	x9, _ME_REG_ABS_PF_NUM@GOTPAGE
Lloh52:
	ldr	x9, [x9, _ME_REG_ABS_PF_NUM@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh54:
	adrp	x9, _ME_REG_ABS_PF_NUM_SHIFT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ME_REG_ABS_PF_NUM_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	asr	w1, w8, w9
LBB0_34:
	str	w1, [x19]
Lloh57:
	adrp	x0, l_.str.8@PAGE
Lloh58:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_BNX2X_DEV_INFO
	ldr	x0, [x19, #56]
Lloh59:
	adrp	x8, _PCICFG_GRC_ADDRESS@GOTPAGE
Lloh60:
	ldr	x8, [x8, _PCICFG_GRC_ADDRESS@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
Lloh62:
	adrp	x8, _PCICFG_VENDOR_ID_OFFSET@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PCICFG_VENDOR_ID_OFFSET@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	bl	_pci_write_config_dword
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x21
	bl	_pci_enable_pcie_error_reporting
	cbz	w0, LBB0_36
; %bb.35:
	mov	x1, x0
Lloh65:
	adrp	x0, l_.str.9@PAGE
Lloh66:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_BNX2X_DEV_INFO
	b	LBB0_37
LBB0_36:
Lloh67:
	adrp	x8, _AER_ENABLED@GOTPAGE
Lloh68:
	ldr	x8, [x8, _AER_ENABLED@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	ldr	w9, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19, #48]
LBB0_37:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_42
; %bb.38:
Lloh70:
	adrp	x8, _PXP2_REG_PGL_ADDR_88_F0@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_88_F0@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh73:
	adrp	x8, _PXP2_REG_PGL_ADDR_8C_F0@GOTPAGE
Lloh74:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_8C_F0@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh76:
	adrp	x8, _PXP2_REG_PGL_ADDR_90_F0@GOTPAGE
Lloh77:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_90_F0@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh79:
	adrp	x8, _PXP2_REG_PGL_ADDR_94_F0@GOTPAGE
Lloh80:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_94_F0@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
	cbz	w24, LBB0_40
; %bb.39:
Lloh82:
	adrp	x8, _PXP2_REG_PGL_ADDR_88_F1@GOTPAGE
Lloh83:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_88_F1@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh85:
	adrp	x8, _PXP2_REG_PGL_ADDR_8C_F1@GOTPAGE
Lloh86:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_8C_F1@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh88:
	adrp	x8, _PXP2_REG_PGL_ADDR_90_F1@GOTPAGE
Lloh89:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_90_F1@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
	mov	w2, #0
Lloh91:
	adrp	x8, _PXP2_REG_PGL_ADDR_94_F1@GOTPAGE
Lloh92:
	ldr	x8, [x8, _PXP2_REG_PGL_ADDR_94_F1@GOTPAGEOFF]
	b	LBB0_41
LBB0_40:
	mov	w2, #1
Lloh93:
	adrp	x8, _PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPAGE
Lloh94:
	ldr	x8, [x8, _PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ@GOTPAGEOFF]
LBB0_41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_WR
LBB0_42:
Lloh95:
	adrp	x8, _TX_TIMEOUT@GOTPAGE
Lloh96:
	ldr	x8, [x8, _TX_TIMEOUT@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	str	w8, [x20, #56]
Lloh98:
	adrp	x8, _bnx2x_netdev_ops@GOTPAGE
Lloh99:
	ldr	x8, [x8, _bnx2x_netdev_ops@GOTPAGEOFF]
	str	x8, [x20, #48]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_set_ethtool_ops
Lloh100:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh101:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh102:
	ldr	w8, [x8]
	ldr	w9, [x20, #40]
	orr	w8, w9, w8
	str	w8, [x20, #40]
Lloh103:
	adrp	x11, _NETIF_F_SG@GOTPAGE
Lloh104:
	ldr	x11, [x11, _NETIF_F_SG@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh105:
	adrp	x12, _NETIF_F_IP_CSUM@GOTPAGE
Lloh106:
	ldr	x12, [x12, _NETIF_F_IP_CSUM@GOTPAGEOFF]
	ldr	w9, [x12]
	orr	w8, w9, w8
Lloh107:
	adrp	x13, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh108:
	ldr	x13, [x13, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
	ldr	w9, [x13]
Lloh109:
	adrp	x10, _NETIF_F_TSO@GOTPAGE
Lloh110:
	ldr	x10, [x10, _NETIF_F_TSO@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh111:
	adrp	x9, _NETIF_F_TSO_ECN@GOTPAGE
Lloh112:
	ldr	x9, [x9, _NETIF_F_TSO_ECN@GOTPAGEOFF]
	ldr	w14, [x9]
	orr	w14, w8, w14
Lloh113:
	adrp	x8, _NETIF_F_TSO6@GOTPAGE
Lloh114:
	ldr	x8, [x8, _NETIF_F_TSO6@GOTPAGEOFF]
	ldr	w15, [x8]
Lloh115:
	adrp	x16, _NETIF_F_RXCSUM@GOTPAGE
Lloh116:
	ldr	x16, [x16, _NETIF_F_RXCSUM@GOTPAGEOFF]
	orr	w14, w14, w15
Lloh117:
	ldr	w15, [x16]
	orr	w14, w14, w15
Lloh118:
	adrp	x21, _NETIF_F_LRO@GOTPAGE
Lloh119:
	ldr	x21, [x21, _NETIF_F_LRO@GOTPAGEOFF]
	ldr	w15, [x21]
	orr	w14, w14, w15
Lloh120:
	adrp	x15, _NETIF_F_GRO@GOTPAGE
Lloh121:
	ldr	x15, [x15, _NETIF_F_GRO@GOTPAGEOFF]
Lloh122:
	ldr	w15, [x15]
Lloh123:
	adrp	x22, _NETIF_F_GRO_HW@GOTPAGE
Lloh124:
	ldr	x22, [x22, _NETIF_F_GRO_HW@GOTPAGEOFF]
	orr	w14, w14, w15
	ldr	w15, [x22]
	orr	w14, w14, w15
Lloh125:
	adrp	x15, _NETIF_F_RXHASH@GOTPAGE
Lloh126:
	ldr	x15, [x15, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh127:
	ldr	w15, [x15]
	orr	w14, w14, w15
Lloh128:
	adrp	x15, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh129:
	ldr	x15, [x15, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh130:
	ldr	w15, [x15]
	orr	w14, w14, w15
	str	w14, [x20]
	cbz	w24, LBB0_44
; %bb.43:
	ldr	w11, [x11]
	ldr	w12, [x12]
	ldr	w13, [x13]
	ldr	w10, [x10]
	ldr	w9, [x9]
	ldr	w8, [x8]
	b	LBB0_45
LBB0_44:
Lloh131:
	adrp	x15, _NETIF_F_GSO_GRE@GOTPAGE
Lloh132:
	ldr	x15, [x15, _NETIF_F_GSO_GRE@GOTPAGEOFF]
	ldr	w16, [x15]
Lloh133:
	adrp	x17, _NETIF_F_GSO_GRE_CSUM@GOTPAGE
Lloh134:
	ldr	x17, [x17, _NETIF_F_GSO_GRE_CSUM@GOTPAGEOFF]
	ldr	w0, [x17]
Lloh135:
	adrp	x1, _NETIF_F_GSO_IPXIP4@GOTPAGE
Lloh136:
	ldr	x1, [x1, _NETIF_F_GSO_IPXIP4@GOTPAGEOFF]
	ldr	w2, [x1]
Lloh137:
	adrp	x3, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh138:
	ldr	x3, [x3, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
	ldr	w4, [x3]
Lloh139:
	adrp	x5, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGE
Lloh140:
	ldr	x5, [x5, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGEOFF]
	ldr	w6, [x5]
Lloh141:
	adrp	x7, _NETIF_F_GSO_PARTIAL@GOTPAGE
Lloh142:
	ldr	x7, [x7, _NETIF_F_GSO_PARTIAL@GOTPAGEOFF]
	ldr	w23, [x7]
	orr	w14, w16, w14
	orr	w14, w14, w0
	orr	w14, w14, w2
	orr	w14, w14, w4
	orr	w14, w14, w6
	orr	w14, w14, w23
	str	w14, [x20]
	ldr	w12, [x12]
	ldr	w13, [x13]
	orr	w14, w13, w12
	ldr	w11, [x11]
	orr	w14, w14, w11
	ldr	w10, [x10]
	orr	w14, w14, w10
	ldr	w9, [x9]
	orr	w14, w14, w9
	ldr	w8, [x8]
	orr	w14, w14, w8
	ldr	w16, [x1]
	orr	w14, w14, w16
	ldr	w15, [x15]
	orr	w14, w14, w15
	ldr	w15, [x17]
	orr	w14, w14, w15
	ldr	w16, [x3]
	orr	w14, w14, w16
	ldr	w16, [x5]
	orr	w14, w14, w16
	ldr	w17, [x7]
	orr	w14, w14, w17
	orr	w15, w16, w15
	stp	w14, w15, [x20, #4]
LBB0_45:
	orr	w11, w12, w11
	orr	w11, w11, w13
	orr	w10, w11, w10
	orr	w9, w10, w9
	orr	w8, w9, w8
Lloh143:
	adrp	x23, _NETIF_F_HIGHDMA@GOTPAGE
Lloh144:
	ldr	x23, [x23, _NETIF_F_HIGHDMA@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
	str	w8, [x20, #12]
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_49
; %bb.46:
	cbz	w24, LBB0_48
; %bb.47:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_49
LBB0_48:
Lloh145:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh146:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh147:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_49:
	ldr	w8, [x20]
Lloh148:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh149:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh150:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	w10, [x20, #16]
	orr	w9, w9, w10
	ldr	w10, [x23]
	orr	w9, w10, w9
	str	w9, [x20, #16]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_51
; %bb.50:
	ldr	w10, [x22]
	bic	w9, w9, w10
	str	w9, [x20, #16]
LBB0_51:
	mov	w23, #0
Lloh151:
	adrp	x9, _NETIF_F_LOOPBACK@GOTPAGE
Lloh152:
	ldr	x9, [x9, _NETIF_F_LOOPBACK@GOTPAGEOFF]
Lloh153:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh154:
	adrp	x8, _ETH_MIN_PACKET_SIZE@GOTPAGE
Lloh155:
	ldr	x8, [x8, _ETH_MIN_PACKET_SIZE@GOTPAGEOFF]
Lloh156:
	ldr	w8, [x8]
Lloh157:
	adrp	x9, _ETH_MAX_JUMBO_PACKET_SIZE@GOTPAGE
Lloh158:
	ldr	x9, [x9, _ETH_MAX_JUMBO_PACKET_SIZE@GOTPAGEOFF]
Lloh159:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #20]
Lloh160:
	adrp	x8, _MDIO_PRTAD_NONE@GOTPAGE
Lloh161:
	ldr	x8, [x8, _MDIO_PRTAD_NONE@GOTPAGEOFF]
Lloh162:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh163:
	adrp	x8, _MDIO_SUPPORTS_C45@GOTPAGE
Lloh164:
	ldr	x8, [x8, _MDIO_SUPPORTS_C45@GOTPAGEOFF]
Lloh165:
	ldr	w8, [x8]
Lloh166:
	adrp	x9, _MDIO_EMULATE_C22@GOTPAGE
Lloh167:
	ldr	x9, [x9, _MDIO_EMULATE_C22@GOTPAGEOFF]
Lloh168:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	x20, xzr, [x19, #24]
Lloh169:
	adrp	x9, _bnx2x_mdio_read@GOTPAGE
Lloh170:
	ldr	x9, [x9, _bnx2x_mdio_read@GOTPAGEOFF]
Lloh171:
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh172:
	adrp	x9, _bnx2x_mdio_write@GOTPAGE
Lloh173:
	ldr	x9, [x9, _bnx2x_mdio_write@GOTPAGEOFF]
Lloh174:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh141, Lloh142
	.loh AdrpLdrGot	Lloh139, Lloh140
	.loh AdrpLdrGot	Lloh137, Lloh138
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGot	Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM57710,8,3                   ; @BCM57710
	.comm	_BCM57711,8,3                   ; @BCM57711
	.comm	_BCM57711E,8,3                  ; @BCM57711E
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot enable PCI device, aborting\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"Cannot find PCI device base address, aborting\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"Cannot find second PCI device base address, aborting\n"

	.comm	_PCICFG_REVISION_ID_OFFSET,4,2  ; @PCICFG_REVISION_ID_OFFSET
	.comm	_PCICFG_REVESION_ID_MASK,4,2    ; @PCICFG_REVESION_ID_MASK
	.comm	_PCICFG_REVESION_ID_ERROR_VAL,4,2 ; @PCICFG_REVESION_ID_ERROR_VAL
l_.str.3:                               ; @.str.3
	.asciz	"PCI device error, probably due to fan failure, aborting\n"

	.comm	_DRV_MODULE_NAME,4,2            ; @DRV_MODULE_NAME
l_.str.4:                               ; @.str.4
	.asciz	"Cannot obtain PCI resources, aborting\n"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot find power management capability, aborting\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.6:                               ; @.str.6
	.asciz	"Not PCI Express, aborting\n"

l_.str.7:                               ; @.str.7
	.asciz	"Cannot map register space, aborting\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCICFG_ME_REGISTER,4,2         ; @PCICFG_ME_REGISTER
	.comm	_ME_REG_ABS_PF_NUM,4,2          ; @ME_REG_ABS_PF_NUM
	.comm	_ME_REG_ABS_PF_NUM_SHIFT,4,2    ; @ME_REG_ABS_PF_NUM_SHIFT
l_.str.8:                               ; @.str.8
	.asciz	"me reg PF num: %d\n"

	.comm	_PCICFG_GRC_ADDRESS,4,2         ; @PCICFG_GRC_ADDRESS
	.comm	_PCICFG_VENDOR_ID_OFFSET,4,2    ; @PCICFG_VENDOR_ID_OFFSET
	.comm	_AER_ENABLED,4,2                ; @AER_ENABLED
l_.str.9:                               ; @.str.9
	.asciz	"Failed To configure PCIe AER [%d]\n"

	.comm	_PXP2_REG_PGL_ADDR_88_F0,4,2    ; @PXP2_REG_PGL_ADDR_88_F0
	.comm	_PXP2_REG_PGL_ADDR_8C_F0,4,2    ; @PXP2_REG_PGL_ADDR_8C_F0
	.comm	_PXP2_REG_PGL_ADDR_90_F0,4,2    ; @PXP2_REG_PGL_ADDR_90_F0
	.comm	_PXP2_REG_PGL_ADDR_94_F0,4,2    ; @PXP2_REG_PGL_ADDR_94_F0
	.comm	_PXP2_REG_PGL_ADDR_88_F1,4,2    ; @PXP2_REG_PGL_ADDR_88_F1
	.comm	_PXP2_REG_PGL_ADDR_8C_F1,4,2    ; @PXP2_REG_PGL_ADDR_8C_F1
	.comm	_PXP2_REG_PGL_ADDR_90_F1,4,2    ; @PXP2_REG_PGL_ADDR_90_F1
	.comm	_PXP2_REG_PGL_ADDR_94_F1,4,2    ; @PXP2_REG_PGL_ADDR_94_F1
	.comm	_PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ,4,2 ; @PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ
	.comm	_TX_TIMEOUT,4,2                 ; @TX_TIMEOUT
	.comm	_bnx2x_netdev_ops,4,2           ; @bnx2x_netdev_ops
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO_ECN,4,2            ; @NETIF_F_TSO_ECN
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_GSO_GRE,4,2            ; @NETIF_F_GSO_GRE
	.comm	_NETIF_F_GSO_GRE_CSUM,4,2       ; @NETIF_F_GSO_GRE_CSUM
	.comm	_NETIF_F_GSO_IPXIP4,4,2         ; @NETIF_F_GSO_IPXIP4
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ; @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.comm	_NETIF_F_GSO_PARTIAL,4,2        ; @NETIF_F_GSO_PARTIAL
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_LOOPBACK,4,2           ; @NETIF_F_LOOPBACK
	.comm	_ETH_MIN_PACKET_SIZE,4,2        ; @ETH_MIN_PACKET_SIZE
	.comm	_ETH_MAX_JUMBO_PACKET_SIZE,4,2  ; @ETH_MAX_JUMBO_PACKET_SIZE
	.comm	_MDIO_PRTAD_NONE,4,2            ; @MDIO_PRTAD_NONE
	.comm	_MDIO_SUPPORTS_C45,4,2          ; @MDIO_SUPPORTS_C45
	.comm	_MDIO_EMULATE_C22,4,2           ; @MDIO_EMULATE_C22
	.comm	_bnx2x_mdio_read,4,2            ; @bnx2x_mdio_read
	.comm	_bnx2x_mdio_write,4,2           ; @bnx2x_mdio_write
	.comm	_bnx2x_dcbnl_ops,4,2            ; @bnx2x_dcbnl_ops
	.no_dead_strip	_bnx2x_init_dev
.subsections_via_symbols
