	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTSConfiguration           ## -- Begin function AlterTSConfiguration
	.p2align	4, 0x90
_AlterTSConfiguration:                  ## @AlterTSConfiguration
	.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, %r12
	movl	16(%rdi), %edi
	callq	_GetTSConfigTuple
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	16(%r12), %edi
	callq	_NameListToString
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pg_ts_config_ownercheck
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ACLCHECK_NOT_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_OBJECT_TSCONFIGURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	16(%r12), %edi
	callq	_NameListToString
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_aclcheck_error
LBB0_4:
	movq	_TSConfigMapRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_table_open
	movl	%eax, %ebx
	cmpq	$0, 8(%r12)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_MakeConfigurationMapping
	jmp	LBB0_8
LBB0_6:
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_DropConfigurationMapping
LBB0_8:
	movl	%r14d, %edi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_makeConfigurationDependencies
	movq	_TSConfigRelationId@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movl	(%r12), %esi
	movl	%r15d, %edx
	callq	_ObjectAddressSet
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_table_close
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReleaseSysCache                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"text search configuration \"%s\" does not exist"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ## @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_TSCONFIGURATION,4,2     ## @OBJECT_TSCONFIGURATION
	.comm	_TSConfigMapRelationId,4,2      ## @TSConfigMapRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_TSConfigRelationId,4,2         ## @TSConfigRelationId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTSConfiguration           ; -- Begin function AlterTSConfiguration
	.p2align	2
_AlterTSConfiguration:                  ; @AlterTSConfiguration
	.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, x0
	ldr	w0, [x0, #16]
	bl	_GetTSConfigTuple
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x20, #16]
	bl	_NameListToString
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	mov	x0, x19
	bl	_GETSTRUCT
	ldr	w21, [x0]
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x21
	bl	_pg_ts_config_ownercheck
	cbnz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _ACLCHECK_NOT_OWNER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACLCHECK_NOT_OWNER@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _OBJECT_TSCONFIGURATION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OBJECT_TSCONFIGURATION@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	ldr	w0, [x20, #16]
	bl	_NameListToString
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_aclcheck_error
LBB0_4:
Lloh14:
	adrp	x8, _TSConfigMapRelationId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TSConfigMapRelationId@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x23, _RowExclusiveLock@GOTPAGE
Lloh18:
	ldr	x23, [x23, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_table_open
	mov	x22, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_MakeConfigurationMapping
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_DropConfigurationMapping
LBB0_8:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	bl	_makeConfigurationDependencies
Lloh19:
	adrp	x20, _TSConfigRelationId@GOTPAGE
Lloh20:
	ldr	x20, [x20, _TSConfigRelationId@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x21
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	ldr	w1, [x20]
	mov	x2, x21
	bl	_ObjectAddressSet
	ldr	w1, [x23]
	mov	x0, x22
	bl	_table_close
	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	_ReleaseSysCache
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"text search configuration \"%s\" does not exist"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ; @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_TSCONFIGURATION,4,2     ; @OBJECT_TSCONFIGURATION
	.comm	_TSConfigMapRelationId,4,2      ; @TSConfigMapRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_TSConfigRelationId,4,2         ; @TSConfigRelationId
.subsections_via_symbols
