	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_power_set_pm
_iwl_mvm_power_set_pm:                  ## @iwl_mvm_power_set_pm
	.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
	movq	%rsi, %r12
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movl	(%rbx), %edi
	movq	_IEEE80211_IFACE_ITER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_iwl_mvm_power_disable_pm_iterator@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	callq	_ieee80211_iterate_active_interfaces_atomic
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r15
LBB0_2:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r14
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r13
	jmp	LBB0_8
LBB0_6:
	xorl	%r13d, %r13d
LBB0_8:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_iwl_mvm_tdls_sta_count
	testq	%rax, %rax
	jne	LBB0_25
## %bb.9:
	cmpq	$0, 16(%r12)
	movq	8(%r12), %rax
	je	LBB0_20
## %bb.10:
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	movq	8(%r15), %rcx
	movq	(%rcx), %rdx
	movq	8(%r14), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	sete	%cl
	jmp	LBB0_14
LBB0_11:
	xorl	%ecx, %ecx
	cmpq	$0, (%r12)
	je	LBB0_12
LBB0_14:
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.16:
	movq	8(%r15), %rsi
	movq	(%rsi), %rsi
	movq	8(%r13), %rdi
	cmpq	(%rdi), %rsi
	sete	%sil
	testl	%ecx, %ecx
	je	LBB0_18
	jmp	LBB0_21
LBB0_15:
	xorl	%esi, %esi
	testl	%ecx, %ecx
	jne	LBB0_21
LBB0_18:
	testb	%sil, %sil
	jne	LBB0_21
## %bb.19:
	movl	$1, (%r15)
LBB0_20:
	testq	%rax, %rax
	jne	LBB0_24
	jmp	LBB0_25
LBB0_21:
	testl	%ecx, %ecx
	je	LBB0_25
## %bb.22:
	testq	%rdx, %rdx
	jne	LBB0_25
## %bb.23:
	movl	$1, (%r15)
	jmp	LBB0_24
LBB0_12:
	movq	%r15, %r14
LBB0_24:
	movl	$1, (%r14)
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ## @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_power_disable_pm_iterator,4,2 ## @iwl_mvm_power_disable_pm_iterator
	.no_dead_strip	_iwl_mvm_power_set_pm
.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_set_pm
_iwl_mvm_power_set_pm:                  ; @iwl_mvm_power_set_pm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x22, x0
	add	x0, x0, #4
	bl	_lockdep_assert_held
	ldr	w0, [x22]
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_power_disable_pm_iterator@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iwl_mvm_power_disable_pm_iterator@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, #0
	bl	_ieee80211_iterate_active_interfaces_atomic
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_iwl_mvm_vif_from_mac80211
	mov	x19, x0
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_5
LBB0_2:
	bl	_iwl_mvm_vif_from_mac80211
	mov	x20, x0
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_6
LBB0_3:
	bl	_iwl_mvm_vif_from_mac80211
	mov	x23, x0
	b	LBB0_7
LBB0_4:
	mov	x19, #0
	ldr	x0, [x21, #32]
	cbnz	x0, LBB0_2
LBB0_5:
	mov	x20, #0
	ldr	x0, [x21, #24]
	cbnz	x0, LBB0_3
LBB0_6:
	mov	x23, #0
LBB0_7:
	mov	x0, x22
	mov	x1, #0
	bl	_iwl_mvm_tdls_sta_count
	cbnz	x0, LBB0_23
; %bb.8:
	ldp	x8, x9, [x21, #8]
	cbz	x9, LBB0_12
; %bb.9:
	cbz	x8, LBB0_13
; %bb.10:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	ldr	x10, [x20, #8]
	ldr	x10, [x10]
	cmp	x9, x10
	cset	w9, eq
	ldr	x10, [x21]
	cbz	x10, LBB0_15
LBB0_11:
	ldr	x11, [x19, #8]
	ldr	x11, [x11]
	ldr	x12, [x23, #8]
	ldr	x12, [x12]
	cmp	x11, x12
	cset	w11, eq
	cbz	w9, LBB0_16
	b	LBB0_18
LBB0_12:
	cbnz	x8, LBB0_22
	b	LBB0_23
LBB0_13:
	ldr	x9, [x21]
	cbz	x9, LBB0_21
; %bb.14:
	mov	w9, #0
	ldr	x10, [x21]
	cbnz	x10, LBB0_11
LBB0_15:
	mov	w11, #0
	cbnz	w9, LBB0_18
LBB0_16:
	tbnz	w11, #0, LBB0_18
; %bb.17:
	mov	w9, #1
	str	w9, [x19]
	cbnz	x8, LBB0_22
	b	LBB0_23
LBB0_18:
	cbz	w9, LBB0_23
; %bb.19:
	cbnz	x10, LBB0_23
; %bb.20:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_22
LBB0_21:
	mov	x20, x19
LBB0_22:
	mov	w8, #1
	str	w8, [x20]
LBB0_23:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	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_power_disable_pm_iterator,4,2 ; @iwl_mvm_power_disable_pm_iterator
	.no_dead_strip	_iwl_mvm_power_set_pm
.subsections_via_symbols
