	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecARUpdateTriggers           ## -- Begin function ExecARUpdateTriggers
	.p2align	4, 0x90
_ExecARUpdateTriggers:                  ## @ExecARUpdateTriggers
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rsi), %r14
	callq	_ExecGetTriggerOldSlot
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ExecClearTuple
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r14)
	jne	LBB0_5
LBB0_2:
	cmpq	$0, 16(%rbp)
	je	LBB0_10
## %bb.3:
	movq	16(%rbp), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_5
## %bb.4:
	movq	16(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
LBB0_5:
	testq	%r15, %r15
	je	LBB0_6
## %bb.8:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rsp
	jmp	LBB0_11
LBB0_6:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_ItemPointerIsValid
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_LockTupleExclusive@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	movq	%r13, %r9
	pushq	$0
	callq	_GetTupleForTrigger
	addq	$16, %rsp
LBB0_9:
	movq	_TRIGGER_EVENT_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_GetAllUpdatedColumns
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movl	$1, %ecx
	movq	%r13, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	16(%rbp)
	pushq	%rax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_AfterTriggerSaveEvent
	addq	$56, %rsp
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LockTupleExclusive,4,2         ## @LockTupleExclusive
	.comm	_TRIGGER_EVENT_UPDATE,4,2       ## @TRIGGER_EVENT_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecARUpdateTriggers           ; -- Begin function ExecARUpdateTriggers
	.p2align	2
_ExecARUpdateTriggers:                  ; @ExecARUpdateTriggers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x6
	mov	x19, x5
	mov	x20, x4
	mov	x26, x3
	mov	x25, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x27, [x1]
	bl	_ExecGetTriggerOldSlot
	mov	x24, x0
	bl	_ExecClearTuple
	cbz	x27, LBB0_2
; %bb.1:
	ldr	x8, [x27]
	cbnz	x8, LBB0_5
LBB0_2:
	cbz	x21, LBB0_10
; %bb.3:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
LBB0_5:
	cbz	x26, LBB0_7
; %bb.6:
	mov	x0, x26
	mov	x1, x24
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
	b	LBB0_9
LBB0_7:
	mov	x0, x25
	bl	_ItemPointerIsValid
	cbz	x0, LBB0_9
; %bb.8:
Lloh0:
	adrp	x8, _LockTupleExclusive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LockTupleExclusive@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, #0
	mov	x2, x22
	mov	x3, x25
	mov	x5, x24
	mov	x6, #0
	bl	_GetTupleForTrigger
LBB0_9:
Lloh3:
	adrp	x8, _TRIGGER_EVENT_UPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRIGGER_EVENT_UPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_GetAllUpdatedColumns
	mov	x7, x0
	str	x21, [sp]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	mov	w3, #1
	mov	x4, x24
	mov	x5, x20
	mov	x6, x19
	bl	_AfterTriggerSaveEvent
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LockTupleExclusive,4,2         ; @LockTupleExclusive
	.comm	_TRIGGER_EVENT_UPDATE,4,2       ; @TRIGGER_EVENT_UPDATE
.subsections_via_symbols
