	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt77252_est_timer
_idt77252_est_timer:                    ## @idt77252_est_timer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	32(%rdi), %r12
	leaq	20(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	24(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	48(%rbx), %rax
	movl	40(%rbx), %edx
	movl	%eax, %esi
	movb	$7, %cl
	subb	(%rbx), %cl
	subl	%edx, %esi
	shll	%cl, %esi
	movq	%rax, 40(%rbx)
	movslq	%esi, %rax
	movq	8(%rbx), %rdx
	subq	%rdx, %rax
	movb	16(%rbx), %cl
	sarq	%cl, %rax
	leaq	(%rax,%rdx), %rcx
	movq	%rcx, 8(%rbx)
	addq	%rdx, %rax
	addq	$31, %rax
	shrq	$5, %rax
	movl	%eax, 24(%rbx)
	movl	28(%rbx), %esi
	sarl	$4, %esi
	cmpl	%eax, %esi
	cmovlel	%eax, %esi
	movq	%r12, %rdi
	callq	_idt77252_rate_logindex
	movq	(%r15), %rdi
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	cmpq	8(%r15), %rdi
	je	LBB0_3
## %bb.2:
	movq	%rdi, 8(%r15)
	movq	_TCMDQ_LACR@GOTPCREL(%rip), %rax
	shll	$16, %edi
	orl	(%rax), %edi
	orl	16(%r15), %edi
	movq	_SAR_REG_TCMDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_writel
LBB0_3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	movb	(%rbx), %cl
	shll	%cl, %edx
	movslq	%edx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 32(%rbx)
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_add_timer
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCMDQ_LACR,4,2                 ## @TCMDQ_LACR
	.comm	_SAR_REG_TCMDQ,4,2              ## @SAR_REG_TCMDQ
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_idt77252_est_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt77252_est_timer
_idt77252_est_timer:                    ; @idt77252_est_timer
	.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	x21, x0
	ldr	x22, [x0, #32]
	add	x19, x0, #20
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x20, [x21, #24]
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x8, [x20, #48]
	ldr	w9, [x20, #40]
	sub	w9, w8, w9
	ldr	w10, [x20]
	mov	w11, #7
	sub	w10, w11, w10
	lsl	w9, w9, w10
	str	x8, [x20, #40]
	sxtw	x8, w9
	ldp	x9, x10, [x20, #8]
	sub	x8, x8, x9
	asr	x8, x8, x10
	add	x8, x8, x9
	str	x8, [x20, #8]
	add	x8, x8, #31
	lsr	x8, x8, #5
	str	w8, [x20, #24]
	ldr	w9, [x20, #28]
	asr	w9, w9, #4
	cmp	w9, w8
	csel	w1, w9, w8, gt
	mov	x0, x22
	bl	_idt77252_rate_logindex
	ldp	x8, x9, [x21]
	cmp	x0, x8
	csel	x8, x0, x8, lt
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	str	x8, [x21, #8]
Lloh0:
	adrp	x9, _TCMDQ_LACR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCMDQ_LACR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x21, #16]
	orr	w8, w9, w8, lsl #16
	orr	w0, w8, w10
Lloh3:
	adrp	x8, _SAR_REG_TCMDQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SAR_REG_TCMDQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_writel
LBB0_3:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _HZ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	ldr	w10, [x20]
	lsl	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x20, #32]!
	mov	x0, x20
	bl	_add_timer
LBB0_4:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TCMDQ_LACR,4,2                 ; @TCMDQ_LACR
	.comm	_SAR_REG_TCMDQ,4,2              ; @SAR_REG_TCMDQ
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_idt77252_est_timer
.subsections_via_symbols
