	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcelem_tsquery_selec
_mcelem_tsquery_selec:                  ## @mcelem_tsquery_selec
	.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
	movl	%edx, %r15d
	leal	2(%r15), %eax
	cmpl	%r8d, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rcx, %r12
	movq	%rsi, %r14
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	shll	$4, %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	shlq	$2, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14,%r15), %edi
	callq	_VARATT_IS_EXTERNAL
	testl	%eax, %eax
	sete	%al
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %edi
	callq	_Assert
	movl	(%r14,%r15), %edi
	callq	_DatumGetPointer
	movq	%rax, 8(%rbx,%r15,4)
	movl	(%r12,%r15), %eax
	movl	%eax, (%rbx,%r15,4)
	addq	$4, %r15
	cmpq	%r15, %r13
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r15), %edi
	callq	_VARATT_IS_COMPRESSED
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tsquery_opr_selec_no_stats     ## TAILCALL
LBB0_7:
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movl	-8(%r12,%rax,4), %r14d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_GETQUERY
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_GETOPERAND
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	callq	_tsquery_opr_selec
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_pfree
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mcelem_tsquery_selec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcelem_tsquery_selec
_mcelem_tsquery_selec:                  ; @mcelem_tsquery_selec
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	add	w8, w2, #2
	cmp	w8, w4
	b.ne	LBB0_7
; %bb.1:
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	lsl	w0, w2, #4
	bl	_palloc
	mov	x20, x0
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.2:
	mov	w25, w19
	add	x26, x20, #8
	mov	x27, x22
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	bl	_VARATT_IS_EXTERNAL
	cmp	w0, #0
	cset	w0, eq
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_Assert
	ldr	w0, [x24], #4
	bl	_DatumGetPointer
	str	x0, [x26]
	ldr	w8, [x27], #4
	stur	w8, [x26, #-8]
	add	x26, x26, #16
	subs	x25, x25, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	bl	_VARATT_IS_COMPRESSED
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	b	LBB0_4
LBB0_7:
	mov	x0, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_tsquery_opr_selec_no_stats
LBB0_8:
	sub	w8, w23, #2
	ldr	w22, [x22, w8, sxtw #2]
	mov	x0, x21
	bl	_GETQUERY
	mov	x23, x0
	mov	x0, x21
	bl	_GETOPERAND
	mov	x1, x0
	mov	x0, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	bl	_tsquery_opr_selec
	mov	x19, x0
	mov	x0, x20
	bl	_pfree
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mcelem_tsquery_selec
.subsections_via_symbols
