	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_query
_process_query:                         ## @process_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movsbl	1(%rdi), %eax
	cmpl	$80, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$76, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$67, %eax
	jne	LBB0_25
## %bb.3:
	movw	$17233, (%r14)                  ## imm = 0x4351
	addq	$2, %r14
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_thread2vhstr
	movb	$0, (%rax)
	jmp	LBB0_25
LBB0_4:
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_parseqp
	testl	%eax, %eax
	je	LBB0_18
## %bb.5:
	cmpl	$32, -48(%rbp)
	jae	LBB0_18
## %bb.6:
	movl	-44(%rbp), %edi
	leaq	-40(%rbp), %rsi
	callq	_gdbstub_getthreadinfo
	testl	%eax, %eax
	je	LBB0_19
## %bb.7:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_packqq
	jmp	LBB0_25
LBB0_8:
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_parseql
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_19
## %bb.10:
	movq	_QM_MAXTHREADS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_12
## %bb.11:
	movl	%ecx, -40(%rbp)
LBB0_12:
	movq	%r14, %rdi
	callq	_reserve_qmheader
	movq	%rax, %r15
	cmpl	$0, -40(%rbp)
	jle	LBB0_21
## %bb.13:
	xorl	%r12d, %r12d
	cmpl	$0, -48(%rbp)
	movl	$0, %ebx
	jne	LBB0_15
## %bb.14:
	movl	-44(%rbp), %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_gdbstub_getnextthread
	testl	%eax, %eax
	jle	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_packqmthread
	movq	%rax, %r15
	incl	%r12d
	cmpl	-40(%rbp), %r12d
	jl	LBB0_15
	jmp	LBB0_22
LBB0_19:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_20
LBB0_18:
	leaq	L_.str(%rip), %rsi
LBB0_20:
	movq	%r14, %rdi
	callq	_strcpy
	jmp	LBB0_25
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	xorl	%edx, %edx
	jmp	LBB0_24
LBB0_23:
	movl	$1, %edx
LBB0_24:
	movb	$0, (%r15)
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_packqmheader
LBB0_25:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E01"

L_.str.1:                               ## @.str.1
	.asciz	"E02"

	.comm	_QM_MAXTHREADS,4,2              ## @QM_MAXTHREADS
	.no_dead_strip	_process_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_query
_process_query:                         ; @process_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldrsb	w8, [x0, #1]
	cmp	w8, #80
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #76
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #67
	b.ne	LBB0_23
; %bb.3:
	mov	w8, #17233
	strh	w8, [x19], #2
	mov	x0, x19
	mov	x1, x2
	bl	_thread2vhstr
	strb	wzr, [x0]
	b	LBB0_23
LBB0_4:
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_parseqp
	cbz	w0, LBB0_17
; %bb.5:
	ldr	w8, [sp, #8]
	cmp	w8, #32
	b.hs	LBB0_17
; %bb.6:
	ldr	w0, [sp, #12]
	mov	x1, sp
	bl	_gdbstub_getthreadinfo
	cbz	w0, LBB0_16
; %bb.7:
	ldp	w1, w2, [sp, #8]
	mov	x3, sp
	mov	x0, x19
	bl	_packqq
	b	LBB0_23
LBB0_8:
	add	x1, sp, #8
	mov	x2, sp
	add	x3, sp, #12
	bl	_parseql
	cbz	w0, LBB0_16
; %bb.9:
	ldr	w9, [sp]
	cbz	w9, LBB0_16
; %bb.10:
Lloh0:
	adrp	x8, _QM_MAXTHREADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_MAXTHREADS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_12
; %bb.11:
	str	w8, [sp]
LBB0_12:
	mov	x0, x19
	bl	_reserve_qmheader
	mov	x20, x0
	ldr	w8, [sp]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.13:
	mov	w21, #0
	ldp	w8, w9, [sp, #8]
	cmp	w8, #0
	csel	w22, w9, wzr, eq
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_gdbstub_getnextthread
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_packqmthread
	mov	x20, x0
	add	w21, w21, #1
	ldr	w8, [sp]
	cmp	w21, w8
	b.lt	LBB0_14
	b	LBB0_20
LBB0_16:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_strcpy
	b	LBB0_23
LBB0_19:
	mov	w21, #0
LBB0_20:
	mov	w2, #0
	b	LBB0_22
LBB0_21:
	mov	w2, #1
LBB0_22:
	strb	wzr, [x20]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	bl	_packqmheader
LBB0_23:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E01"

l_.str.1:                               ; @.str.1
	.asciz	"E02"

	.comm	_QM_MAXTHREADS,4,2              ; @QM_MAXTHREADS
	.no_dead_strip	_process_query
.subsections_via_symbols
