	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_getdatum             ## -- Begin function tuplesort_getdatum
	.p2align	4, 0x90
_tuplesort_getdatum:                    ## @tuplesort_getdatum
	.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	%r8, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	16(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_tuplesort_gettuple_common
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	testq	%r12, %r12
	je	LBB0_5
## %bb.3:
	movq	8(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	-48(%rbp), %eax
	movl	%eax, (%r12)
LBB0_5:
	movl	-56(%rbp), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
LBB0_7:
	movl	-48(%rbp), %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	cmpl	$0, 4(%r13)
	je	LBB0_7
## %bb.8:
	movl	-52(%rbp), %edi
	callq	_PointerGetDatum
	movl	(%r13), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_datumCopy
LBB0_9:
	movl	%eax, (%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movl	$1, %eax
LBB0_10:
	addq	$24, %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_getdatum             ; -- Begin function tuplesort_getdatum
	.p2align	2
_tuplesort_getdatum:                    ; @tuplesort_getdatum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	ldr	w0, [x0, #16]
	bl	_MemoryContextSwitchTo
	mov	x24, x0
	mov	x2, sp
	mov	x0, x21
	mov	x1, x23
	bl	_tuplesort_gettuple_common
	mov	x23, x0
	mov	x0, x24
	bl	_MemoryContextSwitchTo
	cbz	w23, LBB0_6
; %bb.1:
	cbz	x22, LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x22]
LBB0_4:
	ldr	w22, [sp]
	cbz	w22, LBB0_7
LBB0_5:
	ldr	w0, [sp, #8]
	b	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_5
; %bb.8:
	ldr	w0, [sp, #4]
	bl	_PointerGetDatum
	ldr	w2, [x21]
	mov	w1, #0
	bl	_datumCopy
LBB0_9:
	str	w0, [x20]
	str	w22, [x19]
	mov	w0, #1
LBB0_10:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
