	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecSimpleRelationUpdate       ## -- Begin function ExecSimpleRelationUpdate
	.p2align	4, 0x90
_ExecSimpleRelationUpdate:              ## @ExecSimpleRelationUpdate
	.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	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	24(%rbx), %r13
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_CMD_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_CheckCmdReplicaIdentity
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movq	%r15, %r9
	callq	_ExecBRUpdateTriggers
	testl	%eax, %eax
	je	LBB0_13
LBB0_3:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ExecComputeStoredGenerated
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ExecConstraints
LBB0_7:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_ExecPartitionCheck
LBB0_9:
	movl	(%r12), %ecx
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_simple_table_tuple_update
	cmpq	$0, (%rbx)
	jle	LBB0_12
## %bb.10:
	cmpl	$0, -44(%rbp)
	je	LBB0_12
## %bb.11:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ExecInsertIndexTuples
	movq	%rax, %r14
LBB0_12:
	movq	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_ExecARUpdateTriggers
	movq	%r14, %rdi
	callq	_list_free
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_CMD_UPDATE,4,2                 ## @CMD_UPDATE
	.comm	_NIL,8,3                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecSimpleRelationUpdate       ; -- Begin function ExecSimpleRelationUpdate
	.p2align	2
_ExecSimpleRelationUpdate:              ; @ExecSimpleRelationUpdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x24, x1
	mov	x22, x0
	ldr	x21, [x0, #8]
	ldr	x23, [x21, #24]
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _CMD_UPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_UPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_CheckCmdReplicaIdentity
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	mov	x5, x19
	bl	_ExecBRUpdateTriggers
	cbz	w0, LBB0_12
LBB0_3:
Lloh6:
	adrp	x25, _NIL@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NIL@GOTPAGEOFF]
	ldr	x24, [x25]
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x19
	bl	_ExecComputeStoredGenerated
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ExecConstraints
LBB0_7:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	w3, #1
	bl	_ExecPartitionCheck
LBB0_9:
	ldr	w3, [x22]
	add	x4, sp, #12
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_simple_table_tuple_update
	ldr	x8, [x21]
	ldr	w9, [sp, #12]
	cmp	x8, #1
	ccmp	w9, #0, #4, ge
	b.eq	LBB0_11
; %bb.10:
	ldr	x4, [x25]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	bl	_ExecInsertIndexTuples
	mov	x24, x0
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	mov	x4, x19
	mov	x5, x24
	mov	x6, #0
	bl	_ExecARUpdateTriggers
	mov	x0, x24
	bl	_list_free
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_CMD_UPDATE,4,2                 ; @CMD_UPDATE
	.comm	_NIL,8,3                        ; @NIL
.subsections_via_symbols
