	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_rx_tx_cmd_agg
_iwl_mvm_rx_tx_cmd_agg:                 ## @iwl_mvm_rx_tx_cmd_agg
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rsi), %r15
	movl	12(%r15), %edi
	callq	_IWL_MVM_TX_RES_GET_RA
	movl	%eax, %r13d
	movl	12(%r15), %edi
	callq	_IWL_MVM_TX_RES_GET_TID
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, %rdi
	callq	_SEQ_TO_QUEUE
	movq	_IWL_MVM_DQA_MIN_DATA_QUEUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%cl
	movq	_IWL_MVM_DQA_BSS_CLIENT_QUEUE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_rx_tx_cmd_agg_dbg
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_iwl_mvm_sta_from_staid_rcu
	movq	%rax, %rbx
	movq	(%r12), %rax
	movslq	%r13d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
LBB0_4:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	8(%r15), %edi
	callq	_le32_to_cpu
	movq	(%rbx), %rcx
	movslq	%r14d, %rdx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %r14
	movl	%eax, 16(%rcx,%r14)
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx,%r14)
	movl	4(%r15), %edi
	callq	_TX_RES_RATE_TABLE_COL_GET
	movq	(%rbx), %rcx
	movl	%eax, (%rcx,%r14)
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_iwl_mvm_tx_airtime
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MVM_DQA_MIN_DATA_QUEUE,4,2 ## @IWL_MVM_DQA_MIN_DATA_QUEUE
	.comm	_IWL_MVM_DQA_BSS_CLIENT_QUEUE,4,2 ## @IWL_MVM_DQA_BSS_CLIENT_QUEUE
	.no_dead_strip	_iwl_mvm_rx_tx_cmd_agg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_rx_tx_cmd_agg
_iwl_mvm_rx_tx_cmd_agg:                 ; @iwl_mvm_rx_tx_cmd_agg
	.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	x21, x1
	mov	x19, x0
	ldr	x23, [x1, #8]
	ldr	w0, [x23, #12]
	bl	_IWL_MVM_TX_RES_GET_RA
	mov	x22, x0
	ldr	w0, [x23, #12]
	bl	_IWL_MVM_TX_RES_GET_TID
	mov	x20, x0
	ldr	w0, [x21]
	bl	_le16_to_cpu
	bl	_SEQ_TO_QUEUE
Lloh0:
	adrp	x8, _IWL_MVM_DQA_MIN_DATA_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MVM_DQA_MIN_DATA_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
Lloh3:
	adrp	x8, _IWL_MVM_DQA_BSS_CLIENT_QUEUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_DQA_BSS_CLIENT_QUEUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w0, w8, #4, lt
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_iwl_mvm_rx_tx_cmd_agg_dbg
	bl	_rcu_read_lock
	mov	x0, x19
	mov	x1, x22
	bl	_iwl_mvm_sta_from_staid_rcu
	mov	x21, x0
	ldr	x8, [x19]
	ldr	w0, [x8, w22, sxtw #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_7
	b	LBB0_5
LBB0_4:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_7
LBB0_5:
	cmp	x21, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x23, #8]
	bl	_le32_to_cpu
	ldr	x8, [x21]
	mov	w22, #24
	smaddl	x8, w20, w22, x8
	smull	x24, w20, w22
	str	w0, [x8, #16]
	ldr	w0, [x23]
	bl	_le16_to_cpu
	ldr	x8, [x21]
	smaddl	x8, w20, w22, x8
	str	x0, [x8, #8]
	ldr	w0, [x23, #4]
	bl	_TX_RES_RATE_TABLE_COL_GET
	ldr	x8, [x21]
	str	w0, [x8, x24]
	ldr	w0, [x23]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_iwl_mvm_tx_airtime
LBB0_7:
	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	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MVM_DQA_MIN_DATA_QUEUE,4,2 ; @IWL_MVM_DQA_MIN_DATA_QUEUE
	.comm	_IWL_MVM_DQA_BSS_CLIENT_QUEUE,4,2 ; @IWL_MVM_DQA_BSS_CLIENT_QUEUE
	.no_dead_strip	_iwl_mvm_rx_tx_cmd_agg
.subsections_via_symbols
