	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genesis_link_up
_genesis_link_up:                       ## @genesis_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movl	(%rdi), %r15d
	movq	_XM_MMU_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_read16
	movq	8(%rbx), %rdx
	movq	_FLOW_STAT_NONE@GOTPCREL(%rip), %r8
	movq	_FLOW_STAT_LOC_SEND@GOTPCREL(%rip), %rsi
	movq	_XM_MMU_IGN_PF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edi
	orl	%eax, %edi
	notl	%ecx
	andl	%eax, %ecx
	cmpq	(%rsi), %rdx
	cmovel	%edi, %ecx
	cmpq	(%r8), %rdx
	cmovel	%edi, %ecx
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_write16
	movq	_XM_MODE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_read32
	movl	%eax, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	_FLOW_STAT_SYMMETRIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_FLOW_STAT_LOC_SEND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	movq	_XM_PAUSE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
	movq	_MFF_DIS_PAUSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_2:
	movq	_XM_MAC_PTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_xm_write16
	movq	_XM_PAUSE_MODE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_MFF_ENA_PAUSE@GOTPCREL(%rip), %rbx
LBB0_4:
	movq	_RX_MFF_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SK_REG
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skge_write16
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	callq	_xm_write32
	movq	_XM_IMSK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_read16
	movq	_XM_IS_TXF_UR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_write16
	movq	_XM_ISRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_read16
	movq	_XM_MMU_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_read16
	movl	%eax, %ebx
	movq	(%r12), %rax
	movq	_SK_PHY_XMAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	movq	_XM_MMU_GMII_FD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
LBB0_8:
	movq	_SK_PHY_BCOM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	_PHY_BCOM_AUX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_xm_phy_read
	movq	_PHY_B_AC_DIS_PM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_xm_phy_write
	movq	_PHY_BCOM_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PHY_B_DEF_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_xm_phy_write
LBB0_10:
	movq	_XM_MMU_ENA_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_XM_MMU_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XM_MMU_ENA_TX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	callq	_xm_write16
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skge_link_up                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XM_MMU_CMD,4,2                 ## @XM_MMU_CMD
	.comm	_FLOW_STAT_NONE,8,3             ## @FLOW_STAT_NONE
	.comm	_FLOW_STAT_LOC_SEND,8,3         ## @FLOW_STAT_LOC_SEND
	.comm	_XM_MMU_IGN_PF,4,2              ## @XM_MMU_IGN_PF
	.comm	_XM_MODE,4,2                    ## @XM_MODE
	.comm	_FLOW_STAT_SYMMETRIC,8,3        ## @FLOW_STAT_SYMMETRIC
	.comm	_XM_MAC_PTIME,4,2               ## @XM_MAC_PTIME
	.comm	_XM_PAUSE_MODE,4,2              ## @XM_PAUSE_MODE
	.comm	_RX_MFF_CTRL1,4,2               ## @RX_MFF_CTRL1
	.comm	_MFF_ENA_PAUSE,4,2              ## @MFF_ENA_PAUSE
	.comm	_MFF_DIS_PAUSE,4,2              ## @MFF_DIS_PAUSE
	.comm	_XM_IMSK,4,2                    ## @XM_IMSK
	.comm	_XM_IS_TXF_UR,4,2               ## @XM_IS_TXF_UR
	.comm	_XM_ISRC,4,2                    ## @XM_ISRC
	.comm	_SK_PHY_XMAC,8,3                ## @SK_PHY_XMAC
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_XM_MMU_GMII_FD,4,2             ## @XM_MMU_GMII_FD
	.comm	_SK_PHY_BCOM,8,3                ## @SK_PHY_BCOM
	.comm	_PHY_BCOM_AUX_CTRL,4,2          ## @PHY_BCOM_AUX_CTRL
	.comm	_PHY_B_AC_DIS_PM,4,2            ## @PHY_B_AC_DIS_PM
	.comm	_PHY_BCOM_INT_MASK,4,2          ## @PHY_BCOM_INT_MASK
	.comm	_PHY_B_DEF_MSK,4,2              ## @PHY_B_DEF_MSK
	.comm	_XM_MMU_ENA_RX,4,2              ## @XM_MMU_ENA_RX
	.comm	_XM_MMU_ENA_TX,4,2              ## @XM_MMU_ENA_TX
	.no_dead_strip	_genesis_link_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genesis_link_up
_genesis_link_up:                       ; @genesis_link_up
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w21, [x0]
Lloh0:
	adrp	x24, _XM_MMU_CMD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _XM_MMU_CMD@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _FLOW_STAT_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLOW_STAT_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x25, _FLOW_STAT_LOC_SEND@GOTPAGE
Lloh6:
	ldr	x25, [x25, _FLOW_STAT_LOC_SEND@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x8, x10
Lloh7:
	adrp	x10, _XM_MMU_IGN_PF@GOTPAGE
Lloh8:
	ldr	x10, [x10, _XM_MMU_IGN_PF@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh9:
	ldr	w8, [x10]
	orr	w9, w8, w0
	bic	w8, w0, w8
	csel	w3, w9, w8, eq
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_write16
Lloh10:
	adrp	x23, _XM_MODE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _XM_MODE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
	mov	x22, x0
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _FLOW_STAT_SYMMETRIC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FLOW_STAT_SYMMETRIC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _XM_MAC_PTIME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XM_MAC_PTIME@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #65535
	bl	_xm_write16
Lloh18:
	adrp	x8, _XM_PAUSE_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XM_PAUSE_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w22, w8, w22
Lloh21:
	adrp	x25, _MFF_ENA_PAUSE@GOTPAGE
Lloh22:
	ldr	x25, [x25, _MFF_ENA_PAUSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _XM_PAUSE_MODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XM_PAUSE_MODE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	bic	w22, w22, w8
Lloh26:
	adrp	x25, _MFF_DIS_PAUSE@GOTPAGE
Lloh27:
	ldr	x25, [x25, _MFF_DIS_PAUSE@GOTPAGEOFF]
LBB0_3:
Lloh28:
	adrp	x8, _RX_MFF_CTRL1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RX_MFF_CTRL1@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_SK_REG
	mov	x1, x0
	ldr	w2, [x25]
	mov	x0, x20
	bl	_skge_write16
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_xm_write32
Lloh31:
	adrp	x22, _XM_IMSK@GOTPAGE
Lloh32:
	ldr	x22, [x22, _XM_IMSK@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
Lloh33:
	adrp	x8, _XM_IS_TXF_UR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XM_IS_TXF_UR@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	bic	w3, w0, w8
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_write16
Lloh36:
	adrp	x8, _XM_ISRC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _XM_ISRC@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
	mov	x22, x0
	ldr	x8, [x20]
Lloh39:
	adrp	x9, _SK_PHY_XMAC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SK_PHY_XMAC@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:
	ldr	x9, [x19, #16]
Lloh42:
	adrp	x10, _DUPLEX_FULL@GOTPAGE
Lloh43:
	ldr	x10, [x10, _DUPLEX_FULL@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
Lloh45:
	adrp	x9, _XM_MMU_GMII_FD@GOTPAGE
Lloh46:
	ldr	x9, [x9, _XM_MMU_GMII_FD@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w22, w9, w22
LBB0_6:
Lloh48:
	adrp	x9, _SK_PHY_BCOM@GOTPAGE
Lloh49:
	ldr	x9, [x9, _SK_PHY_BCOM@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh51:
	adrp	x8, _PHY_BCOM_AUX_CTRL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PHY_BCOM_AUX_CTRL@GOTPAGEOFF]
Lloh53:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_xm_phy_read
Lloh54:
	adrp	x8, _PHY_B_AC_DIS_PM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PHY_B_AC_DIS_PM@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	bic	w3, w0, w8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_xm_phy_write
Lloh57:
	adrp	x8, _PHY_BCOM_INT_MASK@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PHY_BCOM_INT_MASK@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x8, _PHY_B_DEF_MSK@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PHY_B_DEF_MSK@GOTPAGEOFF]
Lloh62:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_phy_write
LBB0_8:
	ldr	w2, [x24]
Lloh63:
	adrp	x8, _XM_MMU_ENA_RX@GOTPAGE
Lloh64:
	ldr	x8, [x8, _XM_MMU_ENA_RX@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	orr	w8, w8, w22
Lloh66:
	adrp	x9, _XM_MMU_ENA_TX@GOTPAGE
Lloh67:
	ldr	x9, [x9, _XM_MMU_ENA_TX@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x20
	mov	x1, x21
	bl	_xm_write16
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_skge_link_up
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_XM_MMU_CMD,4,2                 ; @XM_MMU_CMD
	.comm	_FLOW_STAT_NONE,8,3             ; @FLOW_STAT_NONE
	.comm	_FLOW_STAT_LOC_SEND,8,3         ; @FLOW_STAT_LOC_SEND
	.comm	_XM_MMU_IGN_PF,4,2              ; @XM_MMU_IGN_PF
	.comm	_XM_MODE,4,2                    ; @XM_MODE
	.comm	_FLOW_STAT_SYMMETRIC,8,3        ; @FLOW_STAT_SYMMETRIC
	.comm	_XM_MAC_PTIME,4,2               ; @XM_MAC_PTIME
	.comm	_XM_PAUSE_MODE,4,2              ; @XM_PAUSE_MODE
	.comm	_RX_MFF_CTRL1,4,2               ; @RX_MFF_CTRL1
	.comm	_MFF_ENA_PAUSE,4,2              ; @MFF_ENA_PAUSE
	.comm	_MFF_DIS_PAUSE,4,2              ; @MFF_DIS_PAUSE
	.comm	_XM_IMSK,4,2                    ; @XM_IMSK
	.comm	_XM_IS_TXF_UR,4,2               ; @XM_IS_TXF_UR
	.comm	_XM_ISRC,4,2                    ; @XM_ISRC
	.comm	_SK_PHY_XMAC,8,3                ; @SK_PHY_XMAC
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_XM_MMU_GMII_FD,4,2             ; @XM_MMU_GMII_FD
	.comm	_SK_PHY_BCOM,8,3                ; @SK_PHY_BCOM
	.comm	_PHY_BCOM_AUX_CTRL,4,2          ; @PHY_BCOM_AUX_CTRL
	.comm	_PHY_B_AC_DIS_PM,4,2            ; @PHY_B_AC_DIS_PM
	.comm	_PHY_BCOM_INT_MASK,4,2          ; @PHY_BCOM_INT_MASK
	.comm	_PHY_B_DEF_MSK,4,2              ; @PHY_B_DEF_MSK
	.comm	_XM_MMU_ENA_RX,4,2              ; @XM_MMU_ENA_RX
	.comm	_XM_MMU_ENA_TX,4,2              ; @XM_MMU_ENA_TX
	.no_dead_strip	_genesis_link_up
.subsections_via_symbols
