	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_ts_parser_cache         ## -- Begin function lookup_ts_parser_cache
	.p2align	4, 0x90
_lookup_ts_parser_cache:                ## @lookup_ts_parser_cache
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rdi, -48(%rbp)
	movq	_TSParserCacheHash@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_3
## %bb.1:
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_MemSet
	movabsq	$240518168584, %rax             ## imm = 0x3800000008
	movq	%rax, -104(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_hash_create
	movq	%rax, (%r13)
	movq	_TSPARSEROID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_InvalidateTSCacheCallBack@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_CacheRegisterSyscacheCallback
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_CreateCacheMemoryContext
LBB0_3:
	movq	_lastUsedParser@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	cmpq	%r14, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpl	$0, 16(%rbx)
	jne	LBB0_22
LBB0_6:
	movq	(%r13), %rdi
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	cmpl	$0, 16(%rbx)
	jne	LBB0_21
LBB0_8:
	movq	_TSPARSEROID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-48(%rbp), %rdi
	callq	_ObjectIdGetDatum
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_10:
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movq	%rax, %r15
	movl	16(%rax), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
LBB0_12:
	movl	12(%r15), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_elog
LBB0_14:
	movl	8(%r15), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	testq	%rbx, %rbx
	jne	LBB0_18
LBB0_17:
	movq	(%r13), %rdi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	leaq	-104(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpl	$0, -104(%rbp)
	sete	%dil
	callq	_Assert
LBB0_18:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_MemSet
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	12(%r15), %eax
	movl	%eax, 40(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 32(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	%r14d, %edi
	callq	_ReleaseSysCache
	movl	48(%rbx), %edi
	leaq	44(%rbx), %rsi
	movq	_CacheMemoryContext@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_fmgr_info_cxt
	movl	40(%rbx), %edi
	leaq	36(%rbx), %rsi
	movl	(%r14), %edx
	callq	_fmgr_info_cxt
	movl	32(%rbx), %edi
	leaq	28(%rbx), %rsi
	movl	(%r14), %edx
	callq	_fmgr_info_cxt
	movl	24(%rbx), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	24(%rbx), %edi
	leaq	20(%rbx), %rsi
	movl	(%r14), %edx
	callq	_fmgr_info_cxt
LBB0_20:
	movl	$1, 16(%rbx)
LBB0_21:
	movq	%rbx, (%r12)
LBB0_22:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	callq	_elog
	testq	%rbx, %rbx
	jne	LBB0_18
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_TSParserCacheHash,8,3          ## @TSParserCacheHash
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tsearch parser cache"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_TSPARSEROID,4,2                ## @TSPARSEROID
	.comm	_InvalidateTSCacheCallBack,4,2  ## @InvalidateTSCacheCallBack
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_lastUsedParser,8,3             ## @lastUsedParser
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for text search parser %u"

L_.str.2:                               ## @.str.2
	.asciz	"text search parser %u has no prsstart method"

L_.str.3:                               ## @.str.3
	.asciz	"text search parser %u has no prstoken method"

L_.str.4:                               ## @.str.4
	.asciz	"text search parser %u has no prsend method"

	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lookup_ts_parser_cache
lCPI0_0:
	.long	8                               ; 0x8
	.long	56                              ; 0x38
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lookup_ts_parser_cache
	.p2align	2
_lookup_ts_parser_cache:                ; @lookup_ts_parser_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x0
	str	x0, [sp, #56]
Lloh0:
	adrp	x23, _TSParserCacheHash@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TSParserCacheHash@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #56
	bl	_MemSet
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh4:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
	str	d0, [sp]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, sp
	mov	w1, #4
	bl	_hash_create
	str	x0, [x23]
Lloh12:
	adrp	x8, _TSPARSEROID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TSPARSEROID@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x8, _InvalidateTSCacheCallBack@GOTPAGE
Lloh16:
	ldr	x8, [x8, _InvalidateTSCacheCallBack@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	bl	_PointerGetDatum
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_CacheRegisterSyscacheCallback
Lloh18:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	bl	_CreateCacheMemoryContext
LBB0_3:
Lloh21:
	adrp	x22, _lastUsedParser@GOTPAGE
Lloh22:
	ldr	x22, [x22, _lastUsedParser@GOTPAGEOFF]
	ldr	x19, [x22]
	cbz	x19, LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_21
LBB0_6:
	ldr	x0, [x23]
Lloh23:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	add	x1, sp, #56
	mov	x3, #0
	bl	_hash_search
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_20
LBB0_8:
Lloh26:
	adrp	x8, _TSPARSEROID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TSPARSEROID@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	ldr	x0, [sp, #56]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_10
; %bb.9:
Lloh29:
	adrp	x8, _ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	x2, [sp, #56]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_10:
	mov	x0, x20
	bl	_GETSTRUCT
	mov	x21, x0
	ldr	w0, [x0, #16]
	bl	_OidIsValid
	cbnz	x0, LBB0_12
; %bb.11:
Lloh34:
	adrp	x8, _ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x2, [sp, #56]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_12:
	ldr	w0, [x21, #12]
	bl	_OidIsValid
	cbnz	x0, LBB0_14
; %bb.13:
Lloh39:
	adrp	x8, _ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldr	x2, [sp, #56]
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_elog
LBB0_14:
	ldr	w0, [x21, #8]
	bl	_OidIsValid
	cbz	x0, LBB0_22
; %bb.15:
	cbnz	x19, LBB0_17
LBB0_16:
	ldr	x0, [x23]
Lloh44:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh45:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	add	x1, sp, #56
	mov	x3, sp
	bl	_hash_search
	mov	x19, x0
	ldr	w8, [sp]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
LBB0_17:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_MemSet
	ldr	x8, [sp, #56]
	str	x8, [x19, #8]
	ldr	w8, [x21, #16]
	str	w8, [x19, #48]
	ldr	w8, [x21, #12]
	str	w8, [x19, #40]
	ldr	w8, [x21, #8]
	str	w8, [x19, #32]
	ldr	w8, [x21, #4]
	str	w8, [x19, #24]
	ldr	w8, [x21]
	str	w8, [x19, #52]
	mov	x0, x20
	bl	_ReleaseSysCache
	ldr	w0, [x19, #48]
	add	x1, x19, #44
Lloh47:
	adrp	x20, _CacheMemoryContext@GOTPAGE
Lloh48:
	ldr	x20, [x20, _CacheMemoryContext@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_fmgr_info_cxt
	ldr	w0, [x19, #40]
	add	x1, x19, #36
	ldr	w2, [x20]
	bl	_fmgr_info_cxt
	ldr	w0, [x19, #32]
	add	x1, x19, #28
	ldr	w2, [x20]
	bl	_fmgr_info_cxt
	ldr	w0, [x19, #24]
	bl	_OidIsValid
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [x19, #24]
	add	x1, x19, #20
	ldr	w2, [x20]
	bl	_fmgr_info_cxt
LBB0_19:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_20:
	str	x19, [x22]
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
Lloh49:
	adrp	x8, _ERROR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	x2, [sp, #56]
Lloh52:
	adrp	x1, l_.str.4@PAGE
Lloh53:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_elog
	cbnz	x19, LBB0_17
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_TSParserCacheHash,8,3          ; @TSParserCacheHash
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tsearch parser cache"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_TSPARSEROID,4,2                ; @TSPARSEROID
	.comm	_InvalidateTSCacheCallBack,4,2  ; @InvalidateTSCacheCallBack
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_lastUsedParser,8,3             ; @lastUsedParser
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for text search parser %u"

l_.str.2:                               ; @.str.2
	.asciz	"text search parser %u has no prsstart method"

l_.str.3:                               ; @.str.3
	.asciz	"text search parser %u has no prstoken method"

l_.str.4:                               ; @.str.4
	.asciz	"text search parser %u has no prsend method"

	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
.subsections_via_symbols
