	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serdes_init_1g
_serdes_init_1g:                        ## @serdes_init_1g
	.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
	movq	_ENET_SERDES_1_PLL_CFG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_nr64
	movslq	(%rbx), %rcx
	cmpq	$4, %rcx
	jae	LBB0_1
## %bb.2:
	movq	_ENET_SERDES_PLL_FBDIV2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %eax
	leaq	l_switch.table.serdes_init_1g(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_nw64
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENET_SERDES_1_PLL_CFG,4,2      ## @ENET_SERDES_1_PLL_CFG
	.comm	_ENET_SERDES_PLL_FBDIV2,4,2     ## @ENET_SERDES_PLL_FBDIV2
	.comm	_ENET_SERDES_PLL_HRATE0,4,2     ## @ENET_SERDES_PLL_HRATE0
	.comm	_ENET_SERDES_PLL_HRATE1,4,2     ## @ENET_SERDES_PLL_HRATE1
	.comm	_ENET_SERDES_PLL_HRATE2,4,2     ## @ENET_SERDES_PLL_HRATE2
	.comm	_ENET_SERDES_PLL_HRATE3,4,2     ## @ENET_SERDES_PLL_HRATE3
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_serdes_init_1g
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.serdes_init_1g
l_switch.table.serdes_init_1g:
	.quad	_ENET_SERDES_PLL_HRATE0
	.quad	_ENET_SERDES_PLL_HRATE1
	.quad	_ENET_SERDES_PLL_HRATE2
	.quad	_ENET_SERDES_PLL_HRATE3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serdes_init_1g
_serdes_init_1g:                        ; @serdes_init_1g
	.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
Lloh0:
	adrp	x20, _ENET_SERDES_1_PLL_CFG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ENET_SERDES_1_PLL_CFG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nr64
	ldrsw	x8, [x19]
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _ENET_SERDES_PLL_FBDIV2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENET_SERDES_PLL_FBDIV2@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, l_switch.table.serdes_init_1g@PAGE
Lloh6:
	add	x10, x10, l_switch.table.serdes_init_1g@PAGEOFF
	bic	w9, w0, w9
	ldr	x8, [x10, x8, lsl #3]
	ldr	w8, [x8]
	orr	w1, w8, w9
	ldr	w0, [x20]
	bl	_nw64
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENET_SERDES_1_PLL_CFG,4,2      ; @ENET_SERDES_1_PLL_CFG
	.comm	_ENET_SERDES_PLL_FBDIV2,4,2     ; @ENET_SERDES_PLL_FBDIV2
	.comm	_ENET_SERDES_PLL_HRATE0,4,2     ; @ENET_SERDES_PLL_HRATE0
	.comm	_ENET_SERDES_PLL_HRATE1,4,2     ; @ENET_SERDES_PLL_HRATE1
	.comm	_ENET_SERDES_PLL_HRATE2,4,2     ; @ENET_SERDES_PLL_HRATE2
	.comm	_ENET_SERDES_PLL_HRATE3,4,2     ; @ENET_SERDES_PLL_HRATE3
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_serdes_init_1g
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.serdes_init_1g
l_switch.table.serdes_init_1g:
	.quad	_ENET_SERDES_PLL_HRATE0
	.quad	_ENET_SERDES_PLL_HRATE1
	.quad	_ENET_SERDES_PLL_HRATE2
	.quad	_ENET_SERDES_PLL_HRATE3

.subsections_via_symbols
