	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_stay_in_table
_rs_stay_in_table:                      ## @rs_stay_in_table
	.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	8(%rdi), %rax
	movq	_RS_STATE_STAY_IN_COLUMN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	80(%rdi), %r14
	movslq	(%rdi), %r15
	shlq	$2, %r15
	addq	72(%rdi), %r15
	movq	40(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	%rcx, %rsi
	callq	_time_after
	movl	%eax, %r8d
	jmp	LBB0_4
LBB0_2:
	xorl	%r8d, %r8d
LBB0_4:
	leaq	40(%rbx), %r13
	movl	52(%rbx), %edx
	testl	%r12d, %r12d
	jne	LBB0_10
## %bb.5:
	cmpl	64(%rbx), %edx
	jg	LBB0_10
## %bb.6:
	movl	48(%rbx), %eax
	cmpl	60(%rbx), %eax
	jle	LBB0_7
LBB0_10:
	movl	48(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RATE
	movq	_RS_STATE_SEARCH_CYCLE_STARTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RATE
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movl	(%r15), %edi
	callq	_BIT
	movl	%eax, 32(%rbx)
LBB0_13:
	movq	8(%rbx), %rax
	movq	_RS_STATE_SEARCH_CYCLE_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.15:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rs_rate_scale_clear_tbl_windows ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, 56(%rbx)
	je	LBB0_8
LBB0_11:
	movq	16(%rbx), %rax
	incq	%rax
	movq	%rax, 16(%rbx)
	cmpq	24(%rbx), %rax
	jl	LBB0_13
## %bb.12:
	movq	$0, 16(%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RATE
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rs_rate_scale_clear_tbl_windows
	jmp	LBB0_13
LBB0_8:
	cmpq	$0, (%r13)
	je	LBB0_11
## %bb.9:
	testl	%r8d, %r8d
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_STATE_STAY_IN_COLUMN,8,3    ## @RS_STATE_STAY_IN_COLUMN
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT,4,2 ## @IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LQ: stay is expired %d %d %d\n"

	.comm	_RS_STATE_SEARCH_CYCLE_STARTED,8,3 ## @RS_STATE_SEARCH_CYCLE_STARTED
L_.str.1:                               ## @.str.1
	.asciz	"Moving to RS_STATE_SEARCH_CYCLE_STARTED\n"

L_.str.2:                               ## @.str.2
	.asciz	"LQ: stay in table clear win\n"

	.no_dead_strip	_rs_stay_in_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_stay_in_table
_rs_stay_in_table:                      ; @rs_stay_in_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RS_STATE_STAY_IN_COLUMN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RS_STATE_STAY_IN_COLUMN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x22, x1
	mov	x19, x0
	ldrsw	x8, [x0]
	ldp	x9, x20, [x0, #72]
	add	x21, x9, x8, lsl #2
	mov	x24, x0
	ldr	x8, [x24, #40]!
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _jiffies@GOTPAGE
Lloh4:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh5:
	adrp	x10, _IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
Lloh8:
	ldrsw	x9, [x10]
Lloh9:
	adrp	x10, _HZ@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh11:
	ldrsw	x10, [x10]
	madd	x1, x10, x9, x8
	bl	_time_after
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldr	w8, [x19, #52]
Lloh12:
	adrp	x23, _RS_STATE_SEARCH_CYCLE_STARTED@GOTPAGE
Lloh13:
	ldr	x23, [x23, _RS_STATE_SEARCH_CYCLE_STARTED@GOTPAGEOFF]
	cbnz	w22, LBB0_7
; %bb.5:
	ldr	w9, [x19, #64]
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.6:
	ldr	w9, [x19, #48]
	ldr	w10, [x19, #60]
	cmp	w9, w10
	b.le	LBB0_11
LBB0_7:
	ldr	w9, [x19, #48]
	stp	x9, x0, [sp, #8]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_RATE
	ldr	x8, [x23]
	str	x8, [x19, #8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_RATE
	stp	xzr, xzr, [x24]
	ldr	w0, [x21]
	bl	_BIT
	str	w0, [x19, #32]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_rs_rate_scale_clear_tbl_windows
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	ldr	w9, [x19, #56]
	cbz	w9, LBB0_14
LBB0_12:
	ldp	x8, x9, [x19, #16]
	add	x8, x8, #1
	str	x8, [x19, #16]
	cmp	x8, x9
	b.lt	LBB0_8
; %bb.13:
	str	xzr, [x19, #16]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_RATE
	mov	x0, x20
	mov	x1, x21
	bl	_rs_rate_scale_clear_tbl_windows
	b	LBB0_8
LBB0_14:
	ldr	x9, [x24]
	cbz	x9, LBB0_12
; %bb.15:
	cbnz	w0, LBB0_7
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_STATE_STAY_IN_COLUMN,8,3    ; @RS_STATE_STAY_IN_COLUMN
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT,4,2 ; @IWL_MVM_RS_STAY_IN_COLUMN_TIMEOUT
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LQ: stay is expired %d %d %d\n"

	.comm	_RS_STATE_SEARCH_CYCLE_STARTED,8,3 ; @RS_STATE_SEARCH_CYCLE_STARTED
l_.str.1:                               ; @.str.1
	.asciz	"Moving to RS_STATE_SEARCH_CYCLE_STARTED\n"

l_.str.2:                               ; @.str.2
	.asciz	"LQ: stay in table clear win\n"

	.no_dead_strip	_rs_stay_in_table
.subsections_via_symbols
