	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_ethtool_set_wol
_mwifiex_ethtool_set_wol:               ## @mwifiex_ethtool_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_mwifiex_netdev_get_priv
	movq	%rax, %r14
	movl	(%rbx), %r8d
	movq	_WAKE_UCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_WAKE_MCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ebx
	orl	%esi, %ebx
	movq	_WAKE_BCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_WAKE_PHY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %ecx
	orl	%edx, %ecx
	orl	%ebx, %ecx
	notl	%ecx
	testl	%ecx, %r8d
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_2:
	andl	%r8d, %esi
	jne	LBB0_3
## %bb.4:
	andl	%r8d, %edi
	jne	LBB0_5
LBB0_6:
	andl	%r8d, %eax
	je	LBB0_8
LBB0_7:
	movq	_HS_CFG_COND_BROADCAST_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%esi, %edi
	andl	%r8d, %edx
	je	LBB0_10
## %bb.9:
	movq	_HS_CFG_COND_MAC_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_10:
	orl	%edx, %eax
	orl	%eax, %edi
	xorl	%ebx, %ebx
	movl	$0, %ecx
	testl	%r8d, %r8d
	jne	LBB0_12
## %bb.11:
	movq	_HS_CFG_COND_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_12:
	orl	%ecx, %edi
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_HS_CFG_COND_UNICAST_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%r8d, %edi
	je	LBB0_6
LBB0_5:
	movq	_HS_CFG_COND_MULTICAST_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%r8d, %eax
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WAKE_UCAST,4,2                 ## @WAKE_UCAST
	.comm	_WAKE_MCAST,4,2                 ## @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ## @WAKE_BCAST
	.comm	_WAKE_PHY,4,2                   ## @WAKE_PHY
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_HS_CFG_COND_UNICAST_DATA,4,2   ## @HS_CFG_COND_UNICAST_DATA
	.comm	_HS_CFG_COND_MULTICAST_DATA,4,2 ## @HS_CFG_COND_MULTICAST_DATA
	.comm	_HS_CFG_COND_BROADCAST_DATA,4,2 ## @HS_CFG_COND_BROADCAST_DATA
	.comm	_HS_CFG_COND_MAC_EVENT,4,2      ## @HS_CFG_COND_MAC_EVENT
	.comm	_HS_CFG_COND_DEF,4,2            ## @HS_CFG_COND_DEF
	.no_dead_strip	_mwifiex_ethtool_set_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_ethtool_set_wol
_mwifiex_ethtool_set_wol:               ; @mwifiex_ethtool_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	x20, x1
	bl	_mwifiex_netdev_get_priv
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _WAKE_UCAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WAKE_UCAST@GOTPAGEOFF]
Lloh2:
	adrp	x10, _WAKE_MCAST@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WAKE_MCAST@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x9]
Lloh5:
	ldr	w11, [x10]
	orr	w9, w11, w12
Lloh6:
	adrp	x10, _WAKE_BCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WAKE_BCAST@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w13, w9, w10
Lloh9:
	adrp	x9, _WAKE_PHY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WAKE_PHY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w13, w13, w9
	bics	wzr, w8, w13
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x0
Lloh15:
	adrp	x13, _HS_CFG_COND_UNICAST_DATA@GOTPAGE
Lloh16:
	ldr	x13, [x13, _HS_CFG_COND_UNICAST_DATA@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	tst	w12, w8
	csel	w12, wzr, w13, eq
Lloh18:
	adrp	x13, _HS_CFG_COND_MULTICAST_DATA@GOTPAGE
Lloh19:
	ldr	x13, [x13, _HS_CFG_COND_MULTICAST_DATA@GOTPAGEOFF]
Lloh20:
	ldr	w13, [x13]
	tst	w11, w8
	csel	w11, wzr, w13, eq
	orr	w11, w11, w12
Lloh21:
	adrp	x12, _HS_CFG_COND_BROADCAST_DATA@GOTPAGE
Lloh22:
	ldr	x12, [x12, _HS_CFG_COND_BROADCAST_DATA@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	tst	w10, w8
	csel	w10, wzr, w12, eq
	orr	w10, w11, w10
Lloh24:
	adrp	x11, _HS_CFG_COND_MAC_EVENT@GOTPAGE
Lloh25:
	ldr	x11, [x11, _HS_CFG_COND_MAC_EVENT@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	tst	w9, w8
	csel	w9, wzr, w11, eq
	orr	w9, w10, w9
Lloh27:
	adrp	x10, _HS_CFG_COND_DEF@GOTPAGE
Lloh28:
	ldr	x10, [x10, _HS_CFG_COND_DEF@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	cmp	w8, #0
	csel	w8, w10, wzr, eq
	orr	w0, w9, w8
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19]
	str	w8, [x9]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WAKE_UCAST,4,2                 ; @WAKE_UCAST
	.comm	_WAKE_MCAST,4,2                 ; @WAKE_MCAST
	.comm	_WAKE_BCAST,4,2                 ; @WAKE_BCAST
	.comm	_WAKE_PHY,4,2                   ; @WAKE_PHY
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_HS_CFG_COND_UNICAST_DATA,4,2   ; @HS_CFG_COND_UNICAST_DATA
	.comm	_HS_CFG_COND_MULTICAST_DATA,4,2 ; @HS_CFG_COND_MULTICAST_DATA
	.comm	_HS_CFG_COND_BROADCAST_DATA,4,2 ; @HS_CFG_COND_BROADCAST_DATA
	.comm	_HS_CFG_COND_MAC_EVENT,4,2      ; @HS_CFG_COND_MAC_EVENT
	.comm	_HS_CFG_COND_DEF,4,2            ; @HS_CFG_COND_DEF
	.no_dead_strip	_mwifiex_ethtool_set_wol
.subsections_via_symbols
