	.file	"extr_cma.c_ucma_create_cqs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ucma_create_cqs, @function
ucma_create_cqs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	test	edx, edx
	jne	.L2
.L7:
	test	r13d, r13d
	jne	.L20
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rdi]
	mov	r12d, edx
	call	ibv_create_comp_channel@PLT
	mov	QWORD PTR 32[rbp], rax
	mov	rcx, rax
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR 16[rbp]
	xor	r8d, r8d
	mov	rdx, rbp
	mov	esi, r12d
	call	ibv_create_cq@PLT
	mov	QWORD PTR 24[rbp], rax
	test	rax, rax
	jne	.L7
.L6:
	mov	rdi, rbp
	call	ucma_destroy_cqs@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ERR@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbp]
	call	ibv_create_comp_channel@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	rcx, rax
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR 16[rbp]
	xor	r8d, r8d
	mov	rdx, rbp
	mov	esi, r13d
	call	ibv_create_cq@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L6
	pop	rbp
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ucma_create_cqs, .-ucma_create_cqs
	.comm	ENOMEM,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_cma.c_ucma_create_cqs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucma_create_cqs, %function
ucma_create_cqs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r2, #0
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #8
	bne	.L2
.L7:
	cmp	r6, #0
	bne	.L20
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r0, #8]
	bl	ibv_create_comp_channel
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r4, #16]
	beq	.L6
	mov	r2, #0
	str	r2, [sp]
	mov	r1, r5
	mov	r2, r4
	ldr	r0, [r4, #8]
	bl	ibv_create_cq
	cmp	r0, #0
	str	r0, [r4, #12]
	bne	.L7
.L6:
	mov	r0, r4
	bl	ucma_destroy_cqs
	ldr	r3, .L21
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	ERR
.L20:
	ldr	r0, [r4, #8]
	bl	ibv_create_comp_channel
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r4, #4]
	beq	.L6
	mov	r2, #0
	str	r2, [sp]
	mov	r1, r6
	mov	r2, r4
	ldr	r0, [r4, #8]
	bl	ibv_create_cq
	cmp	r0, #0
	str	r0, [r4]
	beq	.L6
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	ENOMEM
	.size	ucma_create_cqs, .-ucma_create_cqs
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
