	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdbr_read_registers_lldb
_gdbr_read_registers_lldb:              ## @gdbr_read_registers_lldb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_gdbr_lock_enter
	movl	$-1, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_send_msg
	testq	%rax, %rax
	js	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_packet
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_handle_lldb_read_reg
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	_reg_cache@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.8:
	movl	4(%rbx), %edx
	movl	%edx, 4(%r15)
	movl	8(%r15), %edi
	movl	(%rbx), %esi
	callq	_memcpy
	movl	$1, (%r15)
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r14d
LBB0_9:
	movq	%rbx, %rdi
	callq	_gdbr_lock_leave
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?"

	.comm	_reg_cache,24,3                 ## @reg_cache
	.no_dead_strip	_gdbr_read_registers_lldb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdbr_read_registers_lldb
_gdbr_read_registers_lldb:              ; @gdbr_read_registers_lldb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_gdbr_lock_enter
	cbz	w0, LBB0_9
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_send_msg
	tbnz	x0, #63, LBB0_9
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_read_packet
	tbnz	x0, #63, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_handle_lldb_read_reg
	tbnz	w0, #31, LBB0_12
; %bb.6:
Lloh2:
	adrp	x21, _reg_cache@GOTPAGE
Lloh3:
	ldr	x21, [x21, _reg_cache@GOTPAGEOFF]
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_13
; %bb.7:
	ldp	w1, w2, [x19]
	str	w2, [x21, #4]
	ldr	w0, [x21, #8]
	bl	_memcpy
	mov	w20, #0
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_10
LBB0_8:
	mov	w20, #-1
	b	LBB0_11
LBB0_9:
	mov	w20, #-1
LBB0_10:
	mov	x0, x19
	bl	_gdbr_lock_leave
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x20, x0
	b	LBB0_10
LBB0_13:
	mov	w20, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?"

	.comm	_reg_cache,24,3                 ; @reg_cache
	.no_dead_strip	_gdbr_read_registers_lldb
.subsections_via_symbols
