	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copyNodeContent
_copyNodeContent:                       ## @copyNodeContent
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdx), %eax
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	40(%rdi), %r13
	movq	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rdi), %r12
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$1, 4(%rsi)
	movl	$100, %r14d
	cmovnel	%eax, %r14d
	movl	8(%rdi), %edi
	callq	_assert
	xorl	%edi, %edi
	cmpl	%r14d, 12(%rbx)
	setge	%dil
	callq	_assert
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %r12
	addq	$20, %r12
	movq	%r12, %rdi
	callq	_get2byte
	xorl	%edi, %edi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	cmpl	(%r13), %eax
	setle	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_get2byte
	cltq
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	(%r15), %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	subq	%rax, %rdx
	callq	_memcpy
	leaq	(%r12,%r14,4), %rdi
	movq	_SQLITE_OK@GOTPCREL(%rip), %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movslq	16(%rbx), %rdx
	addq	%rdx, %rdx
	addq	24(%rbx), %rdx
	callq	_memcpy
	movl	$0, 8(%r15)
	movq	%r15, %rdi
	callq	_btreeInitPage
	movl	(%r14), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_btreeComputeFreeSpace
	movl	(%r14), %ecx
LBB0_3:
	cmpl	%ecx, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_6
## %bb.4:
	movq	_ISAUTOVACUUM@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_setChildPtrmaps
LBB0_6:
	movl	%eax, (%rbx)
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_ISAUTOVACUUM,8,3               ## @ISAUTOVACUUM
	.no_dead_strip	_copyNodeContent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copyNodeContent
_copyNodeContent:                       ; @copyNodeContent
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x2]
Lloh0:
	adrp	x24, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SQLITE_OK@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	x26, x25, [x0, #32]
	ldr	x27, [x1, #32]
	ldrsw	x22, [x0]
	ldr	w8, [x1, #4]
	mov	w9, #100
	cmp	w8, #1
	csel	w28, w9, wzr, eq
	ldr	w0, [x0, #8]
	bl	_assert
	ldr	w8, [x21, #12]
	cmp	w8, w28
	cset	w0, ge
	bl	_assert
	add	x22, x26, x22, lsl #2
	add	x23, x22, #20
	mov	x0, x23
	bl	_get2byte
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, le
	bl	_assert
	mov	x0, x23
	bl	_get2byte
                                        ; kill: def $w0 killed $w0 def $x0
	sbfiz	x9, x0, #2, #32
	add	x8, x27, x9
	add	x1, x26, x9
	ldr	x9, [x25]
	sub	x2, x9, w0, sxtw
	mov	x0, x8
	bl	_memcpy
	add	x0, x27, w28, uxtw #2
	ldr	x8, [x21, #24]
	ldrsw	x9, [x21, #16]
	add	x2, x8, x9, lsl #1
	mov	x1, x22
	bl	_memcpy
	str	wzr, [x20, #8]
	mov	x0, x20
	bl	_btreeInitPage
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_btreeComputeFreeSpace
	ldr	w8, [x24]
LBB0_3:
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _ISAUTOVACUUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISAUTOVACUUM@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_setChildPtrmaps
LBB0_6:
	str	w0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_ISAUTOVACUUM,8,3               ; @ISAUTOVACUUM
	.no_dead_strip	_copyNodeContent
.subsections_via_symbols
