	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enforce_access                 ## -- Begin function enforce_access
	.p2align	4, 0x90
_enforce_access:                        ## @enforce_access
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_TREE_CODE
	movq	_TREE_BINFO@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_gcc_assert
	movl	$1, %r12d
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_accessible_p
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	%r15d, %edi
	callq	_TREE_PRIVATE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	movl	%r15d, %edi
	callq	_TREE_PROTECTED
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
LBB0_4:
	xorl	%r12d, %r12d
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_error
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TREE_BINFO,8,3                 ## @TREE_BINFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%q+#D is private"

L_.str.1:                               ## @.str.1
	.asciz	"%q+#D is protected"

L_.str.2:                               ## @.str.2
	.asciz	"%q+#D is inaccessible"

L_.str.3:                               ## @.str.3
	.asciz	"within this context"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enforce_access                 ; -- Begin function enforce_access
	.p2align	2
_enforce_access:                        ; @enforce_access
	.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	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _TREE_BINFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TREE_BINFO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_gcc_assert
	mov	w21, #1
	mov	x0, x22
	mov	x1, x20
	mov	w2, #1
	bl	_accessible_p
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_TREE_PRIVATE
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_TREE_PROTECTED
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
LBB0_4:
	str	x19, [sp]
	bl	_error
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
	mov	w21, #0
LBB0_5:
	mov	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TREE_BINFO,8,3                 ; @TREE_BINFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%q+#D is private"

l_.str.1:                               ; @.str.1
	.asciz	"%q+#D is protected"

l_.str.2:                               ; @.str.2
	.asciz	"%q+#D is inaccessible"

l_.str.3:                               ; @.str.3
	.asciz	"within this context"

.subsections_via_symbols
