	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function isDate
LCPI0_0:
	.quad	0x4194997000000000              ## double 8.64E+7
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_isDate:                                ## @isDate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.1:
	movq	(%r14), %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_FLOAT@GOTPCREL(%rip), %rcx
	movq	(%r14), %rdi
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.2:
	movq	_SQLITE_INTEGER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.3:
	callq	_sqlite3_value_text
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_parseDateOrTime
	testq	%rax, %rax
	jne	LBB0_14
## %bb.5:
	cmpl	$2, %r12d
	jl	LBB0_13
	jmp	LBB0_6
LBB0_11:
	movq	%r15, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setDateTimeToCurrent           ## TAILCALL
LBB0_12:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	callq	_sqlite3_value_double
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, 8(%r13)
	movl	$1, (%r13)
	cmpl	$2, %r12d
	jl	LBB0_13
LBB0_6:
	movl	%r12d, %r12d
	movl	$1, %r15d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r15,8), %rdi
	callq	_sqlite3_value_text
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_parseModifier
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	cmpq	%r15, %r12
	jne	LBB0_7
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_FLOAT,4,2               ## @SQLITE_FLOAT
	.comm	_SQLITE_INTEGER,4,2             ## @SQLITE_INTEGER
	.no_dead_strip	_isDate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isDate
_isDate:                                ; @isDate
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x3
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cbz	w22, LBB0_9
; %bb.1:
	ldr	x0, [x21]
	bl	_sqlite3_value_type
	mov	x8, x0
Lloh0:
	adrp	x9, _SQLITE_FLOAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQLITE_FLOAT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SQLITE_INTEGER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SQLITE_INTEGER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	x0, [x21]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_10
; %bb.2:
	bl	_sqlite3_value_double
	mov	x8, #168706315386880
	movk	x8, #16788, lsl #48
	fmov	d1, x8
	fmov	d2, #0.50000000
	fmadd	d0, d0, d1, d2
	fcvtzs	x8, d0
	str	x8, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	cmp	w22, #2
	b.lt	LBB0_8
; %bb.4:
	mov	w8, w22
	add	x21, x21, #8
	sub	x22, x8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	bl	_sqlite3_value_text
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_parseModifier
	cbnz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #8
	subs	x22, x22, #1
	b.ne	LBB0_5
LBB0_8:
	mov	w0, #0
	b	LBB0_13
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	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
	b	_setDateTimeToCurrent
LBB0_10:
	bl	_sqlite3_value_text
	cbz	x0, LBB0_12
; %bb.11:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_parseDateOrTime
	cbz	x0, LBB0_3
LBB0_12:
	mov	w0, #1
LBB0_13:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_FLOAT,4,2               ; @SQLITE_FLOAT
	.comm	_SQLITE_INTEGER,4,2             ; @SQLITE_INTEGER
	.no_dead_strip	_isDate
.subsections_via_symbols
