	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_interval
_format_interval:                       ## @format_interval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	_format_interval.i(%rip), %eax
	leal	1(%rax), %ecx
	leal	4(%rax), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	andl	$-4, %edx
	negl	%edx
	addl	%edx, %eax
	incl	%eax
	movl	%eax, _format_interval.i(%rip)
	leaq	(%rax,%rax,2), %rcx
	leaq	(%rax,%rcx,4), %rax
	leaq	_format_interval.buf(%rip), %rbx
	addq	%rbx, %rax
	movslq	%edi, %r8
	imulq	$274877907, %r8, %rcx           ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	imull	$1000, %ecx, %edx               ## imm = 0x3E8
	subl	%edx, %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movl	$13, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_snprintf
	movl	_format_interval.i(%rip), %eax
	leaq	(%rax,%rax,2), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_format_interval.buf,52,4 ## @format_interval.buf
.zerofill __DATA,__bss,_format_interval.i,4,2 ## @format_interval.i
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u.%03us"

	.no_dead_strip	_format_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_interval
_format_interval:                       ; @format_interval
	.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
	adrp	x19, _format_interval.i@PAGE
	ldr	w8, [x19, _format_interval.i@PAGEOFF]
	add	w8, w8, #1
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w8, w8, w9, mi
	str	w8, [x19, _format_interval.i@PAGEOFF]
Lloh0:
	adrp	x20, _format_interval.buf@PAGE
Lloh1:
	add	x20, x20, _format_interval.buf@PAGEOFF
	mov	w21, #13
	umaddl	x8, w8, w21, x20
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w3, w9, w10
	mov	w9, #1000
	msub	w4, w3, w9, w0
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x8
	mov	w1, #13
	bl	_snprintf
	ldr	w8, [x19, _format_interval.i@PAGEOFF]
	madd	x0, x8, x21, x20
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_format_interval.buf,52,0 ; @format_interval.buf
.zerofill __DATA,__bss,_format_interval.i,4,2 ; @format_interval.i
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u.%03us"

	.no_dead_strip	_format_interval
.subsections_via_symbols
