	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IndexCheckExclusion
_IndexCheckExclusion:                   ## @IndexCheckExclusion
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_ReindexIsCurrentlyProcessingIndex
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_ResetReindexProcessing
LBB0_2:
	xorl	%eax, %eax
	callq	_CreateExecutorState
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GetPerTupleExprContext
	movq	%rax, %r12
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_table_slot_create
	movq	%rax, %r15
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_ExecPrepareQual
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetLatestSnapshot
	movl	%eax, %edi
	callq	_RegisterSnapshot
	movl	%r14d, %edi
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_table_beginscan_strat
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	callq	_table_scan_getnextslot
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	callq	_FormIndexDatum
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	pushq	$1
	pushq	%r13
	callq	_check_exclusion_constraint
	addq	$16, %rsp
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_MemoryContextReset
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_table_scan_getnextslot
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_ExecQual
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_table_endscan
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_UnregisterSnapshot
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ExecDropSingleTupleTableSlot
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_FreeExecutorState
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movq	$0, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_NIL,4,2                        ## @NIL
	.no_dead_strip	_IndexCheckExclusion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IndexCheckExclusion
_IndexCheckExclusion:                   ; @IndexCheckExclusion
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	mov	x21, x1
	mov	x0, x1
	bl	_RelationGetRelid
	bl	_ReindexIsCurrentlyProcessingIndex
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ResetReindexProcessing
LBB0_2:
	bl	_CreateExecutorState
	mov	x24, x0
	bl	_GetPerTupleExprContext
	mov	x26, x0
	ldur	w20, [x29, #-92]                ; 4-byte Folded Reload
	mov	x0, x20
	mov	x1, #0
	bl	_table_slot_create
	mov	x25, x0
	str	x0, [x26, #8]
	ldr	w0, [x19, #12]
	mov	x1, x24
	bl	_ExecPrepareQual
	mov	x27, x0
	bl	_GetLatestSnapshot
	bl	_RegisterSnapshot
	mov	x1, x0
	mov	x0, x20
	stur	w1, [x29, #-96]                 ; 4-byte Folded Spill
	mov	w2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_table_beginscan_strat
	mov	x28, x0
Lloh10:
	adrp	x20, _ForwardScanDirection@GOTPAGE
Lloh11:
	ldr	x20, [x20, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x20]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x22
	mov	x4, x23
	bl	_FormIndexDatum
	ldur	w0, [x29, #-92]                 ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x19
	mov	x3, x25
	mov	x4, x22
	mov	x5, x23
	mov	x6, x24
	mov	w7, #1
	bl	_check_exclusion_constraint
	ldr	w0, [x26]
	bl	_MemoryContextReset
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x20]
	mov	x0, x28
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x2, x25
	bl	_table_scan_getnextslot
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_CHECK_FOR_INTERRUPTS
	cbz	x27, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	x1, x26
	bl	_ExecQual
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_8:
	mov	x0, x28
	bl	_table_endscan
	ldur	w0, [x29, #-96]                 ; 4-byte Folded Reload
	bl	_UnregisterSnapshot
	mov	x0, x25
	bl	_ExecDropSingleTupleTableSlot
	mov	x0, x24
	bl	_FreeExecutorState
Lloh12:
	adrp	x8, _NIL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_NIL,4,2                        ; @NIL
	.no_dead_strip	_IndexCheckExclusion
.subsections_via_symbols
