	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8402_hw_phy_config
_rtl8402_hw_phy_config:                 ## @rtl8402_hw_phy_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$24, %esi
	movl	$784, %edx                      ## imm = 0x310
	callq	_rtl_writephy
	movl	$20, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_rtl_apply_firmware
	movq	_ERIAR_MASK_0011@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	xorl	%ecx, %ecx
	callq	_rtl_eri_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$4, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$16415, %edx                    ## imm = 0x401F
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$25, %esi
	movl	$28720, %edx                    ## imm = 0x7030
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtl_writephy                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERIAR_MASK_0011,4,2            ## @ERIAR_MASK_0011
	.no_dead_strip	_rtl8402_hw_phy_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8402_hw_phy_config
_rtl8402_hw_phy_config:                 ; @rtl8402_hw_phy_config
	.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
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #24
	mov	w2, #784
	bl	_rtl_writephy
	mov	w0, #20
	bl	_msleep
	mov	x0, x19
	bl	_rtl_apply_firmware
Lloh0:
	adrp	x8, _ERIAR_MASK_0011@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERIAR_MASK_0011@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #432
	mov	w3, #0
	bl	_rtl_eri_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #4
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #16
	mov	w2, #16415
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #25
	mov	w2, #28720
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_writephy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERIAR_MASK_0011,4,2            ; @ERIAR_MASK_0011
	.no_dead_strip	_rtl8402_hw_phy_config
.subsections_via_symbols
