	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_fetch_peer_stats
_ath10k_htt_fetch_peer_stats:           ## @ath10k_htt_fetch_peer_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rsi), %r14
	movl	(%r14), %r13d
	movl	4(%r14), %r15d
	shll	$2, %r15d
	movslq	(%rsi), %rdx
	movl	%r15d, %eax
	imull	%r13d, %eax
	cltq
	addq	$4, %rax
	cmpq	%rdx, %rax
	jbe	LBB0_1
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_1:
	movq	8(%r14), %rax
	movl	36(%rax), %edi
	callq	___le16_to_cpu
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_ath10k_peer_find_by_id
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.4:
	leaq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rbx
	movq	8(%r14), %r14
	movl	32(%r15,%r14), %edi
	callq	___le32_to_cpu
	movq	%rax, 64(%r12)
	movl	28(%r15,%r14), %edi
	callq	___le32_to_cpu
	movq	%rax, 56(%r12)
	movl	24(%r15,%r14), %edi
	callq	___le32_to_cpu
	movq	%rax, 48(%r12)
	movl	20(%r15,%r14), %eax
	movl	%eax, 44(%r12)
	movl	16(%r15,%r14), %eax
	movl	%eax, 40(%r12)
	movl	12(%r15,%r14), %edi
	callq	___le16_to_cpu
	movq	%rax, 32(%r12)
	movl	8(%r15,%r14), %edi
	callq	___le16_to_cpu
	movq	%rax, 24(%r12)
	movl	4(%r15,%r14), %edi
	callq	___le16_to_cpu
	movq	%rax, 16(%r12)
	movl	(%r15,%r14), %edi
	movq	%rbx, %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	___le16_to_cpu
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ath10k_update_per_peer_tx_stats
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	decq	%r13
	jne	LBB0_5
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ath10k_warn
LBB0_6:
	movq	%r12, %rdi
	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
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid peer stats buf length %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid peer id %d peer stats buffer\n"

	.no_dead_strip	_ath10k_htt_fetch_peer_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_fetch_peer_stats
_ath10k_htt_fetch_peer_stats:           ; @ath10k_htt_fetch_peer_stats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x22, [x1, #8]
	ldp	w23, w8, [x22]
	lsl	w25, w8, #2
	ldrsw	x2, [x1]
	mul	w8, w25, w23
	sxtw	x8, w8
	add	x8, x8, #4
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ath10k_warn
LBB0_2:
	ldr	x8, [x22, #8]
	ldr	w0, [x8, #36]
	bl	___le16_to_cpu
	mov	x21, x0
	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_7
; %bb.3:
	ldr	x20, [x0]
	cbz	x20, LBB0_7
; %bb.4:
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x24, #0
	add	x21, x19, #8
	sxtw	x25, w25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x26, x24, x8
	ldr	w0, [x26, #32]
	bl	___le32_to_cpu
	str	x0, [x19, #64]
	ldr	w0, [x26, #28]
	bl	___le32_to_cpu
	str	x0, [x19, #56]
	ldr	w0, [x26, #24]
	bl	___le32_to_cpu
	str	x0, [x19, #48]
	ldr	d0, [x26, #16]
	str	d0, [x19, #40]
	ldr	w0, [x26, #12]
	bl	___le16_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x26, #8]
	bl	___le16_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [x26, #4]
	bl	___le16_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [x26]
	bl	___le16_to_cpu
	str	x0, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ath10k_update_per_peer_tx_stats
	add	x24, x24, x25
	subs	x23, x23, #1
	b.ne	LBB0_6
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_warn
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock_bh
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rcu_read_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid peer stats buf length %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid peer id %d peer stats buffer\n"

	.no_dead_strip	_ath10k_htt_fetch_peer_stats
.subsections_via_symbols
