	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8168g_1_hw_phy_config
_rtl8168g_1_hw_phy_config:              ## @rtl8168g_1_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	_rtl8168g_1_hw_phy_config.mac_ocp_patch(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	$63488, %r12d                   ## imm = 0xF800
	xorl	%r13d, %r13d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_r8168_mac_ocp_write
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addl	$2, %r12d
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movl	$64550, %esi                    ## imm = 0xFC26
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_r8168_mac_ocp_write
	movq	%r15, %rdi
	movl	$64552, %esi                    ## imm = 0xFC28
	movl	$117, %edx
	callq	_r8168_mac_ocp_write
	movq	%r15, %rdi
	callq	_rtl_apply_firmware
	movq	%r15, %rdi
	movl	$42080, %esi                    ## imm = 0xA460
	callq	_r8168_phy_ocp_read
	movq	%r15, %rdi
	movl	$48324, %esi                    ## imm = 0xBCC4
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_4
## %bb.5:
	movl	$32768, %edx                    ## imm = 0x8000
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
	movl	$32768, %ecx                    ## imm = 0x8000
LBB0_6:
	callq	_rtl_w1w0_phy_ocp
	movq	%r15, %rdi
	movl	$42086, %esi                    ## imm = 0xA466
	callq	_r8168_phy_ocp_read
	movq	%r15, %rdi
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_7
## %bb.8:
	movl	$48324, %esi                    ## imm = 0xBCC4
	xorl	%edx, %edx
	movl	$2, %ecx
	jmp	LBB0_9
LBB0_7:
	movl	$50202, %esi                    ## imm = 0xC41A
	movl	$2, %edx
	xorl	%ecx, %ecx
LBB0_9:
	callq	_rtl_w1w0_phy_ocp
	movq	%r15, %rdi
	movl	$42050, %esi                    ## imm = 0xA442
	movl	$12, %edx
	xorl	%ecx, %ecx
	callq	_rtl_w1w0_phy_ocp
	movq	%r15, %rdi
	movl	$42162, %esi                    ## imm = 0xA4B2
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_rtl_w1w0_phy_ocp
	movq	%r15, %rdi
	movl	$42038, %esi                    ## imm = 0xA436
	movl	$32786, %edx                    ## imm = 0x8012
	callq	_r8168_phy_ocp_write
	movq	%r15, %rdi
	movl	$42040, %esi                    ## imm = 0xA438
	movl	$32768, %edx                    ## imm = 0x8000
	xorl	%ecx, %ecx
	callq	_rtl_w1w0_phy_ocp
	movq	%r15, %rdi
	movl	$50210, %esi                    ## imm = 0xC422
	movl	$16384, %edx                    ## imm = 0x4000
	movl	$8192, %ecx                     ## imm = 0x2000
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_w1w0_phy_ocp               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @rtl8168g_1_hw_phy_config.mac_ocp_patch
_rtl8168g_1_hw_phy_config.mac_ocp_patch:
	.long	57352                           ## 0xe008
	.long	57371                           ## 0xe01b
	.long	57373                           ## 0xe01d
	.long	57375                           ## 0xe01f
	.long	57377                           ## 0xe021
	.long	57379                           ## 0xe023
	.long	57381                           ## 0xe025
	.long	57383                           ## 0xe027
	.long	18898                           ## 0x49d2
	.long	61709                           ## 0xf10d
	.long	30316                           ## 0x766c
	.long	18914                           ## 0x49e2
	.long	61450                           ## 0xf00a
	.long	7872                            ## 0x1ec0
	.long	36577                           ## 0x8ee1
	.long	50698                           ## 0xc60a
	.long	30656                           ## 0x77c0
	.long	18544                           ## 0x4870
	.long	40896                           ## 0x9fc0
	.long	7840                            ## 0x1ea0
	.long	50951                           ## 0xc707
	.long	36577                           ## 0x8ee1
	.long	40300                           ## 0x9d6c
	.long	50691                           ## 0xc603
	.long	48640                           ## 0xbe00
	.long	46102                           ## 0xb416
	.long	118                             ## 0x76
	.long	59500                           ## 0xe86c
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	50690                           ## 0xc602
	.long	48640                           ## 0xbe00
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.no_dead_strip	_rtl8168g_1_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 rtl8168g_1_hw_phy_config
_rtl8168g_1_hw_phy_config:              ; @rtl8168g_1_hw_phy_config
	.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
Lloh0:
	adrp	x20, _rtl8168g_1_hw_phy_config.mac_ocp_patch@PAGE
Lloh1:
	add	x20, x20, _rtl8168g_1_hw_phy_config.mac_ocp_patch@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	w21, #63488
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x20, x22, lsl #2]
	mov	x0, x19
	mov	x1, x21
	bl	_r8168_mac_ocp_write
	add	x22, x22, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	w21, w21, #2
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	w1, #64550
	mov	w2, #32768
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	mov	w1, #64552
	mov	w2, #117
	bl	_r8168_mac_ocp_write
	mov	x0, x19
	bl	_rtl_apply_firmware
	mov	x0, x19
	mov	w1, #42080
	bl	_r8168_phy_ocp_read
	tbnz	w0, #8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #48324
	mov	w2, #32768
	mov	w3, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	w1, #48324
	mov	w2, #0
	mov	w3, #32768
LBB0_6:
	bl	_rtl_w1w0_phy_ocp
	mov	x0, x19
	mov	w1, #42086
	bl	_r8168_phy_ocp_read
	tbnz	w0, #8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #48324
	mov	w2, #0
	mov	w3, #2
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	w1, #50202
	mov	w2, #2
	mov	w3, #0
LBB0_9:
	bl	_rtl_w1w0_phy_ocp
	mov	x0, x19
	mov	w1, #42050
	mov	w2, #12
	mov	w3, #0
	bl	_rtl_w1w0_phy_ocp
	mov	x0, x19
	mov	w1, #42162
	mov	w2, #4
	mov	w3, #0
	bl	_rtl_w1w0_phy_ocp
	mov	x0, x19
	mov	w1, #42038
	mov	w2, #32786
	bl	_r8168_phy_ocp_write
	mov	x0, x19
	mov	w1, #42040
	mov	w2, #32768
	mov	w3, #0
	bl	_rtl_w1w0_phy_ocp
	mov	x0, x19
	mov	w1, #50210
	mov	w2, #16384
	mov	w3, #8192
	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_w1w0_phy_ocp
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rtl8168g_1_hw_phy_config.mac_ocp_patch
_rtl8168g_1_hw_phy_config.mac_ocp_patch:
	.long	57352                           ; 0xe008
	.long	57371                           ; 0xe01b
	.long	57373                           ; 0xe01d
	.long	57375                           ; 0xe01f
	.long	57377                           ; 0xe021
	.long	57379                           ; 0xe023
	.long	57381                           ; 0xe025
	.long	57383                           ; 0xe027
	.long	18898                           ; 0x49d2
	.long	61709                           ; 0xf10d
	.long	30316                           ; 0x766c
	.long	18914                           ; 0x49e2
	.long	61450                           ; 0xf00a
	.long	7872                            ; 0x1ec0
	.long	36577                           ; 0x8ee1
	.long	50698                           ; 0xc60a
	.long	30656                           ; 0x77c0
	.long	18544                           ; 0x4870
	.long	40896                           ; 0x9fc0
	.long	7840                            ; 0x1ea0
	.long	50951                           ; 0xc707
	.long	36577                           ; 0x8ee1
	.long	40300                           ; 0x9d6c
	.long	50691                           ; 0xc603
	.long	48640                           ; 0xbe00
	.long	46102                           ; 0xb416
	.long	118                             ; 0x76
	.long	59500                           ; 0xe86c
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	50690                           ; 0xc602
	.long	48640                           ; 0xbe00
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.no_dead_strip	_rtl8168g_1_hw_phy_config
.subsections_via_symbols
