	.file	"extr_vmci_queue_pair.c_vmci_qp_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vmci_qp_alloc
	.type	vmci_qp_alloc, @function
vmci_qp_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sete	r10b
	test	rsi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sete	al
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r11d, DWORD PTR 32[rsp]
	or	r10b, al
	mov	ebx, DWORD PTR 48[rsp]
	mov	ebp, DWORD PTR 56[rsp]
	mov	r12, QWORD PTR 64[rsp]
	jne	.L2
	test	rcx, rcx
	je	.L2
	mov	eax, edx
	or	eax, r8d
	je	.L2
	mov	eax, DWORD PTR VMCI_QP_ALL_FLAGS[rip]
	not	eax
	test	eax, r11d
	jne	.L2
	test	ebx, ebx
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qp_alloc_guest_work@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR VMCI_ERROR_INVALID_ARGS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	QWORD PTR 56[rsp], r12
	mov	DWORD PTR 48[rsp], ebp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qp_alloc_host_work@PLT
	.cfi_endproc
.LFE0:
	.size	vmci_qp_alloc, .-vmci_qp_alloc
	.comm	VMCI_QP_ALL_FLAGS,4,4
	.comm	VMCI_ERROR_INVALID_ARGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vmci_queue_pair.c_vmci_qp_alloc.c"
	.text
	.align	2
	.global	vmci_qp_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmci_qp_alloc, %function
vmci_qp_alloc:
	@ args = 28, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r1
	cmp	r0, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r3, #0
	moveq	ip, #1
	push	{r4, r5, r6, r7, lr}
	cmp	ip, #0
	add	r5, sp, #36
	ldr	lr, [sp, #20]
	ldr	r4, [sp, #28]
	ldm	r5, {r5, r6, r7}
	bne	.L2
	mov	ip, r2
	orrs	ip, ip, lr
	beq	.L2
	ldr	ip, .L12
	ldr	ip, [ip]
	bics	ip, r4, ip
	bne	.L2
	cmp	r5, #0
	beq	.L5
	pop	{r4, r5, r6, r7, lr}
	b	qp_alloc_guest_work
.L2:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, pc}
.L5:
	str	r7, [sp, #40]
	str	r6, [sp, #36]
	pop	{r4, r5, r6, r7, lr}
	b	qp_alloc_host_work
.L13:
	.align	2
.L12:
	.word	VMCI_QP_ALL_FLAGS
	.word	VMCI_ERROR_INVALID_ARGS
	.size	vmci_qp_alloc, .-vmci_qp_alloc
	.comm	VMCI_QP_ALL_FLAGS,4,4
	.comm	VMCI_ERROR_INVALID_ARGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
