	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsonb_path_exists_internal
_jsonb_path_exists_internal:            ## @jsonb_path_exists_internal
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_PG_GETARG_JSONB_P
	movq	%rax, %r15
	movl	$1, %edi
	callq	_PG_GETARG_JSONPATH_P
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_PG_NARGS
	cmpl	$4, %eax
	jne	LBB0_1
## %bb.2:
	movl	$2, %edi
	callq	_PG_GETARG_JSONB_P
	movq	%rax, %r13
	movl	$3, %edi
	callq	_PG_GETARG_BOOL
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_3
LBB0_1:
	xorl	%r13d, %r13d
LBB0_3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	callq	_executeJsonPath
	movq	%rax, %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_PG_FREE_IF_COPY
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_PG_FREE_IF_COPY
	movq	%rbx, %rdi
	callq	_jperIsError
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_PG_RETURN_NULL
LBB0_5:
	movq	_jperOk@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PG_RETURN_BOOL                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jperOk,8,3                     ## @jperOk
	.no_dead_strip	_jsonb_path_exists_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jsonb_path_exists_internal
_jsonb_path_exists_internal:            ; @jsonb_path_exists_internal
	.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
	mov	x20, x1
	mov	w0, #0
	bl	_PG_GETARG_JSONB_P
	mov	x19, x0
	mov	w0, #1
	bl	_PG_GETARG_JSONPATH_P
	mov	x21, x0
	bl	_PG_NARGS
	cmp	w0, #4
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_PG_GETARG_JSONB_P
	mov	x22, x0
	mov	w0, #3
	bl	_PG_GETARG_BOOL
	cmp	w0, #0
	cset	w3, eq
	b	LBB0_3
LBB0_2:
	mov	x22, #0
	mov	w3, #0
LBB0_3:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x4, #0
	mov	x5, x20
	bl	_executeJsonPath
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_PG_FREE_IF_COPY
	mov	x0, x21
	mov	w1, #1
	bl	_PG_FREE_IF_COPY
	mov	x0, x20
	bl	_jperIsError
	cbz	x0, LBB0_5
; %bb.4:
	bl	_PG_RETURN_NULL
LBB0_5:
Lloh0:
	adrp	x8, _jperOk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jperOk@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	cset	w0, eq
	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	_PG_RETURN_BOOL
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jperOk,8,3                     ; @jperOk
	.no_dead_strip	_jsonb_path_exists_internal
.subsections_via_symbols
