	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_update_rx_channel
_ath10k_mac_update_rx_channel:          ## @ath10k_mac_update_rx_channel
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	$0, -48(%rbp)
	addq	$24, %rdi
	callq	_lockdep_assert_held
	leaq	20(%r13), %rdi
	callq	_lockdep_assert_held
	testq	%r14, %r14
	setne	%al
	testq	%r15, %r15
	setne	%bl
	andb	%bl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	testl	%r12d, %r12d
	sete	%al
	andb	%bl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r13, %rdi
	callq	_ath10k_mac_num_chanctxs
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	(%r13), %rax
	movq	_ATH10K_STATE_RESTARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
	jmp	LBB0_6
LBB0_3:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.4:
	movl	16(%r13), %edi
	movq	_ath10k_mac_get_any_chandef_iter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_ieee80211_iter_chan_contexts_atomic
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:
	movq	(%r15), %r14
	movq	%r14, -48(%rbp)
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	-48(%rbp), %r14
LBB0_8:
	movq	(%r14), %rax
LBB0_9:
	movq	%rax, 8(%r13)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ath10k_mac_get_any_chandef_iter,4,2 ## @ath10k_mac_get_any_chandef_iter
	.comm	_ATH10K_STATE_RESTARTED,8,3     ## @ATH10K_STATE_RESTARTED
	.no_dead_strip	_ath10k_mac_update_rx_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_update_rx_channel
_ath10k_mac_update_rx_channel:          ; @ath10k_mac_update_rx_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	add	x0, x0, #24
	bl	_lockdep_assert_held
	add	x0, x19, #20
	bl	_lockdep_assert_held
	cmp	x20, #0
	cset	w8, ne
	cmp	x21, #0
	cset	w23, ne
	and	w0, w8, w23
	bl	_WARN_ON
	cmp	w22, #0
	cset	w8, eq
	and	w0, w23, w8
	bl	_WARN_ON
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_ath10k_mac_num_chanctxs
	cbz	x20, LBB0_3
; %bb.1:
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ATH10K_STATE_RESTARTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH10K_STATE_RESTARTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
	b	LBB0_6
LBB0_3:
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _ath10k_mac_get_any_chandef_iter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ath10k_mac_get_any_chandef_iter@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ieee80211_iter_chan_contexts_atomic
	cbz	x21, LBB0_7
; %bb.5:
	ldr	x20, [x21]
	str	x20, [sp, #8]
	b	LBB0_8
LBB0_6:
	mov	x8, #0
	b	LBB0_9
LBB0_7:
	ldr	x20, [sp, #8]
LBB0_8:
	ldr	x8, [x20]
LBB0_9:
	str	x8, [x19, #8]
	bl	_rcu_read_unlock
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ath10k_mac_get_any_chandef_iter,4,2 ; @ath10k_mac_get_any_chandef_iter
	.comm	_ATH10K_STATE_RESTARTED,8,3     ; @ATH10K_STATE_RESTARTED
	.no_dead_strip	_ath10k_mac_update_rx_channel
.subsections_via_symbols
