	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_wol
_igb_set_wol:                           ## @igb_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_ARP@GOTPCREL(%rip), %rdx
	movq	_WAKE_MAGICSECURE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	_WAKE_FILTER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_2:
	movq	_IGB_FLAG_WOL_SUPPORTED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	je	LBB0_3
## %bb.4:
	movl	$0, 4(%rax)
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.6:
	movq	_E1000_WUFC_EX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%esi, 4(%rax)
	jmp	LBB0_7
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	jmp	LBB0_16
LBB0_5:
	xorl	%esi, %esi
LBB0_7:
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.8:
	movq	_E1000_WUFC_MC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, 4(%rax)
LBB0_9:
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_11
## %bb.10:
	movq	_E1000_WUFC_BC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, 4(%rax)
LBB0_11:
	movq	_WAKE_MAGIC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_13
## %bb.12:
	movq	_E1000_WUFC_MAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, 4(%rax)
LBB0_13:
	movq	_WAKE_PHY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_15
## %bb.14:
	movq	_E1000_WUFC_LNKC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, 4(%rax)
LBB0_15:
	movq	8(%rax), %rdi
	callq	_device_set_wakeup_enable
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_ARP,4,2                   ## @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ## @WAKE_MAGICSECURE
	.comm	_WAKE_FILTER,4,2                ## @WAKE_FILTER
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IGB_FLAG_WOL_SUPPORTED,4,2     ## @IGB_FLAG_WOL_SUPPORTED
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_E1000_WUFC_EX,4,2              ## @E1000_WUFC_EX
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_E1000_WUFC_MC,4,2              ## @E1000_WUFC_MC
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_E1000_WUFC_BC,4,2              ## @E1000_WUFC_BC
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_E1000_WUFC_MAG,4,2             ## @E1000_WUFC_MAG
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_E1000_WUFC_LNKC,4,2            ## @E1000_WUFC_LNKC
	.no_dead_strip	_igb_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_set_wol
_igb_set_wol:                           ; @igb_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_ARP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_ARP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _WAKE_MAGICSECURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WAKE_MAGICSECURE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _WAKE_FILTER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WAKE_FILTER@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_2:
	ldr	w9, [x0]
Lloh12:
	adrp	x10, _IGB_FLAG_WOL_SUPPORTED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IGB_FLAG_WOL_SUPPORTED@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.3:
	str	wzr, [x0, #4]
Lloh15:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh18:
	adrp	x9, _E1000_WUFC_EX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _E1000_WUFC_EX@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	str	w1, [x0, #4]
	b	LBB0_7
LBB0_5:
Lloh21:
	adrp	x9, _EOPNOTSUPP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EOPNOTSUPP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, #0
	csneg	w0, wzr, w9, eq
	b	LBB0_16
LBB0_6:
	mov	w1, #0
LBB0_7:
Lloh24:
	adrp	x9, _WAKE_MCAST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WAKE_MCAST@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh27:
	adrp	x9, _E1000_WUFC_MC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _E1000_WUFC_MC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w1, w1, w9
	str	w1, [x0, #4]
LBB0_9:
Lloh30:
	adrp	x9, _WAKE_BCAST@GOTPAGE
Lloh31:
	ldr	x9, [x9, _WAKE_BCAST@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh33:
	adrp	x9, _E1000_WUFC_BC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _E1000_WUFC_BC@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w1, w1, w9
	str	w1, [x0, #4]
LBB0_11:
Lloh36:
	adrp	x9, _WAKE_MAGIC@GOTPAGE
Lloh37:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh39:
	adrp	x9, _E1000_WUFC_MAG@GOTPAGE
Lloh40:
	ldr	x9, [x9, _E1000_WUFC_MAG@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w1, w1, w9
	str	w1, [x0, #4]
LBB0_13:
Lloh42:
	adrp	x9, _WAKE_PHY@GOTPAGE
Lloh43:
	ldr	x9, [x9, _WAKE_PHY@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh45:
	adrp	x8, _E1000_WUFC_LNKC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _E1000_WUFC_LNKC@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	orr	w1, w1, w8
	str	w1, [x0, #4]
LBB0_15:
	ldr	x0, [x0, #8]
	bl	_device_set_wakeup_enable
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_ARP,4,2                   ; @WAKE_ARP
	.comm	_WAKE_MAGICSECURE,4,2           ; @WAKE_MAGICSECURE
	.comm	_WAKE_FILTER,4,2                ; @WAKE_FILTER
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IGB_FLAG_WOL_SUPPORTED,4,2     ; @IGB_FLAG_WOL_SUPPORTED
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_E1000_WUFC_EX,4,2              ; @E1000_WUFC_EX
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_E1000_WUFC_MC,4,2              ; @E1000_WUFC_MC
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_E1000_WUFC_BC,4,2              ; @E1000_WUFC_BC
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_E1000_WUFC_MAG,4,2             ; @E1000_WUFC_MAG
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_E1000_WUFC_LNKC,4,2            ; @E1000_WUFC_LNKC
	.no_dead_strip	_igb_set_wol
.subsections_via_symbols
