	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_diversity_iter
_iwl_mvm_diversity_iter:                ## @iwl_mvm_diversity_iter
	.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
	movq	%rdx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	_NUM_IWL_MVM_SMPS_REQ@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movq	(%rax), %rax
	movq	_IEEE80211_SMPS_STATIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%edi, %edi
	movq	_IEEE80211_SMPS_DYNAMIC@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rbx)
	movl	(%r8), %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movslq	%edx, %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdi,8), %rcx
	cmpq	%rsi, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r9), %rcx
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_IWL_MVM_SMPS_REQ,4,2       ## @NUM_IWL_MVM_SMPS_REQ
	.comm	_IEEE80211_SMPS_STATIC,8,3      ## @IEEE80211_SMPS_STATIC
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ## @IEEE80211_SMPS_DYNAMIC
	.no_dead_strip	_iwl_mvm_diversity_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_diversity_iter
_iwl_mvm_diversity_iter:                ; @iwl_mvm_diversity_iter
	.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
	mov	x0, x2
	bl	_iwl_mvm_vif_from_mac80211
Lloh0:
	adrp	x8, _NUM_IWL_MVM_SMPS_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_IWL_MVM_SMPS_REQ@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x10, #0
	ldr	x11, [x0]
Lloh2:
	adrp	x12, _IEEE80211_SMPS_STATIC@GOTPAGE
Lloh3:
	ldr	x12, [x12, _IEEE80211_SMPS_STATIC@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x12]
Lloh5:
	adrp	x13, _IEEE80211_SMPS_DYNAMIC@GOTPAGE
Lloh6:
	ldr	x13, [x13, _IEEE80211_SMPS_DYNAMIC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11, x10, lsl #3]
	ldr	x15, [x13]
	cmp	x14, x12
	ccmp	x14, x15, #4, ne
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x19]
	ldr	w9, [x8]
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_IWL_MVM_SMPS_REQ,4,2       ; @NUM_IWL_MVM_SMPS_REQ
	.comm	_IEEE80211_SMPS_STATIC,8,3      ; @IEEE80211_SMPS_STATIC
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ; @IEEE80211_SMPS_DYNAMIC
	.no_dead_strip	_iwl_mvm_diversity_iter
.subsections_via_symbols
