	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printfFunc
_printfFunc:                            ## @printfFunc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_sqlite3_context_db_handle
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movq	(%r13), %rdi
	callq	_sqlite3_value_text
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r14
	decl	%ebx
	movl	%ebx, -72(%rbp)
	movq	$0, -56(%rbp)
	addq	$8, %r13
	movq	%r13, -64(%rbp)
	movq	(%r12), %rax
	movq	_SQLITE_LIMIT_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3StrAccumInit
	movq	_SQLITE_PRINTF_SQLFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	-72(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_sqlite3_str_appendf
	movl	-48(%rbp), %ebx
	movq	%r13, %rdi
	callq	_sqlite3StrAccumFinish
	movq	_SQLITE_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_sqlite3_result_text
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_LIMIT_LENGTH,8,3        ## @SQLITE_LIMIT_LENGTH
	.comm	_SQLITE_PRINTF_SQLFUNC,4,2      ## @SQLITE_PRINTF_SQLFUNC
	.comm	_SQLITE_DYNAMIC,4,2             ## @SQLITE_DYNAMIC
	.no_dead_strip	_printfFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printfFunc
_printfFunc:                            ; @printfFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_sqlite3_context_db_handle
	subs	w23, w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x0, [x22]
	bl	_sqlite3_value_text
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	str	w23, [sp, #8]
	add	x8, x22, #8
	stp	x8, xzr, [sp, #16]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SQLITE_LIMIT_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQLITE_LIMIT_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w4, [x8, x9, lsl #2]
	mov	x0, sp
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_sqlite3StrAccumInit
Lloh3:
	adrp	x8, _SQLITE_PRINTF_SQLFUNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_PRINTF_SQLFUNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	mov	x0, sp
	add	x2, sp, #8
	mov	x1, x20
	bl	_sqlite3_str_appendf
	ldr	w20, [sp]
	mov	x0, sp
	bl	_sqlite3StrAccumFinish
	mov	x1, x0
Lloh6:
	adrp	x8, _SQLITE_DYNAMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_DYNAMIC@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_sqlite3_result_text
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_LIMIT_LENGTH,8,3        ; @SQLITE_LIMIT_LENGTH
	.comm	_SQLITE_PRINTF_SQLFUNC,4,2      ; @SQLITE_PRINTF_SQLFUNC
	.comm	_SQLITE_DYNAMIC,4,2             ; @SQLITE_DYNAMIC
	.no_dead_strip	_printfFunc
.subsections_via_symbols
