	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_loop_count
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_loop_count:                        ## @get_loop_count
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	%rdx, %rdi
	movl	$-1, %esi
	callq	_bms_next_member
	xorpd	%xmm0, %xmm0
	xorpd	%xmm1, %xmm1
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movl	%eax, %ebx
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bms_next_member
	movl	%eax, %ebx
	testl	%eax, %eax
	xorpd	%xmm0, %xmm0
	js	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %ebx
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpl	%ebx, (%r13)
	sete	%dil
	callq	_Assert
	movq	%r13, %rdi
	callq	_IS_DUMMY_REL
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 8(%r13)
	setg	%dil
	callq	_Assert
	movq	8(%r13), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_adjust_rowcount_for_semijoins
	movapd	-64(%rbp), %xmm3                ## 16-byte Reload
	movapd	%xmm3, %xmm1
	cmpeqsd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm2
	andpd	%xmm0, %xmm2
	minsd	%xmm3, %xmm0
	andnpd	%xmm0, %xmm1
	orpd	%xmm2, %xmm1
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	jmp	LBB0_8
LBB0_9:
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	cmpltsd	%xmm2, %xmm0
	andpd	%xmm0, %xmm2
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	andnpd	%xmm1, %xmm0
	orpd	%xmm2, %xmm0
	jmp	LBB0_10
LBB0_1:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_loop_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_loop_count
_get_loop_count:                        ; @get_loop_count
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_8
; %bb.1:
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	.cfi_remember_state
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	mov	w1, #-1
	bl	_bms_next_member
	tbnz	w0, #31, LBB0_9
; %bb.2:
	mov	x22, x0
	movi	d9, #0000000000000000
	movi	d8, #0000000000000000
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_bms_next_member
	mov	x22, x0
	tbnz	w0, #31, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w22, w8
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x23, [x8, w22, uxtw #3]
	cbz	x23, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	cmp	w8, w22
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_IS_DUMMY_REL
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x3, [x23, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_adjust_rowcount_for_semijoins
	fcmp	d8, d0
	fccmp	d8, d9, #4, le
	fcsel	d8, d0, d8, eq
	b	LBB0_3
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value b8
	.cfi_same_value b9
	fmov	d0, #1.00000000
	ret
LBB0_9:
	.cfi_restore_state
	movi	d8, #0000000000000000
LBB0_10:
	fcmp	d8, #0.0
	fmov	d0, #1.00000000
	fcsel	d0, d8, d0, gt
	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	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_loop_count
.subsections_via_symbols
