	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tuplesort_gettupleslot         ## -- Begin function tuplesort_gettupleslot
	.p2align	4, 0x90
_tuplesort_gettupleslot:                ## @tuplesort_gettupleslot
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_tuplesort_gettuple_common
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	$0, -64(%rbp)
LBB0_2:
	movl	%r13d, %edi
	callq	_MemoryContextSwitchTo
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.3:
	testq	%r12, %r12
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	-56(%rbp), %eax
	movl	%eax, (%r12)
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_heap_copy_minimal_tuple
	movq	%rax, %rdi
	movq	%rax, -64(%rbp)
LBB0_8:
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_ExecStoreMinimalTuple
	movl	$1, %eax
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ExecClearTuple
	xorl	%eax, %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_gettupleslot         ; -- Begin function tuplesort_gettupleslot
	.p2align	2
_tuplesort_gettupleslot:                ; @tuplesort_gettupleslot
	.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	x21, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x22, x0
	ldr	w0, [x0, #8]
	bl	_MemoryContextSwitchTo
	mov	x23, x0
	mov	x2, sp
	mov	x0, x22
	mov	x1, x24
	bl	_tuplesort_gettuple_common
	cbnz	w0, LBB0_2
; %bb.1:
	str	xzr, [sp]
LBB0_2:
	mov	x0, x23
	bl	_MemoryContextSwitchTo
	ldr	x0, [sp]
	cbz	x0, LBB0_9
; %bb.3:
	cbz	x21, LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [sp, #8]
	str	w8, [x21]
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_heap_copy_minimal_tuple
	str	x0, [sp]
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x19
	mov	x2, x20
	bl	_ExecStoreMinimalTuple
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_ExecClearTuple
	mov	w0, #0
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
