	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TryReuseForeignKey
_TryReuseForeignKey:                    ## @TryReuseForeignKey
	.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, %r12
	movl	%edi, %r15d
	movq	(%rsi), %rax
	movq	_CONSTR_FOREIGN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movl	8(%r12), %eax
	movq	_NIL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_Assert
	movq	_CONSTROID@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r15d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_2:
	movl	(%r13), %edi
	movq	_Anum_pg_constraint_conpfeqop@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movl	%r14d, %esi
	callq	_SysCacheGetAttr
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_4:
	movl	%ebx, %edi
	callq	_DatumGetArrayTypeP
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ARR_DIMS
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_ARR_NDIM
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_ARR_HASNULL
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_ARR_ELEMTYPE
	movq	_OIDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_8:
	movq	%r15, %rdi
	callq	_ARR_DATA_PTR
	testl	%r13d, %r13d
	jle	LBB0_11
## %bb.9:
	movq	%rax, %r15
	movl	8(%r12), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	%eax, %edi
	callq	_lappend_oid
	movl	%eax, 8(%r12)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_10
LBB0_11:
	movl	%r14d, %edi
	callq	_ReleaseSysCache
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONSTR_FOREIGN,8,3             ## @CONSTR_FOREIGN
	.comm	_NIL,4,2                        ## @NIL
	.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	_Anum_pg_constraint_conpfeqop,4,2 ## @Anum_pg_constraint_conpfeqop
L_.str.1:                               ## @.str.1
	.asciz	"null conpfeqop for constraint %u"

	.comm	_OIDOID,8,3                     ## @OIDOID
L_.str.2:                               ## @.str.2
	.asciz	"conpfeqop is not a 1-D Oid array"

	.no_dead_strip	_TryReuseForeignKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TryReuseForeignKey
_TryReuseForeignKey:                    ; @TryReuseForeignKey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _CONSTR_FOREIGN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONSTR_FOREIGN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _NIL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
Lloh6:
	adrp	x22, _CONSTROID@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CONSTROID@GOTPAGEOFF]
	ldr	w20, [x22]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
Lloh8:
	adrp	x23, _ERROR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	str	x21, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	w0, [x22]
Lloh12:
	adrp	x8, _Anum_pg_constraint_conpfeqop@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Anum_pg_constraint_conpfeqop@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x20
	bl	_SysCacheGetAttr
	mov	x22, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x23]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_4:
	mov	x0, x22
	bl	_DatumGetArrayTypeP
	mov	x21, x0
	bl	_ARR_DIMS
	ldr	w22, [x0]
	mov	x0, x21
	bl	_ARR_NDIM
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_ARR_HASNULL
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ARR_ELEMTYPE
Lloh17:
	adrp	x8, _OIDOID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OIDOID@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
LBB0_7:
	ldr	w0, [x23]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_8:
	mov	x0, x21
	bl	_ARR_DATA_PTR
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x21, x0
	ldr	w0, [x19, #8]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21], #4
	bl	_lappend_oid
	str	w0, [x19, #8]
	subs	x22, x22, #1
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x20
	bl	_ReleaseSysCache
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CONSTR_FOREIGN,8,3             ; @CONSTR_FOREIGN
	.comm	_NIL,4,2                        ; @NIL
	.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	_Anum_pg_constraint_conpfeqop,4,2 ; @Anum_pg_constraint_conpfeqop
l_.str.1:                               ; @.str.1
	.asciz	"null conpfeqop for constraint %u"

	.comm	_OIDOID,8,3                     ; @OIDOID
l_.str.2:                               ; @.str.2
	.asciz	"conpfeqop is not a 1-D Oid array"

	.no_dead_strip	_TryReuseForeignKey
.subsections_via_symbols
