	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locate_stem_module
_locate_stem_module:                    ## @locate_stem_module
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	_stemmer_modules@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	_PG_SQL_ASCII@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	56(%rbx), %rdi
	addq	$32, %rbx
	testq	%rdi, %rdi
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r14
	cmpq	(%r13), %r14
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetDatabaseEncoding
	cmpq	%rax, %r14
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	jmp	LBB0_5
LBB0_8:
	movq	_stemmer_modules@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.9:
	movq	%r12, %r14
	addq	$16, %rbx
	movq	_PG_UTF8@GOTPCREL(%rip), %r12
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	40(%rbx), %rdi
	addq	$32, %rbx
	testq	%rdi, %rdi
	je	LBB0_15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rsi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	callq	*-8(%rbx)
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	jmp	LBB0_13
LBB0_15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	xorl	%eax, %eax
	callq	_GetDatabaseEncodingName
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_6:
	movl	16(%rbx), %eax
	movl	%eax, 8(%r12)
	xorl	%eax, %eax
	callq	*8(%rbx)
	movl	%eax, 4(%r12)
	movl	$0, (%r12)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stemmer_modules,8,3            ## @stemmer_modules
	.comm	_PG_SQL_ASCII,8,3               ## @PG_SQL_ASCII
	.comm	_PG_UTF8,8,3                    ## @PG_UTF8
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no Snowball stemmer available for language \"%s\" and encoding \"%s\""

	.no_dead_strip	_locate_stem_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function locate_stem_module
_locate_stem_module:                    ; @locate_stem_module
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _stemmer_modules@GOTPAGE
Lloh1:
	ldr	x21, [x21, _stemmer_modules@GOTPAGEOFF]
	ldr	x22, [x21]
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_13
; %bb.1:
Lloh2:
	adrp	x23, _PG_SQL_ASCII@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PG_SQL_ASCII@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x20
	bl	_pg_strcasecmp
	cbz	x0, LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #56]
	add	x22, x22, #32
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22]
	ldr	x8, [x23]
	cmp	x24, x8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetDatabaseEncoding
	cmp	x24, x0
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #24]
	b	LBB0_2
LBB0_7:
	ldr	x8, [x21]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_13
; %bb.8:
	add	x21, x8, #8
Lloh4:
	adrp	x22, _PG_UTF8@GOTPAGE
Lloh5:
	ldr	x22, [x22, _PG_UTF8@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x21, #48]
	add	x21, x21, #32
	cbz	x0, LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x1, x20
	bl	_pg_strcasecmp
	cbnz	x0, LBB0_9
; %bb.12:
	ldr	w8, [x21, #8]
	str	w8, [x19, #8]
	ldr	x8, [x21]
	blr	x8
	mov	w8, #1
	stp	w8, w0, [x19]
	b	LBB0_15
LBB0_13:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	bl	_GetDatabaseEncodingName
	mov	x2, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ereport
LBB0_14:
	ldr	w8, [x22, #16]
	str	w8, [x19, #8]
	ldr	x8, [x22, #8]
	blr	x8
	stp	wzr, w0, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_stemmer_modules,8,3            ; @stemmer_modules
	.comm	_PG_SQL_ASCII,8,3               ; @PG_SQL_ASCII
	.comm	_PG_UTF8,8,3                    ; @PG_UTF8
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no Snowball stemmer available for language \"%s\" and encoding \"%s\""

	.no_dead_strip	_locate_stem_module
.subsections_via_symbols
