	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_rs_tl_get_load
_il4965_rs_tl_get_load:                 ## @il4965_rs_tl_get_load
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	movl	%eax, %r15d
	movq	_TID_MAX_LOAD_COUNT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%rbx, (%rax)
	jbe	LBB0_5
## %bb.1:
	movq	(%r14), %rsi
	leaq	(%rbx,%rbx,2), %rdi
	movq	_TID_ROUND_VALUE@GOTPCREL(%rip), %rbx
	movl	%r15d, %eax
	cltd
	idivl	(%rbx)
	cmpl	$0, 8(%rsi,%rdi,4)
	je	LBB0_5
## %bb.2:
	leaq	(%rsi,%rdi,4), %r14
	subl	%edx, %r15d
	movl	4(%rsi,%rdi,4), %edi
	movl	%r15d, %esi
	callq	_TIME_WRAP_AROUND
	movq	_TID_QUEUE_CELL_SPACING@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	_TID_QUEUE_MAX_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_il4965_rs_tl_rm_old_stats
LBB0_4:
	movl	(%r14), %ecx
LBB0_5:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_TID_MAX_LOAD_COUNT,8,3         ## @TID_MAX_LOAD_COUNT
	.comm	_TID_ROUND_VALUE,4,2            ## @TID_ROUND_VALUE
	.comm	_TID_QUEUE_CELL_SPACING,4,2     ## @TID_QUEUE_CELL_SPACING
	.comm	_TID_QUEUE_MAX_SIZE,4,2         ## @TID_QUEUE_MAX_SIZE
	.no_dead_strip	_il4965_rs_tl_get_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_rs_tl_get_load
_il4965_rs_tl_get_load:                 ; @il4965_rs_tl_get_load
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
Lloh3:
	adrp	x8, _TID_MAX_LOAD_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TID_MAX_LOAD_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ls	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #12
	madd	x19, x20, x9, x8
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, _TID_ROUND_VALUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TID_ROUND_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w10, w0, w9
	mul	w21, w10, w9
	mov	w9, #12
	madd	x8, x20, x9, x8
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_TIME_WRAP_AROUND
Lloh9:
	adrp	x8, _TID_QUEUE_CELL_SPACING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TID_QUEUE_CELL_SPACING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
Lloh12:
	adrp	x9, _TID_QUEUE_MAX_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TID_QUEUE_MAX_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_il4965_rs_tl_rm_old_stats
LBB0_4:
	ldr	w0, [x19]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_TID_MAX_LOAD_COUNT,8,3         ; @TID_MAX_LOAD_COUNT
	.comm	_TID_ROUND_VALUE,4,2            ; @TID_ROUND_VALUE
	.comm	_TID_QUEUE_CELL_SPACING,4,2     ; @TID_QUEUE_CELL_SPACING
	.comm	_TID_QUEUE_MAX_SIZE,4,2         ; @TID_QUEUE_MAX_SIZE
	.no_dead_strip	_il4965_rs_tl_get_load
.subsections_via_symbols
