	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_child_from_parent
_remove_child_from_parent:              ## @remove_child_from_parent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	movq	%rdi, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	(%rdx), %rax
	movq	%rax, %rdx
	cmpq	%rsi, 8(%rax)
	jne	LBB0_1
## %bb.2:
	testq	%rcx, %rcx
	movq	(%rax), %rax
	cmovneq	%rcx, %rdi
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_child_from_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_child_from_parent
_remove_child_from_parent:              ; @remove_child_from_parent
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	x10, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x10]
	ldr	x11, [x8, #8]
	mov	x10, x8
	cmp	x11, x1
	b.ne	LBB0_1
; %bb.2:
	ldr	x8, [x8]
	cmp	x9, #0
	csel	x9, x0, x9, eq
	str	x8, [x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_child_from_parent
.subsections_via_symbols
