	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmgenet_probe
_bcmgenet_probe:                        ## @bcmgenet_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	$24, %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	(%rdi), %rbx
	movq	8(%rdi), %r12
	movq	_GENET_MAX_MQ_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movl	$120, %edi
	movq	%rdx, %rsi
	callq	_alloc_etherdev_mqs
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	_bcmgenet_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_node
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_15
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 112(%r12)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_platform_get_irq
	movq	%rax, 104(%r12)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_platform_get_irq
	movq	%rax, 88(%r12)
	cmpq	$0, 112(%r12)
	je	LBB0_12
## %bb.8:
	cmpq	$0, 104(%r12)
	je	LBB0_12
## %bb.9:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.10:
	movq	%rbx, %rdi
	callq	_of_get_mac_address
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %r13d
LBB0_14:
	movq	%r14, %rdi
	callq	_free_netdev
LBB0_15:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
LBB0_17:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, (%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_14
LBB0_19:
	leaq	100(%r12), %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movl	32(%r14), %edi
	movq	%r13, %rsi
	callq	_ether_addr_copy
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movl	%eax, (%r14)
	movq	_bcmgenet_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	movq	_bcmgenet_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movq	_GENET_MSG_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edi
	callq	_netif_msg_init
	movl	%eax, 96(%r12)
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 4(%r14)
	movl	$1, 8(%r12)
	movq	88(%r12), %rsi
	movq	_bcmgenet_wol_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%r14), %r8d
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_device_set_wakeup_capable
LBB0_21:
	addl	$64, 8(%r14)
	movq	%r14, %rdi
	callq	_netdev_boot_setup_check
	movq	%r14, 56(%r12)
	movq	%r15, 64(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
LBB0_24:
	movl	%eax, 12(%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	64(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_warn
	movq	$0, 16(%r12)
	xorl	%edi, %edi
	jmp	LBB0_27
LBB0_26:
	movq	16(%r12), %rdi
LBB0_27:
	callq	_clk_prepare_enable
	movq	%r12, %rdi
	callq	_bcmgenet_set_hw_params
	leaq	80(%r12), %rdi
	callq	_init_waitqueue_head
	movq	_RX_BUF_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r12)
	movq	%r12, %rdi
	addq	$72, %rdi
	movq	_bcmgenet_irq_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	64(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 24(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	64(%r12), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_warn
	movq	$0, 24(%r12)
LBB0_29:
	movq	64(%r12), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 32(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	64(%r12), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_dev_warn
	movq	$0, 32(%r12)
LBB0_31:
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.32:
	leaq	L_.str.9(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_string
	testl	%eax, %eax
	jne	LBB0_35
## %bb.33:
	movq	-64(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_35
## %bb.34:
	movq	_GENET_POWER_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_bcmgenet_power_up
LBB0_35:
	movq	%r12, %rdi
	callq	_reset_umac
	movq	%r14, %rdi
	callq	_bcmgenet_mii_init
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:
	movl	%eax, %r13d
	movq	16(%r12), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_14
LBB0_37:
	movq	48(%r12), %rax
	movq	56(%r12), %rdi
	movq	8(%rax), %rsi
	incq	%rsi
	callq	_netif_set_real_num_tx_queues
	movq	48(%r12), %rax
	movq	56(%r12), %rdi
	movl	(%rax), %esi
	incl	%esi
	callq	_netif_set_real_num_rx_queues
	movq	48(%r12), %rax
	movl	(%rax), %edx
	testq	%rdx, %rdx
	je	LBB0_39
## %bb.38:
	movq	40(%r12), %rdi
	shlq	$2, %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_39:
	movq	40(%r12), %rax
	movq	_DESC_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	16(%r12), %rdi
	callq	_clk_disable_unprepare
	movq	%r14, %rdi
	callq	_register_netdev
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.40:
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GENET_MAX_MQ_CNT,8,3           ## @GENET_MAX_MQ_CNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't allocate net device\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bcmgenet_match,4,2             ## @bcmgenet_match
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"can't find IRQs\n"

L_.str.2:                               ## @.str.2
	.asciz	"can't find MAC address\n"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_bcmgenet_ethtool_ops,4,2       ## @bcmgenet_ethtool_ops
	.comm	_bcmgenet_netdev_ops,4,2        ## @bcmgenet_netdev_ops
	.comm	_GENET_MSG_DEFAULT,4,2          ## @GENET_MSG_DEFAULT
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_bcmgenet_wol_isr,4,2           ## @bcmgenet_wol_isr
L_.str.3:                               ## @.str.3
	.asciz	"enet"

L_.str.4:                               ## @.str.4
	.asciz	"failed to get enet clock\n"

	.comm	_RX_BUF_LENGTH,4,2              ## @RX_BUF_LENGTH
	.comm	_bcmgenet_irq_task,4,2          ## @bcmgenet_irq_task
L_.str.5:                               ## @.str.5
	.asciz	"enet-wol"

L_.str.6:                               ## @.str.6
	.asciz	"failed to get enet-wol clock\n"

L_.str.7:                               ## @.str.7
	.asciz	"enet-eee"

L_.str.8:                               ## @.str.8
	.asciz	"failed to get enet-eee clock\n"

L_.str.9:                               ## @.str.9
	.asciz	"phy-mode"

L_.str.10:                              ## @.str.10
	.asciz	"internal"

	.comm	_GENET_POWER_PASSIVE,4,2        ## @GENET_POWER_PASSIVE
	.comm	_DESC_INDEX,8,3                 ## @DESC_INDEX
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.no_dead_strip	_bcmgenet_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmgenet_probe
_bcmgenet_probe:                        ; @bcmgenet_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x0
	ldp	x21, x25, [x0]
Lloh0:
	adrp	x8, _GENET_MAX_MQ_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENET_MAX_MQ_CNT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	w0, #120
	mov	x2, x1
	bl	_alloc_etherdev_mqs
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	cbz	x21, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _bcmgenet_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bcmgenet_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_of_match_node
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_15
LBB0_6:
	mov	x23, #0
LBB0_7:
	mov	x0, x19
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x22
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x20, #112]
	mov	x0, x22
	mov	w1, #1
	bl	_platform_get_irq
	str	x0, [x20, #104]
	mov	x0, x22
	mov	w1, #2
	bl	_platform_get_irq
	str	x0, [x20, #88]
	ldr	x8, [x20, #112]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x20, #104]
	cbz	x8, LBB0_12
; %bb.9:
	cbz	x21, LBB0_16
; %bb.10:
	mov	x0, x21
	bl	_of_get_mac_address
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.11:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	mov	x0, x22
	bl	_dev_err
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_14:
	mov	x0, x19
	bl	_free_netdev
LBB0_15:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_16:
	ldr	x24, [x25]
LBB0_17:
	mov	x0, x22
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x0, [x20]
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_14
LBB0_19:
	add	x0, x20, #100
	bl	_spin_lock_init
	mov	x0, x19
	mov	x1, x22
	bl	_SET_NETDEV_DEV
	mov	x0, x22
	mov	x1, x19
	bl	_dev_set_drvdata
	ldr	w0, [x19, #32]
	mov	x1, x24
	bl	_ether_addr_copy
Lloh19:
	adrp	x8, _HZ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	lsl	w8, w8, #1
Lloh22:
	adrp	x9, _bcmgenet_ethtool_ops@GOTPAGE
Lloh23:
	ldr	x9, [x9, _bcmgenet_ethtool_ops@GOTPAGEOFF]
Lloh24:
	adrp	x10, _bcmgenet_netdev_ops@GOTPAGE
Lloh25:
	ldr	x10, [x10, _bcmgenet_netdev_ops@GOTPAGEOFF]
	str	w8, [x19]
	stp	x10, x9, [x19, #16]
Lloh26:
	adrp	x8, _GENET_MSG_DEFAULT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GENET_MSG_DEFAULT@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w0, #-1
	bl	_netif_msg_init
Lloh29:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
	str	w0, [x20, #96]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh35:
	adrp	x9, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh39:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #4]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	x1, [x20, #88]
Lloh41:
	adrp	x8, _bcmgenet_wol_isr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _bcmgenet_wol_isr@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	ldr	w4, [x19, #12]
	mov	x0, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbnz	w0, LBB0_21
; %bb.20:
	mov	x0, x22
	mov	w1, #1
	bl	_device_set_wakeup_capable
LBB0_21:
	ldr	w8, [x19, #8]
	add	w8, w8, #64
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_netdev_boot_setup_check
	stp	x19, x22, [x20, #56]
	cbz	x23, LBB0_23
; %bb.22:
	ldr	w8, [x23]
	b	LBB0_24
LBB0_23:
	ldr	w8, [x25, #8]
LBB0_24:
	str	w8, [x20, #12]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_26
; %bb.25:
	ldr	x0, [x20, #64]
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_warn
	mov	x0, #0
	str	xzr, [x20, #16]
	b	LBB0_27
LBB0_26:
	ldr	x0, [x20, #16]
LBB0_27:
	bl	_clk_prepare_enable
	mov	x0, x20
	bl	_bcmgenet_set_hw_params
	add	x0, x20, #80
	bl	_init_waitqueue_head
Lloh48:
	adrp	x8, _RX_BUF_LENGTH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RX_BUF_LENGTH@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [x20, #76]
	add	x0, x20, #72
Lloh51:
	adrp	x8, _bcmgenet_irq_task@GOTPAGE
Lloh52:
	ldr	x8, [x8, _bcmgenet_irq_task@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	x0, [x20, #64]
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x0, [x20, #64]
Lloh56:
	adrp	x1, l_.str.6@PAGE
Lloh57:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_warn
	str	xzr, [x20, #24]
LBB0_29:
	ldr	x0, [x20, #64]
Lloh58:
	adrp	x1, l_.str.7@PAGE
Lloh59:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_31
; %bb.30:
	ldr	x0, [x20, #64]
Lloh60:
	adrp	x1, l_.str.8@PAGE
Lloh61:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_warn
	str	xzr, [x20, #32]
LBB0_31:
	cbz	x21, LBB0_35
; %bb.32:
Lloh62:
	adrp	x1, l_.str.9@PAGE
Lloh63:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_string
	cbnz	w0, LBB0_35
; %bb.33:
	ldr	x0, [sp, #8]
Lloh64:
	adrp	x1, l_.str.10@PAGE
Lloh65:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcasecmp
	cbnz	w0, LBB0_35
; %bb.34:
Lloh66:
	adrp	x8, _GENET_POWER_PASSIVE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _GENET_POWER_PASSIVE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bcmgenet_power_up
LBB0_35:
	mov	x0, x20
	bl	_reset_umac
	mov	x0, x19
	bl	_bcmgenet_mii_init
	cbz	w0, LBB0_37
; %bb.36:
	mov	x21, x0
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
	b	LBB0_14
LBB0_37:
	ldp	x8, x0, [x20, #48]
	ldr	x8, [x8, #8]
	add	x1, x8, #1
	bl	_netif_set_real_num_tx_queues
	ldp	x8, x0, [x20, #48]
	ldr	w8, [x8]
	add	w1, w8, #1
	bl	_netif_set_real_num_rx_queues
	ldr	x8, [x20, #48]
	ldr	w8, [x8]
	cbz	w8, LBB0_39
; %bb.38:
	ldr	x0, [x20, #40]
	lsl	x2, x8, #2
Lloh69:
	adrp	x1, l_.memset_pattern@PAGE
Lloh70:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_39:
	ldr	x8, [x20, #40]
Lloh71:
	adrp	x9, _DESC_INDEX@GOTPAGE
Lloh72:
	ldr	x9, [x9, _DESC_INDEX@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_netif_carrier_off
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
	mov	x0, x19
	bl	_register_netdev
	mov	x21, x0
	cbnz	w0, LBB0_14
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GENET_MAX_MQ_CNT,8,3           ; @GENET_MAX_MQ_CNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't allocate net device\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bcmgenet_match,4,2             ; @bcmgenet_match
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"can't find IRQs\n"

l_.str.2:                               ; @.str.2
	.asciz	"can't find MAC address\n"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_bcmgenet_ethtool_ops,4,2       ; @bcmgenet_ethtool_ops
	.comm	_bcmgenet_netdev_ops,4,2        ; @bcmgenet_netdev_ops
	.comm	_GENET_MSG_DEFAULT,4,2          ; @GENET_MSG_DEFAULT
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_bcmgenet_wol_isr,4,2           ; @bcmgenet_wol_isr
l_.str.3:                               ; @.str.3
	.asciz	"enet"

l_.str.4:                               ; @.str.4
	.asciz	"failed to get enet clock\n"

	.comm	_RX_BUF_LENGTH,4,2              ; @RX_BUF_LENGTH
	.comm	_bcmgenet_irq_task,4,2          ; @bcmgenet_irq_task
l_.str.5:                               ; @.str.5
	.asciz	"enet-wol"

l_.str.6:                               ; @.str.6
	.asciz	"failed to get enet-wol clock\n"

l_.str.7:                               ; @.str.7
	.asciz	"enet-eee"

l_.str.8:                               ; @.str.8
	.asciz	"failed to get enet-eee clock\n"

l_.str.9:                               ; @.str.9
	.asciz	"phy-mode"

l_.str.10:                              ; @.str.10
	.asciz	"internal"

	.comm	_GENET_POWER_PASSIVE,4,2        ; @GENET_POWER_PASSIVE
	.comm	_DESC_INDEX,8,3                 ; @DESC_INDEX
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.no_dead_strip	_bcmgenet_probe
.subsections_via_symbols
