	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mps_set_sta_nonpeer_pm
_mps_set_sta_nonpeer_pm:                ## @mps_set_sta_nonpeer_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_ieee80211_has_pm
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_NL80211_MESH_POWER_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NL80211_MESH_POWER_DEEP_SLEEP@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	cmpl	%ebx, (%r14)
	jne	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	4(%r14), %edx
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_mps_dbg
	movl	%ebx, (%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ieee80211_mps_sta_status_update ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_MESH_POWER_DEEP_SLEEP,4,2 ## @NL80211_MESH_POWER_DEEP_SLEEP
	.comm	_NL80211_MESH_POWER_ACTIVE,4,2  ## @NL80211_MESH_POWER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STA %pM sets non-peer mode to %d\n"

	.no_dead_strip	_mps_set_sta_nonpeer_pm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mps_set_sta_nonpeer_pm
_mps_set_sta_nonpeer_pm:                ; @mps_set_sta_nonpeer_pm
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	bl	_ieee80211_has_pm
Lloh0:
	adrp	x8, _NL80211_MESH_POWER_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_MESH_POWER_ACTIVE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NL80211_MESH_POWER_DEEP_SLEEP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_MESH_POWER_DEEP_SLEEP@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
	ldr	w8, [x19]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldp	w2, w0, [x19, #4]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_mps_dbg
	str	w20, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_mps_sta_status_update
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_MESH_POWER_DEEP_SLEEP,4,2 ; @NL80211_MESH_POWER_DEEP_SLEEP
	.comm	_NL80211_MESH_POWER_ACTIVE,4,2  ; @NL80211_MESH_POWER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STA %pM sets non-peer mode to %d\n"

	.no_dead_strip	_mps_set_sta_nonpeer_pm
.subsections_via_symbols
