	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_putindextuplevalues  ## -- Begin function tuplesort_putindextuplevalues
	.p2align	4, 0x90
_tuplesort_putindextuplevalues:         ## @tuplesort_putindextuplevalues
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	28(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	callq	_RelationGetDescr
	movl	%eax, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_index_form_tuple
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_GetMemoryChunkSpace
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_USEMEM
	movl	4(%r13), %edi
	callq	_RelationGetDescr
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_index_getattr
	movq	%rax, %r15
	movl	24(%r13), %edi
	callq	_MemoryContextSwitchTo
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	cmpq	$0, -80(%rbp)
	jne	LBB0_5
## %bb.3:
	movq	%r13, %rdi
	callq	_consider_abort_common
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	%r15, -72(%rbp)
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r14
	movq	8(%r13), %r13
	leaq	(%rbx,%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r13,%rbx), %r15
	movl	4(%r14), %edi
	callq	_RelationGetDescr
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_index_getattr
	movq	%rax, 8(%r13,%rbx)
	movq	%r14, %r13
	incq	%r12
	movslq	(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jl	LBB0_8
	jmp	LBB0_9
LBB0_4:
	movq	16(%r13), %rsi
	movq	%r15, %rdi
	callq	*(%rsi)
	movq	%rax, %r15
LBB0_5:
	movq	%r15, -72(%rbp)
LBB0_9:
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_puttuple_common
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_putindextuplevalues  ; -- Begin function tuplesort_putindextuplevalues
	.p2align	2
_tuplesort_putindextuplevalues:         ; @tuplesort_putindextuplevalues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w0, [x0, #28]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	x0, x24
	bl	_RelationGetDescr
	mov	x1, x22
	mov	x2, x21
	bl	_index_form_tuple
	mov	x21, x0
	str	x0, [sp, #24]
	ldr	w8, [x23]
	str	w8, [x0]
	bl	_GetMemoryChunkSpace
	mov	x1, x0
	mov	x0, x19
	bl	_USEMEM
	ldr	w0, [x19, #4]
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x21
	mov	w1, #1
	bl	_index_getattr
	mov	x21, x0
	ldr	w0, [x19, #24]
	bl	_MemoryContextSwitchTo
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_consider_abort_common
	cbz	w0, LBB0_6
; %bb.3:
	str	x21, [sp, #16]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	mov	x24, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x21, x8, x23
	ldr	x22, [x21, #16]
	ldr	w0, [x19, #4]
	bl	_RelationGetDescr
	mov	x2, x0
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_index_getattr
	str	x0, [x21, #8]
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #24
	cmp	x24, x8
	b.lt	LBB0_5
	b	LBB0_8
LBB0_6:
	ldr	x1, [x19, #16]
	ldr	x8, [x1]
	mov	x0, x21
	blr	x8
	mov	x21, x0
LBB0_7:
	str	x21, [sp, #16]
LBB0_8:
	add	x1, sp, #8
	mov	x0, x19
	bl	_puttuple_common
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
