	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_read_registers             ## -- Begin function net_read_registers
	.p2align	4, 0x90
_net_read_registers:                    ## @net_read_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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-168(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-184(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%eax, -164(%rbp)
	movq	_NOINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -168(%rbp)
	movq	%rbx, -200(%rbp)
	movl	%r12d, -192(%rbp)
	leaq	-200(%rbp), %rax
	movq	%rax, -176(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_net_ptrace_clnt_call
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_rpcerr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_error
LBB0_2:
	cmpl	$-1, -184(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	-180(%rbp), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_PTRACE_GETREGS@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_perror_with_name
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_NOINFO,4,2                     ## @NOINFO
	.comm	_rpcerr,4,2                     ## @rpcerr
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading %s registers"

	.comm	_PTRACE_GETREGS,8,3             ## @PTRACE_GETREGS
L_.str.1:                               ## @.str.1
	.asciz	"general-purpose"

L_.str.2:                               ## @.str.2
	.asciz	"floating-point"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_read_registers             ; -- Begin function net_read_registers
	.p2align	2
_net_read_registers:                    ; @net_read_registers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh3:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PIDGET
Lloh6:
	adrp	x8, _NOINFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NOINFO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #40]
	str	x21, [sp, #8]
	str	w20, [sp, #16]
	add	x8, sp, #8
	str	x8, [sp, #32]
	add	x1, sp, #40
	add	x2, sp, #24
	mov	x0, x19
	bl	_net_ptrace_clnt_call
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _rpcerr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rpcerr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_error
LBB0_2:
	ldr	w8, [sp, #24]
	cmn	w8, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [sp, #28]
Lloh12:
	adrp	x9, _errno@GOTPAGE
Lloh13:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x8, _PTRACE_GETREGS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PTRACE_GETREGS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, l_.str.2@PAGE
Lloh19:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh20:
	adrp	x10, l_.str.1@PAGE
Lloh21:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, x19
	csel	x2, x10, x9, eq
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #52
	bl	_sprintf
	add	x0, sp, #52
	bl	_perror_with_name
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_NOINFO,4,2                     ; @NOINFO
	.comm	_rpcerr,4,2                     ; @rpcerr
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading %s registers"

	.comm	_PTRACE_GETREGS,8,3             ; @PTRACE_GETREGS
l_.str.1:                               ; @.str.1
	.asciz	"general-purpose"

l_.str.2:                               ; @.str.2
	.asciz	"floating-point"

.subsections_via_symbols
