	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeMemRenderNum
_vdbeMemRenderNum:                      ## @vdbeMemRenderNum
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_MEM_Int@GOTPCREL(%rip), %r13
	movq	_MEM_Real@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r13), %edi
	movq	_MEM_IntReal@GOTPCREL(%rip), %r12
	orl	(%r12), %edi
	andl	(%rdx), %edi
	callq	_assert
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3StrAccumInit
	movl	(%rbx), %eax
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.1:
	addq	$8, %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_2:
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	addq	$8, %rbx
	jmp	LBB0_5
LBB0_4:
	addq	$16, %rbx
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	leaq	-64(%rbp), %rdi
	callq	_sqlite3_str_appendf
	cmpq	%r14, -64(%rbp)
	sete	%al
	cmpq	$0, -56(%rbp)
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	-48(%rbp), %rax
	movb	$0, (%r14,%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Int,4,2                    ## @MEM_Int
	.comm	_MEM_Real,4,2                   ## @MEM_Real
	.comm	_MEM_IntReal,4,2                ## @MEM_IntReal
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lld"

L_.str.1:                               ## @.str.1
	.asciz	"%!.15g"

	.no_dead_strip	_vdbeMemRenderNum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeMemRenderNum
_vdbeMemRenderNum:                      ; @vdbeMemRenderNum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x2]
Lloh0:
	adrp	x23, _MEM_Int@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MEM_Int@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh2:
	adrp	x10, _MEM_Real@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MEM_Real@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh5:
	adrp	x22, _MEM_IntReal@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MEM_IntReal@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w9, w10
	and	w0, w9, w8
	bl	_assert
	add	x0, sp, #8
	mov	w1, #0
	mov	x2, x19
	mov	x3, x21
	mov	w4, #0
	bl	_sqlite3StrAccumInit
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x8, x20, #8
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x8, x20, #8
	b	LBB0_5
LBB0_4:
	add	x8, x20, #16
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	ldr	d0, [x8]
	add	x0, sp, #8
	bl	_sqlite3_str_appendf
	ldp	x8, x9, [sp, #8]
	cmp	x8, x19
	ccmp	x9, #1, #0, eq
	cset	w0, lt
	bl	_assert
	ldr	x8, [sp, #24]
	strb	wzr, [x19, x8]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Int,4,2                    ; @MEM_Int
	.comm	_MEM_Real,4,2                   ; @MEM_Real
	.comm	_MEM_IntReal,4,2                ; @MEM_IntReal
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lld"

l_.str.1:                               ; @.str.1
	.asciz	"%!.15g"

	.no_dead_strip	_vdbeMemRenderNum
.subsections_via_symbols
