	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_vif_ap_csa_count_down
_ath10k_mac_vif_ap_csa_count_down:      ## @ath10k_mac_vif_ap_csa_count_down
	.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	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	24(%rdi), %r15
	leaq	4(%r14), %rdi
	callq	_lockdep_assert_held
	movq	_WMI_SERVICE_BEACON_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	(%rbx), %rax
	movq	_WMI_VDEV_TYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.2:
	cmpl	$0, (%r15)
	je	LBB0_10
## %bb.3:
	cmpl	$0, 8(%rbx)
	je	LBB0_10
## %bb.4:
	movq	%r15, %rdi
	callq	_ieee80211_csa_is_complete
	movq	%r15, %rdi
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_csa_finish           ## TAILCALL
LBB0_5:
	callq	_ieee80211_csa_update_counter
	movq	%rbx, %rdi
	callq	_ath10k_mac_setup_bcn_tmpl
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
LBB0_7:
	movq	%rbx, %rdi
	callq	_ath10k_mac_setup_prb_tmpl
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_SERVICE_BEACON_OFFLOAD,4,2 ## @WMI_SERVICE_BEACON_OFFLOAD
	.comm	_WMI_VDEV_TYPE_AP,8,3           ## @WMI_VDEV_TYPE_AP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to update bcn tmpl during csa: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to update prb tmpl during csa: %d\n"

	.no_dead_strip	_ath10k_mac_vif_ap_csa_count_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_vif_ap_csa_count_down
_ath10k_mac_vif_ap_csa_count_down:      ; @ath10k_mac_vif_ap_csa_count_down
	.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	x20, x0
	ldp	x19, x21, [x0, #16]
	add	x0, x19, #4
	bl	_lockdep_assert_held
Lloh0:
	adrp	x8, _WMI_SERVICE_BEACON_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_SERVICE_BEACON_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _WMI_VDEV_TYPE_AP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WMI_VDEV_TYPE_AP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.2:
	ldr	w8, [x21]
	cbz	w8, LBB0_10
; %bb.3:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_10
; %bb.4:
	mov	x0, x21
	bl	_ieee80211_csa_is_complete
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	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	_ieee80211_csa_finish
LBB0_6:
	mov	x0, x21
	bl	_ieee80211_csa_update_counter
	mov	x0, x20
	bl	_ath10k_mac_setup_bcn_tmpl
	cbz	w0, LBB0_8
; %bb.7:
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_8:
	mov	x0, x20
	bl	_ath10k_mac_setup_prb_tmpl
	cbz	w0, LBB0_10
; %bb.9:
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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	_ath10k_warn
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_SERVICE_BEACON_OFFLOAD,4,2 ; @WMI_SERVICE_BEACON_OFFLOAD
	.comm	_WMI_VDEV_TYPE_AP,8,3           ; @WMI_VDEV_TYPE_AP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to update bcn tmpl during csa: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to update prb tmpl during csa: %d\n"

	.no_dead_strip	_ath10k_mac_vif_ap_csa_count_down
.subsections_via_symbols
