	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minstrel_ht_update_stats
_minstrel_ht_update_stats:              ## @minstrel_ht_update_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rcx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	56(%rax), %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MINSTREL_FRAC
	movq	_EWMA_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_minstrel_ewma
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 56(%rcx)
	movl	$0, 8(%rcx)
	movq	$0, (%rcx)
LBB0_2:
	movq	$0, 48(%rcx)
	movl	$0, 12(%rcx)
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_32
## %bb.3:
	xorl	%ebx, %ebx
	movq	_MCS_GROUP_RATES@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_32
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	40(%rdx), %rax
	leaq	(%rbx,%rbx,2), %rcx
	movl	(%rax,%rcx,8), %r14d
	testl	%r14d, %r14d
	je	LBB0_31
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	12(%rdx)
	cmpl	$0, (%r13)
	jle	LBB0_31
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 12(%rax)
	movl	%ebx, 8(%rax)
	movl	%ebx, 4(%rax)
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	testl	%r12d, %r12d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 24(%rax)
	movl	%ebx, 20(%rax)
	movl	%ebx, 16(%rax)
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r14
	leaq	(%r14,%r15), %rdi
	movl	$0, (%r14,%r15)
	movl	(%r13), %r12d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	imull	%r13d, %r12d
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_minstrel_calc_rate_ewma
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_minstrel_ht_calc_tp
	movl	4(%r14,%r15), %eax
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	%rbx, %r12
	cmpl	-84(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	8(%r14,%r15), %r13d
	movl	$3, %edi
	movl	$4, %esi
	callq	_MINSTREL_FRAC
	cmpl	%eax, %r13d
	jle	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	movl	8(%r14,%r15), %eax
	movq	_MCS_GROUP_RATES@GOTPCREL(%rip), %r13
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	movl	8(%r14,%r15), %eax
	cmpl	-76(%rbp), %eax                 ## 4-byte Folded Reload
	movq	_MCS_GROUP_RATES@GOTPCREL(%rip), %r13
	jle	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, 12(%rcx)
	movl	4(%r14,%r15), %ecx
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	cmpl	-80(%rbp), %ecx                 ## 4-byte Folded Reload
	jle	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movl	%r12d, %edi
	callq	_swap
	movl	4(%r14,%r15), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_minstrel_get_ratestats
	movq	%rax, -104(%rbp)                ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	4(%rax), %r12d
	jge	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jle	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, 8(%rcx)
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_MCS_GROUP_RATES@GOTPCREL(%rip), %r13
	jmp	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_28
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	4(%r14,%r15), %ecx
	cmpl	-80(%rbp), %ecx                 ## 4-byte Folded Reload
	jg	LBB0_22
	jmp	LBB0_23
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%ecx, %eax
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	-68(%rbp), %r12d                ## 4-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%rbx
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_30
## %bb.53:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r14d
	addq	$16, %r15
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
LBB0_32:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shll	$3, 12(%rax)
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_43
## %bb.33:
	xorl	%r14d, %r14d
	movl	$2, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r12,%rbx,4), %eax
	movl	%eax, 20(%r15)
LBB0_41:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	-64(%rbp), %r13d                ## 4-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%r14
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$6, %rbx
	cmpq	%rax, %r14
	jge	LBB0_43
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %r12
	cmpl	$0, -8(%r12,%rbx,4)
	je	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	-4(%r12,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_minstrel_get_ratestats
	movl	4(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r13d
	jge	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	16(%r15), %eax
	movl	%eax, 20(%r15)
	movl	-4(%r12,%rbx,4), %eax
	movl	%eax, 16(%r15)
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	decl	%eax
	movl	%eax, 28(%r15)
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r12,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_minstrel_get_ratestats
	movl	4(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r13d
	jl	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_41
LBB0_43:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 28(%rax)
	jg	LBB0_45
## %bb.44:
	movl	$1, 28(%rax)
LBB0_45:
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_52
## %bb.46:
	xorl	%r14d, %r14d
	movl	$3, %ebx
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_47 Depth=1
	incq	%r14
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$6, %rbx
	cmpq	%rax, %r14
	jge	LBB0_52
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %r12
	cmpl	$0, -12(%r12,%rbx,4)
	je	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	movl	(%r12,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_minstrel_get_ratestats
	movl	4(%rax), %eax
	cmpl	%eax, %r15d
	jge	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	_minstrel_mcs_groups@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r14,4), %ecx
	cmpl	28(%r13), %ecx
	jg	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=1
	movl	(%r12,%rbx,4), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 24(%rdx)
	movl	%eax, %r15d
	jmp	LBB0_51
LBB0_52:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 32(%rcx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EWMA_LEVEL,4,2                 ## @EWMA_LEVEL
	.comm	_minstrel_mcs_groups,8,3        ## @minstrel_mcs_groups
	.comm	_MCS_GROUP_RATES,4,2            ## @MCS_GROUP_RATES
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_minstrel_ht_update_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minstrel_ht_update_stats
_minstrel_ht_update_stats:              ; @minstrel_ht_update_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x1, [sp, #72]                   ; 8-byte Folded Spill
	ldr	x1, [x1]
	cmp	x1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w20, [x19, #56]
	ldr	w0, [x19, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_MINSTREL_FRAC
	mov	x1, x0
Lloh0:
	adrp	x8, _EWMA_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EWMA_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_minstrel_ewma
	str	w0, [x19, #56]
	str	wzr, [x19, #8]
	str	xzr, [x19]
LBB0_2:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	xzr, [x8, #48]
	str	wzr, [x8, #12]
Lloh3:
	adrp	x26, _minstrel_mcs_groups@GOTPAGE
Lloh4:
	ldr	x26, [x26, _minstrel_mcs_groups@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.3:
	mov	x19, #0
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
Lloh5:
	adrp	x28, _MCS_GROUP_RATES@GOTPAGE
Lloh6:
	ldr	x28, [x28, _MCS_GROUP_RATES@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh7:
	adrp	x26, _minstrel_mcs_groups@GOTPAGE
Lloh8:
	ldr	x26, [x26, _minstrel_mcs_groups@GOTPAGEOFF]
	add	x19, x19, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	x19, w0, sxtw
	b.ge	LBB0_27
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #40]
	mov	w9, #24
	madd	x9, x19, x9, x8
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	ldr	w23, [x9]
	cbz	w23, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w9, [x10, #12]
	add	w9, w9, #1
	str	w9, [x10, #12]
	ldr	w9, [x28]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	mov	x21, #0
	mov	w22, #0
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	mov	w20, #0
	mov	w27, #0
	str	wzr, [sp, #52]                  ; 4-byte Folded Spill
	mov	w9, #24
	madd	x8, x19, x9, x8
	add	x9, x8, #12
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	add	x9, x8, #8
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	add	x25, x8, #4
	add	x8, x8, #16
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_BIT
	tst	w0, w23
	b.eq	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cbnz	w22, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	w21, [x8]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	w21, [x8]
	str	w21, [x25]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	stp	w21, w21, [x9, #20]
	mov	w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	str	w21, [x9, #16]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x24, [x8]
	add	x22, x24, x26
	str	wzr, [x22]
	ldr	w23, [x28]
	mov	x0, x22
	bl	_minstrel_calc_rate_ewma
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, x21
	bl	_minstrel_ht_calc_tp
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	mul	w9, w19, w23
	add	x23, x21, x9
	str	w27, [sp, #48]                  ; 4-byte Folded Spill
	cmp	w8, w27
	b.le	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x27, x24, x26
	ldr	w19, [x27, #8]
	mov	w0, #3
	mov	w1, #4
	bl	_MINSTREL_FRAC
	cmp	w19, w0
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b.le	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x27, #8]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x8, x24, x26
	ldr	w8, [x8, #8]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.le	LBB0_26
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w23, [x9]
	ldr	w9, [x22, #4]
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	mov	x27, x9
	cmp	w9, w20
	b.le	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w1, [x25]
	mov	x0, x23
	bl	_swap
	ldr	w20, [x22, #4]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_minstrel_get_ratestats
	mov	x22, x0
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x25]
	cmp	w23, w8
	b.ge	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22, #4]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.le	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w23, [x9]
	mov	w22, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	w22, #1
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x21, x21, #1
	ldrsw	x8, [x28]
	cmp	x21, x8
	b.ge	LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w23, [x8]
	add	x26, x26, #16
	b	LBB0_8
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w9, [x22, #4]
	ldr	w27, [sp, #48]                  ; 4-byte Folded Reload
	cmp	w9, w20
	b.gt	LBB0_19
	b	LBB0_20
LBB0_27:
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w8, [x9, #12]
	lsl	w8, w8, #3
	str	w8, [x9, #12]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_38
; %bb.28:
	mov	x20, #0
	mov	x21, #0
	mov	w23, #0
	mov	w24, #0
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x22, x24
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x21, x21, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	add	x20, x20, #24
	cmp	x21, w0, sxtw
	mov	x24, x22
	b.ge	LBB0_38
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #40]
	ldr	w9, [x8, x20]
	cbz	w9, LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x25, x8, x20
	ldr	w1, [x25, #4]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_minstrel_get_ratestats
	ldr	w22, [x0, #4]
	cmp	w24, w22
	b.ge	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w8, [x10, #16]
	ldr	w9, [x25, #4]
	stp	w9, w8, [x10, #16]
	ldr	x8, [x26]
	ldr	w8, [x8, x21, lsl #2]
	sub	w8, w8, #1
	str	w8, [x10, #28]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x22, x24
	mov	x24, x23
LBB0_35:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	w1, [x25, #8]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_minstrel_get_ratestats
	ldr	w23, [x0, #4]
	cmp	w24, w23
	b.ge	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w8, [x25, #8]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	str	w8, [x9, #20]
	b	LBB0_30
LBB0_37:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x23, x24
	b	LBB0_30
LBB0_38:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w8, [x8, #28]
	cmp	w8, #0
	b.gt	LBB0_40
; %bb.39:
	mov	w8, #1
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	str	w8, [x9, #28]
LBB0_40:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_47
; %bb.41:
	mov	x20, #0
	mov	x21, #0
	mov	w22, #0
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x21, x21, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	add	x20, x20, #24
	cmp	x21, w0, sxtw
	b.ge	LBB0_47
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #40]
	ldr	w9, [x8, x20]
	cbz	w9, LBB0_42
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	add	x23, x8, x20
	ldr	w1, [x23, #12]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_minstrel_get_ratestats
	ldr	w8, [x0, #4]
	cmp	w22, w8
	b.ge	LBB0_42
; %bb.45:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x9, [x26]
	ldr	w9, [x9, x21, lsl #2]
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w10, [x10, #28]
	cmp	w9, w10
	b.gt	LBB0_42
; %bb.46:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w9, [x23, #12]
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	str	w9, [x10, #24]
	mov	x22, x8
	b	LBB0_42
LBB0_47:
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	str	w8, [x9, #32]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EWMA_LEVEL,4,2                 ; @EWMA_LEVEL
	.comm	_minstrel_mcs_groups,8,3        ; @minstrel_mcs_groups
	.comm	_MCS_GROUP_RATES,4,2            ; @MCS_GROUP_RATES
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_minstrel_ht_update_stats
.subsections_via_symbols
