	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmt_time
_fmt_time:                              ## @fmt_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edi, %rax
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%edi, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	movslq	%ecx, %r9
	imulq	$-2004318071, %r9, %rcx         ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%r9d, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imull	$60, %ecx, %ecx
	subl	%ecx, %r9d
	imulq	$-1851608123, %rax, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%edi, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$11, %ecx
	addl	%edx, %ecx
	movslq	%ecx, %r8
	imulq	$715827883, %r8, %rcx           ## imm = 0x2AAAAAAB
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$34, %rcx
	addl	%edx, %ecx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %r8d
	cmpl	$86400, %eax                    ## imm = 0x15180
	jl	LBB0_2
## %bb.1:
	movl	%edi, %eax
	movl	$3257812231, %ecx               ## imm = 0xC22E4507
	imulq	%rax, %rcx
	shrq	$48, %rcx
	leaq	_fmt_time.buf(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	movl	$128, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_2:
	leaq	_fmt_time.buf(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	$128, %esi
	movl	%r8d, %ecx
	movl	%r9d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	leaq	_fmt_time.buf(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_fmt_time.buf,128,4 ## @fmt_time.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%dd %d:%02d"

L_.str.1:                               ## @.str.1
	.asciz	"%d:%02d"

	.no_dead_strip	_fmt_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmt_time
_fmt_time:                              ; @fmt_time
	.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	w9, #20863
	movk	w9, #1, lsl #16
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x10, w0, w8
	lsr	x10, x10, #32
	add	w10, w10, w0
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	smull	x8, w10, w8
	lsr	x8, x8, #32
	add	w8, w8, w10
	asr	w11, w8, #5
	add	w8, w11, w8, lsr #31
	mov	w11, #60
	msub	w4, w8, w11, w10
	mov	w8, #46021
	movk	w8, #37282, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w10, w8, #11
	add	w8, w10, w8, lsr #31
	mov	w10, #43691
	movk	w10, #10922, lsl #16
	smull	x10, w8, w10
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	mov	w11, #24
	msub	w8, w10, w11, w8
	cmp	w0, w9
	b.le	LBB0_2
; %bb.1:
	add	w9, w9, #1
	udiv	w3, w0, w9
Lloh0:
	adrp	x0, _fmt_time.buf@PAGE
Lloh1:
	add	x0, x0, _fmt_time.buf@PAGEOFF
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	str	x4, [sp]
	mov	w1, #128
	mov	x4, x8
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x0, _fmt_time.buf@PAGE
Lloh5:
	add	x0, x0, _fmt_time.buf@PAGEOFF
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #128
	mov	x3, x8
                                        ; kill: def $w4 killed $w4 killed $x4
LBB0_3:
	bl	_snprintf
Lloh8:
	adrp	x0, _fmt_time.buf@PAGE
Lloh9:
	add	x0, x0, _fmt_time.buf@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_fmt_time.buf,128,0 ; @fmt_time.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%dd %d:%02d"

l_.str.1:                               ; @.str.1
	.asciz	"%d:%02d"

	.no_dead_strip	_fmt_time
.subsections_via_symbols
