	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marvell_resume
_marvell_resume:                        ## @marvell_resume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_linkmode_test_bit
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_genphy_resume                  ## TAILCALL
LBB0_1:
	movq	_MII_MARVELL_FIBER_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_marvell_set_page
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_genphy_resume
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	_MII_MARVELL_COPPER_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_marvell_set_page
	testl	%eax, %eax
	jns	LBB0_5
LBB0_4:
	movl	%eax, %r14d
	movq	_MII_MARVELL_COPPER_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_marvell_set_page
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHTOOL_LINK_MODE_FIBRE_BIT,4,2 ## @ETHTOOL_LINK_MODE_FIBRE_BIT
	.comm	_MII_MARVELL_FIBER_PAGE,4,2     ## @MII_MARVELL_FIBER_PAGE
	.comm	_MII_MARVELL_COPPER_PAGE,4,2    ## @MII_MARVELL_COPPER_PAGE
	.no_dead_strip	_marvell_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marvell_resume
_marvell_resume:                        ; @marvell_resume
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_test_bit
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_genphy_resume
LBB0_2:
Lloh3:
	adrp	x8, _MII_MARVELL_FIBER_PAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_MARVELL_FIBER_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_marvell_set_page
Lloh6:
	adrp	x21, _MII_MARVELL_COPPER_PAGE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MII_MARVELL_COPPER_PAGE@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_genphy_resume
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_marvell_set_page
	tbz	w0, #31, LBB0_1
LBB0_5:
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_marvell_set_page
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHTOOL_LINK_MODE_FIBRE_BIT,4,2 ; @ETHTOOL_LINK_MODE_FIBRE_BIT
	.comm	_MII_MARVELL_FIBER_PAGE,4,2     ; @MII_MARVELL_FIBER_PAGE
	.comm	_MII_MARVELL_COPPER_PAGE,4,2    ; @MII_MARVELL_COPPER_PAGE
	.no_dead_strip	_marvell_resume
.subsections_via_symbols
