	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_jsp_query
_extract_jsp_query:                     ## @extract_jsp_query
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	_JSONPATH_LAX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	xorl	%ebx, %ebx
	andl	(%rax), %edi
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rsi, %r12
	setne	%bl
	movl	%ebx, -48(%rbp)
	testl	%edx, %edx
	movq	_jsonb_path_ops__extract_nodes@GOTPCREL(%rip), %rcx
	cmoveq	_jsonb_ops__extract_nodes@GOTPCREL(%rip), %rcx
	movq	_jsonb_path_ops__add_path_item@GOTPCREL(%rip), %rdx
	cmoveq	_jsonb_ops__add_path_item@GOTPCREL(%rip), %rdx
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	%edx, -40(%rbp)
	movl	%ecx, -44(%rbp)
	leaq	-36(%rbp), %rdi
	movq	%rax, %rsi
	callq	_jspInit
	movq	_JsonbJsonpathExistsStrategyNumber@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_extract_jsp_path_expr
	jmp	LBB0_3
LBB0_2:
	leaq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_extract_jsp_bool_expr
LBB0_3:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_emit_jsp_gin_entries
	movl	-80(%rbp), %edi
	movl	%edi, (%r15)
	testl	%edi, %edi
	je	LBB0_7
## %bb.5:
	shll	$3, %edi
	callq	_palloc0
	movq	%rax, (%r14)
	movq	%rbx, (%rax)
	movq	-72(%rbp), %rax
	jmp	LBB0_8
LBB0_6:
	movl	$0, (%r15)
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSONPATH_LAX,4,2               ## @JSONPATH_LAX
	.comm	_jsonb_path_ops__add_path_item,4,2 ## @jsonb_path_ops__add_path_item
	.comm	_jsonb_path_ops__extract_nodes,4,2 ## @jsonb_path_ops__extract_nodes
	.comm	_jsonb_ops__add_path_item,4,2   ## @jsonb_ops__add_path_item
	.comm	_jsonb_ops__extract_nodes,4,2   ## @jsonb_ops__extract_nodes
	.comm	_JsonbJsonpathExistsStrategyNumber,8,3 ## @JsonbJsonpathExistsStrategyNumber
	.no_dead_strip	_extract_jsp_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_jsp_query
_extract_jsp_query:                     ; @extract_jsp_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x20, x3
	mov	x21, x1
	mov	x1, x0
	stp	xzr, xzr, [sp]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _JSONPATH_LAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JSONPATH_LAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [sp, #32]
Lloh3:
	adrp	x8, _jsonb_ops__extract_nodes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jsonb_ops__extract_nodes@GOTPAGEOFF]
Lloh5:
	adrp	x9, _jsonb_path_ops__extract_nodes@GOTPAGE
Lloh6:
	ldr	x9, [x9, _jsonb_path_ops__extract_nodes@GOTPAGEOFF]
	str	xzr, [sp, #16]
	cmp	w2, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _jsonb_ops__add_path_item@GOTPAGE
Lloh8:
	ldr	x9, [x9, _jsonb_ops__add_path_item@GOTPAGEOFF]
Lloh9:
	adrp	x10, _jsonb_path_ops__add_path_item@GOTPAGE
Lloh10:
	ldr	x10, [x10, _jsonb_path_ops__add_path_item@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [sp, #36]
	add	x0, sp, #28
	bl	_jspInit
Lloh11:
	adrp	x8, _JsonbJsonpathExistsStrategyNumber@GOTPAGE
Lloh12:
	ldr	x8, [x8, _JsonbJsonpathExistsStrategyNumber@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x0, sp, #32
	add	x2, sp, #28
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.1:
	mov	x1, #0
	mov	x3, #0
	bl	_extract_jsp_path_expr
	mov	x21, x0
	cbz	x0, LBB0_5
LBB0_2:
	mov	x1, sp
	mov	x0, x21
	bl	_emit_jsp_gin_entries
	ldr	w8, [sp]
	str	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	lsl	w0, w8, #3
	bl	_palloc0
	str	x0, [x19]
	str	x21, [x0]
	ldr	x0, [sp, #8]
	b	LBB0_7
LBB0_4:
	mov	x1, #0
	mov	w3, #0
	bl	_extract_jsp_bool_expr
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_5:
	mov	x0, #0
	str	wzr, [x20]
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JSONPATH_LAX,4,2               ; @JSONPATH_LAX
	.comm	_jsonb_path_ops__add_path_item,4,2 ; @jsonb_path_ops__add_path_item
	.comm	_jsonb_path_ops__extract_nodes,4,2 ; @jsonb_path_ops__extract_nodes
	.comm	_jsonb_ops__add_path_item,4,2   ; @jsonb_ops__add_path_item
	.comm	_jsonb_ops__extract_nodes,4,2   ; @jsonb_ops__extract_nodes
	.comm	_JsonbJsonpathExistsStrategyNumber,8,3 ; @JsonbJsonpathExistsStrategyNumber
	.no_dead_strip	_extract_jsp_query
.subsections_via_symbols
