	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yukon_link_up
_yukon_link_up:                         ## @yukon_link_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movl	(%rdi), %r15d
	movq	_GMAC_IRQ_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SK_REG
	movq	_GMAC_DEF_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skge_write8
	movq	_GM_GP_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_gma_read16
	movq	8(%rbx), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rcx
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_2:
	movq	_GM_GPCR_DUP_FULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	movq	_GM_GPCR_RX_ENA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_GM_GPCR_TX_ENA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	callq	_gma_write16
	movq	_PHY_MARV_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PHY_M_IS_DEF_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_gm_phy_write
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skge_link_up                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GMAC_IRQ_MSK,4,2               ## @GMAC_IRQ_MSK
	.comm	_GMAC_DEF_MSK,4,2               ## @GMAC_DEF_MSK
	.comm	_GM_GP_CTRL,4,2                 ## @GM_GP_CTRL
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_GM_GPCR_DUP_FULL,4,2           ## @GM_GPCR_DUP_FULL
	.comm	_GM_GPCR_RX_ENA,4,2             ## @GM_GPCR_RX_ENA
	.comm	_GM_GPCR_TX_ENA,4,2             ## @GM_GPCR_TX_ENA
	.comm	_PHY_MARV_INT_MASK,4,2          ## @PHY_MARV_INT_MASK
	.comm	_PHY_M_IS_DEF_MSK,4,2           ## @PHY_M_IS_DEF_MSK
	.no_dead_strip	_yukon_link_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yukon_link_up
_yukon_link_up:                         ; @yukon_link_up
	.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
	ldr	x20, [x0, #24]
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _GMAC_IRQ_MSK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GMAC_IRQ_MSK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_SK_REG
	mov	x1, x0
Lloh3:
	adrp	x8, _GMAC_DEF_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GMAC_DEF_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_skge_write8
Lloh6:
	adrp	x22, _GM_GP_CTRL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _GM_GP_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_gma_read16
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
Lloh11:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _GM_GPCR_DUP_FULL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GM_GPCR_DUP_FULL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_3:
Lloh17:
	adrp	x8, _GM_GPCR_RX_ENA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GM_GPCR_RX_ENA@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _GM_GPCR_TX_ENA@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GM_GPCR_TX_ENA@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w3, w8, w9
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_gma_write16
Lloh23:
	adrp	x8, _PHY_MARV_INT_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PHY_MARV_INT_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _PHY_M_IS_DEF_MSK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PHY_M_IS_DEF_MSK@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_gm_phy_write
	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	_skge_link_up
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GMAC_IRQ_MSK,4,2               ; @GMAC_IRQ_MSK
	.comm	_GMAC_DEF_MSK,4,2               ; @GMAC_DEF_MSK
	.comm	_GM_GP_CTRL,4,2                 ; @GM_GP_CTRL
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_GM_GPCR_DUP_FULL,4,2           ; @GM_GPCR_DUP_FULL
	.comm	_GM_GPCR_RX_ENA,4,2             ; @GM_GPCR_RX_ENA
	.comm	_GM_GPCR_TX_ENA,4,2             ; @GM_GPCR_TX_ENA
	.comm	_PHY_MARV_INT_MASK,4,2          ; @PHY_MARV_INT_MASK
	.comm	_PHY_M_IS_DEF_MSK,4,2           ; @PHY_M_IS_DEF_MSK
	.no_dead_strip	_yukon_link_up
.subsections_via_symbols
