	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_fetch_10_2_tx_stats
_ath10k_fetch_10_2_tx_stats:            ## @ath10k_fetch_10_2_tx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	8(%rsi), %edi
	callq	___le16_to_cpu
	movq	_ATH_PKTLOG_TYPE_TX_STAT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	(%r14), %r13
	movq	_ATH10K_10_2_TX_STATS_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, (%rbx,%r13)
	je	LBB0_8
## %bb.2:
	movq	8(%r13,%rbx), %r15
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ath10k_peer_find_by_id
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.4:
	cmpq	$0, (%r13,%rbx)
	je	LBB0_7
## %bb.5:
	leaq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	72(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	___le16_to_cpu
	movq	%rax, 48(%r12)
	movq	64(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	___le16_to_cpu
	movq	%rax, 40(%r12)
	movq	56(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	___le16_to_cpu
	movq	%rax, 32(%r12)
	movq	48(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 24(%r12)
	movq	40(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 20(%r12)
	movq	32(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 16(%r12)
	movq	24(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 12(%r12)
	movq	16(%r13,%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 8(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ath10k_update_per_peer_tx_stats
	incq	%r15
	cmpq	(%r13,%rbx), %r15
	jb	LBB0_6
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_ath10k_warn
LBB0_7:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	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	_ATH_PKTLOG_TYPE_TX_STAT,8,3    ## @ATH_PKTLOG_TYPE_TX_STAT
	.comm	_ATH10K_10_2_TX_STATS_OFFSET,8,3 ## @ATH10K_10_2_TX_STATS_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid peer id %d in peer stats buffer\n"

	.no_dead_strip	_ath10k_fetch_10_2_tx_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_fetch_10_2_tx_stats
_ath10k_fetch_10_2_tx_stats:            ; @ath10k_fetch_10_2_tx_stats
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #8]
	bl	___le16_to_cpu
Lloh0:
	adrp	x8, _ATH_PKTLOG_TYPE_TX_STAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH_PKTLOG_TYPE_TX_STAT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ATH10K_10_2_TX_STATS_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH10K_10_2_TX_STATS_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x22, x9, x8
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x21, [x22, #8]
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_peer_find_by_id
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x20, [x0]
	cbz	x20, LBB0_8
; %bb.4:
	ldr	x8, [x22]
	cbz	x8, LBB0_9
; %bb.5:
	mov	x23, #0
	add	x21, x19, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #72]
	lsl	x24, x23, #2
	ldr	w0, [x8, x24]
	bl	___le16_to_cpu
	str	x0, [x19, #48]
	ldr	x8, [x22, #64]
	ldr	w0, [x8, x24]
	bl	___le16_to_cpu
	str	x0, [x19, #40]
	ldr	x8, [x22, #56]
	ldr	w0, [x8, x24]
	bl	___le16_to_cpu
	ldr	x8, [x22, #48]
	ldr	w8, [x8, x24]
	str	x0, [x19, #32]
	str	w8, [x19, #24]
	ldp	x9, x8, [x22, #32]
	ldr	w8, [x8, x24]
	str	w8, [x19, #20]
	ldr	w8, [x9, x24]
	str	w8, [x19, #16]
	ldp	x9, x8, [x22, #16]
	ldr	w8, [x8, x24]
	str	w8, [x19, #12]
	ldr	w8, [x9, x24]
	str	w8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ath10k_update_per_peer_tx_stats
	add	x23, x23, #1
	ldr	x8, [x22]
	cmp	x23, x8
	b.lo	LBB0_6
	b	LBB0_9
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
	ret
LBB0_8:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_warn
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH_PKTLOG_TYPE_TX_STAT,8,3    ; @ATH_PKTLOG_TYPE_TX_STAT
	.comm	_ATH10K_10_2_TX_STATS_OFFSET,8,3 ; @ATH10K_10_2_TX_STATS_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid peer id %d in peer stats buffer\n"

	.no_dead_strip	_ath10k_fetch_10_2_tx_stats
.subsections_via_symbols
