	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_context_get_priv_flags    ## -- Begin function vmci_context_get_priv_flags
	.p2align	4, 0x90
_vmci_context_get_priv_flags:           ## @vmci_context_get_priv_flags
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_vmci_host_code_active
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	callq	_vmci_ctx_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_vmci_ctx_put
	jmp	LBB0_6
LBB0_4:
	movq	_VMCI_NO_PRIVILEGE_FLAGS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_VMCI_LEAST_PRIVILEGE_FLAGS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_LEAST_PRIVILEGE_FLAGS,4,2 ## @VMCI_LEAST_PRIVILEGE_FLAGS
	.comm	_VMCI_NO_PRIVILEGE_FLAGS,4,2    ## @VMCI_NO_PRIVILEGE_FLAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_context_get_priv_flags    ; -- Begin function vmci_context_get_priv_flags
	.p2align	2
_vmci_context_get_priv_flags:           ; @vmci_context_get_priv_flags
	.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
	bl	_vmci_host_code_active
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_vmci_ctx_get
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w19, [x0]
	bl	_vmci_ctx_put
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _VMCI_NO_PRIVILEGE_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_NO_PRIVILEGE_FLAGS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _VMCI_LEAST_PRIVILEGE_FLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMCI_LEAST_PRIVILEGE_FLAGS@GOTPAGEOFF]
LBB0_5:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_LEAST_PRIVILEGE_FLAGS,4,2 ; @VMCI_LEAST_PRIVILEGE_FLAGS
	.comm	_VMCI_NO_PRIVILEGE_FLAGS,4,2    ; @VMCI_NO_PRIVILEGE_FLAGS
.subsections_via_symbols
