	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MEM_Str@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MEM_Int@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	%eax, %ecx
	movq	_MEM_Real@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	movq	_MEM_IntReal@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	andl	(%rdi), %ecx
	movl	32(%rdi), %r15d
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	sete	%dil
	callq	_assert
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	leaq	-48(%rbp), %rsi
	movl	%r15d, %ecx
	callq	_sqlite3AtoF
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	leaq	16(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_alsoAnInt
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	orl	(%r13), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movl	(%rbx), %eax
	orl	(%r12), %eax
	movl	%eax, (%rbx)
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_sqlite3VdbeIntegerAffinity
	movl	(%rbx), %eax
LBB0_6:
	movq	_MEM_Str@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Str,4,2                    ## @MEM_Str
	.comm	_MEM_Int,4,2                    ## @MEM_Int
	.comm	_MEM_Real,4,2                   ## @MEM_Real
	.comm	_MEM_IntReal,4,2                ## @MEM_IntReal
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _MEM_Str@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MEM_Str@GOTPAGEOFF]
	ldr	w21, [x0, #32]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _MEM_Int@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MEM_Int@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w9, w9, w8
Lloh4:
	adrp	x24, _MEM_Real@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MEM_Real@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w9, w10
Lloh6:
	adrp	x10, _MEM_IntReal@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MEM_IntReal@GOTPAGEOFF]
	ldr	w11, [x0]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w9, w9, w11
	cmp	w9, w8
	cset	w0, eq
	bl	_assert
	ldp	w2, w0, [x19, #24]
	add	x1, sp, #8
	mov	x3, x21
	bl	_sqlite3AtoF
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	b.ne	LBB0_4
; %bb.2:
	ldr	d0, [sp, #8]
	add	x1, x19, #16
	mov	x0, x19
	bl	_alsoAnInt
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
	ldr	d0, [sp, #8]
	str	d0, [x19, #8]
	ldr	w8, [x24]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	cbz	w20, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_sqlite3VdbeIntegerAffinity
	ldr	w8, [x19]
LBB0_6:
	ldr	w9, [x22]
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Str,4,2                    ; @MEM_Str
	.comm	_MEM_Int,4,2                    ; @MEM_Int
	.comm	_MEM_Real,4,2                   ; @MEM_Real
	.comm	_MEM_IntReal,4,2                ; @MEM_IntReal
	.no_dead_strip	_applyNumericAffinity
.subsections_via_symbols
