	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecIRDeleteTriggers           ## -- Begin function ExecIRDeleteTriggers
	.p2align	4, 0x90
_ExecIRDeleteTriggers:                  ## @ExecIRDeleteTriggers
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	16(%rsi), %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ExecGetTriggerOldSlot
	movq	%rax, %rsi
	movq	_TRIGGER_EVENT_DELETE@GOTPCREL(%rip), %rax
	movq	_TRIGGER_EVENT_ROW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TRIGGER_EVENT_INSTEAD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_T_TriggerData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	%ecx, -144(%rbp)
	movq	%r14, %r12
	movl	8(%r14), %eax
	movl	%eax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -128(%rbp)
	movups	%xmm0, -112(%rbp)
	movups	%xmm0, -96(%rbp)
	movq	%rbx, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
	movl	$1, %eax
	cmpl	$0, (%r15)
	jle	LBB0_10
## %bb.1:
	movq	%r15, %rcx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	addq	$4, %r15
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %r14
	movl	(%r14,%r13,4), %edi
	movq	_TRIGGER_TYPE_ROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRIGGER_TYPE_INSTEAD@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_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %r14
	movl	-144(%rbp), %ecx
	movq	$0, (%rsp)
	movq	-64(%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_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	%rbx, -128(%rbp)
	movq	%r14, -136(%rbp)
	movl	(%r12), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_GetPerTupleMemoryContext
	leaq	-144(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_ExecCallTriggerFunc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_heap_freetuple
	jmp	LBB0_8
LBB0_9:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
LBB0_10:
	addq	$120, %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_DELETE,4,2       ## @TRIGGER_EVENT_DELETE
	.comm	_TRIGGER_EVENT_ROW,4,2          ## @TRIGGER_EVENT_ROW
	.comm	_TRIGGER_EVENT_INSTEAD,4,2      ## @TRIGGER_EVENT_INSTEAD
	.comm	_TRIGGER_TYPE_ROW,4,2           ## @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_INSTEAD,4,2       ## @TRIGGER_TYPE_INSTEAD
	.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	_ExecIRDeleteTriggers           ; -- Begin function ExecIRDeleteTriggers
	.p2align	2
_ExecIRDeleteTriggers:                  ; @ExecIRDeleteTriggers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x2
	mov	x20, x1
	ldr	x26, [x1, #16]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_ExecGetTriggerOldSlot
	mov	x19, x0
Lloh0:
	adrp	x8, _TRIGGER_EVENT_DELETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRIGGER_EVENT_DELETE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TRIGGER_EVENT_ROW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRIGGER_EVENT_ROW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TRIGGER_EVENT_INSTEAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TRIGGER_EVENT_INSTEAD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _T_TriggerData@GOTPAGE
Lloh10:
	ldr	x9, [x9, _T_TriggerData@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w8, [sp, #24]
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x20, #8]
	stp	w8, w9, [sp, #88]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #40]
	stur	q0, [sp, #56]
	stur	q0, [sp, #72]
	mov	x20, x21
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x27, #0
	mov	x23, #0
Lloh12:
	adrp	x25, _TRIGGER_TYPE_ROW@GOTPAGE
Lloh13:
	ldr	x25, [x25, _TRIGGER_TYPE_ROW@GOTPAGEOFF]
Lloh14:
	adrp	x28, _TRIGGER_TYPE_INSTEAD@GOTPAGE
Lloh15:
	ldr	x28, [x28, _TRIGGER_TYPE_INSTEAD@GOTPAGEOFF]
Lloh16:
	adrp	x21, _TRIGGER_TYPE_DELETE@GOTPAGE
Lloh17:
	ldr	x21, [x21, _TRIGGER_TYPE_DELETE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x26]
	add	x27, x27, #4
	cmp	x23, x8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x26, #8]
	ldr	w0, [x24, x23, lsl #2]
	ldr	w1, [x25]
	ldr	w2, [x28]
	ldr	w3, [x21]
	bl	_TRIGGER_TYPE_MATCHES
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, x27
	ldr	w3, [sp, #24]
	ldp	x1, x0, [sp, #8]                ; 16-byte Folded Reload
	mov	x2, x24
	mov	x4, #0
	mov	x5, x19
	mov	x6, #0
	bl	_TriggerEnabled
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x19
	stp	x20, x19, [sp, #40]
	mov	x19, x20
	str	x24, [sp, #32]
	ldp	x8, x0, [sp, #8]                ; 16-byte Folded Reload
	ldp	w20, w24, [x8]
	bl	_GetPerTupleMemoryContext
	mov	x4, x0
	add	x0, sp, #24
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_ExecCallTriggerFunc
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, x19
	mov	x20, x19
	mov	x19, x22
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_heap_freetuple
	b	LBB0_2
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.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_INSTEAD,4,2      ; @TRIGGER_EVENT_INSTEAD
	.comm	_TRIGGER_TYPE_ROW,4,2           ; @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_INSTEAD,4,2       ; @TRIGGER_TYPE_INSTEAD
	.comm	_TRIGGER_TYPE_DELETE,4,2        ; @TRIGGER_TYPE_DELETE
.subsections_via_symbols
