	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildIndexInfo                 ## -- Begin function BuildIndexInfo
	.p2align	4, 0x90
_BuildIndexInfo:                        ## @BuildIndexInfo
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movl	(%r12), %r15d
	testl	%r15d, %r15d
	jle	LBB0_2
## %bb.1:
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	%r15d, %r13d
	cmpl	(%rax), %r15d
	jle	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_elog
	movl	(%r12), %r13d
LBB0_3:
	movl	32(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_RelationGetIndexExpressions
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_RelationGetIndexPredicate
	movl	24(%r12), %ebx
	movl	28(%r12), %r9d
	movl	%r13d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	pushq	$0
	pushq	%rbx
	callq	_makeIndexInfo
	addq	$16, %rsp
	movq	%rax, %r14
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.4:
	movq	16(%r12), %rax
	movq	16(%r14), %rcx
	xorl	%edx, %edx
	cmpl	$8, %r15d
	jb	LBB0_14
## %bb.5:
	movq	%rcx, %rsi
	subq	%rax, %rsi
	cmpq	$32, %rsi
	jb	LBB0_14
## %bb.6:
	movl	%r15d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rsi
	jae	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rbx,4), %xmm0
	movups	16(%rax,%rbx,4), %xmm1
	movups	%xmm0, (%rcx,%rbx,4)
	movups	%xmm1, 16(%rcx,%rbx,4)
	movups	32(%rax,%rbx,4), %xmm0
	movups	48(%rax,%rbx,4), %xmm1
	movups	%xmm0, 32(%rcx,%rbx,4)
	movups	%xmm1, 48(%rcx,%rbx,4)
	movups	64(%rax,%rbx,4), %xmm0
	movups	80(%rax,%rbx,4), %xmm1
	movups	%xmm0, 64(%rcx,%rbx,4)
	movups	%xmm1, 80(%rcx,%rbx,4)
	movups	96(%rax,%rbx,4), %xmm0
	movups	112(%rax,%rbx,4), %xmm1
	movups	%xmm0, 96(%rcx,%rbx,4)
	movups	%xmm1, 112(%rcx,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_9
LBB0_10:
	testq	%r8, %r8
	je	LBB0_13
## %bb.11:
	leaq	(%rcx,%rbx,4), %rdi
	addq	$16, %rdi
	leaq	(%rax,%rbx,4), %rbx
	addq	$16, %rbx
	shlq	$5, %r8
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rbx,%rsi), %xmm0
	movups	(%rbx,%rsi), %xmm1
	movups	%xmm0, -16(%rdi,%rsi)
	movups	%xmm1, (%rdi,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_12
LBB0_13:
	cmpq	%r15, %rdx
	je	LBB0_18
LBB0_14:
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r15, %rsi
	movq	%r15, %rdi
	andq	$3, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %ebx
	movl	%ebx, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %rsi
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	4(%rax,%rdx,4), %esi
	movl	%esi, 4(%rcx,%rdx,4)
	movl	8(%rax,%rdx,4), %esi
	movl	%esi, 8(%rcx,%rdx,4)
	movl	12(%rax,%rdx,4), %esi
	movl	%esi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r15
	jne	LBB0_17
LBB0_18:
	cmpq	$0, 8(%r12)
	je	LBB0_20
## %bb.19:
	leaq	8(%r14), %rsi
	movq	%r14, %rdx
	addq	$4, %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_RelationGetExclusionInfo
LBB0_20:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid indnatts %d for index %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildIndexInfo                 ; -- Begin function BuildIndexInfo
	.p2align	2
_BuildIndexInfo:                        ; @BuildIndexInfo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x25, [x0, #8]
	ldr	w20, [x25]
Lloh0:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w20, #1
	ccmp	w20, w8, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_elog
	ldr	w21, [x25]
	b	LBB0_3
LBB0_2:
	mov	x21, x20
LBB0_3:
	ldr	w22, [x25, #32]
	ldr	x8, [x19]
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetIndexExpressions
	mov	x24, x0
	mov	x0, x19
	bl	_RelationGetIndexPredicate
	mov	x4, x0
	ldp	w6, w5, [x25, #24]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	w7, #0
	bl	_makeIndexInfo
	mov	x21, x0
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x8, #0
	ldr	x9, [x25, #16]
	ldr	x10, [x21, #16]
	cmp	w20, #16
	b.lo	LBB0_9
; %bb.5:
	sub	x11, x10, x9
	cmp	x11, #64
	b.lo	LBB0_9
; %bb.6:
	and	x8, x20, #0xfffffff0
	add	x11, x10, #32
	add	x12, x9, #32
	mov	x13, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x8, x20
	b.eq	LBB0_11
LBB0_9:
	lsl	x11, x8, #2
	add	x10, x10, x11
	add	x9, x9, x11
	sub	x8, x20, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_13
; %bb.12:
	add	x1, x21, #8
	add	x2, x21, #4
	mov	x0, x19
	mov	x3, x21
	bl	_RelationGetExclusionInfo
LBB0_13:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid indnatts %d for index %u"

.subsections_via_symbols
