	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isDate
_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.1:
	movq	(%r13), %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_FLOAT@GOTPCREL(%rip), %rcx
	movq	(%r13), %rdi
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	_SQLITE_INTEGER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.4:
	callq	_sqlite3_value_text
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_parseDateOrTime
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	cmpl	$2, %r12d
	jge	LBB0_7
	jmp	LBB0_11
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setDateTimeToCurrent           ## TAILCALL
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	callq	_sqlite3_value_double
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_setRawDateNumber
	cmpl	$2, %r12d
	jl	LBB0_11
LBB0_7:
	movl	%r12d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12,8), %rdi
	callq	_sqlite3_value_text
	movq	%rax, %rbx
	movq	(%r13,%r12,8), %rdi
	callq	_sqlite3_value_bytes
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_parseModifier
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	cmpq	%r12, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	callq	_computeJD
	movl	$1, %r15d
	cmpq	$0, 8(%r14)
	jne	LBB0_13
## %bb.12:
	movl	(%r14), %edi
	callq	_validJulianDay
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
LBB0_13:
	movl	%r15d, %eax
	addq	$24, %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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	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_3
; %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_4
; %bb.2:
	bl	_sqlite3_value_double
	mov	x1, x0
	mov	x0, x19
	bl	_setRawDateNumber
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_setDateTimeToCurrent
LBB0_4:
	bl	_sqlite3_value_text
	cbz	x0, LBB0_12
; %bb.5:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_parseDateOrTime
	cbnz	x0, LBB0_12
LBB0_6:
	cmp	w22, #2
	b.lt	LBB0_11
; %bb.7:
	mov	w8, w22
	add	x22, x21, #8
	sub	x23, x8, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_sqlite3_value_text
	mov	x21, x0
	ldr	x0, [x22]
	bl	_sqlite3_value_bytes
	cbz	x21, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_parseModifier
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #8
	subs	x23, x23, #1
	b.ne	LBB0_8
LBB0_11:
	mov	x0, x19
	bl	_computeJD
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
LBB0_12:
	mov	w0, #1
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	w0, [x19]
	bl	_validJulianDay
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_13
	.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
