	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_start_dev
_mvpp2_start_dev:                       ## @mvpp2_start_dev
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_mvpp2_txp_max_tx_size_set
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rdi
	addq	%r14, %rdi
	callq	_napi_enable
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_mvpp2_interrupts_enable
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	_MVPP22@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_mvpp22_mode_reconfigure
LBB0_5:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_phylink_start
	jmp	LBB0_8
LBB0_7:
	movl	8(%r15), %eax
	movl	%eax, -32(%rbp)
	leaq	12(%r15), %r14
	movq	_MLO_AN_INBAND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_mvpp2_mac_config
	movl	(%rbx), %esi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_mvpp2_mac_link_up
LBB0_8:
	movl	4(%r15), %edi
	callq	_netif_tx_start_all_queues
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP22,8,3                     ## @MVPP22
	.comm	_MLO_AN_INBAND,4,2              ## @MLO_AN_INBAND
	.no_dead_strip	_mvpp2_start_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_start_dev
_mvpp2_start_dev:                       ; @mvpp2_start_dev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_mvpp2_txp_max_tx_size_set
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x20
	bl	_napi_enable
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_mvpp2_interrupts_enable
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MVPP22@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MVPP22@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_mvpp22_mode_reconfigure
LBB0_5:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_phylink_start
	b	LBB0_8
LBB0_7:
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
	add	x20, x19, #12
Lloh3:
	adrp	x21, _MLO_AN_INBAND@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MLO_AN_INBAND@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_mvpp2_mac_config
	ldr	w1, [x21]
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	x3, #0
	bl	_mvpp2_mac_link_up
LBB0_8:
	ldr	w0, [x19, #4]
	bl	_netif_tx_start_all_queues
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP22,8,3                     ; @MVPP22
	.comm	_MLO_AN_INBAND,4,2              ; @MLO_AN_INBAND
	.no_dead_strip	_mvpp2_start_dev
.subsections_via_symbols
