	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_monitor_vdev_is_needed
_ath10k_mac_monitor_vdev_is_needed:     ## @ath10k_mac_monitor_vdev_is_needed
	.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
	callq	_ath10k_mac_num_chanctxs
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
## %bb.2:
	movl	$1, %r14d
	cmpq	$0, 16(%rbx)
	jne	LBB0_6
## %bb.3:
	movq	_ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_6
LBB0_5:
	movq	_ATH10K_CAC_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST,4,2 ## @ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST
	.comm	_FIF_OTHER_BSS,4,2              ## @FIF_OTHER_BSS
	.comm	_ATH10K_CAC_RUNNING,4,2         ## @ATH10K_CAC_RUNNING
	.no_dead_strip	_ath10k_mac_monitor_vdev_is_needed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_monitor_vdev_is_needed
_ath10k_mac_monitor_vdev_is_needed:     ; @ath10k_mac_monitor_vdev_is_needed
	.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, x0
	bl	_ath10k_mac_num_chanctxs
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_6:
Lloh3:
	adrp	x8, _ATH10K_CAC_RUNNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_CAC_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cmp	x0, #0
	cset	w0, ne
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _FIF_OTHER_BSS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FIF_OTHER_BSS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST,4,2 ; @ATH10K_FW_FEATURE_ALLOWS_MESH_BCAST
	.comm	_FIF_OTHER_BSS,4,2              ; @FIF_OTHER_BSS
	.comm	_ATH10K_CAC_RUNNING,4,2         ; @ATH10K_CAC_RUNNING
	.no_dead_strip	_ath10k_mac_monitor_vdev_is_needed
.subsections_via_symbols
