	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_resume                   ## -- Begin function child_resume
	.p2align	4, 0x90
_child_resume:                          ## @child_resume
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_PIDGET
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movq	_PTRACE_CONT_ONE@GOTPCREL(%rip), %rax
	movq	_PTRACE_SINGLESTEP_ONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%eax, %r12d
	movq	_PTRACE_CONT@GOTPCREL(%rip), %rax
	movq	_PTRACE_SINGLESTEP@GOTPCREL(%rip), %rcx
LBB0_3:
	testl	%r15d, %r15d
	cmoveq	%rax, %rcx
	movl	(%rcx), %ebx
	movl	%r14d, %edi
	callq	_target_signal_to_host
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_ptrace
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perror_with_name               ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_PTRACE_SINGLESTEP,4,2          ## @PTRACE_SINGLESTEP
	.comm	_PTRACE_CONT,4,2                ## @PTRACE_CONT
	.comm	_PTRACE_SINGLESTEP_ONE,4,2      ## @PTRACE_SINGLESTEP_ONE
	.comm	_PTRACE_CONT_ONE,4,2            ## @PTRACE_CONT_ONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ptrace"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_resume                   ; -- Begin function child_resume
	.p2align	2
_child_resume:                          ; @child_resume
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_PIDGET
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x8, _PTRACE_CONT_ONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTRACE_CONT_ONE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _PTRACE_SINGLESTEP_ONE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PTRACE_SINGLESTEP_ONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x21, x0
Lloh9:
	adrp	x8, _PTRACE_CONT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PTRACE_CONT@GOTPAGEOFF]
Lloh11:
	adrp	x9, _PTRACE_SINGLESTEP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PTRACE_SINGLESTEP@GOTPAGEOFF]
LBB0_3:
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
	mov	x0, x19
	bl	_target_signal_to_host
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_ptrace
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_perror_with_name
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_PTRACE_SINGLESTEP,4,2          ; @PTRACE_SINGLESTEP
	.comm	_PTRACE_CONT,4,2                ; @PTRACE_CONT
	.comm	_PTRACE_SINGLESTEP_ONE,4,2      ; @PTRACE_SINGLESTEP_ONE
	.comm	_PTRACE_CONT_ONE,4,2            ; @PTRACE_CONT_ONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ptrace"

.subsections_via_symbols
