	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addFkRecurseReferenced
_addFkRecurseReferenced:                ## @addFkRecurseReferenced
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %r13
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	cmpq	(%r13), %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	_CONSTRAINT_RELATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movq	(%r12), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ConstraintNameIsUsed
	testq	%rax, %rax
	movl	%r14d, -88(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_RelationGetRelationName
	movl	%eax, %r14d
	movl	32(%r12), %edi
	callq	_ChooseForeignKeyConstraintNameAddition
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_RelationGetNamespace
	movq	_NIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movl	-88(%rbp), %r14d                ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_ChooseConstraintName
	jmp	LBB0_6
LBB0_5:
	movq	(%r12), %rax
LBB0_6:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, -76(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	(%r15), %rax
	movq	(%rax), %rax
	xorl	%r12d, %r12d
	cmpq	(%r13), %rax
	setne	%r12b
	movl	$1, %ebx
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	%r15, %rdi
	callq	_RelationGetNamespace
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_CONSTRAINT_FOREIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	28(%r13), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	20(%r13), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	24(%r13), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movl	%eax, %r15d
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetRelid
	movl	16(%r13), %ecx
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	subq	$192, %rsp
	movl	%r12d, 168(%rsp)
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 160(%rsp)
	movl	%ebx, 152(%rsp)
	movl	%edx, 120(%rsp)
	movl	%esi, 112(%rsp)
	movl	%ecx, 104(%rsp)
	movl	%eax, 56(%rsp)
	movl	%r14d, 40(%rsp)
	movl	%r15d, 8(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%rsp)
	movl	16(%rbp), %eax
	movq	%rax, %rcx
	movl	%ecx, 96(%rsp)
	movq	56(%rbp), %rax
	movq	%rax, 88(%rsp)
	movq	48(%rbp), %rax
	movq	%rax, 80(%rsp)
	movq	40(%rbp), %rax
	movq	%rax, 72(%rsp)
	movq	24(%rbp), %r13
	movq	%r13, 64(%rsp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 48(%rsp)
	movl	%ecx, 32(%rsp)
	movl	%ecx, 24(%rsp)
	movq	32(%rbp), %rax
	movq	%rax, 16(%rsp)
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, (%rsp)
	movl	$0, 176(%rsp)
	movq	$0, 144(%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-116(%rbp), %r8d                ## 4-byte Reload
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	callq	_CreateConstraintEntry
	addq	$192, %rsp
	movq	_ConstraintRelationId@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	callq	_ObjectAddressSet
	movl	%ebx, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r14), %esi
	movl	%ebx, %edx
	callq	_ObjectAddressSet
	movq	_DEPENDENCY_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-120(%rbp), %rdi
	leaq	-140(%rbp), %rsi
	callq	_recordDependencyOn
LBB0_11:
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_createForeignKeyActionTriggers
	movq	(%rbx), %rax
	movq	(%rax), %rax
LBB0_13:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.14:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetPartitionDesc
	cmpl	$0, (%rax)
	jle	LBB0_29
## %bb.15:
	movq	%rax, %rcx
	movl	16(%rbp), %eax
	leal	(,%rax,4), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$-2, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r14
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	cmpq	%rax, %r14
	movq	24(%rbp), %r13
	jge	LBB0_29
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movq	8(%rcx), %rax
	movl	(%rax,%r14,4), %edi
	movq	_ShareRowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_RelationGetDescr
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetDescr
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_convert_tuples_by_name_map_if_req
	movq	%rax, %r12
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_palloc
	movq	%rax, %rbx
	movl	16(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%eax, %eax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r13,%rax,4), %rcx
	movl	-4(%r12,%rcx,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	movslq	4(%r13,%rax,4), %rcx
	movl	-4(%r12,%rcx,4), %ecx
	movl	%ecx, 4(%rbx,%rax,4)
	addq	$2, %rax
	cmpq	%rax, %rdx
	jne	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movslq	(%r13,%rax,4), %rcx
	movl	-4(%r12,%rcx,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_index_get_partition
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_RelationGetRelationName
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_elog
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	subq	$8, %rsp
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	movl	%r13d, %r8d
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	movl	64(%rbp), %eax
	pushq	%rax
	pushq	56(%rbp)
	pushq	48(%rbp)
	pushq	40(%rbp)
	pushq	32(%rbp)
	pushq	%rbx
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_addFkRecurseReferenced
	addq	$64, %rsp
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_table_close
	testq	%r12, %r12
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_pfree
	movq	%r12, %rdi
	callq	_pfree
	jmp	LBB0_28
LBB0_29:
	movl	-120(%rbp), %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ## @RELKIND_PARTITIONED_TABLE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"referenced relation \"%s\" is not a table"

	.comm	_CONSTRAINT_RELATION,4,2        ## @CONSTRAINT_RELATION
L_.str.1:                               ## @.str.1
	.asciz	"fkey"

	.comm	_NIL,4,2                        ## @NIL
	.comm	_CONSTRAINT_FOREIGN,4,2         ## @CONSTRAINT_FOREIGN
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ConstraintRelationId,4,2       ## @ConstraintRelationId
	.comm	_DEPENDENCY_INTERNAL,4,2        ## @DEPENDENCY_INTERNAL
	.comm	_ShareRowExclusiveLock,4,2      ## @ShareRowExclusiveLock
L_.str.2:                               ## @.str.2
	.asciz	"index for %u not found in partition %s"

	.comm	_NoLock,4,2                     ## @NoLock
	.no_dead_strip	_addFkRecurseReferenced
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addFkRecurseReferenced
_addFkRecurseReferenced:                ; @addFkRecurseReferenced
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x23, x7
	mov	x20, x6
	mov	x26, x5
	stur	w4, [x29, #-100]                ; 4-byte Folded Spill
	mov	x22, x2
	mov	x25, x1
	str	x0, [sp, #144]                  ; 8-byte Folded Spill
	stur	x3, [x29, #-112]                ; 8-byte Folded Spill
	ldr	x8, [x3]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x24, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_2:
Lloh13:
	adrp	x8, _CONSTRAINT_RELATION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CONSTRAINT_RELATION@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	mov	x0, x22
	bl	_RelationGetRelid
	mov	x1, x0
	ldr	x2, [x25]
	mov	x0, x19
	bl	_ConstraintNameIsUsed
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_RelationGetRelationName
	mov	x19, x0
	ldr	w0, [x25, #32]
	bl	_ChooseForeignKeyConstraintNameAddition
	mov	x21, x0
	mov	x0, x22
	bl	_RelationGetNamespace
	mov	x3, x0
Lloh16:
	adrp	x8, _NIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ChooseConstraintName
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_4:
	ldr	x8, [x25]
	str	x8, [sp, #152]                  ; 8-byte Folded Spill
LBB0_5:
	ldr	x9, [x29, #40]
	ldr	x8, [x29, #32]
	stp	x8, x9, [x29, #-128]            ; 16-byte Folded Spill
	ldr	x9, [x29, #24]
	ldr	x8, [x29, #16]
	stp	x8, x9, [x29, #-144]            ; 16-byte Folded Spill
	mov	x0, x26
	bl	_OidIsValid
	stp	w26, w20, [sp, #136]            ; 8-byte Folded Spill
	cbz	x0, LBB0_7
; %bb.6:
	mov	w27, #0
	mov	w8, #1
	stp	wzr, w8, [sp, #128]             ; 8-byte Folded Spill
	b	LBB0_8
LBB0_7:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w27, ne
	mov	w8, #1
	stp	w8, wzr, [sp, #128]             ; 8-byte Folded Spill
LBB0_8:
	mov	x0, x22
	bl	_RelationGetNamespace
	mov	x19, x0
Lloh21:
	adrp	x8, _CONSTRAINT_FOREIGN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CONSTRAINT_FOREIGN@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	ldp	w26, w24, [x25, #24]
	ldr	w28, [x25, #20]
	stur	x22, [x29, #-152]               ; 8-byte Folded Spill
	mov	x0, x22
	bl	_RelationGetRelid
	mov	x22, x0
Lloh24:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_RelationGetRelid
	ldp	w9, w8, [x25, #12]
	str	x25, [sp, #160]                 ; 8-byte Folded Spill
	ldr	w10, [x25, #8]
	stp	xzr, xzr, [sp, #80]
	stp	w27, wzr, [sp, #112]
	ldr	w11, [sp, #132]                 ; 4-byte Folded Reload
	str	w11, [sp, #108]
	ldr	w11, [sp, #128]                 ; 4-byte Folded Reload
	str	w11, [sp, #104]
	str	xzr, [sp, #96]
	stp	w9, w10, [sp, #72]
	str	w8, [sp, #68]
	ldr	w8, [sp, #140]                  ; 4-byte Folded Reload
	str	w8, [sp, #64]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	str	x9, [sp, #56]
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	str	x9, [sp, #48]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	stp	x23, x9, [sp, #32]
	str	w0, [sp, #24]
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	stp	w20, w9, [sp, #16]
	stp	w8, w8, [sp, #8]
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp]
	ldr	x0, [sp, #152]                  ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, x21
	mov	x3, x24
	mov	x4, x26
	mov	x5, x28
	ldr	w20, [sp, #136]                 ; 4-byte Folded Reload
	mov	x6, x20
	mov	x7, x22
	bl	_CreateConstraintEntry
Lloh27:
	adrp	x19, _ConstraintRelationId@GOTPAGE
Lloh28:
	ldr	x19, [x19, _ConstraintRelationId@GOTPAGEOFF]
	ldr	w1, [x19]
	str	w0, [sp, #152]                  ; 4-byte Folded Spill
	mov	x2, x0
	bl	_ObjectAddressSet
	mov	x0, x20
	bl	_OidIsValid
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x19]
	mov	x2, x20
	bl	_ObjectAddressSet
Lloh29:
	adrp	x8, _DEPENDENCY_INTERNAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DEPENDENCY_INTERNAL@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	sub	x0, x29, #92
	sub	x1, x29, #96
	bl	_recordDependencyOn
LBB0_10:
	bl	_CommandCounterIncrement
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh35:
	adrp	x20, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh36:
	ldr	x20, [x20, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
	b.ne	LBB0_12
; %bb.11:
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x1, x0
	ldur	x0, [x29, #-152]                ; 8-byte Folded Reload
	ldr	x2, [sp, #160]                  ; 8-byte Folded Reload
	ldr	w3, [sp, #152]                  ; 4-byte Folded Reload
	ldur	w4, [x29, #-100]                ; 4-byte Folded Reload
	bl	_createForeignKeyActionTriggers
	ldr	x8, [x19]
	ldr	x8, [x8]
LBB0_12:
	ldr	x9, [x20]
	cmp	x8, x9
	ldr	w28, [sp, #140]                 ; 4-byte Folded Reload
	b.ne	LBB0_24
; %bb.13:
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_RelationGetPartitionDesc
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.14:
	mov	x27, x0
	mov	x24, #0
	ldr	w20, [x29, #48]
	lsl	w8, w28, #2
	str	w8, [sp, #136]                  ; 4-byte Folded Spill
	mov	w8, w28
	lsl	x26, x8, #2
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x27]
	cmp	x24, x8
	b.ge	LBB0_24
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x27, #8]
	ldr	w0, [x8, x24, lsl #2]
Lloh37:
	adrp	x8, _ShareRowExclusiveLock@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ShareRowExclusiveLock@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_table_open
	mov	x25, x0
	bl	_RelationGetDescr
	mov	x19, x0
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x19
	bl	_convert_tuples_by_name_map_if_req
	mov	x22, x0
	mov	x19, x23
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [sp, #136]                  ; 4-byte Folded Reload
	bl	_palloc
	mov	x19, x0
	cmp	w28, #1
	b.lt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x8, #0
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x9, [x23, x8]
	add	x9, x22, x9, lsl #2
	ldur	w9, [x9, #-4]
	str	w9, [x19, x8]
	add	x8, x8, #4
	cmp	x26, x8
	b.ne	LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x25
	ldur	w1, [x29, #-100]                ; 4-byte Folded Reload
	bl	_index_get_partition
	mov	x21, x0
	bl	_OidIsValid
	cbnz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w28, [x8]
	mov	x0, x25
	bl	_RelationGetRelationName
	mov	x3, x0
	mov	x0, x28
	ldr	w28, [sp, #140]                 ; 4-byte Folded Reload
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	ldur	w2, [x29, #-100]                ; 4-byte Folded Reload
	bl	_elog
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	str	w20, [sp, #32]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp, #24]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	x8, [sp, #16]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	x8, [sp, #8]
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp]
	ldr	x0, [sp, #144]                  ; 8-byte Folded Reload
	ldr	x1, [sp, #160]                  ; 8-byte Folded Reload
	ldur	x2, [x29, #-152]                ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x21
	ldr	w5, [sp, #152]                  ; 4-byte Folded Reload
	mov	x6, x28
	mov	x7, x19
	bl	_addFkRecurseReferenced
Lloh45:
	adrp	x8, _NoLock@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_table_close
	cbz	x22, LBB0_15
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_pfree
	mov	x0, x22
	bl	_pfree
	b	LBB0_15
LBB0_24:
	ldur	w0, [x29, #-92]
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ; @RELKIND_PARTITIONED_TABLE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"referenced relation \"%s\" is not a table"

	.comm	_CONSTRAINT_RELATION,4,2        ; @CONSTRAINT_RELATION
l_.str.1:                               ; @.str.1
	.asciz	"fkey"

	.comm	_NIL,4,2                        ; @NIL
	.comm	_CONSTRAINT_FOREIGN,4,2         ; @CONSTRAINT_FOREIGN
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ConstraintRelationId,4,2       ; @ConstraintRelationId
	.comm	_DEPENDENCY_INTERNAL,4,2        ; @DEPENDENCY_INTERNAL
	.comm	_ShareRowExclusiveLock,4,2      ; @ShareRowExclusiveLock
l_.str.2:                               ; @.str.2
	.asciz	"index for %u not found in partition %s"

	.comm	_NoLock,4,2                     ; @NoLock
	.no_dead_strip	_addFkRecurseReferenced
.subsections_via_symbols
