	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_language_template
_find_language_template:                ## @find_language_template
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_PLTemplateRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r14d
	movq	_Anum_pg_pltemplate_tmplname@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_NAMEEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_CStringGetDatum
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_PLTemplateNameIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movl	%r14d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movq	%r15, %r9
	callq	_systable_beginscan
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movl	%r13d, %edi
	callq	_GETSTRUCT
	movslq	%eax, %rbx
	movl	$40, %edi
	callq	_palloc0
	movq	%rax, %r12
	movl	4(%rbx), %eax
	movl	%eax, 36(%r12)
	movl	(%rbx), %eax
	movl	%eax, 32(%r12)
	movq	_Anum_pg_pltemplate_tmplhandler@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_RelationGetDescr
	leaq	-44(%rbp), %rcx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_heap_getattr
	cmpl	$0, -44(%rbp)
	jne	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_TextDatumGetCString
	movq	%rax, 8(%r12)
LBB0_3:
	movq	_Anum_pg_pltemplate_tmplinline@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_RelationGetDescr
	leaq	-44(%rbp), %rcx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_heap_getattr
	cmpl	$0, -44(%rbp)
	jne	LBB0_5
## %bb.4:
	movl	%eax, %edi
	callq	_TextDatumGetCString
	movq	%rax, 24(%r12)
LBB0_5:
	movq	_Anum_pg_pltemplate_tmplvalidator@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_RelationGetDescr
	leaq	-44(%rbp), %rcx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_heap_getattr
	cmpl	$0, -44(%rbp)
	jne	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_TextDatumGetCString
	movq	%rax, 16(%r12)
LBB0_7:
	movq	_Anum_pg_pltemplate_tmpllibrary@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_RelationGetDescr
	leaq	-44(%rbp), %rcx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_heap_getattr
	cmpl	$0, -44(%rbp)
	je	LBB0_8
## %bb.9:
	cmpq	$0, 8(%r12)
	jne	LBB0_10
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %edi
	callq	_TextDatumGetCString
	movq	%rax, (%r12)
	cmpq	$0, 8(%r12)
	je	LBB0_11
LBB0_10:
	cmpq	$0, (%r12)
	jne	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r15d, %edi
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_table_close
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLTemplateRelationId,4,2       ## @PLTemplateRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_pltemplate_tmplname,4,2 ## @Anum_pg_pltemplate_tmplname
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_NAMEEQ,4,2                   ## @F_NAMEEQ
	.comm	_PLTemplateNameIndexId,4,2      ## @PLTemplateNameIndexId
	.comm	_Anum_pg_pltemplate_tmplhandler,4,2 ## @Anum_pg_pltemplate_tmplhandler
	.comm	_Anum_pg_pltemplate_tmplinline,4,2 ## @Anum_pg_pltemplate_tmplinline
	.comm	_Anum_pg_pltemplate_tmplvalidator,4,2 ## @Anum_pg_pltemplate_tmplvalidator
	.comm	_Anum_pg_pltemplate_tmpllibrary,4,2 ## @Anum_pg_pltemplate_tmpllibrary
	.no_dead_strip	_find_language_template
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_language_template
_find_language_template:                ; @find_language_template
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _PLTemplateRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLTemplateRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x24, _AccessShareLock@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_table_open
	mov	x19, x0
Lloh5:
	adrp	x8, _Anum_pg_pltemplate_tmplname@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Anum_pg_pltemplate_tmplname@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _F_NAMEEQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_NAMEEQ@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_CStringGetDatum
	mov	x4, x0
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_ScanKeyInit
Lloh14:
	adrp	x8, _PLTemplateNameIndexId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PLTemplateNameIndexId@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	mov	x20, x0
	bl	_systable_getnext
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_11
; %bb.1:
	mov	x0, x22
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	mov	w0, #40
	bl	_palloc0
	mov	x21, x0
	ldr	d0, [x23]
	str	d0, [x0, #32]
Lloh17:
	adrp	x8, _Anum_pg_pltemplate_tmplhandler@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Anum_pg_pltemplate_tmplhandler@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_heap_getattr
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	bl	_TextDatumGetCString
	str	x0, [x21, #8]
LBB0_3:
Lloh20:
	adrp	x8, _Anum_pg_pltemplate_tmplinline@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Anum_pg_pltemplate_tmplinline@GOTPAGEOFF]
Lloh22:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_heap_getattr
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_5
; %bb.4:
	bl	_TextDatumGetCString
	str	x0, [x21, #24]
LBB0_5:
Lloh23:
	adrp	x8, _Anum_pg_pltemplate_tmplvalidator@GOTPAGE
Lloh24:
	ldr	x8, [x8, _Anum_pg_pltemplate_tmplvalidator@GOTPAGEOFF]
Lloh25:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_heap_getattr
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_7
; %bb.6:
	bl	_TextDatumGetCString
	str	x0, [x21, #16]
LBB0_7:
Lloh26:
	adrp	x8, _Anum_pg_pltemplate_tmpllibrary@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Anum_pg_pltemplate_tmpllibrary@GOTPAGEOFF]
Lloh28:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_heap_getattr
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_10
	b	LBB0_11
LBB0_9:
	bl	_TextDatumGetCString
	str	x0, [x21]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_11
LBB0_10:
	ldr	x8, [x21]
	cbnz	x8, LBB0_12
LBB0_11:
	mov	x21, #0
LBB0_12:
	mov	x0, x20
	bl	_systable_endscan
	ldr	w1, [x24]
	mov	x0, x19
	bl	_table_close
	mov	x0, x21
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PLTemplateRelationId,4,2       ; @PLTemplateRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_pltemplate_tmplname,4,2 ; @Anum_pg_pltemplate_tmplname
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_NAMEEQ,4,2                   ; @F_NAMEEQ
	.comm	_PLTemplateNameIndexId,4,2      ; @PLTemplateNameIndexId
	.comm	_Anum_pg_pltemplate_tmplhandler,4,2 ; @Anum_pg_pltemplate_tmplhandler
	.comm	_Anum_pg_pltemplate_tmplinline,4,2 ; @Anum_pg_pltemplate_tmplinline
	.comm	_Anum_pg_pltemplate_tmplvalidator,4,2 ; @Anum_pg_pltemplate_tmplvalidator
	.comm	_Anum_pg_pltemplate_tmpllibrary,4,2 ; @Anum_pg_pltemplate_tmpllibrary
	.no_dead_strip	_find_language_template
.subsections_via_symbols
