	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcphy_cfg_24m
_tcphy_cfg_24m:                         ## @tcphy_cfg_24m
	.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, %r14
	movq	_PMA_CMN_CTRL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	movl	$2096, %edi                     ## imm = 0x830
	callq	_writel
	movq	(%r14), %rbx
	xorl	%edi, %edi
	callq	_XCVR_DIAG_LANE_FCM_EN_MGN
	addq	%rax, %rbx
	movl	$144, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	xorl	%edi, %edi
	callq	_TX_RCVDET_EN_TMR
	addq	%rax, %rbx
	movl	$2400, %edi                     ## imm = 0x960
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	xorl	%edi, %edi
	callq	_TX_RCVDET_ST_TMR
	addq	%rax, %rbx
	movl	$48, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$1, %edi
	callq	_XCVR_DIAG_LANE_FCM_EN_MGN
	addq	%rax, %rbx
	movl	$144, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$1, %edi
	callq	_TX_RCVDET_EN_TMR
	addq	%rax, %rbx
	movl	$2400, %edi                     ## imm = 0x960
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$1, %edi
	callq	_TX_RCVDET_ST_TMR
	addq	%rax, %rbx
	movl	$48, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$2, %edi
	callq	_XCVR_DIAG_LANE_FCM_EN_MGN
	addq	%rax, %rbx
	movl	$144, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$2, %edi
	callq	_TX_RCVDET_EN_TMR
	addq	%rax, %rbx
	movl	$2400, %edi                     ## imm = 0x960
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$2, %edi
	callq	_TX_RCVDET_ST_TMR
	addq	%rax, %rbx
	movl	$48, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$3, %edi
	callq	_XCVR_DIAG_LANE_FCM_EN_MGN
	addq	%rax, %rbx
	movl	$144, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$3, %edi
	callq	_TX_RCVDET_EN_TMR
	addq	%rax, %rbx
	movl	$2400, %edi                     ## imm = 0x960
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movl	$3, %edi
	callq	_TX_RCVDET_ST_TMR
	addq	%rax, %rbx
	movl	$48, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	_CMN_DIAG_HSCLK_SEL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_CLK_PLL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_CLK_PLL_CONFIG@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PMA_CMN_CTRL1,8,3              ## @PMA_CMN_CTRL1
	.comm	_CMN_DIAG_HSCLK_SEL,8,3         ## @CMN_DIAG_HSCLK_SEL
	.comm	_CLK_PLL_MASK,4,2               ## @CLK_PLL_MASK
	.comm	_CLK_PLL_CONFIG,4,2             ## @CLK_PLL_CONFIG
	.no_dead_strip	_tcphy_cfg_24m
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcphy_cfg_24m
_tcphy_cfg_24m:                         ; @tcphy_cfg_24m
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PMA_CMN_CTRL1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PMA_CMN_CTRL1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #2096
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #0
	bl	_XCVR_DIAG_LANE_FCM_EN_MGN
	add	x1, x0, x20
	mov	w0, #144
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #0
	bl	_TX_RCVDET_EN_TMR
	add	x1, x0, x20
	mov	w0, #2400
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #0
	bl	_TX_RCVDET_ST_TMR
	add	x1, x0, x20
	mov	w0, #48
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #1
	bl	_XCVR_DIAG_LANE_FCM_EN_MGN
	add	x1, x0, x20
	mov	w0, #144
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #1
	bl	_TX_RCVDET_EN_TMR
	add	x1, x0, x20
	mov	w0, #2400
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #1
	bl	_TX_RCVDET_ST_TMR
	add	x1, x0, x20
	mov	w0, #48
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #2
	bl	_XCVR_DIAG_LANE_FCM_EN_MGN
	add	x1, x0, x20
	mov	w0, #144
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #2
	bl	_TX_RCVDET_EN_TMR
	add	x1, x0, x20
	mov	w0, #2400
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #2
	bl	_TX_RCVDET_ST_TMR
	add	x1, x0, x20
	mov	w0, #48
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #3
	bl	_XCVR_DIAG_LANE_FCM_EN_MGN
	add	x1, x0, x20
	mov	w0, #144
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #3
	bl	_TX_RCVDET_EN_TMR
	add	x1, x0, x20
	mov	w0, #2400
	bl	_writel
	ldr	x20, [x19]
	mov	w0, #3
	bl	_TX_RCVDET_ST_TMR
	add	x1, x0, x20
	mov	w0, #48
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x20, _CMN_DIAG_HSCLK_SEL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CMN_DIAG_HSCLK_SEL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _CLK_PLL_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLK_PLL_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh8:
	adrp	x9, _CLK_PLL_CONFIG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CLK_PLL_CONFIG@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PMA_CMN_CTRL1,8,3              ; @PMA_CMN_CTRL1
	.comm	_CMN_DIAG_HSCLK_SEL,8,3         ; @CMN_DIAG_HSCLK_SEL
	.comm	_CLK_PLL_MASK,4,2               ; @CLK_PLL_MASK
	.comm	_CLK_PLL_CONFIG,4,2             ; @CLK_PLL_CONFIG
	.no_dead_strip	_tcphy_cfg_24m
.subsections_via_symbols
