	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_query_node
_new_query_node:                        ## @new_query_node
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_Q_nodes@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_MAX_QUERY_NODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jge	LBB0_1
## %bb.2:
	movl	%edi, %r14d
	movq	_QV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	leaq	(%r12,%rbx,4), %r15
	leal	1(%rbx), %ecx
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r14d, (%r12,%rbx,4)
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QV,8,3                         ## @QV
	.comm	_Q_nodes,4,2                    ## @Q_nodes
	.comm	_MAX_QUERY_NODES,4,2            ## @MAX_QUERY_NODES
	.no_dead_strip	_new_query_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_query_node
_new_query_node:                        ; @new_query_node
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _Q_nodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_nodes@GOTPAGEOFF]
	ldrsw	x9, [x8]
Lloh2:
	adrp	x10, _MAX_QUERY_NODES@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MAX_QUERY_NODES@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x10, _QV@GOTPAGE
Lloh6:
	ldr	x10, [x10, _QV@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x20, x10, x9, lsl #2
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w19, [x20]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QV,8,3                         ; @QV
	.comm	_Q_nodes,4,2                    ; @Q_nodes
	.comm	_MAX_QUERY_NODES,4,2            ; @MAX_QUERY_NODES
	.no_dead_strip	_new_query_node
.subsections_via_symbols
