	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_phy_start
_tg3_phy_start:                         ## @tg3_phy_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	movq	_TG3_PHYFLG_IS_CONNECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	24(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_TG3_PHY_MII_ADDR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rbx
	movq	_TG3_PHYFLG_IS_LOW_POWER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.2:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
	movups	4(%rdi), %xmm0
	movups	%xmm0, (%rbx)
LBB0_3:
	movq	%rbx, %rdi
	callq	_phy_start
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phy_start_aneg                 ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TG3_PHYFLG_IS_CONNECTED,4,2    ## @TG3_PHYFLG_IS_CONNECTED
	.comm	_TG3_PHY_MII_ADDR,8,3           ## @TG3_PHY_MII_ADDR
	.comm	_TG3_PHYFLG_IS_LOW_POWER,4,2    ## @TG3_PHYFLG_IS_LOW_POWER
	.no_dead_strip	_tg3_phy_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_phy_start
_tg3_phy_start:                         ; @tg3_phy_start
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TG3_PHYFLG_IS_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TG3_PHYFLG_IS_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x9, [x0, #24]
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _TG3_PHY_MII_ADDR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TG3_PHY_MII_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x19, [x9, x10, lsl #3]
Lloh6:
	adrp	x9, _TG3_PHYFLG_IS_LOW_POWER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TG3_PHYFLG_IS_LOW_POWER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	bic	w8, w8, w9
	str	w8, [x0]
	ldur	q0, [x0, #4]
	str	q0, [x19]
LBB0_3:
	mov	x0, x19
	bl	_phy_start
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_start_aneg
LBB0_4:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TG3_PHYFLG_IS_CONNECTED,4,2    ; @TG3_PHYFLG_IS_CONNECTED
	.comm	_TG3_PHY_MII_ADDR,8,3           ; @TG3_PHY_MII_ADDR
	.comm	_TG3_PHYFLG_IS_LOW_POWER,4,2    ; @TG3_PHYFLG_IS_LOW_POWER
	.no_dead_strip	_tg3_phy_start
.subsections_via_symbols
