	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_mac_sta_notify
_iwlagn_mac_sta_notify:                 ## @iwlagn_mac_sta_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	%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	%rcx, %r14
	movl	%edx, %ebx
	movq	%rdi, %r12
	callq	_IWL_MAC80211_GET_DVM
	movq	%rax, %r15
	movq	(%r14), %r13
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_IWL_DEBUG_MAC80211
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_7
## %bb.2:
	xorl	%edi, %edi
	cmpl	$0, 4(%r13)
	sete	%dil
	callq	_WARN_ON
	movl	$1, (%r13)
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_ieee80211_sta_block_awake
	jmp	LBB0_7
LBB0_4:
	xorl	%edi, %edi
	cmpl	$0, 4(%r13)
	sete	%dil
	callq	_WARN_ON
	cmpl	$0, (%r13)
	je	LBB0_7
## %bb.5:
	movl	$0, (%r13)
	movq	%r14, %rdi
	callq	_iwl_sta_id
	movq	_IWL_INVALID_STATION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_iwl_sta_modify_ps_wake
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_MAC80211             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_IWL_INVALID_STATION,4,2        ## @IWL_INVALID_STATION
L_.str.1:                               ## @.str.1
	.asciz	"leave\n"

	.no_dead_strip	_iwlagn_mac_sta_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_mac_sta_notify
_iwlagn_mac_sta_notify:                 ; @iwlagn_mac_sta_notify
	.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, x3
	mov	x22, x2
	mov	x21, x0
	bl	_IWL_MAC80211_GET_DVM
	mov	x19, x0
	ldr	x23, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_MAC80211
	cmp	w22, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #128
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x23, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	w8, #1
	str	w8, [x23]
	add	x0, x23, #8
	bl	_atomic_read
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_ieee80211_sta_block_awake
	b	LBB0_7
LBB0_4:
	ldr	w8, [x23, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w8, [x23]
	cbz	w8, LBB0_7
; %bb.5:
	str	wzr, [x23]
	mov	x0, x20
	bl	_iwl_sta_id
Lloh2:
	adrp	x8, _IWL_INVALID_STATION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_INVALID_STATION@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x1, x0
	mov	x0, x19
	bl	_iwl_sta_modify_ps_wake
LBB0_7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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	_IWL_DEBUG_MAC80211
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_IWL_INVALID_STATION,4,2        ; @IWL_INVALID_STATION
l_.str.1:                               ; @.str.1
	.asciz	"leave\n"

	.no_dead_strip	_iwlagn_mac_sta_notify
.subsections_via_symbols
