	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isSelfJoinView
_isSelfJoinView:                        ## @isSelfJoinView
	.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	(%rdi), %rbx
	cmpq	%rsi, %rbx
	jae	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%r14)
	setne	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	16(%r14), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_sqlite3_stricmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %r15
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	movq	8(%r14), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rax), %esi
	movl	12(%r15), %edx
	xorl	%edi, %edi
	movl	$-1, %ecx
	callq	_sqlite3ExprCompare
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movl	8(%rax), %esi
	movl	8(%r15), %edx
	xorl	%edi, %edi
	movl	$-1, %ecx
	callq	_sqlite3ExprCompare
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_13
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_isSelfJoinView
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isSelfJoinView
_isSelfJoinView:                        ; @isSelfJoinView
	.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
	ldr	x19, [x0]
	cmp	x19, x1
	b.hs	LBB0_12
; %bb.1:
	mov	x20, x1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #32
	cmp	x19, x20
	b.hs	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	ldr	x1, [x20]
	bl	_sqlite3_stricmp
	cbnz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x21, x8, [x19, #8]
	ldr	x9, [x8]
	ldr	x8, [x20, #8]
	cbnz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x8, #12]
	ldr	w2, [x21, #12]
	mov	w0, #0
	mov	w3, #-1
	bl	_sqlite3ExprCompare
	cbnz	x0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #8]
	ldr	w2, [x21, #8]
	mov	w3, #-1
	bl	_sqlite3ExprCompare
	cbnz	x0, LBB0_2
	b	LBB0_13
LBB0_12:
	mov	x19, #0
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_isSelfJoinView
.subsections_via_symbols
