	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_database_drop          ## -- Begin function sepgsql_database_drop
	.p2align	4, 0x90
_sepgsql_database_drop:                 ## @sepgsql_database_drop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DatabaseRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	%edi, -24(%rbp)
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_getObjectIdentity
	movq	%rax, %rbx
	movq	_SEPG_CLASS_DB_DATABASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SEPG_DB_DATABASE__DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	movl	$1, %r8d
	callq	_sepgsql_avc_check_perms
	movq	%rbx, %rdi
	callq	_pfree
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DatabaseRelationId,4,2         ## @DatabaseRelationId
	.comm	_SEPG_CLASS_DB_DATABASE,4,2     ## @SEPG_CLASS_DB_DATABASE
	.comm	_SEPG_DB_DATABASE__DROP,4,2     ## @SEPG_DB_DATABASE__DROP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_database_drop          ; -- Begin function sepgsql_database_drop
	.p2align	2
_sepgsql_database_drop:                 ; @sepgsql_database_drop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DatabaseRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DatabaseRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, sp
	bl	_getObjectIdentity
	mov	x19, x0
Lloh3:
	adrp	x8, _SEPG_CLASS_DB_DATABASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEPG_CLASS_DB_DATABASE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SEPG_DB_DATABASE__DROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEPG_DB_DATABASE__DROP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, sp
	mov	x3, x19
	mov	w4, #1
	bl	_sepgsql_avc_check_perms
	mov	x0, x19
	bl	_pfree
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DatabaseRelationId,4,2         ; @DatabaseRelationId
	.comm	_SEPG_CLASS_DB_DATABASE,4,2     ; @SEPG_CLASS_DB_DATABASE
	.comm	_SEPG_DB_DATABASE__DROP,4,2     ; @SEPG_DB_DATABASE__DROP
.subsections_via_symbols
