	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function analyze_row_processor
_analyze_row_processor:                 ## @analyze_row_processor
	.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, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdx), %r13d
	movl	4(%rdx), %esi
	incl	%esi
	movl	%esi, 4(%rdx)
	movl	8(%rdx), %r12d
	cmpl	%r13d, %r12d
	jge	LBB0_2
## %bb.1:
	leal	1(%r12), %eax
	movl	%eax, 8(%rbx)
	testl	%r12d, %r12d
	jns	LBB0_9
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	12(%rbx), %eax
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	44(%rbx), %rdi
	movl	%r13d, %edx
	callq	_reservoir_get_next_S
	movl	%eax, 12(%rbx)
LBB0_4:
	movl	$-1, %r12d
	testl	%eax, %eax
	jg	LBB0_6
## %bb.5:
	movl	44(%rbx), %edi
	callq	_sampler_random_fract
	movl	%eax, %r12d
	imull	%r13d, %r12d
	testl	%r12d, %r12d
	setns	%al
	cmpl	%r13d, %r12d
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	movq	32(%rbx), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_heap_freetuple
	movl	12(%rbx), %eax
LBB0_6:
	decl	%eax
	movl	%eax, 12(%rbx)
	testl	%r12d, %r12d
	js	LBB0_8
LBB0_9:
	movl	40(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	movl	28(%rbx), %edx
	movl	24(%rbx), %ecx
	movl	16(%rbx), %eax
	movl	20(%rbx), %r8d
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%r9d, %r9d
	callq	_make_tuple_from_result_row
	movq	32(%rbx), %rcx
	movl	%r12d, %edx
	movl	%eax, (%rcx,%rdx,4)
	movl	%r13d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_analyze_row_processor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function analyze_row_processor
_analyze_row_processor:                 ; @analyze_row_processor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w22, w8, [x2]
	add	w1, w8, #1
	str	w1, [x2, #4]
	ldr	w23, [x2, #8]
	cmp	w23, w22
	b.ge	LBB0_3
; %bb.1:
	add	w8, w23, #1
	str	w8, [x19, #8]
	tbz	w23, #31, LBB0_9
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x19, #12]
	tbnz	w0, #31, LBB0_6
; %bb.4:
	cmp	w0, #0
	b.le	LBB0_7
LBB0_5:
	mov	w23, #-1
	b	LBB0_8
LBB0_6:
	add	x0, x19, #44
	mov	x2, x22
	bl	_reservoir_get_next_S
	str	w0, [x19, #12]
	cmp	w0, #0
	b.gt	LBB0_5
LBB0_7:
	ldr	w0, [x19, #44]
	bl	_sampler_random_fract
	mul	w23, w0, w22
	cmp	w23, #0
	ccmp	w23, w22, #0, ge
	cset	w0, lt
	bl	_Assert
	ldr	x8, [x19, #32]
	ldr	w0, [x8, w23, sxtw #2]
	bl	_heap_freetuple
	ldr	w0, [x19, #12]
LBB0_8:
	sub	w8, w0, #1
	str	w8, [x19, #12]
	tbnz	w23, #31, LBB0_2
LBB0_9:
	ldr	w0, [x19, #40]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	ldp	w3, w2, [x19, #24]
	ldp	w6, w4, [x19, #16]
	mov	x0, x21
	mov	x1, x20
	mov	x5, #0
	bl	_make_tuple_from_result_row
	ldr	x8, [x19, #32]
	str	w0, [x8, w23, uxtw #2]
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_MemoryContextSwitchTo
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_analyze_row_processor
.subsections_via_symbols
