	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7530_rgmii_setting
_mt7530_rgmii_setting:                  ## @mt7530_rgmii_setting
	.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	_CORE_PLL_GROUP5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3200, %edx                     ## imm = 0xC80
	callq	_mt7530_core_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	_CORE_PLL_GROUP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mt7530_core_reg_write
	movq	_CORE_PLL_GROUP10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$135, %edx
	callq	_mt7530_core_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	_CORE_PLL_GROUP11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$135, %edx
	callq	_mt7530_core_reg_write
	movq	_TRGMII_TXCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_mt753x_reg_read
	movq	_TXC_INV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_mt753x_reg_write
	movq	_TRGMII_TCK_CTRL@GOTPCREL(%rip), %rax
	movq	_TX_TAP_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$8, %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movq	_TX_TRAIN_WD_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$85, %edx
	shll	%cl, %edx
	orl	%edi, %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mt753x_reg_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CORE_PLL_GROUP5,4,2            ## @CORE_PLL_GROUP5
	.comm	_CORE_PLL_GROUP6,4,2            ## @CORE_PLL_GROUP6
	.comm	_CORE_PLL_GROUP10,4,2           ## @CORE_PLL_GROUP10
	.comm	_CORE_PLL_GROUP11,4,2           ## @CORE_PLL_GROUP11
	.comm	_TRGMII_TXCTRL,4,2              ## @TRGMII_TXCTRL
	.comm	_TXC_INV,4,2                    ## @TXC_INV
	.comm	_TRGMII_TCK_CTRL,4,2            ## @TRGMII_TCK_CTRL
	.comm	_TX_TAP_S,4,2                   ## @TX_TAP_S
	.comm	_TX_TRAIN_WD_S,4,2              ## @TX_TRAIN_WD_S
	.no_dead_strip	_mt7530_rgmii_setting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7530_rgmii_setting
_mt7530_rgmii_setting:                  ; @mt7530_rgmii_setting
	.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	x8, _CORE_PLL_GROUP5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CORE_PLL_GROUP5@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #3200
	bl	_mt7530_core_reg_write
	mov	w0, #1
	bl	_mdelay
Lloh3:
	adrp	x8, _CORE_PLL_GROUP6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CORE_PLL_GROUP6@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mt7530_core_reg_write
Lloh6:
	adrp	x8, _CORE_PLL_GROUP10@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CORE_PLL_GROUP10@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #135
	bl	_mt7530_core_reg_write
	mov	w0, #1
	bl	_mdelay
Lloh9:
	adrp	x8, _CORE_PLL_GROUP11@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CORE_PLL_GROUP11@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #135
	bl	_mt7530_core_reg_write
Lloh12:
	adrp	x20, _TRGMII_TXCTRL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _TRGMII_TXCTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_mt753x_reg_read
Lloh14:
	adrp	x8, _TXC_INV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TXC_INV@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_mt753x_reg_write
Lloh17:
	adrp	x8, _TRGMII_TCK_CTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRGMII_TCK_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _TX_TAP_S@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TX_TAP_S@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #8
	lsl	w8, w9, w8
Lloh23:
	adrp	x9, _TX_TRAIN_WD_S@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TX_TRAIN_WD_S@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	mov	w10, #85
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt753x_reg_write
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CORE_PLL_GROUP5,4,2            ; @CORE_PLL_GROUP5
	.comm	_CORE_PLL_GROUP6,4,2            ; @CORE_PLL_GROUP6
	.comm	_CORE_PLL_GROUP10,4,2           ; @CORE_PLL_GROUP10
	.comm	_CORE_PLL_GROUP11,4,2           ; @CORE_PLL_GROUP11
	.comm	_TRGMII_TXCTRL,4,2              ; @TRGMII_TXCTRL
	.comm	_TXC_INV,4,2                    ; @TXC_INV
	.comm	_TRGMII_TCK_CTRL,4,2            ; @TRGMII_TCK_CTRL
	.comm	_TX_TAP_S,4,2                   ; @TX_TAP_S
	.comm	_TX_TRAIN_WD_S,4,2              ; @TX_TRAIN_WD_S
	.no_dead_strip	_mt7530_rgmii_setting
.subsections_via_symbols
