	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_xfer_memory              ## -- Begin function child_xfer_memory
	.p2align	4, 0x90
_child_xfer_memory:                     ## @child_xfer_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
                                        ## kill: def $edi killed $edi def $rdi
	movq	%rdi, %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %ecx
	andl	$3, %ecx
	leal	(%rcx,%rbx), %eax
	movslq	%eax, %rdi
	addq	$3, %rdi
	movq	%rdi, %r14
	shrq	$2, %r14
	andl	$-4, %edi
	movq	_GDB_MAX_ALLOCA@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	jle	LBB0_2
## %bb.1:
	callq	_alloca
	movq	%rax, %r13
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	callq	_xmalloc
	movq	%rax, %r13
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_make_cleanup
LBB0_3:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	andl	$-4, %r15d
	cmpl	%eax, %r15d
	jne	LBB0_13
## %bb.5:
	cmpl	$3, %ebx
	jle	LBB0_13
## %bb.6:
	cmpl	$2, %r14d
	jl	LBB0_14
LBB0_7:
	movq	_PT_READ_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	addq	%r14, %rcx
	movl	%ecx, %r12d
	leal	(%r15,%rcx,4), %edx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_ptrace
	movl	%eax, (%r13,%r12,4)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	addq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_15
LBB0_8:
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.9:
	movl	%r14d, %r14d
	shlq	$2, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	andl	$-4, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_errno@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rbx), %r15d
	movq	$0, (%r12)
	movq	_PT_READ_I@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%r13d, %edi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movl	%eax, (%r13,%rbx)
	cmpq	$0, (%r12)
	jne	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$4, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_10
LBB0_12:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addq	%rax, %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_20
LBB0_13:
	movq	_PT_READ_I@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movl	%eax, (%r13)
	cmpl	$2, %r14d
	jge	LBB0_7
LBB0_14:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	addq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	cmpl	$1, %r14d
	jne	LBB0_20
LBB0_15:
	movl	%r14d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	_inferior_ptid@GOTPCREL(%rip), %r13
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	addl	$4, %r15d
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rax)
	movq	_PT_WRITE_D@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r13), %edi
	callq	_PIDGET
	movl	(%r14,%rbx,4), %ecx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_ptrace
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	$0, (%rax)
	movq	_PT_WRITE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r13), %edi
	callq	_PIDGET
	movl	(%r14,%rbx,4), %ecx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_ptrace
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
LBB0_24:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_20:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_do_cleanups
LBB0_22:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_23:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDB_MAX_ALLOCA,4,2             ## @GDB_MAX_ALLOCA
	.comm	_xfree,4,2                      ## @xfree
	.comm	_PT_READ_I,4,2                  ## @PT_READ_I
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_errno,8,3                      ## @errno
	.comm	_PT_WRITE_D,4,2                 ## @PT_WRITE_D
	.comm	_PT_WRITE_I,4,2                 ## @PT_WRITE_I
	.comm	_QUIT,4,2                       ## @QUIT
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_PIOD_READ_D,4,2                ## @PIOD_READ_D
	.comm	_PIOD_WRITE_D,4,2               ## @PIOD_WRITE_D
	.comm	_PT_IO,4,2                      ## @PT_IO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_xfer_memory              ; -- Begin function child_xfer_memory
	.p2align	2
_child_xfer_memory:                     ; @child_xfer_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x25, x3
	mov	x19, x2
	mov	x24, x0
	and	w20, w0, #0xfffffffc
	and	w26, w0, #0x3
	add	w8, w26, w2
	sxtw	x8, w8
	add	x27, x8, #3
	lsr	x28, x27, #2
	and	w0, w27, #0xfffffffc
Lloh0:
	adrp	x8, _GDB_MAX_ALLOCA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GDB_MAX_ALLOCA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	b.le	LBB0_6
; %bb.1:
	bl	_alloca
	mov	x22, x0
	mov	x21, #0
	cbz	w25, LBB0_7
LBB0_2:
Lloh3:
	adrp	x25, _inferior_ptid@GOTPAGE
Lloh4:
	ldr	x25, [x25, _inferior_ptid@GOTPAGEOFF]
	cmp	w20, w24
	b.ne	LBB0_12
; %bb.3:
	cmp	w19, #3
	b.le	LBB0_12
; %bb.4:
	cmp	w28, #2
	b.lt	LBB0_13
LBB0_5:
Lloh5:
	adrp	x8, _PT_READ_I@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PT_READ_I@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
	ldr	w0, [x25]
	bl	_PIDGET
	mov	x1, x0
	mov	w8, #-1
	mov	x23, x21
	add	x21, x28, x8
	add	w2, w20, w21, lsl #2
	mov	x0, x24
	mov	w3, #0
	bl	_ptrace
	str	w0, [x22, w21, uxtw #2]
	mov	x21, x23
	add	x0, x22, w26, uxtw
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x19
	bl	_memcpy
	b	LBB0_14
LBB0_6:
	bl	_xmalloc
	mov	x22, x0
Lloh8:
	adrp	x8, _xfree@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_make_cleanup
	mov	x21, x0
	cbnz	w25, LBB0_2
LBB0_7:
	str	x21, [sp]                       ; 8-byte Folded Spill
	cmp	w28, #1
	b.lt	LBB0_11
; %bb.8:
Lloh11:
	adrp	x25, _errno@GOTPAGE
Lloh12:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	ubfx	x27, x27, #2, #32
Lloh13:
	adrp	x28, _PT_READ_I@GOTPAGE
Lloh14:
	ldr	x28, [x28, _PT_READ_I@GOTPAGEOFF]
	mov	x21, x22
Lloh15:
	adrp	x23, _inferior_ptid@GOTPAGE
Lloh16:
	ldr	x23, [x23, _inferior_ptid@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x25]
	ldr	w24, [x28]
	ldr	w0, [x23]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x24
	mov	x2, x20
	mov	w3, #0
	bl	_ptrace
	str	w0, [x21]
	ldr	x8, [x25]
	cbnz	x8, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w20, w20, #4
	add	x21, x21, #4
	subs	x27, x27, #1
	b.ne	LBB0_9
LBB0_11:
	add	x1, x22, w26, uxtw
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x19
	bl	_memcpy
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	b	LBB0_19
LBB0_12:
Lloh17:
	adrp	x8, _PT_READ_I@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PT_READ_I@GOTPAGEOFF]
Lloh19:
	ldr	w24, [x8]
	ldr	w0, [x25]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x24
	mov	x2, x20
	mov	w3, #0
	bl	_ptrace
	str	w0, [x22]
	cmp	w28, #2
	b.ge	LBB0_5
LBB0_13:
	add	x0, x22, w26, uxtw
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x19
	bl	_memcpy
	cmp	w28, #1
	b.ne	LBB0_19
LBB0_14:
	ubfx	x24, x27, #2, #32
Lloh20:
	adrp	x26, _errno@GOTPAGE
Lloh21:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
Lloh22:
	adrp	x27, _PT_WRITE_D@GOTPAGE
Lloh23:
	ldr	x27, [x27, _PT_WRITE_D@GOTPAGEOFF]
Lloh24:
	adrp	x28, _PT_WRITE_I@GOTPAGE
Lloh25:
	ldr	x28, [x28, _PT_WRITE_I@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w20, w20, #4
	add	x22, x22, #4
	subs	x24, x24, #1
	b.eq	LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x26]
	ldr	w23, [x27]
	ldr	w0, [x25]
	bl	_PIDGET
	mov	x1, x0
	ldr	w3, [x22]
	mov	x0, x23
	mov	x2, x20
	bl	_ptrace
	ldr	x8, [x26]
	cbz	x8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	str	xzr, [x26]
	ldr	w23, [x28]
	ldr	w0, [x25]
	bl	_PIDGET
	mov	x1, x0
	ldr	w3, [x22]
	mov	x0, x23
	mov	x2, x20
	bl	_ptrace
	ldr	x8, [x26]
	cbz	x8, LBB0_15
LBB0_18:
	mov	w19, #0
	b	LBB0_21
LBB0_19:
	cbz	x21, LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_do_cleanups
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GDB_MAX_ALLOCA,4,2             ; @GDB_MAX_ALLOCA
	.comm	_xfree,4,2                      ; @xfree
	.comm	_PT_READ_I,4,2                  ; @PT_READ_I
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_errno,8,3                      ; @errno
	.comm	_PT_WRITE_D,4,2                 ; @PT_WRITE_D
	.comm	_PT_WRITE_I,4,2                 ; @PT_WRITE_I
	.comm	_QUIT,4,2                       ; @QUIT
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_PIOD_READ_D,4,2                ; @PIOD_READ_D
	.comm	_PIOD_WRITE_D,4,2               ; @PIOD_WRITE_D
	.comm	_PT_IO,4,2                      ; @PT_IO
.subsections_via_symbols
