	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addModuleArgument
_addModuleArgument:                     ## @addModuleArgument
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	leal	16(,%rax,8), %r12d
	movq	(%rdi), %r15
	addl	$3, %eax
	movq	(%r15), %rcx
	movq	_SQLITE_LIMIT_COLUMN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	(%rcx,%rdx,4), %eax
	jl	LBB0_2
## %bb.1:
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_sqlite3ErrorMsg
LBB0_2:
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_sqlite3DbRealloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movslq	(%rbx), %rcx
	leaq	1(%rcx), %rdx
	movl	%edx, (%rbx)
	movq	%r14, (%rax,%rcx,8)
	movq	$0, 8(%rax,%rcx,8)
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3DbFree                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_LIMIT_COLUMN,8,3        ## @SQLITE_LIMIT_COLUMN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many columns on %s"

	.no_dead_strip	_addModuleArgument
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addModuleArgument
_addModuleArgument:                     ; @addModuleArgument
	.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	x19, x2
	mov	x20, x1
	ldr	w8, [x1]
	lsl	w9, w8, #3
	add	w22, w9, #16
	ldr	x21, [x0]
	add	w8, w8, #3
	ldr	x9, [x21]
Lloh0:
	adrp	x10, _SQLITE_LIMIT_COLUMN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SQLITE_LIMIT_COLUMN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	ldr	w2, [x20, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sqlite3ErrorMsg
LBB0_2:
	ldr	x1, [x20, #8]
	mov	x0, x21
	mov	x2, x22
	bl	_sqlite3DbRealloc
	cbz	x0, LBB0_4
; %bb.3:
	ldrsw	x8, [x20]
	add	x9, x8, #1
	str	w9, [x20]
	str	x19, [x0, x8, lsl #3]
	str	xzr, [x0, x9, lsl #3]
	str	x0, [x20, #8]
	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
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	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
	b	_sqlite3DbFree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_LIMIT_COLUMN,8,3        ; @SQLITE_LIMIT_COLUMN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many columns on %s"

	.no_dead_strip	_addModuleArgument
.subsections_via_symbols
