	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_hw_start_8168g
_rtl_hw_start_8168g:                    ## @rtl_hw_start_8168g
	.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
	movl	$8, %esi
	movl	$16, %edx
	movl	$2, %ecx
	movl	$6, %r8d
	callq	_rtl_set_fifo_size
	movq	%rbx, %rdi
	movl	$56, %esi
	movl	$72, %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_0011@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$760, %esi                      ## imm = 0x2F8
	movl	$7567, %ecx                     ## imm = 0x1D8F
	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
	movl	(%r15), %r14d
	movl	$12, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_rtl_eri_clear_bits
	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_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
	.no_dead_strip	_rtl_hw_start_8168g
.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_8168g
_rtl_hw_start_8168g:                    ; @rtl_hw_start_8168g
	.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
	mov	w1, #8
	mov	w2, #16
	mov	w3, #2
	mov	w4, #6
	bl	_rtl_set_fifo_size
	mov	x0, x19
	mov	w1, #56
	mov	w2, #72
	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	x21, _ERIAR_MASK_0011@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ERIAR_MASK_0011@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #760
	mov	w3, #7567
	bl	_rtl_eri_write
Lloh5:
	adrp	x8, _MISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MISC@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R32
Lloh8:
	adrp	x8, _RXDV_GATED_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXDV_GATED_EN@GOTPAGEOFF]
Lloh10:
	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
Lloh11:
	adrp	x8, _ERIAR_MASK_0001@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERIAR_MASK_0001@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #764
	mov	w3, #1
	mov	w4, #6
	bl	_rtl_w0w1_eri
	ldr	w20, [x21]
	mov	w0, #12
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	w1, #432
	mov	x2, x20
	bl	_rtl_eri_clear_bits
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.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_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
	.no_dead_strip	_rtl_hw_start_8168g
.subsections_via_symbols
