	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcvr_init_10g_mrvl88x2011
_xcvr_init_10g_mrvl88x2011:             ## @xcvr_init_10g_mrvl88x2011
	.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, %rbx
	movq	_MRVL88X2011_LED_BLKRATE_134MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mrvl88x2011_led_blink_rate
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_MRVL88X2011_LED_CTL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mrvl88x2011_act_led
	testl	%eax, %eax
	je	LBB0_2
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %esi
	movq	_MRVL88X2011_USER_DEV3_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_MRVL88X2011_GENERAL_CTL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_mdio_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	_MRVL88X2011_ENA_XFPREFCLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	%eax, %r8d
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_mdio_write
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	(%rbx), %esi
	movq	_MRVL88X2011_USER_DEV1_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_MRVL88X2011_PMA_PMD_CTL_1@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_mdio_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	8(%rbx), %rcx
	movq	_LOOPBACK_MAC@GOTPCREL(%rip), %rdx
	movq	_MRVL88X2011_LOOPBACK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movl	%r8d, %esi
	orl	%eax, %esi
	notl	%r8d
	andl	%eax, %r8d
	cmpq	(%rdx), %rcx
	cmovel	%esi, %r8d
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_mdio_write
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movq	_MRVL88X2011_10G_PMD_TX_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MRVL88X2011_ENA_PMDTX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mdio_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MRVL88X2011_LED_BLKRATE_134MS,4,2 ## @MRVL88X2011_LED_BLKRATE_134MS
	.comm	_MRVL88X2011_LED_CTL_OFF,4,2    ## @MRVL88X2011_LED_CTL_OFF
	.comm	_MRVL88X2011_USER_DEV3_ADDR,4,2 ## @MRVL88X2011_USER_DEV3_ADDR
	.comm	_MRVL88X2011_GENERAL_CTL,4,2    ## @MRVL88X2011_GENERAL_CTL
	.comm	_MRVL88X2011_ENA_XFPREFCLK,4,2  ## @MRVL88X2011_ENA_XFPREFCLK
	.comm	_MRVL88X2011_USER_DEV1_ADDR,4,2 ## @MRVL88X2011_USER_DEV1_ADDR
	.comm	_MRVL88X2011_PMA_PMD_CTL_1,4,2  ## @MRVL88X2011_PMA_PMD_CTL_1
	.comm	_LOOPBACK_MAC,8,3               ## @LOOPBACK_MAC
	.comm	_MRVL88X2011_LOOPBACK,4,2       ## @MRVL88X2011_LOOPBACK
	.comm	_MRVL88X2011_10G_PMD_TX_DIS,4,2 ## @MRVL88X2011_10G_PMD_TX_DIS
	.comm	_MRVL88X2011_ENA_PMDTX,4,2      ## @MRVL88X2011_ENA_PMDTX
	.no_dead_strip	_xcvr_init_10g_mrvl88x2011
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcvr_init_10g_mrvl88x2011
_xcvr_init_10g_mrvl88x2011:             ; @xcvr_init_10g_mrvl88x2011
	.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, _MRVL88X2011_LED_BLKRATE_134MS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MRVL88X2011_LED_BLKRATE_134MS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mrvl88x2011_led_blink_rate
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MRVL88X2011_LED_CTL_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MRVL88X2011_LED_CTL_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mrvl88x2011_act_led
	cbz	w0, LBB0_3
LBB0_2:
	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
LBB0_3:
	ldr	w1, [x19]
Lloh6:
	adrp	x20, _MRVL88X2011_USER_DEV3_ADDR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MRVL88X2011_USER_DEV3_ADDR@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh8:
	adrp	x21, _MRVL88X2011_GENERAL_CTL@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MRVL88X2011_GENERAL_CTL@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mdio_read
	tbnz	w0, #31, LBB0_2
; %bb.4:
Lloh10:
	adrp	x8, _MRVL88X2011_ENA_XFPREFCLK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MRVL88X2011_ENA_XFPREFCLK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w4, w8, w0
	ldr	w1, [x19]
	ldr	w2, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mdio_write
	tbnz	w0, #31, LBB0_2
; %bb.5:
	ldr	w1, [x19]
Lloh13:
	adrp	x20, _MRVL88X2011_USER_DEV1_ADDR@GOTPAGE
Lloh14:
	ldr	x20, [x20, _MRVL88X2011_USER_DEV1_ADDR@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh15:
	adrp	x21, _MRVL88X2011_PMA_PMD_CTL_1@GOTPAGE
Lloh16:
	ldr	x21, [x21, _MRVL88X2011_PMA_PMD_CTL_1@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mdio_read
	tbnz	w0, #31, LBB0_2
; %bb.6:
Lloh17:
	adrp	x8, _LOOPBACK_MAC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LOOPBACK_MAC@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x10, _MRVL88X2011_LOOPBACK@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MRVL88X2011_LOOPBACK@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w11, w10, w0
	bic	w10, w0, w10
	cmp	x9, x8
	csel	w4, w11, w10, eq
	ldr	w1, [x19]
	ldr	w2, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mdio_write
	tbnz	w0, #31, LBB0_2
; %bb.7:
	ldr	w1, [x19]
	ldr	w2, [x20]
Lloh23:
	adrp	x8, _MRVL88X2011_10G_PMD_TX_DIS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MRVL88X2011_10G_PMD_TX_DIS@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _MRVL88X2011_ENA_PMDTX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MRVL88X2011_ENA_PMDTX@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	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	_mdio_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MRVL88X2011_LED_BLKRATE_134MS,4,2 ; @MRVL88X2011_LED_BLKRATE_134MS
	.comm	_MRVL88X2011_LED_CTL_OFF,4,2    ; @MRVL88X2011_LED_CTL_OFF
	.comm	_MRVL88X2011_USER_DEV3_ADDR,4,2 ; @MRVL88X2011_USER_DEV3_ADDR
	.comm	_MRVL88X2011_GENERAL_CTL,4,2    ; @MRVL88X2011_GENERAL_CTL
	.comm	_MRVL88X2011_ENA_XFPREFCLK,4,2  ; @MRVL88X2011_ENA_XFPREFCLK
	.comm	_MRVL88X2011_USER_DEV1_ADDR,4,2 ; @MRVL88X2011_USER_DEV1_ADDR
	.comm	_MRVL88X2011_PMA_PMD_CTL_1,4,2  ; @MRVL88X2011_PMA_PMD_CTL_1
	.comm	_LOOPBACK_MAC,8,3               ; @LOOPBACK_MAC
	.comm	_MRVL88X2011_LOOPBACK,4,2       ; @MRVL88X2011_LOOPBACK
	.comm	_MRVL88X2011_10G_PMD_TX_DIS,4,2 ; @MRVL88X2011_10G_PMD_TX_DIS
	.comm	_MRVL88X2011_ENA_PMDTX,4,2      ; @MRVL88X2011_ENA_PMDTX
	.no_dead_strip	_xcvr_init_10g_mrvl88x2011
.subsections_via_symbols
