	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function applyNumericAffinity
_applyNumericAffinity:                  ## @applyNumericAffinity
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	_MEM_Real@GOTPCREL(%rip), %r12
	movq	_MEM_Int@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	orl	(%r12), %ecx
	testl	%eax, %ecx
	je	LBB0_1
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_MEM_Str@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.2:
	movq	%rdi, %rbx
	movl	28(%rdi), %r14d
	movl	20(%rdi), %edx
	movl	24(%rdi), %edi
	leaq	-48(%rbp), %rsi
	movl	%r14d, %ecx
	callq	_sqlite3AtoF
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	20(%rbx), %edx
	movl	24(%rbx), %edi
	leaq	-36(%rbp), %rsi
	movl	%r14d, %ecx
	callq	_sqlite3Atoi64
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movq	%r12, %r15
	jmp	LBB0_6
LBB0_4:
	movl	-36(%rbp), %eax
	movl	%eax, 16(%rbx)
LBB0_6:
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Real,4,2                   ## @MEM_Real
	.comm	_MEM_Int,4,2                    ## @MEM_Int
	.comm	_MEM_Str,4,2                    ## @MEM_Str
	.no_dead_strip	_applyNumericAffinity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function applyNumericAffinity
_applyNumericAffinity:                  ; @applyNumericAffinity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MEM_Real@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEM_Real@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MEM_Int@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MEM_Int@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh6:
	adrp	x9, _MEM_Str@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MEM_Str@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.3:
	mov	x19, x0
	ldp	w0, w20, [x0, #24]
	ldr	w2, [x19, #20]
	add	x1, sp, #8
	mov	x3, x20
	bl	_sqlite3AtoF
	cbz	x0, LBB0_1
; %bb.4:
	ldp	w2, w0, [x19, #20]
	add	x1, sp, #4
	mov	x3, x20
	bl	_sqlite3Atoi64
	cbz	x0, LBB0_6
; %bb.5:
	ldr	d0, [sp, #8]
	str	d0, [x19, #8]
Lloh9:
	adrp	x8, _MEM_Real@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MEM_Real@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w8, [sp, #4]
	str	w8, [x19, #16]
Lloh11:
	adrp	x8, _MEM_Int@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MEM_Int@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Real,4,2                   ; @MEM_Real
	.comm	_MEM_Int,4,2                    ; @MEM_Int
	.comm	_MEM_Str,4,2                    ; @MEM_Str
	.no_dead_strip	_applyNumericAffinity
.subsections_via_symbols
