	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function absFunc
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_absFunc:                               ## @absFunc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$1, %esi
	sete	%dil
	callq	_assert
	movl	%ebx, %edi
	callq	_UNUSED_PARAMETER
	movq	(%r15), %rdi
	callq	_sqlite3_value_type
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	movq	(%r15), %rdi
	callq	_sqlite3_value_int64
	testl	%eax, %eax
	jns	LBB0_5
## %bb.3:
	movq	_SMALLEST_INT64@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_error           ## TAILCALL
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_null            ## TAILCALL
LBB0_7:
	movq	(%r15), %rdi
	callq	_sqlite3_value_double
	movapd	LCPI0_0(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm0, %xmm1
	maxsd	%xmm0, %xmm1
	movq	%r14, %rdi
	movapd	%xmm1, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_double          ## TAILCALL
LBB0_4:
	negl	%eax
LBB0_5:
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_int64           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SMALLEST_INT64,4,2             ## @SMALLEST_INT64
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"integer overflow"

	.no_dead_strip	_absFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function absFunc
_absFunc:                               ; @absFunc
	.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, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w1, #1
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	bl	_UNUSED_PARAMETER
	ldr	x0, [x20]
	bl	_sqlite3_value_type
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	x0, [x20]
	bl	_sqlite3_value_int64
	mov	x1, x0
	tbz	w0, #31, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _SMALLEST_INT64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMALLEST_INT64@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_7
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	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	_sqlite3_result_error
LBB0_5:
	mov	x0, 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	_sqlite3_result_null
LBB0_6:
	ldr	x0, [x20]
	bl	_sqlite3_value_double
	fneg	d1, d0
	fcmp	d0, #0.0
	fcsel	d0, d1, d0, mi
	mov	x0, 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	_sqlite3_result_double
LBB0_7:
	neg	w1, w1
LBB0_8:
	mov	x0, 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	_sqlite3_result_int64
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SMALLEST_INT64,4,2             ; @SMALLEST_INT64
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"integer overflow"

	.no_dead_strip	_absFunc
.subsections_via_symbols
