	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sql_trace_callback
_sql_trace_callback:                    ## @sql_trace_callback
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	_SQLITE_TRACE_CLOSE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_utf8_printf
	jmp	LBB0_16
LBB0_3:
	movq	%rcx, %r14
	movq	%rsi, %r15
	cmpl	$129, %r12d
	je	LBB0_5
## %bb.4:
	cmpb	$45, (%r14)
	movq	%r14, %rbx
	je	LBB0_9
LBB0_5:
	cmpl	$132, 8(%r15)
	jne	LBB0_7
## %bb.6:
	movq	%rdx, %rdi
	callq	_sqlite3_expanded_sql
	jmp	LBB0_8
LBB0_7:
	movq	%rdx, %rdi
	callq	_sqlite3_sql
LBB0_8:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_9:
	movq	%rbx, %rdi
	callq	_strlen30
	movl	%eax, %ecx
	movl	%eax, %edx
	sarl	$31, %edx
	andl	%eax, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	-1(%rcx), %rax
	cmpb	$59, -1(%rbx,%rcx)
	movq	%rax, %rcx
	je	LBB0_10
## %bb.12:
	incl	%eax
	movl	%eax, %edx
LBB0_13:
	leal	-128(%r12), %eax
	cmpl	$2, %eax
	jae	LBB0_14
## %bb.17:
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_utf8_printf
	jmp	LBB0_16
LBB0_14:
	cmpl	$130, %r12d
	jne	LBB0_16
## %bb.15:
	movl	(%r14), %r8d
	movq	(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_utf8_printf
LBB0_16:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_TRACE_CLOSE,4,2         ## @SQLITE_TRACE_CLOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-- closing database connection\n"

L_.str.1:                               ## @.str.1
	.asciz	"%.*s;\n"

L_.str.2:                               ## @.str.2
	.asciz	"%.*s; -- %lld ns\n"

	.no_dead_strip	_sql_trace_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sql_trace_callback
_sql_trace_callback:                    ; @sql_trace_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	ldr	x0, [x1]
	cbz	x0, LBB0_17
; %bb.1:
Lloh0:
	adrp	x8, _SQLITE_TRACE_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_TRACE_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_3:
	mov	x19, x3
	mov	x20, x1
	cmp	w21, #129
	b.eq	LBB0_5
; %bb.4:
	ldrb	w8, [x19]
	mov	x22, x19
	cmp	w8, #45
	b.eq	LBB0_8
LBB0_5:
	ldr	w8, [x20, #8]
	mov	x0, x2
	cmp	w8, #132
	b.ne	LBB0_7
; %bb.6:
	bl	_sqlite3_expanded_sql
	mov	x22, x0
	cbnz	x0, LBB0_8
	b	LBB0_17
LBB0_7:
	bl	_sqlite3_sql
	mov	x22, x0
	cbz	x0, LBB0_17
LBB0_8:
	mov	x0, x22
	bl	_strlen30
	mov	w9, w0
	cmp	w0, #0
	csel	w8, w0, wzr, lt
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x10, x9, #1
	add	x9, x22, x9
	ldurb	w11, [x9, #-1]
	mov	x9, x10
	cmp	w11, #59
	b.eq	LBB0_9
; %bb.11:
	add	w8, w10, #1
LBB0_12:
	sub	w9, w21, #128
	cmp	w9, #2
	b.hs	LBB0_14
; %bb.13:
	ldr	x0, [x20]
	stp	x8, x22, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_14:
	cmp	w21, #130
	b.ne	LBB0_17
; %bb.15:
	ldr	x0, [x20]
	ldr	w9, [x19]
	stp	x22, x9, [sp, #8]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_16:
	bl	_utf8_printf
LBB0_17:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_TRACE_CLOSE,4,2         ; @SQLITE_TRACE_CLOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-- closing database connection\n"

l_.str.1:                               ; @.str.1
	.asciz	"%.*s;\n"

l_.str.2:                               ; @.str.2
	.asciz	"%.*s; -- %lld ns\n"

	.no_dead_strip	_sql_trace_callback
.subsections_via_symbols
