	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_store_registers
_remote_store_registers:                ## @remote_store_registers
	.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
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_get_remote_state
	movq	%rax, %r13
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%eax, %edi
	movl	$1, %esi
	callq	_set_thread
	testl	%r14d, %r14d
	js	LBB0_9
## %bb.1:
	movq	_remote_protocol_P@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.3:
	movl	%r14d, %edi
	callq	_store_register_using_P
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_5:
	movl	%r14d, %edi
	callq	_store_register_using_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	$129, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$130, (%rbx)
LBB0_9:
	movl	16(%r13), %edi
	callq	_alloca
	movq	%rax, %r14
	movl	16(%r13), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NUM_PSEUDO_REGS@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%ecx, %edx
	addl	%eax, %edx
	jle	LBB0_14
## %bb.10:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	leal	(%rcx,%rax), %edx
	movslq	%edx, %rdx
	addq	$16, %rbx
	cmpq	%rdx, %r15
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdx
	cmpq	$0, (%rdx,%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-4(%rdx,%rbx), %edi
	movslq	-8(%rdx,%rbx), %rsi
	addq	%r14, %rsi
	callq	_regcache_collect
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r12), %ecx
	jmp	LBB0_13
LBB0_14:
	movl	(%r13), %edi
	callq	_alloca
	movq	%rax, %r15
	leaq	1(%rax), %rsi
	movb	$71, (%rax)
	movq	_register_bytes_found@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_bin2hex
	movl	(%r13), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_remote_send                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_remote_protocol_P,4,2          ## @remote_protocol_P
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Protocol error: P packet not recognized by stub"

	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,4,2            ## @NUM_PSEUDO_REGS
	.comm	_register_bytes_found,4,2       ## @register_bytes_found
	.no_dead_strip	_remote_store_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_store_registers
_remote_store_registers:                ; @remote_store_registers
	.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
	mov	x20, x0
	bl	_get_remote_state
	mov	x19, x0
Lloh0:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	w1, #1
	bl	_set_thread
	tbnz	w20, #31, LBB0_9
; %bb.1:
Lloh3:
	adrp	x21, _remote_protocol_P@GOTPAGE
Lloh4:
	ldr	x21, [x21, _remote_protocol_P@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x20
	bl	_store_register_using_P
	cbnz	w0, LBB0_7
; %bb.4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_5:
	mov	x0, x20
	bl	_store_register_using_P
	cbz	w0, LBB0_8
; %bb.6:
	mov	w8, #129
	str	w8, [x21]
LBB0_7:
	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_8:
	mov	w8, #130
	str	w8, [x21]
LBB0_9:
	ldr	w0, [x19, #16]
	bl	_alloca
	mov	x20, x0
	ldr	w2, [x19, #16]
	mov	w1, #0
	bl	_memset
Lloh7:
	adrp	x21, _NUM_REGS@GOTPAGE
Lloh8:
	ldr	x21, [x21, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh9:
	adrp	x22, _NUM_PSEUDO_REGS@GOTPAGE
Lloh10:
	ldr	x22, [x22, _NUM_PSEUDO_REGS@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w10, w9, w8
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x24, x24, #1
	add	w10, w9, w8
	add	x23, x23, #16
	cmp	x24, w10, sxtw
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	add	x10, x10, x23
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	w8, w0, [x10]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x1, x20, x8
	bl	_regcache_collect
	ldr	w8, [x21]
	ldr	w9, [x22]
	b	LBB0_11
LBB0_14:
	ldr	w0, [x19]
	bl	_alloca
	mov	x21, x0
	mov	w8, #71
	mov	x1, x0
	strb	w8, [x1], #1
Lloh11:
	adrp	x8, _register_bytes_found@GOTPAGE
Lloh12:
	ldr	x8, [x8, _register_bytes_found@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bin2hex
	ldr	w1, [x19]
	mov	x0, x21
	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	_remote_send
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_remote_protocol_P,4,2          ; @remote_protocol_P
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Protocol error: P packet not recognized by stub"

	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,4,2            ; @NUM_PSEUDO_REGS
	.comm	_register_bytes_found,4,2       ; @register_bytes_found
	.no_dead_strip	_remote_store_registers
.subsections_via_symbols
