	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_hw_start_8168h_1
_rtl_hw_start_8168h_1:                  ## @rtl_hw_start_8168h_1
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_rtl_hw_aspm_clkreq_enable
	leaq	_rtl_hw_start_8168h_1.e_info_8168h_1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rtl_ephy_init
	movq	%rbx, %rdi
	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_1111@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movl	$4, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	$220, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_rtl_eri_set_bits
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$212, %esi
	movl	$7936, %ecx                     ## imm = 0x1F00
	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	_DLLPR@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R8
	movq	_PFM_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_W8
	movq	_MISC_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_R8
	movq	_PFM_D3COLD_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_RTL_W8
	movl	(%r12), %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
	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
	callq	_rtl_pcie_state_l2l3_disable
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$3138, %edx                     ## imm = 0xC42
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	callq	_rtl_readphy
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	andl	$16383, %r14d                   ## imm = 0x3FFF
	je	LBB0_2
## %bb.1:
	movl	$16000000, %eax                 ## imm = 0xF42400
	xorl	%edx, %edx
	divl	%r14d
	andl	$4095, %eax                     ## imm = 0xFFF
	movq	%rbx, %rdi
	movl	$54290, %esi                    ## imm = 0xD412
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	%eax, %ecx
	callq	_r8168_mac_ocp_modify
LBB0_2:
	movq	%rbx, %rdi
	movl	$57430, %esi                    ## imm = 0xE056
	movl	$240, %edx
	movl	$112, %ecx
	callq	_r8168_mac_ocp_modify
	movq	%rbx, %rdi
	movl	$57426, %esi                    ## imm = 0xE052
	movl	$24576, %edx                    ## imm = 0x6000
	movl	$32776, %ecx                    ## imm = 0x8008
	callq	_r8168_mac_ocp_modify
	movq	%rbx, %rdi
	movl	$57558, %esi                    ## imm = 0xE0D6
	movl	$511, %edx                      ## imm = 0x1FF
	movl	$383, %ecx                      ## imm = 0x17F
	callq	_r8168_mac_ocp_modify
	movq	%rbx, %rdi
	movl	$54304, %esi                    ## imm = 0xD420
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$1151, %ecx                     ## imm = 0x47F
	callq	_r8168_mac_ocp_modify
	movq	%rbx, %rdi
	movl	$58942, %esi                    ## imm = 0xE63E
	movl	$1, %edx
	callq	_r8168_mac_ocp_write
	movq	%rbx, %rdi
	movl	$58942, %esi                    ## imm = 0xE63E
	xorl	%edx, %edx
	callq	_r8168_mac_ocp_write
	movq	%rbx, %rdi
	movl	$49300, %esi                    ## imm = 0xC094
	xorl	%edx, %edx
	callq	_r8168_mac_ocp_write
	movq	%rbx, %rdi
	movl	$49310, %esi                    ## imm = 0xC09E
	xorl	%edx, %edx
	callq	_r8168_mac_ocp_write
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_hw_aspm_clkreq_enable      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @rtl_hw_start_8168h_1.e_info_8168h_1
_rtl_hw_start_8168h_1.e_info_8168h_1:
	.long	30                              ## 0x1e
	.long	2048                            ## 0x800
	.long	1                               ## 0x1
	.long	29                              ## 0x1d
	.long	0                               ## 0x0
	.long	2048                            ## 0x800
	.long	5                               ## 0x5
	.long	65535                           ## 0xffff
	.long	8329                            ## 0x2089
	.long	6                               ## 0x6
	.long	65535                           ## 0xffff
	.long	22657                           ## 0x5881
	.long	4                               ## 0x4
	.long	65535                           ## 0xffff
	.long	34122                           ## 0x854a
	.long	1                               ## 0x1
	.long	65535                           ## 0xffff
	.long	1675                            ## 0x68b

	.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	_DLLPR,4,2                      ## @DLLPR
	.comm	_PFM_EN,4,2                     ## @PFM_EN
	.comm	_MISC_1,4,2                     ## @MISC_1
	.comm	_PFM_D3COLD_EN,4,2              ## @PFM_D3COLD_EN
	.comm	_TX_10M_PS_EN,4,2               ## @TX_10M_PS_EN
	.no_dead_strip	_rtl_hw_start_8168h_1
.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_8168h_1
_rtl_hw_start_8168h_1:                  ; @rtl_hw_start_8168h_1
	.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, #0
	bl	_rtl_hw_aspm_clkreq_enable
Lloh0:
	adrp	x1, _rtl_hw_start_8168h_1.e_info_8168h_1@PAGE
Lloh1:
	add	x1, x1, _rtl_hw_start_8168h_1.e_info_8168h_1@PAGEOFF
	mov	x0, x19
	bl	_rtl_ephy_init
	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, #56
	mov	w2, #72
	bl	_rtl8168g_set_pause_thresholds
	mov	x0, x19
	bl	_rtl_set_def_aspm_entry_latency
Lloh2:
	adrp	x8, _PCI_EXP_DEVCTL_READRQ_4096B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_EXP_DEVCTL_READRQ_4096B@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_tx_performance_tweak
	mov	x0, x19
	bl	_rtl_reset_packet_filter
Lloh5:
	adrp	x21, _ERIAR_MASK_1111@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ERIAR_MASK_1111@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	w0, #4
	bl	_BIT
	mov	x3, x0
	mov	x0, x19
	mov	w1, #220
	mov	x2, x20
	bl	_rtl_eri_set_bits
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #212
	mov	w3, #7936
	bl	_rtl_eri_set_bits
Lloh7:
	adrp	x21, _ERIAR_MASK_0011@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ERIAR_MASK_0011@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1520
	mov	w3, #20359
	bl	_rtl_eri_write
Lloh9:
	adrp	x8, _MISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MISC@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R32
Lloh12:
	adrp	x8, _RXDV_GATED_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXDV_GATED_EN@GOTPAGEOFF]
Lloh14:
	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
Lloh15:
	adrp	x22, _DLLPR@GOTPAGE
Lloh16:
	ldr	x22, [x22, _DLLPR@GOTPAGEOFF]
	ldr	w20, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
Lloh17:
	adrp	x8, _PFM_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PFM_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
Lloh20:
	adrp	x8, _MISC_1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MISC_1@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
Lloh23:
	adrp	x8, _PFM_D3COLD_EN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PFM_D3COLD_EN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
	ldr	w20, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_R8
Lloh26:
	adrp	x8, _TX_10M_PS_EN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TX_10M_PS_EN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	bl	_RTL_W8
	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
	bl	_rtl_pcie_state_l2l3_disable
	mov	x0, x19
	mov	w1, #31
	mov	w2, #3138
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	bl	_rtl_readphy
	and	w20, w0, #0x3fff
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	cbz	w20, LBB0_2
; %bb.1:
	mov	w8, #9216
	movk	w8, #244, lsl #16
	udiv	w8, w8, w20
	and	w3, w8, #0xfff
	mov	x0, x19
	mov	w1, #54290
	mov	w2, #4095
	bl	_r8168_mac_ocp_modify
LBB0_2:
	mov	x0, x19
	mov	w1, #57430
	mov	w2, #240
	mov	w3, #112
	bl	_r8168_mac_ocp_modify
	mov	x0, x19
	mov	w1, #57426
	mov	w2, #24576
	mov	w3, #32776
	bl	_r8168_mac_ocp_modify
	mov	x0, x19
	mov	w1, #57558
	mov	w2, #511
	mov	w3, #383
	bl	_r8168_mac_ocp_modify
	mov	x0, x19
	mov	w1, #54304
	mov	w2, #4095
	mov	w3, #1151
	bl	_r8168_mac_ocp_modify
	mov	x0, x19
	mov	w1, #58942
	mov	w2, #1
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	mov	w1, #58942
	mov	w2, #0
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	mov	w1, #49300
	mov	w2, #0
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	mov	w1, #49310
	mov	w2, #0
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	mov	w1, #1
	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_hw_aspm_clkreq_enable
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rtl_hw_start_8168h_1.e_info_8168h_1
_rtl_hw_start_8168h_1.e_info_8168h_1:
	.long	30                              ; 0x1e
	.long	2048                            ; 0x800
	.long	1                               ; 0x1
	.long	29                              ; 0x1d
	.long	0                               ; 0x0
	.long	2048                            ; 0x800
	.long	5                               ; 0x5
	.long	65535                           ; 0xffff
	.long	8329                            ; 0x2089
	.long	6                               ; 0x6
	.long	65535                           ; 0xffff
	.long	22657                           ; 0x5881
	.long	4                               ; 0x4
	.long	65535                           ; 0xffff
	.long	34122                           ; 0x854a
	.long	1                               ; 0x1
	.long	65535                           ; 0xffff
	.long	1675                            ; 0x68b

	.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	_DLLPR,4,2                      ; @DLLPR
	.comm	_PFM_EN,4,2                     ; @PFM_EN
	.comm	_MISC_1,4,2                     ; @MISC_1
	.comm	_PFM_D3COLD_EN,4,2              ; @PFM_D3COLD_EN
	.comm	_TX_10M_PS_EN,4,2               ; @TX_10M_PS_EN
	.no_dead_strip	_rtl_hw_start_8168h_1
.subsections_via_symbols
