	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_unpack_thread_info_response
_remote_unpack_thread_info_response:    ## @remote_unpack_thread_info_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_get_remote_state
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, 24(%r13)
	movq	(%r13), %rax
	movb	$0, (%rax)
	movq	8(%r13), %rax
	movb	$0, (%rax)
	movq	16(%r13), %rax
	movb	$0, (%rax)
	leaq	-44(%rbp), %rsi
	movq	%rbx, %r15
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_unpack_int
	leaq	-52(%rbp), %rsi
	movq	%rax, %rdi
	callq	_unpack_threadid
	movq	%rax, %rbx
	cmpl	$0, -44(%rbp)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warning
LBB0_2:
	leaq	-52(%rbp), %rdi
	movq	%r12, %rsi
	callq	_threadmatch
	testl	%eax, %eax
	je	LBB0_24
## %bb.3:
	addq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	leaq	28(%r13), %rdi
	leaq	-52(%rbp), %rsi
	callq	_copy_threadref
	movl	$1, %eax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rbx
	jae	LBB0_26
## %bb.4:
	cmpl	$0, -44(%rbp)
	je	LBB0_26
## %bb.5:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_TAG_EXISTS@GOTPCREL(%rip), %r12
	movq	_TAG_THREADNAME@GOTPCREL(%rip), %r15
	movq	_TAG_DISPLAY@GOTPCREL(%rip), %r13
	movq	_TAG_MOREDISPLAY@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	-76(%rbp), %rsi
	xorl	%eax, %eax
	callq	_unpack_int
	movq	%rax, %rdi
	leaq	-48(%rbp), %rsi
	callq	_unpack_byte
	movq	%rax, %rbx
	movl	-76(%rbp), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_28
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_TAG_THREADID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$16, -48(%rbp)
	jne	LBB0_29
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	-52(%rbp), %rsi
	callq	_unpack_threadid
	movq	%rax, %rbx
	movq	_TAG_THREADID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rcx
	cmpl	(%r12), %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	callq	_stub_unpack_int
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 24(%rcx)
	movslq	-48(%rbp), %rcx
	movl	(%r12), %eax
	notl	%eax
	andl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	cmpq	$8, %rcx
	jg	LBB0_31
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	%rcx, %rbx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	(%r15), %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_unpack_string
	movq	%rax, %rbx
	movl	(%r15), %eax
	jmp	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	(%r13), %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_unpack_string
	movq	%rax, %rbx
	movl	(%r13), %eax
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	(%r14), %eax
	jne	LBB0_32
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	movl	-48(%rbp), %edx
	movq	%rbx, %rdi
	callq	_unpack_string
	movq	%rax, %rbx
	movl	(%r14), %eax
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	notl	%eax
	andl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jne	LBB0_6
LBB0_27:
	movl	$1, %eax
	jmp	LBB0_26
LBB0_24:
	leaq	L_.str.1(%rip), %rdi
LBB0_25:
	callq	_warning
	movl	%r14d, %eax
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_29:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_31:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_32:
	movl	$1, %r14d
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Incomplete response to threadinfo request\n"

L_.str.1:                               ## @.str.1
	.asciz	"ERROR RMT Thread info mismatch\n"

L_.str.2:                               ## @.str.2
	.asciz	"ERROR RMT: threadinfo tag mismatch\n"

	.comm	_TAG_THREADID,4,2               ## @TAG_THREADID
L_.str.3:                               ## @.str.3
	.asciz	"ERROR RMT: length of threadid is not 16\n"

	.comm	_TAG_EXISTS,4,2                 ## @TAG_EXISTS
L_.str.4:                               ## @.str.4
	.asciz	"ERROR RMT: 'exists' length too long\n"

	.comm	_TAG_THREADNAME,4,2             ## @TAG_THREADNAME
	.comm	_TAG_DISPLAY,4,2                ## @TAG_DISPLAY
	.comm	_TAG_MOREDISPLAY,4,2            ## @TAG_MOREDISPLAY
L_.str.5:                               ## @.str.5
	.asciz	"ERROR RMT: unknown thread info tag\n"

	.no_dead_strip	_remote_unpack_thread_info_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_unpack_thread_info_response
_remote_unpack_thread_info_response:    ; @remote_unpack_thread_info_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_get_remote_state
	ldrsw	x23, [x0]
	str	wzr, [x19, #24]
	ldr	x8, [x19]
	strb	wzr, [x8]
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
	ldr	x8, [x19, #16]
	strb	wzr, [x8]
	add	x8, sp, #28
	str	x8, [sp]
	mov	x0, x20
	bl	_unpack_int
	add	x1, sp, #16
	bl	_unpack_threadid
	mov	x21, x0
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
LBB0_2:
	add	x0, sp, #16
	mov	x1, x22
	bl	_threadmatch
	cbz	w0, LBB0_5
; %bb.3:
	add	x23, x20, x23
	add	x0, x19, #28
	add	x1, sp, #16
	bl	_copy_threadref
	ldr	w8, [sp, #28]
	cmp	x21, x23
	ccmp	w8, #0, #4, lo
	b.ne	LBB0_8
LBB0_4:
	mov	w22, #1
	b	LBB0_7
LBB0_5:
	mov	w22, #0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_warning
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	add	x25, sp, #20
Lloh4:
	adrp	x27, _TAG_THREADID@GOTPAGE
Lloh5:
	ldr	x27, [x27, _TAG_THREADID@GOTPAGEOFF]
Lloh6:
	adrp	x28, _TAG_EXISTS@GOTPAGE
Lloh7:
	ldr	x28, [x28, _TAG_EXISTS@GOTPAGEOFF]
Lloh8:
	adrp	x24, _TAG_THREADNAME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _TAG_THREADNAME@GOTPAGEOFF]
Lloh10:
	adrp	x26, _TAG_DISPLAY@GOTPAGE
Lloh11:
	ldr	x26, [x26, _TAG_DISPLAY@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cbz	w8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x25, [sp]
	mov	x0, x21
	bl	_unpack_int
	add	x1, sp, #24
	bl	_unpack_byte
	ldr	w8, [sp, #20]
	ldr	w9, [sp, #28]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x0
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #24]
	cmp	w8, #16
	b.ne	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x1, sp, #16
	mov	x0, x21
	bl	_unpack_threadid
	mov	x21, x0
	ldr	w8, [sp, #28]
	ldr	w9, [x27]
	b	LBB0_23
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x28]
	cmp	w8, w9
Lloh12:
	adrp	x22, _TAG_MOREDISPLAY@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TAG_MOREDISPLAY@GOTPAGEOFF]
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [sp, #24]
	mov	x0, x21
	bl	_stub_unpack_int
	str	w0, [x19, #24]
	ldp	w9, w8, [sp, #24]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldr	w10, [x28]
	bic	w8, w8, w10
	str	w8, [sp, #28]
	cmp	w9, #8
	b.gt	LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, x9
	b	LBB0_24
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x20, x24
	ldr	x1, [x19, #8]
	ldr	w2, [sp, #24]
	mov	x0, x21
	bl	_unpack_string
	mov	x21, x0
	ldr	w8, [sp, #28]
	ldr	w9, [x24]
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x9, x26
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x19]
	ldr	w2, [sp, #24]
	mov	x0, x21
	bl	_unpack_string
	mov	x21, x0
	ldr	w8, [sp, #28]
	ldr	w9, [x26]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x19, #16]
	ldr	w2, [sp, #24]
	mov	x0, x21
	bl	_unpack_string
	mov	x21, x0
	ldr	w8, [sp, #28]
	ldr	w9, [x22]
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	bic	w8, w8, w9
	str	w8, [sp, #28]
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w22, #1
	cmp	x21, x23
	b.hs	LBB0_7
; %bb.25:                               ;   in Loop: Header=BB0_9 Depth=1
	cbnz	w8, LBB0_9
	b	LBB0_7
LBB0_26:
	mov	w22, #0
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_27:
	mov	w22, #0
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_28:
	mov	w22, #0
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_29:
	mov	w22, #1
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Incomplete response to threadinfo request\n"

l_.str.1:                               ; @.str.1
	.asciz	"ERROR RMT Thread info mismatch\n"

l_.str.2:                               ; @.str.2
	.asciz	"ERROR RMT: threadinfo tag mismatch\n"

	.comm	_TAG_THREADID,4,2               ; @TAG_THREADID
l_.str.3:                               ; @.str.3
	.asciz	"ERROR RMT: length of threadid is not 16\n"

	.comm	_TAG_EXISTS,4,2                 ; @TAG_EXISTS
l_.str.4:                               ; @.str.4
	.asciz	"ERROR RMT: 'exists' length too long\n"

	.comm	_TAG_THREADNAME,4,2             ; @TAG_THREADNAME
	.comm	_TAG_DISPLAY,4,2                ; @TAG_DISPLAY
	.comm	_TAG_MOREDISPLAY,4,2            ; @TAG_MOREDISPLAY
l_.str.5:                               ; @.str.5
	.asciz	"ERROR RMT: unknown thread info tag\n"

	.no_dead_strip	_remote_unpack_thread_info_response
.subsections_via_symbols
