	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reindex_one_database
_reindex_one_database:                  ## @reindex_one_database
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %rax
	movq	%rdx, %r14
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %ebx
	movq	24(%rbp), %r9
	movl	16(%rbp), %r8d
	subq	$8, %rsp
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rsi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	movq	%r12, %rcx
	pushq	$0
	pushq	$0
	pushq	%rbx
	callq	_connectDatabase
	addq	$32, %rsp
	movq	%rax, %r15
	cmpl	$0, 48(%rbp)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_PQserverVersion
	cmpl	$119999, %eax                   ## imm = 0x1D4BF
	jle	LBB0_34
LBB0_2:
	movl	56(%rbp), %edi
	cmpl	$1, %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$-129, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	xorl	%edi, %edi
	callq	_Assert
	movl	56(%rbp), %edi
	jmp	LBB0_9
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.7:
	movl	$13, %ecx
	xorl	%edi, %edi
	btl	%eax, %ecx
	jae	LBB0_10
## %bb.8:
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	movq	%r14, %r13
	jmp	LBB0_18
LBB0_9:
	movq	%r14, %r13
	jmp	LBB0_19
LBB0_10:
	testq	%r14, %r14
	sete	%dil
	callq	_Assert
	movl	$8, %edi
	callq	_pg_malloc0
	movq	%rax, %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_PQdb
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_simple_string_list_append
	jmp	LBB0_18
LBB0_11:
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	callq	_Assert
	movq	%r15, %rdi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	$130, %esi
	jmp	LBB0_16
LBB0_12:
	cmpl	$0, 48(%rbp)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	callq	_pg_log_warning
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_PQdb
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	$129, %esi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	movl	40(%rbp), %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_run_reindex_command
	addq	$16, %rsp
LBB0_15:
	movq	%r15, %rdi
	movl	$132, %esi
LBB0_16:
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_get_parallel_object_list
	testq	%rax, %rax
	je	LBB0_33
## %bb.17:
	movq	%rax, %r13
	movl	$128, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_18:
	movl	56(%rbp), %edi
LBB0_19:
	movq	(%r13), %rax
	testq	%rax, %rax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.20:
	cmpl	$2, %edi
	movl	$1, %ecx
	cmovgel	%edi, %ecx
	leal	-1(%rcx), %edx
	xorl	%esi, %esi
	movq	24(%rbp), %r14
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %edx
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	incl	%esi
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_25
LBB0_23:
	xorl	%esi, %esi
	movq	24(%rbp), %r14
	jmp	LBB0_25
LBB0_24:
	movl	%ecx, %esi
LBB0_25:
	callq	_Min
	movl	%eax, %r15d
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_Assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_Assert
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movl	16(%rbp), %r8d
	movq	%r14, %r9
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	pushq	%r15
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	callq	_ParallelSlotsSetup
	addq	$32, %rsp
	movq	%rax, %r12
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r14
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	_CancelRequested@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %r15
	movq	(%r14), %rbx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ParallelSlotsGetIdle
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	(%rax), %rdi
	subq	$8, %rsp
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	movq	%r15, %rbx
	movl	%ebx, %ecx
	movl	40(%rbp), %r8d
	movl	48(%rbp), %r9d
	pushq	$1
	callq	_run_reindex_command
	addq	$16, %rsp
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_26
## %bb.29:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ParallelSlotsWaitCompletion
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
LBB0_30:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	callq	_simple_string_list_destroy
	movq	%rbx, %rdi
	callq	_pg_free
LBB0_32:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ParallelSlotsTerminate
	movq	%r12, %rdi
	callq	_pfree
	testl	%r13d, %r13d
	jne	LBB0_35
LBB0_33:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	%r15, %rdi
	callq	_PQfinish
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_pg_log_error
LBB0_35:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot use the \"%s\" option on server versions older than PostgreSQL %s"

L_.str.1:                               ## @.str.1
	.asciz	"concurrently"

L_.str.2:                               ## @.str.2
	.asciz	"12"

L_.str.3:                               ## @.str.3
	.asciz	"cannot reindex system catalogs concurrently, skipping all"

	.comm	_CancelRequested,8,3            ## @CancelRequested
	.no_dead_strip	_reindex_one_database
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reindex_one_database
_reindex_one_database:                  ; @reindex_one_database
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x26, x4
	mov	x27, x3
	mov	x25, x2
	mov	x23, x1
	mov	x28, x0
	ldr	w20, [x29, #24]
	ldr	w21, [x29, #16]
	str	wzr, [sp]
	mov	x1, x3
	mov	x2, x4
	str	x5, [sp, #24]                   ; 8-byte Folded Spill
	mov	x3, x5
	str	w6, [sp, #36]                   ; 4-byte Folded Spill
	mov	x4, x6
	str	x7, [sp, #40]                   ; 8-byte Folded Spill
	mov	x5, x7
	mov	x6, x21
	mov	w7, #0
	bl	_connectDatabase
	mov	x19, x0
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PQserverVersion
	mov	w8, #54463
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.le	LBB0_34
LBB0_2:
	ldr	w24, [x29, #28]
	ldr	w22, [x29, #20]
	cmp	w24, #1
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	b.le	LBB0_6
; %bb.3:
	sub	w8, w23, #129
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
	sub	w8, w23, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.7:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #13
	tst	w8, w9
	b.eq	LBB0_11
; %bb.8:
	cmp	x25, #0
	cset	w0, ne
LBB0_9:
	bl	_Assert
	ldr	x8, [x25]
	cbnz	x8, LBB0_13
LBB0_10:
	mov	w1, #0
	b	LBB0_17
LBB0_11:
	cmp	x25, #0
	cset	w0, eq
	bl	_Assert
	mov	w0, #8
	bl	_pg_malloc0
	mov	x25, x0
	mov	x0, x19
	bl	_PQdb
	mov	x1, x0
	mov	x0, x25
	bl	_simple_string_list_append
LBB0_12:
	ldr	x8, [x25]
	cbz	x8, LBB0_10
LBB0_13:
	mov	w1, #0
	cmp	w24, #1
	csinc	w9, w24, wzr, gt
	sub	w10, w9, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cmp	w10, w1
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w1, w1, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_14
	b	LBB0_17
LBB0_16:
	mov	x1, x9
LBB0_17:
	mov	x0, x24
	bl	_Min
	mov	x24, x0
	cmp	w0, #0
	cset	w0, gt
	bl	_Assert
	cmp	x25, #0
	cset	w0, ne
	bl	_Assert
	str	w24, [sp]
	mov	x0, x28
	mov	x1, x27
	mov	x2, x26
	ldr	x3, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	ldr	x5, [sp, #40]                   ; 8-byte Folded Reload
	mov	x6, x21
	mov	x7, x19
	bl	_ParallelSlotsSetup
	mov	x19, x0
	ldr	x27, [x25]
Lloh2:
	adrp	x28, _CancelRequested@GOTPAGE
Lloh3:
	ldr	x28, [x28, _CancelRequested@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cbnz	x8, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x26, [x27]
	mov	x0, x19
	mov	x1, x24
	bl	_ParallelSlotsGetIdle
	cbz	x0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x0]
	mov	x1, x23
	mov	x2, x26
	mov	x3, x21
	mov	x4, x22
	mov	x5, x20
	mov	w6, #1
	bl	_run_reindex_command
	ldr	x27, [x27, #8]
	cbnz	x27, LBB0_18
; %bb.21:
	mov	x0, x19
	mov	x1, x24
	bl	_ParallelSlotsWaitCompletion
	cmp	w0, #0
	cset	w20, eq
	b	LBB0_23
LBB0_22:
	mov	w20, #1
LBB0_23:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x25, x8
	b.eq	LBB0_25
; %bb.24:
	mov	x0, x25
	bl	_simple_string_list_destroy
	mov	x0, x25
	bl	_pg_free
LBB0_25:
	mov	x0, x19
	mov	x1, x24
	bl	_ParallelSlotsTerminate
	mov	x0, x19
	bl	_pfree
	cbnz	w20, LBB0_35
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_27:
	cmp	x25, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, x19
	mov	w1, #130
	b	LBB0_32
LBB0_28:
	cbz	w20, LBB0_30
; %bb.29:
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pg_log_warning
	b	LBB0_31
LBB0_30:
	mov	x0, x19
	bl	_PQdb
	mov	x2, x0
	mov	x0, x19
	mov	w1, #129
	mov	x3, x21
	mov	x4, x22
	mov	w5, #0
	mov	w6, #0
	bl	_run_reindex_command
LBB0_31:
	mov	x0, x19
	mov	w1, #132
LBB0_32:
	mov	x2, x25
	mov	x3, x21
	bl	_get_parallel_object_list
	cbz	x0, LBB0_26
; %bb.33:
	mov	x25, x0
	mov	w23, #128
	ldr	x8, [x25]
	cbnz	x8, LBB0_13
	b	LBB0_10
LBB0_34:
	mov	x0, x19
	bl	_PQfinish
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_pg_log_error
LBB0_35:
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_27-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_28-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot use the \"%s\" option on server versions older than PostgreSQL %s"

l_.str.1:                               ; @.str.1
	.asciz	"concurrently"

l_.str.2:                               ; @.str.2
	.asciz	"12"

l_.str.3:                               ; @.str.3
	.asciz	"cannot reindex system catalogs concurrently, skipping all"

	.comm	_CancelRequested,8,3            ; @CancelRequested
	.no_dead_strip	_reindex_one_database
.subsections_via_symbols
