	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolveAttachExpr
_resolveAttachExpr:                     ## @resolveAttachExpr
	.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
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_TK_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.5:
	movq	_TK_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %r15
	movq	%rbx, %rsi
	callq	_sqlite3ResolveExprNames
	movl	%eax, %r14d
	cmpl	(%r12), %eax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_sqlite3ExprIsConstant
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	(%r15), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_sqlite3ErrorMsg
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_TK_ID,8,3                      ## @TK_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid name: \"%s\""

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_TK_STRING,8,3                  ## @TK_STRING
	.no_dead_strip	_resolveAttachExpr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolveAttachExpr
_resolveAttachExpr:                     ; @resolveAttachExpr
	.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
Lloh0:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	ldr	w19, [x22]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
Lloh2:
	adrp	x9, _TK_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TK_ID@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _TK_STRING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TK_STRING@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_6
LBB0_3:
	mov	x21, x0
	mov	x1, x20
	bl	_sqlite3ResolveExprNames
	mov	x19, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_sqlite3ExprIsConstant
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x21]
	ldr	w2, [x20, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sqlite3ErrorMsg
Lloh10:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_TK_ID,8,3                      ; @TK_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid name: \"%s\""

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_TK_STRING,8,3                  ; @TK_STRING
	.no_dead_strip	_resolveAttachExpr
.subsections_via_symbols
