	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compareItems
_compareItems:                          ## @compareItems
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%ecx, %r8d
	movl	%edi, %ebx
	movq	(%rsi), %rax
	movq	(%rdx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.1:
	leaq	-134(%rax), %rcx
	cmpq	$7, %rcx
	ja	LBB0_12
## %bb.2:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rcx,4), %rcx
	addq	%rdi, %rcx
	jmpq	*%rcx
LBB0_3:
	cmpl	$133, %ebx
	jne	LBB0_16
## %bb.4:
	movl	16(%rsi), %eax
	cmpl	16(%rdx), %eax
	jne	LBB0_27
## %bb.5:
	movl	20(%rsi), %edi
	movl	20(%rdx), %esi
	movl	%eax, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_27
LBB0_7:
	cmpq	$137, %rax
	je	LBB0_10
## %bb.8:
	cmpq	$137, %rcx
	je	LBB0_10
LBB0_9:
	movq	_jpbUnknown@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_10:
	cmpl	$128, %ebx
	jne	LBB0_27
LBB0_11:
	movq	_jpbTrue@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
                                        ## implicit-def: $eax
	jmp	LBB0_17
LBB0_13:
	movl	24(%rsi), %edi
	movl	24(%rdx), %esi
	callq	_compareNumeric
	jmp	LBB0_17
LBB0_14:
	movl	8(%rsi), %eax
	movl	12(%rsi), %edi
	movl	8(%rdx), %ecx
	movl	12(%rdx), %edx
	leaq	-12(%rbp), %r9
	movl	%eax, %esi
	callq	_compareDatetime
	cmpl	$0, -12(%rbp)
	jne	LBB0_9
	jmp	LBB0_17
LBB0_15:
	movl	28(%rsi), %ecx
	xorl	%esi, %esi
	cmpl	$1, %ecx
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	$1, %eax
	cmpl	28(%rdx), %ecx
	cmovel	%esi, %eax
	jmp	LBB0_17
LBB0_16:
	movl	16(%rsi), %eax
	movl	20(%rsi), %edi
	movl	16(%rdx), %ecx
	movl	20(%rdx), %edx
	movl	%eax, %esi
	callq	_compareStrings
LBB0_17:
	leal	-128(%rbx), %ecx
	cmpl	$5, %ecx
	ja	LBB0_20
## %bb.18:
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_19:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_27
LBB0_20:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
	jmp	LBB0_9
LBB0_21:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setle	%cl
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_27
LBB0_22:
	notl	%eax
LBB0_23:
	shrl	$31, %eax
	movl	%eax, %ecx
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_27:
	movq	_jpbFalse@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_24:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_27
LBB0_26:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_9
	.long	L0_0_set_9
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
LJTI0_1:
	.long	L0_1_set_19
	.long	L0_1_set_21
	.long	L0_1_set_23
	.long	L0_1_set_22
	.long	L0_1_set_24
	.long	L0_1_set_26
	.end_data_region
                                        ## -- End function
	.comm	_jpbTrue,4,2                    ## @jpbTrue
	.comm	_jpbFalse,4,2                   ## @jpbFalse
	.comm	_jpbUnknown,4,2                 ## @jpbUnknown
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid jsonb value type %d"

L_.str.1:                               ## @.str.1
	.asciz	"unrecognized jsonpath operation: %d"

	.no_dead_strip	_compareItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compareItems
_compareItems:                          ; @compareItems
	.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
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x9, [x2]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	sub	x9, x8, #134
	cmp	x9, #7
	b.hi	LBB0_11
; %bb.2:
	mov	w0, #0
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	cmp	w19, #133
	b.ne	LBB0_15
; %bb.4:
	ldr	w8, [x1, #16]
	ldr	w9, [x2, #16]
Lloh2:
	adrp	x19, _jpbFalse@GOTPAGE
Lloh3:
	ldr	x19, [x19, _jpbFalse@GOTPAGEOFF]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x1, #20]
	ldr	w1, [x2, #20]
	mov	x2, x8
	bl	_memcmp
Lloh4:
	adrp	x8, _jpbTrue@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jpbTrue@GOTPAGEOFF]
	cmp	w0, #0
	csel	x19, x8, x19, eq
LBB0_6:
	ldr	w0, [x19]
	b	LBB0_27
LBB0_7:
	cmp	x8, #137
	b.eq	LBB0_10
; %bb.8:
	cmp	x9, #137
	b.eq	LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _jpbUnknown@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jpbUnknown@GOTPAGEOFF]
	b	LBB0_26
LBB0_10:
Lloh8:
	adrp	x8, _jpbTrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jpbTrue@GOTPAGEOFF]
Lloh10:
	adrp	x9, _jpbFalse@GOTPAGE
Lloh11:
	ldr	x9, [x9, _jpbFalse@GOTPAGEOFF]
	cmp	w19, #128
	csel	x8, x8, x9, eq
	b	LBB0_26
LBB0_11:
Lloh12:
	adrp	x9, _ERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_elog
                                        ; implicit-def: $w0
	b	LBB0_16
LBB0_12:
	ldr	w0, [x1, #24]
	ldr	w1, [x2, #24]
	bl	_compareNumeric
	b	LBB0_16
LBB0_13:
	mov	x4, x3
	ldp	w1, w0, [x1, #8]
	ldp	w3, w8, [x2, #8]
	add	x5, sp, #12
	mov	x2, x8
	bl	_compareDatetime
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_9
	b	LBB0_16
LBB0_14:
	ldr	w8, [x1, #28]
	ldr	w9, [x2, #28]
	cmp	w8, #0
	mov	w10, #-1
	cneg	w10, w10, ne
	cmp	w8, w9
	csel	w0, wzr, w10, eq
	b	LBB0_16
LBB0_15:
	ldp	w1, w0, [x1, #16]
	ldp	w3, w8, [x2, #16]
	mov	x2, x8
	bl	_compareStrings
LBB0_16:
	sub	w8, w19, #128
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.17:
Lloh17:
	adrp	x9, lJTI0_1@PAGE
Lloh18:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	cmp	w0, #0
	cset	w8, ne
	b	LBB0_25
LBB0_19:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
	b	LBB0_9
LBB0_20:
	cmp	w0, #1
	cset	w8, lt
	b	LBB0_25
LBB0_21:
	lsr	w8, w0, #31
	b	LBB0_25
LBB0_22:
	mvn	w8, w0
	lsr	w8, w8, #31
	b	LBB0_25
LBB0_23:
	cmp	w0, #0
	cset	w8, gt
	b	LBB0_25
LBB0_24:
	cmp	w0, #0
	cset	w8, eq
LBB0_25:
Lloh24:
	adrp	x9, _jpbTrue@GOTPAGE
Lloh25:
	ldr	x9, [x9, _jpbTrue@GOTPAGEOFF]
Lloh26:
	adrp	x10, _jpbFalse@GOTPAGE
Lloh27:
	ldr	x10, [x10, _jpbFalse@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
LBB0_26:
	ldr	w0, [x8]
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_20-LBB0_18)>>2
	.byte	(LBB0_21-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
                                        ; -- End function
	.comm	_jpbTrue,4,2                    ; @jpbTrue
	.comm	_jpbFalse,4,2                   ; @jpbFalse
	.comm	_jpbUnknown,4,2                 ; @jpbUnknown
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid jsonb value type %d"

l_.str.1:                               ; @.str.1
	.asciz	"unrecognized jsonpath operation: %d"

	.no_dead_strip	_compareItems
.subsections_via_symbols
