	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cleanup_tsquery_stopwords      ## -- Begin function cleanup_tsquery_stopwords
	.p2align	4, 0x90
_cleanup_tsquery_stopwords:             ## @cleanup_tsquery_stopwords
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_GETQUERY
	movq	%rax, %rdi
	callq	_maketree
	leaq	-64(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	movl	%eax, %edi
	callq	_clean_stopword_intree
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_calcstrlen
	movl	%eax, %r15d
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_plaintree
	movq	%rax, %r12
	movl	-44(%rbp), %edi
	movl	%r15d, %esi
	callq	_COMPUTESIZE
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_SET_VARSIZE
	movslq	-44(%rbp), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_GETQUERY
	movl	-44(%rbp), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_memcpy
	movq	%r15, %rdi
	callq	_GETQUERY
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_GETOPERAND
	movq	%rax, %r12
	movq	(%r15), %rax
	testq	%rax, %rax
	jle	LBB0_8
## %bb.4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_QI_VAL@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jle	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GETOPERAND
	movslq	8(%r13,%rbx), %rsi
	addq	%rax, %rsi
	movl	12(%r13,%rbx), %edx
	movq	%r12, %rdi
	callq	_memcpy
	movslq	12(%r13,%rbx), %rax
	movb	$0, (%r12,%rax)
	movq	%r15, %rdi
	callq	_GETOPERAND
	movl	%r12d, %ecx
	subl	%eax, %ecx
	movl	%ecx, 8(%r13,%rbx)
	movslq	12(%r13,%rbx), %rax
	addq	%rax, %r12
	incq	%r12
	movq	(%r15), %rax
	jmp	LBB0_7
LBB0_8:
	movq	%r15, %r14
	jmp	LBB0_9
LBB0_2:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_HDRSIZETQ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_palloc
	movq	%rax, %r14
	movq	$0, (%rax)
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_SET_VARSIZE
LBB0_9:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTICE,4,2                     ## @NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"text-search query contains only stop words or doesn't contain lexemes, ignored"

	.comm	_HDRSIZETQ,4,2                  ## @HDRSIZETQ
	.comm	_QI_VAL,8,3                     ## @QI_VAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cleanup_tsquery_stopwords      ; -- Begin function cleanup_tsquery_stopwords
	.p2align	2
_cleanup_tsquery_stopwords:             ; @cleanup_tsquery_stopwords
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_GETQUERY
	bl	_maketree
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_clean_stopword_intree
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	bl	_calcstrlen
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x20
	bl	_plaintree
	mov	x22, x0
	ldr	w0, [sp, #12]
	mov	x1, x21
	bl	_COMPUTESIZE
	mov	x21, x0
	bl	_palloc
	mov	x20, x0
	mov	x1, x21
	bl	_SET_VARSIZE
	ldrsw	x8, [sp, #12]
	str	x8, [x20]
	mov	x0, x20
	bl	_GETQUERY
	ldr	w2, [sp, #12]
	mov	x1, x22
	bl	_memcpy
	mov	x0, x20
	bl	_GETQUERY
	mov	x21, x0
	mov	x0, x20
	bl	_GETOPERAND
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x22, x0
	mov	x23, #0
Lloh0:
	adrp	x24, _QI_VAL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _QI_VAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x8, x23
	b.le	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, x23]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_GETOPERAND
	add	x25, x21, x23
	ldp	w8, w2, [x25, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x1, x0, x8
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x25, #12]
	strb	wzr, [x22, x8]
	mov	x0, x20
	bl	_GETOPERAND
	sub	w8, w22, w0
	str	w8, [x25, #8]
	ldrsw	x8, [x25, #12]
	add	x8, x8, x22
	add	x22, x8, #1
	ldr	x8, [x20]
	b	LBB0_4
LBB0_7:
	mov	x19, x20
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _NOTICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh7:
	adrp	x20, _HDRSIZETQ@GOTPAGE
Lloh8:
	ldr	x20, [x20, _HDRSIZETQ@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_palloc
	mov	x19, x0
	str	xzr, [x0]
	ldr	w1, [x20]
	bl	_SET_VARSIZE
LBB0_9:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTICE,4,2                     ; @NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"text-search query contains only stop words or doesn't contain lexemes, ignored"

	.comm	_HDRSIZETQ,4,2                  ; @HDRSIZETQ
	.comm	_QI_VAL,8,3                     ; @QI_VAL
.subsections_via_symbols
