	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function time_to_string
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_time_to_string:                        ## @time_to_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	$0, _time_to_string.text(%rip)
	cmpl	$1000, %edi                     ## imm = 0x3E8
	jl	LBB0_4
## %bb.1:
	cvtsi2sd	%edi, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm1, %xmm0
	cmpl	$1000000, %edi                  ## imm = 0xF4240
	jb	LBB0_3
## %bb.2:
	divsd	%xmm1, %xmm0
LBB0_3:
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmovbq	%rax, %rsi
	cvttsd2si	%xmm0, %edx
	leaq	_time_to_string.text(%rip), %rdi
	callq	_sprintf
LBB0_4:
	leaq	_time_to_string.text(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_time_to_string.text,80,4 ## @time_to_string.text
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4.1f us"

L_.str.1:                               ## @.str.1
	.asciz	"%4.1f ms"

	.no_dead_strip	_time_to_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function time_to_string
_time_to_string:                        ; @time_to_string
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	adrp	x8, _time_to_string.text@PAGE
	strb	wzr, [x8, _time_to_string.text@PAGEOFF]
	cmp	w0, #1000
	b.lt	LBB0_2
; %bb.1:
	scvtf	d0, w0
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fdiv	d1, d0, d1
	mov	w8, #16960
	movk	w8, #15, lsl #16
	cmp	w0, w8
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	fcsel	d0, d0, d1, lo
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	csel	x1, x9, x8, lo
	fcvtzs	w2, d0
Lloh4:
	adrp	x0, _time_to_string.text@PAGE
Lloh5:
	add	x0, x0, _time_to_string.text@PAGEOFF
	bl	_sprintf
LBB0_2:
Lloh6:
	adrp	x0, _time_to_string.text@PAGE
Lloh7:
	add	x0, x0, _time_to_string.text@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_time_to_string.text,80,0 ; @time_to_string.text
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4.1f us"

l_.str.1:                               ; @.str.1
	.asciz	"%4.1f ms"

	.no_dead_strip	_time_to_string
.subsections_via_symbols
