	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_phy_power_up
_tlan_phy_power_up:                     ## @tlan_phy_power_up
	.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
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_TLAN_DEBUG_GNRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_TLAN_DBG
	movl	(%rbx), %edi
	callq	_tlan_mii_sync
	movq	_MII_GC_LOOPBK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r14), %rax
	movq	8(%r14), %rdx
	movl	(%rdx,%rax,4), %esi
	movq	_MII_GEN_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tlan_mii_write_reg
	movl	(%rbx), %edi
	callq	_tlan_mii_sync
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msecs_to_jiffies
	movq	_TLAN_TIMER_PHY_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tlan_set_timer                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_DEBUG_GNRL,4,2            ## @TLAN_DEBUG_GNRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Powering up PHY.\n"

	.comm	_MII_GC_LOOPBK,4,2              ## @MII_GC_LOOPBK
	.comm	_MII_GEN_CTL,4,2                ## @MII_GEN_CTL
	.comm	_TLAN_TIMER_PHY_RESET,4,2       ## @TLAN_TIMER_PHY_RESET
	.no_dead_strip	_tlan_phy_power_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_phy_power_up
_tlan_phy_power_up:                     ; @tlan_phy_power_up
	.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
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _TLAN_DEBUG_GNRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLAN_DEBUG_GNRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_TLAN_DBG
	ldr	w0, [x19]
	bl	_tlan_mii_sync
Lloh5:
	adrp	x8, _MII_GC_LOOPBK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MII_GC_LOOPBK@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	ldp	x9, x8, [x20]
	ldr	w1, [x8, x9, lsl #2]
Lloh8:
	adrp	x8, _MII_GEN_CTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MII_GEN_CTL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tlan_mii_write_reg
	ldr	w0, [x19]
	bl	_tlan_mii_sync
	mov	w0, #500
	bl	_msecs_to_jiffies
	mov	x1, x0
Lloh11:
	adrp	x8, _TLAN_TIMER_PHY_RESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLAN_TIMER_PHY_RESET@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tlan_set_timer
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_DEBUG_GNRL,4,2            ; @TLAN_DEBUG_GNRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Powering up PHY.\n"

	.comm	_MII_GC_LOOPBK,4,2              ; @MII_GC_LOOPBK
	.comm	_MII_GEN_CTL,4,2                ; @MII_GEN_CTL
	.comm	_TLAN_TIMER_PHY_RESET,4,2       ; @TLAN_TIMER_PHY_RESET
	.no_dead_strip	_tlan_phy_power_up
.subsections_via_symbols
