	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_keep_natts
__bt_keep_natts:                        ## @_bt_keep_natts
	.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	%rcx, %r14
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %ebx
	callq	_IndexRelationGetNumberOfKeyAttributes
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_RelationGetDescr
	cmpl	$0, 8(%r14)
	je	LBB0_1
## %bb.2:
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.4:
	movl	%eax, %r12d
	movq	(%r14), %rbx
	leal	1(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	negl	%r13d
	addq	$4, %rbx
	movl	%r13d, %r15d
	movl	$1, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	(%r15,%r13), %eax
	incl	%eax
	movl	%r13d, %ecx
	incl	%ecx
	addq	$8, %rbx
	movl	%ecx, %r13d
	cmpl	$1, %eax
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	leaq	-60(%rbp), %rcx
	callq	_index_getattr
	movl	%eax, %r14d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	leaq	-56(%rbp), %rcx
	callq	_index_getattr
	movl	-60(%rbp), %ecx
	cmpl	-56(%rbp), %ecx
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-4(%rbx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetInt32
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_10
LBB0_1:
	movl	%ebx, %edi
	callq	_IndexRelationGetNumberOfAttributes
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	setne	%dil
	callq	_Assert
	jmp	LBB0_10
LBB0_3:
	movl	$1, %r13d
	jmp	LBB0_10
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__bt_keep_natts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_keep_natts
__bt_keep_natts:                        ; @_bt_keep_natts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	bl	_IndexRelationGetNumberOfKeyAttributes
	mov	x19, x0
	mov	x0, x24
	bl	_RelationGetDescr
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_8
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x23, x0
	mov	w27, #0
	ldr	x8, [x22]
	add	w22, w19, #1
	add	x24, x8, #4
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
	add	x24, x24, #8
	cmp	w19, w27
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w25, w27, #1
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_index_getattr
	mov	x26, x0
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	bl	_index_getattr
	ldp	w9, w8, [sp, #8]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x0
	ldur	w1, [x24, #-4]
	mov	x0, x24
	mov	x2, x26
	bl	_FunctionCall2Coll
	bl	_DatumGetInt32
	cbz	x0, LBB0_3
LBB0_7:
	mov	x22, x25
	b	LBB0_10
LBB0_8:
	mov	x0, x24
	bl	_IndexRelationGetNumberOfAttributes
	cmp	w19, w0
	cset	w0, ne
	bl	_Assert
	mov	x22, x19
	b	LBB0_10
LBB0_9:
	mov	w22, #1
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__bt_keep_natts
.subsections_via_symbols
