	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bcm_enet_open
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bcm_enet_open:                         ## @bcm_enet_open
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MII_BUS_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$3, %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	208(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, 200(%r13)
	je	LBB0_1
## %bb.2:
	movq	_PHY_ID_FMT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	192(%r13), %rax
	movl	(%rax), %ecx
	movl	184(%r13), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	movq	_bcm_enet_adjust_phy_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PHY_INTERFACE_MODE_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_phy_connect
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_49
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_phy_support_sym_pause
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_phy_set_max_speed
	movl	176(%r13), %ecx
	movl	180(%r13), %edx
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_phy_set_sym_pause
	movq	%r14, %rdi
	callq	_phy_attached_info
	movq	$0, 168(%r13)
	movq	$-1, (%r13)
LBB0_5:
	movq	_ENET_IRMASK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_writel
	movq	_ENETDMAC_IRMASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmac_writel
	movq	_bcm_enet_isr_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edi
	movl	8(%r15), %ecx
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_32
## %bb.6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	52(%r13), %edi
	movq	_bcm_enet_isr_dma@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	8(%r15), %ecx
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_31
## %bb.7:
	movl	56(%r13), %edi
	movl	(%r12), %esi
	movl	8(%r15), %ecx
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_30
## %bb.8:
	xorl	%edi, %edi
	callq	_ENET_PML_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	xorl	%edi, %edi
	callq	_ENET_PMH_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$1, %edi
	callq	_ENET_PML_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$1, %edi
	callq	_ENET_PMH_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$2, %edi
	callq	_ENET_PML_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$2, %edi
	callq	_ENET_PMH_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$3, %edi
	callq	_ENET_PML_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	$3, %edi
	callq	_ENET_PMH_REG
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	-72(%rbp), %edi
	movl	4(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_bcm_enet_set_mac_address
	movl	8(%r13), %ebx
	shll	$2, %ebx
	leaq	12(%r13), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	%ebx, 16(%r13)
	movq	%rax, 64(%r13)
	movl	20(%r13), %ebx
	shll	$2, %ebx
	leaq	24(%r13), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dma_alloc_coherent
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	%ebx, 28(%r13)
	movq	%rax, 72(%r13)
	movl	20(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 80(%r13)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movl	20(%r13), %eax
	movl	%eax, 32(%r13)
	leaq	144(%r13), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%r13)
	callq	_spin_lock_init
	movl	8(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 88(%r13)
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 120(%r13)
	movq	$0, 136(%r13)
	cmpq	$0, 112(%r13)
	movq	_ENETDMA_BUFALLOC_FORCE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_18
## %bb.17:
	movl	104(%r13), %edi
	callq	_ENETDMA_BUFALLOC_REG
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_enet_dma_writel
	jmp	LBB0_19
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_29
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_28
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_27
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_26
LBB0_18:
	movq	_ENETDMAC_BUFALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_enet_dmac_writel
LBB0_19:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_bcm_enet_refill_rx
	testq	%rax, %rax
	je	LBB0_34
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.21:
	xorl	%r12d, %r12d
	jmp	LBB0_22
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	88(%r13), %rcx
	cmpl	$0, (%rcx,%r12,4)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	64(%r13), %rax
	movl	(%rax,%r12,4), %esi
	movl	96(%r13), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dma_unmap_single
	movq	88(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_kfree_skb
	movl	8(%r13), %eax
	jmp	LBB0_24
LBB0_25:
	movq	88(%r13), %rdi
	callq	_kfree
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_26:
	movq	80(%r13), %rdi
	callq	_kfree
LBB0_27:
	movl	24(%r13), %ecx
	movl	28(%r13), %esi
	movq	72(%r13), %rdx
	movq	%r12, %rdi
	callq	_dma_free_coherent
LBB0_28:
	movl	12(%r13), %ecx
	movl	16(%r13), %esi
	movq	64(%r13), %rdx
	movq	%r12, %rdi
	callq	_dma_free_coherent
LBB0_29:
	negl	%ebx
	movl	56(%r13), %edi
	movq	%r15, %rsi
	callq	_free_irq
LBB0_30:
	movl	52(%r13), %edi
	movq	%r15, %rsi
	callq	_free_irq
LBB0_31:
	movl	(%r15), %edi
	movq	%r15, %rsi
	callq	_free_irq
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_32:
	testq	%r14, %r14
	je	LBB0_49
## %bb.33:
	movq	%r14, %rdi
	callq	_phy_disconnect
LBB0_49:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_51
## %bb.50:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	cmpq	$0, 112(%r13)
	movl	12(%r13), %esi
	je	LBB0_36
## %bb.35:
	movq	_ENETDMAS_RSTART_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmas_writel
	movl	(%rbx), %edx
	movl	24(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmas_writel
	jmp	LBB0_37
LBB0_36:
	movq	_ENETDMAC_RSTART@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	24(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
LBB0_37:
	cmpq	$0, 112(%r13)
	je	LBB0_39
## %bb.38:
	movq	_ENETDMAS_SRAM2_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	movl	(%rbx), %edx
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	movq	_ENETDMAS_SRAM3_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	movl	(%rbx), %edx
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	movq	_ENETDMAS_SRAM4_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	movl	(%rbx), %edx
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmas_writel
	jmp	LBB0_40
LBB0_39:
	movq	_ENETDMAC_FC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_enet_dmac_writel
LBB0_40:
	movl	36(%r13), %esi
	movq	_ENET_RXMAXLEN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_writel
	movl	36(%r13), %esi
	movq	_ENET_TXMAXLEN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_writel
	movq	_ENETDMAC_MAXBURST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	40(%r13), %esi
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	40(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movq	_BCMENET_TX_FIFO_TRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENET_TXWMARK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_writel
	cmpq	$0, 112(%r13)
	je	LBB0_42
## %bb.41:
	movslq	8(%r13), %rax
	imulq	$1431655766, %rax, %rbx         ## imm = 0x55555556
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	addl	%eax, %ebx
	movl	104(%r13), %edi
	callq	_ENETDMA_FLOWCL_REG
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_enet_dma_writel
	movl	8(%r13), %eax
	movl	104(%r13), %edi
	addl	%eax, %eax
	cltq
	imulq	$1431655766, %rax, %rbx         ## imm = 0x55555556
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	addl	%eax, %ebx
	callq	_ENETDMA_FLOWCH_REG
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_enet_dma_writel
	jmp	LBB0_43
LBB0_42:
	movq	_ENETDMAC_FC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	movl	$5, %esi
	callq	_enet_dmac_writel
	movq	_ENETDMAC_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	8(%r13), %esi
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	20(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
LBB0_43:
	xorl	%eax, %eax
	callq	_wmb
	movq	_ENET_CTL_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_enet_readl
	movq	_ENET_CTL_ENABLE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_enet_writel
	cmpq	$0, 112(%r13)
	je	LBB0_45
## %bb.44:
	movq	_ENETDMA_CFG_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENETDMA_CFG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_dma_writel
LBB0_45:
	movq	_ENETDMAC_CHANCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	44(%r13), %esi
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movq	_ENET_IR_MIB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ENET_IR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_writel
	movl	(%rbx), %esi
	movq	_ENET_IRMASK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_enet_writel
	movq	_ENETDMAC_IR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	48(%r13), %esi
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	48(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movq	%r13, %rdi
	addq	$108, %rdi
	callq	_napi_enable
	movq	_ENETDMAC_IRMASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	48(%r13), %esi
	movl	104(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	movl	(%rbx), %edx
	movl	48(%r13), %esi
	movl	100(%r13), %ecx
	movq	%r13, %rdi
	callq	_enet_dmac_writel
	testq	%r14, %r14
	je	LBB0_47
## %bb.46:
	movq	%r14, %rdi
	callq	_phy_start
	jmp	LBB0_48
LBB0_47:
	movq	%r15, %rdi
	callq	_bcm_enet_adjust_link
LBB0_48:
	movq	%r15, %rdi
	callq	_netif_start_queue
	xorl	%ebx, %ebx
	jmp	LBB0_49
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BUS_ID_SIZE,4,2            ## @MII_BUS_ID_SIZE
	.comm	_PHY_ID_FMT,8,3                 ## @PHY_ID_FMT
	.comm	_bcm_enet_adjust_phy_link,4,2   ## @bcm_enet_adjust_phy_link
	.comm	_PHY_INTERFACE_MODE_MII,4,2     ## @PHY_INTERFACE_MODE_MII
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not attach to PHY\n"

	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_ENET_IRMASK_REG,4,2            ## @ENET_IRMASK_REG
	.comm	_ENETDMAC_IRMASK,4,2            ## @ENETDMAC_IRMASK
	.comm	_bcm_enet_isr_mac,4,2           ## @bcm_enet_isr_mac
	.comm	_bcm_enet_isr_dma,4,2           ## @bcm_enet_isr_dma
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENETDMA_BUFALLOC_FORCE_MASK,4,2 ## @ENETDMA_BUFALLOC_FORCE_MASK
	.comm	_ENETDMAC_BUFALLOC,4,2          ## @ENETDMAC_BUFALLOC
L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate rx skb queue\n"

	.comm	_ENETDMAS_RSTART_REG,4,2        ## @ENETDMAS_RSTART_REG
	.comm	_ENETDMAC_RSTART,4,2            ## @ENETDMAC_RSTART
	.comm	_ENETDMAS_SRAM2_REG,4,2         ## @ENETDMAS_SRAM2_REG
	.comm	_ENETDMAS_SRAM3_REG,4,2         ## @ENETDMAS_SRAM3_REG
	.comm	_ENETDMAS_SRAM4_REG,4,2         ## @ENETDMAS_SRAM4_REG
	.comm	_ENETDMAC_FC,4,2                ## @ENETDMAC_FC
	.comm	_ENET_RXMAXLEN_REG,4,2          ## @ENET_RXMAXLEN_REG
	.comm	_ENET_TXMAXLEN_REG,4,2          ## @ENET_TXMAXLEN_REG
	.comm	_ENETDMAC_MAXBURST,4,2          ## @ENETDMAC_MAXBURST
	.comm	_BCMENET_TX_FIFO_TRESH,4,2      ## @BCMENET_TX_FIFO_TRESH
	.comm	_ENET_TXWMARK_REG,4,2           ## @ENET_TXWMARK_REG
	.comm	_ENETDMAC_LEN,4,2               ## @ENETDMAC_LEN
	.comm	_ENET_CTL_REG,4,2               ## @ENET_CTL_REG
	.comm	_ENET_CTL_ENABLE_MASK,4,2       ## @ENET_CTL_ENABLE_MASK
	.comm	_ENETDMA_CFG_EN_MASK,4,2        ## @ENETDMA_CFG_EN_MASK
	.comm	_ENETDMA_CFG_REG,4,2            ## @ENETDMA_CFG_REG
	.comm	_ENETDMAC_CHANCFG,4,2           ## @ENETDMAC_CHANCFG
	.comm	_ENET_IR_MIB,4,2                ## @ENET_IR_MIB
	.comm	_ENET_IR_REG,4,2                ## @ENET_IR_REG
	.comm	_ENETDMAC_IR,4,2                ## @ENETDMAC_IR
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_bcm_enet_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enet_open
_bcm_enet_open:                         ; @bcm_enet_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MII_BUS_ID_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_BUS_ID_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w23, w8, #3
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_netdev_priv
	mov	x21, x0
	ldp	x8, x22, [x0, #200]
	cbz	x8, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _PHY_ID_FMT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHY_ID_FMT@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	ldr	x8, [x21, #192]
	ldr	w3, [x8]
	ldr	w4, [x21, #184]
	mov	x0, x20
	mov	x1, x23
	bl	_snprintf
Lloh11:
	adrp	x8, _bcm_enet_adjust_phy_link@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bcm_enet_adjust_phy_link@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _PHY_INTERFACE_MODE_MII@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_MII@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_phy_connect
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	mov	x0, x20
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_34
LBB0_3:
	mov	x20, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_phy_support_sym_pause
Lloh19:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_phy_set_max_speed
	ldp	w3, w1, [x21, #176]
	mov	x0, x20
	mov	x2, x1
	bl	_phy_set_sym_pause
	mov	x0, x20
	bl	_phy_attached_info
	str	xzr, [x21, #168]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x21]
LBB0_5:
Lloh22:
	adrp	x26, _ENET_IRMASK_REG@GOTPAGE
Lloh23:
	ldr	x26, [x26, _ENET_IRMASK_REG@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
Lloh24:
	adrp	x25, _ENETDMAC_IRMASK@GOTPAGE
Lloh25:
	ldr	x25, [x25, _ENETDMAC_IRMASK@GOTPAGEOFF]
	ldr	w2, [x25]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmac_writel
	ldr	w2, [x25]
	ldr	w3, [x21, #100]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmac_writel
	ldr	w0, [x19]
Lloh26:
	adrp	x8, _bcm_enet_isr_mac@GOTPAGE
Lloh27:
	ldr	x8, [x8, _bcm_enet_isr_mac@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_32
; %bb.6:
	ldr	w0, [x21, #52]
Lloh29:
	adrp	x27, _bcm_enet_isr_dma@GOTPAGE
Lloh30:
	ldr	x27, [x27, _bcm_enet_isr_dma@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w3, [x19, #8]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_31
; %bb.7:
	ldr	w0, [x21, #56]
	ldr	w1, [x27]
	ldr	w3, [x19, #8]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_30
; %bb.8:
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #0
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #1
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #1
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #2
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #2
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #3
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	mov	w0, #3
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_enet_writel
	ldur	w0, [x29, #-96]
	ldr	w1, [x19, #4]
Lloh31:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	bl	_memcpy
	sub	x1, x29, #96
	mov	x0, x19
	bl	_bcm_enet_set_mac_address
	ldr	w8, [x21, #8]
	lsl	w23, w8, #2
	add	x2, x21, #12
Lloh34:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh35:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x0, x22
	mov	x1, x23
	bl	_dma_alloc_coherent
	cbz	x0, LBB0_14
; %bb.9:
	str	w23, [x21, #16]
	str	x0, [x21, #64]
	ldr	w8, [x21, #20]
	lsl	w23, w8, #2
	add	x2, x21, #24
	ldr	w3, [x27]
	mov	x0, x22
	mov	x1, x23
	bl	_dma_alloc_coherent
	cbz	x0, LBB0_15
; %bb.10:
	str	w23, [x21, #28]
	str	x0, [x21, #72]
	ldr	w0, [x21, #20]
	ldr	w2, [x27]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x21, #80]
	cbz	x0, LBB0_16
; %bb.11:
	ldr	w8, [x21, #20]
	str	w8, [x21, #32]
	add	x0, x21, #144
	stp	xzr, xzr, [x21, #152]
	bl	_spin_lock_init
	ldr	w0, [x21, #8]
	ldr	w2, [x27]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x21, #88]
	cbz	x0, LBB0_17
; %bb.12:
	stp	xzr, xzr, [x21, #120]
	str	xzr, [x21, #136]
	ldr	x8, [x21, #112]
Lloh36:
	adrp	x9, _ENETDMA_BUFALLOC_FORCE_MASK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ENETDMA_BUFALLOC_FORCE_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w23, [x9]
	cbz	x8, LBB0_18
; %bb.13:
	ldr	w0, [x21, #104]
	bl	_ENETDMA_BUFALLOC_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_enet_dma_writel
	b	LBB0_19
LBB0_14:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w23, [x8]
	b	LBB0_29
LBB0_15:
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh44:
	ldr	w23, [x8]
	b	LBB0_28
LBB0_16:
Lloh45:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh47:
	ldr	w23, [x8]
	b	LBB0_27
LBB0_17:
Lloh48:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh50:
	ldr	w23, [x8]
	b	LBB0_26
LBB0_18:
Lloh51:
	adrp	x8, _ENETDMAC_BUFALLOC@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENETDMAC_BUFALLOC@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	x1, x23
	bl	_enet_dmac_writel
LBB0_19:
	mov	x0, x19
	bl	_bcm_enet_refill_rx
	cbz	x0, LBB0_36
; %bb.20:
Lloh54:
	adrp	x1, l_.str.1@PAGE
Lloh55:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_dev_err
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w23, [x8]
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.21:
	mov	x25, #0
Lloh59:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh60:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_25
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #88]
	ldr	w9, [x9, x25, lsl #2]
	cbz	w9, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x21, #64]
	lsl	x27, x25, #2
	ldr	w1, [x8, x27]
	ldr	w2, [x21, #96]
	ldr	w3, [x26]
	mov	x0, x22
	bl	_dma_unmap_single
	ldr	x8, [x21, #88]
	ldr	w0, [x8, x27]
	bl	_kfree_skb
	ldr	w8, [x21, #8]
	b	LBB0_22
LBB0_25:
	ldr	x0, [x21, #88]
	bl	_kfree
LBB0_26:
	ldr	x0, [x21, #80]
	bl	_kfree
LBB0_27:
	ldr	x2, [x21, #72]
	ldp	w3, w1, [x21, #24]
	mov	x0, x22
	bl	_dma_free_coherent
LBB0_28:
	ldr	x2, [x21, #64]
	ldp	w3, w1, [x21, #12]
	mov	x0, x22
	bl	_dma_free_coherent
LBB0_29:
	neg	w23, w23
	ldr	w0, [x21, #56]
	mov	x1, x19
	bl	_free_irq
LBB0_30:
	ldr	w0, [x21, #52]
	mov	x1, x19
	bl	_free_irq
LBB0_31:
	ldr	w0, [x19]
	mov	x1, x19
	bl	_free_irq
LBB0_32:
	cbz	x20, LBB0_34
; %bb.33:
	mov	x0, x20
	bl	_phy_disconnect
LBB0_34:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh61:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh62:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.35:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_36:
	ldr	x8, [x21, #112]
	ldr	w1, [x21, #12]
	cbz	x8, LBB0_38
; %bb.37:
Lloh64:
	adrp	x22, _ENETDMAS_RSTART_REG@GOTPAGE
Lloh65:
	ldr	x22, [x22, _ENETDMAS_RSTART_REG@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmas_writel
	ldr	w1, [x21, #24]
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmas_writel
	b	LBB0_39
LBB0_38:
Lloh66:
	adrp	x22, _ENETDMAC_RSTART@GOTPAGE
Lloh67:
	ldr	x22, [x22, _ENETDMAC_RSTART@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
	ldr	w1, [x21, #24]
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmac_writel
LBB0_39:
	ldr	x8, [x21, #112]
	cbz	x8, LBB0_41
; %bb.40:
Lloh68:
	adrp	x22, _ENETDMAS_SRAM2_REG@GOTPAGE
Lloh69:
	ldr	x22, [x22, _ENETDMAS_SRAM2_REG@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
Lloh70:
	adrp	x22, _ENETDMAS_SRAM3_REG@GOTPAGE
Lloh71:
	ldr	x22, [x22, _ENETDMAS_SRAM3_REG@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
Lloh72:
	adrp	x22, _ENETDMAS_SRAM4_REG@GOTPAGE
Lloh73:
	ldr	x22, [x22, _ENETDMAS_SRAM4_REG@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmas_writel
	b	LBB0_42
LBB0_41:
Lloh74:
	adrp	x22, _ENETDMAC_FC@GOTPAGE
Lloh75:
	ldr	x22, [x22, _ENETDMAC_FC@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmac_writel
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	mov	w1, #0
	bl	_enet_dmac_writel
LBB0_42:
	ldr	w1, [x21, #36]
Lloh76:
	adrp	x8, _ENET_RXMAXLEN_REG@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ENET_RXMAXLEN_REG@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enet_writel
	ldr	w1, [x21, #36]
Lloh79:
	adrp	x8, _ENET_TXMAXLEN_REG@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENET_TXMAXLEN_REG@GOTPAGEOFF]
Lloh81:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enet_writel
	ldr	w1, [x21, #40]
Lloh82:
	adrp	x22, _ENETDMAC_MAXBURST@GOTPAGE
Lloh83:
	ldr	x22, [x22, _ENETDMAC_MAXBURST@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
	ldr	w1, [x21, #40]
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmac_writel
Lloh84:
	adrp	x8, _BCMENET_TX_FIFO_TRESH@GOTPAGE
Lloh85:
	ldr	x8, [x8, _BCMENET_TX_FIFO_TRESH@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
Lloh87:
	adrp	x8, _ENET_TXWMARK_REG@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ENET_TXWMARK_REG@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enet_writel
	ldr	x8, [x21, #112]
	cbz	x8, LBB0_44
; %bb.43:
	ldrsw	x8, [x21, #8]
	mov	w23, #21846
	movk	w23, #21845, lsl #16
	mul	x8, x8, x23
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w22, w8, w9
	ldr	w0, [x21, #104]
	bl	_ENETDMA_FLOWCL_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_enet_dma_writel
	ldr	w8, [x21, #8]
	lsl	w8, w8, #1
	smull	x8, w8, w23
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w22, w8, w9
	ldr	w0, [x21, #104]
	bl	_ENETDMA_FLOWCH_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_enet_dma_writel
	b	LBB0_45
LBB0_44:
Lloh90:
	adrp	x8, _ENETDMAC_FC@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ENETDMAC_FC@GOTPAGEOFF]
Lloh92:
	ldr	w2, [x8]
	ldr	w3, [x21, #104]
	mov	x0, x21
	mov	w1, #5
	bl	_enet_dmac_writel
	ldr	w1, [x21, #8]
Lloh93:
	adrp	x22, _ENETDMAC_LEN@GOTPAGE
Lloh94:
	ldr	x22, [x22, _ENETDMAC_LEN@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
	ldr	w1, [x21, #20]
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmac_writel
LBB0_45:
	bl	_wmb
Lloh95:
	adrp	x22, _ENET_CTL_REG@GOTPAGE
Lloh96:
	ldr	x22, [x22, _ENET_CTL_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_enet_readl
Lloh97:
	adrp	x8, _ENET_CTL_ENABLE_MASK@GOTPAGE
Lloh98:
	ldr	x8, [x8, _ENET_CTL_ENABLE_MASK@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w2, [x22]
	mov	x0, x21
	bl	_enet_writel
	ldr	x8, [x21, #112]
	cbz	x8, LBB0_47
; %bb.46:
Lloh100:
	adrp	x8, _ENETDMA_CFG_EN_MASK@GOTPAGE
Lloh101:
	ldr	x8, [x8, _ENETDMA_CFG_EN_MASK@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
Lloh103:
	adrp	x8, _ENETDMA_CFG_REG@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ENETDMA_CFG_REG@GOTPAGEOFF]
Lloh105:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enet_dma_writel
LBB0_47:
	ldr	w1, [x21, #44]
Lloh106:
	adrp	x8, _ENETDMAC_CHANCFG@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ENETDMAC_CHANCFG@GOTPAGEOFF]
Lloh108:
	ldr	w2, [x8]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
Lloh109:
	adrp	x22, _ENET_IR_MIB@GOTPAGE
Lloh110:
	ldr	x22, [x22, _ENET_IR_MIB@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh111:
	adrp	x8, _ENET_IR_REG@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ENET_IR_REG@GOTPAGEOFF]
Lloh113:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enet_writel
	ldr	w1, [x22]
	ldr	w2, [x26]
	mov	x0, x21
	bl	_enet_writel
	ldr	w1, [x21, #48]
Lloh114:
	adrp	x22, _ENETDMAC_IR@GOTPAGE
Lloh115:
	ldr	x22, [x22, _ENETDMAC_IR@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
	ldr	w1, [x21, #48]
	ldr	w2, [x22]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmac_writel
	add	x0, x21, #108
	bl	_napi_enable
	ldr	w1, [x21, #48]
	ldr	w2, [x25]
	ldr	w3, [x21, #104]
	mov	x0, x21
	bl	_enet_dmac_writel
	ldr	w1, [x21, #48]
	ldr	w2, [x25]
	ldr	w3, [x21, #100]
	mov	x0, x21
	bl	_enet_dmac_writel
	cbz	x20, LBB0_49
; %bb.48:
	mov	x0, x20
	bl	_phy_start
	b	LBB0_50
LBB0_49:
	mov	x0, x19
	bl	_bcm_enet_adjust_link
LBB0_50:
	mov	x0, x19
	bl	_netif_start_queue
	mov	w23, #0
	b	LBB0_34
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BUS_ID_SIZE,4,2            ; @MII_BUS_ID_SIZE
	.comm	_PHY_ID_FMT,8,3                 ; @PHY_ID_FMT
	.comm	_bcm_enet_adjust_phy_link,4,2   ; @bcm_enet_adjust_phy_link
	.comm	_PHY_INTERFACE_MODE_MII,4,2     ; @PHY_INTERFACE_MODE_MII
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not attach to PHY\n"

	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_ENET_IRMASK_REG,4,2            ; @ENET_IRMASK_REG
	.comm	_ENETDMAC_IRMASK,4,2            ; @ENETDMAC_IRMASK
	.comm	_bcm_enet_isr_mac,4,2           ; @bcm_enet_isr_mac
	.comm	_bcm_enet_isr_dma,4,2           ; @bcm_enet_isr_dma
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENETDMA_BUFALLOC_FORCE_MASK,4,2 ; @ENETDMA_BUFALLOC_FORCE_MASK
	.comm	_ENETDMAC_BUFALLOC,4,2          ; @ENETDMAC_BUFALLOC
l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate rx skb queue\n"

	.comm	_ENETDMAS_RSTART_REG,4,2        ; @ENETDMAS_RSTART_REG
	.comm	_ENETDMAC_RSTART,4,2            ; @ENETDMAC_RSTART
	.comm	_ENETDMAS_SRAM2_REG,4,2         ; @ENETDMAS_SRAM2_REG
	.comm	_ENETDMAS_SRAM3_REG,4,2         ; @ENETDMAS_SRAM3_REG
	.comm	_ENETDMAS_SRAM4_REG,4,2         ; @ENETDMAS_SRAM4_REG
	.comm	_ENETDMAC_FC,4,2                ; @ENETDMAC_FC
	.comm	_ENET_RXMAXLEN_REG,4,2          ; @ENET_RXMAXLEN_REG
	.comm	_ENET_TXMAXLEN_REG,4,2          ; @ENET_TXMAXLEN_REG
	.comm	_ENETDMAC_MAXBURST,4,2          ; @ENETDMAC_MAXBURST
	.comm	_BCMENET_TX_FIFO_TRESH,4,2      ; @BCMENET_TX_FIFO_TRESH
	.comm	_ENET_TXWMARK_REG,4,2           ; @ENET_TXWMARK_REG
	.comm	_ENETDMAC_LEN,4,2               ; @ENETDMAC_LEN
	.comm	_ENET_CTL_REG,4,2               ; @ENET_CTL_REG
	.comm	_ENET_CTL_ENABLE_MASK,4,2       ; @ENET_CTL_ENABLE_MASK
	.comm	_ENETDMA_CFG_EN_MASK,4,2        ; @ENETDMA_CFG_EN_MASK
	.comm	_ENETDMA_CFG_REG,4,2            ; @ENETDMA_CFG_REG
	.comm	_ENETDMAC_CHANCFG,4,2           ; @ENETDMAC_CHANCFG
	.comm	_ENET_IR_MIB,4,2                ; @ENET_IR_MIB
	.comm	_ENET_IR_REG,4,2                ; @ENET_IR_REG
	.comm	_ENETDMAC_IR,4,2                ; @ENETDMAC_IR
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_bcm_enet_open
.subsections_via_symbols
