	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_query
_store_query:                           ## @store_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	%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	%rcx, %rbx
	movq	%rsi, %r13
	movl	%edx, %eax
	notl	%eax
	addl	%ebx, %eax
	xorl	%esi, %esi
	testq	%rdx, %rdx
	cmovnel	%edx, %ebx
	cmovnel	%eax, %esi
	movl	$1, %r15d
	subl	%r13d, %ebx
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.2:
	incq	%rdx
	movq	%rdx, %rdi
	callq	_create_unescaped_string
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r12
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_create_unescaped_string
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_5:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_create_unescaped_string
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	movq	8(%r14), %rcx
	movslq	(%r14), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r14)
	shlq	$4, %rdx
	movq	%rax, (%rcx,%rdx)
	movq	%r12, 8(%rcx,%rdx)
	jmp	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_store_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_query
_store_query:                           ; @store_query
	.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
	mov	x20, x1
	mvn	w8, w2
	add	w8, w3, w8
	cmp	x2, #0
	csel	w9, w3, w2, eq
	csel	w1, wzr, w8, eq
	subs	w22, w9, w20
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x0
	cbz	x2, LBB0_5
; %bb.2:
	add	x0, x2, #1
	bl	_create_unescaped_string
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	bl	_create_unescaped_string
	cbnz	x0, LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	bl	_create_unescaped_string
	cbz	x0, LBB0_9
; %bb.6:
	mov	x21, #0
LBB0_7:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	add	x8, x8, x9, lsl #4
	stp	x0, x21, [x8]
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_store_query
.subsections_via_symbols
