	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parserDoubleLinkSelect
_parserDoubleLinkSelect:                ## @parserDoubleLinkSelect
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	$0, 8(%rbx)
	movq	_SF_Compound@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	orl	%eax, (%rbx)
	xorl	%eax, %eax
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movq	16(%rcx), %rdi
	movq	%rsi, 8(%rcx)
	movl	(%rdx), %esi
	orl	%esi, (%rcx)
	movq	%rcx, %rsi
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.3:
	movq	_SF_MultiValue@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_SQLITE_LIMIT_COMPOUND_SELECT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.5:
	cmpl	%ecx, %eax
	jl	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sqlite3ErrorMsg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SF_Compound,4,2                ## @SF_Compound
	.comm	_SF_MultiValue,4,2              ## @SF_MultiValue
	.comm	_SQLITE_LIMIT_COMPOUND_SELECT,8,3 ## @SQLITE_LIMIT_COMPOUND_SELECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many terms in compound SELECT"

	.no_dead_strip	_parserDoubleLinkSelect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parserDoubleLinkSelect
_parserDoubleLinkSelect:                ; @parserDoubleLinkSelect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_5
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x10, _SF_Compound@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SF_Compound@GOTPAGEOFF]
	str	xzr, [x20, #8]
	ldr	w11, [x10]
	ldr	w12, [x20]
	orr	w11, w12, w11
	str	w11, [x20]
	mov	x11, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, #1
	ldr	x12, [x9, #16]
	str	x11, [x9, #8]
	ldr	w11, [x10]
	ldr	w13, [x9]
	orr	w11, w13, w11
	str	w11, [x9]
	mov	x11, x9
	mov	x9, x12
	cbnz	x12, LBB0_2
; %bb.3:
	ldr	w9, [x20]
Lloh2:
	adrp	x10, _SF_MultiValue@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SF_MultiValue@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x19]
Lloh5:
	adrp	x10, _SQLITE_LIMIT_COMPOUND_SELECT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SQLITE_LIMIT_COMPOUND_SELECT@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh7:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w9, #1
	ccmp	w8, w9, #8, ge
	b.ge	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sqlite3ErrorMsg
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SF_Compound,4,2                ; @SF_Compound
	.comm	_SF_MultiValue,4,2              ; @SF_MultiValue
	.comm	_SQLITE_LIMIT_COMPOUND_SELECT,8,3 ; @SQLITE_LIMIT_COMPOUND_SELECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many terms in compound SELECT"

	.no_dead_strip	_parserDoubleLinkSelect
.subsections_via_symbols
