	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_ps_notify
_cw1200_ps_notify:                      ## @cw1200_ps_notify
	.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	_CW1200_MAX_STA_IN_AP_MODE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jge	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	8(%rdi), %ecx
	testl	%edx, %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	movq	_STA_NOTIFY_SLEEP@GOTPCREL(%rip), %rbx
	cmoveq	_STA_NOTIFY_AWAKE@GOTPCREL(%rip), %rbx
	movl	%r15d, %edx
	callq	_pr_debug
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movl	(%rbx), %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___cw1200_sta_notify            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CW1200_MAX_STA_IN_AP_MODE,4,2  ## @CW1200_MAX_STA_IN_AP_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s for LinkId: %d. STAs asleep: %.8X\n"

L_.str.1:                               ## @.str.1
	.asciz	"Stop"

L_.str.2:                               ## @.str.2
	.asciz	"Start"

	.comm	_STA_NOTIFY_SLEEP,4,2           ## @STA_NOTIFY_SLEEP
	.comm	_STA_NOTIFY_AWAKE,4,2           ## @STA_NOTIFY_AWAKE
	.no_dead_strip	_cw1200_ps_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_ps_notify
_cw1200_ps_notify:                      ; @cw1200_ps_notify
	.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
Lloh0:
	adrp	x8, _CW1200_MAX_STA_IN_AP_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CW1200_MAX_STA_IN_AP_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w2, #0
	csel	x1, x9, x8, eq
	ldr	w3, [x0, #8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x8, _STA_NOTIFY_SLEEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STA_NOTIFY_SLEEP@GOTPAGEOFF]
Lloh11:
	adrp	x9, _STA_NOTIFY_AWAKE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _STA_NOTIFY_AWAKE@GOTPAGEOFF]
	csel	x21, x9, x8, eq
	mov	x2, x19
	bl	_pr_debug
	ldp	w1, w0, [x20]
	ldr	w2, [x21]
	mov	x3, x19
	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
	b	___cw1200_sta_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CW1200_MAX_STA_IN_AP_MODE,4,2  ; @CW1200_MAX_STA_IN_AP_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s for LinkId: %d. STAs asleep: %.8X\n"

l_.str.1:                               ; @.str.1
	.asciz	"Stop"

l_.str.2:                               ; @.str.2
	.asciz	"Start"

	.comm	_STA_NOTIFY_SLEEP,4,2           ; @STA_NOTIFY_SLEEP
	.comm	_STA_NOTIFY_AWAKE,4,2           ; @STA_NOTIFY_AWAKE
	.no_dead_strip	_cw1200_ps_notify
.subsections_via_symbols
