	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_sta_rx_agg_stop         ## -- Begin function il4965_sta_rx_agg_stop
	.p2align	4, 0x90
_il4965_sta_rx_agg_stop:                ## @il4965_sta_rx_agg_stop
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$16, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_il_sta_id
	movl	%eax, %ebx
	movq	_IL_INVALID_STATION@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_IL_ERR
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r15), %rax
	movslq	%ebx, %rcx
	shlq	$5, %rcx
	leaq	(%rax,%rcx), %rsi
	movq	$0, 24(%rax,%rcx)
	movq	_STA_MODIFY_DELBA_TID_MSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax,%rcx)
	movslq	%r14d, %rdx
	movq	%rdx, 8(%rax,%rcx)
	movq	_STA_CONTROL_MODIFY_MSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax,%rcx)
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_CMD_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_il_send_add_sta
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IL_INVALID_STATION,4,2         ## @IL_INVALID_STATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid station for AGG tid %d\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_STA_MODIFY_DELBA_TID_MSK,4,2   ## @STA_MODIFY_DELBA_TID_MSK
	.comm	_STA_CONTROL_MODIFY_MSK,4,2     ## @STA_CONTROL_MODIFY_MSK
	.comm	_CMD_SYNC,4,2                   ## @CMD_SYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_sta_rx_agg_stop         ; -- Begin function il4965_sta_rx_agg_stop
	.p2align	2
_il4965_sta_rx_agg_stop:                ; @il4965_sta_rx_agg_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #16
	bl	_lockdep_assert_held
	mov	x0, x21
	bl	_il_sta_id
Lloh0:
	adrp	x8, _IL_INVALID_STATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IL_INVALID_STATION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_IL_ERR
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x21, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	sxtw	x9, w21
	add	x1, x8, x9, lsl #5
	str	xzr, [x1, #24]
Lloh8:
	adrp	x8, _STA_MODIFY_DELBA_TID_MSK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STA_MODIFY_DELBA_TID_MSK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	sxtw	x8, w20
	str	x8, [x1, #8]
Lloh11:
	adrp	x8, _STA_CONTROL_MODIFY_MSK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STA_CONTROL_MODIFY_MSK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x1]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh14:
	adrp	x8, _CMD_SYNC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMD_SYNC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_il_send_add_sta
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IL_INVALID_STATION,4,2         ; @IL_INVALID_STATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid station for AGG tid %d\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_STA_MODIFY_DELBA_TID_MSK,4,2   ; @STA_MODIFY_DELBA_TID_MSK
	.comm	_STA_CONTROL_MODIFY_MSK,4,2     ; @STA_CONTROL_MODIFY_MSK
	.comm	_CMD_SYNC,4,2                   ; @CMD_SYNC
.subsections_via_symbols
