	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_scalar_key
_make_scalar_key:                       ## @make_scalar_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	testl	%esi, %esi
	jne	LBB0_6
## %bb.7:
	movq	_JGINFLAG_STR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	callq	_Assert
	movq	_JGINFLAG_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_3:
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	callq	_Assert
	movq	_JGINFLAG_BOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$0, 28(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	$1, %edx
	jmp	LBB0_9
LBB0_10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_4:
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	callq	_Assert
	movl	24(%rbx), %edi
	callq	_numeric_normalize
	movq	%rax, %rbx
	movq	_JGINFLAG_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_make_text_key
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_pfree
	movl	%r14d, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_JGINFLAG_KEY@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	movl	16(%rbx), %edx
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_make_text_key                  ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_JGINFLAG_NULL,4,2              ## @JGINFLAG_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_JGINFLAG_BOOL,4,2              ## @JGINFLAG_BOOL
L_.str.1:                               ## @.str.1
	.asciz	"t"

L_.str.2:                               ## @.str.2
	.asciz	"f"

	.comm	_JGINFLAG_NUM,4,2               ## @JGINFLAG_NUM
	.comm	_JGINFLAG_KEY,4,2               ## @JGINFLAG_KEY
	.comm	_JGINFLAG_STR,4,2               ## @JGINFLAG_STR
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.3:                               ## @.str.3
	.asciz	"unrecognized jsonb scalar type: %d"

	.no_dead_strip	_make_scalar_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_scalar_key
_make_scalar_key:                       ; @make_scalar_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _JGINFLAG_KEY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JGINFLAG_KEY@GOTPAGEOFF]
Lloh4:
	adrp	x9, _JGINFLAG_STR@GOTPAGE
Lloh5:
	ldr	x9, [x9, _JGINFLAG_STR@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_elog
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	cmp	w1, #0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x19, #24]
	bl	_numeric_normalize
	mov	x19, x0
Lloh11:
	adrp	x8, _JGINFLAG_NUM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _JGINFLAG_NUM@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_make_text_key
	mov	x20, x0
	mov	x0, x19
	bl	_pfree
	mov	x0, x20
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	cmp	w1, #0
	cset	w0, eq
	bl	_Assert
Lloh14:
	adrp	x8, _JGINFLAG_NULL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _JGINFLAG_NULL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	b	LBB0_8
LBB0_7:
	cmp	w1, #0
	cset	w0, eq
	bl	_Assert
Lloh19:
	adrp	x8, _JGINFLAG_BOOL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _JGINFLAG_BOOL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, l_.str.1@PAGE
Lloh23:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh24:
	adrp	x9, l_.str.2@PAGE
Lloh25:
	add	x9, x9, l_.str.2@PAGEOFF
	ldr	w10, [x19, #28]
	cmp	w10, #0
	csel	x1, x9, x8, eq
	mov	w2, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_make_text_key
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_JGINFLAG_NULL,4,2              ; @JGINFLAG_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_JGINFLAG_BOOL,4,2              ; @JGINFLAG_BOOL
l_.str.1:                               ; @.str.1
	.asciz	"t"

l_.str.2:                               ; @.str.2
	.asciz	"f"

	.comm	_JGINFLAG_NUM,4,2               ; @JGINFLAG_NUM
	.comm	_JGINFLAG_KEY,4,2               ; @JGINFLAG_KEY
	.comm	_JGINFLAG_STR,4,2               ; @JGINFLAG_STR
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.3:                               ; @.str.3
	.asciz	"unrecognized jsonb scalar type: %d"

	.no_dead_strip	_make_scalar_key
.subsections_via_symbols
