	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_history_query_group     ## -- Begin function create_history_query_group
	.p2align	4, 0x90
_create_history_query_group:            ## @create_history_query_group
	.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
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_fprintf
LBB0_2:
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	movq	8(%r15), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rax
	movq	16(%rax), %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r14, %rdi
	callq	_HTS_DATA
	movq	%r13, (%rax)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	8(%rdx), %ecx
	addq	$12, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_create_history_query
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	incl	4(%rax)
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_utime
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movl	%eax, (%rdx)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	$1, (%r14)
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"create_history_query_group (size = %d) (timeout = %lf)\n"

	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_history_query_group     ; -- Begin function create_history_query_group
	.p2align	2
_create_history_query_group:            ; @create_history_query_group
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	fmov	d8, d0
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	fmov	d0, d8
	bl	_fprintf
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x23, _CLOCK_MONOTONIC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CLOCK_MONOTONIC@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x22, #3
	ldr	x8, [x8, x24]
	ldr	x21, [x8, #16]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #8]
	ldr	x25, [x8, x24]
	mov	x0, x19
	bl	_HTS_DATA
	str	x25, [x0]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24]
	add	x2, x8, #12
	ldr	w3, [x8, #8]
	mov	x0, x21
	mov	x1, x19
	fmov	d0, d8
	bl	_create_history_query
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w0, [x23]
	bl	_get_utime
	ldr	x8, [x20, #8]
	ldr	x9, [x8, x24]
	str	w0, [x9]
	add	x22, x22, #1
	ldrsw	x9, [x20]
	cmp	x22, x9
	b.lt	LBB0_4
LBB0_5:
	mov	w8, #1
	str	w8, [x19]
	mov	w0, #1
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create_history_query_group (size = %d) (timeout = %lf)\n"

	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
.subsections_via_symbols
