	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsonPathFromCstring
_jsonPathFromCstring:                   ## @jsonPathFromCstring
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_parsejsonpath
	movq	%rax, %r15
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_initStringInfo
	shll	$2, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_enlargeStringInfo
	movq	_JSONPATH_HDRSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_appendStringInfoSpaces
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	8(%r15), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_flattenJsonPathParseItem
	movq	-40(%rbp), %rbx
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	callq	_SET_VARSIZE
	movq	_JSONPATH_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_JSONPATH_LAX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_4:
	movq	%rbx, %rdi
	callq	_PG_RETURN_JSONPATH_P
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSONPATH_HDRSZ,4,2             ## @JSONPATH_HDRSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ## @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"jsonpath"

	.comm	_JSONPATH_VERSION,4,2           ## @JSONPATH_VERSION
	.comm	_JSONPATH_LAX,4,2               ## @JSONPATH_LAX
	.no_dead_strip	_jsonPathFromCstring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jsonPathFromCstring
_jsonPathFromCstring:                   ; @jsonPathFromCstring
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_parsejsonpath
	mov	x19, x0
	mov	x0, sp
	bl	_initStringInfo
	lsl	w1, w21, #2
	mov	x0, sp
	bl	_enlargeStringInfo
Lloh0:
	adrp	x8, _JSONPATH_HDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JSONPATH_HDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_appendStringInfoSpaces
	cbnz	x19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldr	w1, [x19, #8]
	mov	x0, sp
	mov	w2, #0
	mov	w3, #0
	bl	_flattenJsonPathParseItem
	ldr	x20, [sp, #8]
	ldr	w1, [sp]
	mov	x0, x20
	bl	_SET_VARSIZE
Lloh13:
	adrp	x8, _JSONPATH_VERSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _JSONPATH_VERSION@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	x9, [x19]
	cbz	x9, LBB0_4
; %bb.3:
Lloh16:
	adrp	x9, _JSONPATH_LAX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _JSONPATH_LAX@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	mov	x0, x20
	bl	_PG_RETURN_JSONPATH_P
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_JSONPATH_HDRSZ,4,2             ; @JSONPATH_HDRSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ; @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"jsonpath"

	.comm	_JSONPATH_VERSION,4,2           ; @JSONPATH_VERSION
	.comm	_JSONPATH_LAX,4,2               ; @JSONPATH_LAX
	.no_dead_strip	_jsonPathFromCstring
.subsections_via_symbols
