	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RangeVarCallbackForReindexIndex
_RangeVarCallbackForReindexIndex:       ## @RangeVarCallbackForReindexIndex
	.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, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	cmpq	$0, 8(%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_ShareLock@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ShareUpdateExclusiveLock@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	cmpq	%r12, %rbx
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	movl	%r14d, %esi
	callq	_UnlockRelationOid
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_6:
	movq	%rbx, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	%rbx, %rdi
	callq	_get_rel_relkind
	testb	%al, %al
	je	LBB0_16
## %bb.8:
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_11
## %bb.9:
	movq	_RELKIND_PARTITIONED_INDEX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	xorl	%eax, %eax
	callq	_GetUserId
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pg_class_ownercheck
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	_ACLCHECK_NOT_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OBJECT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	_aclcheck_error
LBB0_13:
	cmpq	%r12, %rbx
	je	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_IndexGetRelation
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_LockRelationOid
	movq	%rbx, (%r15)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ShareUpdateExclusiveLock,4,2   ## @ShareUpdateExclusiveLock
	.comm	_ShareLock,4,2                  ## @ShareLock
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_RELKIND_INDEX,1,0              ## @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_INDEX,1,0  ## @RELKIND_PARTITIONED_INDEX
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" is not an index"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ## @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_INDEX,4,2               ## @OBJECT_INDEX
	.no_dead_strip	_RangeVarCallbackForReindexIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RangeVarCallbackForReindexIndex
_RangeVarCallbackForReindexIndex:       ; @RangeVarCallbackForReindexIndex
	.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	x21, x1
	mov	x23, x0
	ldr	x8, [x3, #8]
Lloh0:
	adrp	x9, _ShareUpdateExclusiveLock@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ShareUpdateExclusiveLock@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ShareLock@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ShareLock@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w20, [x8]
	cmp	x1, x2
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_OidIsValid
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_UnlockRelationOid
Lloh4:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_3:
	mov	x0, x21
	bl	_OidIsValid
	cbz	x0, LBB0_13
; %bb.4:
	mov	x0, x21
	bl	_get_rel_relkind
	cbz	w0, LBB0_13
; %bb.5:
Lloh7:
	adrp	x8, _RELKIND_INDEX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RELKIND_INDEX@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.eq	LBB0_8
; %bb.6:
Lloh9:
	adrp	x8, _RELKIND_PARTITIONED_INDEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RELKIND_PARTITIONED_INDEX@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.eq	LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
Lloh14:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x23]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_8:
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x21
	bl	_pg_class_ownercheck
	cbnz	w0, LBB0_10
; %bb.9:
Lloh19:
	adrp	x8, _ACLCHECK_NOT_OWNER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACLCHECK_NOT_OWNER@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _OBJECT_INDEX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OBJECT_INDEX@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x23]
	bl	_aclcheck_error
LBB0_10:
	cmp	x21, x22
	b.eq	LBB0_13
; %bb.11:
	mov	x0, x21
	mov	w1, #1
	bl	_IndexGetRelation
	mov	x21, x0
	bl	_OidIsValid
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x21
	mov	x1, x20
	bl	_LockRelationOid
	str	x21, [x19]
LBB0_13:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ShareUpdateExclusiveLock,4,2   ; @ShareUpdateExclusiveLock
	.comm	_ShareLock,4,2                  ; @ShareLock
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_RELKIND_INDEX,1,0              ; @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_INDEX,1,0  ; @RELKIND_PARTITIONED_INDEX
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" is not an index"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ; @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_INDEX,4,2               ; @OBJECT_INDEX
	.no_dead_strip	_RangeVarCallbackForReindexIndex
.subsections_via_symbols
