	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_avc_trusted_proc       ## -- Begin function sepgsql_avc_trusted_proc
	.p2align	4, 0x90
_sepgsql_avc_trusted_proc:              ## @sepgsql_avc_trusted_proc
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_sepgsql_get_client_label
	movq	%rax, %r14
	movq	_ProcedureRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	%ebx, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_SEPGSQL_LABEL_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_GetSecurityLabel
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_sepgsql_avc_check_valid
	movq	_SEPG_CLASS_DB_PROCEDURE@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_sepgsql_avc_unlabeled
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_sepgsql_avc_lookup
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_sepgsql_avc_check_valid
	testl	%eax, %eax
	jne	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_4
LBB0_5:
	movq	(%rbx), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcedureRelationId,4,2        ## @ProcedureRelationId
	.comm	_SEPGSQL_LABEL_TAG,4,2          ## @SEPGSQL_LABEL_TAG
	.comm	_SEPG_CLASS_DB_PROCEDURE,4,2    ## @SEPG_CLASS_DB_PROCEDURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sepgsql_avc_trusted_proc       ; -- Begin function sepgsql_avc_trusted_proc
	.p2align	2
_sepgsql_avc_trusted_proc:              ; @sepgsql_avc_trusted_proc
	.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	x20, x0
	bl	_sepgsql_get_client_label
	mov	x19, x0
Lloh0:
	adrp	x8, _ProcedureRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ProcedureRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #8]
	str	xzr, [sp]
Lloh3:
	adrp	x8, _SEPGSQL_LABEL_TAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEPGSQL_LABEL_TAG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_GetSecurityLabel
	mov	x20, x0
	bl	_sepgsql_avc_check_valid
Lloh6:
	adrp	x22, _SEPG_CLASS_DB_PROCEDURE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SEPG_CLASS_DB_PROCEDURE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_sepgsql_avc_unlabeled
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_sepgsql_avc_lookup
	mov	x21, x0
	bl	_sepgsql_avc_check_valid
	cbnz	w0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	b	LBB0_2
LBB0_5:
	ldr	x0, [x21]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcedureRelationId,4,2        ; @ProcedureRelationId
	.comm	_SEPGSQL_LABEL_TAG,4,2          ; @SEPGSQL_LABEL_TAG
	.comm	_SEPG_CLASS_DB_PROCEDURE,4,2    ; @SEPG_CLASS_DB_PROCEDURE
.subsections_via_symbols
