	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_to_time
_str_to_time:                           ## @str_to_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	(%rdi), %al
	addb	$-58, %al
	xorl	%r12d, %r12d
	cmpb	$-10, %al
	jb	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %r13
	cmpq	%rbx, %r13
	je	LBB0_8
## %bb.2:
	cmpb	$58, (%r13)
	jne	LBB0_8
## %bb.3:
	movl	%eax, %r15d
	movb	1(%r13), %al
	addb	$-58, %al
	cmpb	$-10, %al
	jb	LBB0_8
## %bb.4:
	incq	%r13
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rdx
	cmpq	%r13, %rdx
	je	LBB0_8
## %bb.5:
	xorpd	%xmm0, %xmm0
	cmpb	$58, (%rdx)
	jne	LBB0_7
## %bb.6:
	leaq	1(%rdx), %r12
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	callq	_strtod
	movl	%r13d, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx
	cmpq	%r12, %rcx
	cmovaq	%rcx, %rdx
LBB0_7:
	movslq	%r15d, %rcx
	imulq	$3600, %rcx, %rsi               ## imm = 0xE10
	movslq	%eax, %rcx
	imulq	$60, %rcx, %rcx
	addq	%rsi, %rcx
	cvtsi2sd	%rcx, %xmm1
	addsd	%xmm0, %xmm1
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax), %xmm0
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, (%r14)
	subl	%ebx, %edx
	movl	%edx, %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE,4,2               ## @AV_TIME_BASE
	.no_dead_strip	_str_to_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_to_time
_str_to_time:                           ; @str_to_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldrb	w8, [x0]
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	ldr	x23, [sp, #8]
	cmp	x23, x19
	b.eq	LBB0_8
; %bb.2:
	ldrb	w8, [x23]
	cmp	w8, #58
	b.ne	LBB0_8
; %bb.3:
	ldrb	w8, [x23, #1]!
	sub	w8, w8, #58
	cmn	w8, #10
	b.lo	LBB0_8
; %bb.4:
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #10
	bl	_strtol
	ldr	x24, [sp, #8]
	cmp	x24, x23
	b.eq	LBB0_8
; %bb.5:
	mov	x22, x0
	ldrb	w8, [x24]
	movi	d0, #0000000000000000
	cmp	w8, #58
	b.ne	LBB0_7
; %bb.6:
	add	x23, x24, #1
	add	x1, sp, #8
	mov	x0, x23
	bl	_strtod
	ldr	x8, [sp, #8]
	cmp	x8, x23
	csel	x24, x8, x24, hi
LBB0_7:
	mov	w8, #3600
	smull	x8, w21, w8
	mov	w9, #60
	smaddl	x8, w22, w9, x8
	scvtf	d1, x8
	fadd	d0, d0, d1
Lloh0:
	adrp	x8, _AV_TIME_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_TIME_BASE@GOTPAGEOFF]
Lloh2:
	ldr	s1, [x8]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmul	d0, d0, d1
	fcvtzs	w8, d0
	str	w8, [x20]
	sub	w0, w24, w19
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE,4,2               ; @AV_TIME_BASE
	.no_dead_strip	_str_to_time
.subsections_via_symbols
