	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_compute_create         ## -- Begin function sepgsql_compute_create
	.p2align	4, 0x90
_sepgsql_compute_create:                ## @sepgsql_compute_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_SEPG_CLASS_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rdx, (%rax)
	seta	%dil
	callq	_Assert
	movq	_selinux_catalog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rbx
	movq	%rbx, %rdi
	callq	_string_to_security_class
	leaq	-36(%rbp), %r8
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_security_compute_create_name_raw
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	xorl	%eax, %eax
	callq	_PG_TRY
	movl	-36(%rbp), %edi
	callq	_pstrdup
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_PG_FINALLY
	movl	-36(%rbp), %edi
	callq	_freecon
	xorl	%eax, %eax
	callq	_PG_END_TRY
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEPG_CLASS_MAX,8,3             ## @SEPG_CLASS_MAX
	.comm	_selinux_catalog,8,3            ## @selinux_catalog
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ## @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELinux could not compute a new context: scontext=%s tcontext=%s tclass=%s: %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_compute_create         ; -- Begin function sepgsql_compute_create
	.p2align	2
_sepgsql_compute_create:                ; @sepgsql_compute_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SEPG_CLASS_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEPG_CLASS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	cset	w0, hi
	bl	_Assert
Lloh3:
	adrp	x8, _selinux_catalog@GOTPAGE
Lloh4:
	ldr	x8, [x8, _selinux_catalog@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x21, [x8, x21, lsl #3]
	mov	x0, x21
	bl	_string_to_security_class
	mov	x2, x0
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_security_compute_create_name_raw
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _ERRCODE_INTERNAL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
	bl	_PG_TRY
	ldr	w0, [sp, #12]
	bl	_pstrdup
	mov	x19, x0
	bl	_PG_FINALLY
	ldr	w0, [sp, #12]
	bl	_freecon
	bl	_PG_END_TRY
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SEPG_CLASS_MAX,8,3             ; @SEPG_CLASS_MAX
	.comm	_selinux_catalog,8,3            ; @selinux_catalog
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INTERNAL_ERROR,4,2     ; @ERRCODE_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELinux could not compute a new context: scontext=%s tcontext=%s tclass=%s: %m"

.subsections_via_symbols
