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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_set_wol
_atl1c_set_wol:                         ; @atl1c_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
Lloh0:
	adrp	x8, _WAKE_ARP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAKE_ARP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WAKE_MAGICSECURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WAKE_MAGICSECURE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh6:
	adrp	x10, _WAKE_UCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WAKE_UCAST@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _WAKE_BCAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WAKE_BCAST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
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_2
; %bb.1:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	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_4
; %bb.3:
Lloh21:
	adrp	x9, _AT_WUFC_MAG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AT_WUFC_MAG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
	str	w1, [x0]
	b	LBB0_5
LBB0_4:
	mov	w1, #0
LBB0_5:
Lloh24:
	adrp	x9, _WAKE_PHY@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WAKE_PHY@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh27:
	adrp	x8, _AT_WUFC_LNKC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AT_WUFC_LNKC@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w1, w1, w8
	str	w1, [x0]
LBB0_7:
	ldr	x0, [x0, #8]
	bl	_device_set_wakeup_enable
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_AT_WUFC_MAG,4,2                ; @AT_WUFC_MAG
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_AT_WUFC_LNKC,4,2               ; @AT_WUFC_LNKC
	.no_dead_strip	_atl1c_set_wol
.subsections_via_symbols
