	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8168dp_1_mdio_access
_r8168dp_1_mdio_access:                 ## @r8168dp_1_mdio_access
	.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
	movq	_OCPDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_OCPDR_REG_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_OCPDR_GPHY_REG_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%esi, %edx
	movl	%eax, %esi
	callq	_RTL_W32
	movq	_OCPAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OCPAR_GPHY_WRITE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_RTL_W32
	movq	_EPHY_RXER_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_RTL_W32
	movq	_rtl_ocpar_cond@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1000, %edx                     ## imm = 0x3E8
	movl	$100, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtl_udelay_loop_wait_low       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OCPDR,4,2                      ## @OCPDR
	.comm	_OCPDR_REG_MASK,4,2             ## @OCPDR_REG_MASK
	.comm	_OCPDR_GPHY_REG_SHIFT,4,2       ## @OCPDR_GPHY_REG_SHIFT
	.comm	_OCPAR,4,2                      ## @OCPAR
	.comm	_OCPAR_GPHY_WRITE_CMD,4,2       ## @OCPAR_GPHY_WRITE_CMD
	.comm	_EPHY_RXER_NUM,4,2              ## @EPHY_RXER_NUM
	.comm	_rtl_ocpar_cond,4,2             ## @rtl_ocpar_cond
	.no_dead_strip	_r8168dp_1_mdio_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8168dp_1_mdio_access
_r8168dp_1_mdio_access:                 ; @r8168dp_1_mdio_access
	.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, _OCPDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCPDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OCPDR_REG_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCPDR_REG_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w1
Lloh6:
	adrp	x10, _OCPDR_GPHY_REG_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OCPDR_GPHY_REG_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w2
	mov	x1, x8
	bl	_RTL_W32
Lloh9:
	adrp	x8, _OCPAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCPAR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _OCPAR_GPHY_WRITE_CMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OCPAR_GPHY_WRITE_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_RTL_W32
Lloh15:
	adrp	x8, _EPHY_RXER_NUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EPHY_RXER_NUM@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_RTL_W32
Lloh18:
	adrp	x1, _rtl_ocpar_cond@GOTPAGE
Lloh19:
	ldr	x1, [x1, _rtl_ocpar_cond@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #1000
	mov	w3, #100
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_udelay_loop_wait_low
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_OCPDR,4,2                      ; @OCPDR
	.comm	_OCPDR_REG_MASK,4,2             ; @OCPDR_REG_MASK
	.comm	_OCPDR_GPHY_REG_SHIFT,4,2       ; @OCPDR_GPHY_REG_SHIFT
	.comm	_OCPAR,4,2                      ; @OCPAR
	.comm	_OCPAR_GPHY_WRITE_CMD,4,2       ; @OCPAR_GPHY_WRITE_CMD
	.comm	_EPHY_RXER_NUM,4,2              ; @EPHY_RXER_NUM
	.comm	_rtl_ocpar_cond,4,2             ; @rtl_ocpar_cond
	.no_dead_strip	_r8168dp_1_mdio_access
.subsections_via_symbols
