	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_proc_post_create       ## -- Begin function sepgsql_proc_post_create
	.p2align	4, 0x90
_sepgsql_proc_post_create:              ## @sepgsql_proc_post_create
	.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
	movl	%edi, %ebx
	movq	_ProcedureRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r12d
	movq	_Anum_pg_proc_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	leaq	-100(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_ProcedureOidIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SnapshotSelf@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	$1, %edx
	movl	$1, %r8d
	movq	%rbx, %r9
	callq	_systable_beginscan
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_elog
LBB0_2:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	%rax, %rbx
	movq	_NamespaceRelationId@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_SEPG_CLASS_DB_SCHEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SEPG_DB_SCHEMA__ADD_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_getObjectIdentity
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_sepgsql_avc_check_perms
	xorl	%eax, %eax
	callq	_sepgsql_get_client_label
	movq	%rax, %r14
	movl	(%r13), %edi
	movl	28(%rbx), %esi
	xorl	%edx, %edx
	callq	_sepgsql_get_label
	movq	%rax, %r15
	movq	_SEPG_CLASS_DB_PROCEDURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	24(%rbx), %edi
	callq	_NameStr
	movq	%r14, %rdi
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_sepgsql_compute_create
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_initStringInfo
	movl	28(%rbx), %edi
	callq	_get_namespace_name
	movq	%rax, %r13
	movl	24(%rbx), %edi
	callq	_NameStr
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_quote_qualified_identifier
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_appendStringInfo
	cmpl	$0, (%rbx)
	jle	LBB0_6
## %bb.3:
	movq	_TypeRelationId@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, -44(%rbp)
	movl	(%rcx), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_getObjectIdentity
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_appendStringInfoString
	cmpl	$2, (%rbx)
	jl	LBB0_6
## %bb.4:
	movl	$1, %r15d
	leaq	-64(%rbp), %r12
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$44, %esi
	callq	_appendStringInfoChar
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)
	movq	16(%rbx), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	%r13, %rdi
	callq	_getObjectIdentity
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_appendStringInfoString
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jl	LBB0_5
LBB0_6:
	leaq	-64(%rbp), %rdi
	movl	$41, %esi
	callq	_appendStringInfoChar
	movq	_SEPG_DB_PROCEDURE__CREATE@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rbx)
	movl	$0, %edx
	je	LBB0_8
## %bb.7:
	movq	_SEPG_DB_PROCEDURE__INSTALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_8:
	orl	(%rax), %edx
	movq	_SEPG_CLASS_DB_PROCEDURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_sepgsql_avc_check_perms_label
	movq	_ProcedureRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_SEPGSQL_LABEL_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_SetSecurityLabel
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	-64(%rbp), %rdi
	callq	_pfree
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_pfree
	movq	%rbx, %rdi
	callq	_pfree
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcedureRelationId,4,2        ## @ProcedureRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_proc_oid,4,2           ## @Anum_pg_proc_oid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_ProcedureOidIndexId,4,2        ## @ProcedureOidIndexId
	.comm	_SnapshotSelf,4,2               ## @SnapshotSelf
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find tuple for function %u"

	.comm	_NamespaceRelationId,4,2        ## @NamespaceRelationId
	.comm	_SEPG_CLASS_DB_SCHEMA,4,2       ## @SEPG_CLASS_DB_SCHEMA
	.comm	_SEPG_DB_SCHEMA__ADD_NAME,4,2   ## @SEPG_DB_SCHEMA__ADD_NAME
	.comm	_SEPG_CLASS_DB_PROCEDURE,4,2    ## @SEPG_CLASS_DB_PROCEDURE
L_.str.1:                               ## @.str.1
	.asciz	"%s("

	.comm	_TypeRelationId,4,2             ## @TypeRelationId
	.comm	_SEPG_DB_PROCEDURE__CREATE,4,2  ## @SEPG_DB_PROCEDURE__CREATE
	.comm	_SEPG_DB_PROCEDURE__INSTALL,4,2 ## @SEPG_DB_PROCEDURE__INSTALL
	.comm	_SEPGSQL_LABEL_TAG,4,2          ## @SEPGSQL_LABEL_TAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_proc_post_create       ; -- Begin function sepgsql_proc_post_create
	.p2align	2
_sepgsql_proc_post_create:              ; @sepgsql_proc_post_create
	.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	x20, x0
Lloh0:
	adrp	x27, _ProcedureRelationId@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ProcedureRelationId@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_table_open
	mov	x19, x0
Lloh5:
	adrp	x8, _Anum_pg_proc_oid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Anum_pg_proc_oid@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #28
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_ScanKeyInit
Lloh14:
	adrp	x8, _ProcedureOidIndexId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ProcedureOidIndexId@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SnapshotSelf@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SnapshotSelf@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	add	x5, sp, #28
	mov	x0, x19
	mov	w2, #1
	mov	w4, #1
	bl	_systable_beginscan
	mov	x21, x0
	bl	_systable_getnext
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
	mov	x0, x22
	bl	_GETSTRUCT
	mov	x23, x0
Lloh25:
	adrp	x25, _NamespaceRelationId@GOTPAGE
Lloh26:
	ldr	x25, [x25, _NamespaceRelationId@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x0, #28]
	stp	w9, w8, [sp, #8]
	str	xzr, [sp]
Lloh27:
	adrp	x8, _SEPG_CLASS_DB_SCHEMA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SEPG_CLASS_DB_SCHEMA@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
Lloh30:
	adrp	x8, _SEPG_DB_SCHEMA__ADD_NAME@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SEPG_DB_SCHEMA__ADD_NAME@GOTPAGEOFF]
Lloh32:
	ldr	w24, [x8]
	mov	x0, sp
	bl	_getObjectIdentity
	mov	x3, x0
	mov	x0, sp
	mov	x1, x22
	mov	x2, x24
	mov	w4, #1
	bl	_sepgsql_avc_check_perms
	bl	_sepgsql_get_client_label
	mov	x24, x0
	ldr	w0, [x25]
	ldr	w1, [x23, #28]
	mov	w2, #0
	bl	_sepgsql_get_label
	mov	x22, x0
Lloh33:
	adrp	x28, _SEPG_CLASS_DB_PROCEDURE@GOTPAGE
Lloh34:
	ldr	x28, [x28, _SEPG_CLASS_DB_PROCEDURE@GOTPAGEOFF]
	ldr	w25, [x28]
	ldr	w0, [x23, #24]
	bl	_NameStr
	mov	x3, x0
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	bl	_sepgsql_compute_create
	mov	x24, x0
	add	x0, sp, #16
	bl	_initStringInfo
	ldr	w0, [x23, #28]
	bl	_get_namespace_name
	mov	x25, x0
	ldr	w0, [x23, #24]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x25
	bl	_quote_qualified_identifier
	mov	x2, x0
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	bl	_appendStringInfo
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
Lloh37:
	adrp	x25, _TypeRelationId@GOTPAGE
Lloh38:
	ldr	x25, [x25, _TypeRelationId@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	x9, [x23, #16]
	str	w8, [sp, #12]
	ldr	w8, [x9]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, sp
	bl	_getObjectIdentity
	mov	x1, x0
	add	x0, sp, #16
	bl	_appendStringInfoString
	ldr	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	mov	w26, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	w1, #44
	bl	_appendStringInfoChar
	ldr	w8, [x25]
	str	w8, [sp, #12]
	ldr	x8, [x23, #16]
	ldr	w8, [x8, x26, lsl #2]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, sp
	bl	_getObjectIdentity
	mov	x1, x0
	add	x0, sp, #16
	bl	_appendStringInfoString
	add	x26, x26, #1
	ldrsw	x8, [x23]
	cmp	x26, x8
	b.lt	LBB0_5
LBB0_6:
	add	x0, sp, #16
	mov	w1, #41
	bl	_appendStringInfoChar
Lloh39:
	adrp	x8, _SEPG_DB_PROCEDURE__CREATE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SEPG_DB_PROCEDURE__CREATE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	x9, [x23, #8]
Lloh42:
	adrp	x10, _SEPG_DB_PROCEDURE__INSTALL@GOTPAGE
Lloh43:
	ldr	x10, [x10, _SEPG_DB_PROCEDURE__INSTALL@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
	ldr	w1, [x28]
	ldr	x3, [sp, #16]
	mov	x0, x24
	mov	w4, #1
	bl	_sepgsql_avc_check_perms_label
	ldr	w8, [x27]
	stp	w20, w8, [sp, #8]
	str	xzr, [sp]
Lloh45:
	adrp	x8, _SEPGSQL_LABEL_TAG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SEPGSQL_LABEL_TAG@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, sp
	mov	x2, x24
	bl	_SetSecurityLabel
	mov	x0, x21
	bl	_systable_endscan
Lloh48:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_table_close
	ldr	x0, [sp, #16]
	bl	_pfree
	mov	x0, x22
	bl	_pfree
	mov	x0, x24
	bl	_pfree
	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	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcedureRelationId,4,2        ; @ProcedureRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_proc_oid,4,2           ; @Anum_pg_proc_oid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_ProcedureOidIndexId,4,2        ; @ProcedureOidIndexId
	.comm	_SnapshotSelf,4,2               ; @SnapshotSelf
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find tuple for function %u"

	.comm	_NamespaceRelationId,4,2        ; @NamespaceRelationId
	.comm	_SEPG_CLASS_DB_SCHEMA,4,2       ; @SEPG_CLASS_DB_SCHEMA
	.comm	_SEPG_DB_SCHEMA__ADD_NAME,4,2   ; @SEPG_DB_SCHEMA__ADD_NAME
	.comm	_SEPG_CLASS_DB_PROCEDURE,4,2    ; @SEPG_CLASS_DB_PROCEDURE
l_.str.1:                               ; @.str.1
	.asciz	"%s("

	.comm	_TypeRelationId,4,2             ; @TypeRelationId
	.comm	_SEPG_DB_PROCEDURE__CREATE,4,2  ; @SEPG_DB_PROCEDURE__CREATE
	.comm	_SEPG_DB_PROCEDURE__INSTALL,4,2 ; @SEPG_DB_PROCEDURE__INSTALL
	.comm	_SEPGSQL_LABEL_TAG,4,2          ; @SEPGSQL_LABEL_TAG
.subsections_via_symbols
