	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_expire
_calculate_expire:                      ## @calculate_expire
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	andl	$7, %eax
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	sarl	$19, %ecx
	imull	$125, %ecx, %ecx
	addl	%eax, %ecx
	cmpl	$100001, %ecx                   ## imm = 0x186A1
	movl	$100000, %edi                   ## imm = 0x186A0
	cmovael	%ecx, %edi
	callq	_usecs_to_jiffies
	movl	%eax, 8(%rbx)
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_HPSB_VERBOSE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSR: setting expire to %lu, HZ=%u"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_calculate_expire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_expire
_calculate_expire:                      ; @calculate_expire
	.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, x0
	ldp	w8, w9, [x0]
	and	w8, w8, #0x7
	mov	w10, #16960
	movk	w10, #15, lsl #16
	mul	w8, w8, w10
	asr	w9, w9, #19
	mov	w10, #125
	madd	w8, w9, w10, w8
	mov	w9, #34464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	csel	w0, w8, w9, hi
	bl	_usecs_to_jiffies
	mov	x1, x0
	str	w0, [x19, #8]
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HPSB_VERBOSE
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSR: setting expire to %lu, HZ=%u"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_calculate_expire
.subsections_via_symbols
