	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_long_query_stats
_prepare_long_query_stats:              ## @prepare_long_query_stats
	.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	_stats_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_long_query_buff_ptr@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.1:
	incq	%r12
	movq	_last_long_query_buff@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	leal	-2(%r12), %eax
	movq	_last_long_query_utime@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	movq	_last_long_query_time@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ecx
	movq	_last_long_query_found@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rsi,%rax,4), %r8d
	movq	(%r13), %rsi
	movl	(%rsi,%rax,4), %r9d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	decq	%r12
	cmpq	$1, %r12
	ja	LBB0_2
## %bb.3:
	movq	_long_query_buff_ptr@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
LBB0_4:
	movq	_SAVED_LONG_QUERIES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpl	%r12d, %eax
	jle	LBB0_7
## %bb.5:
	movq	_last_long_query_buff@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %r12
	movq	_last_long_query_utime@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-4(%rcx,%rax,4), %edx
	movq	_last_long_query_time@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-4(%rcx,%rax,4), %ecx
	movq	_last_long_query_found@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	-4(%rsi,%rax,4), %r8d
	movq	(%r15), %rsi
	movl	-4(%rsi,%rax,4), %r9d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movslq	(%r13), %rcx
	movq	%r12, %rax
	cmpq	%rcx, %r12
	jg	LBB0_6
LBB0_7:
	movq	_stats_buff@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stats_buff,8,3                 ## @stats_buff
	.comm	_long_query_buff_ptr,4,2        ## @long_query_buff_ptr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.3lf %.6lf %d %.120s\n"

	.comm	_last_long_query_utime,8,3      ## @last_long_query_utime
	.comm	_last_long_query_time,8,3       ## @last_long_query_time
	.comm	_last_long_query_found,8,3      ## @last_long_query_found
	.comm	_last_long_query_buff,8,3       ## @last_long_query_buff
	.comm	_SAVED_LONG_QUERIES,4,2         ## @SAVED_LONG_QUERIES
	.no_dead_strip	_prepare_long_query_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_long_query_stats
_prepare_long_query_stats:              ; @prepare_long_query_stats
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x21, _stats_buff@GOTPAGE
Lloh1:
	ldr	x21, [x21, _stats_buff@GOTPAGEOFF]
	ldr	x19, [x21]
Lloh2:
	adrp	x22, _long_query_buff_ptr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _long_query_buff_ptr@GOTPAGEOFF]
Lloh4:
	adrp	x23, _last_long_query_utime@GOTPAGE
Lloh5:
	ldr	x23, [x23, _last_long_query_utime@GOTPAGEOFF]
Lloh6:
	adrp	x24, _last_long_query_time@GOTPAGE
Lloh7:
	ldr	x24, [x24, _last_long_query_time@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh8:
	adrp	x25, _last_long_query_found@GOTPAGE
Lloh9:
	ldr	x25, [x25, _last_long_query_found@GOTPAGEOFF]
Lloh10:
	adrp	x26, _last_long_query_buff@GOTPAGE
Lloh11:
	ldr	x26, [x26, _last_long_query_buff@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	add	x27, x8, #1
Lloh12:
	adrp	x20, l_.str@PAGE
Lloh13:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w27, #2
	ldr	x9, [x23]
	lsl	x8, x8, #2
	ldr	w2, [x9, x8]
	ldr	x9, [x24]
	ldr	w3, [x9, x8]
	ldr	x9, [x25]
	ldr	w4, [x9, x8]
	ldr	x9, [x26]
	ldr	w5, [x9, x8]
	mov	x0, x19
	mov	x1, x20
	bl	_sprintf
	add	x19, x19, w0, sxtw
	sub	x27, x27, #1
	cmp	x27, #1
	b.hi	LBB0_2
; %bb.3:
	ldr	w8, [x22]
LBB0_4:
Lloh14:
	adrp	x9, _SAVED_LONG_QUERIES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SAVED_LONG_QUERIES@GOTPAGEOFF]
Lloh16:
	ldrsw	x9, [x9]
	cmp	w9, w8
	b.le	LBB0_7
; %bb.5:
	sub	x27, x9, #1
Lloh17:
	adrp	x20, l_.str@PAGE
Lloh18:
	add	x20, x20, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x9, x27, #2
	ldr	w2, [x8, x9]
	ldr	x8, [x24]
	ldr	w3, [x8, x9]
	ldr	x8, [x25]
	ldr	w4, [x8, x9]
	ldr	x8, [x26]
	ldr	w5, [x8, x9]
	mov	x0, x19
	mov	x1, x20
	bl	_sprintf
	add	x19, x19, w0, sxtw
	ldrsw	x8, [x22]
	sub	x9, x27, #1
	cmp	x27, x8
	mov	x27, x9
	b.gt	LBB0_6
LBB0_7:
	ldr	w8, [x21]
	sub	w0, w19, w8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_stats_buff,8,3                 ; @stats_buff
	.comm	_long_query_buff_ptr,4,2        ; @long_query_buff_ptr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.3lf %.6lf %d %.120s\n"

	.comm	_last_long_query_utime,8,3      ; @last_long_query_utime
	.comm	_last_long_query_time,8,3       ; @last_long_query_time
	.comm	_last_long_query_found,8,3      ; @last_long_query_found
	.comm	_last_long_query_buff,8,3       ; @last_long_query_buff
	.comm	_SAVED_LONG_QUERIES,4,2         ; @SAVED_LONG_QUERIES
	.no_dead_strip	_prepare_long_query_stats
.subsections_via_symbols
