	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecBRDeleteTriggers           ## -- Begin function ExecBRDeleteTriggers
	.p2align	4, 0x90
_ExecBRDeleteTriggers:                  ## @ExecBRDeleteTriggers
	.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	$136, %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, %r15
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_ExecGetTriggerOldSlot
	movq	%rax, %r13
	movq	16(%r12), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	movq	%r15, %rdi
	callq	_HeapTupleIsValid
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_ItemPointerIsValid
	xorl	%eax, %r14d
	movl	%r14d, %edi
	movq	%r15, %r14
	callq	_Assert
	testq	%r15, %r15
	je	LBB0_1
## %bb.7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
LBB0_8:
	movq	_T_TriggerData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_TRIGGER_EVENT_DELETE@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, -160(%rbp)
	movl	8(%r12), %eax
	movl	%eax, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -112(%rbp)
	movups	%xmm0, -128(%rbp)
	movups	%xmm0, -144(%rbp)
	movl	$1, %r15d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jle	LBB0_18
## %bb.9:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_TRIGGER_TYPE_ROW@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r13
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	addq	$4, %r15
	cmpq	%rax, %r13
	jge	LBB0_17
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %r14
	movl	(%r14,%r13,4), %edi
	movl	(%rbx), %esi
	movq	_TRIGGER_TYPE_BEFORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TRIGGER_TYPE_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_TRIGGER_TYPE_MATCHES
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%r15, %r14
	movl	-160(%rbp), %ecx
	movq	$0, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_TriggerEnabled
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -144(%rbp)
	movq	%r14, -152(%rbp)
	movl	(%r12), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r14
	movl	4(%r12), %r12d
	callq	_GetPerTupleMemoryContext
	leaq	-160(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_ExecCallTriggerFunc
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rbx, %rax
	movq	%r14, %r12
	movq	_TRIGGER_TYPE_ROW@GOTPCREL(%rip), %rbx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rdi
	callq	_heap_freetuple
	jmp	LBB0_16
LBB0_1:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	$0, -160(%rbp)
	movq	_LockTupleExclusive@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-160(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	%r13, %r9
	callq	_GetTupleForTrigger
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	testq	%r14, %r14
	je	LBB0_6
## %bb.3:
	movq	-160(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rbx
	movq	%rax, (%r14)
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_17:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %r15d
LBB0_18:
	cmpl	$0, -44(%rbp)
	je	LBB0_20
LBB0_19:
	movq	%r14, %rdi
	callq	_heap_freetuple
LBB0_20:
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r15d, %r15d
	movq	%rbx, %r14
	cmpl	$0, -44(%rbp)
	jne	LBB0_19
	jmp	LBB0_20
LBB0_6:
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ExecFetchSlotHeapTuple
	movq	%rax, %r14
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_LockTupleExclusive,4,2         ## @LockTupleExclusive
	.comm	_T_TriggerData,4,2              ## @T_TriggerData
	.comm	_TRIGGER_EVENT_DELETE,4,2       ## @TRIGGER_EVENT_DELETE
	.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_DELETE,4,2        ## @TRIGGER_TYPE_DELETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecBRDeleteTriggers           ; -- Begin function ExecBRDeleteTriggers
	.p2align	2
_ExecBRDeleteTriggers:                  ; @ExecBRDeleteTriggers
	.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
	mov	x23, x5
	mov	x19, x4
	mov	x24, x3
	mov	x21, x2
	mov	x25, x1
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x1, x2
	bl	_ExecGetTriggerOldSlot
	mov	x22, x0
	ldr	x20, [x21, #16]
	str	wzr, [sp, #36]
	mov	x0, x19
	bl	_HeapTupleIsValid
	mov	x26, x0
	mov	x0, x24
	bl	_ItemPointerIsValid
	eor	w0, w0, w26
	bl	_Assert
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x19, LBB0_12
; %bb.1:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x22
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
LBB0_2:
Lloh0:
	adrp	x8, _T_TriggerData@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T_TriggerData@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TRIGGER_EVENT_DELETE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRIGGER_EVENT_DELETE@GOTPAGEOFF]
Lloh4:
	adrp	x10, _TRIGGER_EVENT_ROW@GOTPAGE
Lloh5:
	ldr	x10, [x10, _TRIGGER_EVENT_ROW@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _TRIGGER_EVENT_BEFORE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TRIGGER_EVENT_BEFORE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh11:
	ldr	w8, [x8]
	str	w9, [sp, #40]
	ldr	w9, [x21, #8]
	stp	w9, w8, [sp, #104]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #56]
	stur	q0, [sp, #72]
	stur	q0, [sp, #88]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x26, #0
	mov	x23, #0
Lloh12:
	adrp	x25, _TRIGGER_TYPE_ROW@GOTPAGE
Lloh13:
	ldr	x25, [x25, _TRIGGER_TYPE_ROW@GOTPAGEOFF]
Lloh14:
	adrp	x28, _TRIGGER_TYPE_BEFORE@GOTPAGE
Lloh15:
	ldr	x28, [x28, _TRIGGER_TYPE_BEFORE@GOTPAGEOFF]
Lloh16:
	adrp	x19, _TRIGGER_TYPE_DELETE@GOTPAGE
Lloh17:
	ldr	x19, [x19, _TRIGGER_TYPE_DELETE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x26, x26, #4
	cmp	x23, x8
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x20, #8]
	ldr	w0, [x24, x23, lsl #2]
	ldr	w1, [x25]
	ldr	w2, [x28]
	ldr	w3, [x19]
	bl	_TRIGGER_TYPE_MATCHES
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, x26
	ldr	w3, [sp, #40]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x21
	mov	x2, x24
	mov	x4, #0
	mov	x5, x22
	mov	x6, #0
	bl	_TriggerEnabled
	cbz	w0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x19
	mov	x19, x22
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	stp	x9, x22, [sp, #56]
	str	x24, [sp, #48]
	ldp	w22, w10, [x21]
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	mov	x24, x9
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_GetPerTupleMemoryContext
	mov	x4, x0
	add	x0, sp, #40
	mov	x1, x23
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	mov	x3, x22
	bl	_ExecCallTriggerFunc
	cbz	x0, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, x24
	mov	x22, x19
	mov	x19, x27
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_heap_freetuple
	b	LBB0_4
LBB0_10:
	mov	w19, #1
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_17
LBB0_11:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_heap_freetuple
	b	LBB0_17
LBB0_12:
	str	xzr, [sp, #40]
Lloh18:
	adrp	x8, _LockTupleExclusive@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LockTupleExclusive@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	add	x6, sp, #40
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x21
	mov	x3, x24
	mov	x5, x22
	bl	_GetTupleForTrigger
	cbz	w0, LBB0_16
; %bb.13:
	cbz	x23, LBB0_19
; %bb.14:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_19
; %bb.15:
	str	x8, [x23]
LBB0_16:
	mov	w19, #0
LBB0_17:
	mov	x0, x19
	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_18:
	mov	w19, #0
	ldr	w8, [sp, #36]
	cbnz	w8, LBB0_11
	b	LBB0_17
LBB0_19:
	add	x2, sp, #36
	mov	x0, x22
	mov	w1, #1
	bl	_ExecFetchSlotHeapTuple
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LockTupleExclusive,4,2         ; @LockTupleExclusive
	.comm	_T_TriggerData,4,2              ; @T_TriggerData
	.comm	_TRIGGER_EVENT_DELETE,4,2       ; @TRIGGER_EVENT_DELETE
	.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_DELETE,4,2        ; @TRIGGER_TYPE_DELETE
.subsections_via_symbols
