	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prs_setup_firstcall
_prs_setup_firstcall:                   ## @prs_setup_firstcall
	.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	%rdx, %r13
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_lookup_ts_parser_cache
	movq	%rax, %r15
	movq	$0, -56(%rbp)
	movl	$0, -44(%rbp)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$24, %edi
	callq	_palloc
	movq	%rax, %r14
	movq	$0, (%rax)
	movl	$16, 8(%rax)
	movl	$256, %edi                      ## imm = 0x100
	callq	_palloc
	movq	%rax, 16(%r14)
	leaq	8(%r15), %rbx
	movq	%r13, %rdi
	callq	_VARDATA_ANY
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_VARSIZE_ANY_EXHDR
	movl	%eax, %edi
	callq	_Int32GetDatum
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_FunctionCall2
	movl	%eax, %edi
	callq	_DatumGetPointer
	movq	%rax, %r13
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	addq	$4, %r12
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	callq	_PointerGetDatum
	movl	%eax, %r15d
	leaq	-44(%rbp), %rdi
	callq	_PointerGetDatum
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_FunctionCall3
	movl	%eax, %edi
	callq	_DatumGetInt32
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%eax, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	incl	%edi
	callq	_palloc
	movq	(%r14), %rcx
	movq	16(%r14), %rdx
	shlq	$4, %rcx
	movq	%rax, (%rdx,%rcx)
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movq	16(%r14), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %rax
	movslq	-44(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	movq	(%r14), %rax
	movq	16(%r14), %rcx
	movq	%rax, %rdx
	shlq	$4, %rdx
	movl	%r15d, 8(%rcx,%rdx)
	incq	%rax
	movq	%rax, (%r14)
	movq	%r13, %rdi
	callq	_PointerGetDatum
	movl	%eax, %r15d
	leaq	-56(%rbp), %rdi
	callq	_PointerGetDatum
	movl	%eax, %ebx
	leaq	-44(%rbp), %rdi
	callq	_PointerGetDatum
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_FunctionCall3
	movl	%eax, %edi
	callq	_DatumGetInt32
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	8(%r14), %rsi
	cmpq	%rsi, (%r14)
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rsi,%rsi), %eax
	movl	%eax, 8(%r14)
	movq	16(%r14), %rdi
	shll	$5, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	movq	%rax, 16(%r14)
	jmp	LBB0_4
LBB0_5:
	movq	%r13, %rdi
	callq	_PointerGetDatum
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_FunctionCall1
	movl	(%r14), %eax
	movl	%eax, 8(%r14)
	movq	$0, (%r14)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r14, 8(%r15)
	movl	$2, %edi
	callq	_CreateTemplateTupleDesc
	movl	%eax, %ebx
	movq	_INT4OID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitEntry
	movq	_TEXTOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitEntry
	movl	%ebx, %edi
	callq	_TupleDescGetAttInMetadata
	movl	%eax, (%r15)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tokid"

	.comm	_INT4OID,4,2                    ## @INT4OID
L_.str.1:                               ## @.str.1
	.asciz	"token"

	.comm	_TEXTOID,4,2                    ## @TEXTOID
	.no_dead_strip	_prs_setup_firstcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prs_setup_firstcall
_prs_setup_firstcall:                   ; @prs_setup_firstcall
	.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	x23, x2
	mov	x19, x0
	mov	x0, x1
	bl	_lookup_ts_parser_cache
	mov	x21, x0
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w0, [x19, #16]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	w0, #24
	bl	_palloc
	mov	x22, x0
	str	xzr, [x0]
	mov	w8, #16
	str	w8, [x0, #8]
	mov	w0, #256
	bl	_palloc
	str	x0, [x22, #16]
	add	x24, x21, #8
	mov	x0, x23
	bl	_VARDATA_ANY
	bl	_PointerGetDatum
	mov	x25, x0
	mov	x0, x23
	bl	_VARSIZE_ANY_EXHDR
	bl	_Int32GetDatum
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	bl	_FunctionCall2
	bl	_DatumGetPointer
	mov	x23, x0
	add	x24, x21, #4
	bl	_PointerGetDatum
	mov	x25, x0
	add	x0, sp, #8
	bl	_PointerGetDatum
	mov	x26, x0
	add	x0, sp, #4
	bl	_PointerGetDatum
	mov	x3, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	bl	_FunctionCall3
	bl	_DatumGetInt32
	cbz	w0, LBB0_5
; %bb.1:
	mov	x25, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #4]
	add	w0, w8, #1
	bl	_palloc
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	str	x0, [x8, x9]
	ldr	x1, [sp, #8]
	ldr	w2, [sp, #4]
	bl	_memcpy
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	ldrsw	x9, [sp, #4]
	strb	wzr, [x8, x9]
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #4
	str	w25, [x8, #8]
	add	x8, x9, #1
	str	x8, [x22]
	mov	x0, x23
	bl	_PointerGetDatum
	mov	x25, x0
	add	x0, sp, #8
	bl	_PointerGetDatum
	mov	x26, x0
	add	x0, sp, #4
	bl	_PointerGetDatum
	mov	x3, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	bl	_FunctionCall3
	bl	_DatumGetInt32
	mov	x25, x0
	cbz	w0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	ldrsw	x8, [x22, #8]
	cmp	x9, x8
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w9, w8, #1
	str	w9, [x22, #8]
	ldr	x0, [x22, #16]
	lsl	w1, w8, #5
	bl	_repalloc
	str	x0, [x22, #16]
	b	LBB0_2
LBB0_5:
	mov	x0, x23
	bl	_PointerGetDatum
	mov	x1, x0
	mov	x0, x21
	bl	_FunctionCall1
	ldr	x8, [x22]
	str	w8, [x22, #8]
	str	xzr, [x22]
	str	x22, [x19, #8]
	mov	w0, #2
	bl	_CreateTemplateTupleDesc
	mov	x21, x0
Lloh0:
	adrp	x8, _INT4OID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT4OID@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitEntry
Lloh5:
	adrp	x8, _TEXTOID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TEXTOID@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #2
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitEntry
	mov	x0, x21
	bl	_TupleDescGetAttInMetadata
	str	w0, [x19]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	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 AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tokid"

	.comm	_INT4OID,4,2                    ; @INT4OID
l_.str.1:                               ; @.str.1
	.asciz	"token"

	.comm	_TEXTOID,4,2                    ; @TEXTOID
	.no_dead_strip	_prs_setup_firstcall
.subsections_via_symbols
