	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_read_bytes
_remote_read_bytes:                     ## @remote_read_bytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edx, %ecx
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	_current_process_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-4(%rbp), %r8
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_read_process_memory
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sbbl	%ecx, %ecx
	orl	-4(%rbp), %ecx
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_process_handle,4,2     ## @current_process_handle
	.no_dead_strip	_remote_read_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_read_bytes
_remote_read_bytes:                     ; @remote_read_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x2
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _current_process_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_process_handle@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	x4, x29, #4
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_read_process_memory
	ldur	w8, [x29, #-4]
	cmp	w0, #0
	csinv	w0, w8, wzr, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current_process_handle,4,2     ; @current_process_handle
	.no_dead_strip	_remote_read_bytes
.subsections_via_symbols
