	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_sta_update_rx_tid_stats_ampdu ## -- Begin function ath10k_sta_update_rx_tid_stats_ampdu
	.p2align	4, 0x90
_ath10k_sta_update_rx_tid_stats_ampdu:  ## @ath10k_sta_update_rx_tid_stats_ampdu
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jb	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rcx, %r12
	movl	(%rdi), %r15d
	movq	%rdx, %rdi
	callq	_BIT
	testl	%r15d, %eax
	movq	%r12, %r15
	movl	%r14d, %r12d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_8
## %bb.2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	leaq	4(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ath10k_peer_find_by_id
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.5:
	movq	%r13, %r12
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r13d
	xorl	%r14d, %r14d
	shlq	$2, %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movl	(%r15,%r14,4), %edx
	movq	%rbx, %rdi
	callq	_ath10k_rx_stats_update_ampdu_subfrm
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_6
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NUM_TIDS,8,3         ## @IEEE80211_NUM_TIDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_sta_update_rx_tid_stats_ampdu ; -- Begin function ath10k_sta_update_rx_tid_stats_ampdu
	.p2align	2
_ath10k_sta_update_rx_tid_stats_ampdu:  ; @ath10k_sta_update_rx_tid_stats_ampdu
	.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
Lloh0:
	adrp	x8, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.lo	LBB0_8
; %bb.1:
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
	ldr	w22, [x0]
	mov	x0, x2
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_8
; %bb.2:
	bl	_rcu_read_lock
	add	x22, x21, #4
	mov	x0, x22
	bl	_spin_lock_bh
	mov	x0, x21
	mov	x1, x24
	bl	_ath10k_peer_find_by_id
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.4:
	cmp	w23, #1
	b.lt	LBB0_7
; %bb.5:
	ldr	x24, [x8]
	mov	w23, w23
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x1, x8, x20, lsl #2
	ldr	w2, [x19], #4
	mov	x0, x21
	bl	_ath10k_rx_stats_update_ampdu_subfrm
	subs	x23, x23, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x22
	bl	_spin_unlock_bh
	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
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_TIDS,8,3         ; @IEEE80211_NUM_TIDS
.subsections_via_symbols
