	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_debug_rate_stats           ## -- Begin function ath_debug_rate_stats
	.p2align	4, 0x90
_ath_debug_rate_stats:                  ## @ath_debug_rate_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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdx), %r13
	movq	8(%rdi), %r12
	movl	4(%r13), %edi
	callq	_ieee80211_is_data
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%rbx), %edi
	movl	(%r13), %esi
	xorl	%edx, %edx
	callq	_ieee80211_find_sta_by_ifaddr
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_IS_HT_RATE
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%r14), %rbx
	movq	16(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_15
## %bb.4:
	movq	8(%r14), %rax
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	movq	(%r14), %rcx
	sete	%sil
	movq	16(%r13), %rdx
	shlq	$4, %rcx
	leaq	(%rdx,%rcx), %rax
	incl	8(%rax,%rsi,4)
	movq	_RX_ENC_FLAG_SHORT_GI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 16(%r14)
	je	LBB0_14
## %bb.5:
	leaq	(%rdx,%rcx), %rax
	addq	$4, %rax
	jmp	LBB0_14
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r15), %edi
	callq	_IS_CCK_RATE
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_RX_ENC_FLAG_SHORTPRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r13), %rax
	movq	(%r14), %rcx
	testl	%edx, 16(%r14)
	je	LBB0_9
## %bb.8:
	leaq	(%rax,%rcx,8), %rax
	addq	$4, %rax
	jmp	LBB0_14
LBB0_10:
	movl	(%r15), %edi
	callq	_IS_OFDM_RATE
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rsi
	movq	(%r13), %rax
	movq	(%r14), %rcx
	cmpq	(%rsi), %rdx
	jne	LBB0_13
## %bb.12:
	leaq	(%rax,%rcx,4), %rax
	addq	$-16, %rax
	jmp	LBB0_14
LBB0_9:
	leaq	(%rax,%rcx,8), %rax
	jmp	LBB0_14
LBB0_13:
	leaq	(%rax,%rcx,4), %rax
LBB0_14:
	incl	(%rax)
LBB0_15:
	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	_RATE_INFO_BW_40,8,3            ## @RATE_INFO_BW_40
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ## @RX_ENC_FLAG_SHORT_GI
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ## @RX_ENC_FLAG_SHORTPRE
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_debug_rate_stats           ; -- Begin function ath_debug_rate_stats
	.p2align	2
_ath_debug_rate_stats:                  ; @ath_debug_rate_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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x2]
	ldr	x22, [x0, #8]
	ldr	w0, [x23, #4]
	bl	_ieee80211_is_data
	cbz	w0, LBB0_5
; %bb.1:
	bl	_rcu_read_lock
	ldr	w0, [x21]
	ldr	w1, [x23]
	mov	x2, #0
	bl	_ieee80211_find_sta_by_ifaddr
	cbz	x0, LBB0_11
; %bb.2:
	ldr	x21, [x0]
	mov	x0, x19
	bl	_IEEE80211_SKB_RXCB
	mov	x19, x0
	ldr	w0, [x20]
	bl	_IS_HT_RATE
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x20, [x19]
	ldr	x0, [x21, #16]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	b.hs	LBB0_11
; %bb.4:
Lloh0:
	adrp	x8, _RATE_INFO_BW_40@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RATE_INFO_BW_40@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldp	x11, x10, [x19]
	add	x9, x9, x11, lsl #4
	add	x11, x9, #8
	add	x12, x9, #12
	cmp	x10, x8
	csel	x8, x12, x11, eq
	ldr	w10, [x8]
	add	w10, w10, #1
	str	w10, [x8]
	ldr	w8, [x19, #16]
Lloh3:
	adrp	x10, _RX_ENC_FLAG_SHORT_GI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RX_ENC_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	add	x8, x9, #4
	csel	x8, x9, x8, eq
	b	LBB0_10
LBB0_5:
	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_6:
	ldr	w0, [x20]
	bl	_IS_CCK_RATE
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x19, #16]
Lloh6:
	adrp	x9, _RX_ENC_FLAG_SHORTPRE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_ENC_FLAG_SHORTPRE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	x8, [x21, #8]
	ldr	x9, [x19]
	add	x8, x8, x9, lsl #3
	add	x9, x8, #4
	csel	x8, x8, x9, eq
	b	LBB0_10
LBB0_8:
	ldr	w0, [x20]
	bl	_IS_OFDM_RATE
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x21]
	ldr	x11, [x19]
	add	x10, x10, x11, lsl #2
	sub	x11, x10, #16
	cmp	x8, x9
	csel	x8, x10, x11, ne
LBB0_10:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RATE_INFO_BW_40,8,3            ; @RATE_INFO_BW_40
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ; @RX_ENC_FLAG_SHORT_GI
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ; @RX_ENC_FLAG_SHORTPRE
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
.subsections_via_symbols
