	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_worktable_pathlist
_set_worktable_pathlist:                ## @set_worktable_pathlist
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%r12, %r14
	cmpq	$2, %rbx
	jl	LBB0_7
## %bb.3:
	incq	%rbx
	movq	%r12, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	decq	%rbx
	cmpq	$2, %rbx
	jbe	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13), %edx
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_6
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13), %edx
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	%r12, %r14
LBB0_7:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_9:
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_set_cte_size_estimates
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_create_worktablescan_path
	movq	%r15, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_path                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad levelsup for CTE \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"could not find path for CTE \"%s\""

	.no_dead_strip	_set_worktable_pathlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_worktable_pathlist
_set_worktable_pathlist:                ; @set_worktable_pathlist
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x2]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x23, x20
	cmp	x8, #2
	b.lt	LBB0_7
; %bb.2:
	add	x24, x8, #1
Lloh0:
	adrp	x25, _ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
	mov	x23, x20
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x24, x24, #1
	cmp	x24, #2
	b.ls	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	ldr	w2, [x21, #8]
	mov	x1, x22
	bl	_elog
	b	LBB0_3
LBB0_6:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w2, [x21, #8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	x23, x20
LBB0_7:
	ldr	x22, [x23]
	cbnz	x22, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w2, [x21, #8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_9:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_set_cte_size_estimates
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_create_worktablescan_path
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_add_path
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad levelsup for CTE \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"could not find path for CTE \"%s\""

	.no_dead_strip	_set_worktable_pathlist
.subsections_via_symbols
