	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsonb_path_query_array_internal
_jsonb_path_query_array_internal:       ## @jsonb_path_query_array_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	%edi, %edi
	callq	_PG_GETARG_JSONB_P
	movq	%rax, %r15
	movl	$1, %edi
	callq	_PG_GETARG_JSONPATH_P
	movq	%rax, %r12
	movl	$0, -48(%rbp)
	movl	$2, %edi
	callq	_PG_GETARG_JSONB_P
	movq	%rax, %rbx
	movl	$3, %edi
	callq	_PG_GETARG_BOOL
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	leaq	-48(%rbp), %r13
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r13, %r8
	movl	%r14d, %r9d
	callq	_executeJsonPath
	movq	%r13, %rdi
	callq	_wrapItemsInArray
	movl	%eax, %edi
	callq	_JsonbValueToJsonb
	movl	%eax, %edi
	callq	_PG_RETURN_JSONB_P
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jsonb_path_query_array_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_query_array_internal
_jsonb_path_query_array_internal:       ; @jsonb_path_query_array_internal
	.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	x19, x1
	mov	w0, #0
	bl	_PG_GETARG_JSONB_P
	mov	x20, x0
	mov	w0, #1
	bl	_PG_GETARG_JSONPATH_P
	mov	x21, x0
	str	wzr, [sp, #8]
	mov	w0, #2
	bl	_PG_GETARG_JSONB_P
	mov	x22, x0
	mov	w0, #3
	bl	_PG_GETARG_BOOL
	cmp	w0, #0
	cset	w3, eq
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x5, x19
	bl	_executeJsonPath
	add	x0, sp, #8
	bl	_wrapItemsInArray
	bl	_JsonbValueToJsonb
	bl	_PG_RETURN_JSONB_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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jsonb_path_query_array_internal
.subsections_via_symbols
