	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_schema_post_create     ## -- Begin function sepgsql_schema_post_create
	.p2align	4, 0x90
_sepgsql_schema_post_create:            ## @sepgsql_schema_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	$40, %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	_NamespaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_Anum_pg_namespace_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	leaq	-76(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_NamespaceOidIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SnapshotSelf@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	$1, %edx
	movl	$1, %r8d
	movq	%rbx, %r9
	callq	_systable_beginscan
	movl	%eax, -52(%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	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_elog
LBB0_2:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movl	(%rax), %edi
	callq	_NameStr
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$14, %edx
	callq	_strncmp
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %r14
	cmovneq	%rbx, %r14
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %r14
LBB0_5:
	movq	_DatabaseRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_sepgsql_get_label
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_sepgsql_get_client_label
	movq	_SEPG_CLASS_DB_SCHEMA@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%eax, %edi
	movq	%r13, %rsi
	movq	%r14, %rcx
	callq	_sepgsql_compute_create
	movq	%rax, %rbx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_initStringInfo
	movq	%r14, %rdi
	callq	_quote_identifier
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_appendStringInfo
	movl	(%r12), %esi
	movq	_SEPG_DB_SCHEMA__CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_sepgsql_avc_check_perms_label
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	_NamespaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	_SEPGSQL_LABEL_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_SetSecurityLabel
	movq	%rbx, %rdi
	callq	_pfree
	movq	%r13, %rdi
	callq	_pfree
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NamespaceRelationId,4,2        ## @NamespaceRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_namespace_oid,4,2      ## @Anum_pg_namespace_oid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_NamespaceOidIndexId,4,2        ## @NamespaceOidIndexId
	.comm	_SnapshotSelf,4,2               ## @SnapshotSelf
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find tuple for namespace %u"

L_.str.1:                               ## @.str.1
	.asciz	"pg_temp_"

L_.str.2:                               ## @.str.2
	.asciz	"pg_temp"

L_.str.3:                               ## @.str.3
	.asciz	"pg_toast_temp_"

L_.str.4:                               ## @.str.4
	.asciz	"pg_toast_temp"

	.comm	_DatabaseRelationId,4,2         ## @DatabaseRelationId
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
	.comm	_SEPG_CLASS_DB_SCHEMA,4,2       ## @SEPG_CLASS_DB_SCHEMA
L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_SEPG_DB_SCHEMA__CREATE,4,2     ## @SEPG_DB_SCHEMA__CREATE
	.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_schema_post_create     ; -- Begin function sepgsql_schema_post_create
	.p2align	2
_sepgsql_schema_post_create:            ; @sepgsql_schema_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	x19, x0
Lloh0:
	adrp	x25, _NamespaceRelationId@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NamespaceRelationId@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x26, _AccessShareLock@GOTPAGE
Lloh3:
	ldr	x26, [x26, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_table_open
	mov	x20, x0
Lloh4:
	adrp	x8, _Anum_pg_namespace_oid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Anum_pg_namespace_oid@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
Lloh7:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
Lloh10:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #28
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_ScanKeyInit
Lloh13:
	adrp	x8, _NamespaceOidIndexId@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NamespaceOidIndexId@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _SnapshotSelf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SnapshotSelf@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x5, sp, #28
	mov	x0, x20
	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:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_2:
	mov	x0, x22
	bl	_GETSTRUCT
	ldr	w0, [x0]
	bl	_NameStr
	mov	x22, x0
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.3:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	w2, #14
	bl	_strncmp
Lloh28:
	adrp	x8, l_.str.4@PAGE
Lloh29:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x23, x8, x22, eq
	b	LBB0_5
LBB0_4:
Lloh30:
	adrp	x23, l_.str.2@PAGE
Lloh31:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_5:
Lloh32:
	adrp	x8, _DatabaseRelationId@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DatabaseRelationId@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_sepgsql_get_label
	mov	x22, x0
	bl	_sepgsql_get_client_label
Lloh38:
	adrp	x27, _SEPG_CLASS_DB_SCHEMA@GOTPAGE
Lloh39:
	ldr	x27, [x27, _SEPG_CLASS_DB_SCHEMA@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x1, x22
	mov	x3, x23
	bl	_sepgsql_compute_create
	mov	x24, x0
	mov	x0, sp
	bl	_initStringInfo
	mov	x0, x23
	bl	_quote_identifier
	mov	x2, x0
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, sp
	bl	_appendStringInfo
	ldr	w1, [x27]
Lloh42:
	adrp	x8, _SEPG_DB_SCHEMA__CREATE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SEPG_DB_SCHEMA__CREATE@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	ldr	w3, [sp]
	mov	x0, x24
	mov	w4, #1
	bl	_sepgsql_avc_check_perms_label
	mov	x0, x21
	bl	_systable_endscan
	ldr	w1, [x26]
	mov	x0, x20
	bl	_table_close
	ldr	w8, [x25]
	stp	w19, w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh45:
	adrp	x8, _SEPGSQL_LABEL_TAG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SEPGSQL_LABEL_TAG@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x24
	bl	_SetSecurityLabel
	mov	x0, x24
	bl	_pfree
	mov	x0, x22
	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	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_NamespaceRelationId,4,2        ; @NamespaceRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_namespace_oid,4,2      ; @Anum_pg_namespace_oid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_NamespaceOidIndexId,4,2        ; @NamespaceOidIndexId
	.comm	_SnapshotSelf,4,2               ; @SnapshotSelf
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find tuple for namespace %u"

l_.str.1:                               ; @.str.1
	.asciz	"pg_temp_"

l_.str.2:                               ; @.str.2
	.asciz	"pg_temp"

l_.str.3:                               ; @.str.3
	.asciz	"pg_toast_temp_"

l_.str.4:                               ; @.str.4
	.asciz	"pg_toast_temp"

	.comm	_DatabaseRelationId,4,2         ; @DatabaseRelationId
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.comm	_SEPG_CLASS_DB_SCHEMA,4,2       ; @SEPG_CLASS_DB_SCHEMA
l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_SEPG_DB_SCHEMA__CREATE,4,2     ; @SEPG_DB_SCHEMA__CREATE
	.comm	_SEPGSQL_LABEL_TAG,4,2          ; @SEPGSQL_LABEL_TAG
.subsections_via_symbols
