	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_sta_update_rx_tid_stats ## -- Begin function ath10k_sta_update_rx_tid_stats
	.p2align	4, 0x90
_ath10k_sta_update_rx_tid_stats:        ## @ath10k_sta_update_rx_tid_stats
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	4(%rsi), %edi
	callq	_ieee80211_is_data
	movl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_ieee80211_get_qos_ctl
	movq	_IEEE80211_QOS_CTL_TID_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	andq	(%rax), %r12
LBB0_2:
	movl	(%rbx), %r13d
	movq	%r12, %rdi
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_9
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	8(%rbx), %edi
	movl	(%r15), %esi
	xorl	%edx, %edx
	callq	_ieee80211_find_sta_by_ifaddr
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %r14
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	(%r14), %rax
	leaq	(%r12,%r12,2), %rcx
	shlq	$4, %rcx
	movq	-56(%rbp), %xmm0                ## 8-byte Folded Reload
                                        ## xmm0 = mem[0],zero
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %xmm1
	punpcklqdq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0]
	movdqu	(%rax,%rcx), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	16(%rax,%rcx), %xmm1
	movdqu	%xmm0, (%rax,%rcx)
	movq	-64(%rbp), %xmm0                ## 8-byte Folded Reload
                                        ## xmm0 = mem[0],zero
	movq	-72(%rbp), %xmm2                ## 8-byte Folded Reload
                                        ## xmm2 = mem[0],zero
	punpcklqdq	%xmm0, %xmm2            ## xmm2 = xmm2[0],xmm0[0]
	paddq	%xmm1, %xmm2
	movdqu	%xmm2, 16(%rax,%rcx)
	movq	_ATH10K_PKT_RX_ERR_MAX@GOTPCREL(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	cmpl	%edi, (%rsi)
	movl	%edi, %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movq	32(%rax,%rcx), %r8
	movl	%esi, %esi
	addq	%rdi, (%r8,%rsi,8)
LBB0_7:
	leaq	(%rax,%rcx), %rsi
	addq	%rdi, 40(%rax,%rcx)
	movq	%rbx, %rdi
	callq	_ath10k_rx_stats_update_amsdu_subfrm
	movq	%r15, %rdi
	callq	_spin_unlock_bh
LBB0_8:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_9:
	addq	$56, %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
	.comm	_IEEE80211_QOS_CTL_TID_MASK,8,3 ## @IEEE80211_QOS_CTL_TID_MASK
	.comm	_ATH10K_PKT_RX_ERR_MAX,4,2      ## @ATH10K_PKT_RX_ERR_MAX
.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 ; -- Begin function ath10k_sta_update_rx_tid_stats
	.p2align	2
_ath10k_sta_update_rx_tid_stats:        ; @ath10k_sta_update_rx_tid_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	mov	x24, x6
	mov	x25, x5
	mov	x26, x4
	mov	x22, x3
	mov	x19, x2
	mov	x27, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	w0, [x1, #4]
	bl	_ieee80211_is_data
	mov	x28, x0
	ldr	w0, [x27, #4]
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x27
	bl	_ieee80211_get_qos_ctl
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x23, x9, x8
LBB0_2:
	ldr	w20, [x21]
	mov	x0, x23
	bl	_BIT
	and	w8, w0, w20
	cmp	w8, #0
	ccmp	w28, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	bl	_rcu_read_lock
	ldr	w0, [x21, #8]
	ldr	w1, [x27]
	mov	x2, #0
	bl	_ieee80211_find_sta_by_ifaddr
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x20, [x0]
	add	x27, x21, #4
	mov	x0, x27
	bl	_spin_lock_bh
	ldr	x8, [x20]
	mov	w9, #48
	madd	x9, x23, x9, x8
	ldp	x10, x11, [x9]
	add	x11, x11, x26
	add	x10, x10, x19
	stp	x10, x11, [x9]
	ldp	x10, x11, [x9, #16]
	add	x10, x10, x25
	add	x11, x11, x24
	stp	x10, x11, [x9, #16]
Lloh6:
	adrp	x9, _ATH10K_PKT_RX_ERR_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATH10K_PKT_RX_ERR_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w22
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #48
	madd	x9, x23, x9, x8
	ldr	x9, [x9, #32]
	mov	w10, w22
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	add	x11, x11, x12
	str	x11, [x9, x10]
LBB0_7:
	mov	w9, #48
	madd	x1, x23, x9, x8
	ldr	x8, [x1, #40]
	add	x8, x8, x12
	str	x8, [x1, #40]
	mov	x0, x21
	mov	x2, x19
	bl	_ath10k_rx_stats_update_amsdu_subfrm
	mov	x0, x27
	bl	_spin_unlock_bh
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_TIDS,8,3         ; @IEEE80211_NUM_TIDS
	.comm	_IEEE80211_QOS_CTL_TID_MASK,8,3 ; @IEEE80211_QOS_CTL_TID_MASK
	.comm	_ATH10K_PKT_RX_ERR_MAX,4,2      ; @ATH10K_PKT_RX_ERR_MAX
.subsections_via_symbols
