	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecUpdate
_ExecUpdate:                            ## @ExecUpdate
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r12
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_IsBootstrapProcessingMode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_2:
	movq	%r13, %rdi
	callq	_ExecMaterializeSlot
	movq	16(%r12), %r15
	movq	48(%r15), %rax
	movq	56(%r15), %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r13, %r9
	callq	_ExecBRUpdateTriggers
	testl	%eax, %eax
	je	LBB0_60
## %bb.5:
	movq	48(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
	callq	_ExecIRUpdateTriggers
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_60
LBB0_8:
	movq	40(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.9:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ExecComputeStoredGenerated
	movq	40(%r15), %rbx
LBB0_12:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_60
## %bb.13:
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_RelationGetRelid
	movq	%rax, (%r13)
LBB0_14:
	cmpl	$0, 24(%rbp)
	je	LBB0_16
## %bb.15:
	incl	(%r12)
LBB0_16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	movq	_CMD_INSERT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rdx
	sete	%bl
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r9
	pushq	16(%rax,%rbx,8)
	callq	_ExecARUpdateTriggers
	addq	$16, %rsp
	movq	%r14, %rdi
	callq	_list_free
	movq	16(%r15), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.17:
	movq	_WCO_VIEW_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_ExecWithCheckOptions
LBB0_18:
	cmpq	$0, 8(%r15)
	je	LBB0_60
## %bb.19:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_ExecProcessReturning
	movq	%rax, %rbx
	jmp	LBB0_70
LBB0_20:
	movq	%r14, %rdi
	callq	_RelationGetRelid
	movq	%rax, (%r13)
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.22:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ExecComputeStoredGenerated
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	24(%r15), %edi
	movq	%rbx, %rsi
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	callq	_ExecFilterJunk
	movq	%rax, %r13
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_ExecMaterializeSlot
	cmpq	$0, 32(%r15)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_ExecPartitionCheck
	testl	%eax, %eax
	je	LBB0_36
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	16(%r15), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_WCO_RLS_UPDATE_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_ExecWithCheckOptions
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_ExecConstraints
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	4(%r12), %ecx
	movl	8(%r12), %r8d
	movl	12(%r12), %r9d
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	leaq	-112(%rbp), %rax
	pushq	%rax
	leaq	-116(%rbp), %rax
	pushq	%rax
	leaq	-88(%rbp), %rax
	pushq	%rax
	pushq	$1
	callq	_table_tuple_update
	addq	$32, %rsp
	cmpl	$128, %eax
	jne	LBB0_43
## %bb.32:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%eax, %eax
	callq	_IsolationUsesXactSnapshot
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.5(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_34:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	28(%r15), %edx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_EvalPlanQualSlot
	movq	%rax, %rbx
	movl	4(%r12), %r8d
	movl	8(%r12), %edx
	movl	-116(%rbp), %r9d
	movq	_LockWaitBlock@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_TUPLE_LOCK_FLAG_FIND_LAST_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rcx
	leaq	-88(%rbp), %rax
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_table_tuple_lock
	addq	$32, %rsp
	cmpl	$130, %eax
	jne	LBB0_48
## %bb.35:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	-88(%rbp), %edi
	callq	_Assert
	movl	28(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_EvalPlanQual
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TupIsNull
	testq	%rax, %rax
	je	LBB0_23
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	$0, -104(%rbp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	56(%rdi), %rax
	movq	64(%rdi), %rbx
	movq	(%rax), %rax
	movq	_ONCONFLICT_UPDATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.2(%rip), %rdi
	callq	_errdetail
	movl	%ebx, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_25 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_ExecPartitionCheckEmitError
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_40:                                ##   in Loop: Header=BB0_25 Depth=1
	subq	$8, %rsp
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	leaq	-104(%rbp), %rax
	pushq	%rax
	leaq	-108(%rbp), %rax
	pushq	%rax
	pushq	$1
	pushq	$0
	pushq	$0
	callq	_ExecDelete
	addq	$48, %rsp
	cmpl	$0, -108(%rbp)
	jne	LBB0_61
## %bb.41:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-104(%rbp), %rdi
	callq	_TupIsNull
	testq	%rax, %rax
	jne	LBB0_60
## %bb.42:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	24(%r15), %edi
	movq	-104(%rbp), %rsi
	jmp	LBB0_24
LBB0_43:
	cmpl	$131, %eax
	je	LBB0_52
## %bb.44:
	cmpl	$130, %eax
	je	LBB0_55
## %bb.45:
	cmpl	$129, %eax
	je	LBB0_46
## %bb.58:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_51
LBB0_48:
	cmpl	$129, %eax
	je	LBB0_46
## %bb.49:
	cmpl	$131, %eax
	je	LBB0_60
## %bb.50:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_51:
	xorl	%ebx, %ebx
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_70
LBB0_46:
	movl	-84(%rbp), %eax
	cmpl	4(%r12), %eax
	jne	LBB0_47
LBB0_60:
	xorl	%ebx, %ebx
LBB0_70:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_IsolationUsesXactSnapshot
	testl	%eax, %eax
	je	LBB0_70
## %bb.53:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.7(%rip), %rdi
	callq	_errmsg
	jmp	LBB0_54
LBB0_55:
	cmpq	$0, (%r15)
	jle	LBB0_14
## %bb.56:
	cmpl	$0, -112(%rbp)
	je	LBB0_14
## %bb.57:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ExecInsertIndexTuples
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_14
LBB0_47:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.4(%rip), %rdi
	callq	_errhint
LBB0_54:
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%ebx, %ebx
	jmp	LBB0_70
LBB0_61:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_63
## %bb.62:
	movq	(%rax), %rax
	jmp	LBB0_64
LBB0_63:
	xorl	%eax, %eax
LBB0_64:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	subq	48(%r14), %rbx
	shrq	$6, %rbx
	testl	%ebx, %ebx
	js	LBB0_66
## %bb.65:
	xorl	%edi, %edi
	cmpl	%ebx, (%r14)
	setg	%dil
LBB0_66:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tupconv_map_for_subplan
	testq	%rax, %rax
	je	LBB0_68
## %bb.67:
	movl	(%rax), %edi
	movl	40(%r14), %edx
	movq	%r13, %rsi
	callq	_execute_attr_map_slot
	movq	%rax, %r13
LBB0_68:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edi, %edi
	cmpq	$0, 32(%r14)
	setne	%dil
	callq	_Assert
	movq	32(%r14), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %r8
	callq	_ExecPrepareTupleRouting
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movl	24(%rbp), %r8d
	callq	_ExecInsert
	movq	%rax, %rbx
	movq	%r15, 16(%r12)
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_70
## %bb.69:
	movq	$0, 8(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_70
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot UPDATE during bootstrap"

	.comm	_WCO_RLS_UPDATE_CHECK,4,2       ## @WCO_RLS_UPDATE_CHECK
	.comm	_ONCONFLICT_UPDATE,8,3          ## @ONCONFLICT_UPDATE
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.1:                               ## @.str.1
	.asciz	"invalid ON UPDATE specification"

L_.str.2:                               ## @.str.2
	.asciz	"The result tuple would appear in a different partition than the original tuple."

	.comm	_ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION,4,2 ## @ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION
L_.str.3:                               ## @.str.3
	.asciz	"tuple to be updated was already modified by an operation triggered by the current command"

L_.str.4:                               ## @.str.4
	.asciz	"Consider using an AFTER trigger instead of a BEFORE trigger to propagate changes to other rows."

	.comm	_ERRCODE_T_R_SERIALIZATION_FAILURE,4,2 ## @ERRCODE_T_R_SERIALIZATION_FAILURE
L_.str.5:                               ## @.str.5
	.asciz	"could not serialize access due to concurrent update"

	.comm	_LockWaitBlock,4,2              ## @LockWaitBlock
	.comm	_TUPLE_LOCK_FLAG_FIND_LAST_VERSION,4,2 ## @TUPLE_LOCK_FLAG_FIND_LAST_VERSION
L_.str.6:                               ## @.str.6
	.asciz	"unexpected table_tuple_lock status: %u"

L_.str.7:                               ## @.str.7
	.asciz	"could not serialize access due to concurrent delete"

L_.str.8:                               ## @.str.8
	.asciz	"unrecognized table_tuple_update status: %u"

	.comm	_CMD_INSERT,8,3                 ## @CMD_INSERT
	.comm	_WCO_VIEW_CHECK,4,2             ## @WCO_VIEW_CHECK
	.no_dead_strip	_ExecUpdate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecUpdate
_ExecUpdate:                            ; @ExecUpdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	w7, [sp, #36]                   ; 4-byte Folded Spill
	mov	x19, x6
	mov	x23, x5
	mov	x27, x4
	mov	x26, x3
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
Lloh0:
	adrp	x20, _NIL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NIL@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	bl	_IsBootstrapProcessingMode
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	mov	x0, x26
	bl	_ExecMaterializeSlot
	ldr	x21, [x19, #16]
	ldp	x8, x28, [x21, #48]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x25
	mov	x4, x24
	mov	x5, x26
	bl	_ExecBRUpdateTriggers
	cbz	w0, LBB0_55
; %bb.5:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_8
LBB0_6:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x26
	bl	_ExecIRUpdateTriggers
	cbnz	w0, LBB0_14
	b	LBB0_55
LBB0_8:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_20
; %bb.9:
	ldr	x9, [x28]
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.10:
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x26
	bl	_ExecComputeStoredGenerated
	ldr	x8, [x21, #40]
LBB0_12:
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x26
	mov	x3, x27
	blr	x8
	cbz	x0, LBB0_56
; %bb.13:
	mov	x26, x0
	mov	x0, x28
	bl	_RelationGetRelid
	str	x0, [x26]
LBB0_14:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_16
; %bb.15:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_16:
	ldr	x8, [x22, #8]
Lloh7:
	adrp	x9, _CMD_INSERT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CMD_INSERT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	mov	w10, #16
	mov	w11, #24
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	x6, [x22, x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	mov	x3, x24
	mov	x4, x26
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	mov	x5, x22
	bl	_ExecARUpdateTriggers
	mov	x0, x22
	bl	_list_free
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.17:
Lloh10:
	adrp	x8, _WCO_VIEW_CHECK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WCO_VIEW_CHECK@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x26
	mov	x3, x19
	bl	_ExecWithCheckOptions
LBB0_18:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_55
; %bb.19:
	mov	x0, x21
	mov	x1, x26
	mov	x2, x27
	bl	_ExecProcessReturning
	b	LBB0_56
LBB0_20:
	mov	x0, x28
	bl	_RelationGetRelid
	str	x0, [x26]
	ldr	x8, [x28]
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.21:
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.22:
	mov	x0, x19
	mov	x1, x26
	bl	_ExecComputeStoredGenerated
	b	LBB0_35
LBB0_23:                                ;   in Loop: Header=BB0_35 Depth=1
	bl	_IsolationUsesXactSnapshot
	cbz	w0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
Lloh16:
	adrp	x8, _ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_errcode
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_25:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	w2, [x21, #28]
	mov	x0, x23
	mov	x1, x28
	bl	_EvalPlanQualSlot
	mov	x20, x0
	ldp	w4, w2, [x19, #4]
	ldr	w5, [sp, #68]
Lloh21:
	adrp	x8, _LockWaitBlock@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LockWaitBlock@GOTPAGEOFF]
Lloh23:
	ldr	w6, [x8]
Lloh24:
	adrp	x8, _TUPLE_LOCK_FLAG_FIND_LAST_VERSION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TUPLE_LOCK_FLAG_FIND_LAST_VERSION@GOTPAGEOFF]
Lloh26:
	ldr	w7, [x8]
	add	x8, sp, #72
	str	x8, [sp]
	mov	x0, x28
	mov	x1, x25
	mov	x3, x20
	bl	_table_tuple_lock
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #130
	b.ne	LBB0_46
; %bb.26:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w0, [sp, #72]
	bl	_Assert
	ldr	w2, [x21, #28]
	mov	x0, x23
	mov	x1, x28
	mov	x3, x20
	bl	_EvalPlanQual
	mov	x20, x0
	bl	_TupIsNull
	cbnz	x0, LBB0_55
; %bb.27:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w0, [x21, #24]
	mov	x1, x20
	bl	_ExecFilterJunk
	mov	x26, x0
Lloh27:
	adrp	x20, _NIL@GOTPAGE
Lloh28:
	ldr	x20, [x20, _NIL@GOTPAGEOFF]
	b	LBB0_35
LBB0_28:                                ;   in Loop: Header=BB0_35 Depth=1
	str	xzr, [sp, #48]
	ldr	x8, [x22, #64]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x22, #56]
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _ONCONFLICT_UPDATE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ONCONFLICT_UPDATE@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x20, x27
Lloh32:
	adrp	x8, _ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w27, [x8]
Lloh35:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_errcode
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
Lloh40:
	adrp	x0, l_.str.2@PAGE
Lloh41:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errdetail
	mov	x1, x0
	mov	x0, x27
	mov	x27, x20
Lloh42:
	adrp	x20, _NIL@GOTPAGE
Lloh43:
	ldr	x20, [x20, _NIL@GOTPAGEOFF]
	bl	_ereport
LBB0_30:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbnz	x8, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	bl	_ExecPartitionCheckEmitError
LBB0_32:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x8, sp, #48
	str	x8, [sp, #16]
	add	x8, sp, #60
	str	x8, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
	mov	x0, x22
	mov	x1, x25
	mov	x2, x24
	mov	x3, x27
	mov	x4, x23
	mov	x5, x19
	mov	w6, #0
	mov	w7, #0
	bl	_ExecDelete
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_60
; %bb.33:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x0, [sp, #48]
	bl	_TupIsNull
	cbnz	x0, LBB0_55
; %bb.34:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w0, [x21, #24]
	ldr	x1, [sp, #48]
	bl	_ExecFilterJunk
	mov	x26, x0
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_ExecMaterializeSlot
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	mov	w3, #0
	bl	_ExecPartitionCheck
	cbz	w0, LBB0_28
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh44:
	adrp	x8, _WCO_RLS_UPDATE_CHECK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WCO_RLS_UPDATE_CHECK@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x26
	mov	x3, x19
	bl	_ExecWithCheckOptions
LBB0_39:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x28]
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	bl	_ExecConstraints
LBB0_41:                                ;   in Loop: Header=BB0_35 Depth=1
	ldp	w3, w4, [x19, #4]
	ldr	w5, [x19, #12]
	add	x8, sp, #64
	str	x8, [sp, #8]
	add	x8, sp, #68
	str	x8, [sp]
	add	x7, sp, #72
	mov	x0, x28
	mov	x1, x25
	mov	x2, x26
	mov	w6, #1
	bl	_table_tuple_update
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #128
	b.eq	LBB0_23
; %bb.42:
	cmp	w0, #131
	b.eq	LBB0_52
; %bb.43:
	cmp	w0, #130
	b.eq	LBB0_57
; %bb.44:
	cmp	w0, #129
	b.eq	LBB0_50
; %bb.45:
Lloh47:
	adrp	x8, _ERROR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_49
LBB0_46:
	cmp	w0, #129
	b.eq	LBB0_50
; %bb.47:
	cmp	w0, #131
	b.eq	LBB0_55
; %bb.48:
Lloh52:
	adrp	x8, _ERROR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh55:
	adrp	x1, l_.str.6@PAGE
Lloh56:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_49:
	mov	x0, x8
	bl	_elog
	mov	x0, #0
	b	LBB0_56
LBB0_50:
	ldr	w8, [sp, #76]
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.eq	LBB0_55
; %bb.51:
Lloh57:
	adrp	x8, _ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh59:
	ldr	w19, [x8]
Lloh60:
	adrp	x8, _ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	bl	_errcode
Lloh63:
	adrp	x0, l_.str.3@PAGE
Lloh64:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
Lloh65:
	adrp	x0, l_.str.4@PAGE
Lloh66:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errhint
	b	LBB0_54
LBB0_52:
	bl	_IsolationUsesXactSnapshot
	cbz	w0, LBB0_55
; %bb.53:
Lloh67:
	adrp	x8, _ERROR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh69:
	ldr	w19, [x8]
Lloh70:
	adrp	x8, _ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ERRCODE_T_R_SERIALIZATION_FAILURE@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
	bl	_errcode
Lloh73:
	adrp	x0, l_.str.7@PAGE
Lloh74:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
LBB0_54:
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	mov	x0, #0
	b	LBB0_56
LBB0_55:
	mov	x0, #0
LBB0_56:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_57:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.58:
	ldr	w8, [sp, #64]
	cbz	w8, LBB0_14
; %bb.59:
	ldr	x4, [x20]
	mov	x0, x26
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	bl	_ExecInsertIndexTuples
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_14
LBB0_60:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_62
; %bb.61:
	ldr	x24, [x8]
	b	LBB0_63
LBB0_62:
	mov	x24, #0
LBB0_63:
	ldr	x8, [x22, #48]
	sub	x8, x21, x8
	lsr	x23, x8, #6
	tbnz	w23, #31, LBB0_65
; %bb.64:
	ldr	w8, [x22]
	cmp	w8, w23
	cset	w0, gt
	b	LBB0_66
LBB0_65:
	mov	w0, #0
LBB0_66:
	bl	_Assert
	mov	x0, x22
	mov	x1, x23
	bl	_tupconv_map_for_subplan
	cbz	x0, LBB0_68
; %bb.67:
	ldr	w0, [x0]
	ldr	w2, [x22, #40]
	mov	x1, x26
	bl	_execute_attr_map_slot
	mov	x26, x0
LBB0_68:
	ldr	x8, [x22, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x3, [x22, #32]
	mov	x0, x22
	mov	x1, x19
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	mov	x4, x26
	bl	_ExecPrepareTupleRouting
	mov	x1, x0
	mov	x0, x22
	mov	x2, x27
	mov	x3, x19
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	bl	_ExecInsert
	str	x21, [x19, #16]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_56
; %bb.69:
	stp	x24, xzr, [x8]
	b	LBB0_56
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot UPDATE during bootstrap"

	.comm	_WCO_RLS_UPDATE_CHECK,4,2       ; @WCO_RLS_UPDATE_CHECK
	.comm	_ONCONFLICT_UPDATE,8,3          ; @ONCONFLICT_UPDATE
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.1:                               ; @.str.1
	.asciz	"invalid ON UPDATE specification"

l_.str.2:                               ; @.str.2
	.asciz	"The result tuple would appear in a different partition than the original tuple."

	.comm	_ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION,4,2 ; @ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION
l_.str.3:                               ; @.str.3
	.asciz	"tuple to be updated was already modified by an operation triggered by the current command"

l_.str.4:                               ; @.str.4
	.asciz	"Consider using an AFTER trigger instead of a BEFORE trigger to propagate changes to other rows."

	.comm	_ERRCODE_T_R_SERIALIZATION_FAILURE,4,2 ; @ERRCODE_T_R_SERIALIZATION_FAILURE
l_.str.5:                               ; @.str.5
	.asciz	"could not serialize access due to concurrent update"

	.comm	_LockWaitBlock,4,2              ; @LockWaitBlock
	.comm	_TUPLE_LOCK_FLAG_FIND_LAST_VERSION,4,2 ; @TUPLE_LOCK_FLAG_FIND_LAST_VERSION
l_.str.6:                               ; @.str.6
	.asciz	"unexpected table_tuple_lock status: %u"

l_.str.7:                               ; @.str.7
	.asciz	"could not serialize access due to concurrent delete"

l_.str.8:                               ; @.str.8
	.asciz	"unrecognized table_tuple_update status: %u"

	.comm	_CMD_INSERT,8,3                 ; @CMD_INSERT
	.comm	_WCO_VIEW_CHECK,4,2             ; @WCO_VIEW_CHECK
	.no_dead_strip	_ExecUpdate
.subsections_via_symbols
