	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_time
_format_time:                           ## @format_time
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	(%rdi), %rbx
	leal	-86400(%rbx), %eax
	cmpl	$86399, %eax                    ## imm = 0x1517F
	ja	LBB0_2
## %bb.1:
	leaq	_format_time.buffer(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	movl	$32, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_5
LBB0_2:
	cmpl	$86400, %ebx                    ## imm = 0x15180
	jl	LBB0_3
## %bb.4:
	imulq	$-1037155065, %rbx, %rcx        ## imm = 0xC22E4507
	shrq	$32, %rcx
	addl	%ebx, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$16, %ecx
	addl	%eax, %ecx
	leaq	_format_time.buffer(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	$32, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movslq	%ebx, %rdx
	imulq	$-1851608123, %rdx, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%ebx, %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	sarl	$11, %ecx
	addl	%esi, %ecx
	movslq	%ecx, %rcx
	imulq	$715827883, %rcx, %rsi          ## imm = 0x2AAAAAAB
	movq	%rsi, %rdi
	shrq	$63, %rdi
	shrq	$34, %rsi
	addl	%edi, %esi
	shll	$3, %esi
	leal	(%rsi,%rsi,2), %esi
	subl	%esi, %ecx
	imulq	$-2004318071, %rdx, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%ebx, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	movslq	%edx, %r8
	imulq	$-2004318071, %r8, %rdx         ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%r8d, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	imull	$60, %edx, %edx
	imull	$60, %r8d, %esi
	subl	%edx, %r8d
	subl	%esi, %ebx
	cltq
	leaq	_format_time.buffer(%rip), %r15
	leaq	(%r15,%rax), %rdi
	movl	$32, %esi
	subl	%eax, %esi
	movl	8(%r14), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.2(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_format_time.buffer,32,4 ## @format_time.buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1 day "

L_.str.1:                               ## @.str.1
	.asciz	"%u days "

L_.str.2:                               ## @.str.2
	.asciz	"%02u:%02u:%02u.%06u"

	.no_dead_strip	_format_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_time
_format_time:                           ; @format_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldrsw	x21, [x0]
	sub	w8, w21, #21, lsl #12           ; =86016
	sub	w8, w8, #384
	lsr	w8, w8, #7
Lloh0:
	adrp	x19, _format_time.buffer@PAGE
Lloh1:
	add	x19, x19, _format_time.buffer@PAGEOFF
	cmp	w8, #674
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, _format_time.buffer@PAGE
Lloh3:
	add	x0, x0, _format_time.buffer@PAGEOFF
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	w8, #20864
	movk	w8, #1, lsl #16
	sub	w8, w8, #1
	cmp	w21, w8
	b.le	LBB0_5
; %bb.3:
	mov	x8, #-47865
	movk	x8, #49710, lsl #16
	mul	x8, x21, x8
	lsr	x8, x8, #32
	add	w8, w8, w21
	asr	w9, w8, #16
	add	w8, w9, w8, lsr #31
Lloh6:
	adrp	x0, _format_time.buffer@PAGE
Lloh7:
	add	x0, x0, _format_time.buffer@PAGEOFF
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	w1, #32
	bl	_snprintf
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	mov	w8, #46021
	movk	w8, #37282, lsl #16
	smull	x8, w21, w8
	lsr	x8, x8, #32
	add	w8, w8, w21
	asr	w9, w8, #11
	add	w8, w9, w8, lsr #31
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #2
	mov	w10, #24
	msub	w9, w9, w10, w8
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x10, w21, w8
	lsr	x10, x10, #32
	add	w10, w10, w21
	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	w12, w8, w11, w10
	msub	w10, w10, w11, w21
	add	x8, x19, w0, sxtw
	mov	w11, #32
	sub	w1, w11, w0
	ldr	x11, [x20, #8]
	stp	x10, x11, [sp, #16]
	stp	x9, x12, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_snprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_format_time.buffer,32,0 ; @format_time.buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1 day "

l_.str.1:                               ; @.str.1
	.asciz	"%u days "

l_.str.2:                               ; @.str.2
	.asciz	"%02u:%02u:%02u.%06u"

	.no_dead_strip	_format_time
.subsections_via_symbols
