	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmfe_ethtool_set_wol
_dmfe_ethtool_set_wol:                  ## @dmfe_ethtool_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_UCAST@GOTPCREL(%rip), %rcx
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rbx), %ecx
	movq	_WAKE_ARP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_WAKE_MAGICSECURE@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_3
LBB0_2:
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WAKE_ARP,4,2                   ## @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ## @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_dmfe_ethtool_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmfe_ethtool_set_wol
_dmfe_ethtool_set_wol:                  ; @dmfe_ethtool_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_UCAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAKE_UCAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WAKE_MCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WAKE_MCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x10, _WAKE_BCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WAKE_BCAST@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh9:
	adrp	x10, _WAKE_ARP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WAKE_ARP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh12:
	adrp	x10, _WAKE_MAGICSECURE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _WAKE_MAGICSECURE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w8, w10
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_3
LBB0_2:
	mov	w8, #0
	str	w9, [x0]
LBB0_3:
	mov	x0, x8
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_ARP,4,2                   ; @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ; @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_dmfe_ethtool_set_wol
.subsections_via_symbols
