	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeRecordCompareInt
_vdbeRecordCompareInt:                  ## @vdbeRecordCompareInt
	.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, %r12
	movq	%rsi, %r15
	movl	%edi, %r13d
	movl	(%rsi), %ebx
	movl	4(%rsi), %r14d
	movl	32(%rdx), %edx
	callq	_vdbeAssertFieldCountWithinLimits
	cmpl	$64, (%r15)
	setl	%al
	movq	_CORRUPT_DB@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpq	$9, %r14
	ja	LBB0_3
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	andl	$63, %ebx
	leaq	(%r15,%rbx,4), %r13
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_3:
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeRecordCompare       ## TAILCALL
LBB0_5:
	movq	%r13, %rdi
	callq	_ONE_BYTE_INT
	jmp	LBB0_8
LBB0_6:
	movq	%r13, %rdi
	callq	_TWO_BYTE_INT
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %rdi
	callq	_THREE_BYTE_INT
LBB0_8:
	movq	%rax, %r12
	movq	%rax, %rdi
	jmp	LBB0_11
LBB0_9:
	movq	%r13, %rdi
	callq	_FOUR_BYTE_UINT
	movslq	%eax, %r12
	movl	%r12d, %edi
	shrl	$31, %edi
	jmp	LBB0_12
LBB0_10:
	leaq	8(%r13), %rdi
	callq	_FOUR_BYTE_UINT
	movslq	%eax, %rbx
	movq	%r13, %rdi
	callq	_TWO_BYTE_INT
	movq	%rax, %r12
	shlq	$32, %r12
	addq	%rbx, %r12
	movq	%r12, %rdi
LBB0_11:
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_12:
	callq	_testcase
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	cmpq	%r12, (%rax)
	jle	LBB0_15
## %bb.14:
	movl	(%rbx), %r14d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_22
LBB0_15:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jge	LBB0_19
## %bb.16:
	movl	4(%rbx), %r14d
	jmp	LBB0_22
LBB0_17:
	movl	$1, %r12d
	jmp	LBB0_13
LBB0_18:
	movq	%r13, %rdi
	callq	_FOUR_BYTE_UINT
	addq	$16, %r13
	movq	%r13, %rdi
	callq	_FOUR_BYTE_UINT
	callq	_testcase
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_19:
	cmpl	$2, 8(%rbx)
	jl	LBB0_21
## %bb.20:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_sqlite3VdbeRecordCompareWithSkip
	movl	%eax, %r14d
	jmp	LBB0_22
LBB0_21:
	movl	12(%rbx), %r14d
	movl	$1, 16(%rbx)
LBB0_22:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_vdbeRecordCompareDebug
	movl	%eax, %edi
	callq	_assert
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_18
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_CORRUPT_DB,8,3                 ## @CORRUPT_DB
	.no_dead_strip	_vdbeRecordCompareInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeRecordCompareInt
_vdbeRecordCompareInt:                  ; @vdbeRecordCompareInt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w23, w24, [x1]
	ldr	w2, [x2, #32]
	bl	_vdbeAssertFieldCountWithinLimits
	ldr	w8, [x20]
	cmp	w8, #64
Lloh0:
	adrp	x8, _CORRUPT_DB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CORRUPT_DB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ccmp	x8, #0, #0, ge
	cset	w0, ne
	bl	_assert
	cmp	w24, #9
	b.hi	LBB0_2
; %bb.1:
	mov	x22, #0
	and	x8, x23, #0x3f
	add	x23, x20, x8, lsl #2
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_2
	ldrb	w10, [x8, x24]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sqlite3VdbeRecordCompare
LBB0_3:
	mov	x0, x23
	bl	_ONE_BYTE_INT
	b	LBB0_6
LBB0_4:
	mov	x0, x23
	bl	_TWO_BYTE_INT
	b	LBB0_6
LBB0_5:
	mov	x0, x23
	bl	_THREE_BYTE_INT
LBB0_6:
	mov	x22, x0
	lsr	x0, x0, #63
	b	LBB0_9
LBB0_7:
	mov	x0, x23
	bl	_FOUR_BYTE_UINT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	lsr	w0, w0, #31
	b	LBB0_10
LBB0_8:
	add	x0, x23, #8
	bl	_FOUR_BYTE_UINT
	mov	x22, x0
	mov	x0, x23
	bl	_TWO_BYTE_INT
	lsl	x8, x0, #32
	add	x22, x8, w22, sxtw
	lsr	x0, x22, #63
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
LBB0_10:
	bl	_testcase
LBB0_11:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cmp	x8, x22
	b.le	LBB0_13
; %bb.12:
	ldr	w22, [x19]
	b	LBB0_20
LBB0_13:
	b.ge	LBB0_17
; %bb.14:
	ldr	w22, [x19, #4]
	b	LBB0_20
LBB0_15:
	mov	w22, #1
	b	LBB0_11
LBB0_16:
	mov	x0, x23
	bl	_FOUR_BYTE_UINT
	add	x0, x23, #16
	bl	_FOUR_BYTE_UINT
	bl	_testcase
LBB0_17:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_19
; %bb.18:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	bl	_sqlite3VdbeRecordCompareWithSkip
	mov	x22, x0
	b	LBB0_20
LBB0_19:
	ldr	w22, [x19, #12]
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_20:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_vdbeRecordCompareDebug
	bl	_assert
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.comm	_CORRUPT_DB,8,3                 ; @CORRUPT_DB
	.no_dead_strip	_vdbeRecordCompareInt
.subsections_via_symbols
