	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_hw_start_8168ep
_rtl_hw_start_8168ep:                   ## @rtl_hw_start_8168ep
	.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, %rbx
	callq	_rtl8168ep_stop_cmac
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$16, %edx
	movl	$2, %ecx
	movl	$6, %r8d
	callq	_rtl_set_fifo_size
	movq	%rbx, %rdi
	movl	$47, %esi
	movl	$95, %edx
	callq	_rtl8168g_set_pause_thresholds
	movq	%rbx, %rdi
	callq	_rtl_set_def_aspm_entry_latency
	movq	_PCI_EXP_DEVCTL_READRQ_4096B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_tx_performance_tweak
	movq	%rbx, %rdi
	callq	_rtl_reset_packet_filter
	movq	_ERIAR_MASK_1111@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$212, %esi
	movl	$8064, %ecx                     ## imm = 0x1F80
	callq	_rtl_eri_set_bits
	movq	_ERIAR_MASK_0011@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$1520, %esi                     ## imm = 0x5F0
	movl	$20359, %ecx                    ## imm = 0x4F87
	callq	_rtl_eri_write
	movq	_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R32
	movq	_RXDV_GATED_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_W32
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$192, %esi
	xorl	%ecx, %ecx
	callq	_rtl_eri_write
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$184, %esi
	xorl	%ecx, %ecx
	callq	_rtl_eri_write
	movq	%rbx, %rdi
	callq	_rtl8168_config_eee_mac
	movq	_ERIAR_MASK_0001@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$764, %esi                      ## imm = 0x2FC
	movl	$1, %ecx
	movl	$6, %r8d
	callq	_rtl_w0w1_eri
	movq	_DLLPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R8
	movq	_TX_10M_PS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_W8
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_pcie_state_l2l3_disable    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_DEVCTL_READRQ_4096B,4,2 ## @PCI_EXP_DEVCTL_READRQ_4096B
	.comm	_ERIAR_MASK_1111,4,2            ## @ERIAR_MASK_1111
	.comm	_ERIAR_MASK_0011,4,2            ## @ERIAR_MASK_0011
	.comm	_MISC,4,2                       ## @MISC
	.comm	_RXDV_GATED_EN,4,2              ## @RXDV_GATED_EN
	.comm	_ERIAR_MASK_0001,4,2            ## @ERIAR_MASK_0001
	.comm	_DLLPR,4,2                      ## @DLLPR
	.comm	_TX_10M_PS_EN,4,2               ## @TX_10M_PS_EN
	.no_dead_strip	_rtl_hw_start_8168ep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_hw_start_8168ep
_rtl_hw_start_8168ep:                   ; @rtl_hw_start_8168ep
	.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	x19, x0
	bl	_rtl8168ep_stop_cmac
	mov	x0, x19
	mov	w1, #8
	mov	w2, #16
	mov	w3, #2
	mov	w4, #6
	bl	_rtl_set_fifo_size
	mov	x0, x19
	mov	w1, #47
	mov	w2, #95
	bl	_rtl8168g_set_pause_thresholds
	mov	x0, x19
	bl	_rtl_set_def_aspm_entry_latency
Lloh0:
	adrp	x8, _PCI_EXP_DEVCTL_READRQ_4096B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_EXP_DEVCTL_READRQ_4096B@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_tx_performance_tweak
	mov	x0, x19
	bl	_rtl_reset_packet_filter
Lloh3:
	adrp	x8, _ERIAR_MASK_1111@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERIAR_MASK_1111@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #212
	mov	w3, #8064
	bl	_rtl_eri_set_bits
Lloh6:
	adrp	x21, _ERIAR_MASK_0011@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ERIAR_MASK_0011@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1520
	mov	w3, #20359
	bl	_rtl_eri_write
Lloh8:
	adrp	x8, _MISC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MISC@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R32
Lloh11:
	adrp	x8, _RXDV_GATED_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RXDV_GATED_EN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W32
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #192
	mov	w3, #0
	bl	_rtl_eri_write
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #184
	mov	w3, #0
	bl	_rtl_eri_write
	mov	x0, x19
	bl	_rtl8168_config_eee_mac
Lloh14:
	adrp	x8, _ERIAR_MASK_0001@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERIAR_MASK_0001@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #764
	mov	w3, #1
	mov	w4, #6
	bl	_rtl_w0w1_eri
Lloh17:
	adrp	x8, _DLLPR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DLLPR@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
Lloh20:
	adrp	x8, _TX_10M_PS_EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TX_10M_PS_EN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
	mov	x0, x19
	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_pcie_state_l2l3_disable
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_DEVCTL_READRQ_4096B,4,2 ; @PCI_EXP_DEVCTL_READRQ_4096B
	.comm	_ERIAR_MASK_1111,4,2            ; @ERIAR_MASK_1111
	.comm	_ERIAR_MASK_0011,4,2            ; @ERIAR_MASK_0011
	.comm	_MISC,4,2                       ; @MISC
	.comm	_RXDV_GATED_EN,4,2              ; @RXDV_GATED_EN
	.comm	_ERIAR_MASK_0001,4,2            ; @ERIAR_MASK_0001
	.comm	_DLLPR,4,2                      ; @DLLPR
	.comm	_TX_10M_PS_EN,4,2               ; @TX_10M_PS_EN
	.no_dead_strip	_rtl_hw_start_8168ep
.subsections_via_symbols
