	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_query                   ## -- Begin function handle_query
	.p2align	4, 0x90
_handle_query:                          ## @handle_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	_the_target@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.12:
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	movl	$17, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_20:
	movb	$0, (%rbx)
	jmp	LBB0_21
LBB0_1:
	movq	_the_target@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
LBB0_6:
	movq	_all_threads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _handle_query.thread_ptr(%rip)
	jmp	LBB0_9
LBB0_8:
	movq	_handle_query.thread_ptr(%rip), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	_handle_query.thread_ptr(%rip), %rax
	movq	8(%rax), %rax
	movq	%rax, _handle_query.thread_ptr(%rip)
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rsp, %r12
	movq	_PBUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	decl	%ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %r15d
	decl	%r15d
	sarl	%r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	17(%rbx), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_decode_m_packet
	movl	-52(%rbp), %edx
	cmpl	%r15d, %edx
	jbe	LBB0_15
## %bb.14:
	movl	%r15d, -52(%rbp)
	movl	%r15d, %edx
LBB0_15:
	movq	(%r13), %rax
	movl	-56(%rbp), %edi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	js	LBB0_18
## %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_convert_int_to_ascii
	movq	%r12, %rsp
	jmp	LBB0_21
LBB0_10:
	movw	$108, (%rbx)
	jmp	LBB0_21
LBB0_16:
	movq	%rbx, %rdi
	callq	_write_ok
	movq	%r12, %rsp
	jmp	LBB0_21
LBB0_18:
	movq	%rbx, %rdi
	callq	_write_enn
	movq	%r12, %rsp
	jmp	LBB0_21
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_handle_query.thread_ptr,8,3 ## @handle_query.thread_ptr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qSymbol::"

	.comm	_the_target,8,3                 ## @the_target
L_.str.1:                               ## @.str.1
	.asciz	"OK"

L_.str.2:                               ## @.str.2
	.asciz	"qfThreadInfo"

	.comm	_all_threads,8,3                ## @all_threads
L_.str.3:                               ## @.str.3
	.asciz	"m%x"

L_.str.4:                               ## @.str.4
	.asciz	"qsThreadInfo"

L_.str.6:                               ## @.str.6
	.asciz	"qPart:auxv:read::"

	.comm	_PBUFSIZ,4,2                    ## @PBUFSIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_query                   ; -- Begin function handle_query
	.p2align	2
_handle_query:                          ; @handle_query
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.2:
Lloh7:
	adrp	x0, l_.str.4@PAGE
Lloh8:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh9:
	adrp	x23, _the_target@GOTPAGE
Lloh10:
	ldr	x23, [x23, _the_target@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	mov	w2, #17
	bl	_strncmp
	cbz	x0, LBB0_15
LBB0_5:
	strb	wzr, [x19]
	b	LBB0_13
LBB0_6:
Lloh13:
	adrp	x8, _the_target@GOTPAGE
Lloh14:
	ldr	x8, [x8, _the_target@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.7:
	blr	x8
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.9:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strcpy
LBB0_10:
Lloh21:
	adrp	x8, _all_threads@GOTPAGE
Lloh22:
	ldr	x8, [x8, _all_threads@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	adrp	x20, _handle_query.thread_ptr@PAGE
	str	x8, [x20, _handle_query.thread_ptr@PAGEOFF]
	b	LBB0_12
LBB0_11:
	adrp	x20, _handle_query.thread_ptr@PAGE
	ldr	x8, [x20, _handle_query.thread_ptr@PAGEOFF]
	cbz	x8, LBB0_20
LBB0_12:
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	add	sp, sp, #16
	ldr	x8, [x20, _handle_query.thread_ptr@PAGEOFF]
	ldr	x8, [x8, #8]
	str	x8, [x20, _handle_query.thread_ptr@PAGEOFF]
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.14:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x22, sp
Lloh29:
	adrp	x8, _PBUFSIZ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PBUFSIZ@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w21, w8, #1
	add	x8, x21, #15
	and	x8, x8, #0x1fffffff0
	mov	x9, x21
Lloh32:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh33:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x8
	mov	sp, x20
	add	x0, x19, #17
	sub	x1, x29, #60
	sub	x2, x29, #64
	bl	_decode_m_packet
	ldur	w2, [x29, #-64]
	cmp	w2, w21
	b.ls	LBB0_17
; %bb.16:
	stur	w21, [x29, #-64]
	mov	x2, x21
LBB0_17:
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldur	w0, [x29, #-60]
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_21
; %bb.18:
	mov	x2, x0
	tbnz	w0, #31, LBB0_22
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	bl	_convert_int_to_ascii
	mov	sp, x22
	b	LBB0_13
LBB0_20:
	mov	w8, #108
	strh	w8, [x19]
	b	LBB0_13
LBB0_21:
	mov	x0, x19
	bl	_write_ok
	mov	sp, x22
	b	LBB0_13
LBB0_22:
	mov	x0, x19
	bl	_write_enn
	mov	sp, x22
	b	LBB0_13
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_handle_query.thread_ptr,8,3 ; @handle_query.thread_ptr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qSymbol::"

	.comm	_the_target,8,3                 ; @the_target
l_.str.1:                               ; @.str.1
	.asciz	"OK"

l_.str.2:                               ; @.str.2
	.asciz	"qfThreadInfo"

	.comm	_all_threads,8,3                ; @all_threads
l_.str.3:                               ; @.str.3
	.asciz	"m%x"

l_.str.4:                               ; @.str.4
	.asciz	"qsThreadInfo"

l_.str.6:                               ; @.str.6
	.asciz	"qPart:auxv:read::"

	.comm	_PBUFSIZ,4,2                    ; @PBUFSIZ
.subsections_via_symbols
