	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_merge_parent
_add_merge_parent:                      ## @add_merge_parent
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_find_merge_parent
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	(%rbx), %esi
	incl	%esi
	jmp	LBB0_4
LBB0_1:
	movl	$1, %esi
LBB0_4:
	movq	8(%rbx), %rdi
	movl	16(%rbx), %edx
	callq	_ALLOC_GROW
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	movq	%r15, %rsi
	callq	_oidcpy
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$8, %rdi
	movq	%r14, %rsi
	callq	_oidcpy
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	shlq	$4, %rcx
	movq	$0, (%rax,%rcx)
	movl	%edx, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_merge_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_merge_parent
_add_merge_parent:                      ; @add_merge_parent
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_find_merge_parent
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	add	w1, w8, #1
	b	LBB0_4
LBB0_3:
	mov	w1, #1
LBB0_4:
	ldr	x0, [x19, #8]
	ldr	w2, [x19, #16]
	bl	_ALLOC_GROW
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #4
	add	x0, x8, #12
	mov	x1, x21
	bl	_oidcpy
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #4
	add	x0, x8, #8
	mov	x1, x20
	bl	_oidcpy
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	lsl	x10, x9, #4
	str	xzr, [x8, x10]
	add	w8, w9, #1
	str	w8, [x19]
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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_merge_parent
.subsections_via_symbols
