	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_sta_rx_agg_start        ## -- Begin function il4965_sta_rx_agg_start
	.p2align	4, 0x90
_il4965_sta_rx_agg_start:               ## @il4965_sta_rx_agg_start
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	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:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r12), %rax
	movslq	%ebx, %rbx
	shlq	$5, %rbx
	movq	$0, 24(%rax,%rbx)
	movq	_STA_MODIFY_ADDBA_TID_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax,%rbx)
	movslq	%r15d, %rcx
	movq	%rcx, 8(%rax,%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	8(%r12), %rcx
	leaq	(%rcx,%rbx), %rsi
	movl	%eax, 4(%rcx,%rbx)
	movq	_STA_CONTROL_MODIFY_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx,%rbx)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	_CMD_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_il_send_add_sta
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IL_INVALID_STATION,4,2         ## @IL_INVALID_STATION
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_STA_MODIFY_ADDBA_TID_MSK,4,2   ## @STA_MODIFY_ADDBA_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_start        ; -- Begin function il4965_sta_rx_agg_start
	.p2align	2
_il4965_sta_rx_agg_start:               ; @il4965_sta_rx_agg_start
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, x0, #16
	bl	_lockdep_assert_held
	mov	x0, x22
	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	x8, _ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x22, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	sbfiz	x22, x22, #5, #32
	add	x8, x8, x22
	str	xzr, [x8, #24]
Lloh6:
	adrp	x9, _STA_MODIFY_ADDBA_TID_MSK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STA_MODIFY_ADDBA_TID_MSK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	sxtw	x9, w21
	str	x9, [x8, #8]
	mov	x0, x20
	bl	_cpu_to_le16
	ldr	x8, [x19, #8]
	add	x1, x8, x22
	str	w0, [x1, #4]
Lloh9:
	adrp	x8, _STA_CONTROL_MODIFY_MSK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STA_CONTROL_MODIFY_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x1]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh12:
	adrp	x8, _CMD_SYNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMD_SYNC@GOTPAGEOFF]
Lloh14:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IL_INVALID_STATION,4,2         ; @IL_INVALID_STATION
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_STA_MODIFY_ADDBA_TID_MSK,4,2   ; @STA_MODIFY_ADDBA_TID_MSK
	.comm	_STA_CONTROL_MODIFY_MSK,4,2     ; @STA_CONTROL_MODIFY_MSK
	.comm	_CMD_SYNC,4,2                   ; @CMD_SYNC
.subsections_via_symbols
