	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_wol
_bnx2x_set_wol:                         ## @bnx2x_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_MAGIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	notl	%esi
	testl	%esi, %ecx
	je	LBB0_2
LBB0_1:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	testl	%ecx, %edx
	je	LBB0_5
## %bb.3:
	movq	_NO_WOL_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_1
## %bb.4:
	movl	$1, 4(%rax)
	jmp	LBB0_6
LBB0_5:
	movl	$0, 4(%rax)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_MAGIC,4,2                 ## @WAKE_MAGIC
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ## @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WOL not supported\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NO_WOL_FLAG,4,2                ## @NO_WOL_FLAG
	.no_dead_strip	_bnx2x_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_wol
_bnx2x_set_wol:                         ; @bnx2x_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_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.eq	LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_2:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [x0]
Lloh11:
	adrp	x9, _NO_WOL_FLAG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NO_WOL_FLAG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.5:
	mov	w8, #0
	mov	w9, #1
	str	w9, [x0, #4]
	b	LBB0_2
LBB0_6:
	mov	w8, #0
	str	wzr, [x0, #4]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_MAGIC,4,2                 ; @WAKE_MAGIC
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ; @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WOL not supported\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NO_WOL_FLAG,4,2                ; @NO_WOL_FLAG
	.no_dead_strip	_bnx2x_set_wol
.subsections_via_symbols
