	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RangeVarCallbackForAttachIndex
_RangeVarCallbackForAttachIndex:        ## @RangeVarCallbackForAttachIndex
	.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, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	cmpq	%rbx, %r14
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movq	8(%r13), %rdi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockRelationOid
	movl	$1, (%r13)
	cmpq	%rbx, %r14
	je	LBB0_5
LBB0_3:
	movq	16(%r13), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	16(%r13), %rdi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UnlockRelationOid
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
LBB0_5:
	movq	%r14, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movl	%r12d, %edi
	callq	_GETSTRUCT
	movq	(%rax), %rax
	movq	_RELKIND_PARTITIONED_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_OBJECT_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_10:
	movl	%r12d, %edi
	callq	_ReleaseSysCache
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_IndexGetRelation
	movq	%rax, 16(%r13)
	movq	_AccessShareLock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LockRelationOid                ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_RELOID,4,2                     ## @RELOID
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ## @RELKIND_PARTITIONED_INDEX
	.comm	_RELKIND_INDEX,8,3              ## @RELKIND_INDEX
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_OBJECT_DEFINITION,4,2 ## @ERRCODE_INVALID_OBJECT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" is not an index"

	.no_dead_strip	_RangeVarCallbackForAttachIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RangeVarCallbackForAttachIndex
_RangeVarCallbackForAttachIndex:        ; @RangeVarCallbackForAttachIndex
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x3]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	x20, x22
	b.ne	LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LockRelationOid
	mov	w8, #1
	str	w8, [x19]
	cmp	x20, x22
	b.eq	LBB0_5
LBB0_3:
	ldr	x0, [x19, #16]
	bl	_OidIsValid
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_UnlockRelationOid
Lloh6:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_5:
	mov	x0, x20
	bl	_OidIsValid
	cbz	x0, LBB0_10
; %bb.6:
Lloh9:
	adrp	x8, _RELOID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCache1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x22
	bl	_GETSTRUCT
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _RELKIND_PARTITIONED_INDEX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RELKIND_PARTITIONED_INDEX@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _RELKIND_INDEX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RELKIND_INDEX@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
Lloh21:
	adrp	x8, _ERRCODE_INVALID_OBJECT_DEFINITION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERRCODE_INVALID_OBJECT_DEFINITION@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x21]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_9:
	mov	x0, x22
	bl	_ReleaseSysCache
	mov	x0, x20
	mov	w1, #0
	bl	_IndexGetRelation
	str	x0, [x19, #16]
Lloh26:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_LockRelationOid
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_RELOID,4,2                     ; @RELOID
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ; @RELKIND_PARTITIONED_INDEX
	.comm	_RELKIND_INDEX,8,3              ; @RELKIND_INDEX
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_OBJECT_DEFINITION,4,2 ; @ERRCODE_INVALID_OBJECT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" is not an index"

	.no_dead_strip	_RangeVarCallbackForAttachIndex
.subsections_via_symbols
