	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i_uptime                       ## -- Begin function i_uptime
	.p2align	4, 0x90
_i_uptime:                              ## @i_uptime
	.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
	movl	(%rdi), %ecx
	cmpl	$-1, %ecx
	je	LBB0_5
## %bb.1:
	movl	(%rsi), %eax
	subl	%ecx, %eax
	movslq	%eax, %rcx
	imulq	$-1037155065, %rcx, %r14        ## imm = 0xC22E4507
	shrq	$32, %r14
	addl	%eax, %r14d
	movl	%r14d, %edx
	shrl	$31, %edx
	sarl	$16, %r14d
	addl	%edx, %r14d
	imull	$86400, %r14d, %edx             ## imm = 0x15180
	subl	%edx, %ecx
	movslq	%ecx, %rcx
	imulq	$-1851608123, %rcx, %rbx        ## imm = 0x91A2B3C5
	shrq	$32, %rbx
	addl	%ecx, %ebx
	movl	%ebx, %edx
	shrl	$31, %edx
	sarl	$11, %ebx
	addl	%edx, %ebx
	imull	$3600, %ebx, %edx               ## imm = 0xE10
	subl	%edx, %ecx
	movswl	%cx, %edx
	imull	$-30583, %edx, %edx             ## imm = 0x8889
	shrl	$16, %edx
	addl	%ecx, %edx
	movzwl	%dx, %edx
	movswl	%dx, %esi
	shrl	$15, %edx
	sarl	$5, %esi
	addl	%edx, %esi
	movswl	%si, %r15d
	imull	$60, %esi, %edx
	subl	%edx, %ecx
	movswl	%cx, %r12d
	movq	_smart_terminal@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_screen_width@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	cmpl	$864000, %eax                   ## imm = 0xD2F00
	setge	%dl
	negl	%edx
	leal	(%rcx,%rdx), %edi
	addl	$-24, %edi
	xorl	%esi, %esi
	callq	_Move_to
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_fputs
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_smart_terminal,8,3             ## @smart_terminal
	.comm	_screen_width,4,2               ## @screen_width
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	" up %d+%02d:%02d:%02d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i_uptime                       ; -- Begin function i_uptime
	.p2align	2
_i_uptime:                              ; @i_uptime
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x1]
	mov	w10, #17671
	movk	w10, #49710, lsl #16
	sub	w8, w9, w8
	smull	x9, w8, w10
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #16
	add	w19, w10, w9, lsr #31
	mov	w9, #20864
	movk	w9, #1, lsl #16
	msub	w9, w19, w9, w8
	mov	w10, #46021
	movk	w10, #37282, lsl #16
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #11
	add	w20, w11, w10, lsr #31
	mov	w10, #3600
	msub	w9, w20, w10, w9
	sxth	w10, w9
	mov	w11, #-30583
	mul	w10, w10, w11
	add	w10, w9, w10, lsr #16
	and	w11, w10, #0x8000
	sbfx	w10, w10, #5, #11
	add	w21, w10, w11, lsr #15
	mov	w10, #60
	msub	w9, w21, w10, w9
	sxth	w22, w9
Lloh0:
	adrp	x9, _smart_terminal@GOTPAGE
Lloh1:
	ldr	x9, [x9, _smart_terminal@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _screen_width@GOTPAGE
Lloh4:
	ldr	x9, [x9, _screen_width@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #12031
	movk	w10, #13, lsl #16
	cmp	w8, w10
	mov	w8, #-25
	cinc	w8, w8, le
	add	w0, w8, w9
	mov	w1, #0
	bl	_Move_to
	b	LBB0_5
LBB0_3:
	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
	ret
LBB0_4:
Lloh6:
	adrp	x8, _stdout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fputs
LBB0_5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	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	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_smart_terminal,8,3             ; @smart_terminal
	.comm	_screen_width,4,2               ; @screen_width
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	" up %d+%02d:%02d:%02d"

.subsections_via_symbols
