	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_use_database2com_init_db ## -- Begin function convert_use_database2com_init_db
	.p2align	4, 0x90
_convert_use_database2com_init_db:      ## @convert_use_database2com_init_db
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_COM_QUERY@GOTPCREL(%rip), %rax
	cmpb	%dil, (%rax)
	jne	LBB0_11
## %bb.1:
	movl	(%rdx), %eax
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.2:
	movq	8(%rdx), %rbx
	movq	_TK_COMMENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	8(%rbx), %rcx
	movq	(%rcx), %rsi
	movl	$1, %ecx
	cmpq	%rdx, %rsi
	jne	LBB0_7
## %bb.3:
	leal	-1(%rax), %edi
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rdi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%rcx,8), %rsi
	incq	%rcx
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movq	%rdx, %rsi
	movl	%eax, %ecx
LBB0_7:
	movq	_TK_SQL_USE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	jne	LBB0_11
## %bb.8:
	incl	%ecx
	cmpl	%eax, %ecx
	jge	LBB0_11
## %bb.9:
	movslq	%ecx, %r15
	movq	(%rbx,%r15,8), %rax
	movq	(%rax), %rax
	movq	_TK_LITERAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_g_string_truncate
	movq	_COM_INIT_DB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_g_string_append_c
	movq	(%rbx,%r15,8), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_g_string_append_printf
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COM_QUERY,1,0                  ## @COM_QUERY
	.comm	_TK_COMMENT,8,3                 ## @TK_COMMENT
	.comm	_TK_SQL_USE,8,3                 ## @TK_SQL_USE
	.comm	_TK_LITERAL,8,3                 ## @TK_LITERAL
	.comm	_COM_INIT_DB,4,2                ## @COM_INIT_DB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_use_database2com_init_db ; -- Begin function convert_use_database2com_init_db
	.p2align	2
_convert_use_database2com_init_db:      ; @convert_use_database2com_init_db
	.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, x1
Lloh0:
	adrp	x8, _COM_QUERY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COM_QUERY@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_10
; %bb.1:
	ldr	w8, [x2]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.2:
	ldr	x20, [x2, #8]
Lloh2:
	adrp	x9, _TK_COMMENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TK_COMMENT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x10, [x20, #8]
	ldr	x11, [x10]
	cmp	x11, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x10, #0
	sub	w11, w8, #1
	sub	x11, x11, #1
	add	x12, x20, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x10
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x12, x10, lsl #3]
	ldr	x13, [x13]
	add	x10, x10, #1
	cmp	x13, x9
	b.eq	LBB0_4
; %bb.6:
	add	w10, w10, #1
	mov	x9, x13
	b	LBB0_9
LBB0_7:
	mov	w10, #1
	mov	x9, x11
	b	LBB0_9
LBB0_8:
	mov	x10, x8
LBB0_9:
Lloh5:
	adrp	x11, _TK_SQL_USE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TK_SQL_USE@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x9, x11
	add	w9, w10, #1
	ccmp	w9, w8, #0, eq
	b.lt	LBB0_11
LBB0_10:
	mov	x0, 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
	ret
LBB0_11:
	ldr	x8, [x20, w9, sxtw #3]
	ldr	x8, [x8]
Lloh8:
	adrp	x10, _TK_LITERAL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TK_LITERAL@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_10
; %bb.12:
	sxtw	x21, w9
	mov	x0, x19
	mov	w1, #0
	bl	_g_string_truncate
Lloh11:
	adrp	x8, _COM_INIT_DB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COM_INIT_DB@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_g_string_append_c
	ldr	x8, [x20, x21, lsl #3]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_g_string_append_printf
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_COM_QUERY,1,0                  ; @COM_QUERY
	.comm	_TK_COMMENT,8,3                 ; @TK_COMMENT
	.comm	_TK_SQL_USE,8,3                 ; @TK_SQL_USE
	.comm	_TK_LITERAL,8,3                 ; @TK_LITERAL
	.comm	_COM_INIT_DB,4,2                ; @COM_INIT_DB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
