	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function growOpArray
_growOpArray:                           ## @growOpArray
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	movl	(%rdi), %eax
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$256, %ebx                      ## imm = 0x100
	cmovnel	%ecx, %ebx
	movl	%esi, %edi
	callq	_UNUSED_PARAMETER
	movq	8(%r12), %rdi
	movq	(%rdi), %rax
	movq	_SQLITE_LIMIT_VDBE_OP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rax,%rcx,4), %ebx
	jle	LBB0_2
## %bb.1:
	callq	_sqlite3OomFault
	movq	_SQLITE_NOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	xorl	%edi, %edi
	cmpl	$257, %r15d                     ## imm = 0x101
	setb	%dil
	callq	_assert
	addl	(%r14), %r15d
	xorl	%edi, %edi
	cmpl	%r15d, %ebx
	setge	%dil
	callq	_assert
	movq	8(%r12), %rdi
	movq	8(%r14), %rsi
	shll	$2, %ebx
	movl	%ebx, %edx
	callq	_sqlite3DbRealloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r12), %rdi
	movq	%rbx, %rsi
	callq	_sqlite3DbMallocSize
	movl	%eax, (%r12)
	sarl	$2, %eax
	movl	%eax, (%r14)
	movq	%rbx, 8(%r14)
LBB0_4:
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.6:
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_LIMIT_VDBE_OP,8,3       ## @SQLITE_LIMIT_VDBE_OP
	.comm	_SQLITE_NOMEM,4,2               ## @SQLITE_NOMEM
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
	.no_dead_strip	_growOpArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function growOpArray
_growOpArray:                           ; @growOpArray
	.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, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	ldr	w8, [x0]
	lsl	w9, w8, #1
	mov	w10, #256
	cmp	w8, #0
	csel	w22, w10, w9, eq
	mov	x0, x1
	bl	_UNUSED_PARAMETER
	ldr	x0, [x21, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SQLITE_LIMIT_VDBE_OP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQLITE_LIMIT_VDBE_OP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w22, w8
	b.le	LBB0_2
; %bb.1:
	bl	_sqlite3OomFault
Lloh3:
	adrp	x8, _SQLITE_NOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	cmp	w20, #257
	cset	w0, lo
	bl	_assert
	ldr	w8, [x19]
	add	w8, w8, w20
	cmp	w22, w8
	cset	w0, ge
	bl	_assert
	ldr	x0, [x21, #8]
	ldr	x1, [x19, #8]
	lsl	w2, w22, #2
	bl	_sqlite3DbRealloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x21, #8]
	mov	x1, x20
	bl	_sqlite3DbMallocSize
	str	w0, [x21]
	asr	w8, w0, #2
	str	w8, [x19]
	str	x20, [x19, #8]
LBB0_4:
Lloh5:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh7:
	adrp	x9, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
	cmp	x20, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_LIMIT_VDBE_OP,8,3       ; @SQLITE_LIMIT_VDBE_OP
	.comm	_SQLITE_NOMEM,4,2               ; @SQLITE_NOMEM
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
	.no_dead_strip	_growOpArray
.subsections_via_symbols
