	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dateFunc
_dateFunc:                              ## @dateFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-144(%rbp), %rcx
	callq	_isDate
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-144(%rbp), %rdi
	callq	_computeYMD
	movl	-136(%rbp), %ecx
	movl	-144(%rbp), %r9d
	movl	-140(%rbp), %r8d
	leaq	L_.str(%rip), %rdx
	leaq	-128(%rbp), %r14
	movl	$100, %edi
	movq	%r14, %rsi
	callq	_sqlite3_snprintf
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$-1, %edx
	callq	_sqlite3_result_text
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04d-%02d-%02d"

	.comm	_SQLITE_TRANSIENT,4,2           ## @SQLITE_TRANSIENT
	.no_dead_strip	_dateFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dateFunc
_dateFunc:                              ; @dateFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x3, sp, #8
	bl	_isDate
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_computeYMD
	ldp	w4, w3, [sp, #12]
	ldr	w5, [sp, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #20
	mov	w0, #100
	bl	_sqlite3_snprintf
Lloh5:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x1, sp, #20
	mov	x0, x19
	mov	w2, #-1
	bl	_sqlite3_result_text
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04d-%02d-%02d"

	.comm	_SQLITE_TRANSIENT,4,2           ; @SQLITE_TRANSIENT
	.no_dead_strip	_dateFunc
.subsections_via_symbols
