	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationBuildTriggers          ## -- Begin function RelationBuildTriggers
	.p2align	4, 0x90
_RelationBuildTriggers:                 ## @RelationBuildTriggers
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1664, %edi                     ## imm = 0x680
	callq	_palloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_Anum_pg_trigger_tgrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	leaq	-100(%rbp), %r14
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_TriggerRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %rdi
	movq	_TriggerRelidNameIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movq	%r14, %r9
	callq	_systable_beginscan
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$16, %r12d
	xorl	%r15d, %r15d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_TextDatumGetCString
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 16(%r13,%r15)
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_getnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_26
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movl	%eax, %r14d
	movslq	%r12d, %rax
	cmpq	%rax, %r15
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	imull	$208, %r12d, %esi
	addl	%r12d, %r12d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_repalloc
	movq	%rax, %r13
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r14d, %r12
	movl	52(%r12), %eax
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	imulq	$104, %r15, %r15
	leaq	(%r15,%r13), %r14
	movl	%eax, 96(%r13,%r15)
	movq	_nameout@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	48(%r12), %rdi
	callq	_NameGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	%rax, 88(%r13,%r15)
	movl	44(%r12), %eax
	movl	%eax, 80(%r13,%r15)
	movups	28(%r12), %xmm0
	movups	%xmm0, 64(%r13,%r15)
	movups	12(%r12), %xmm0
	movups	%xmm0, 48(%r13,%r15)
	movl	(%r12), %eax
	movl	%eax, (%r13,%r15)
	movl	4(%r12), %edi
	movl	%edi, 4(%r13,%r15)
	testl	%edi, %edi
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rbx
	addq	$4, %rbx
	shll	$2, %edi
	callq	_palloc
	movq	%rax, 40(%r13,%r15)
	addq	$8, %r12
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_memcpy
	movl	(%r14), %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 40(%r13,%r15)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%eax, %eax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_Anum_pg_trigger_tgargs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	leaq	-44(%rbp), %rcx
	callq	_fastgetattr
	movl	%eax, %edi
	callq	_DatumGetByteaPP
	movq	%rax, %rbx
	cmpl	$0, -44(%rbp)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetRelationName
	movl	%r12d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_VARDATA_ANY
	movq	%rax, %rbx
	movl	(%r14), %edi
	shll	$3, %edi
	callq	_palloc
	movq	%rax, 8(%r13,%r15)
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r12
	addq	$8, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_pstrdup
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rax, %rbx
	incq	%rbx
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jl	LBB0_14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 8(%r13,%r15)
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_Anum_pg_trigger_tgoldtable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	leaq	-44(%rbp), %rcx
	callq	_fastgetattr
	cmpl	$0, -44(%rbp)
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	$0, 32(%r13,%r15)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_nameout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 32(%r13,%r15)
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	_Anum_pg_trigger_tgnewtable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movl	%ebx, %edi
	leaq	-44(%rbp), %rcx
	callq	_fastgetattr
	cmpl	$0, -44(%rbp)
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 24(%r13,%r15)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_nameout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	%rax, 24(%r13,%r15)
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_Anum_pg_trigger_tgqual@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movl	%ebx, %edi
	leaq	-44(%rbp), %rcx
	callq	_fastgetattr
	cmpl	$0, -44(%rbp)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_1:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_26:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_table_close
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.28:
	movl	$16, %edi
	callq	_palloc0
	movq	%r15, %rbx
	movq	%rax, %r15
	movq	%r13, 8(%rax)
	movl	%ebx, (%rax)
	movl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_SetTriggerFlags
	addq	$104, %r13
	decq	%rbx
	jne	LBB0_29
## %bb.30:
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_CopyTriggerDesc
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movq	%r15, %rdi
	callq	_FreeTriggerDesc
	jmp	LBB0_31
LBB0_27:
	movq	%r13, %rdi
	callq	_pfree
LBB0_31:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Anum_pg_trigger_tgrelid,4,2    ## @Anum_pg_trigger_tgrelid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_TriggerRelationId,4,2          ## @TriggerRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_TriggerRelidNameIndexId,4,2    ## @TriggerRelidNameIndexId
	.comm	_nameout,4,2                    ## @nameout
	.comm	_Anum_pg_trigger_tgargs,4,2     ## @Anum_pg_trigger_tgargs
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tgargs is null in trigger for relation \"%s\""

	.comm	_Anum_pg_trigger_tgoldtable,4,2 ## @Anum_pg_trigger_tgoldtable
	.comm	_Anum_pg_trigger_tgnewtable,4,2 ## @Anum_pg_trigger_tgnewtable
	.comm	_Anum_pg_trigger_tgqual,4,2     ## @Anum_pg_trigger_tgqual
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationBuildTriggers          ; -- Begin function RelationBuildTriggers
	.p2align	2
_RelationBuildTriggers:                 ; @RelationBuildTriggers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	mov	w0, #1664
	bl	_palloc
	mov	x20, x0
Lloh0:
	adrp	x8, _Anum_pg_trigger_tgrelid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Anum_pg_trigger_tgrelid@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_RelationGetRelid
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #28
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_ScanKeyInit
Lloh9:
	adrp	x8, _TriggerRelationId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TriggerRelationId@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh13:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_table_open
	mov	x21, x0
Lloh14:
	adrp	x8, _TriggerRelidNameIndexId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TriggerRelidNameIndexId@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x5, sp, #28
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	bl	_systable_getnext
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_24
; %bb.1:
	mov	x28, #0
	mov	w23, #16
	mov	w19, #104
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_TextDatumGetCString
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x28, x19, x20
	str	x0, [x8, #16]
	add	x28, x28, #1
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_systable_getnext
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x24
	bl	_GETSTRUCT
	mov	x25, x0
	cmp	x28, w23, sxtw
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w22, w23, #1
	mov	w8, #208
	mul	w1, w23, w8
	mov	x0, x20
	bl	_repalloc
	mov	x20, x0
	mov	x23, x22
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x26, w25
	ldr	w8, [x26, #52]
	madd	x27, x28, x19, x20
	str	w8, [x27, #96]
Lloh17:
	adrp	x8, _nameout@GOTPAGE
Lloh18:
	ldr	x8, [x8, _nameout@GOTPAGEOFF]
Lloh19:
	ldr	w25, [x8]
	add	x0, x26, #48
	bl	_NameGetDatum
	mov	x1, x0
	mov	x0, x25
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	str	x0, [x27, #88]
	ldr	w8, [x26, #44]
	str	w8, [x27, #80]
	ldur	q0, [x26, #28]
	str	q0, [x27, #64]
	ldur	q0, [x26, #12]
	str	q0, [x27, #48]
	ldp	w8, w9, [x26]
	str	w8, [x27]
	mov	x22, x27
	str	w9, [x22, #4]!
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w0, w9, #2
	bl	_palloc
	madd	x8, x28, x19, x20
	str	x0, [x8, #40]
	add	x1, x26, #8
	ldr	w8, [x22]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x8, _Anum_pg_trigger_tgargs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Anum_pg_trigger_tgargs@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	add	x3, sp, #24
	mov	x0, x24
	bl	_fastgetattr
	bl	_DatumGetByteaPP
	mov	x25, x0
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh23:
	adrp	x8, _ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w26, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_RelationGetRelationName
	mov	x2, x0
	mov	x0, x26
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_VARDATA_ANY
	mov	x25, x0
	ldr	w8, [x27]
	lsl	w0, w8, #3
	bl	_palloc
	madd	x26, x28, x19, x20
	str	x0, [x26, #8]!
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	bl	_pstrdup
	ldr	x8, [x26]
	str	x0, [x8, x22, lsl #3]
	mov	x0, x25
	bl	_strlen
	add	x8, x0, x25
	add	x25, x8, #1
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.lt	LBB0_12
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x9, x28, x19, x20
	str	xzr, [x9, #40]
	cmp	w8, #1
	b.ge	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x28, x19, x20
	str	xzr, [x8, #8]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh28:
	adrp	x8, _Anum_pg_trigger_tgoldtable@GOTPAGE
Lloh29:
	ldr	x8, [x8, _Anum_pg_trigger_tgoldtable@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	add	x3, sp, #24
	mov	x0, x24
	bl	_fastgetattr
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x28, x19, x20
	str	xzr, [x8, #32]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
Lloh31:
	adrp	x8, _nameout@GOTPAGE
Lloh32:
	ldr	x8, [x8, _nameout@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	madd	x8, x28, x19, x20
	str	x0, [x8, #32]
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh34:
	adrp	x8, _Anum_pg_trigger_tgnewtable@GOTPAGE
Lloh35:
	ldr	x8, [x8, _Anum_pg_trigger_tgnewtable@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	add	x3, sp, #24
	mov	x0, x24
	bl	_fastgetattr
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x28, x19, x20
	str	xzr, [x8, #24]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
Lloh37:
	adrp	x8, _nameout@GOTPAGE
Lloh38:
	ldr	x8, [x8, _nameout@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	madd	x8, x28, x19, x20
	str	x0, [x8, #24]
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh40:
	adrp	x8, _Anum_pg_trigger_tgqual@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Anum_pg_trigger_tgqual@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	add	x3, sp, #24
	mov	x0, x24
	bl	_fastgetattr
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	b	LBB0_3
LBB0_23:
Lloh43:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh44:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
	mov	w28, #0
LBB0_25:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_systable_endscan
	ldr	w1, [x19]
	mov	x0, x21
	bl	_table_close
	cbz	w28, LBB0_29
; %bb.26:
	mov	w0, #16
	bl	_palloc0
	mov	x21, x0
	str	x20, [x0, #8]
	str	w28, [x0]
	mov	w19, w28
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_SetTriggerFlags
	add	x20, x20, #104
	subs	x19, x19, #1
	b.ne	LBB0_27
; %bb.28:
Lloh45:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	x0, x21
	bl	_CopyTriggerDesc
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w0, [x8]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	mov	x0, x21
	bl	_FreeTriggerDesc
	b	LBB0_30
LBB0_29:
	mov	x0, x20
	bl	_pfree
LBB0_30:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_Anum_pg_trigger_tgrelid,4,2    ; @Anum_pg_trigger_tgrelid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_TriggerRelationId,4,2          ; @TriggerRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_TriggerRelidNameIndexId,4,2    ; @TriggerRelidNameIndexId
	.comm	_nameout,4,2                    ; @nameout
	.comm	_Anum_pg_trigger_tgargs,4,2     ; @Anum_pg_trigger_tgargs
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tgargs is null in trigger for relation \"%s\""

	.comm	_Anum_pg_trigger_tgoldtable,4,2 ; @Anum_pg_trigger_tgoldtable
	.comm	_Anum_pg_trigger_tgnewtable,4,2 ; @Anum_pg_trigger_tgnewtable
	.comm	_Anum_pg_trigger_tgqual,4,2     ; @Anum_pg_trigger_tgqual
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
.subsections_via_symbols
