	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_set_wol
_ax88179_set_wol:                       ## @ax88179_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	$0, -12(%rbp)
	movl	(%rbx), %ecx
	movq	_WAKE_PHY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %edi
	orl	%esi, %edi
	notl	%edi
	testl	%edi, %ecx
	je	LBB0_1
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_1:
	testl	%ecx, %esi
	je	LBB0_2
## %bb.3:
	movq	_AX_MONITOR_MODE_RWLC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, -12(%rbp)
	testl	%ecx, %edx
	je	LBB0_6
LBB0_5:
	movq	_AX_MONITOR_MODE_RWMP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, -12(%rbp)
LBB0_6:
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AX_MONITOR_MOD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-12(%rbp), %r9
	movq	%rax, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_ax88179_write_cmd
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	js	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	xorl	%esi, %esi
	testl	%ecx, %edx
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AX_MONITOR_MODE_RWLC,4,2       ## @AX_MONITOR_MODE_RWLC
	.comm	_AX_MONITOR_MODE_RWMP,4,2       ## @AX_MONITOR_MODE_RWMP
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_MONITOR_MOD,4,2             ## @AX_MONITOR_MOD
	.no_dead_strip	_ax88179_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_set_wol
_ax88179_set_wol:                       ; @ax88179_set_wol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	str	wzr, [sp, #12]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _WAKE_PHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w11, w9, w10
	bics	wzr, w8, w11
	b.eq	LBB0_2
LBB0_1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	tst	w10, w8
	b.eq	LBB0_8
; %bb.3:
Lloh9:
	adrp	x10, _AX_MONITOR_MODE_RWLC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AX_MONITOR_MODE_RWLC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [sp, #12]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _AX_MONITOR_MODE_RWMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AX_MONITOR_MODE_RWMP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [sp, #12]
LBB0_5:
Lloh15:
	adrp	x8, _AX_ACCESS_MAC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AX_ACCESS_MAC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _AX_MONITOR_MOD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AX_MONITOR_MOD@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd
	tbnz	x0, #63, LBB0_1
; %bb.6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	w10, #0
	tst	w9, w8
	b.ne	LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AX_MONITOR_MODE_RWLC,4,2       ; @AX_MONITOR_MODE_RWLC
	.comm	_AX_MONITOR_MODE_RWMP,4,2       ; @AX_MONITOR_MODE_RWMP
	.comm	_AX_ACCESS_MAC,4,2              ; @AX_ACCESS_MAC
	.comm	_AX_MONITOR_MOD,4,2             ; @AX_MONITOR_MOD
	.no_dead_strip	_ax88179_set_wol
.subsections_via_symbols
