	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gettoken_query_standard
_gettoken_query_standard:               ## @gettoken_query_standard
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	$0, (%r8)
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	$0, (%r9)
	leaq	8(%rdi), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	callq	_pg_mblen
	addq	%rax, (%r13)
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	movl	$33, %esi
	callq	_t_iseq
	movq	(%r13), %rdi
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$40, %esi
	callq	_t_iseq
	movq	(%r13), %rdi
	testl	%eax, %eax
	jne	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$58, %esi
	callq	_t_iseq
	leaq	L_.str(%rip), %r14
	testl	%eax, %eax
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	callq	_t_isspace
	testl	%eax, %eax
	jne	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%rbx), %edi
	movq	8(%rbx), %rsi
	callq	_reset_tsvector_parser
	movl	24(%rbx), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	callq	_gettoken_tsvector
	testl	%eax, %eax
	jne	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$130, (%rbx)
	leaq	L_.str.1(%rip), %r14
	jne	LBB0_1
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	movl	$38, %esi
	callq	_t_iseq
	movq	(%r13), %rdi
	testl	%eax, %eax
	jne	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$124, %esi
	callq	_t_iseq
	testl	%eax, %eax
	jne	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_parse_phrase_operator
	testl	%eax, %eax
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	movl	$41, %esi
	callq	_t_iseq
	movq	(%r13), %rdi
	testl	%eax, %eax
	jne	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%rdi)
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_t_isspace
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_27
LBB0_17:
	incq	%rdi
	movq	%rdi, 8(%rbx)
	movl	$129, (%rbx)
	movq	_OP_NOT@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_18:
	incq	%rdi
	movq	%rdi, 8(%rbx)
	movl	$129, (%rbx)
	incl	16(%rbx)
	movq	_PT_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_19:
	incq	%rdi
	movq	%rdi, 8(%rbx)
	movl	$129, (%rbx)
	movq	_OP_AND@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_20:
	incq	8(%rbx)
	movl	$129, (%rbx)
	movq	_OP_OR@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movl	$129, (%rbx)
	movq	_OP_PHRASE@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_PT_OPR@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_23:
	incq	%rdi
	movq	%rdi, 8(%rbx)
	movl	16(%rbx), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, 16(%rbx)
	testl	%eax, %eax
	jle	LBB0_27
## %bb.24:
	movq	_PT_CLOSE@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_25:
	cmpl	$0, 16(%rbx)
	jne	LBB0_27
LBB0_30:
	movq	_PT_END@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_27:
	movq	_PT_ERR@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	8(%rbx), %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_get_modifiers
	movq	%rax, 8(%rbx)
	movl	$128, (%rbx)
	movq	_PT_VAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_NOT,4,2                     ## @OP_NOT
	.comm	_PT_OPR,4,2                     ## @PT_OPR
	.comm	_PT_OPEN,4,2                    ## @PT_OPEN
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ## @ERRCODE_SYNTAX_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"syntax error in tsquery: \"%s\""

	.comm	_PT_VAL,4,2                     ## @PT_VAL
	.comm	_PT_END,4,2                     ## @PT_END
L_.str.1:                               ## @.str.1
	.asciz	"no operand in tsquery: \"%s\""

	.comm	_OP_AND,4,2                     ## @OP_AND
	.comm	_OP_OR,4,2                      ## @OP_OR
	.comm	_OP_PHRASE,4,2                  ## @OP_PHRASE
	.comm	_PT_ERR,4,2                     ## @PT_ERR
	.comm	_PT_CLOSE,4,2                   ## @PT_CLOSE
	.no_dead_strip	_gettoken_query_standard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gettoken_query_standard
_gettoken_query_standard:               ; @gettoken_query_standard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x22, x4
	stp	x1, x3, [sp]                    ; 16-byte Folded Spill
	mov	x24, x2
	mov	x19, x0
	str	xzr, [x4]
	str	wzr, [x5]
	add	x25, x0, #8
Lloh0:
	adrp	x28, l_.str@PAGE
Lloh1:
	add	x28, x28, l_.str@PAGEOFF
Lloh2:
	adrp	x20, _ERROR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
Lloh4:
	adrp	x23, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x20]
	ldr	w0, [x23]
	bl	_errcode
	ldr	w1, [x19, #20]
	mov	x0, x26
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	bl	_pg_mblen
	ldr	x8, [x25]
	add	x8, x8, x0
	str	x8, [x25]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	mov	w1, #33
	bl	_t_iseq
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w1, #40
	bl	_t_iseq
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w1, #58
	bl	_t_iseq
	mov	x26, x28
	cbnz	w0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	bl	_t_isspace
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #24]
	ldr	x1, [x19, #8]
	bl	_reset_tsvector_parser
	ldr	w0, [x19, #24]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x24
	mov	x3, #0
	mov	x4, #0
	mov	x5, x25
	bl	_gettoken_tsvector
	cbnz	w0, LBB0_27
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
Lloh6:
	adrp	x26, l_.str.1@PAGE
Lloh7:
	add	x26, x26, l_.str.1@PAGEOFF
	cmp	w8, #130
	b.ne	LBB0_1
	b	LBB0_28
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	mov	w1, #38
	bl	_t_iseq
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w1, #124
	bl	_t_iseq
	cbnz	w0, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_parse_phrase_operator
	cbnz	w0, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	mov	w1, #41
	bl	_t_iseq
	mov	x8, x0
	ldr	x0, [x25]
	cbnz	w8, LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_t_isspace
	cbnz	w0, LBB0_2
; %bb.17:
Lloh8:
	adrp	x8, _PT_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PT_ERR@GOTPAGEOFF]
	b	LBB0_24
LBB0_18:
	add	x8, x0, #1
	str	x8, [x19, #8]
	mov	w8, #129
Lloh10:
	adrp	x9, _OP_NOT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OP_NOT@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
	add	x8, x0, #1
	str	x8, [x19, #8]
	mov	w8, #129
	str	w8, [x19]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
Lloh12:
	adrp	x8, _PT_OPEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PT_OPEN@GOTPAGEOFF]
	b	LBB0_24
LBB0_20:
	add	x8, x0, #1
	str	x8, [x19, #8]
	mov	w8, #129
Lloh14:
	adrp	x9, _OP_AND@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OP_AND@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	mov	w8, #129
Lloh16:
	adrp	x9, _OP_OR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _OP_OR@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
	mov	w8, #129
Lloh18:
	adrp	x9, _OP_PHRASE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OP_PHRASE@GOTPAGEOFF]
LBB0_23:
	str	w8, [x19]
	ldr	w8, [x9]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
Lloh20:
	adrp	x8, _PT_OPR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PT_OPR@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	add	x8, x0, #1
	str	x8, [x19, #8]
	ldr	w8, [x19, #16]
	subs	w8, w8, #1
	str	w8, [x19, #16]
Lloh22:
	adrp	x8, _PT_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PT_ERR@GOTPAGEOFF]
Lloh24:
	adrp	x9, _PT_CLOSE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PT_CLOSE@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	b	LBB0_24
LBB0_26:
Lloh26:
	adrp	x8, _PT_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PT_ERR@GOTPAGEOFF]
	ldr	w9, [x19, #16]
Lloh28:
	adrp	x10, _PT_END@GOTPAGE
Lloh29:
	ldr	x10, [x10, _PT_END@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_24
LBB0_27:
	ldr	x0, [x19, #8]
	mov	x1, x22
	mov	x2, x21
	bl	_get_modifiers
	str	x0, [x19, #8]
	mov	w8, #128
	str	w8, [x19]
Lloh30:
	adrp	x8, _PT_VAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PT_VAL@GOTPAGEOFF]
	b	LBB0_24
LBB0_28:
Lloh32:
	adrp	x8, _PT_END@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PT_END@GOTPAGEOFF]
	b	LBB0_24
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_NOT,4,2                     ; @OP_NOT
	.comm	_PT_OPR,4,2                     ; @PT_OPR
	.comm	_PT_OPEN,4,2                    ; @PT_OPEN
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ; @ERRCODE_SYNTAX_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"syntax error in tsquery: \"%s\""

	.comm	_PT_VAL,4,2                     ; @PT_VAL
	.comm	_PT_END,4,2                     ; @PT_END
l_.str.1:                               ; @.str.1
	.asciz	"no operand in tsquery: \"%s\""

	.comm	_OP_AND,4,2                     ; @OP_AND
	.comm	_OP_OR,4,2                      ; @OP_OR
	.comm	_OP_PHRASE,4,2                  ; @OP_PHRASE
	.comm	_PT_ERR,4,2                     ; @PT_ERR
	.comm	_PT_CLOSE,4,2                   ; @PT_CLOSE
	.no_dead_strip	_gettoken_query_standard
.subsections_via_symbols
