	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetParentedForeignKeyRefs
_GetParentedForeignKeyRefs:             ## @GetParentedForeignKeyRefs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NIL@GOTPCREL(%rip), %r14
	movq	(%r14), %r15
	callq	_RelationGetIndexList
	cmpq	(%r14), %rax
	je	LBB0_1
## %bb.2:
	movq	_INDEX_ATTR_BITMAP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_RelationGetIndexAttrBitmap
	movl	%eax, %edi
	callq	_bms_is_empty
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r14), %r15
	jmp	LBB0_10
LBB0_1:
	movq	%rax, %r15
	jmp	LBB0_10
LBB0_4:
	movq	_ConstraintRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_Anum_pg_constraint_confrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	leaq	-52(%rbp), %r14
	movq	_Anum_pg_constraint_contype@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_CHAREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CONSTRAINT_FOREIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CharGetDatum
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	leaq	-56(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r14d
	movl	%eax, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %edi
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	callq	_systable_getnext
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movslq	%eax, %rbx
	movl	4(%rbx), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_lappend_oid
	movq	%rax, %r15
	jmp	LBB0_8
LBB0_9:
	movl	%r14d, %edi
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_table_close
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_INDEX_ATTR_BITMAP_KEY,4,2      ## @INDEX_ATTR_BITMAP_KEY
	.comm	_ConstraintRelationId,4,2       ## @ConstraintRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_constraint_confrelid,4,2 ## @Anum_pg_constraint_confrelid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_Anum_pg_constraint_contype,4,2 ## @Anum_pg_constraint_contype
	.comm	_F_CHAREQ,4,2                   ## @F_CHAREQ
	.comm	_CONSTRAINT_FOREIGN,4,2         ## @CONSTRAINT_FOREIGN
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.no_dead_strip	_GetParentedForeignKeyRefs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetParentedForeignKeyRefs
_GetParentedForeignKeyRefs:             ; @GetParentedForeignKeyRefs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x20, _NIL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _NIL@GOTPAGEOFF]
	ldr	x19, [x20]
	bl	_RelationGetIndexList
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _INDEX_ATTR_BITMAP_KEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INDEX_ATTR_BITMAP_KEY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_RelationGetIndexAttrBitmap
	bl	_bms_is_empty
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x19, [x20]
	b	LBB0_10
LBB0_3:
	mov	x19, x0
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x8, _ConstraintRelationId@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ConstraintRelationId@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x25, _AccessShareLock@GOTPAGE
Lloh12:
	ldr	x25, [x25, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_table_open
	mov	x20, x0
Lloh13:
	adrp	x8, _Anum_pg_constraint_confrelid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Anum_pg_constraint_confrelid@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
Lloh16:
	adrp	x26, _BTEqualStrategyNumber@GOTPAGE
Lloh17:
	ldr	x26, [x26, _BTEqualStrategyNumber@GOTPAGEOFF]
	ldr	w23, [x26]
Lloh18:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_RelationGetRelid
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x21, sp
	mov	x0, sp
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
	add	x21, x21, #4
Lloh21:
	adrp	x8, _Anum_pg_constraint_contype@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Anum_pg_constraint_contype@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
	ldr	w23, [x26]
Lloh24:
	adrp	x8, _F_CHAREQ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _F_CHAREQ@GOTPAGEOFF]
Lloh26:
	ldr	w24, [x8]
Lloh27:
	adrp	x8, _CONSTRAINT_FOREIGN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CONSTRAINT_FOREIGN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_CharGetDatum
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
Lloh30:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh31:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x5, sp
	mov	x0, x20
	mov	w2, #1
	mov	x3, #0
	mov	w4, #2
	bl	_systable_beginscan
	mov	x21, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_systable_getnext
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	ldr	w0, [x22, #4]
	bl	_OidIsValid
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_lappend_oid
	mov	x19, x0
	b	LBB0_5
LBB0_9:
	mov	x0, x21
	bl	_systable_endscan
	ldr	w1, [x25]
	mov	x0, x20
	bl	_table_close
LBB0_10:
	ldr	x8, [sp, #8]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_INDEX_ATTR_BITMAP_KEY,4,2      ; @INDEX_ATTR_BITMAP_KEY
	.comm	_ConstraintRelationId,4,2       ; @ConstraintRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_constraint_confrelid,4,2 ; @Anum_pg_constraint_confrelid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_Anum_pg_constraint_contype,4,2 ; @Anum_pg_constraint_contype
	.comm	_F_CHAREQ,4,2                   ; @F_CHAREQ
	.comm	_CONSTRAINT_FOREIGN,4,2         ; @CONSTRAINT_FOREIGN
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.no_dead_strip	_GetParentedForeignKeyRefs
.subsections_via_symbols
