	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_PrintTime
_UI_PrintTime:                          ## @UI_PrintTime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rax
	imulq	$274877907, %rax, %r8           ## imm = 0x10624DD3
	movq	%r8, %rcx
	shrq	$63, %rcx
	sarq	$38, %r8
	addl	%ecx, %r8d
	cmpl	$3601000, %eax                  ## imm = 0x36F268
	jl	LBB0_2
## %bb.1:
	movl	%edx, %eax
	movl	$2501999793, %ecx               ## imm = 0x95217CB1
	imulq	%rax, %rcx
	shrq	$53, %rcx
	movslq	%r8d, %rax
	imulq	$-1851608123, %rax, %rax        ## imm = 0x91A2B3C5
	shrq	$32, %rax
	addl	%r8d, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$11, %eax
	addl	%edx, %eax
	imull	$3600, %eax, %eax               ## imm = 0xE10
	subl	%eax, %r8d
	movswl	%r8w, %eax
	imull	$-30583, %eax, %eax             ## imm = 0x8889
	shrl	$16, %eax
	addl	%r8d, %eax
	movzwl	%ax, %eax
	movswl	%ax, %edx
	shrl	$15, %eax
	sarl	$5, %edx
	addl	%eax, %edx
	movswl	%dx, %r8d
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_4
LBB0_2:
	cmpl	$61000, %edx                    ## imm = 0xEE48
	jl	LBB0_5
## %bb.3:
	movl	%edx, %eax
	imulq	$1172812403, %rax, %rcx         ## imm = 0x45E7B273
	shrq	$46, %rcx
	movslq	%r8d, %rax
	imulq	$-2004318071, %rax, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%r8d, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$5, %eax
	addl	%edx, %eax
	imull	$60, %eax, %eax
	subl	%eax, %r8d
	leaq	L_.str.1(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_Com_sprintf                    ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rdx
	movl	%r8d, %ecx
	xorl	%eax, %eax
	popq	%rbp
	jmp	_Com_sprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d hr %d min"

L_.str.1:                               ## @.str.1
	.asciz	"%d min %d sec"

L_.str.2:                               ## @.str.2
	.asciz	"%d sec"

	.no_dead_strip	_UI_PrintTime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_PrintTime
_UI_PrintTime:                          ; @UI_PrintTime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	w8, #61056
	movk	w8, #54, lsl #16
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w2, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w3, w9, w10
	add	w9, w8, #999
	cmp	w2, w9
	b.le	LBB0_2
; %bb.1:
	udiv	w8, w2, w8
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w3, w9
	lsr	x9, x9, #32
	add	w9, w9, w3
	asr	w10, w9, #11
	add	w9, w10, w9, lsr #31
	mov	w10, #3600
	msub	w9, w9, w10, w3
	sxth	w10, w9
	mov	w11, #-30583
	mul	w10, w10, w11
	add	w9, w9, w10, lsr #16
	and	w10, w9, #0x8000
	sbfx	w9, w9, #5, #11
	add	w9, w9, w10, lsr #15
	sxtw	x9, w9
	str	x9, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x8
	b	LBB0_4
LBB0_2:
	mov	w8, #61000
	cmp	w2, w8
	b.lt	LBB0_5
; %bb.3:
	mov	w8, #45683
	movk	w8, #17895, lsl #16
	umull	x8, w2, w8
	lsr	x8, x8, #46
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w3, w9
	lsr	x9, x9, #32
	add	w9, w9, w3
	asr	w10, w9, #5
	add	w9, w10, w9, lsr #31
	mov	w10, #60
	msub	w9, w9, w10, w3
	str	x9, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x8
LBB0_4:
	bl	_Com_sprintf
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_Com_sprintf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d hr %d min"

l_.str.1:                               ; @.str.1
	.asciz	"%d min %d sec"

l_.str.2:                               ; @.str.2
	.asciz	"%d sec"

	.no_dead_strip	_UI_PrintTime
.subsections_via_symbols
