	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_threads_info
_remote_threads_info:                   ## @remote_threads_info
	.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
	xorl	%eax, %eax
	callq	_get_remote_state
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_alloca
	movq	%rax, %r12
	movq	_remote_desc@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	movq	_use_threadinfo_query@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_putpkt
	movl	(%r14), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_getpkt
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_12
## %bb.4:
	movq	%r12, %r13
	incq	%r13
	movq	%r13, -48(%rbp)
	cmpb	$109, %al
	jne	LBB0_11
## %bb.5:
	leaq	-48(%rbp), %r15
	movq	%r13, %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_strtol
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_in_thread_list
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_add_thread
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rdi
	movq	%rdi, -48(%rbp)
	cmpb	$44, (%rax)
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_putpkt
	movl	(%r14), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_getpkt
	movq	%r13, -48(%rbp)
	cmpb	$109, (%r12)
	movq	%r13, %rdi
	je	LBB0_6
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	$0, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_remote_find_new_threads        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_desc,8,3                ## @remote_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Command can only be used when connected to the remote target."

	.comm	_use_threadinfo_query,8,3       ## @use_threadinfo_query
L_.str.1:                               ## @.str.1
	.asciz	"qfThreadInfo"

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

	.no_dead_strip	_remote_threads_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_threads_info
_remote_threads_info:                   ; @remote_threads_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_get_remote_state
	mov	x19, x0
	ldr	w0, [x0]
	bl	_alloca
	mov	x20, x0
Lloh0:
	adrp	x8, _remote_desc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remote_desc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh5:
	adrp	x21, _use_threadinfo_query@GOTPAGE
Lloh6:
	ldr	x21, [x21, _use_threadinfo_query@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_putpkt
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_getpkt
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
; %bb.4:
	add	x23, x20, #1
	str	x23, [sp, #8]
	cmp	w8, #109
	b.ne	LBB0_11
; %bb.5:
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x23
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtol
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	bl	_pid_to_ptid
	bl	_in_thread_list
	cbnz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_pid_to_ptid
	bl	_add_thread
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	ldrb	w8, [x0], #1
	str	x0, [sp, #8]
	cmp	w8, #44
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_putpkt
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_getpkt
	str	x23, [sp, #8]
	ldrb	w8, [x20]
	mov	x0, x23
	cmp	w8, #109
	b.eq	LBB0_6
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	str	xzr, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_remote_find_new_threads
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_desc,8,3                ; @remote_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Command can only be used when connected to the remote target."

	.comm	_use_threadinfo_query,8,3       ; @use_threadinfo_query
l_.str.1:                               ; @.str.1
	.asciz	"qfThreadInfo"

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

	.no_dead_strip	_remote_threads_info
.subsections_via_symbols
