	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_hw_start
_rtl_hw_start:                          ## @rtl_hw_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_rtl_unlock_config_regs
	movq	_CPCMD_MASK@GOTPCREL(%rip), %rax
	movl	16(%rbx), %edx
	andl	(%rax), %edx
	movl	%edx, 16(%rbx)
	movq	_CPlusCmd@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RTL_W16
	movq	(%rbx), %rax
	movq	_RTL_GIGA_MAC_VER_06@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_rtl_is_8125
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_rtl_hw_start_8125
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, %rdi
	callq	_rtl_hw_start_8169
	jmp	LBB0_5
LBB0_4:
	callq	_rtl_hw_start_8168
LBB0_5:
	movq	%rbx, %rdi
	callq	_rtl_set_rx_max_size
	movq	%rbx, %rdi
	callq	_rtl_set_rx_tx_desc_registers
	movq	%rbx, %rdi
	callq	_rtl_lock_config_regs
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_jumbo_config
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RTL_R16
	movq	_ChipCmd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CmdTxEnb@GOTPCREL(%rip), %rax
	movq	_CmdRxEnb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_RTL_W8
	movq	%rbx, %rdi
	callq	_rtl_init_rxcfg
	movq	%rbx, %rdi
	callq	_rtl_set_tx_config_registers
	movq	8(%rbx), %rdi
	callq	_rtl_set_rx_mode
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl_irq_enable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPCMD_MASK,4,2                 ## @CPCMD_MASK
	.comm	_CPlusCmd,4,2                   ## @CPlusCmd
	.comm	_RTL_GIGA_MAC_VER_06,8,3        ## @RTL_GIGA_MAC_VER_06
	.comm	_ChipCmd,4,2                    ## @ChipCmd
	.comm	_CmdTxEnb,4,2                   ## @CmdTxEnb
	.comm	_CmdRxEnb,4,2                   ## @CmdRxEnb
	.no_dead_strip	_rtl_hw_start
.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
_rtl_hw_start:                          ; @rtl_hw_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rtl_unlock_config_regs
Lloh0:
	adrp	x8, _CPCMD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPCMD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	and	w2, w9, w8
	str	w2, [x19, #16]
Lloh3:
	adrp	x20, _CPlusCmd@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CPlusCmd@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RTL_W16
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _RTL_GIGA_MAC_VER_06@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTL_GIGA_MAC_VER_06@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
	bl	_rtl_is_8125
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_rtl_hw_start_8125
	b	LBB0_5
LBB0_3:
	bl	_rtl_hw_start_8169
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_rtl_hw_start_8168
LBB0_5:
	mov	x0, x19
	bl	_rtl_set_rx_max_size
	mov	x0, x19
	bl	_rtl_set_rx_tx_desc_registers
	mov	x0, x19
	bl	_rtl_lock_config_regs
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_jumbo_config
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RTL_R16
Lloh8:
	adrp	x8, _ChipCmd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ChipCmd@GOTPAGEOFF]
Lloh10:
	adrp	x9, _CmdTxEnb@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CmdTxEnb@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _CmdRxEnb@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CmdRxEnb@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_RTL_W8
	mov	x0, x19
	bl	_rtl_init_rxcfg
	mov	x0, x19
	bl	_rtl_set_tx_config_registers
	ldr	x0, [x19, #8]
	bl	_rtl_set_rx_mode
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_irq_enable
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CPCMD_MASK,4,2                 ; @CPCMD_MASK
	.comm	_CPlusCmd,4,2                   ; @CPlusCmd
	.comm	_RTL_GIGA_MAC_VER_06,8,3        ; @RTL_GIGA_MAC_VER_06
	.comm	_ChipCmd,4,2                    ; @ChipCmd
	.comm	_CmdTxEnb,4,2                   ; @CmdTxEnb
	.comm	_CmdRxEnb,4,2                   ; @CmdRxEnb
	.no_dead_strip	_rtl_hw_start
.subsections_via_symbols
