	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UptimeMeter_updateValues
_UptimeMeter_updateValues:              ## @UptimeMeter_updateValues
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_Platform_getUptime
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.3:
	movslq	%eax, %rcx
	imulq	$-2004318071, %rcx, %r12        ## imm = 0x88888889
	shrq	$32, %r12
	addl	%eax, %r12d
	movl	%r12d, %edx
	shrl	$31, %edx
	sarl	$5, %r12d
	addl	%edx, %r12d
	imull	$60, %r12d, %r8d
	movslq	%r12d, %rsi
	imulq	$-2004318071, %rsi, %rsi        ## imm = 0x88888889
	shrq	$32, %rsi
	addl	%r12d, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$5, %esi
	addl	%edi, %esi
	imull	$60, %esi, %esi
	imulq	$-1851608123, %rcx, %rbx        ## imm = 0x91A2B3C5
	shrq	$32, %rbx
	addl	%eax, %ebx
	movl	%ebx, %edi
	shrl	$31, %edi
	sarl	$11, %ebx
	addl	%edi, %ebx
	movslq	%ebx, %rdi
	imulq	$715827883, %rdi, %rdi          ## imm = 0x2AAAAAAB
	movq	%rdi, %rdx
	shrq	$63, %rdx
	shrq	$34, %rdi
	addl	%edx, %edi
	shll	$3, %edi
	leal	(%rdi,%rdi,2), %edi
	imulq	$-1037155065, %rcx, %rcx        ## imm = 0xC22E4507
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$16, %ecx
	addl	%edx, %ecx
	movq	(%r13), %rdx
	movl	%ecx, (%rdx)
	cmpl	8(%r13), %ecx
	jle	LBB0_5
## %bb.4:
	movl	%ecx, 8(%r13)
LBB0_5:
	movl	%eax, %r13d
	subl	%r8d, %r13d
	subl	%esi, %r12d
	subl	%edi, %ebx
	cmpl	$8726400, %eax                  ## imm = 0x852780
	jl	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_7
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xSnprintf                      ## TAILCALL
LBB0_8:
	cmpl	$172800, %eax                   ## imm = 0x2A300
	jl	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdx
LBB0_7:
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_xSnprintf
LBB0_13:
	movl	%r13d, (%rsp)
	leaq	L_.str.4(%rip), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_xSnprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	addl	$-86400, %eax                   ## imm = 0xFFFEAE80
	cmpl	$86399, %eax                    ## imm = 0x1517F
	ja	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	xorl	%eax, %eax
	callq	_xSnprintf
	jmp	LBB0_13
LBB0_12:
	movb	$0, -80(%rbp)
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(unknown)"

L_.str.1:                               ## @.str.1
	.asciz	"%d days(!), "

L_.str.2:                               ## @.str.2
	.asciz	"%d days, "

L_.str.3:                               ## @.str.3
	.asciz	"1 day, "

L_.str.4:                               ## @.str.4
	.asciz	"%s%02d:%02d:%02d"

	.no_dead_strip	_UptimeMeter_updateValues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UptimeMeter_updateValues
_UptimeMeter_updateValues:              ; @UptimeMeter_updateValues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_Platform_getUptime
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x8, w0, w10
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #5
	add	w8, w9, w8, lsr #31
	mov	w9, #60
	smull	x10, w8, w10
	lsr	x10, x10, #32
	add	w10, w10, w8
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	mov	w11, #46021
	movk	w11, #37282, lsl #16
	smull	x11, w0, w11
	lsr	x11, x11, #32
	add	w11, w11, w0
	asr	w12, w11, #11
	add	w11, w12, w11, lsr #31
	mov	w12, #43691
	movk	w12, #10922, lsl #16
	smull	x12, w11, w12
	lsr	x13, x12, #32
	lsr	x12, x12, #63
	add	w13, w12, w13, asr #2
	mov	w14, #24
	mov	w12, #17671
	movk	w12, #49710, lsl #16
	smull	x12, w0, w12
	lsr	x12, x12, #32
	add	w12, w12, w0
	asr	w15, w12, #16
	add	w12, w15, w12, lsr #31
	ldr	x15, [x21]
	str	w12, [x15]
	ldr	w15, [x21, #8]
	cmp	w12, w15
	b.le	LBB0_3
; %bb.2:
	str	w12, [x21, #8]
LBB0_3:
	msub	w23, w8, w9, w0
	msub	w22, w10, w9, w8
	mov	w8, #10112
	movk	w8, #133, lsl #16
	msub	w21, w13, w14, w11
	cmp	w0, w8
	b.lt	LBB0_7
; %bb.4:
	str	x12, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.6:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_xSnprintf
LBB0_7:
	mov	w8, #41728
	movk	w8, #2, lsl #16
	cmp	w0, w8
	b.lt	LBB0_9
; %bb.8:
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	str	x12, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	w8, #20864
	movk	w8, #1, lsl #16
	sub	w9, w0, #21, lsl #12            ; =86016
	sub	w9, w9, #384
	cmp	w9, w8
	b.hs	LBB0_14
; %bb.10:
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_11:
	add	x0, sp, #40
	mov	w1, #32
	bl	_xSnprintf
LBB0_12:
	stp	x22, x23, [sp, #16]
	add	x8, sp, #40
	stp	x8, x21, [sp]
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_xSnprintf
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_14:
	strb	wzr, [sp, #40]
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(unknown)"

l_.str.1:                               ; @.str.1
	.asciz	"%d days(!), "

l_.str.2:                               ; @.str.2
	.asciz	"%d days, "

l_.str.3:                               ; @.str.3
	.asciz	"1 day, "

l_.str.4:                               ; @.str.4
	.asciz	"%s%02d:%02d:%02d"

	.no_dead_strip	_UptimeMeter_updateValues
.subsections_via_symbols
