	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marvell_setup_forced
_marvell_setup_forced:                  ## @marvell_setup_forced
	.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
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	movl	%edx, 4(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sungem_phy_read
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	orl	%r14d, %ecx
	movq	_BMCR_SPD2@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, %ecx
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_BMCR_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	cmpl	$128, %r15d
	je	LBB0_3
## %bb.1:
	cmpl	$129, %r15d
	jne	LBB0_4
## %bb.2:
	orl	%edx, %ecx
	jmp	LBB0_4
LBB0_3:
	orl	%esi, %ecx
LBB0_4:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	cmpl	%r12d, (%r13)
	cmovnel	%eax, %r14d
	orl	%ecx, %r14d
	movq	_MII_M1011_PHY_SPEC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sungem_phy_read
	movq	_MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX@GOTPCREL(%rip), %rcx
	movq	_MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_MII_1000BASETCONTROL_FULLDUPLEXCAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MII_1000BASETCONTROL_HALFDUPLEXCAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%ecx, %edi
	orl	%edx, %edi
	orl	%esi, %edi
	notl	%edi
	andl	%eax, %edi
	cmpl	%r12d, (%r13)
	cmovel	%ecx, %edx
	cmpl	$128, %r15d
	movl	$0, %eax
	cmovnel	%eax, %edx
	orl	%edi, %edx
	movq	_MII_1000BASETCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sungem_phy_write
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_sungem_phy_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.comm	_BMCR_SPEED100,4,2              ## @BMCR_SPEED100
	.comm	_BMCR_SPD2,4,2                  ## @BMCR_SPD2
	.comm	_BMCR_ANENABLE,4,2              ## @BMCR_ANENABLE
	.comm	_BMCR_RESET,4,2                 ## @BMCR_RESET
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_MII_M1011_PHY_SPEC_CONTROL,4,2 ## @MII_M1011_PHY_SPEC_CONTROL
	.comm	_MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX,4,2 ## @MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX
	.comm	_MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX,4,2 ## @MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX
	.comm	_MII_1000BASETCONTROL_FULLDUPLEXCAP,4,2 ## @MII_1000BASETCONTROL_FULLDUPLEXCAP
	.comm	_MII_1000BASETCONTROL_HALFDUPLEXCAP,4,2 ## @MII_1000BASETCONTROL_HALFDUPLEXCAP
	.comm	_MII_1000BASETCONTROL,4,2       ## @MII_1000BASETCONTROL
	.no_dead_strip	_marvell_setup_forced
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marvell_setup_forced
_marvell_setup_forced:                  ; @marvell_setup_forced
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	stp	w1, w2, [x0]
	stp	xzr, xzr, [x0, #8]
Lloh0:
	adrp	x23, _MII_BMCR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MII_BMCR@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_sungem_phy_read
Lloh2:
	adrp	x8, _BMCR_FULLDPLX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BMCR_SPEED100@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BMCR_SPEED100@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh8:
	adrp	x11, _BMCR_SPD2@GOTPAGE
Lloh9:
	ldr	x11, [x11, _BMCR_SPD2@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh11:
	adrp	x12, _BMCR_ANENABLE@GOTPAGE
Lloh12:
	ldr	x12, [x12, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	orr	w10, w10, w12
Lloh14:
	adrp	x12, _BMCR_RESET@GOTPAGE
Lloh15:
	ldr	x12, [x12, _BMCR_RESET@GOTPAGEOFF]
	bic	w10, w0, w10
Lloh16:
	ldr	w12, [x12]
	orr	w10, w10, w12
	orr	w11, w10, w11
	orr	w9, w10, w9
	cmp	w20, #129
	csel	w9, w10, w9, ne
	cmp	w20, #128
	csel	w9, w11, w9, eq
Lloh17:
	adrp	x24, _DUPLEX_FULL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _DUPLEX_FULL@GOTPAGEOFF]
	ldr	w10, [x24]
	cmp	w10, w21
	csel	w8, w8, wzr, eq
	orr	w22, w8, w9
Lloh19:
	adrp	x8, _MII_M1011_PHY_SPEC_CONTROL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MII_M1011_PHY_SPEC_CONTROL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sungem_phy_read
Lloh22:
	adrp	x8, _MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _MII_1000BASETCONTROL_FULLDUPLEXCAP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MII_1000BASETCONTROL_FULLDUPLEXCAP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x10, _MII_1000BASETCONTROL_HALFDUPLEXCAP@GOTPAGE
Lloh32:
	ldr	x10, [x10, _MII_1000BASETCONTROL_HALFDUPLEXCAP@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w8, w8, w10
	bic	w8, w0, w8
	ldr	w11, [x24]
	cmp	w11, w21
	csel	w9, w9, w10, eq
	cmp	w20, #128
	csel	w9, w9, wzr, eq
	orr	w2, w9, w8
Lloh34:
	adrp	x8, _MII_1000BASETCONTROL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MII_1000BASETCONTROL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sungem_phy_write
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_sungem_phy_write
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.comm	_BMCR_SPEED100,4,2              ; @BMCR_SPEED100
	.comm	_BMCR_SPD2,4,2                  ; @BMCR_SPD2
	.comm	_BMCR_ANENABLE,4,2              ; @BMCR_ANENABLE
	.comm	_BMCR_RESET,4,2                 ; @BMCR_RESET
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_MII_M1011_PHY_SPEC_CONTROL,4,2 ; @MII_M1011_PHY_SPEC_CONTROL
	.comm	_MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX,4,2 ; @MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX
	.comm	_MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX,4,2 ; @MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX
	.comm	_MII_1000BASETCONTROL_FULLDUPLEXCAP,4,2 ; @MII_1000BASETCONTROL_FULLDUPLEXCAP
	.comm	_MII_1000BASETCONTROL_HALFDUPLEXCAP,4,2 ; @MII_1000BASETCONTROL_HALFDUPLEXCAP
	.comm	_MII_1000BASETCONTROL,4,2       ; @MII_1000BASETCONTROL
	.no_dead_strip	_marvell_setup_forced
.subsections_via_symbols
