	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_query_iterator         ## -- Begin function perform_query_iterator
	.p2align	4, 0x90
_perform_query_iterator:                ## @perform_query_iterator
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movl	$6, %edi
	callq	_PROFILER
	movq	_Qq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_build_iterator_from_query
	movq	%rax, %r14
	movl	$7, %edi
	callq	_PROFILER
	movl	(%r14), %ebx
	movq	_INFTY@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jge	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_store_res
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*8(%r14)
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jl	LBB0_3
LBB0_4:
	movl	$8, %edi
	callq	_PROFILER
	xorl	%eax, %eax
	callq	_postprocess_res
	movl	$9, %edi
	callq	_PROFILER
	movq	_R_tot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"performing query via iterators\n"

	.comm	_Qq,4,2                         ## @Qq
	.comm	_INFTY,4,2                      ## @INFTY
	.comm	_R_tot,4,2                      ## @R_tot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_query_iterator         ; -- Begin function perform_query_iterator
	.p2align	2
_perform_query_iterator:                ; @perform_query_iterator
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	w0, #6
	bl	_PROFILER
Lloh8:
	adrp	x8, _Qq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Qq@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_build_iterator_from_query
	mov	x19, x0
	mov	w0, #7
	bl	_PROFILER
	ldr	w20, [x19]
Lloh11:
	adrp	x21, _INFTY@GOTPAGE
Lloh12:
	ldr	x21, [x21, _INFTY@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.ge	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_store_res
	ldr	x8, [x19, #8]
	add	w1, w20, #1
	mov	x0, x19
	blr	x8
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.lt	LBB0_3
LBB0_4:
	mov	w0, #8
	bl	_PROFILER
	bl	_postprocess_res
	mov	w0, #9
	bl	_PROFILER
Lloh13:
	adrp	x8, _R_tot@GOTPAGE
Lloh14:
	ldr	x8, [x8, _R_tot@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"performing query via iterators\n"

	.comm	_Qq,4,2                         ; @Qq
	.comm	_INFTY,4,2                      ; @INFTY
	.comm	_R_tot,4,2                      ; @R_tot
.subsections_via_symbols
