	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8168h_1_hw_phy_config
_rtl8168h_1_hw_phy_config:              ## @rtl8168h_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_apply_firmware
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32923, %edx                    ## imm = 0x809B
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	movl	$63488, %ecx                    ## imm = 0xF800
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32930, %edx                    ## imm = 0x80A2
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32932, %edx                    ## imm = 0x80A4
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$34048, %edx                    ## imm = 0x8500
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32924, %edx                    ## imm = 0x809C
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$48384, %edx                    ## imm = 0xBD00
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32941, %edx                    ## imm = 0x80AD
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$28672, %edx                    ## imm = 0x7000
	movl	$63488, %ecx                    ## imm = 0xF800
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32948, %edx                    ## imm = 0x80B4
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$20480, %edx                    ## imm = 0x5000
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32940, %edx                    ## imm = 0x80AC
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$16384, %edx                    ## imm = 0x4000
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32910, %edx                    ## imm = 0x808E
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$4608, %edx                     ## imm = 0x1200
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32912, %edx                    ## imm = 0x8090
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$58624, %edx                    ## imm = 0xE500
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32914, %edx                    ## imm = 0x8092
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$40704, %edx                    ## imm = 0x9F00
	movl	$65280, %ecx                    ## imm = 0xFF00
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2630, %edx                     ## imm = 0xA46
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	callq	_rtl_readphy
	movl	%eax, %r14d
	andl	$3, %r14d
	movq	%rbx, %rdi
	movl	$18, %esi
	callq	_rtl_readphy
                                        ## kill: def $eax killed $eax def $rax
	shrl	$14, %eax
	andl	$3, %eax
	leal	(%rax,%r14,4), %r14d
	xorl	$7, %r14d
	shll	$12, %r14d
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$33402, %edx                    ## imm = 0x827A
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	movl	$61440, %ecx                    ## imm = 0xF000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$33403, %edx                    ## imm = 0x827B
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	movl	$61440, %ecx                    ## imm = 0xF000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$33404, %edx                    ## imm = 0x827C
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	movl	$61440, %ecx                    ## imm = 0xF000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$33405, %edx                    ## imm = 0x827D
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	movl	$61440, %ecx                    ## imm = 0xF000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$2065, %edx                     ## imm = 0x811
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$2048, %edx                     ## imm = 0x800
	xorl	%ecx, %ecx
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2626, %edx                     ## imm = 0xA42
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$22, %esi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movl	(%rbx), %r14d
	movl	$11, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	$2628, %esi                     ## imm = 0xA44
	movl	$17, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_phy_modify_paged
	movl	(%rbx), %r14d
	movl	$12, %edi
	callq	_BIT
	movl	%eax, %r15d
	movl	$13, %edi
	callq	_BIT
	orl	%eax, %r15d
	movl	$14, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	$3018, %esi                     ## imm = 0xBCA
	movl	$23, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_phy_modify_paged
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32831, %edx                    ## imm = 0x803F
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32839, %edx                    ## imm = 0x8047
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32847, %edx                    ## imm = 0x804F
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32855, %edx                    ## imm = 0x8057
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32863, %edx                    ## imm = 0x805F
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32871, %edx                    ## imm = 0x8067
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$19, %esi
	movl	$32879, %edx                    ## imm = 0x806F
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$20, %esi
	xorl	%edx, %edx
	movl	$12288, %ecx                    ## imm = 0x3000
	callq	_rtl_w0w1_phy
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movl	(%rbx), %r14d
	movl	$7, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	$2628, %esi                     ## imm = 0xA44
	movl	$17, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_phy_modify_paged
	movq	%rbx, %rdi
	callq	_rtl8168g_disable_aldps
	movq	%rbx, %rdi
	callq	_rtl8168h_config_eee_phy
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_enable_eee                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl8168h_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 rtl8168h_1_hw_phy_config
_rtl8168h_1_hw_phy_config:              ; @rtl8168h_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
	bl	_rtl_apply_firmware
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32923
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #32768
	mov	w3, #63488
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32930
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #32768
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32932
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #34048
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32924
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #48384
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32941
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #28672
	mov	w3, #63488
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32948
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #20480
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32940
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #16384
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32910
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #4608
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32912
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #58624
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32914
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #40704
	mov	w3, #65280
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2630
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	bl	_rtl_readphy
	ubfiz	w20, w0, #2, #2
	mov	x0, x19
	mov	w1, #18
	bl	_rtl_readphy
	bfxil	w20, w0, #14, #2
	lsl	w8, w20, #12
	eor	w20, w8, #0x7000
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #33402
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	x2, x20
	mov	w3, #61440
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #33403
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	x2, x20
	mov	w3, #61440
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #33404
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	x2, x20
	mov	w3, #61440
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #33405
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	x2, x20
	mov	w3, #61440
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #2065
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #2048
	mov	w3, #0
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2626
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #22
	mov	w2, #2
	mov	w3, #0
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	ldr	w20, [x19]
	mov	w0, #11
	bl	_BIT
	mov	x4, x0
	mov	x0, x20
	mov	w1, #2628
	mov	w2, #17
	mov	w3, #0
	bl	_phy_modify_paged
	ldr	w20, [x19]
	mov	w0, #12
	bl	_BIT
	mov	x21, x0
	mov	w0, #13
	bl	_BIT
	orr	w21, w0, w21
	mov	w0, #14
	bl	_BIT
	mov	x4, x0
	mov	x0, x20
	mov	w1, #3018
	mov	w2, #23
	mov	x3, x21
	bl	_phy_modify_paged
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32831
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32839
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32847
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32855
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32863
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32871
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32879
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #0
	mov	w3, #12288
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	ldr	w20, [x19]
	mov	w0, #7
	bl	_BIT
	mov	x3, x0
	mov	x0, x20
	mov	w1, #2628
	mov	w2, #17
	mov	w4, #0
	bl	_phy_modify_paged
	mov	x0, x19
	bl	_rtl8168g_disable_aldps
	mov	x0, x19
	bl	_rtl8168h_config_eee_phy
	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_enable_eee
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl8168h_1_hw_phy_config
.subsections_via_symbols
