	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compareJsonbScalarValue
_compareJsonbScalarValue:               ## @compareJsonbScalarValue
	.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
	movl	(%rdi), %ecx
	cmpl	(%rsi), %ecx
	jne	LBB0_8
## %bb.1:
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_7
## %bb.2:
	movq	%rsi, %rbx
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movl	12(%rdi), %esi
	movl	16(%rdi), %edi
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	movq	_DEFAULT_COLLATION_OID@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_varstr_cmp                     ## TAILCALL
LBB0_4:
	movq	_numeric_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%rdi), %edi
	callq	_PointerGetDatum
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_PointerGetDatum
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_DirectFunctionCall2
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DatumGetInt32                  ## TAILCALL
LBB0_5:
	movl	4(%rbx), %ecx
	cmpl	%ecx, 4(%rdi)
	je	LBB0_9
## %bb.6:
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_9
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_DEFAULT_COLLATION_OID,4,2      ## @DEFAULT_COLLATION_OID
	.comm	_numeric_cmp,4,2                ## @numeric_cmp
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid jsonb scalar type"

L_.str.1:                               ## @.str.1
	.asciz	"jsonb scalar type mismatch"

	.no_dead_strip	_compareJsonbScalarValue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compareJsonbScalarValue
_compareJsonbScalarValue:               ; @compareJsonbScalarValue
	.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
	ldr	w8, [x0]
	ldr	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.2:
	mov	x19, x1
	mov	w8, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	ldp	w1, w8, [x0, #12]
	ldp	w3, w2, [x19, #12]
Lloh2:
	adrp	x9, _DEFAULT_COLLATION_OID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DEFAULT_COLLATION_OID@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x9]
	mov	x0, x8
	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	_varstr_cmp
LBB0_4:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_5:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	mov	w8, #-1
LBB0_6:
	mov	x0, x8
	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
	ret
LBB0_7:
Lloh15:
	adrp	x8, _numeric_cmp@GOTPAGE
Lloh16:
	ldr	x8, [x8, _numeric_cmp@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	ldr	w0, [x0, #8]
	bl	_PointerGetDatum
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_PointerGetDatum
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_DirectFunctionCall2
	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	_DatumGetInt32
LBB0_8:
	ldr	w8, [x0, #4]
	ldr	w9, [x19, #4]
	mov	w10, #1
	cmp	w8, w9
	cneg	w8, w10, le
	csel	w8, wzr, w8, eq
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.comm	_DEFAULT_COLLATION_OID,4,2      ; @DEFAULT_COLLATION_OID
	.comm	_numeric_cmp,4,2                ; @numeric_cmp
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid jsonb scalar type"

l_.str.1:                               ; @.str.1
	.asciz	"jsonb scalar type mismatch"

	.no_dead_strip	_compareJsonbScalarValue
.subsections_via_symbols
