	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecARDeleteTriggers           ## -- Begin function ExecARDeleteTriggers
	.p2align	4, 0x90
_ExecARDeleteTriggers:                  ## @ExecARDeleteTriggers
	.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	%r8, %r13
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rsi), %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_ExecGetTriggerOldSlot
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	jne	LBB0_4
LBB0_2:
	testq	%r13, %r13
	je	LBB0_8
## %bb.3:
	cmpq	$0, (%r13)
	je	LBB0_8
LBB0_4:
	movq	%r13, %rbx
	movq	%r12, %rdi
	callq	_HeapTupleIsValid
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_ItemPointerIsValid
	xorl	%eax, %r13d
	movl	%r13d, %edi
	callq	_Assert
	testq	%r12, %r12
	je	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ExecForceStoreHeapTuple
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	jmp	LBB0_9
LBB0_5:
	movq	_LockTupleExclusive@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r9
	pushq	$0
	callq	_GetTupleForTrigger
	addq	$16, %rsp
LBB0_7:
	movq	_TRIGGER_EVENT_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	$0
	pushq	%rax
	callq	_AfterTriggerSaveEvent
	addq	$56, %rsp
LBB0_9:
	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_DELETE,4,2       ## @TRIGGER_EVENT_DELETE
	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecARDeleteTriggers           ; -- Begin function ExecARDeleteTriggers
	.p2align	2
_ExecARDeleteTriggers:                  ; @ExecARDeleteTriggers
	.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	x20, x4
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x25, [x1]
	bl	_ExecGetTriggerOldSlot
	mov	x22, x0
	cbz	x25, LBB0_2
; %bb.1:
	ldr	x8, [x25]
	cbnz	x8, LBB0_4
LBB0_2:
	cbz	x20, LBB0_8
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
LBB0_4:
	mov	x0, x24
	bl	_HeapTupleIsValid
	mov	x25, x0
	mov	x0, x23
	bl	_ItemPointerIsValid
	eor	w0, w0, w25
	bl	_Assert
	cbz	x24, LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x22
	mov	w2, #0
	bl	_ExecForceStoreHeapTuple
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _LockTupleExclusive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LockTupleExclusive@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, #0
	mov	x2, x19
	mov	x3, x23
	mov	x5, x22
	mov	x6, #0
	bl	_GetTupleForTrigger
LBB0_7:
Lloh3:
	adrp	x8, _TRIGGER_EVENT_DELETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRIGGER_EVENT_DELETE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _NIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	str	x20, [sp]
	mov	x0, x21
	mov	x1, x19
	mov	w3, #1
	mov	x4, x22
	mov	x5, #0
	mov	x7, #0
	bl	_AfterTriggerSaveEvent
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LockTupleExclusive,4,2         ; @LockTupleExclusive
	.comm	_TRIGGER_EVENT_DELETE,4,2       ; @TRIGGER_EVENT_DELETE
	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
