	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_enable
_rtl_enable:                            ## @rtl_enable
	.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	_r8152b_reset_packet_filter
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_CR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_ocp_read_byte
	movq	_CR_RE@GOTPCREL(%rip), %rcx
	movq	_CR_TE@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_ocp_write_byte
	movl	(%rbx), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_r8153b_rx_agg_chg_indicate
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rxdy_gated_en
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_CR,4,2                     ## @PLA_CR
	.comm	_CR_RE,4,2                      ## @CR_RE
	.comm	_CR_TE,4,2                      ## @CR_TE
	.no_dead_strip	_rtl_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_enable
_rtl_enable:                            ; @rtl_enable
	.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	_r8152b_reset_packet_filter
Lloh0:
	adrp	x20, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _PLA_CR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PLA_CR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_read_byte
Lloh4:
	adrp	x8, _CR_RE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CR_RE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _CR_TE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CR_TE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w3, w8, w9
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w8, [x19]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_r8153b_rx_agg_chg_indicate
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_rxdy_gated_en
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_CR,4,2                     ; @PLA_CR
	.comm	_CR_RE,4,2                      ; @CR_RE
	.comm	_CR_TE,4,2                      ; @CR_TE
	.no_dead_strip	_rtl_enable
.subsections_via_symbols
