	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_lldb_read_reg           ## -- Begin function handle_lldb_read_reg
	.p2align	4, 0x90
_handle_lldb_read_reg:                  ## @handle_lldb_read_reg
	.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, %r14
	callq	_send_ack
	movl	$-1, %r12d
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	movq	24(%r14), %rax
	movq	16(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.3:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rcx
	movq	40(%rax), %rdx
	addq	(%rax), %rcx
	cmpq	%r13, %rcx
	cmovaq	%rcx, %r13
	incq	%r15
	addq	$24, %rax
	cmpq	$0, (%rdx)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
LBB0_5:
	movq	(%r14), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memset
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_strtok
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoul
	movslq	%eax, %r14
	cmpq	%r15, %r14
	jae	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rcx
	leaq	(%r14,%r14,2), %rdx
	movq	(%rcx,%rdx,8), %rdx
	addq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_unpack_hex
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_memcpy
	movq	%r13, 8(%rbx)
	xorl	%r12d, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	";"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_lldb_read_reg           ; -- Begin function handle_lldb_read_reg
	.p2align	2
_handle_lldb_read_reg:                  ; @handle_lldb_read_reg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_send_ack
	tbnz	x0, #63, LBB0_12
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x9, [x8, #16]
	ldr	x9, [x9]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x20, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x10, [x8]
	add	x9, x10, x9
	cmp	x9, x20
	csel	x20, x9, x20, hi
	add	x24, x24, #1
	ldr	x9, [x8, #40]
	ldr	x9, [x9]
	add	x8, x8, #24
	cbnz	x9, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x24, #0
	mov	x20, #0
LBB0_5:
	ldr	x21, [x19]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strtok
	cbz	x0, LBB0_12
; %bb.6:
	mov	x23, x0
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	mov	w25, #24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, #0
	mov	x1, x22
	bl	_strtok
	mov	x23, x0
	cbz	x0, LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x23]
	bl	_isxdigit
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, #0
	mov	w2, #16
	bl	_strtoul
	sxtw	x26, w0
	cmp	x26, x24
	b.hs	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x0, #1
	mov	x0, x23
	bl	_strlen
	mov	x1, x0
	ldr	x8, [x19, #24]
	mul	x9, x26, x25
	ldr	x8, [x8, x9]
	add	x2, x21, x8
	mov	x0, x23
	bl	_unpack_hex
	b	LBB0_7
LBB0_12:
	mov	w0, #-1
	b	LBB0_14
LBB0_13:
	ldr	x0, [x19, #16]
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	mov	w0, #0
	str	x20, [x19, #8]
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	";"

.subsections_via_symbols
