	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdb_read_regs
_gdb_read_regs:                         ## @gdb_read_regs
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_gdb_regset@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_nitems
	movl	%eax, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_cur_vcpu@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r12), %rdi
	callq	_nitems
	movq	(%r12), %rcx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_vm_get_register_set
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_start_packet
	movq	%r13, %rdi
	callq	_nitems
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_gdb_regsize@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_append_unsigned_native
	incq	%rbx
	movq	%r13, %rdi
	callq	_nitems
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_finish_packet
	jmp	LBB0_6
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_send_error
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gdb_regset,8,3                 ## @gdb_regset
	.comm	_ctx,4,2                        ## @ctx
	.comm	_cur_vcpu,4,2                   ## @cur_vcpu
	.comm	_errno,4,2                      ## @errno
	.comm	_gdb_regsize,8,3                ## @gdb_regsize
	.no_dead_strip	_gdb_read_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdb_read_regs
_gdb_read_regs:                         ; @gdb_read_regs
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _gdb_regset@GOTPAGE
Lloh4:
	ldr	x22, [x22, _gdb_regset@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_nitems
	mov	w8, w0
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x8, _ctx@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x8, _cur_vcpu@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cur_vcpu@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	ldr	x0, [x22]
	bl	_nitems
	mov	x2, x0
	ldr	x3, [x22]
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_vm_get_register_set
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	bl	_start_packet
	mov	x0, x19
	bl	_nitems
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
Lloh13:
	adrp	x21, _gdb_regsize@GOTPAGE
Lloh14:
	ldr	x21, [x21, _gdb_regsize@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x20, #2
	ldr	w0, [x19, x8]
	ldr	x9, [x21]
	ldr	w1, [x9, x8]
	bl	_append_unsigned_native
	add	x20, x20, #1
	mov	x0, x19
	bl	_nitems
	cmp	x20, w0, sxtw
	b.lt	LBB0_3
LBB0_4:
	bl	_finish_packet
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_send_error
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #32
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_gdb_regset,8,3                 ; @gdb_regset
	.comm	_ctx,4,2                        ; @ctx
	.comm	_cur_vcpu,4,2                   ; @cur_vcpu
	.comm	_errno,4,2                      ; @errno
	.comm	_gdb_regsize,8,3                ; @gdb_regsize
	.no_dead_strip	_gdb_read_regs
.subsections_via_symbols
