	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_qp_alloc                  ## -- Begin function vmci_qp_alloc
	.p2align	4, 0x90
_vmci_qp_alloc:                         ## @vmci_qp_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movl	%r8d, %eax
	orl	%edx, %eax
	je	LBB0_7
## %bb.4:
	movl	16(%rbp), %r10d
	movq	_VMCI_QP_ALL_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%r10d, %eax
	je	LBB0_5
LBB0_7:
	movq	_VMCI_ERROR_INVALID_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, 32(%rbp)
	je	LBB0_6
## %bb.8:
	popq	%rbp
	jmp	_qp_alloc_guest_work            ## TAILCALL
LBB0_6:
	movl	40(%rbp), %eax
	movl	24(%rbp), %r11d
	pushq	48(%rbp)
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_qp_alloc_host_work
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_QP_ALL_FLAGS,4,2          ## @VMCI_QP_ALL_FLAGS
	.comm	_VMCI_ERROR_INVALID_ARGS,4,2    ## @VMCI_ERROR_INVALID_ARGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmci_qp_alloc                  ; -- Begin function vmci_qp_alloc
	.p2align	2
_vmci_qp_alloc:                         ; @vmci_qp_alloc
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x1, LBB0_5
; %bb.2:
	cbz	x3, LBB0_5
; %bb.3:
	orr	w8, w4, w2
	cbz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _VMCI_QP_ALL_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCI_QP_ALL_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bics	wzr, w6, w8
	b.eq	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _VMCI_ERROR_INVALID_ARGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMCI_ERROR_INVALID_ARGS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
	ldr	w8, [sp]
	cbz	w8, LBB0_8
; %bb.7:
	b	_qp_alloc_guest_work
LBB0_8:
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #4]
	str	x8, [sp, #8]
	str	w9, [sp]
	b	_qp_alloc_host_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_QP_ALL_FLAGS,4,2          ; @VMCI_QP_ALL_FLAGS
	.comm	_VMCI_ERROR_INVALID_ARGS,4,2    ; @VMCI_ERROR_INVALID_ARGS
.subsections_via_symbols
