	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function time_to_us
_time_to_us:                            ## @time_to_us
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	leal	-1(%rax), %ecx
	movq	$-1, %rdx
	cmpl	$14, %ecx
	ja	LBB0_23
## %bb.1:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movb	$1, %r13b
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$46, %cl
	jne	LBB0_15
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	movl	$1, %r14d
	jne	LBB0_22
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%r12, %rbx
	setb	%r13b
	je	LBB0_7
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_isdigit
	movzbl	(%r15,%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$46, %cl
	je	LBB0_3
	jmp	LBB0_4
LBB0_7:
	testq	%r12, %r12
	je	LBB0_22
## %bb.8:
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_strncpy
LBB0_9:
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
LBB0_10:
	callq	_strcpy
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.11:
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	movq	$-1, %rdx
	jne	LBB0_23
## %bb.13:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_strtod
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	jmp	LBB0_21
LBB0_15:
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.16:
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	testb	$1, %r13b
	je	LBB0_9
## %bb.17:
	addq	%rbx, %r15
	leaq	-80(%rbp), %rdi
	movq	%r15, %rsi
	jmp	LBB0_10
LBB0_22:
	movq	$-1, %rdx
	jmp	LBB0_23
LBB0_19:
	leaq	-64(%rbp), %rdi
	callq	_atol
	movq	%rax, %rdx
	jmp	LBB0_23
LBB0_20:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_strtod
	imull	$1000, %eax, %eax               ## imm = 0x3E8
LBB0_21:
	movslq	%eax, %rdx
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movq	%rdx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ms"

L_.str.1:                               ## @.str.1
	.asciz	"us"

L_.str.2:                               ## @.str.2
	.asciz	"s"

	.no_dead_strip	_time_to_us
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function time_to_us
_time_to_us:                            ; @time_to_us
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_strlen
	stp	xzr, xzr, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	sub	w8, w0, #1
	cmp	w8, #14
	b.hi	LBB0_18
; %bb.1:
	mov	x20, #0
	mov	w22, #0
	mov	w23, #1
	mov	w21, w0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, x21
	cset	w23, lo
	cmp	x21, x20
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x20]
	bl	_isdigit
	ldrb	w8, [x19, x20]
	cmp	w8, #46
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.ne	LBB0_2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	b.ne	LBB0_15
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w22, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #1
	b	LBB0_2
LBB0_8:
	cbz	w21, LBB0_18
; %bb.9:
	add	x0, sp, #24
	mov	x1, x19
	mov	x2, x21
	bl	_strncpy
LBB0_10:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	add	x0, sp, #8
	bl	_strcpy
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strcasecmp
	cbz	w0, LBB0_21
; %bb.12:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strcasecmp
	cbz	w0, LBB0_22
; %bb.13:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strcasecmp
	cbnz	w0, LBB0_18
; %bb.14:
	add	x0, sp, #24
	mov	x1, #0
	bl	_strtod
	mov	w8, #16960
	movk	w8, #15, lsl #16
	b	LBB0_23
LBB0_15:
	cbz	w20, LBB0_18
; %bb.16:
	add	x0, sp, #24
	mov	x1, x19
	mov	x2, x20
	bl	_strncpy
	tbz	w23, #0, LBB0_10
; %bb.17:
	add	x1, x19, x20
	b	LBB0_11
LBB0_18:
	mov	x0, #-1
LBB0_19:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_21:
	add	x0, sp, #24
	bl	_atol
	b	LBB0_19
LBB0_22:
	add	x0, sp, #24
	mov	x1, #0
	bl	_strtod
	mov	w8, #1000
LBB0_23:
	mul	w8, w0, w8
	sxtw	x0, w8
	b	LBB0_19
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ms"

l_.str.1:                               ; @.str.1
	.asciz	"us"

l_.str.2:                               ; @.str.2
	.asciz	"s"

	.no_dead_strip	_time_to_us
.subsections_via_symbols
