	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_nestloop_path
_try_nestloop_path:                     ## @try_nestloop_path
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r13
	movq	(%rdx), %r15
	movq	%rcx, %rdi
	callq	_PATH_REQ_OUTER
	movq	%rax, %r14
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_PATH_REQ_OUTER
	movq	8(%r13), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rdx
LBB0_2:
	movq	8(%r15), %r13
	testq	%r13, %r13
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %r13
LBB0_4:
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	callq	_calc_nestloop_required_outer
	movq	%rax, %r15
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_8
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%r15, %rdi
	callq	_bms_overlap
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_allow_star_schema_join
	testl	%eax, %eax
	je	LBB0_15
LBB0_7:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_have_dangerous_phv
	testq	%rax, %rax
	je	LBB0_8
LBB0_15:
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bms_free                       ## TAILCALL
LBB0_8:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_initial_cost_nestloop
	movl	-72(%rbp), %edx
	movl	-68(%rbp), %esi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_add_path_precheck
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_PATH_PARAM_BY_PARENT
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	(%r14), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_reparameterize_path_by_child
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_bms_free
	jmp	LBB0_14
LBB0_10:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_12:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	(%r8), %eax
	leaq	-72(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %r9
	pushq	%r15
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%r12
	callq	_create_nestloop_path
	addq	$32, %rsp
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_add_path
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_try_nestloop_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_nestloop_path
_try_nestloop_path:                     ; @try_nestloop_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x6
	mov	x21, x5
	mov	x25, x4
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x24, x0
	ldr	x28, [x3]
	ldr	x26, [x2]
	mov	x0, x3
	bl	_PATH_REQ_OUTER
	mov	x27, x0
	mov	x0, x22
	bl	_PATH_REQ_OUTER
	mov	x1, x0
	ldr	x2, [x28, #8]
	cbz	x2, LBB0_12
; %bb.1:
	ldr	x28, [x26, #8]
	cbnz	x28, LBB0_3
LBB0_2:
	ldr	x28, [x26]
LBB0_3:
	mov	x0, x28
	mov	x3, x27
	bl	_calc_nestloop_required_outer
	mov	x26, x0
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w1, [x20, #4]
	mov	x0, x26
	bl	_bms_overlap
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x28
	mov	x2, x27
	bl	_allow_star_schema_join
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x24
	mov	x1, x28
	mov	x2, x27
	bl	_have_dangerous_phv
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_bms_free
LBB0_8:
	add	x1, sp, #24
	mov	x0, x24
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x20
	bl	_initial_cost_nestloop
	ldp	w2, w1, [sp, #24]
	mov	x0, x19
	mov	x3, x25
	mov	x4, x26
	bl	_add_path_precheck
	cbz	x0, LBB0_13
; %bb.9:
	ldr	x1, [x22]
	mov	x0, x23
	bl	_PATH_PARAM_BY_PARENT
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x2, [x22]
	mov	x0, x24
	mov	x1, x23
	bl	_reparameterize_path_by_child
	mov	x23, x0
	cbz	x0, LBB0_13
LBB0_11:
	ldr	w7, [x20]
	stp	x25, x26, [sp]
	add	x3, sp, #24
	mov	x0, x24
	mov	x1, x19
	mov	x2, x21
	mov	x4, x20
	mov	x5, x22
	mov	x6, x23
	bl	_create_nestloop_path
	mov	x1, x0
	mov	x0, x19
	bl	_add_path
	b	LBB0_14
LBB0_12:
	ldr	x2, [x28]
	ldr	x28, [x26, #8]
	cbnz	x28, LBB0_3
	b	LBB0_2
LBB0_13:
	mov	x0, x26
	bl	_bms_free
LBB0_14:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_try_nestloop_path
.subsections_via_symbols
