	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deparseFromExprForRel
_deparseFromExprForRel:                 ## @deparseFromExprForRel
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r12
	movq	%rdx, %rdi
	callq	_IS_JOIN_REL
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movq	24(%r12), %r14
	movq	32(%r12), %rbx
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.2:
	movl	4(%r15), %esi
	movl	%r13d, %edi
	callq	_bms_is_member
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	(%r12), %rax
	movq	_JOIN_INNER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ebx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	movq	8(%r12), %rsi
	callq	_list_concat
	movq	%rax, (%r13)
	movl	%ebx, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
LBB0_5:
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	cmpl	%r13d, (%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_6
## %bb.13:
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	callq	_initStringInfo
	movl	16(%r12), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_deparseRangeTblRef
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	_JOIN_INNER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	8(%r12), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movl	-88(%rbp), %esi
	jmp	LBB0_14
LBB0_16:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_planner_rt_fetch
	movl	(%rax), %edi
	movq	_NoLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_deparseRelation
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:
	movq	_REL_ALIAS_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_appendStringInfo
LBB0_18:
	movl	(%r12), %esi
	movl	%r13d, %edi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
LBB0_8:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	callq	_initStringInfo
	movl	20(%r12), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	%r13d, %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ebx
	movl	%eax, %r8d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r9
	callq	_deparseRangeTblRef
LBB0_9:
	leaq	-88(%rbp), %rdi
	callq	_initStringInfo
	movl	16(%r12), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	leaq	-88(%rbp), %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %r8d
	movq	%r14, %r9
	callq	_deparseRangeTblRef
	movl	$1, %edi
	callq	_Assert
	movl	-96(%rbp), %r14d
	movq	(%r12), %rdi
	callq	_get_jointype_name
	movl	-88(%rbp), %r8d
	leaq	L_.str(%rip), %rsi
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_appendStringInfo
	cmpq	$0, 8(%r12)
	je	LBB0_11
## %bb.10:
	movl	%ebx, -104(%rbp)
	movq	%r15, -112(%rbp)
	movq	%r15, -120(%rbp)
	movq	%r13, -128(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movl	%ebx, %edi
	movl	$40, %esi
	callq	_appendStringInfoChar
	movq	8(%r12), %rdi
	leaq	-136(%rbp), %rsi
	callq	_appendConditions
	movl	%ebx, %edi
	movl	$41, %esi
	callq	_appendStringInfoChar
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	callq	_appendStringInfoString
LBB0_12:
	movl	%ebx, %edi
	movl	$41, %esi
	callq	_appendStringInfoChar
	jmp	LBB0_15
LBB0_6:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r13d
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	callq	_initStringInfo
	movl	20(%r12), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r9
	callq	_deparseRangeTblRef
	cmpl	%ebx, %r13d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_9
## %bb.7:
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	_JOIN_INNER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	8(%r12), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movl	-96(%rbp), %esi
	leaq	-96(%rbp), %r15
LBB0_14:
	movl	4(%r15), %edx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_appendBinaryStringInfo
LBB0_15:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JOIN_INNER,8,3                 ## @JOIN_INNER
	.comm	_NIL,8,3                        ## @NIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s %s JOIN %s ON "

L_.str.1:                               ## @.str.1
	.asciz	"(TRUE)"

	.comm	_NoLock,4,2                     ## @NoLock
L_.str.2:                               ## @.str.2
	.asciz	" %s%d"

	.comm	_REL_ALIAS_PREFIX,4,2           ## @REL_ALIAS_PREFIX
	.no_dead_strip	_deparseFromExprForRel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deparseFromExprForRel
_deparseFromExprForRel:                 ; @deparseFromExprForRel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x27, [x2, #8]
	mov	x0, x2
	bl	_IS_JOIN_REL
	cbz	x0, LBB0_7
; %bb.1:
	ldp	x25, x26, [x27, #24]
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	w1, [x20, #4]
	mov	x0, x24
	bl	_bms_is_member
	cbz	x0, LBB0_10
; %bb.3:
	ldr	x8, [x27]
Lloh0:
	adrp	x28, _JOIN_INNER@GOTPAGE
Lloh1:
	ldr	x28, [x28, _JOIN_INNER@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [x23]
	ldr	x1, [x27, #8]
	bl	_list_concat
	str	x0, [x23]
Lloh2:
	adrp	x8, _NIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x27, #8]
LBB0_5:
	ldr	w8, [x26]
	cmp	w8, w24
	b.ne	LBB0_15
; %bb.6:
	add	x20, sp, #48
	add	x0, sp, #48
	bl	_initStringInfo
	ldr	w3, [x27, #16]
	add	x0, sp, #48
	mov	x1, x22
	mov	x2, x25
	mov	x4, x24
	mov	x5, x23
	mov	x6, x21
	bl	_deparseRangeTblRef
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x27, #8]
Lloh5:
	adrp	x9, _NIL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w1, [sp, #48]
	b	LBB0_17
LBB0_7:
	ldr	w0, [x20]
	mov	x1, x22
	bl	_planner_rt_fetch
	ldr	w0, [x0]
Lloh8:
	adrp	x22, _NoLock@GOTPAGE
Lloh9:
	ldr	x22, [x22, _NoLock@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_table_open
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_deparseRelation
	cbz	w25, LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _REL_ALIAS_PREFIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REL_ALIAS_PREFIX@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	ldr	w3, [x20]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_appendStringInfo
LBB0_9:
	ldr	w1, [x22]
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_table_close
LBB0_10:
	add	x0, sp, #56
	bl	_initStringInfo
	ldr	w3, [x27, #20]
	add	x0, sp, #56
	mov	x1, x22
	mov	x2, x26
	mov	x4, x24
	mov	x5, x23
	mov	x6, x21
	bl	_deparseRangeTblRef
LBB0_11:
	add	x0, sp, #48
	bl	_initStringInfo
	ldr	w3, [x27, #16]
	add	x0, sp, #48
	mov	x1, x22
	mov	x2, x25
	mov	x4, x24
	mov	x5, x23
	mov	x6, x21
	bl	_deparseRangeTblRef
	mov	w0, #1
	bl	_Assert
	ldr	w23, [sp, #56]
	ldr	x0, [x27]
	bl	_get_jointype_name
	mov	x3, x0
	ldr	w8, [sp, #48]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_appendStringInfo
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_13
; %bb.12:
	str	w19, [sp, #40]
	stp	x20, x20, [sp, #24]
	stp	x21, x22, [sp, #8]
	mov	x0, x19
	mov	w1, #40
	bl	_appendStringInfoChar
	ldr	x0, [x27, #8]
	add	x1, sp, #8
	bl	_appendConditions
	mov	x0, x19
	mov	w1, #41
	bl	_appendStringInfoChar
	b	LBB0_14
LBB0_13:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_appendStringInfoString
LBB0_14:
	mov	x0, x19
	mov	w1, #41
	bl	_appendStringInfoChar
	b	LBB0_18
LBB0_15:
	ldr	w28, [x25]
	add	x0, sp, #56
	bl	_initStringInfo
	ldr	w3, [x27, #20]
	add	x0, sp, #56
	mov	x1, x22
	mov	x2, x26
	mov	x4, x24
	mov	x5, x23
	mov	x6, x21
	bl	_deparseRangeTblRef
	cmp	w28, w24
	b.ne	LBB0_11
; %bb.16:
	ldr	x8, [x27]
Lloh19:
	adrp	x9, _JOIN_INNER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _JOIN_INNER@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x27, #8]
Lloh22:
	adrp	x9, _NIL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	add	x20, sp, #56
	ldr	w1, [sp, #56]
LBB0_17:
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_appendBinaryStringInfo
LBB0_18:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_JOIN_INNER,8,3                 ; @JOIN_INNER
	.comm	_NIL,8,3                        ; @NIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s %s JOIN %s ON "

l_.str.1:                               ; @.str.1
	.asciz	"(TRUE)"

	.comm	_NoLock,4,2                     ; @NoLock
l_.str.2:                               ; @.str.2
	.asciz	" %s%d"

	.comm	_REL_ALIAS_PREFIX,4,2           ; @REL_ALIAS_PREFIX
	.no_dead_strip	_deparseFromExprForRel
.subsections_via_symbols
