	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_probe
_fe_probe:                              ## @fe_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_device_reset
	movq	_of_fe_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_of_match_device
	movq	(%rax), %r15
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_fe_reg_table@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_2:
	movq	_fe_reg_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_devm_ioremap_resource
	movq	_fe_base@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_35
LBB0_5:
	movl	$80, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_SET_NETDEV_DEV
	movq	_fe_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r14)
	movq	(%r12), %rax
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_11:
	movl	20(%r14), %eax
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, 16(%r14)
	orl	%eax, 24(%r14)
	movq	_CONFIG_SOC_MT7621@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	$2048, 28(%r14)                 ## imm = 0x800
LBB0_13:
	movq	_fe_reg_table@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_15
## %bb.14:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_15:
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	leaq	72(%rax), %rdi
	callq	_spin_lock_init
	movq	(%rbx), %rax
	movq	_FE_REG_FE_COUNTER_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_20
## %bb.16:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	addq	$4, %rax
	movq	%rax, %rdi
	callq	_spin_lock_init
LBB0_20:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_21
## %bb.25:
	movq	_FE_FLAG_CALIBRATE_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_22
## %bb.26:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_34
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_33
LBB0_21:
	movq	%rbx, %rdi
	callq	_clk_get_rate
	movl	%eax, 68(%r12)
LBB0_22:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movl	%eax, 64(%r12)
	movq	_FE_FLAG_HAS_SWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_27
## %bb.23:
	testl	%eax, %eax
	jne	LBB0_27
## %bb.24:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_18:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_32:
	movq	_fe_base@GOTPCREL(%rip), %r12
LBB0_33:
	movq	%r14, %rdi
	callq	_free_netdev
LBB0_34:
	movq	(%r12), %rsi
	movq	%r13, %rdi
	callq	_devm_iounmap
LBB0_35:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%r14, 56(%r12)
	movq	%r13, 48(%r12)
	movq	%r15, 40(%r12)
	movq	_fe_msg_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FE_DEFAULT_MSG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_netif_msg_init
	movl	%eax, 36(%r12)
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fe_max_frag_size
	movl	%eax, 12(%r12)
	movl	%eax, %edi
	callq	_fe_max_buf_size
	movl	%eax, 16(%r12)
	movq	_NUM_DMA_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movl	%eax, 8(%r12)
	leaq	32(%r12), %rdi
	movq	_fe_pending_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	24(%r12), %rdi
	callq	_u64_stats_init
	movq	_FE_FLAG_NAPI_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_28
## %bb.29:
	shll	$2, 20(%r12)
	shll	$2, 8(%r12)
	movl	$64, %ecx
	jmp	LBB0_30
LBB0_28:
	movl	$16, %ecx
LBB0_30:
	movq	%r12, %rsi
	addq	$4, %rsi
	movq	_fe_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_netif_napi_add
	movq	%r14, %rdi
	callq	_fe_set_ethtool_ops
	movq	%r14, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_36
## %bb.31:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	jmp	LBB0_32
LBB0_36:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %r8
	movq	8(%r14), %r9
	leaq	L_.str.6(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_netif_info
	xorl	%ebx, %ebx
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_of_fe_match,4,2                ## @of_fe_match
	.comm	_fe_reg_table,8,3               ## @fe_reg_table
	.comm	_fe_base,8,3                    ## @fe_base
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alloc_etherdev failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_fe_netdev_ops,4,2              ## @fe_netdev_ops
L_.str.1:                               ## @.str.1
	.asciz	"no IRQ resource found\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_CONFIG_SOC_MT7621,4,2          ## @CONFIG_SOC_MT7621
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ## @FE_REG_FE_DMA_VID_BASE
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_FE_REG_FE_COUNTER_BASE,8,3     ## @FE_REG_FE_COUNTER_BASE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_FE_FLAG_CALIBRATE_CLK,4,2      ## @FE_FLAG_CALIBRATE_CLK
L_.str.2:                               ## @.str.2
	.asciz	"this soc needs a clk for calibration\n"

L_.str.3:                               ## @.str.3
	.asciz	"mediatek,switch"

	.comm	_FE_FLAG_HAS_SWITCH,4,2         ## @FE_FLAG_HAS_SWITCH
L_.str.4:                               ## @.str.4
	.asciz	"failed to read switch phandle\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_fe_msg_level,4,2               ## @fe_msg_level
	.comm	_FE_DEFAULT_MSG_ENABLE,4,2      ## @FE_DEFAULT_MSG_ENABLE
	.comm	_ETH_DATA_LEN,4,2               ## @ETH_DATA_LEN
	.comm	_NUM_DMA_DESC,8,3               ## @NUM_DMA_DESC
	.comm	_fe_pending_work,4,2            ## @fe_pending_work
	.comm	_FE_FLAG_NAPI_WEIGHT,4,2        ## @FE_FLAG_NAPI_WEIGHT
	.comm	_fe_poll,4,2                    ## @fe_poll
L_.str.5:                               ## @.str.5
	.asciz	"error bringing up device\n"

	.comm	_probe,4,2                      ## @probe
L_.str.6:                               ## @.str.6
	.asciz	"mediatek frame engine at 0x%08lx, irq %d\n"

	.no_dead_strip	_fe_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_probe
_fe_probe:                              ; @fe_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	mov	x20, x0
	mov	x0, x19
	bl	_device_reset
Lloh3:
	adrp	x8, _of_fe_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _of_fe_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	ldr	x21, [x0]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _fe_reg_table@GOTPAGE
Lloh7:
	ldr	x9, [x9, _fe_reg_table@GOTPAGEOFF]
Lloh8:
	str	x8, [x9]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _fe_reg_table@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fe_reg_table@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x21, #8]
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_devm_ioremap_resource
Lloh12:
	adrp	x24, _fe_base@GOTPAGE
Lloh13:
	ldr	x24, [x24, _fe_base@GOTPAGEOFF]
	str	x0, [x24]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_30
LBB0_5:
	mov	w0, #80
	bl	_alloc_etherdev
	cbz	x0, LBB0_19
; %bb.6:
	mov	x20, x0
	mov	x1, x19
	bl	_SET_NETDEV_DEV
Lloh17:
	adrp	x8, _fe_netdev_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _fe_netdev_ops@GOTPAGEOFF]
	str	x8, [x20, #32]
	ldr	x8, [x24]
	str	x8, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x20, #8]
	tbnz	x0, #63, LBB0_20
; %bb.7:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	blr	x8
LBB0_9:
Lloh19:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh21:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w9, w10, [x20, #20]
	bic	w8, w9, w8
	str	w8, [x20, #16]
	orr	w8, w10, w9
	str	w8, [x20, #24]
Lloh25:
	adrp	x8, _CONFIG_SOC_MT7621@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CONFIG_SOC_MT7621@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_11
; %bb.10:
	mov	w8, #2048
	str	w8, [x20, #28]
LBB0_11:
Lloh28:
	adrp	x23, _fe_reg_table@GOTPAGE
Lloh29:
	ldr	x23, [x23, _fe_reg_table@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh30:
	adrp	x9, _FE_REG_FE_DMA_VID_BASE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FE_REG_FE_DMA_VID_BASE@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_13
; %bb.12:
Lloh33:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x20, #24]
	orr	w8, w9, w8
	str	w8, [x20, #24]
LBB0_13:
	mov	x0, x20
	bl	_netdev_priv
	mov	x22, x0
	add	x0, x0, #72
	bl	_spin_lock_init
	ldr	x8, [x23]
Lloh36:
	adrp	x9, _FE_REG_FE_COUNTER_BASE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FE_REG_FE_COUNTER_BASE@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_16
; %bb.14:
Lloh39:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	str	x0, [x22, #24]
	cbz	x0, LBB0_26
; %bb.15:
	add	x0, x0, #4
	bl	_spin_lock_init
LBB0_16:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.17:
	ldr	w8, [x22]
Lloh42:
	adrp	x9, _FE_FLAG_CALIBRATE_CLK@GOTPAGE
Lloh43:
	ldr	x9, [x9, _FE_FLAG_CALIBRATE_CLK@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.18:
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_19:
Lloh47:
	adrp	x1, l_.str@PAGE
Lloh48:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_29
LBB0_20:
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_dev_err
Lloh54:
	adrp	x8, _ENXIO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_27
LBB0_22:
	mov	x0, x23
	bl	_clk_get_rate
	str	w0, [x22, #68]
LBB0_23:
	ldr	w0, [x19]
Lloh56:
	adrp	x1, l_.str.3@PAGE
Lloh57:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	str	w0, [x22, #64]
	ldr	w8, [x22]
Lloh58:
	adrp	x9, _FE_FLAG_HAS_SWITCH@GOTPAGE
Lloh59:
	ldr	x9, [x9, _FE_FLAG_HAS_SWITCH@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.24:
	cbnz	w0, LBB0_31
; %bb.25:
Lloh61:
	adrp	x1, l_.str.4@PAGE
Lloh62:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh63:
	adrp	x8, _ENODEV@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:
Lloh65:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_28:
	mov	x0, x20
	bl	_free_netdev
LBB0_29:
	ldr	x1, [x24]
	mov	x0, x19
	bl	_devm_iounmap
LBB0_30:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_31:
	stp	x19, x20, [x22, #48]
	str	x21, [x22, #40]
Lloh67:
	adrp	x8, _fe_msg_level@GOTPAGE
Lloh68:
	ldr	x8, [x8, _fe_msg_level@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
Lloh70:
	adrp	x8, _FE_DEFAULT_MSG_ENABLE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FE_DEFAULT_MSG_ENABLE@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	bl	_netif_msg_init
	str	w0, [x22, #36]
Lloh73:
	adrp	x8, _ETH_DATA_LEN@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	bl	_fe_max_frag_size
	str	w0, [x22, #12]
	bl	_fe_max_buf_size
Lloh76:
	adrp	x8, _NUM_DMA_DESC@GOTPAGE
Lloh77:
	ldr	x8, [x8, _NUM_DMA_DESC@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	stp	w0, w8, [x22, #16]
	str	w8, [x22, #8]
	add	x0, x22, #32
Lloh79:
	adrp	x8, _fe_pending_work@GOTPAGE
Lloh80:
	ldr	x8, [x8, _fe_pending_work@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	x0, [x22, #24]
	bl	_u64_stats_init
	ldr	w8, [x22]
Lloh82:
	adrp	x9, _FE_FLAG_NAPI_WEIGHT@GOTPAGE
Lloh83:
	ldr	x9, [x9, _FE_FLAG_NAPI_WEIGHT@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
	ldr	w8, [x22, #20]
	lsl	w8, w8, #2
	str	w8, [x22, #20]
	ldr	w8, [x22, #8]
	lsl	w8, w8, #2
	str	w8, [x22, #8]
	mov	w3, #64
	b	LBB0_34
LBB0_33:
	mov	w3, #16
LBB0_34:
	add	x1, x22, #4
Lloh85:
	adrp	x8, _fe_poll@GOTPAGE
Lloh86:
	ldr	x8, [x8, _fe_poll@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_netif_napi_add
	mov	x0, x20
	bl	_fe_set_ethtool_ops
	mov	x0, x20
	bl	_register_netdev
	mov	x21, x0
	cbz	w0, LBB0_36
; %bb.35:
Lloh88:
	adrp	x1, l_.str.5@PAGE
Lloh89:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_28
LBB0_36:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh90:
	adrp	x8, _probe@GOTPAGE
Lloh91:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	ldp	x4, x5, [x20]
Lloh93:
	adrp	x3, l_.str.6@PAGE
Lloh94:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	bl	_netif_info
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_of_fe_match,4,2                ; @of_fe_match
	.comm	_fe_reg_table,8,3               ; @fe_reg_table
	.comm	_fe_base,8,3                    ; @fe_base
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alloc_etherdev failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_fe_netdev_ops,4,2              ; @fe_netdev_ops
l_.str.1:                               ; @.str.1
	.asciz	"no IRQ resource found\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_CONFIG_SOC_MT7621,4,2          ; @CONFIG_SOC_MT7621
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ; @FE_REG_FE_DMA_VID_BASE
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_FE_REG_FE_COUNTER_BASE,8,3     ; @FE_REG_FE_COUNTER_BASE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_FE_FLAG_CALIBRATE_CLK,4,2      ; @FE_FLAG_CALIBRATE_CLK
l_.str.2:                               ; @.str.2
	.asciz	"this soc needs a clk for calibration\n"

l_.str.3:                               ; @.str.3
	.asciz	"mediatek,switch"

	.comm	_FE_FLAG_HAS_SWITCH,4,2         ; @FE_FLAG_HAS_SWITCH
l_.str.4:                               ; @.str.4
	.asciz	"failed to read switch phandle\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_fe_msg_level,4,2               ; @fe_msg_level
	.comm	_FE_DEFAULT_MSG_ENABLE,4,2      ; @FE_DEFAULT_MSG_ENABLE
	.comm	_ETH_DATA_LEN,4,2               ; @ETH_DATA_LEN
	.comm	_NUM_DMA_DESC,8,3               ; @NUM_DMA_DESC
	.comm	_fe_pending_work,4,2            ; @fe_pending_work
	.comm	_FE_FLAG_NAPI_WEIGHT,4,2        ; @FE_FLAG_NAPI_WEIGHT
	.comm	_fe_poll,4,2                    ; @fe_poll
l_.str.5:                               ; @.str.5
	.asciz	"error bringing up device\n"

	.comm	_probe,4,2                      ; @probe
l_.str.6:                               ; @.str.6
	.asciz	"mediatek frame engine at 0x%08lx, irq %d\n"

	.no_dead_strip	_fe_probe
.subsections_via_symbols
