	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_tl_get_load
_rs_tl_get_load:                        ## @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, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	movl	%eax, %r14d
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jbe	LBB0_3
## %bb.1:
	movq	(%r15), %rcx
	movq	_TID_ROUND_VALUE@GOTPCREL(%rip), %rsi
	movl	%r14d, %eax
	cltd
	idivl	(%rsi)
	cmpl	$0, 4(%rcx,%rbx,8)
	je	LBB0_3
## %bb.2:
	leaq	(%rcx,%rbx,8), %rbx
	subl	%edx, %r14d
	movl	(%rbx), %edi
	movl	%r14d, %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
	jge	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rs_tl_rm_old_stats             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IWL_MAX_TID_COUNT,8,3          ## @IWL_MAX_TID_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	_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 rs_tl_get_load
_rs_tl_get_load:                        ; @rs_tl_get_load
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
Lloh3:
	adrp	x8, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ls	LBB0_3
; %bb.1:
	ldr	x8, [x20]
	add	x19, x8, x19, lsl #3
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _TID_ROUND_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TID_ROUND_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	mul	w20, w9, w8
	ldr	w0, [x19]
	mov	x1, x20
	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.ge	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rs_tl_rm_old_stats
	.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	_IWL_MAX_TID_COUNT,8,3          ; @IWL_MAX_TID_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	_rs_tl_get_load
.subsections_via_symbols
