	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function tsquerysel
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tsquerysel:                            ## @tsquerysel
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_DatumGetTSQuery
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	(%rbx), %edi
	callq	_GETSTRUCT
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	_STATISTIC_KIND_MCELEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ATTSTATSSLOT_VALUES@GOTPCREL(%rip), %rax
	movq	_ATTSTATSSLOT_NUMBERS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	orl	(%rax), %r8d
	leaq	-40(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-28(%rbp), %esi
	movl	-32(%rbp), %edx
	movl	-40(%rbp), %r8d
	movl	-36(%rbp), %ecx
	movq	%r15, %rdi
	callq	_mcelem_tsquery_selec
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	leaq	-40(%rbp), %rdi
	callq	_free_attstatsslot
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	jmp	LBB0_6
LBB0_1:
	xorpd	%xmm0, %xmm0
	jmp	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tsquery_opr_selec_no_stats     ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	callq	_tsquery_opr_selec_no_stats
	movapd	%xmm0, %xmm1
LBB0_6:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	subsd	(%r14), %xmm0
	mulsd	%xmm1, %xmm0
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATISTIC_KIND_MCELEM,4,2      ## @STATISTIC_KIND_MCELEM
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ## @ATTSTATSSLOT_VALUES
	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ## @ATTSTATSSLOT_NUMBERS
	.no_dead_strip	_tsquerysel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsquerysel
_tsquerysel:                            ; @tsquerysel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x21, x0
	mov	x0, x1
	bl	_DatumGetTSQuery
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x21]
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x21]
	bl	_GETSTRUCT
	mov	x19, x0
Lloh0:
	adrp	x8, _STATISTIC_KIND_MCELEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATISTIC_KIND_MCELEM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ATTSTATSSLOT_VALUES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATTSTATSSLOT_VALUES@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _ATTSTATSSLOT_NUMBERS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATTSTATSSLOT_NUMBERS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, sp
	bl	_get_attstatsslot
	cbz	x0, LBB0_6
; %bb.3:
	ldp	w2, w1, [sp, #8]
	ldp	w4, w3, [sp]
	mov	x0, x20
	bl	_mcelem_tsquery_selec
	fmov	d8, d0
	mov	x0, sp
	bl	_free_attstatsslot
	b	LBB0_7
LBB0_4:
	movi	d0, #0000000000000000
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_tsquery_opr_selec_no_stats
LBB0_6:
	mov	x0, x20
	bl	_tsquery_opr_selec_no_stats
	fmov	d8, d0
LBB0_7:
	ldr	d0, [x19]
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fmul	d0, d8, d0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STATISTIC_KIND_MCELEM,4,2      ; @STATISTIC_KIND_MCELEM
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ; @ATTSTATSSLOT_VALUES
	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ; @ATTSTATSSLOT_NUMBERS
	.no_dead_strip	_tsquerysel
.subsections_via_symbols
