	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_wol
_i40e_get_wol:                          ## @i40e_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rbx
	leaq	8(%rbx), %r15
	movq	_I40E_SR_NVM_WAKE_ON_LAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	_i40e_read_nvm_word
	movl	12(%rbx), %edi
	callq	_BIT
	testl	%eax, -28(%rbp)
	jne	LBB0_2
## %bb.1:
	cmpl	$1, (%r15)
	jne	LBB0_2
## %bb.3:
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	movq	%rax, (%r14)
	jmp	LBB0_4
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_SR_NVM_WAKE_ON_LAN,4,2    ## @I40E_SR_NVM_WAKE_ON_LAN
	.comm	_WAKE_MAGIC,8,3                 ## @WAKE_MAGIC
	.no_dead_strip	_i40e_get_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_get_wol
_i40e_get_wol:                          ; @i40e_get_wol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x21, [x8]
	add	x20, x21, #8
Lloh0:
	adrp	x8, _I40E_SR_NVM_WAKE_ON_LAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_SR_NVM_WAKE_ON_LAN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_i40e_read_nvm_word
	ldr	w0, [x21, #12]
	bl	_BIT
	ldr	w8, [sp, #12]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _WAKE_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WAKE_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x9, #0
	csel	x9, xzr, x8, eq
	stp	x9, x8, [x19]
	b	LBB0_4
LBB0_3:
	stp	xzr, xzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_SR_NVM_WAKE_ON_LAN,4,2    ; @I40E_SR_NVM_WAKE_ON_LAN
	.comm	_WAKE_MAGIC,8,3                 ; @WAKE_MAGIC
	.no_dead_strip	_i40e_get_wol
.subsections_via_symbols
