	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_switch_ephy_parameter ## -- Begin function rtl92s_phy_switch_ephy_parameter
	.p2align	4, 0x90
_rtl92s_phy_switch_ephy_parameter:      ## @rtl92s_phy_switch_ephy_parameter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$1344, %esi                     ## imm = 0x540
	movl	$474129, %edx                   ## imm = 0x73C11
	callq	_rtl_write_dword
	movq	%rbx, %rdi
	movl	$1352, %esi                     ## imm = 0x548
	movl	$147580, %edx                   ## imm = 0x2407C
	callq	_rtl_write_dword
	movq	%rbx, %rdi
	movl	$1360, %esi                     ## imm = 0x550
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_rtl_write_word
	movq	%rbx, %rdi
	movl	$1364, %esi                     ## imm = 0x554
	movl	$32, %edx
	callq	_rtl_write_byte
	movq	%r14, %rdi
	callq	__rtl92s_phy_check_ephy_switchready
	movq	%rbx, %rdi
	movl	$1360, %esi                     ## imm = 0x550
	movl	$41195, %edx                    ## imm = 0xA0EB
	callq	_rtl_write_word
	movq	%rbx, %rdi
	movl	$1364, %esi                     ## imm = 0x554
	movl	$62, %edx
	callq	_rtl_write_byte
	movq	%r14, %rdi
	callq	__rtl92s_phy_check_ephy_switchready
	movq	%rbx, %rdi
	movl	$1360, %esi                     ## imm = 0x550
	movl	$65408, %edx                    ## imm = 0xFF80
	callq	_rtl_write_word
	movq	%rbx, %rdi
	movl	$1364, %esi                     ## imm = 0x554
	movl	$57, %edx
	callq	_rtl_write_byte
	movq	%r14, %rdi
	callq	__rtl92s_phy_check_ephy_switchready
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_2
LBB0_3:
	xorl	%edx, %edx
	jmp	LBB0_4
LBB0_2:
	movl	$64, %edx
LBB0_4:
	movq	%rbx, %rdi
	movl	$1376, %esi                     ## imm = 0x560
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_switch_ephy_parameter ; -- Begin function rtl92s_phy_switch_ephy_parameter
	.p2align	2
_rtl92s_phy_switch_ephy_parameter:      ; @rtl92s_phy_switch_ephy_parameter
	.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	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1344
	mov	w2, #15377
	movk	w2, #7, lsl #16
	bl	_rtl_write_dword
	mov	x0, x19
	mov	w1, #1352
	mov	w2, #16508
	movk	w2, #2, lsl #16
	bl	_rtl_write_dword
	mov	x0, x19
	mov	w1, #1360
	mov	w2, #4096
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #1364
	mov	w2, #32
	bl	_rtl_write_byte
	mov	x0, x20
	bl	__rtl92s_phy_check_ephy_switchready
	mov	x0, x19
	mov	w1, #1360
	mov	w2, #41195
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #1364
	mov	w2, #62
	bl	_rtl_write_byte
	mov	x0, x20
	bl	__rtl92s_phy_check_ephy_switchready
	mov	x0, x19
	mov	w1, #1360
	mov	w2, #65408
	bl	_rtl_write_word
	mov	x0, x19
	mov	w1, #1364
	mov	w2, #57
	bl	_rtl_write_byte
	mov	x0, x20
	bl	__rtl92s_phy_check_ephy_switchready
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_3
LBB0_2:
	mov	w2, #0
	b	LBB0_4
LBB0_3:
	mov	w2, #64
LBB0_4:
	mov	x0, x19
	mov	w1, #1376
	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	_rtl_write_byte
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
