	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_set_wol
_aqc111_set_wol:                        ## @aqc111_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), %ecx
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	notl	%esi
	testl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	(%rax), %rsi
	movl	$0, (%rsi)
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_AQ_WOL_FLAG_MP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsi)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AQ_WOL_FLAG_MP,4,2             ## @AQ_WOL_FLAG_MP
	.no_dead_strip	_aqc111_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_set_wol
_aqc111_set_wol:                        ; @aqc111_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_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
	ldr	w10, [x9]
	bics	wzr, w8, w10
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	x10, [x0]
	str	wzr, [x10]
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
Lloh5:
	adrp	x8, _AQ_WOL_FLAG_MP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AQ_WOL_FLAG_MP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x10]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AQ_WOL_FLAG_MP,4,2             ; @AQ_WOL_FLAG_MP
	.no_dead_strip	_aqc111_set_wol
.subsections_via_symbols
