	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_str_to_time                    ## -- Begin function str_to_time
	.p2align	4, 0x90
_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	movb	$1, %r12b
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	movq	%rdi, %r15
	cmpb	$0, (%rdi)
	je	LBB0_14
## %bb.3:
	cmpb	$0, (%rbx)
	je	LBB0_14
## %bb.4:
	movq	%rdx, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_strptime
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	cmpb	$0, (%rax)
	setne	%r12b
	jmp	LBB0_14
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	movabsq	$4294967366, %rax               ## imm = 0x100000046
	movq	%rax, (%r14)
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoull
	movq	-40(%rbp), %rcx
	cmpq	%r15, %rcx
	je	LBB0_14
## %bb.6:
	cmpb	$0, (%rcx)
	jne	LBB0_14
## %bb.7:
	movq	(%rbx), %rcx
	movq	_ERANGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_14
## %bb.8:
	movq	_SECS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.10:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_11
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_11:
	movq	%rax, 8(%r14)
	movl	$-1, 16(%r14)
	movq	%r14, %rdi
	callq	_mktime
	cmpl	$-1, %eax
	sete	%r12b
LBB0_14:
	movzbl	%r12b, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%f"

	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_SECS,8,3                       ## @SECS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function str_to_time
lCPI0_0:
	.long	70                              ; 0x46
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_str_to_time
	.p2align	2
_str_to_time:                           ; @str_to_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	mov	w0, #1
	cbz	x1, LBB0_11
; %bb.2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_11
; %bb.3:
	ldrb	w8, [x21]
	cbz	w8, LBB0_10
; %bb.4:
	mov	x19, x2
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_strptime
	cbz	x0, LBB0_10
; %bb.6:
	ldrb	w8, [x0]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_11
LBB0_7:
Lloh2:
	adrp	x21, _errno@GOTPAGE
Lloh3:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtoull
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_10
; %bb.8:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_10
; %bb.9:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _ERANGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
Lloh9:
	adrp	x8, _SECS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SECS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	udiv	x8, x0, x8
	str	x8, [x19, #8]
	mov	w8, #-1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_mktime
	cmn	w0, #1
	cset	w0, eq
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%f"

	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_SECS,8,3                       ; @SECS
.subsections_via_symbols
