	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterSequence                  ## -- Begin function AlterSequence
	.p2align	4, 0x90
_AlterSequence:                         ## @AlterSequence
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	movq	_ShareRowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 16(%r15)
	je	LBB0_2
## %bb.1:
	movq	_RVR_MISSING_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movq	_RangeVarCallbackOwnsRelation@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%r8d, %r8d
	callq	_RangeVarGetRelidExtended
	movq	%rax, %r14
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_4
## %bb.3:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_init_sequence
	movq	_SequenceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_SEQRELID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_elog
LBB0_6:
	movq	%r12, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r13
	movq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-100(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_read_seq_tuple
	movq	%rbx, %rdi
	callq	_heap_copytuple
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movq	%rax, %rbx
	movl	-56(%rbp), %edi
	callq	_UnlockReleaseBuffer
	movl	(%r15), %edx
	movl	4(%r15), %esi
	leaq	-88(%rbp), %rax
	leaq	-52(%rbp), %r10
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %r8
	movq	%rbx, %r9
	pushq	%rax
	pushq	%r10
	callq	_init_params
	addq	$16, %rsp
	movq	-96(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%rax)
	cmpl	$0, -52(%rbp)
	je	LBB0_10
## %bb.7:
	movq	-48(%rbp), %rdi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_GetTopTransactionId
LBB0_9:
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rax
	movl	16(%rax), %esi
	callq	_RelationSetNewRelfilenode
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	_InvalidMultiXactId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	-48(%rbp), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_fill_seq_with_data
LBB0_10:
	movq	-88(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi
	movl	(%r15), %edx
	callq	_process_owned_by
LBB0_12:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_CatalogTupleUpdate
	movq	_RelationRelationId@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_ObjectAddressSet
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_table_close
	movq	-48(%rbp), %rdi
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_relation_close
                                        ## implicit-def: $eax
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ShareRowExclusiveLock,4,2      ## @ShareRowExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ## @RVR_MISSING_OK
	.comm	_RangeVarCallbackOwnsRelation,4,2 ## @RangeVarCallbackOwnsRelation
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_NOTICE,4,2                     ## @NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ## @InvalidObjectAddress
	.comm	_SequenceRelationId,4,2         ## @SequenceRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_SEQRELID,4,2                   ## @SEQRELID
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for sequence %u"

	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_InvalidMultiXactId,8,3         ## @InvalidMultiXactId
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterSequence                  ; -- Begin function AlterSequence
	.p2align	2
_AlterSequence:                         ; @AlterSequence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ShareRowExclusiveLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ShareRowExclusiveLock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x0, x8, [x20, #8]
Lloh3:
	adrp	x9, _RVR_MISSING_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RVR_MISSING_OK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
Lloh6:
	adrp	x8, _RangeVarCallbackOwnsRelation@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RangeVarCallbackOwnsRelation@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_RangeVarGetRelidExtended
Lloh9:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _NOTICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh17:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_2:
	mov	x19, x0
	add	x1, sp, #40
	add	x2, sp, #32
	bl	_init_sequence
Lloh20:
	adrp	x8, _SequenceRelationId@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SequenceRelationId@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x27, _RowExclusiveLock@GOTPAGE
Lloh24:
	ldr	x27, [x27, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_table_open
	mov	x21, x0
Lloh25:
	adrp	x8, _SEQRELID@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SEQRELID@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCacheCopy1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_4
; %bb.3:
Lloh28:
	adrp	x8, _ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_4:
	mov	x0, x22
	bl	_GETSTRUCT
	mov	x25, x0
	ldr	x0, [sp, #32]
	add	x1, sp, #28
	add	x2, sp, #24
	bl	_read_seq_tuple
	add	x0, sp, #24
	bl	_heap_copytuple
	mov	x24, x0
	bl	_GETSTRUCT
	mov	x26, x0
	ldr	w0, [sp, #28]
	bl	_UnlockReleaseBuffer
	ldp	w2, w1, [x20]
	add	x6, sp, #20
	add	x7, sp, #8
	mov	x0, x23
	mov	w3, #0
	mov	x4, x25
	mov	x5, x26
	bl	_init_params
	ldr	x8, [sp, #40]
	ldr	w9, [x8]
	str	w9, [x8, #4]
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	x0, [sp, #32]
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_7
; %bb.6:
	bl	_GetTopTransactionId
LBB0_7:
	ldr	x0, [sp, #32]
	ldr	x8, [x0]
	ldr	w1, [x8, #16]
	bl	_RelationSetNewRelfilenode
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _InvalidTransactionId@GOTPAGE
Lloh34:
	ldr	x9, [x9, _InvalidTransactionId@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
Lloh36:
	adrp	x9, _InvalidMultiXactId@GOTPAGE
Lloh37:
	ldr	x9, [x9, _InvalidMultiXactId@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x0, [sp, #32]
	mov	x1, x24
	bl	_fill_seq_with_data
LBB0_8:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	x0, [sp, #32]
	ldr	w2, [x20]
	bl	_process_owned_by
LBB0_10:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x22
	bl	_CatalogTupleUpdate
Lloh39:
	adrp	x20, _RelationRelationId@GOTPAGE
Lloh40:
	ldr	x20, [x20, _RelationRelationId@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	ldr	w1, [x20]
	mov	x2, x19
	bl	_ObjectAddressSet
	ldr	w1, [x27]
	mov	x0, x21
	bl	_table_close
	ldr	x0, [sp, #32]
Lloh41:
	adrp	x8, _NoLock@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_relation_close
                                        ; implicit-def: $w0
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ShareRowExclusiveLock,4,2      ; @ShareRowExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ; @RVR_MISSING_OK
	.comm	_RangeVarCallbackOwnsRelation,4,2 ; @RangeVarCallbackOwnsRelation
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_NOTICE,4,2                     ; @NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ; @InvalidObjectAddress
	.comm	_SequenceRelationId,4,2         ; @SequenceRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_SEQRELID,4,2                   ; @SEQRELID
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for sequence %u"

	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_InvalidMultiXactId,8,3         ; @InvalidMultiXactId
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
