	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_diversity_allowed   ## -- Begin function iwl_mvm_rx_diversity_allowed
	.p2align	4, 0x90
_iwl_mvm_rx_diversity_allowed:          ## @iwl_mvm_rx_diversity_allowed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, -12(%rbp)
	addq	$16, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_iwl_mvm_get_valid_rx_ant
	movl	%eax, %edi
	callq	_num_of_ant
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movq	_IEEE80211_IFACE_ITER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_iwl_mvm_diversity_iter@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rcx
	callq	_ieee80211_iterate_active_interfaces_atomic
	movl	-12(%rbp), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ## @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_diversity_iter,4,2     ## @iwl_mvm_diversity_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_diversity_allowed   ; -- Begin function iwl_mvm_rx_diversity_allowed
	.p2align	2
_iwl_mvm_rx_diversity_allowed:          ; @iwl_mvm_rx_diversity_allowed
	.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
	mov	w8, #1
	str	w8, [sp, #12]
	add	x0, x0, #16
	bl	_lockdep_assert_held
	mov	x0, x19
	bl	_iwl_mvm_get_valid_rx_ant
	bl	_num_of_ant
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _iwl_mvm_diversity_iter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iwl_mvm_diversity_iter@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #12
	bl	_ieee80211_iterate_active_interfaces_atomic
	ldr	w0, [sp, #12]
LBB0_4:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ; @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_diversity_iter,4,2     ; @iwl_mvm_diversity_iter
.subsections_via_symbols
