	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RI_FKey_fk_upd_check_required  ## -- Begin function RI_FKey_fk_upd_check_required
	.p2align	4, 0x90
_RI_FKey_fk_upd_check_required:         ## @RI_FKey_fk_upd_check_required
	.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	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_ri_FetchConstraintInfo
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_ri_NullCheck
	movq	_RI_KEYS_ALL_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.1:
	movq	_RI_KEYS_SOME_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.2:
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_5
## %bb.4:
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_MinTransactionIdAttributeNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_slot_getsysattr
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$0, -44(%rbp)
	sete	%dil
	callq	_Assert
	movl	%ebx, %edi
	callq	_DatumGetTransactionId
	movl	%eax, %edi
	callq	_TransactionIdIsCurrentTransactionId
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_ri_KeysEqual
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RI_KEYS_ALL_NULL,4,2           ## @RI_KEYS_ALL_NULL
	.comm	_RI_KEYS_SOME_NULL,4,2          ## @RI_KEYS_SOME_NULL
	.comm	_MinTransactionIdAttributeNumber,4,2 ## @MinTransactionIdAttributeNumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RI_FKey_fk_upd_check_required  ; -- Begin function RI_FKey_fk_upd_check_required
	.p2align	2
_RI_FKey_fk_upd_check_required:         ; @RI_FKey_fk_upd_check_required
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	w2, #0
	bl	_ri_FetchConstraintInfo
	mov	x22, x0
	mov	x0, x21
	bl	_RelationGetDescr
	mov	x1, x19
	mov	x2, x22
	mov	w3, #0
	bl	_ri_NullCheck
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _RI_KEYS_ALL_NULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RI_KEYS_ALL_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.1:
Lloh3:
	adrp	x9, _RI_KEYS_SOME_NULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RI_KEYS_SOME_NULL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #130
	b.eq	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _MinTransactionIdAttributeNumber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MinTransactionIdAttributeNumber@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_slot_getsysattr
	mov	x23, x0
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_DatumGetTransactionId
	bl	_TransactionIdIsCurrentTransactionId
	cbz	x0, LBB0_6
LBB0_5:
	mov	w0, #1
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	mov	w4, #0
	bl	_ri_KeysEqual
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RI_KEYS_ALL_NULL,4,2           ; @RI_KEYS_ALL_NULL
	.comm	_RI_KEYS_SOME_NULL,4,2          ; @RI_KEYS_SOME_NULL
	.comm	_MinTransactionIdAttributeNumber,4,2 ; @MinTransactionIdAttributeNumber
.subsections_via_symbols
