	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_returning_filter
_apply_returning_filter:                ## @apply_returning_filter
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	(%rdx), %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rdi), %edi
	callq	_RelationGetDescr
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ExecGetReturningSlot
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_slot_getallattrs
	movq	(%r12), %r13
	movq	8(%r12), %r12
	movq	%r15, %rdi
	callq	_ExecClearTuple
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.1:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%r12,%rdi,4), %ebx
	movl	%ebx, (%rcx,%rsi,4)
	movl	-4(%r13,%rdi,4), %edi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, (%rax,%rsi,4)
	incq	%rsi
	movslq	(%r14), %rdi
	cmpq	%rdi, %rsi
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rsi,4), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rcx,%rsi,4)
	movl	$1, %edi
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_ExecStoreVirtualTuple
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_ExecFetchSlotHeapTuple
	movq	%rax, %r13
	movslq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	-4(%r12,%rax,4), %edi
	callq	_DatumGetPointer
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
LBB0_9:
	movl	(%r13), %edi
	movq	_InvalidTransactionId@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_HeapTupleHeaderSetXmin
	movl	(%r13), %edi
	movl	(%r14), %esi
	callq	_HeapTupleHeaderSetXmax
	movl	(%r13), %edi
	movl	(%r14), %esi
	callq	_HeapTupleHeaderSetCmin
LBB0_10:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.no_dead_strip	_apply_returning_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_returning_filter
_apply_returning_filter:                ; @apply_returning_filter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x23, [x2]
	ldr	w0, [x0, #24]
	bl	_RelationGetDescr
	mov	x21, x0
	mov	x0, x19
	mov	x1, x23
	bl	_ExecGetReturningSlot
	mov	x19, x0
	mov	x0, x22
	bl	_slot_getallattrs
	ldp	x22, x23, [x22]
	mov	x0, x19
	bl	_ExecClearTuple
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	ldp	x10, x9, [x19]
	ldr	x11, [x20]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w12, #1
	sbfiz	x12, x12, #2, #32
	ldr	w13, [x23, x12]
	str	w13, [x9, x8, lsl #2]
	ldr	w12, [x22, x12]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w12, [x10, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x12, [x21]
	cmp	x8, x12
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x8, lsl #2]
	cbnz	w12, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x9, x8, lsl #2]
	mov	w12, #1
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	bl	_ExecStoreVirtualTuple
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.7:
	mov	x0, x19
	mov	w1, #1
	mov	x2, #0
	bl	_ExecFetchSlotHeapTuple
	mov	x21, x0
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_9
; %bb.8:
	sub	w8, w8, #1
	ldr	w0, [x23, w8, sxtw #2]
	bl	_DatumGetPointer
	ldr	w8, [x0]
	str	w8, [x21, #4]
LBB0_9:
	ldr	w0, [x21]
Lloh0:
	adrp	x20, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x20, [x20, _InvalidTransactionId@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_HeapTupleHeaderSetXmin
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_HeapTupleHeaderSetXmax
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_HeapTupleHeaderSetCmin
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.no_dead_strip	_apply_returning_filter
.subsections_via_symbols
