	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReindexIndex                   ## -- Begin function ReindexIndex
	.p2align	4, 0x90
_ReindexIndex:                          ## @ReindexIndex
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edx, -48(%rbp)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	testl	%edx, %edx
	jne	LBB0_1
## %bb.2:
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ShareUpdateExclusiveLock@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	_RangeVarCallbackForReindexIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r8
	xorl	%edx, %edx
	callq	_RangeVarGetRelidExtended
	movl	%eax, %r15d
	movq	_NoLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_index_open
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_RELKIND_PARTITIONED_INDEX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_ReindexPartitionedIndex
	jmp	LBB0_8
LBB0_5:
	movb	8(%rcx), %r13b
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_index_close
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ReindexRelationConcurrently
	jmp	LBB0_8
LBB0_7:
	movq	_REINDEXOPT_REPORT_PROGRESS@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movsbl	%r13b, %edx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_reindex_index
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ShareUpdateExclusiveLock,4,2   ## @ShareUpdateExclusiveLock
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_RangeVarCallbackForReindexIndex,4,2 ## @RangeVarCallbackForReindexIndex
	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ## @RELKIND_PARTITIONED_INDEX
	.comm	_REINDEXOPT_REPORT_PROGRESS,4,2 ## @REINDEXOPT_REPORT_PROGRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReindexIndex                   ; -- Begin function ReindexIndex
	.p2align	2
_ReindexIndex:                          ; @ReindexIndex
	.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	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w2, w8, [sp, #8]
Lloh3:
	adrp	x8, _ShareUpdateExclusiveLock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ShareUpdateExclusiveLock@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AccessExclusiveLock@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AccessExclusiveLock@GOTPAGEOFF]
	cmp	w2, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _RangeVarCallbackForReindexIndex@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RangeVarCallbackForReindexIndex@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	w2, #0
	bl	_RangeVarGetRelidExtended
	mov	x21, x0
Lloh10:
	adrp	x22, _NoLock@GOTPAGE
Lloh11:
	ldr	x22, [x22, _NoLock@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_index_open
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh12:
	adrp	x10, _RELKIND_PARTITIONED_INDEX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RELKIND_PARTITIONED_INDEX@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	bl	_ReindexPartitionedIndex
	b	LBB0_5
LBB0_2:
	ldrb	w23, [x8, #8]
	ldr	w1, [x22]
	bl	_index_close
	cbz	w20, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_ReindexRelationConcurrently
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _REINDEXOPT_REPORT_PROGRESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REINDEXOPT_REPORT_PROGRESS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w3, w8, w19
	sxtb	w2, w23
	mov	x0, x21
	mov	w1, #0
	bl	_reindex_index
LBB0_5:
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ShareUpdateExclusiveLock,4,2   ; @ShareUpdateExclusiveLock
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_RangeVarCallbackForReindexIndex,4,2 ; @RangeVarCallbackForReindexIndex
	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ; @RELKIND_PARTITIONED_INDEX
	.comm	_REINDEXOPT_REPORT_PROGRESS,4,2 ; @REINDEXOPT_REPORT_PROGRESS
.subsections_via_symbols
