	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_get_wol
_ax88179_get_wol:                       ## @ax88179_get_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	_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_read_cmd
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rdx
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
	movl	$0, 4(%rbx)
	movl	-12(%rbp), %ecx
	movq	_AX_MONITOR_MODE_RWLC@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_3
## %bb.4:
	movl	(%rdx), %edx
	movl	%edx, 4(%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	$0, (%rbx)
	jmp	LBB0_7
LBB0_3:
	xorl	%edx, %edx
LBB0_5:
	movq	_AX_MONITOR_MODE_RWMP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_7
## %bb.6:
	orl	(%rax), %edx
	movl	%edx, 4(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_MONITOR_MOD,4,2             ## @AX_MONITOR_MOD
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_AX_MONITOR_MODE_RWLC,4,2       ## @AX_MONITOR_MODE_RWLC
	.comm	_AX_MONITOR_MODE_RWMP,4,2       ## @AX_MONITOR_MODE_RWMP
	.no_dead_strip	_ax88179_get_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_get_wol
_ax88179_get_wol:                       ; @ax88179_get_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
Lloh0:
	adrp	x8, _AX_ACCESS_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX_ACCESS_MAC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AX_MONITOR_MOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AX_MONITOR_MOD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh6:
	adrp	x10, _WAKE_PHY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WAKE_PHY@GOTPAGEOFF]
	ldr	w9, [x10]
Lloh8:
	adrp	x8, _WAKE_MAGIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WAKE_MAGIC@GOTPAGEOFF]
	ldr	w11, [x8]
	orr	w9, w11, w9
	stp	w9, wzr, [x19]
	ldr	w9, [sp, #12]
Lloh10:
	adrp	x11, _AX_MONITOR_MODE_RWLC@GOTPAGE
Lloh11:
	ldr	x11, [x11, _AX_MONITOR_MODE_RWLC@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w10, [x10]
	str	w10, [x19, #4]
	b	LBB0_5
LBB0_3:
	str	xzr, [x19]
	b	LBB0_7
LBB0_4:
	mov	w10, #0
LBB0_5:
Lloh13:
	adrp	x11, _AX_MONITOR_MODE_RWMP@GOTPAGE
Lloh14:
	ldr	x11, [x11, _AX_MONITOR_MODE_RWMP@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x19, #4]
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_ACCESS_MAC,4,2              ; @AX_ACCESS_MAC
	.comm	_AX_MONITOR_MOD,4,2             ; @AX_MONITOR_MOD
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_AX_MONITOR_MODE_RWLC,4,2       ; @AX_MONITOR_MODE_RWLC
	.comm	_AX_MONITOR_MODE_RWMP,4,2       ; @AX_MONITOR_MODE_RWMP
	.no_dead_strip	_ax88179_get_wol
.subsections_via_symbols
