	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConstraintSetParentConstraint  ## -- Begin function ConstraintSetParentConstraint
	.p2align	4, 0x90
_ConstraintSetParentConstraint:         ## @ConstraintSetParentConstraint
	.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, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_ConstraintRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CONSTROID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_elog
LBB0_2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_heap_copytuple
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_OidIsValid
	movq	(%r14), %rcx
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	testq	%rcx, %rcx
	sete	%dil
	callq	_Assert
	movq	8(%r14), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_elog
LBB0_5:
	movl	$0, 16(%r14)
	incq	(%r14)
	movq	%r13, 8(%r14)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_CatalogTupleUpdate
	movq	_ConstraintRelationId@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_ObjectAddressSet
	movl	(%rbx), %esi
	movq	%r13, %rdx
	callq	_ObjectAddressSet
	movq	_DEPENDENCY_PARTITION_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-76(%rbp), %r12
	leaq	-60(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_recordDependencyOn
	movl	-60(%rbp), %edi
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ObjectAddressSet
	movq	_DEPENDENCY_PARTITION_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_recordDependencyOn
	jmp	LBB0_7
LBB0_6:
	decq	%rcx
	movq	%rcx, (%r14)
	movl	$1, 16(%r14)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	sete	%dil
	callq	_Assert
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_CatalogTupleUpdate
	movq	_ConstraintRelationId@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_DEPENDENCY_PARTITION_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%edi, %edx
	callq	_deleteDependencyRecordsForClass
	movl	(%r12), %edi
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DEPENDENCY_PARTITION_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_deleteDependencyRecordsForClass
LBB0_7:
	movq	%r15, %rdi
	callq	_ReleaseSysCache
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_table_close
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ConstraintRelationId,4,2       ## @ConstraintRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_CONSTROID,4,2                  ## @CONSTROID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for constraint %u"

	.comm	_InvalidOid,8,3                 ## @InvalidOid
L_.str.1:                               ## @.str.1
	.asciz	"constraint %u already has a parent constraint"

	.comm	_DEPENDENCY_PARTITION_PRI,4,2   ## @DEPENDENCY_PARTITION_PRI
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_DEPENDENCY_PARTITION_SEC,4,2   ## @DEPENDENCY_PARTITION_SEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConstraintSetParentConstraint  ; -- Begin function ConstraintSetParentConstraint
	.p2align	2
_ConstraintSetParentConstraint:         ; @ConstraintSetParentConstraint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x27, _ConstraintRelationId@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ConstraintRelationId@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x26, _RowExclusiveLock@GOTPAGE
Lloh3:
	ldr	x26, [x26, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_table_open
	mov	x19, x0
Lloh4:
	adrp	x8, _CONSTROID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONSTROID@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_2:
	mov	x0, x20
	bl	_heap_copytuple
	mov	x24, x0
	bl	_GETSTRUCT
	mov	x25, x0
	mov	x0, x23
	bl	_OidIsValid
	ldr	x8, [x25]
	cbz	x0, LBB0_6
; %bb.3:
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x25, #8]
Lloh12:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh13:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_5:
	str	wzr, [x25, #16]
	ldr	x8, [x25]
	add	x8, x8, #1
	stp	x8, x23, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_CatalogTupleUpdate
	ldr	w1, [x27]
	mov	x2, x21
	bl	_ObjectAddressSet
	ldr	w1, [x27]
	mov	x2, x23
	bl	_ObjectAddressSet
Lloh20:
	adrp	x8, _DEPENDENCY_PARTITION_PRI@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DEPENDENCY_PARTITION_PRI@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_recordDependencyOn
	ldr	w0, [sp, #8]
Lloh23:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_ObjectAddressSet
Lloh26:
	adrp	x8, _DEPENDENCY_PARTITION_SEC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DEPENDENCY_PARTITION_SEC@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_recordDependencyOn
	b	LBB0_7
LBB0_6:
	subs	x8, x8, #1
	str	x8, [x25]
	mov	w8, #1
	str	w8, [x25, #16]
Lloh29:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh30:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x25, #8]
	cset	w0, eq
	bl	_Assert
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_CatalogTupleUpdate
	ldr	w0, [x27]
Lloh32:
	adrp	x8, _DEPENDENCY_PARTITION_PRI@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DEPENDENCY_PARTITION_PRI@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x1, x21
	mov	x2, x0
	bl	_deleteDependencyRecordsForClass
	ldr	w0, [x27]
Lloh35:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _DEPENDENCY_PARTITION_SEC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DEPENDENCY_PARTITION_SEC@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_deleteDependencyRecordsForClass
LBB0_7:
	mov	x0, x20
	bl	_ReleaseSysCache
	ldr	w1, [x26]
	mov	x0, x19
	bl	_table_close
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ConstraintRelationId,4,2       ; @ConstraintRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_CONSTROID,4,2                  ; @CONSTROID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for constraint %u"

	.comm	_InvalidOid,8,3                 ; @InvalidOid
l_.str.1:                               ; @.str.1
	.asciz	"constraint %u already has a parent constraint"

	.comm	_DEPENDENCY_PARTITION_PRI,4,2   ; @DEPENDENCY_PARTITION_PRI
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_DEPENDENCY_PARTITION_SEC,4,2   ; @DEPENDENCY_PARTITION_SEC
.subsections_via_symbols
