	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ijkmeta_append_child_l         ## -- Begin function ijkmeta_append_child_l
	.p2align	4, 0x90
_ijkmeta_append_child_l:                ## @ijkmeta_append_child_l
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.5:
	movq	(%rbx), %rax
	movq	8(%rbx), %r12
	cmpq	%r12, %rax
	jb	LBB0_8
## %bb.6:
	addq	%r12, %r12
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r15
	movq	16(%rbx), %rsi
	movl	8(%rbx), %edx
	shll	$3, %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	16(%rbx), %rdi
	callq	_free
	movq	%r15, 16(%rbx)
	movq	%r12, 8(%rbx)
	movq	(%rbx), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_IJK_META_INIT_CAPACITY@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r15
	movq	$0, (%rbx)
	movq	(%r12), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
LBB0_8:
	movq	%r14, (%r15,%rax,8)
	incq	%rax
	movq	%rax, (%rbx)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IJK_META_INIT_CAPACITY,8,3     ## @IJK_META_INIT_CAPACITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ijkmeta_append_child_l         ; -- Begin function ijkmeta_append_child_l
	.p2align	2
_ijkmeta_append_child_l:                ; @ijkmeta_append_child_l
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x19, x0
	ldr	x21, [x0, #16]
	cbz	x21, LBB0_6
; %bb.3:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.lo	LBB0_8
; %bb.4:
	lsl	x22, x9, #1
	mov	x0, x22
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
	ldr	x1, [x19, #16]
	ldr	w8, [x19, #8]
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	x0, [x19, #16]
	bl	_free
	stp	x22, x21, [x19, #8]
	ldr	x8, [x19]
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x22, _IJK_META_INIT_CAPACITY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IJK_META_INIT_CAPACITY@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.7:
	mov	x21, x0
	mov	x8, #0
	str	xzr, [x19]
	ldr	x9, [x22]
	str	x9, [x19, #8]
LBB0_8:
	str	x20, [x21, x8, lsl #3]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_IJK_META_INIT_CAPACITY,8,3     ; @IJK_META_INIT_CAPACITY
.subsections_via_symbols
