	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_partial_mergejoin_path
_try_partial_mergejoin_path:            ## @try_partial_mergejoin_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
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	callq	_bms_is_empty
	movl	%eax, %edi
	callq	_Assert
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_bms_is_empty
	testl	%eax, %eax
	je	LBB0_12
LBB0_2:
	movq	24(%rbp), %r15
	movq	16(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_pathkeys_contained_in
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_6
LBB0_3:
	xorl	%r12d, %r12d
LBB0_6:
	movq	40(%rbp), %r13
	movl	32(%rbp), %r14d
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_pathkeys_contained_in
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_10
LBB0_7:
	xorl	%r15d, %r15d
LBB0_10:
	subq	$8, %rsp
	leaq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	%r13
	pushq	%r15
	pushq	%r12
	callq	_initial_cost_mergejoin
	addq	$32, %rsp
	movl	-48(%rbp), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_add_partial_path_precheck
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	(%r13), %r10d
	subq	$8, %rsp
	leaq	-48(%rbp), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r13, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%r15
	pushq	%r12
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rax
	callq	_create_mergejoin_path
	addq	$64, %rsp
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_add_partial_path
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.no_dead_strip	_try_partial_mergejoin_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_partial_mergejoin_path
_try_partial_mergejoin_path:            ; @try_partial_mergejoin_path
	.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	x27, x7
	mov	x28, x6
	str	x5, [sp, #48]                   ; 8-byte Folded Spill
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
	ldr	w0, [x1]
	bl	_bms_is_empty
	bl	_Assert
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8]
	bl	_bms_is_empty
	cbz	w0, LBB0_8
LBB0_2:
	ldr	x25, [x29, #24]
	ldr	w26, [x29, #16]
Lloh0:
	adrp	x22, _NIL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NIL@GOTPAGEOFF]
	cbz	x28, LBB0_4
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x28
	bl	_pathkeys_contained_in
	ldr	x8, [x22]
	cmp	x0, #0
	csel	x28, x28, x8, eq
LBB0_4:
	cbz	x27, LBB0_6
; %bb.5:
	ldr	w1, [x20]
	mov	x0, x27
	bl	_pathkeys_contained_in
	ldr	x8, [x22]
	cmp	x0, #0
	csel	x27, x27, x8, eq
LBB0_6:
	str	x25, [sp]
	add	x1, sp, #56
	mov	x0, x24
	mov	x2, x26
	ldr	x3, [sp, #48]                   ; 8-byte Folded Reload
	mov	x4, x21
	mov	x5, x20
	mov	x6, x28
	mov	x7, x27
	bl	_initial_cost_mergejoin
	ldr	w1, [sp, #56]
	mov	x0, x19
	mov	x2, x23
	bl	_add_partial_path_precheck
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w7, [x25]
	stp	x28, x27, [sp, #24]
	add	x3, sp, #56
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	stp	xzr, x8, [sp, #8]
	str	x23, [sp]
	mov	x0, x24
	mov	x1, x19
	mov	x2, x26
	mov	x4, x25
	mov	x5, x21
	mov	x6, x20
	bl	_create_mergejoin_path
	mov	x1, x0
	mov	x0, x19
	bl	_add_partial_path
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.no_dead_strip	_try_partial_mergejoin_path
.subsections_via_symbols
