	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wow_resume_vif
_ath6kl_wow_resume_vif:                 ## @ath6kl_wow_resume_vif
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	16(%rdi), %r14
	movq	_AP_NETWORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_4:
	movq	_NETDEV_MCAST_ALL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movl	8(%rbx), %edi
	callq	_netif_wake_queue
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$3
	pushq	$0
	pushq	$0
	callq	_ath6kl_wmi_scanparams_cmd
	addq	$48, %rsp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	movl	32(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_ath6kl_wmi_listeninterval_cmd
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	movl	28(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_ath6kl_wmi_bmisstime_cmd
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_4
LBB0_5:
	movq	_ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	movl	$1, %edx
	callq	_ath6kl_wmi_mcast_filter_cmd
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AP_NETWORK,8,3                 ## @AP_NETWORK
	.comm	_NETDEV_MCAST_ALL_OFF,4,2       ## @NETDEV_MCAST_ALL_OFF
	.comm	_ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER,4,2 ## @ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER
	.no_dead_strip	_ath6kl_wow_resume_vif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wow_resume_vif
_ath6kl_wow_resume_vif:                 ; @ath6kl_wow_resume_vif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AP_NETWORK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AP_NETWORK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _NETDEV_MCAST_ALL_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_MCAST_ALL_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	x0, LBB0_6
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_netif_wake_queue
	mov	w0, #0
	b	LBB0_8
LBB0_3:
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	mov	w8, #3
	stp	x8, xzr, [sp]
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_ath6kl_wmi_scanparams_cmd
	cbnz	w0, LBB0_8
; %bb.4:
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	ldr	w2, [x19, #32]
	mov	w3, #0
	bl	_ath6kl_wmi_listeninterval_cmd
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	ldr	w2, [x19, #28]
	mov	w3, #0
	bl	_ath6kl_wmi_bmisstime_cmd
	cbnz	w0, LBB0_8
	b	LBB0_1
LBB0_6:
Lloh6:
	adrp	x8, _ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.7:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	mov	w2, #1
	bl	_ath6kl_wmi_mcast_filter_cmd
	cbz	w0, LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AP_NETWORK,8,3                 ; @AP_NETWORK
	.comm	_NETDEV_MCAST_ALL_OFF,4,2       ; @NETDEV_MCAST_ALL_OFF
	.comm	_ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER,4,2 ; @ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER
	.no_dead_strip	_ath6kl_wow_resume_vif
.subsections_via_symbols
