	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_begin_datum          ## -- Begin function tuplesort_begin_datum
	.p2align	4, 0x90
_tuplesort_begin_datum:                 ## @tuplesort_begin_datum
	.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
	movl	%r8d, %r15d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	16(%rbp), %r12d
	movl	%r8d, %edi
	movl	%r9d, %esi
	movl	%r12d, %edx
	callq	_tuplesort_begin_common
	movq	%rax, %rbx
	movl	64(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$1, (%rbx)
	movq	_DATUM_SORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_PARALLEL_SORT
	movl	%r13d, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	callq	_TRACE_POSTGRESQL_SORT_START
	movq	_comparetup_datum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_copytup_datum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_writetup_datum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_readtup_datum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$10, 4(%rbx)
	movq	%r14, 40(%rbx)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_get_typlenbyval
	movl	-56(%rbp), %eax
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	sete	%al
	movl	%eax, 8(%rbx)
	movl	$4, %edi
	callq	_palloc0
	movq	%rax, 16(%rbx)
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	xorl	%ecx, %ecx
	cmpl	$0, -44(%rbp)
	sete	%cl
	movl	%ecx, 4(%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_PrepareSortSupportFromOrderingOp
	movq	16(%rbx), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rax, 24(%rbx)
LBB0_2:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATUM_SORT,4,2                 ## @DATUM_SORT
	.comm	_comparetup_datum,4,2           ## @comparetup_datum
	.comm	_copytup_datum,4,2              ## @copytup_datum
	.comm	_writetup_datum,4,2             ## @writetup_datum
	.comm	_readtup_datum,4,2              ## @readtup_datum
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.comm	_LOG,4,2                        ## @LOG
	.comm	_trace_sort,8,3                 ## @trace_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_begin_datum          ; -- Begin function tuplesort_begin_datum
	.p2align	2
_tuplesort_begin_datum:                 ; @tuplesort_begin_datum
	.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	x24, x6
	mov	x25, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x26, x0
	mov	x0, x4
	mov	x1, x5
	mov	x2, x6
	bl	_tuplesort_begin_common
	mov	x19, x0
	ldr	w0, [x0, #64]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	mov	w8, #1
	str	w8, [x19]
Lloh0:
	adrp	x8, _DATUM_SORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATUM_SORT@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	mov	x0, x19
	bl	_PARALLEL_SORT
	mov	x5, x0
	mov	x0, x27
	mov	w1, #0
	mov	w2, #1
	mov	x3, x25
	mov	x4, x24
	bl	_TRACE_POSTGRESQL_SORT_START
Lloh3:
	adrp	x8, _comparetup_datum@GOTPAGE
Lloh4:
	ldr	x8, [x8, _comparetup_datum@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _copytup_datum@GOTPAGE
Lloh7:
	ldr	x9, [x9, _copytup_datum@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh9:
	adrp	x8, _writetup_datum@GOTPAGE
Lloh10:
	ldr	x8, [x8, _writetup_datum@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _readtup_datum@GOTPAGE
Lloh13:
	ldr	x9, [x9, _readtup_datum@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	mov	w8, #10
	str	w8, [x19, #4]
	str	x26, [x19, #40]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x26
	bl	_get_typlenbyval
	ldr	w8, [sp, #12]
	str	w8, [x19, #32]
	ldr	w8, [sp, #8]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #8]
	mov	w0, #4
	bl	_palloc0
	mov	x1, x0
	str	x0, [x19, #16]
Lloh15:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	x23, [x0, #16]
	str	w22, [x0]
	ldr	w8, [sp, #8]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x0, #4]
	mov	x0, x20
	bl	_PrepareSortSupportFromOrderingOp
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_2
; %bb.1:
	str	x8, [x19, #24]
LBB0_2:
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATUM_SORT,4,2                 ; @DATUM_SORT
	.comm	_comparetup_datum,4,2           ; @comparetup_datum
	.comm	_copytup_datum,4,2              ; @copytup_datum
	.comm	_writetup_datum,4,2             ; @writetup_datum
	.comm	_readtup_datum,4,2              ; @readtup_datum
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.comm	_LOG,4,2                        ; @LOG
	.comm	_trace_sort,8,3                 ; @trace_sort
.subsections_via_symbols
