	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_probe
_bcm_enet_probe:                        ## @bcm_enet_probe
	.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	_bcm_enet_shared_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r12
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_platform_get_resource
	testq	%r12, %r12
	je	LBB0_6
## %bb.4:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	$184, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movl	$0, (%rax)
	movq	_BCMENET_DMA_MAXBURST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 176(%r14)
	movl	40(%r13), %esi
	movq	%r13, %rdi
	callq	_bcm_enet_change_mtu
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_45
## %bb.10:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 168(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	movq	%r14, %rbx
	je	LBB0_12
## %bb.11:
	movq	168(%rbx), %rdi
	jmp	LBB0_13
LBB0_1:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_46
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_46
LBB0_12:
	movl	(%r12), %eax
	movl	%eax, 160(%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 36(%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 156(%rbx)
	movl	(%r15), %eax
	movl	%eax, 152(%rbx)
	leaq	12(%r13), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	callq	_PTR_ERR
	movl	%eax, %r13d
LBB0_44:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_45:
	callq	_free_netdev
LBB0_46:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_45
## %bb.15:
	movq	_BCMENET_DEF_RX_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 148(%rbx)
	movq	_BCMENET_DEF_TX_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 144(%rbx)
	movq	%r14, %rdi
	callq	_dev_get_platdata
	movq	%rax, %r12
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movl	88(%r12), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movq	80(%r12), %rax
	movups	72(%r12), %xmm0
	movups	%xmm0, 80(%rbx)
	movl	68(%r12), %ecx
	movl	%ecx, 76(%rbx)
	xorl	%ecx, %ecx
	cmpl	$0, 64(%r12)
	sete	%cl
	movl	%ecx, 8(%rbx)
	movups	48(%r12), %xmm0
	movups	%xmm0, 128(%rbx)
	movups	32(%r12), %xmm0
	movups	%xmm0, 112(%rbx)
	movups	16(%r12), %xmm0
	movups	%xmm0, 96(%rbx)
	jmp	LBB0_18
LBB0_16:
	movq	88(%rbx), %rax
LBB0_18:
	testq	%rax, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_23
## %bb.19:
	cmpl	$0, 8(%r15)
	je	LBB0_20
LBB0_23:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bcm_enet_hw_preinit
	cmpq	$0, 88(%r15)
	je	LBB0_30
## %bb.24:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_mdiobus_alloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r14)
	movq	%r15, 40(%r14)
	movq	_bcm_enet_mdio_read_phylib@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_bcm_enet_mdio_write_phylib@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movl	24(%r14), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movl	8(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	callq	_sprintf
	movslq	4(%r15), %rcx
	movl	$-2, %eax
	roll	%cl, %eax
	movl	%eax, 8(%r14)
	cmpq	$0, 80(%r15)
	je	LBB0_28
## %bb.27:
	movl	76(%r15), %eax
	movq	16(%r14), %rdx
	movl	%eax, (%rdx,%rcx,4)
LBB0_28:
	movq	%r14, %rdi
	callq	_mdiobus_register
	testl	%eax, %eax
	je	LBB0_34
## %bb.29:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	jmp	LBB0_40
LBB0_30:
	testq	%r12, %r12
	je	LBB0_34
## %bb.31:
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.32:
	movq	_bcm_enet_mdio_read_mii@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_bcm_enet_mdio_write_mii@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	leaq	L_.str.5(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	xorl	%r13d, %r13d
	jmp	LBB0_42
LBB0_34:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	72(%r12), %rdi
	callq	_spin_lock_init
	leaq	68(%r12), %rdi
	movq	_bcm_enet_refill_rx_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	64(%r12), %rdi
	callq	_mutex_init
	leaq	60(%r12), %rdi
	movq	_bcm_enet_update_mib_counters_defer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_ENET_MIB_REG_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_36
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ENET_MIB_REG
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_35
LBB0_36:
	movq	_bcm_enet_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	%r12, %rsi
	addq	$56, %rsi
	movq	_bcm_enet_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$16, %ecx
	callq	_netif_napi_add
	movq	_bcm_enet_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 8(%r15)
	movq	_BCMENET_MAX_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_SET_NETDEV_DEV
	movq	%r15, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_37
## %bb.38:
	movl	%eax, %r13d
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_40
## %bb.39:
	callq	_mdiobus_unregister
LBB0_40:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.41:
	callq	_mdiobus_free
	jmp	LBB0_42
LBB0_20:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	24(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	$0, 24(%r15)
	jmp	LBB0_43
LBB0_25:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_42:
	movq	_ENET_MIISC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_enet_writel
	movq	24(%r15), %rdi
	callq	_clk_disable_unprepare
LBB0_43:
	movq	16(%r15), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_44
LBB0_37:
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, 48(%r12)
	movq	%r15, 40(%r12)
	xorl	%r13d, %r13d
	jmp	LBB0_46
LBB0_22:
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_43
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_bcm_enet_shared_base,8,3       ## @bcm_enet_shared_base
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BCMENET_DMA_MAXBURST,4,2       ## @BCMENET_DMA_MAXBURST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enet"

	.comm	_BCMENET_DEF_RX_DESC,4,2        ## @BCMENET_DEF_RX_DESC
	.comm	_BCMENET_DEF_TX_DESC,4,2        ## @BCMENET_DEF_TX_DESC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.1:                               ## @.str.1
	.asciz	"ephy"

L_.str.2:                               ## @.str.2
	.asciz	"bcm63xx_enet MII bus"

	.comm	_bcm_enet_mdio_read_phylib,4,2  ## @bcm_enet_mdio_read_phylib
	.comm	_bcm_enet_mdio_write_phylib,4,2 ## @bcm_enet_mdio_write_phylib
L_.str.3:                               ## @.str.3
	.asciz	"%s-%d"

L_.str.4:                               ## @.str.4
	.asciz	"unable to register mdio bus\n"

	.comm	_bcm_enet_mdio_read_mii,4,2     ## @bcm_enet_mdio_read_mii
	.comm	_bcm_enet_mdio_write_mii,4,2    ## @bcm_enet_mdio_write_mii
L_.str.5:                               ## @.str.5
	.asciz	"unable to configure mdio bus\n"

	.comm	_bcm_enet_refill_rx_timer,4,2   ## @bcm_enet_refill_rx_timer
	.comm	_bcm_enet_update_mib_counters_defer,4,2 ## @bcm_enet_update_mib_counters_defer
	.comm	_ENET_MIB_REG_COUNT,4,2         ## @ENET_MIB_REG_COUNT
	.comm	_bcm_enet_ops,4,2               ## @bcm_enet_ops
	.comm	_bcm_enet_poll,4,2              ## @bcm_enet_poll
	.comm	_bcm_enet_ethtool_ops,4,2       ## @bcm_enet_ethtool_ops
	.comm	_ETH_ZLEN,8,3                   ## @ETH_ZLEN
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_BCMENET_MAX_MTU,8,3            ## @BCMENET_MAX_MTU
	.comm	_VLAN_ETH_HLEN,8,3              ## @VLAN_ETH_HLEN
	.comm	_ENET_MIISC_REG,4,2             ## @ENET_MIISC_REG
	.no_dead_strip	_bcm_enet_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enet_probe
_bcm_enet_probe:                        ; @bcm_enet_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _bcm_enet_shared_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bcm_enet_shared_base@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x19, _IORESOURCE_IRQ@GOTPAGE
Lloh4:
	ldr	x19, [x19, _IORESOURCE_IRQ@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	w2, #0
	bl	_platform_get_resource
	mov	x22, x0
	ldr	w1, [x19]
	mov	x0, x21
	mov	w2, #1
	bl	_platform_get_resource
	mov	x24, x0
	ldr	w1, [x19]
	mov	x0, x21
	mov	w2, #2
	bl	_platform_get_resource
	cmp	x22, #0
	ccmp	x24, #0, #4, ne
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh7:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	mov	x25, x0
	mov	w0, #184
	bl	_alloc_etherdev
	cbz	x0, LBB0_8
; %bb.5:
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	str	wzr, [x0]
Lloh9:
	adrp	x8, _BCMENET_DMA_MAXBURST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BCMENET_DMA_MAXBURST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #176]
	ldr	w1, [x19, #40]
	mov	x0, x19
	bl	_bcm_enet_change_mtu
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.6:
	mov	x0, x21
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #168]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x0, [x20, #168]
	b	LBB0_12
LBB0_8:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w8, [x22]
	str	w8, [x20, #160]
	str	w8, [x19, #36]
	ldr	w8, [x24]
	ldr	w9, [x25]
	stp	w9, w8, [x20, #152]
	add	x22, x21, #12
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #16]
	cbz	x8, LBB0_14
LBB0_12:
	bl	_PTR_ERR
	mov	x23, x0
LBB0_13:
	mov	x0, x19
	bl	_free_netdev
	b	LBB0_10
LBB0_14:
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.15:
Lloh16:
	adrp	x8, _BCMENET_DEF_RX_DESC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BCMENET_DEF_RX_DESC@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _BCMENET_DEF_TX_DESC@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BCMENET_DEF_TX_DESC@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #144]
	mov	x0, x22
	bl	_dev_get_platdata
	mov	x24, x0
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w0, [x19, #32]
	ldr	w1, [x24, #88]
Lloh22:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	bl	_memcpy
	ldp	x9, x8, [x24, #72]
	stp	x9, x8, [x20, #80]
	ldp	w10, w9, [x24, #64]
	str	w9, [x20, #76]
	ldr	w9, [x24]
	cmp	w10, #0
	cset	w10, eq
	stp	w9, w10, [x20, #4]
	ldr	q0, [x24, #48]
	str	q0, [x20, #128]
	ldr	q0, [x24, #32]
	str	q0, [x20, #112]
	ldr	q0, [x24, #16]
	str	q0, [x20, #96]
	b	LBB0_18
LBB0_17:
	ldr	x8, [x20, #88]
LBB0_18:
	cbz	x8, LBB0_20
; %bb.19:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_38
LBB0_20:
	mov	x0, x20
	bl	_bcm_enet_hw_preinit
	ldr	x8, [x20, #88]
	cbz	x8, LBB0_26
; %bb.21:
	bl	_mdiobus_alloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_40
; %bb.22:
	mov	x23, x0
Lloh25:
	adrp	x8, l_.str.2@PAGE
Lloh26:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x0]
	stp	x20, x22, [x0, #40]
Lloh27:
	adrp	x8, _bcm_enet_mdio_read_phylib@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bcm_enet_mdio_read_phylib@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _bcm_enet_mdio_write_phylib@GOTPAGE
Lloh31:
	ldr	x9, [x9, _bcm_enet_mdio_write_phylib@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #28]
	ldr	w0, [x0, #24]
	ldr	x2, [x21]
	ldr	w3, [x21, #8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	ldr	w8, [x20, #4]
	mov	w9, #1
	lsl	w9, w9, w8
	mvn	w9, w9
	str	w9, [x23, #8]
	ldr	x9, [x20, #80]
	cbz	x9, LBB0_24
; %bb.23:
	sxtw	x8, w8
	ldr	w9, [x20, #76]
	ldr	x10, [x23, #16]
	str	w9, [x10, x8, lsl #2]
LBB0_24:
	mov	x0, x23
	bl	_mdiobus_register
	cbz	w0, LBB0_30
; %bb.25:
	mov	x23, x0
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_36
LBB0_26:
	cbz	x24, LBB0_30
; %bb.27:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_30
; %bb.28:
Lloh37:
	adrp	x9, _bcm_enet_mdio_read_mii@GOTPAGE
Lloh38:
	ldr	x9, [x9, _bcm_enet_mdio_read_mii@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x9]
Lloh40:
	adrp	x9, _bcm_enet_mdio_write_mii@GOTPAGE
Lloh41:
	ldr	x9, [x9, _bcm_enet_mdio_write_mii@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x9]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	cbz	x0, LBB0_30
; %bb.29:
Lloh43:
	adrp	x1, l_.str.5@PAGE
Lloh44:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	mov	w23, #0
	b	LBB0_41
LBB0_30:
	add	x0, x20, #72
	bl	_spin_lock_init
	add	x0, x20, #68
Lloh45:
	adrp	x8, _bcm_enet_refill_rx_timer@GOTPAGE
Lloh46:
	ldr	x8, [x8, _bcm_enet_refill_rx_timer@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x20, #64
	bl	_mutex_init
	add	x0, x20, #60
Lloh48:
	adrp	x8, _bcm_enet_update_mib_counters_defer@GOTPAGE
Lloh49:
	ldr	x8, [x8, _bcm_enet_update_mib_counters_defer@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh51:
	adrp	x24, _ENET_MIB_REG_COUNT@GOTPAGE
Lloh52:
	ldr	x24, [x24, _ENET_MIB_REG_COUNT@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.31:
	mov	w23, #0
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ENET_MIB_REG
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_enet_writel
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w23, w8
	b.lt	LBB0_32
LBB0_33:
Lloh53:
	adrp	x8, _bcm_enet_ops@GOTPAGE
Lloh54:
	ldr	x8, [x8, _bcm_enet_ops@GOTPAGEOFF]
	str	x8, [x19, #24]
	add	x1, x20, #56
Lloh55:
	adrp	x8, _bcm_enet_poll@GOTPAGE
Lloh56:
	ldr	x8, [x8, _bcm_enet_poll@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #16
	bl	_netif_napi_add
Lloh58:
	adrp	x8, _bcm_enet_ethtool_ops@GOTPAGE
Lloh59:
	ldr	x8, [x8, _bcm_enet_ethtool_ops@GOTPAGEOFF]
	str	x8, [x19, #16]
Lloh60:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh62:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh63:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
Lloh65:
	ldr	x9, [x9]
	sub	x8, x8, x9
Lloh66:
	adrp	x9, _BCMENET_MAX_MTU@GOTPAGE
Lloh67:
	ldr	x9, [x9, _BCMENET_MAX_MTU@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
Lloh69:
	adrp	x10, _VLAN_ETH_HLEN@GOTPAGE
Lloh70:
	ldr	x10, [x10, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh71:
	ldr	x10, [x10]
	sub	x9, x9, x10
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_SET_NETDEV_DEV
	mov	x0, x19
	bl	_register_netdev
	mov	x23, x0
	cbz	w0, LBB0_43
; %bb.34:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_36
; %bb.35:
	bl	_mdiobus_unregister
LBB0_36:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_41
; %bb.37:
	bl	_mdiobus_free
	b	LBB0_41
LBB0_38:
Lloh72:
	adrp	x1, l_.str.1@PAGE
Lloh73:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #24]
	cbz	x8, LBB0_44
; %bb.39:
	bl	_PTR_ERR
	mov	x23, x0
	str	xzr, [x20, #24]
	b	LBB0_42
LBB0_40:
Lloh74:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_41:
Lloh77:
	adrp	x8, _ENET_MIISC_REG@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ENET_MIISC_REG@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_enet_writel
	ldr	x0, [x20, #24]
	bl	_clk_disable_unprepare
LBB0_42:
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
	b	LBB0_13
LBB0_43:
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x21
	mov	x1, x19
	bl	_platform_set_drvdata
	stp	x19, x21, [x20, #40]
	b	LBB0_10
LBB0_44:
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_42
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_bcm_enet_shared_base,8,3       ; @bcm_enet_shared_base
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BCMENET_DMA_MAXBURST,4,2       ; @BCMENET_DMA_MAXBURST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enet"

	.comm	_BCMENET_DEF_RX_DESC,4,2        ; @BCMENET_DEF_RX_DESC
	.comm	_BCMENET_DEF_TX_DESC,4,2        ; @BCMENET_DEF_TX_DESC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.1:                               ; @.str.1
	.asciz	"ephy"

l_.str.2:                               ; @.str.2
	.asciz	"bcm63xx_enet MII bus"

	.comm	_bcm_enet_mdio_read_phylib,4,2  ; @bcm_enet_mdio_read_phylib
	.comm	_bcm_enet_mdio_write_phylib,4,2 ; @bcm_enet_mdio_write_phylib
l_.str.3:                               ; @.str.3
	.asciz	"%s-%d"

l_.str.4:                               ; @.str.4
	.asciz	"unable to register mdio bus\n"

	.comm	_bcm_enet_mdio_read_mii,4,2     ; @bcm_enet_mdio_read_mii
	.comm	_bcm_enet_mdio_write_mii,4,2    ; @bcm_enet_mdio_write_mii
l_.str.5:                               ; @.str.5
	.asciz	"unable to configure mdio bus\n"

	.comm	_bcm_enet_refill_rx_timer,4,2   ; @bcm_enet_refill_rx_timer
	.comm	_bcm_enet_update_mib_counters_defer,4,2 ; @bcm_enet_update_mib_counters_defer
	.comm	_ENET_MIB_REG_COUNT,4,2         ; @ENET_MIB_REG_COUNT
	.comm	_bcm_enet_ops,4,2               ; @bcm_enet_ops
	.comm	_bcm_enet_poll,4,2              ; @bcm_enet_poll
	.comm	_bcm_enet_ethtool_ops,4,2       ; @bcm_enet_ethtool_ops
	.comm	_ETH_ZLEN,8,3                   ; @ETH_ZLEN
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_BCMENET_MAX_MTU,8,3            ; @BCMENET_MAX_MTU
	.comm	_VLAN_ETH_HLEN,8,3              ; @VLAN_ETH_HLEN
	.comm	_ENET_MIISC_REG,4,2             ; @ENET_MIISC_REG
	.no_dead_strip	_bcm_enet_probe
.subsections_via_symbols
