	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tstoreReceiveSlot_detoast
_tstoreReceiveSlot_detoast:             ## @tstoreReceiveSlot_detoast
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r14d
	callq	_slot_getallattrs
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rax
	movq	%r13, (%rax,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_TupleDescAttr
	cmpl	$0, 4(%rax)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, (%rax)
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_VARATT_IS_EXTERNAL
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_detoast_external_attr
	movl	%eax, %edi
	callq	_PointerGetDatum
	movq	%rax, %r13
	movq	(%r12), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	incl	%edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, (%rax,%rcx,8)
	jmp	LBB0_8
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movl	20(%r12), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %ebx
	movl	16(%r12), %edi
	movq	8(%r12), %rdx
	movq	(%r15), %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_tuplestore_putvalues
	movl	%ebx, %edi
	callq	_MemoryContextSwitchTo
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_pfree
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_11
LBB0_12:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tstoreReceiveSlot_detoast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tstoreReceiveSlot_detoast
_tstoreReceiveSlot_detoast:             ; @tstoreReceiveSlot_detoast
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	w25, [x20]
	bl	_slot_getallattrs
	cmp	w25, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, #0
	mov	w24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	str	x23, [x8, x22, lsl #3]
	add	x22, x22, #1
	cmp	x25, x22
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x23, [x8, x22, lsl #3]
	mov	x0, x20
	mov	x1, x22
	bl	_TupleDescAttr
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x0]
	cmn	w8, #1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	w8, [x8, x22, lsl #2]
	cbnz	w8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_DatumGetPointer
	bl	_detoast_external_attr
	bl	_PointerGetDatum
	mov	x23, x0
	ldr	x8, [x19]
	str	x0, [x8, w24, sxtw #3]
	add	w24, w24, #1
	b	LBB0_2
LBB0_8:
	mov	w24, #0
LBB0_9:
	ldr	w0, [x19, #20]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	ldr	w0, [x19, #16]
	ldr	x2, [x19, #8]
	ldr	x3, [x21]
	mov	x1, x20
	bl	_tuplestore_putvalues
	mov	x0, x22
	bl	_MemoryContextSwitchTo
	cmp	w24, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x20, #0
	mov	w8, w24
	lsl	x21, x8, #3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x20]
	bl	_DatumGetPointer
	bl	_pfree
	add	x20, x20, #8
	cmp	x21, x20
	b.ne	LBB0_11
LBB0_12:
	mov	w0, #1
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tstoreReceiveSlot_detoast
.subsections_via_symbols
