	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcvr_init_10g
_xcvr_init_10g:                         ## @xcvr_init_10g
	.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	_XMAC_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_nr64_mac
	movq	_XMAC_CONFIG_LED_POLARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_XMAC_CONFIG_FORCE_LED_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r14), %edi
	callq	_nw64_mac
	movq	_MIF_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_nr64
	movq	_MIF_CONFIG_INDIRECT_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_nw64
	movq	(%rbx), %rsi
	movq	8(%rbx), %rax
	movl	8(%rax), %edi
	callq	_phy_decode
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	cltq
	movq	(%rdx,%rax,8), %rax
	movq	_NIU_PHY_ID_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	cmpl	$128, %edx
	jne	LBB0_2
## %bb.1:
	callq	_xcvr_init_10g_mrvl88x2011
	jmp	LBB0_3
LBB0_2:
	callq	_xcvr_init_10g_bcm8704
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XMAC_CONFIG,4,2                ## @XMAC_CONFIG
	.comm	_XMAC_CONFIG_LED_POLARITY,4,2   ## @XMAC_CONFIG_LED_POLARITY
	.comm	_XMAC_CONFIG_FORCE_LED_ON,4,2   ## @XMAC_CONFIG_FORCE_LED_ON
	.comm	_MIF_CONFIG,4,2                 ## @MIF_CONFIG
	.comm	_MIF_CONFIG_INDIRECT_MODE,4,2   ## @MIF_CONFIG_INDIRECT_MODE
	.comm	_NIU_PHY_ID_MASK,4,2            ## @NIU_PHY_ID_MASK
	.no_dead_strip	_xcvr_init_10g
.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
_xcvr_init_10g:                         ; @xcvr_init_10g
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _XMAC_CONFIG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _XMAC_CONFIG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nr64_mac
Lloh2:
	adrp	x8, _XMAC_CONFIG_LED_POLARITY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XMAC_CONFIG_LED_POLARITY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _XMAC_CONFIG_FORCE_LED_ON@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XMAC_CONFIG_FORCE_LED_ON@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w0, [x20]
	bl	_nw64_mac
Lloh8:
	adrp	x20, _MIF_CONFIG@GOTPAGE
Lloh9:
	ldr	x20, [x20, _MIF_CONFIG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nr64
Lloh10:
	adrp	x8, _MIF_CONFIG_INDIRECT_MODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MIF_CONFIG_INDIRECT_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x20]
	bl	_nw64
	ldp	x1, x8, [x19]
	ldr	w0, [x8, #8]
	bl	_phy_decode
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	w8, [x8, x9, lsl #2]
Lloh13:
	adrp	x9, _NIU_PHY_ID_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NIU_PHY_ID_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
	mov	x0, x19
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	bl	_xcvr_init_10g_mrvl88x2011
	b	LBB0_3
LBB0_2:
	bl	_xcvr_init_10g_bcm8704
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XMAC_CONFIG,4,2                ; @XMAC_CONFIG
	.comm	_XMAC_CONFIG_LED_POLARITY,4,2   ; @XMAC_CONFIG_LED_POLARITY
	.comm	_XMAC_CONFIG_FORCE_LED_ON,4,2   ; @XMAC_CONFIG_FORCE_LED_ON
	.comm	_MIF_CONFIG,4,2                 ; @MIF_CONFIG
	.comm	_MIF_CONFIG_INDIRECT_MODE,4,2   ; @MIF_CONFIG_INDIRECT_MODE
	.comm	_NIU_PHY_ID_MASK,4,2            ; @NIU_PHY_ID_MASK
	.no_dead_strip	_xcvr_init_10g
.subsections_via_symbols
