	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl2_get_wol
_atl2_get_wol:                          ## @atl2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	movl	%ecx, 4(%rbx)
	movl	$0, (%rbx)
	movl	(%rax), %eax
	movq	_ATLX_WUFC_EX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	_ATLX_WUFC_MC@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_5
## %bb.4:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movq	_ATLX_WUFC_BC@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_7
## %bb.6:
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%rbx)
LBB0_7:
	movq	_ATLX_WUFC_MAG@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_9
## %bb.8:
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_9:
	movq	_ATLX_WUFC_LNKC@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_11
## %bb.10:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_ATLX_WUFC_EX,4,2               ## @ATLX_WUFC_EX
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_ATLX_WUFC_MC,4,2               ## @ATLX_WUFC_MC
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_ATLX_WUFC_BC,4,2               ## @ATLX_WUFC_BC
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_ATLX_WUFC_MAG,4,2              ## @ATLX_WUFC_MAG
	.comm	_ATLX_WUFC_LNKC,4,2             ## @ATLX_WUFC_LNKC
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.no_dead_strip	_atl2_get_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl2_get_wol
_atl2_get_wol:                          ; @atl2_get_wol
	.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, x1
	bl	_netdev_priv
Lloh0:
	adrp	x10, _WAKE_MAGIC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WAKE_MAGIC@GOTPAGEOFF]
	ldr	w8, [x10]
	stp	wzr, w8, [x19]
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _ATLX_WUFC_EX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ATLX_WUFC_EX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x19]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
Lloh8:
	adrp	x11, _ATLX_WUFC_MC@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ATLX_WUFC_MC@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x11, _WAKE_MCAST@GOTPAGE
Lloh12:
	ldr	x11, [x11, _WAKE_MCAST@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	orr	w9, w9, w11
	str	w9, [x19]
LBB0_5:
Lloh14:
	adrp	x11, _ATLX_WUFC_BC@GOTPAGE
Lloh15:
	ldr	x11, [x11, _ATLX_WUFC_BC@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_7
; %bb.6:
Lloh17:
	adrp	x11, _WAKE_BCAST@GOTPAGE
Lloh18:
	ldr	x11, [x11, _WAKE_BCAST@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w9, w9, w11
	str	w9, [x19]
LBB0_7:
Lloh20:
	adrp	x11, _ATLX_WUFC_MAG@GOTPAGE
Lloh21:
	ldr	x11, [x11, _ATLX_WUFC_MAG@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19]
LBB0_9:
Lloh23:
	adrp	x10, _ATLX_WUFC_LNKC@GOTPAGE
Lloh24:
	ldr	x10, [x10, _ATLX_WUFC_LNKC@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.10:
Lloh26:
	adrp	x8, _WAKE_PHY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WAKE_PHY@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_ATLX_WUFC_EX,4,2               ; @ATLX_WUFC_EX
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_ATLX_WUFC_MC,4,2               ; @ATLX_WUFC_MC
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_ATLX_WUFC_BC,4,2               ; @ATLX_WUFC_BC
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_ATLX_WUFC_MAG,4,2              ; @ATLX_WUFC_MAG
	.comm	_ATLX_WUFC_LNKC,4,2             ; @ATLX_WUFC_LNKC
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.no_dead_strip	_atl2_get_wol
.subsections_via_symbols
