	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl2_set_wol
_atl2_set_wol:                          ## @atl2_set_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
	movl	(%rbx), %edx
	movq	_WAKE_ARP@GOTPCREL(%rip), %rcx
	movq	_WAKE_MAGICSECURE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	testl	%edx, %esi
	jne	LBB0_1
## %bb.2:
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	testl	%edx, %esi
	je	LBB0_3
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movl	$0, (%rax)
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rdi
	xorl	%ecx, %ecx
	movl	$0, %esi
	testl	%edx, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	_ATLX_WUFC_MAG@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rax)
LBB0_5:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_7
## %bb.6:
	movq	_ATLX_WUFC_LNKC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, (%rax)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_ARP,4,2                   ## @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ## @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_ATLX_WUFC_MAG,4,2              ## @ATLX_WUFC_MAG
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_ATLX_WUFC_LNKC,4,2             ## @ATLX_WUFC_LNKC
	.no_dead_strip	_atl2_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl2_set_wol
_atl2_set_wol:                          ; @atl2_set_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
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _WAKE_ARP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_ARP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _WAKE_MAGICSECURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WAKE_MAGICSECURE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _WAKE_BCAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WAKE_BCAST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _WAKE_MCAST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _WAKE_MCAST@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_3:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	str	wzr, [x0]
Lloh18:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh21:
	adrp	x9, _ATLX_WUFC_MAG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ATLX_WUFC_MAG@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	str	w9, [x0]
	b	LBB0_7
LBB0_6:
	mov	w9, #0
LBB0_7:
Lloh24:
	adrp	x10, _WAKE_PHY@GOTPAGE
Lloh25:
	ldr	x10, [x10, _WAKE_PHY@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
	mov	w8, #0
Lloh27:
	adrp	x10, _ATLX_WUFC_LNKC@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ATLX_WUFC_LNKC@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x0]
	b	LBB0_3
LBB0_9:
	mov	w8, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_ARP,4,2                   ; @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ; @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_ATLX_WUFC_MAG,4,2              ; @ATLX_WUFC_MAG
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_ATLX_WUFC_LNKC,4,2             ; @ATLX_WUFC_LNKC
	.no_dead_strip	_atl2_set_wol
.subsections_via_symbols
