	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_calculate_update_time          ## -- Begin function calculate_update_time
	.p2align	4, 0x90
_calculate_update_time:                 ## @calculate_update_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	(%rdi), %eax
	movl	%esi, %edi
	imulq	$274877907, %rdi, %rdi          ## imm = 0x10624DD3
	shrq	$38, %rdi
	subq	%rdi, %rcx
	movq	%rcx, 8(%rdx)
	imull	$1000, %edi, %edi               ## imm = 0x3E8
	subl	%edi, %esi
	imull	$1000, %esi, %esi               ## imm = 0x3E8
	cmpl	%esi, %eax
	jae	LBB0_2
## %bb.1:
	decq	%rcx
	movq	%rcx, 8(%rdx)
	addl	$1000000, %eax                  ## imm = 0xF4240
LBB0_2:
	subl	%esi, %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_calculate_update_time          ; -- Begin function calculate_update_time
	.p2align	2
_calculate_update_time:                 ; @calculate_update_time
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #8]
	ldr	w8, [x0]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	umull	x10, w1, w10
	lsr	x11, x10, #38
	sub	x10, x9, x11
	str	x10, [x2, #8]
	mov	w9, #1000
	msub	w11, w11, w9, w1
	mul	w9, w11, w9
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
	sub	x10, x10, #1
	str	x10, [x2, #8]
	add	w8, w8, #244, lsl #12           ; =999424
	add	w8, w8, #576
LBB0_2:
	sub	w8, w8, w9
	str	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
