	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcvr_init_10g_bcm8706
_xcvr_init_10g_bcm8706:                 ## @xcvr_init_10g_bcm8706
	.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
	movl	(%rdi), %eax
	movq	_NIU_FLAGS_HOTPLUG_PHY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_NIU_FLAGS_HOTPLUG_PHY_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_3:
	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), %rbx
	movl	(%rbx), %edi
	callq	_nr64
	movq	_MIF_CONFIG_INDIRECT_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_nw64
	movq	%r15, %rdi
	callq	_bcm8704_reset
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_xcvr_10g_set_lb_bcm870x
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_bcm8706_init_user_dev3
	testl	%eax, %eax
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcvr_diag_bcm870x              ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIU_FLAGS_HOTPLUG_PHY,4,2      ## @NIU_FLAGS_HOTPLUG_PHY
	.comm	_NIU_FLAGS_HOTPLUG_PHY_PRESENT,4,2 ## @NIU_FLAGS_HOTPLUG_PHY_PRESENT
	.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
	.no_dead_strip	_xcvr_init_10g_bcm8706
.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_bcm8706
_xcvr_init_10g_bcm8706:                 ; @xcvr_init_10g_bcm8706
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NIU_FLAGS_HOTPLUG_PHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NIU_FLAGS_HOTPLUG_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _NIU_FLAGS_HOTPLUG_PHY_PRESENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NIU_FLAGS_HOTPLUG_PHY_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_2:
Lloh6:
	adrp	x20, _XMAC_CONFIG@GOTPAGE
Lloh7:
	ldr	x20, [x20, _XMAC_CONFIG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nr64_mac
Lloh8:
	adrp	x8, _XMAC_CONFIG_LED_POLARITY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XMAC_CONFIG_LED_POLARITY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh11:
	adrp	x9, _XMAC_CONFIG_FORCE_LED_ON@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XMAC_CONFIG_FORCE_LED_ON@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w0, [x20]
	bl	_nw64_mac
Lloh14:
	adrp	x20, _MIF_CONFIG@GOTPAGE
Lloh15:
	ldr	x20, [x20, _MIF_CONFIG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nr64
Lloh16:
	adrp	x8, _MIF_CONFIG_INDIRECT_MODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MIF_CONFIG_INDIRECT_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x20]
	bl	_nw64
	mov	x0, x19
	bl	_bcm8704_reset
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_xcvr_10g_set_lb_bcm870x
	cbnz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_bcm8706_init_user_dev3
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xcvr_diag_bcm870x
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NIU_FLAGS_HOTPLUG_PHY,4,2      ; @NIU_FLAGS_HOTPLUG_PHY
	.comm	_NIU_FLAGS_HOTPLUG_PHY_PRESENT,4,2 ; @NIU_FLAGS_HOTPLUG_PHY_PRESENT
	.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
	.no_dead_strip	_xcvr_init_10g_bcm8706
.subsections_via_symbols
