	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sta_pm_notif           ## -- Begin function iwl_mvm_sta_pm_notif
	.p2align	4, 0x90
_iwl_mvm_sta_pm_notif:                  ## @iwl_mvm_sta_pm_notif
	.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	%rdi, %r12
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %rbx
	movl	(%rbx), %r13d
	cmpl	$130, %r13d
	setne	%r15b
	movq	8(%rbx), %r14
	movq	8(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %r14
	setae	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
## %bb.15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r12), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.3:
	movq	(%rcx), %rcx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movb	%r15b, %r14b
	cmpl	%r14d, (%rax)
	je	LBB0_9
## %bb.5:
	movl	%r14d, (%rax)
	movl	(%r12), %edi
	cmpl	$130, %r13d
	je	LBB0_6
## %bb.7:
	movq	_STA_NOTIFY_SLEEP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_STA_NOTIFY_AWAKE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	___iwl_mvm_mac_sta_notify
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ieee80211_sta_ps_transition
LBB0_9:
	cmpl	$130, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_14
## %bb.10:
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.12:
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ieee80211_sta_uapsd_trigger
	jmp	LBB0_14
LBB0_13:
	callq	_ieee80211_sta_pspoll
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_STA_NOTIFY_SLEEP,4,2           ## @STA_NOTIFY_SLEEP
	.comm	_STA_NOTIFY_AWAKE,4,2           ## @STA_NOTIFY_AWAKE
	.comm	_IEEE80211_NUM_TIDS,4,2         ## @IEEE80211_NUM_TIDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sta_pm_notif           ; -- Begin function iwl_mvm_sta_pm_notif
	.p2align	2
_iwl_mvm_sta_pm_notif:                  ; @iwl_mvm_sta_pm_notif
	.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	x20, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x22, [x0]
	ldr	w23, [x22]
	cmp	w23, #130
	cset	w19, ne
	ldr	x21, [x22, #8]
	ldr	x0, [x20, #8]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	cset	w0, hs
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	bl	_rcu_read_lock
	ldr	x8, [x20, #8]
	ldr	x9, [x22, #8]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_dereference
	mov	x21, x0
	bl	_IS_ERR_OR_NULL
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_3:
	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
	b	_rcu_read_unlock
LBB0_4:
	mov	x0, x21
	bl	_iwl_mvm_sta_from_mac80211
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.5:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:
	ldr	w8, [x0]
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.7:
	str	w19, [x0]
Lloh3:
	adrp	x8, _STA_NOTIFY_SLEEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STA_NOTIFY_SLEEP@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x9, _STA_NOTIFY_AWAKE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STA_NOTIFY_AWAKE@GOTPAGEOFF]
	cmp	w23, #130
	csel	x8, x8, x9, ne
	ldr	w1, [x8]
	mov	x2, x21
	bl	___iwl_mvm_mac_sta_notify
	mov	x0, x21
	mov	x1, x19
	bl	_ieee80211_sta_ps_transition
LBB0_8:
	cmp	w23, #130
	b.eq	LBB0_3
; %bb.9:
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_12
; %bb.10:
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.11:
Lloh7:
	adrp	x8, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ieee80211_sta_uapsd_trigger
	b	LBB0_3
LBB0_12:
	mov	x0, x21
	bl	_ieee80211_sta_pspoll
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_STA_NOTIFY_SLEEP,4,2           ; @STA_NOTIFY_SLEEP
	.comm	_STA_NOTIFY_AWAKE,4,2           ; @STA_NOTIFY_AWAKE
	.comm	_IEEE80211_NUM_TIDS,4,2         ; @IEEE80211_NUM_TIDS
.subsections_via_symbols
