	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_query                  ## -- Begin function perform_query
	.p2align	4, 0x90
_perform_query:                         ## @perform_query
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_dyn_mark
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_get_utime
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_perform_query_internal
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_get_utime
	subsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	_verbosity@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_fprintf
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	(%r14), %eax
LBB0_2:
	movq	_tot_queries_time@GOTPCREL(%rip), %rcx
	addsd	(%rcx), %xmm0
	movsd	%xmm0, (%rcx)
	movq	_tot_queries@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	incl	%ecx
	movl	%ecx, (%rdx)
	movq	_profiler_cnt@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	incl	60(%rdx)
	movq	_profiler@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addl	%ebx, 60(%rdx)
	cmpl	$3, %eax
	jl	LBB0_5
## %bb.3:
	movq	_QUERY_STATS_PERIODICITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	testl	%ecx, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_dump_profiler_data
LBB0_5:
	callq	_dyn_release
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"query performed in %.6f seconds\n"

	.comm	_tot_queries_time,8,3           ## @tot_queries_time
	.comm	_tot_queries,4,2                ## @tot_queries
	.comm	_profiler_cnt,8,3               ## @profiler_cnt
	.comm	_profiler,8,3                   ## @profiler
	.comm	_QUERY_STATS_PERIODICITY,4,2    ## @QUERY_STATS_PERIODICITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_query                  ; -- Begin function perform_query
	.p2align	2
_perform_query:                         ; @perform_query
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	bl	_dyn_mark
Lloh0:
	adrp	x20, _CLOCK_MONOTONIC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CLOCK_MONOTONIC@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_get_utime
	fmov	d8, d0
	mov	x0, x19
	bl	_perform_query_internal
	mov	x19, x0
	ldr	w0, [x20]
	bl	_get_utime
	fsub	d8, d0, d8
Lloh2:
	adrp	x20, _verbosity@GOTPAGE
Lloh3:
	ldr	x20, [x20, _verbosity@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	fmov	d0, d8
	bl	_fprintf
	ldr	w8, [x20]
LBB0_2:
Lloh9:
	adrp	x9, _tot_queries_time@GOTPAGE
Lloh10:
	ldr	x9, [x9, _tot_queries_time@GOTPAGEOFF]
	ldr	d0, [x9]
	fadd	d0, d8, d0
	str	d0, [x9]
Lloh11:
	adrp	x10, _tot_queries@GOTPAGE
Lloh12:
	ldr	x10, [x10, _tot_queries@GOTPAGEOFF]
Lloh13:
	adrp	x9, _profiler_cnt@GOTPAGE
Lloh14:
	ldr	x9, [x9, _profiler_cnt@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w11, [x9, #60]
	add	w11, w11, #1
	str	w11, [x9, #60]
	ldr	w9, [x10]
	add	w9, w9, #1
Lloh16:
	adrp	x11, _profiler@GOTPAGE
Lloh17:
	ldr	x11, [x11, _profiler@GOTPAGEOFF]
	str	w9, [x10]
Lloh18:
	ldr	x10, [x11]
	ldr	w11, [x10, #60]
	add	w11, w11, w19
	str	w11, [x10, #60]
	cmp	w8, #2
	b.le	LBB0_5
; %bb.3:
Lloh19:
	adrp	x8, _QUERY_STATS_PERIODICITY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _QUERY_STATS_PERIODICITY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	sub	w8, w8, #1
	tst	w8, w9
	b.ne	LBB0_5
; %bb.4:
	bl	_dump_profiler_data
LBB0_5:
	bl	_dyn_release
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"query performed in %.6f seconds\n"

	.comm	_tot_queries_time,8,3           ; @tot_queries_time
	.comm	_tot_queries,4,2                ; @tot_queries
	.comm	_profiler_cnt,8,3               ; @profiler_cnt
	.comm	_profiler,8,3                   ; @profiler
	.comm	_QUERY_STATS_PERIODICITY,4,2    ; @QUERY_STATS_PERIODICITY
.subsections_via_symbols
