	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_power_get_vifs_iterator
_iwl_mvm_power_get_vifs_iterator:       ## @iwl_mvm_power_get_vifs_iterator
	.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	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rax
	movq	_NUM_PHY_CTX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setl	%r15b
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%rbx, %rdi
	callq	_ieee80211_vif_type_p2p
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_13
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	40(%r14), %rdi
	callq	_WARN_ON
	movq	%rbx, 40(%r14)
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.6:
	movl	$1, (%r14)
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, 16(%r14)
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.12:
	movl	$1, 12(%r14)
	jmp	LBB0_13
LBB0_9:
	movq	24(%r14), %rdi
	callq	_WARN_ON
	movq	%rbx, 24(%r14)
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.10:
	movl	$1, 8(%r14)
	jmp	LBB0_13
LBB0_7:
	movq	32(%r14), %rdi
	callq	_WARN_ON
	movq	%rbx, 32(%r14)
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.8:
	movl	$1, 4(%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_NUM_PHY_CTX,8,3                ## @NUM_PHY_CTX
	.no_dead_strip	_iwl_mvm_power_get_vifs_iterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_power_get_vifs_iterator
_iwl_mvm_power_get_vifs_iterator:       ; @iwl_mvm_power_get_vifs_iterator
	.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, x2
	mov	x19, x0
	mov	x0, x2
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NUM_PHY_CTX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUM_PHY_CTX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, lt
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	mov	x0, x20
	bl	_ieee80211_vif_type_p2p
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x0, [x19, #40]
	bl	_WARN_ON
	str	x20, [x19, #40]
	cbz	w21, LBB0_13
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_13
LBB0_7:
	str	x20, [x19, #16]
	cbz	w21, LBB0_13
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_13
LBB0_9:
	ldr	x0, [x19, #24]
	bl	_WARN_ON
	str	x20, [x19, #24]
	cbz	w21, LBB0_13
; %bb.10:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_13
LBB0_11:
	ldr	x0, [x19, #32]
	bl	_WARN_ON
	str	x20, [x19, #32]
	cbz	w21, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_13:
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.comm	_NUM_PHY_CTX,8,3                ; @NUM_PHY_CTX
	.no_dead_strip	_iwl_mvm_power_get_vifs_iterator
.subsections_via_symbols
