	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecBRUpdateTriggers           ## -- Begin function ExecBRUpdateTriggers
	.p2align	4, 0x90
_ExecBRUpdateTriggers:                  ## @ExecBRUpdateTriggers
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	16(%rdx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_ExecGetTriggerOldSlot
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$0, -52(%rbp)
	movl	$0, -76(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ExecUpdateLockMode
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_HeapTupleIsValid
	movl	%eax, %ebx
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_ItemPointerIsValid
	xorl	%eax, %ebx
	movl	%ebx, %edi
	callq	_Assert
	testq	%r15, %r15
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.7:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
	movq	%r14, %rbx
	jmp	LBB0_8
LBB0_1:
	movq	$0, -184(%rbp)
	leaq	-184(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r14, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_GetTupleForTrigger
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r14, %rbx
	movq	-184(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	movl	12(%rbx), %edi
	callq	_ExecFilterJunk
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_ExecCopySlot
LBB0_6:
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ExecFetchSlotHeapTuple
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	movq	_T_TriggerData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	_TRIGGER_EVENT_UPDATE@GOTPCREL(%rip), %rax
	movq	_TRIGGER_EVENT_ROW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TRIGGER_EVENT_BEFORE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -184(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -120(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -136(%rbp)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_GetAllUpdatedColumns
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jle	LBB0_29
## %bb.9:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rbx
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	incq	%r12
	movslq	(%rcx), %rax
	addq	$4, %r14
	cmpq	%rax, %r12
	jge	LBB0_29
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %r15
	movl	(%r15,%r12,4), %edi
	movq	_TRIGGER_TYPE_ROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRIGGER_TYPE_BEFORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TRIGGER_TYPE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_TRIGGER_TYPE_MATCHES
	testl	%eax, %eax
	je	LBB0_28
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%r14, %r15
	movl	-184(%rbp), %ecx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	callq	_TriggerEnabled
	testl	%eax, %eax
	je	LBB0_28
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	leaq	-76(%rbp), %rdx
	callq	_ExecFetchSlotHeapTuple
	movq	%rax, %rcx
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -144(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	%rcx, -160(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -168(%rbp)
	movq	%r15, -176(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rbx, %r13
	movl	4(%rbx), %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_GetPerTupleMemoryContext
	leaq	-184(%rbp), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_ExecCallTriggerFunc
	testq	%rax, %rax
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rbx
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
	cmpl	$0, -52(%rbp)
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ExecMaterializeSlot
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$0, -76(%rbp)
	movq	%r13, %rbx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_freetuple
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
LBB0_29:
	movl	$1, %ebx
	cmpl	$0, -52(%rbp)
	je	LBB0_32
## %bb.30:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_31:
	callq	_heap_freetuple
	jmp	LBB0_32
LBB0_15:
	cmpl	$0, -52(%rbp)
	je	LBB0_17
## %bb.16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_freetuple
LBB0_17:
	xorl	%ebx, %ebx
	cmpl	$0, -76(%rbp)
	je	LBB0_32
## %bb.18:
	movq	%r15, %rdi
	jmp	LBB0_31
LBB0_2:
	xorl	%ebx, %ebx
LBB0_32:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_T_TriggerData,4,2              ## @T_TriggerData
	.comm	_TRIGGER_EVENT_UPDATE,4,2       ## @TRIGGER_EVENT_UPDATE
	.comm	_TRIGGER_EVENT_ROW,4,2          ## @TRIGGER_EVENT_ROW
	.comm	_TRIGGER_EVENT_BEFORE,4,2       ## @TRIGGER_EVENT_BEFORE
	.comm	_TRIGGER_TYPE_ROW,4,2           ## @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_BEFORE,4,2        ## @TRIGGER_TYPE_BEFORE
	.comm	_TRIGGER_TYPE_UPDATE,4,2        ## @TRIGGER_TYPE_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecBRUpdateTriggers           ; -- Begin function ExecBRUpdateTriggers
	.p2align	2
_ExecBRUpdateTriggers:                  ; @ExecBRUpdateTriggers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x5, [sp, #24]                   ; 8-byte Folded Spill
	mov	x22, x4
	mov	x24, x3
	mov	x19, x2
	mov	x25, x1
	mov	x21, x0
	ldr	x23, [x2, #16]
	mov	x1, x2
	bl	_ExecGetTriggerOldSlot
	mov	x28, x0
	stur	xzr, [x29, #-88]
	mov	x0, x21
	mov	x1, x19
	bl	_ExecUpdateLockMode
	mov	x26, x0
	mov	x0, x22
	bl	_HeapTupleIsValid
	mov	x27, x0
	mov	x0, x24
	bl	_ItemPointerIsValid
	eor	w0, w0, w27
	bl	_Assert
	cbz	x22, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x28
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
	b	LBB0_7
LBB0_2:
	str	xzr, [sp, #32]
	add	x6, sp, #32
	mov	x0, x21
	mov	x1, x25
	mov	x2, x19
	mov	x3, x24
	mov	x4, x26
	mov	x5, x28
	bl	_GetTupleForTrigger
	cbz	w0, LBB0_27
; %bb.3:
	ldr	x1, [sp, #32]
	cbz	x1, LBB0_6
; %bb.4:
	ldr	w0, [x19, #12]
	bl	_ExecFilterJunk
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x1, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_ExecCopySlot
LBB0_6:
	sub	x2, x29, #84
	mov	x0, x28
	mov	w1, #1
	bl	_ExecFetchSlotHeapTuple
	mov	x22, x0
LBB0_7:
Lloh0:
	adrp	x8, _TRIGGER_EVENT_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRIGGER_EVENT_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TRIGGER_EVENT_ROW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRIGGER_EVENT_ROW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TRIGGER_EVENT_BEFORE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TRIGGER_EVENT_BEFORE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _T_TriggerData@GOTPAGE
Lloh10:
	ldr	x9, [x9, _T_TriggerData@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w8, [sp, #32]
	ldr	w8, [x19, #8]
	stp	w8, w9, [sp, #96]
	stp	xzr, xzr, [sp, #80]
	mov	x0, x19
	mov	x1, x21
	bl	_GetAllUpdatedColumns
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.8:
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
Lloh12:
	adrp	x20, _TRIGGER_TYPE_ROW@GOTPAGE
Lloh13:
	ldr	x20, [x20, _TRIGGER_TYPE_ROW@GOTPAGEOFF]
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	x22, x28
	mov	x28, x21
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x21, x19
	mov	x19, x23
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.ge	LBB0_24
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x23, #8]
	ldr	w0, [x27, x25, lsl #2]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _TRIGGER_TYPE_BEFORE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRIGGER_TYPE_BEFORE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _TRIGGER_TYPE_UPDATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRIGGER_TYPE_UPDATE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	bl	_TRIGGER_TYPE_MATCHES
	cbz	w0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x27, x27, x24
	ldr	w3, [sp, #32]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x27
	ldp	x4, x6, [sp, #16]               ; 16-byte Folded Reload
	mov	x5, x28
	bl	_TriggerEnabled
	cbz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x23, x19
	mov	x19, x21
	cbnz	x26, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	x2, x29, #88
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	w1, #1
	bl	_ExecFetchSlotHeapTuple
	mov	x26, x0
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x21, x28
	stp	x22, x28, [sp, #64]
	mov	x28, x22
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x26, [sp, #48]
	str	x27, [sp, #40]
	ldp	w22, w27, [x23]
	mov	x0, x19
	bl	_GetPerTupleMemoryContext
	mov	x4, x0
	add	x0, sp, #32
	mov	x1, x25
	mov	x2, x27
	mov	x3, x22
	bl	_ExecCallTriggerFunc
	cbz	x0, LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x27, x0
	cmp	x0, x26
	b.eq	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x27
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
	ldur	w8, [x29, #-84]
	mov	x22, x28
	cbz	w8, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x27, x22
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_ExecMaterializeSlot
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	ldur	w8, [x29, #-88]
	mov	x28, x21
	cbz	w8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x26
	bl	_heap_freetuple
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, #0
	b	LBB0_10
LBB0_24:
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_26
; %bb.25:
	mov	x0, x22
	bl	_heap_freetuple
LBB0_26:
	mov	w0, #1
LBB0_27:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_28:
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_30
; %bb.29:
	mov	x0, x28
	bl	_heap_freetuple
LBB0_30:
	ldur	w8, [x29, #-88]
	cbz	w8, LBB0_32
; %bb.31:
	mov	x0, x26
	bl	_heap_freetuple
LBB0_32:
	mov	w0, #0
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_T_TriggerData,4,2              ; @T_TriggerData
	.comm	_TRIGGER_EVENT_UPDATE,4,2       ; @TRIGGER_EVENT_UPDATE
	.comm	_TRIGGER_EVENT_ROW,4,2          ; @TRIGGER_EVENT_ROW
	.comm	_TRIGGER_EVENT_BEFORE,4,2       ; @TRIGGER_EVENT_BEFORE
	.comm	_TRIGGER_TYPE_ROW,4,2           ; @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_BEFORE,4,2        ; @TRIGGER_TYPE_BEFORE
	.comm	_TRIGGER_TYPE_UPDATE,4,2        ; @TRIGGER_TYPE_UPDATE
.subsections_via_symbols
