	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function biba_subject_privileged
_biba_subject_privileged:               ## @biba_subject_privileged
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_MAC_BIBA_FLAGS_BOTH@GOTPCREL(%rip), %rcx
	notl	%eax
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_MAC_BIBA_TYPE_EQUAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	cmpq	%rsi, 24(%rbx)
	je	LBB0_5
## %bb.1:
	movq	16(%rbx), %rcx
	cmpq	%rsi, %rcx
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdx
	cmpq	%rsi, %rdx
	je	LBB0_5
## %bb.3:
	movq	_MAC_BIBA_TYPE_LOW@GOTPCREL(%rip), %rax
	xorq	(%rax), %rcx
	movq	_MAC_BIBA_TYPE_HIGH@GOTPCREL(%rip), %rax
	xorq	(%rax), %rdx
	xorl	%eax, %eax
	orq	%rcx, %rdx
	je	LBB0_5
## %bb.4:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_BIBA_FLAGS_BOTH,4,2        ## @MAC_BIBA_FLAGS_BOTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"biba_subject_privileged: subject doesn't have both labels"

	.comm	_MAC_BIBA_TYPE_EQUAL,8,3        ## @MAC_BIBA_TYPE_EQUAL
	.comm	_MAC_BIBA_TYPE_LOW,8,3          ## @MAC_BIBA_TYPE_LOW
	.comm	_MAC_BIBA_TYPE_HIGH,8,3         ## @MAC_BIBA_TYPE_HIGH
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_biba_subject_privileged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function biba_subject_privileged
_biba_subject_privileged:               ; @biba_subject_privileged
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MAC_BIBA_FLAGS_BOTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC_BIBA_FLAGS_BOTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	cset	w0, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	x8, [x19, #24]
Lloh5:
	adrp	x9, _MAC_BIBA_TYPE_EQUAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAC_BIBA_TYPE_EQUAL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x10, [x19, #8]
	cmp	x10, x9
	b.ne	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh8:
	adrp	x9, _MAC_BIBA_TYPE_LOW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAC_BIBA_TYPE_LOW@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x11, _MAC_BIBA_TYPE_HIGH@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MAC_BIBA_TYPE_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x10, x11
	ccmp	x8, x9, #0, eq
Lloh14:
	adrp	x8, _EPERM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	csel	w0, wzr, w8, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_BIBA_FLAGS_BOTH,4,2        ; @MAC_BIBA_FLAGS_BOTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"biba_subject_privileged: subject doesn't have both labels"

	.comm	_MAC_BIBA_TYPE_EQUAL,8,3        ; @MAC_BIBA_TYPE_EQUAL
	.comm	_MAC_BIBA_TYPE_LOW,8,3          ; @MAC_BIBA_TYPE_LOW
	.comm	_MAC_BIBA_TYPE_HIGH,8,3         ; @MAC_BIBA_TYPE_HIGH
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_biba_subject_privileged
.subsections_via_symbols
