	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcmgenet_get_wol               ## -- Begin function bcmgenet_get_wol
	.p2align	4, 0x90
_bcmgenet_get_wol:                      ## @bcmgenet_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rax
	movq	_WAKE_MAGICSECURE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	(%r15), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_1
## %bb.2:
	movq	_UMAC_MPD_PW_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bcmgenet_umac_readl
	movq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_put_unaligned_be16
	movq	_UMAC_MPD_PW_LS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bcmgenet_umac_readl
	movq	8(%rbx), %rsi
	addq	$8, %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_unaligned_be32             ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_WAKE_MAGICSECURE,4,2           ## @WAKE_MAGICSECURE
	.comm	_UMAC_MPD_PW_MS,4,2             ## @UMAC_MPD_PW_MS
	.comm	_UMAC_MPD_PW_LS,4,2             ## @UMAC_MPD_PW_LS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcmgenet_get_wol               ; -- Begin function bcmgenet_get_wol
	.p2align	2
_bcmgenet_get_wol:                      ; @bcmgenet_get_wol
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _WAKE_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WAKE_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _WAKE_MAGICSECURE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _WAKE_MAGICSECURE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x0]
	stp	w8, w9, [x19]
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x19, #4]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _UMAC_MPD_PW_MS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UMAC_MPD_PW_MS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bcmgenet_umac_readl
	ldr	x1, [x19, #8]
	bl	_put_unaligned_be16
Lloh8:
	adrp	x8, _UMAC_MPD_PW_LS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UMAC_MPD_PW_LS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bcmgenet_umac_readl
	ldr	x8, [x19, #8]
	add	x1, x8, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_put_unaligned_be32
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_WAKE_MAGICSECURE,4,2           ; @WAKE_MAGICSECURE
	.comm	_UMAC_MPD_PW_MS,4,2             ; @UMAC_MPD_PW_MS
	.comm	_UMAC_MPD_PW_LS,4,2             ; @UMAC_MPD_PW_LS
.subsections_via_symbols
