	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_node_pwrsave         ## -- Begin function ieee80211_node_pwrsave
	.p2align	4, 0x90
_ieee80211_node_pwrsave:                ## @ieee80211_node_pwrsave
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %r15d
	movq	_IEEE80211_NODE_PWR_MGT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r14), %r8d
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	testl	%r15d, %r12d
	je	LBB0_2
## %bb.12:
	orl	%r15d, %r12d
	movl	%r12d, (%rbx)
	movq	_IEEE80211_MSG_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IEEE80211_NOTE                 ## TAILCALL
LBB0_3:
	testl	%r15d, %r12d
	je	LBB0_4
## %bb.5:
	decl	%r8d
	movl	%r8d, (%r14)
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	incl	%r8d
	movl	%r8d, (%r14)
	orl	(%rax), %r15d
	movl	%r15d, (%rbx)
	movq	_IEEE80211_MSG_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_IEEE80211_NOTE
	movq	8(%r14), %rax
	movl	(%r14), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movl	%r12d, %eax
LBB0_6:
	notl	%eax
	andl	%r15d, %eax
	movl	%eax, (%rbx)
	movq	_IEEE80211_MSG_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_IEEE80211_NOTE
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_8:
	testl	%r15d, %r12d
	je	LBB0_10
## %bb.9:
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	*8(%r14)
LBB0_10:
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pwrsave_flushq                 ## TAILCALL
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NODE_PWR_MGT,4,2     ## @IEEE80211_NODE_PWR_MGT
	.comm	_IEEE80211_MSG_POWER,4,2        ## @IEEE80211_MSG_POWER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power save mode on, %u sta's in ps mode"

L_.str.1:                               ## @.str.1
	.asciz	"power save mode off, %u sta's in ps mode"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_node_pwrsave         ; -- Begin function ieee80211_node_pwrsave
	.p2align	2
_ieee80211_node_pwrsave:                ; @ieee80211_node_pwrsave
	.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	x19, x0
	ldr	x20, [x0, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x10, _IEEE80211_NODE_PWR_MGT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IEEE80211_NODE_PWR_MGT@GOTPAGEOFF]
	ldr	w9, [x10]
	and	w21, w9, w8
	ldr	w4, [x20]
	cbz	w1, LBB0_3
; %bb.1:
	cbz	w21, LBB0_11
; %bb.2:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh2:
	adrp	x8, _IEEE80211_MSG_POWER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_MSG_POWER@GOTPAGEOFF]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, 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	_IEEE80211_NOTE
LBB0_3:
	cbz	w21, LBB0_5
; %bb.4:
	sub	w4, w4, #1
	str	w4, [x20]
	ldr	w9, [x10]
LBB0_5:
	bic	w8, w8, w9
	str	w8, [x19]
Lloh7:
	adrp	x8, _IEEE80211_MSG_POWER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_MSG_POWER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_7:
	cbz	w21, LBB0_9
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	x0, x20
	blr	x8
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_12
; %bb.10:
	mov	x0, 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	_pwrsave_flushq
LBB0_11:
	add	w4, w4, #1
	str	w4, [x20]
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x8, _IEEE80211_MSG_POWER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_MSG_POWER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	x2, [x20, #8]
	ldr	w1, [x20]
	mov	x0, x20
	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
	br	x2
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NODE_PWR_MGT,4,2     ; @IEEE80211_NODE_PWR_MGT
	.comm	_IEEE80211_MSG_POWER,4,2        ; @IEEE80211_MSG_POWER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power save mode on, %u sta's in ps mode"

l_.str.1:                               ; @.str.1
	.asciz	"power save mode off, %u sta's in ps mode"

.subsections_via_symbols
