	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_set_wol
_vmxnet3_set_wol:                       ## @vmxnet3_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_PHY@GOTPCREL(%rip), %rcx
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rbx), %esi
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_WAKE_MAGICSECURE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%esi, %edx
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	%esi, (%rax)
	movq	8(%rax), %rdi
	callq	_device_set_wakeup_enable
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WAKE_MAGICSECURE,4,2           ## @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_vmxnet3_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_set_wol
_vmxnet3_set_wol:                       ; @vmxnet3_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	w1, [x19]
Lloh0:
	adrp	x8, _WAKE_PHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAKE_PHY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WAKE_MCAST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WAKE_MCAST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WAKE_BCAST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WAKE_BCAST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _WAKE_MAGICSECURE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WAKE_MAGICSECURE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	str	w1, [x0]
	ldr	x0, [x0, #8]
	bl	_device_set_wakeup_enable
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_MAGICSECURE,4,2           ; @WAKE_MAGICSECURE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_vmxnet3_set_wol
.subsections_via_symbols
