	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_debug_handler                ## -- Begin function c_debug_handler
	.p2align	4, 0x90
_c_debug_handler:                       ## @c_debug_handler
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_gdbstub_getcurrentthread
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_current_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	*(%rdi)
	testq	%rax, %rax
	js	LBB0_57
## %bb.1:
	movq	_dbg_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_gdbstub_report_exception
	movq	_remcomOutBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_putpacket
LBB0_3:
	movq	(%r14), %rax
	movq	___breakinst@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	addq	$4, %rax
	movq	%rax, (%r14)
LBB0_5:
	movq	_remcomOutBuffer@GOTPCREL(%rip), %r15
	movq	_remcomInBuffer@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %r13
	leaq	-72(%rbp), %r12
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
LBB0_54:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	_strcpy
LBB0_55:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	callq	_putpacket
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movb	$0, (%rax)
	movq	(%rbx), %rdi
	callq	_getpacket
	movq	(%rbx), %rdi
	movl	(%rdi), %eax
	addl	$-63, %eax
	cmpl	$59, %eax
	ja	LBB0_55
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_gdbstub_report_exception
	jmp	LBB0_55
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$103, 4(%rdi)
	jne	LBB0_43
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %rdi
	movq	%r12, %rsi
	callq	_vhstr2thread
	leaq	L_.str.2(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_58
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-72(%rbp), %edi
	testl	%edi, %edi
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, -72(%rbp)
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str(%rip), %rsi
	cmpl	-60(%rbp), %edi                 ## 4-byte Folded Reload
	jne	LBB0_37
LBB0_58:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	jmp	LBB0_54
LBB0_45:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$4, %rdi
	movq	%r12, %rsi
	callq	_vhstr2thread
	testq	%rax, %rax
	je	LBB0_26
## %bb.46:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-72(%rbp), %edi
	callq	_gdbstub_indextoid
	movq	(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_44
## %bb.47:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_54
LBB0_48:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-76(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r12, %rcx
	callq	_parsezbreak
	testl	%eax, %eax
	je	LBB0_26
## %bb.49:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -76(%rbp)
	jne	LBB0_29
## %bb.50:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$3, -72(%rbp)
	jg	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_54
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	movq	%rdi, -56(%rbp)
	movq	%r14, %rbx
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_current_thread_registers@GOTPCREL(%rip), %r14
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	40(%r14), %rsi
	movl	$128, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	movq	32(%r14), %rsi
	movq	%rax, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	leaq	8(%r14), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	leaq	28(%r14), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	leaq	24(%r14), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	leaq	20(%r14), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	leaq	16(%r14), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	addq	$12, %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_mem2hstr
	movq	%rax, -56(%rbp)
	movq	%rbx, %r14
	movq	_remcomInBuffer@GOTPCREL(%rip), %rbx
	jmp	LBB0_55
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$4, %rdi
	movq	%rdi, -56(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_hexToInt
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-80(%rbp), %eax
	cmpl	$-1073741825, %eax              ## imm = 0xBFFFFFFF
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	andl	$-1073741824, %eax              ## imm = 0xC0000000
	cmpl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -56(%rbp)
	cmpb	$44, (%rax)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-56(%rbp), %rdi
	leaq	-92(%rbp), %rsi
	callq	_hexToInt
	testl	%eax, %eax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-92(%rbp), %edx
	movq	_BUFMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	addl	$-4, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	addl	$-4, %eax
	sarl	%eax
	cmpl	%eax, %edx
	jle	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_54
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_process_query
	jmp	LBB0_55
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-76(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	movq	%r12, %rcx
	callq	_parsezbreak
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -76(%rbp)
	jne	LBB0_55
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$3, -72(%rbp)
	jg	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_54
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	_current_thread_registers@GOTPCREL(%rip), %rsi
	callq	_gdbstub_setthreadregs
	movl	-72(%rbp), %edi
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	cmpl	%ecx, %edi
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_current_thread_registers@GOTPCREL(%rip), %rsi
	callq	_gdbstub_getthreadregs
	leaq	L_.str.3(%rip), %rsi
	testl	%eax, %eax
	je	LBB0_58
## %bb.41:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-72(%rbp), %eax
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
LBB0_43:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
LBB0_44:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_54
LBB0_52:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdi
	callq	_insert_bp
	movq	(%r15), %rdi
	testl	%eax, %eax
	jne	LBB0_44
## %bb.53:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_54
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdi
	callq	_remove_bp
	movq	(%r15), %rdi
	testl	%eax, %eax
	jne	LBB0_44
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_54
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rdi
	movslq	-80(%rbp), %rsi
	callq	_mem2hstr
	jmp	LBB0_55
LBB0_56:
	movq	_dbg_instep@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_dbg_active@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_MSR_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	(%r15), %rdi
	callq	_putpacket
	movq	_current_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	*8(%rdi)
	jmp	LBB0_57
LBB0_22:
	movq	_dbg_instep@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_dbg_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_MSR_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	jmp	LBB0_24
LBB0_9:
	movq	_dbg_instep@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_dbg_active@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_MSR_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	movl	$2147489792, %eax               ## imm = 0x80001800
	movq	%rax, (%r14)
	jmp	LBB0_57
LBB0_23:
	movq	_dbg_instep@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_dbg_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_MSR_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_24:
	movq	_current_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	*16(%rdi)
LBB0_57:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_56
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_32
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_45
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_48
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_22
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_10
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_9
	.long	L0_0_set_55
	.long	L0_0_set_13
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_21
	.long	L0_0_set_55
	.long	L0_0_set_23
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_55
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_current_device,8,3             ## @current_device
	.comm	_dbg_active,4,2                 ## @dbg_active
	.comm	_remcomOutBuffer,8,3            ## @remcomOutBuffer
	.comm	___breakinst,8,3                ## @__breakinst
	.comm	_remcomInBuffer,8,3             ## @remcomInBuffer
	.comm	_dbg_instep,4,2                 ## @dbg_instep
	.comm	_MSR_SE,4,2                     ## @MSR_SE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OK"

	.comm	_current_thread_registers,48,3  ## @current_thread_registers
	.comm	_BUFMAX,4,2                     ## @BUFMAX
L_.str.1:                               ## @.str.1
	.asciz	"E00"

L_.str.2:                               ## @.str.2
	.asciz	"E01"

L_.str.3:                               ## @.str.3
	.asciz	"E02"

L_.str.4:                               ## @.str.4
	.asciz	"E03"

L_.str.5:                               ## @.str.5
	.asciz	"E04"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_debug_handler                ; -- Begin function c_debug_handler
	.p2align	2
_c_debug_handler:                       ; @c_debug_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
	bl	_gdbstub_getcurrentthread
	mov	x20, x0
Lloh0:
	adrp	x8, _current_device@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_device@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x0]
	blr	x8
	tbnz	x0, #63, LBB0_58
; %bb.1:
Lloh3:
	adrp	x8, _dbg_active@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dbg_active@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x25, _remcomOutBuffer@GOTPAGE
Lloh7:
	ldr	x25, [x25, _remcomOutBuffer@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_gdbstub_report_exception
	ldr	x0, [x25]
	bl	_putpacket
LBB0_3:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, ___breakinst@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___breakinst@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	add	x8, x8, #4
	str	x8, [x19]
LBB0_5:
Lloh11:
	adrp	x24, _remcomInBuffer@GOTPAGE
Lloh12:
	ldr	x24, [x24, _remcomInBuffer@GOTPAGEOFF]
Lloh13:
	adrp	x27, lJTI0_0@PAGE
Lloh14:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh15:
	adrp	x21, l_.str.2@PAGE
Lloh16:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh17:
	adrp	x22, l_.str@PAGE
Lloh18:
	add	x22, x22, l_.str@PAGEOFF
Lloh19:
	adrp	x23, _current_thread_registers@GOTPAGE
Lloh20:
	ldr	x23, [x23, _current_thread_registers@GOTPAGEOFF]
	mov	x28, x20
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	mov	x1, x21
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_strcpy
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	bl	_putpacket
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	strb	wzr, [x8]
	ldr	x0, [x24]
	bl	_getpacket
	ldr	x0, [x24]
	ldr	w8, [x0]
	sub	w8, w8, #63
	cmp	w8, #59
	b.hi	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	adr	x9, LBB0_8
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_gdbstub_report_exception
	b	LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x0, #4]
	cmp	w8, #103
	b.ne	LBB0_44
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x0, #8
	add	x1, sp, #16
	bl	_vhstr2thread
	cbz	x0, LBB0_37
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #16]
	cbnz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w20, [sp, #16]
	mov	x0, x20
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x22
	cmp	w0, w28
	b.ne	LBB0_38
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x0, #4
	add	x1, sp, #16
	bl	_vhstr2thread
	cbz	x0, LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #16]
	bl	_gdbstub_indextoid
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	x8, LBB0_45
	b	LBB0_36
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x1, sp, #28
	add	x2, sp, #8
	add	x3, sp, #16
	bl	_parsezbreak
	cbz	w0, LBB0_6
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_35
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, #3
	b.gt	LBB0_46
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	b	LBB0_49
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	str	x0, [sp, #40]
	cmp	w28, w20
	csel	x26, x19, x23, eq
	ldr	x1, [x26, #40]
	mov	w2, #128
	bl	_mem2hstr
	str	x0, [sp, #40]
	ldr	x1, [x26, #32]
	mov	w2, #256
	bl	_mem2hstr
	str	x0, [sp, #40]
	mov	x1, x26
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #8
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #28
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #24
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #20
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #16
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	add	x1, x26, #12
	mov	w2, #4
	bl	_mem2hstr
	str	x0, [sp, #40]
	b	LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x0, #4
	str	x8, [sp, #40]
	add	x0, sp, #40
	add	x1, sp, #36
	bl	_hexToInt
	cbz	w0, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #36]
	and	w9, w8, #0xc0000000
	lsr	w8, w8, #30
	cmp	w8, #2
	mov	w8, #-2147483648
	ccmp	w9, w8, #4, ls
	b.ne	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]
	add	x9, x8, #1
	str	x9, [sp, #40]
	ldrb	w8, [x8]
	cmp	w8, #44
	b.ne	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #40
	add	x1, sp, #32
	bl	_hexToInt
	cbz	w0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [sp, #32]
Lloh21:
	adrp	x8, _BUFMAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BUFMAX@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	sub	w9, w8, #4
	sub	w8, w8, #3
	cmp	w9, #0
	csel	w8, w8, w9, lt
	cmp	w2, w8, asr #1
	b.le	LBB0_50
LBB0_30:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_31:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x25]
	mov	x2, x20
	bl	_process_query
	b	LBB0_8
LBB0_32:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x1, sp, #28
	add	x2, sp, #8
	add	x3, sp, #16
	bl	_parsezbreak
	cbz	w0, LBB0_6
; %bb.33:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_8
; %bb.34:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, #3
	b.gt	LBB0_48
LBB0_35:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
LBB0_36:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_37:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x21
	ldr	x0, [x25]
	b	LBB0_7
LBB0_38:                                ;   in Loop: Header=BB0_9 Depth=1
	cmp	w28, w20
	b.eq	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	mov	x1, x23
	bl	_gdbstub_setthreadregs
	ldr	w0, [sp, #16]
LBB0_40:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x20
	cmp	w0, w20
	b.eq	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x23
	bl	_gdbstub_getthreadregs
	cbz	w0, LBB0_51
; %bb.42:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #16]
LBB0_43:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x8
LBB0_44:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
LBB0_45:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x22
	b	LBB0_7
LBB0_46:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]
	bl	_insert_bp
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_45
; %bb.47:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_48:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]
	bl	_remove_bp
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_45
LBB0_49:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_50:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x25]
	ldrsw	x1, [sp, #36]
	bl	_mem2hstr
	b	LBB0_8
LBB0_51:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_52:
Lloh34:
	adrp	x8, _dbg_instep@GOTPAGE
Lloh35:
	ldr	x8, [x8, _dbg_instep@GOTPAGEOFF]
Lloh36:
	str	wzr, [x8]
Lloh37:
	adrp	x8, _MSR_SE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MSR_SE@GOTPAGEOFF]
Lloh39:
	adrp	x9, _dbg_active@GOTPAGE
Lloh40:
	ldr	x9, [x9, _dbg_active@GOTPAGEOFF]
Lloh41:
	str	wzr, [x9]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x0, [x25]
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	x0, [x25]
	bl	_putpacket
Lloh45:
	adrp	x8, _current_device@GOTPAGE
Lloh46:
	ldr	x8, [x8, _current_device@GOTPAGEOFF]
Lloh47:
	ldr	x0, [x8]
	ldr	x8, [x0, #8]
	b	LBB0_57
LBB0_53:
Lloh48:
	adrp	x8, _dbg_instep@GOTPAGE
Lloh49:
	ldr	x8, [x8, _dbg_instep@GOTPAGEOFF]
Lloh50:
	str	wzr, [x8]
	mov	w8, #1
Lloh51:
	adrp	x9, _dbg_active@GOTPAGE
Lloh52:
	ldr	x9, [x9, _dbg_active@GOTPAGEOFF]
Lloh53:
	str	w8, [x9]
Lloh54:
	adrp	x8, _MSR_SE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSR_SE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	b	LBB0_56
LBB0_54:
Lloh57:
	adrp	x8, _dbg_instep@GOTPAGE
Lloh58:
	ldr	x8, [x8, _dbg_instep@GOTPAGEOFF]
Lloh59:
	str	wzr, [x8]
Lloh60:
	adrp	x8, _dbg_active@GOTPAGE
Lloh61:
	ldr	x8, [x8, _dbg_active@GOTPAGEOFF]
Lloh62:
	str	wzr, [x8]
Lloh63:
	adrp	x8, _MSR_SE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MSR_SE@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	mov	w8, #6144
	movk	w8, #32768, lsl #16
	str	x8, [x19]
	b	LBB0_58
LBB0_55:
Lloh66:
	adrp	x8, _dbg_instep@GOTPAGE
Lloh67:
	ldr	x8, [x8, _dbg_instep@GOTPAGEOFF]
	mov	w9, #1
Lloh68:
	str	w9, [x8]
Lloh69:
	adrp	x8, _dbg_active@GOTPAGE
Lloh70:
	ldr	x8, [x8, _dbg_active@GOTPAGEOFF]
Lloh71:
	str	w9, [x8]
Lloh72:
	adrp	x8, _MSR_SE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MSR_SE@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
LBB0_56:
	str	w8, [x19, #8]
Lloh75:
	adrp	x8, _current_device@GOTPAGE
Lloh76:
	ldr	x8, [x8, _current_device@GOTPAGEOFF]
Lloh77:
	ldr	x0, [x8]
	ldr	x8, [x0, #16]
LBB0_57:
	blr	x8
LBB0_58:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh42
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_52-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_53-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_24-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_54-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_25-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_31-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_55-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_32-LBB0_8)>>2
                                        ; -- End function
	.comm	_current_device,8,3             ; @current_device
	.comm	_dbg_active,4,2                 ; @dbg_active
	.comm	_remcomOutBuffer,8,3            ; @remcomOutBuffer
	.comm	___breakinst,8,3                ; @__breakinst
	.comm	_remcomInBuffer,8,3             ; @remcomInBuffer
	.comm	_dbg_instep,4,2                 ; @dbg_instep
	.comm	_MSR_SE,4,2                     ; @MSR_SE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OK"

	.comm	_current_thread_registers,48,3  ; @current_thread_registers
	.comm	_BUFMAX,4,2                     ; @BUFMAX
l_.str.1:                               ; @.str.1
	.asciz	"E00"

l_.str.2:                               ; @.str.2
	.asciz	"E01"

l_.str.3:                               ; @.str.3
	.asciz	"E02"

l_.str.4:                               ; @.str.4
	.asciz	"E03"

l_.str.5:                               ; @.str.5
	.asciz	"E04"

.subsections_via_symbols
