	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __rtl_get_wol
___rtl_get_wol:                         ## @__rtl_get_wol
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_PLA_CONFIG34@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ocp_read_word
	movl	%eax, %r15d
	movq	_LINK_ON_WAKE_EN@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	je	LBB0_2
## %bb.1:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movl	(%r12), %esi
	movq	_PLA_CONFIG5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ocp_read_word
	movq	_UWF_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	je	LBB0_4
## %bb.3:
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_4:
	movq	_BWF_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_6
## %bb.5:
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%r15d, %ebx
	movq	_MWF_EN@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_8
## %bb.7:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %ecx
	orl	%ecx, %ebx
	movl	(%r12), %esi
	movq	_PLA_CFG_WOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ocp_read_word
	movq	_MAGIC_EN@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_10
## %bb.9:
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	orl	%eax, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_CONFIG34,4,2               ## @PLA_CONFIG34
	.comm	_LINK_ON_WAKE_EN,4,2            ## @LINK_ON_WAKE_EN
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_PLA_CONFIG5,4,2                ## @PLA_CONFIG5
	.comm	_UWF_EN,4,2                     ## @UWF_EN
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_BWF_EN,4,2                     ## @BWF_EN
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_MWF_EN,4,2                     ## @MWF_EN
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_PLA_CFG_WOL,4,2                ## @PLA_CFG_WOL
	.comm	_MAGIC_EN,4,2                   ## @MAGIC_EN
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.no_dead_strip	___rtl_get_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __rtl_get_wol
___rtl_get_wol:                         ; @__rtl_get_wol
	.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, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _PLA_CONFIG34@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLA_CONFIG34@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_ocp_read_word
Lloh5:
	adrp	x8, _LINK_ON_WAKE_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LINK_ON_WAKE_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _WAKE_PHY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WAKE_PHY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w21, wzr, w9, eq
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _PLA_CONFIG5@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLA_CONFIG5@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ocp_read_word
Lloh14:
	adrp	x8, _UWF_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UWF_EN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	orr	w8, w8, w21
Lloh20:
	adrp	x9, _BWF_EN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BWF_EN@GOTPAGEOFF]
Lloh22:
	adrp	x10, _WAKE_BCAST@GOTPAGE
Lloh23:
	ldr	x10, [x10, _WAKE_BCAST@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh26:
	adrp	x10, _MWF_EN@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MWF_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh28:
	ldr	w9, [x10]
Lloh29:
	adrp	x10, _WAKE_MCAST@GOTPAGE
Lloh30:
	ldr	x10, [x10, _WAKE_MCAST@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w21, w8, w9
	ldr	w1, [x20]
Lloh32:
	adrp	x8, _PLA_CFG_WOL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PLA_CFG_WOL@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ocp_read_word
Lloh35:
	adrp	x8, _MAGIC_EN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MAGIC_EN@GOTPAGEOFF]
Lloh37:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh38:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	orr	w0, w21, w8
	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	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh39
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_CONFIG34,4,2               ; @PLA_CONFIG34
	.comm	_LINK_ON_WAKE_EN,4,2            ; @LINK_ON_WAKE_EN
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_PLA_CONFIG5,4,2                ; @PLA_CONFIG5
	.comm	_UWF_EN,4,2                     ; @UWF_EN
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_BWF_EN,4,2                     ; @BWF_EN
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_MWF_EN,4,2                     ; @MWF_EN
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_PLA_CFG_WOL,4,2                ; @PLA_CFG_WOL
	.comm	_MAGIC_EN,4,2                   ; @MAGIC_EN
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.no_dead_strip	___rtl_get_wol
.subsections_via_symbols
