	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv643xx_eth_probe
_mv643xx_eth_probe:                     ## @mv643xx_eth_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	%rdi, %r15
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	cmpq	$0, 32(%rax)
	je	LBB0_4
## %bb.5:
	movl	$88, %edi
	movl	$8, %esi
	callq	_alloc_etherdev_mq
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r13, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	32(%rbx), %rdi
	callq	_platform_get_drvdata
	movq	%rax, 24(%r12)
	movq	16(%rax), %rax
	movl	(%rbx), %ecx
	movl	%ecx, %edx
	shll	$10, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rax
	addq	$1024, %rax                     ## imm = 0x400
	movq	%rax, 80(%r12)
	movl	%ecx, (%r12)
	movq	%r13, 64(%r12)
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_PORT_SERIAL_CONTROL1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_rdlp
	movq	_CLK125_BYPASS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_wrlp
LBB0_10:
	movl	$133000000, 4(%r12)             ## imm = 0x7ED6B40
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	leaq	16(%r12), %r14
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	24(%r12), %rax
	movq	8(%rax), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:
	movq	24(%r12), %rax
	addq	$8, %rax
	jmp	LBB0_14
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_34
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	movq	(%r14), %rdi
	callq	_clk_prepare_enable
	movq	%r14, %rax
LBB0_14:
	movq	(%rax), %rdi
	callq	_clk_get_rate
	movl	%eax, 4(%r12)
LBB0_15:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_set_params
	movl	76(%r12), %esi
	movq	%r13, %rdi
	callq	_netif_set_real_num_tx_queues
	movl	72(%r12), %esi
	movq	%r13, %rdi
	callq	_netif_set_real_num_rx_queues
	movq	24(%rbx), %r14
	testq	%r14, %r14
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_19
## %bb.16:
	movq	64(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_mv643xx_eth_adjust_link@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_get_phy_mode
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_of_phy_connect
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_phy_addr_set
	jmp	LBB0_23
LBB0_19:
	movq	8(%rbx), %rsi
	movq	_MV643XX_ETH_PHY_NONE@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpq	(%rax), %rsi
	je	LBB0_23
## %bb.20:
	movq	%r12, %rdi
	callq	_phy_scan
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_23
LBB0_17:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_23
LBB0_22:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%r12, %rdi
	callq	_phy_init
LBB0_23:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	jne	LBB0_28
## %bb.24:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_25
LBB0_28:
	testl	%r13d, %r13d
	jne	LBB0_25
## %bb.29:
	movq	_mv643xx_eth_ethtool_ops@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 64(%r13)
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%r12, %rdi
	callq	_init_pscr
	movq	%r12, %rdi
	callq	_mib_counters_clear
	leaq	56(%r12), %rdi
	movq	_mib_counters_timer_wrapper@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	movq	%rcx, %rdx
	shlq	$5, %rdx
	subq	%rcx, %rdx
	subq	%rcx, %rdx
	addq	(%rax), %rdx
	movq	%rdx, 56(%r12)
	leaq	48(%r12), %rdi
	callq	_spin_lock_init
	leaq	44(%r12), %rdi
	movq	_tx_timeout_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	40(%r12), %rsi
	movq	_mv643xx_eth_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_netif_napi_add
	movq	%r12, %rdi
	addq	$32, %rdi
	movq	_oom_timer_wrapper@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %eax
	movl	%eax, 56(%r13)
	movq	_mv643xx_eth_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r13)
	movl	(%r14), %eax
	addl	%eax, %eax
	movl	%eax, (%r13)
	movq	$0, 40(%r13)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%r13)
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r13)
	movl	%ecx, 12(%r13)
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r13)
	movq	_MV643XX_MAX_TSO_SEGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movabsq	$40802189312064, %rax           ## imm = 0x251C00000040
	movq	%rax, 16(%r13)
	movq	24(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.30:
	movl	(%r12), %edi
	callq	_WINDOW_PROTECT
	movq	24(%r12), %rcx
	movq	(%rcx), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_wrl
LBB0_31:
	movq	%r13, %rdi
	callq	_netif_carrier_off
	movq	_SDMA_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PORT_SDMA_CONFIG_DEFAULT_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wrlp
	movq	%r12, %rdi
	movl	$250, %esi
	callq	_set_rx_coal
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_coal
	movq	%r13, %rdi
	callq	_register_netdev
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_32
LBB0_25:
	movq	(%r14), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movq	(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free_netdev
	movl	%r13d, %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	(%r12), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	24(%r14), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_notice
	cmpq	$0, 8(%r12)
	jle	LBB0_34
## %bb.33:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_notice
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no mv643xx_eth_platform_data\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"no mv643xx_eth_platform_data->shared\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"marvell,kirkwood-eth-port"

	.comm	_PORT_SERIAL_CONTROL1,4,2       ## @PORT_SERIAL_CONTROL1
	.comm	_CLK125_BYPASS_EN,4,2           ## @CLK125_BYPASS_EN
	.comm	_mv643xx_eth_adjust_link,4,2    ## @mv643xx_eth_adjust_link
	.comm	_MV643XX_ETH_PHY_NONE,8,3       ## @MV643XX_ETH_PHY_NONE
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_mv643xx_eth_ethtool_ops,4,2    ## @mv643xx_eth_ethtool_ops
	.comm	_mib_counters_timer_wrapper,4,2 ## @mib_counters_timer_wrapper
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_tx_timeout_task,4,2            ## @tx_timeout_task
	.comm	_mv643xx_eth_poll,4,2           ## @mv643xx_eth_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
	.comm	_oom_timer_wrapper,4,2          ## @oom_timer_wrapper
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
	.comm	_mv643xx_eth_netdev_ops,4,2     ## @mv643xx_eth_netdev_ops
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_MV643XX_MAX_TSO_SEGS,4,2       ## @MV643XX_MAX_TSO_SEGS
	.comm	_SDMA_CONFIG,4,2                ## @SDMA_CONFIG
	.comm	_PORT_SDMA_CONFIG_DEFAULT_VALUE,4,2 ## @PORT_SDMA_CONFIG_DEFAULT_VALUE
L_.str.3:                               ## @.str.3
	.asciz	"port %d with MAC address %pM\n"

L_.str.4:                               ## @.str.4
	.asciz	"configured with sram\n"

	.no_dead_strip	_mv643xx_eth_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mv643xx_eth_probe
lCPI0_0:
	.long	64                              ; 0x40
	.long	9500                            ; 0x251c
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mv643xx_eth_probe:                     ; @mv643xx_eth_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x0
	bl	_dev_get_platdata
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_9
; %bb.2:
	mov	w0, #88
	mov	w1, #8
	bl	_alloc_etherdev_mq
	cbz	x0, LBB0_12
; %bb.3:
	mov	x19, x0
	mov	x1, x21
	bl	_SET_NETDEV_DEV
	mov	x0, x19
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x21
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x0, [x22, #32]
	bl	_platform_get_drvdata
	str	x0, [x20, #24]
	ldr	x8, [x0, #16]
	ldr	w9, [x22]
	lsl	w10, w9, #10
	add	x8, x8, w10, sxtw
	add	x8, x8, #1024
	str	x8, [x20, #80]
	str	w9, [x20]
	str	x19, [x20, #64]
	ldr	w0, [x21]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _PORT_SERIAL_CONTROL1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_SERIAL_CONTROL1@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_rdlp
Lloh5:
	adrp	x8, _CLK125_BYPASS_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLK125_BYPASS_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	mov	x1, x23
	bl	_wrlp
LBB0_5:
	mov	w8, #27456
	movk	w8, #2029, lsl #16
	str	w8, [x20, #4]
	mov	x0, x21
	mov	x1, #0
	bl	_devm_clk_get
	mov	x26, x20
	str	x0, [x26, #16]!
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.6:
	ldr	x8, [x20, #24]
	ldr	x0, [x8, #8]
	bl	_IS_ERR
	cbnz	x0, LBB0_15
; %bb.7:
	ldr	x8, [x20, #24]
	add	x8, x8, #8
	b	LBB0_14
LBB0_8:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x21
	bl	_dev_err
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_33
LBB0_12:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_13:
	ldr	x0, [x26]
	bl	_clk_prepare_enable
	mov	x8, x26
LBB0_14:
	ldr	x0, [x8]
	bl	_clk_get_rate
	str	w0, [x20, #4]
LBB0_15:
	mov	x0, x20
	mov	x1, x22
	bl	_set_params
	ldr	w1, [x20, #76]
	mov	x0, x19
	bl	_netif_set_real_num_tx_queues
	ldr	w1, [x20, #72]
	mov	x0, x19
	bl	_netif_set_real_num_rx_queues
	ldr	x23, [x22, #24]
Lloh16:
	adrp	x27, _ENODEV@GOTPAGE
Lloh17:
	ldr	x27, [x27, _ENODEV@GOTPAGEOFF]
	cbz	x23, LBB0_18
; %bb.16:
	ldr	x24, [x20, #64]
Lloh18:
	adrp	x8, _mv643xx_eth_adjust_link@GOTPAGE
Lloh19:
	ldr	x8, [x8, _mv643xx_eth_adjust_link@GOTPAGEOFF]
Lloh20:
	ldr	w25, [x8]
	mov	x0, x20
	bl	_get_phy_mode
	mov	x4, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	w3, #0
	bl	_of_phy_connect
	cbz	x0, LBB0_21
; %bb.17:
	ldr	w1, [x0]
	mov	x0, x20
	bl	_phy_addr_set
	b	LBB0_23
LBB0_18:
	ldr	x1, [x22, #8]
Lloh21:
	adrp	x8, _MV643XX_ETH_PHY_NONE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MV643XX_ETH_PHY_NONE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_23
; %bb.19:
	mov	x0, x20
	bl	_phy_scan
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.20:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_24
LBB0_21:
	ldr	w8, [x27]
	neg	w23, w8
	b	LBB0_24
LBB0_22:
	ldp	w2, w1, [x22, #16]
	mov	x0, x20
	bl	_phy_init
LBB0_23:
	mov	w23, #0
LBB0_24:
	ldr	w8, [x27]
	cmn	w23, w8
	b.ne	LBB0_26
; %bb.25:
Lloh24:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_30
LBB0_26:
	cbnz	w23, LBB0_30
; %bb.27:
Lloh27:
	adrp	x8, _mv643xx_eth_ethtool_ops@GOTPAGE
Lloh28:
	ldr	x8, [x8, _mv643xx_eth_ethtool_ops@GOTPAGEOFF]
	str	x8, [x19, #64]
	ldp	w2, w1, [x22, #16]
	mov	x0, x20
	bl	_init_pscr
	mov	x0, x20
	bl	_mib_counters_clear
	add	x0, x20, #56
Lloh29:
	adrp	x8, _mib_counters_timer_wrapper@GOTPAGE
Lloh30:
	ldr	x8, [x8, _mib_counters_timer_wrapper@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh32:
	adrp	x8, _jiffies@GOTPAGE
Lloh33:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh34:
	adrp	x22, _HZ@GOTPAGE
Lloh35:
	ldr	x22, [x22, _HZ@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldrsw	x9, [x22]
	mov	w10, #30
	madd	x8, x9, x10, x8
	str	x8, [x20, #56]
	add	x0, x20, #48
	bl	_spin_lock_init
	add	x0, x20, #44
Lloh37:
	adrp	x8, _tx_timeout_task@GOTPAGE
Lloh38:
	ldr	x8, [x8, _tx_timeout_task@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x1, x20, #40
Lloh40:
	adrp	x8, _mv643xx_eth_poll@GOTPAGE
Lloh41:
	ldr	x8, [x8, _mv643xx_eth_poll@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_netif_napi_add
	add	x0, x20, #32
Lloh46:
	adrp	x8, _oom_timer_wrapper@GOTPAGE
Lloh47:
	ldr	x8, [x8, _oom_timer_wrapper@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh49:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x21]
	str	w8, [x19, #56]
Lloh52:
	adrp	x8, _mv643xx_eth_netdev_ops@GOTPAGE
Lloh53:
	ldr	x8, [x8, _mv643xx_eth_netdev_ops@GOTPAGEOFF]
	ldr	w9, [x22]
	lsl	w9, w9, #1
	str	w9, [x19]
	stp	xzr, x8, [x19, #40]
Lloh54:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh55:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh58:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh60:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh61:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh64:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w9, w9, w8
	stp	w9, w8, [x19, #4]
	str	w9, [x19, #12]
Lloh66:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
Lloh69:
	adrp	x9, _MV643XX_MAX_TSO_SEGS@GOTPAGE
Lloh70:
	ldr	x9, [x9, _MV643XX_MAX_TSO_SEGS@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh72:
	adrp	x8, lCPI0_0@PAGE
Lloh73:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	w0, [x20]
	bl	_WINDOW_PROTECT
	mov	x1, x0
	ldr	x8, [x20, #24]
	ldr	x2, [x8]
	mov	x0, x20
	bl	_wrl
LBB0_29:
	mov	x0, x19
	bl	_netif_carrier_off
Lloh74:
	adrp	x8, _SDMA_CONFIG@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SDMA_CONFIG@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
Lloh77:
	adrp	x8, _PORT_SDMA_CONFIG_DEFAULT_VALUE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PORT_SDMA_CONFIG_DEFAULT_VALUE@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_wrlp
	mov	x0, x20
	mov	w1, #250
	bl	_set_rx_coal
	mov	x0, x20
	mov	w1, #0
	bl	_set_tx_coal
	mov	x0, x19
	bl	_register_netdev
	mov	x23, x0
	cbz	w0, LBB0_34
LBB0_30:
	ldr	x0, [x26]
	bl	_IS_ERR
	cbnz	x0, LBB0_32
; %bb.31:
	ldr	x0, [x26]
	bl	_clk_disable_unprepare
LBB0_32:
	mov	x0, x19
	bl	_free_netdev
LBB0_33:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_34:
	ldr	w8, [x20]
	ldr	w9, [x19, #24]
	stp	x8, x9, [sp]
Lloh80:
	adrp	x1, l_.str.3@PAGE
Lloh81:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_notice
	ldr	x8, [x20, #8]
	cmp	x8, #1
	b.lt	LBB0_36
; %bb.35:
Lloh82:
	adrp	x1, l_.str.4@PAGE
Lloh83:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_notice
LBB0_36:
	mov	w23, #0
	b	LBB0_33
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdr	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no mv643xx_eth_platform_data\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"no mv643xx_eth_platform_data->shared\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"marvell,kirkwood-eth-port"

	.comm	_PORT_SERIAL_CONTROL1,4,2       ; @PORT_SERIAL_CONTROL1
	.comm	_CLK125_BYPASS_EN,4,2           ; @CLK125_BYPASS_EN
	.comm	_mv643xx_eth_adjust_link,4,2    ; @mv643xx_eth_adjust_link
	.comm	_MV643XX_ETH_PHY_NONE,8,3       ; @MV643XX_ETH_PHY_NONE
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_mv643xx_eth_ethtool_ops,4,2    ; @mv643xx_eth_ethtool_ops
	.comm	_mib_counters_timer_wrapper,4,2 ; @mib_counters_timer_wrapper
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_tx_timeout_task,4,2            ; @tx_timeout_task
	.comm	_mv643xx_eth_poll,4,2           ; @mv643xx_eth_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
	.comm	_oom_timer_wrapper,4,2          ; @oom_timer_wrapper
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
	.comm	_mv643xx_eth_netdev_ops,4,2     ; @mv643xx_eth_netdev_ops
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_MV643XX_MAX_TSO_SEGS,4,2       ; @MV643XX_MAX_TSO_SEGS
	.comm	_SDMA_CONFIG,4,2                ; @SDMA_CONFIG
	.comm	_PORT_SDMA_CONFIG_DEFAULT_VALUE,4,2 ; @PORT_SDMA_CONFIG_DEFAULT_VALUE
l_.str.3:                               ; @.str.3
	.asciz	"port %d with MAC address %pM\n"

l_.str.4:                               ; @.str.4
	.asciz	"configured with sram\n"

	.no_dead_strip	_mv643xx_eth_probe
.subsections_via_symbols
