	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_threadlist_response
_parse_threadlist_response:             ## @parse_threadlist_response
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_get_remote_state
	movslq	(%rax), %r13
	movq	_BUF_THREAD_ID_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	%rax, %r13
	addq	%r14, %r13
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_unpack_byte
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_unpack_nibble
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_unpack_threadid
	testl	%r15d, %r15d
	cmovlel	%ebx, %r15d
	incl	%r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %ecx
	leal	-1(%rcx), %edx
	movl	%edx, -44(%rbp)
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r13, %rax
	jae	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%r12), %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_unpack_threadid
	incl	%ebx
	movq	%r14, %r12
	cmpl	%ebx, %r15d
	jne	LBB0_1
## %bb.4:
	movl	%r15d, %ebx
LBB0_5:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movl	-48(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_THREAD_ID_SIZE,4,2         ## @BUF_THREAD_ID_SIZE
	.no_dead_strip	_parse_threadlist_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_threadlist_response
_parse_threadlist_response:             ; @parse_threadlist_response
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_get_remote_state
	ldrsw	x8, [x0]
Lloh0:
	adrp	x9, _BUF_THREAD_ID_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUF_THREAD_ID_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	sub	x8, x8, x9
	add	x24, x23, x8
	add	x1, sp, #12
	mov	x0, x23
	bl	_unpack_byte
	add	x1, sp, #8
	bl	_unpack_nibble
	mov	x1, x21
	bl	_unpack_threadid
	mov	w21, #0
	cmp	w22, #0
	csel	w8, w22, wzr, gt
	add	w22, w8, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	subs	w8, w8, #1
	str	w8, [sp, #12]
	ccmp	x0, x24, #2, ge
	b.hs	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x20, #4
	mov	x1, x20
	bl	_unpack_threadid
	add	w21, w21, #1
	mov	x20, x23
	cmp	w22, w21
	b.ne	LBB0_1
; %bb.3:
	mov	x21, x22
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_6:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_THREAD_ID_SIZE,4,2         ; @BUF_THREAD_ID_SIZE
	.no_dead_strip	_parse_threadlist_response
.subsections_via_symbols
