	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_runtime_suspend_enable
_rtl_runtime_suspend_enable:            ## @rtl_runtime_suspend_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_WAKE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___rtl_set_wol
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_CRWECR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRWECR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ocp_write_byte
	movl	(%r14), %esi
	movq	_PLA_CONFIG34@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ocp_read_word
	movl	%eax, %ecx
	movq	_LINK_OFF_WAKE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	___rtl_set_wol
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_CRWECR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRWECR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ocp_write_byte
	movl	(%r14), %esi
	movq	_PLA_CONFIG34@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ocp_read_word
	movq	_LINK_OFF_WAKE_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
LBB0_3:
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PLA_CONFIG34@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ocp_write_word
	movl	(%r14), %esi
	movq	_PLA_CRWECR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRWECR_NORAML@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ocp_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_ANY,4,2                   ## @WAKE_ANY
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_CRWECR,4,2                 ## @PLA_CRWECR
	.comm	_CRWECR_CONFIG,4,2              ## @CRWECR_CONFIG
	.comm	_PLA_CONFIG34,4,2               ## @PLA_CONFIG34
	.comm	_LINK_OFF_WAKE_EN,4,2           ## @LINK_OFF_WAKE_EN
	.comm	_CRWECR_NORAML,4,2              ## @CRWECR_NORAML
	.no_dead_strip	_rtl_runtime_suspend_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_runtime_suspend_enable
_rtl_runtime_suspend_enable:            ; @rtl_runtime_suspend_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
Lloh0:
	adrp	x21, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MCU_TYPE_PLA@GOTPAGEOFF]
Lloh2:
	adrp	x22, _PLA_CONFIG34@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PLA_CONFIG34@GOTPAGEOFF]
Lloh4:
	adrp	x20, _PLA_CRWECR@GOTPAGE
Lloh5:
	ldr	x20, [x20, _PLA_CRWECR@GOTPAGEOFF]
	cbz	w1, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _WAKE_ANY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WAKE_ANY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___rtl_set_wol
	ldr	w1, [x21]
	ldr	w2, [x20]
Lloh9:
	adrp	x8, _CRWECR_CONFIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRWECR_CONFIG@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_ocp_read_word
Lloh12:
	adrp	x8, _LINK_OFF_WAKE_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LINK_OFF_WAKE_EN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w3, w8, w0
	b	LBB0_3
LBB0_2:
	ldr	w1, [x19]
	mov	x0, x19
	bl	___rtl_set_wol
	ldr	w1, [x21]
	ldr	w2, [x20]
Lloh15:
	adrp	x8, _CRWECR_CONFIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CRWECR_CONFIG@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_ocp_read_word
Lloh18:
	adrp	x8, _LINK_OFF_WAKE_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LINK_OFF_WAKE_EN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	bic	w3, w0, w8
LBB0_3:
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_ocp_write_word
	ldr	w1, [x21]
Lloh21:
	adrp	x8, _CRWECR_NORAML@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CRWECR_NORAML@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh23:
	ldr	w3, [x8]
	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	_ocp_write_byte
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_ANY,4,2                   ; @WAKE_ANY
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_CRWECR,4,2                 ; @PLA_CRWECR
	.comm	_CRWECR_CONFIG,4,2              ; @CRWECR_CONFIG
	.comm	_PLA_CONFIG34,4,2               ; @PLA_CONFIG34
	.comm	_LINK_OFF_WAKE_EN,4,2           ; @LINK_OFF_WAKE_EN
	.comm	_CRWECR_NORAML,4,2              ; @CRWECR_NORAML
	.no_dead_strip	_rtl_runtime_suspend_enable
.subsections_via_symbols
