	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_putdatum             ## -- Begin function tuplesort_putdatum
	.p2align	4, 0x90
_tuplesort_putdatum:                    ## @tuplesort_putdatum
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	36(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, -48(%rbp)
	movl	%r12d, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	24(%r13), %edi
	callq	_MemoryContextSwitchTo
LBB0_11:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_puttuple_common
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$0, 32(%r13)
	je	LBB0_3
## %bb.4:
	movl	28(%r13), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_datumCopy
	movq	%rax, %r15
	movl	$0, -64(%rbp)
	movq	%rax, %rdi
	callq	_DatumGetPointer
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_GetMemoryChunkSpace
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_USEMEM
	movl	24(%r13), %edi
	callq	_MemoryContextSwitchTo
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.6:
	movq	%r13, %rdi
	callq	_consider_abort_common
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r15, -48(%rbp)
	cmpl	$0, (%r13)
	jle	LBB0_11
## %bb.9:
	movl	$16, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r12
	movq	-8(%r12,%rbx), %rdi
	callq	_PointerGetDatum
	movq	%rax, (%r12,%rbx)
	incq	%r15
	movslq	(%r13), %rax
	addq	$24, %rbx
	cmpq	%rax, %r15
	jl	LBB0_10
	jmp	LBB0_11
LBB0_5:
	movq	%r15, -48(%rbp)
	jmp	LBB0_11
LBB0_7:
	movq	16(%r13), %rsi
	movq	%r15, %rdi
	callq	*(%rsi)
	movq	%rax, -48(%rbp)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_putdatum             ; -- Begin function tuplesort_putdatum
	.p2align	2
_tuplesort_putdatum:                    ; @tuplesort_putdatum
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #36]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	cbz	w22, LBB0_4
; %bb.1:
	mov	x21, #0
LBB0_2:
	str	w22, [sp, #8]
	stp	xzr, x21, [sp, #16]
	ldr	w0, [x19, #24]
	bl	_MemoryContextSwitchTo
LBB0_3:
	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
LBB0_4:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_2
; %bb.5:
	ldr	w2, [x19, #28]
	mov	x0, x21
	mov	w1, #0
	bl	_datumCopy
	mov	x21, x0
	str	wzr, [sp, #8]
	bl	_DatumGetPointer
	str	x0, [sp, #16]
	bl	_GetMemoryChunkSpace
	mov	x1, x0
	mov	x0, x19
	bl	_USEMEM
	ldr	w0, [x19, #24]
	bl	_MemoryContextSwitchTo
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_consider_abort_common
	cbz	w0, LBB0_11
; %bb.7:
	str	x21, [sp, #24]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.8:
	mov	x21, #0
	mov	x22, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x23, x8, x21
	ldr	x0, [x23, #8]
	bl	_PointerGetDatum
	str	x0, [x23, #16]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #24
	cmp	x22, x8
	b.lt	LBB0_9
	b	LBB0_3
LBB0_10:
	str	x21, [sp, #24]
	b	LBB0_3
LBB0_11:
	ldr	x1, [x19, #16]
	ldr	x8, [x1]
	mov	x0, x21
	blr	x8
	str	x0, [sp, #24]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
