	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_process_memory
_write_process_memory:                  ## @write_process_memory
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_GDB_WRITEPROCESSMEMORY@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	l_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_gethandle
	movl	%eax, %r14d
	movl	(%r13), %edx
	leaq	l_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_getpvoid
	movl	%eax, %r15d
	movl	(%r13), %edx
	leaq	l_.str.2(%rip), %rdi
	leaq	-56(%rbp), %rcx
	movl	%ebx, %esi
	callq	_getmemory
	movq	$0, -48(%rbp)
	movq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r12
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%r12, %r8
	callq	_WriteProcessMemory
	movl	(%r13), %ecx
	leaq	l_.str.3(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	movq	%r12, %r8
	movl	$8, %r9d
	callq	_putresult
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	87                              ## 0x57
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	115                             ## 0x73
	.long	77                              ## 0x4d
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	104                             ## 0x68
	.long	97                              ## 0x61
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.comm	_GDB_WRITEPROCESSMEMORY,4,2     ## @GDB_WRITEPROCESSMEMORY
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	87                              ## 0x57
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	115                             ## 0x73
	.long	77                              ## 0x4d
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	98                              ## 0x62
	.long	97                              ## 0x61
	.long	115                             ## 0x73
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	87                              ## 0x57
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	115                             ## 0x73
	.long	77                              ## 0x4d
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	98                              ## 0x62
	.long	117                             ## 0x75
	.long	102                             ## 0x66
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.3
l_.str.3:
	.long	87                              ## 0x57
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	115                             ## 0x73
	.long	77                              ## 0x4d
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	100                             ## 0x64
	.long	97                              ## 0x61
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	0                               ## 0x0

	.no_dead_strip	_write_process_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_process_memory
_write_process_memory:                  ; @write_process_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
Lloh0:
	adrp	x22, _GDB_WRITEPROCESSMEMORY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GDB_WRITEPROCESSMEMORY@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_gethandle
	mov	x20, x0
	ldr	w2, [x22]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_getpvoid
	mov	x21, x0
	ldr	w2, [x22]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_getmemory
	mov	x2, x0
	str	xzr, [sp]
	ldr	x3, [sp, #8]
	mov	x4, sp
	mov	x0, x20
	mov	x1, x21
	bl	_WriteProcessMemory
	mov	x1, x0
	ldr	w3, [x22]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x4, sp
	mov	x2, x19
	mov	w5, #8
	bl	_putresult
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	87                              ; 0x57
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	115                             ; 0x73
	.long	77                              ; 0x4d
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	104                             ; 0x68
	.long	97                              ; 0x61
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.comm	_GDB_WRITEPROCESSMEMORY,4,2     ; @GDB_WRITEPROCESSMEMORY
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	87                              ; 0x57
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	115                             ; 0x73
	.long	77                              ; 0x4d
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	98                              ; 0x62
	.long	97                              ; 0x61
	.long	115                             ; 0x73
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	87                              ; 0x57
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	115                             ; 0x73
	.long	77                              ; 0x4d
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	98                              ; 0x62
	.long	117                             ; 0x75
	.long	102                             ; 0x66
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.3
l_.str.3:
	.long	87                              ; 0x57
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	115                             ; 0x73
	.long	77                              ; 0x4d
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	100                             ; 0x64
	.long	97                              ; 0x61
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	0                               ; 0x0

	.no_dead_strip	_write_process_memory
.subsections_via_symbols
