	.file	"extr_verbs.c_qedr_roce_create_kernel_qp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qedr_roce_create_kernel_qp, @function
qedr_roce_create_kernel_qp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 16[rsi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	mov	r8d, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 16[rdi]
	mov	ecx, DWORD PTR QED_CHAIN_CNT_TYPE_U32[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR QED_CHAIN_USE_TO_PRODUCE[rip]
	mov	r9d, DWORD PTR QEDR_SQE_ELEMENT_SIZE[rip]
	mov	edx, DWORD PTR QED_CHAIN_MODE_PBL[rip]
	mov	rax, QWORD PTR 8[rax]
	push	0
	.cfi_def_cfa_offset 88
	push	r15
	.cfi_def_cfa_offset 96
	call	[QWORD PTR [rax]]
	pop	rcx
	.cfi_def_cfa_offset 88
	pop	rsi
	.cfi_def_cfa_offset 80
	mov	r12d, eax
	test	eax, eax
	je	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r15
	call	qed_chain_get_page_cnt@PLT
	mov	rdi, r15
	lea	r15, 12[r13]
	mov	QWORD PTR 24[r14], rax
	call	qed_chain_get_pbl_phys@PLT
	mov	edx, DWORD PTR QED_CHAIN_MODE_PBL[rip]
	mov	edi, DWORD PTR 16[rbp]
	mov	r8d, ebx
	mov	ecx, DWORD PTR QED_CHAIN_CNT_TYPE_U32[rip]
	mov	esi, DWORD PTR QED_CHAIN_USE_TO_CONSUME_PRODUCE[rip]
	mov	QWORD PTR 16[r14], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	r9d, DWORD PTR QEDR_RQE_ELEMENT_SIZE[rip]
	mov	rax, QWORD PTR 8[rax]
	push	0
	.cfi_def_cfa_offset 88
	push	r15
	.cfi_def_cfa_offset 96
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	r12d, r12d
	jne	.L1
	mov	rdi, r15
	call	qed_chain_get_page_cnt@PLT
	mov	rdi, r15
	mov	QWORD PTR 8[r14], rax
	call	qed_chain_get_pbl_phys@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, rsp
	mov	rsi, r14
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR 8[rbp]
	call	[QWORD PTR [rax]]
	mov	DWORD PTR 8[r13], eax
	test	eax, eax
	jne	.L3
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rsp]
	mov	rsi, r13
	mov	rdi, rbp
	mov	QWORD PTR 0[r13], rax
	call	qedr_set_roce_db_info@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qedr_roce_create_kernel_qp, .-qedr_roce_create_kernel_qp
	.comm	QED_CHAIN_USE_TO_PRODUCE,4,4
	.comm	QED_CHAIN_USE_TO_CONSUME_PRODUCE,4,4
	.comm	QED_CHAIN_MODE_PBL,4,4
	.comm	QED_CHAIN_CNT_TYPE_U32,4,4
	.comm	QEDR_SQE_ELEMENT_SIZE,4,4
	.comm	QEDR_RQE_ELEMENT_SIZE,4,4
	.comm	EINVAL,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_verbs.c_qedr_roce_create_kernel_qp.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qedr_roce_create_kernel_qp, %function
qedr_roce_create_kernel_qp:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r0, #0
	ldr	r1, .L9
	mov	r7, r2
	ldr	r2, [r5, #4]
	ldr	ip, [r1]
	ldr	r2, [r2, #4]
	sub	sp, sp, #32
	ldr	r10, .L9+4
	ldr	r9, .L9+8
	ldr	r1, .L9+12
	add	r8, r6, #16
	str	r3, [sp]
	str	ip, [sp, #4]
	str	r8, [sp, #8]
	str	r0, [sp, #12]
	ldr	ip, .L9+16
	ldr	r4, [r2]
	ldr	r0, [r5, #8]
	ldr	r3, [r10]
	ldr	r2, [r9]
	ldr	r1, [r1]
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	blx	r4
	subs	r4, r0, #0
	beq	.L7
.L1:
	ldr	r3, .L9+16
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r0, r8
	bl	qed_chain_get_page_cnt
	mov	r3, r0
	mov	r0, r8
	str	r3, [r7, #12]
	bl	qed_chain_get_pbl_phys
	ldr	r3, .L9+20
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	ldr	ip, [r2, #4]
	str	r3, [sp, #4]
	ldr	r3, [sp, #64]
	ldr	r1, .L9+24
	add	r8, r6, #12
	str	r3, [sp]
	str	r4, [sp, #12]
	str	r8, [sp, #8]
	ldr	r4, [ip]
	str	r0, [r7, #8]
	ldr	r3, [r10]
	ldr	r2, [r9]
	ldr	r1, [r1]
	ldr	r0, [r5, #8]
	blx	r4
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r8
	bl	qed_chain_get_page_cnt
	mov	r3, r0
	mov	r0, r8
	str	r3, [r7, #4]
	bl	qed_chain_get_pbl_phys
	ldr	r3, [r5, #4]
	mov	r1, r7
	str	r0, [r7]
	ldr	r3, [r3]
	ldr	r0, [r5]
	add	r2, sp, #20
	blx	r3
	cmp	r0, #0
	str	r0, [r6, #8]
	ldreq	r3, .L9+28
	ldreq	r4, [r3]
	rsbeq	r4, r4, #0
	beq	.L1
.L3:
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #20]
	mov	r0, r5
	mov	r1, r6
	str	r2, [r6, #4]
	str	r3, [r6]
	bl	qedr_set_roce_db_info
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	QEDR_SQE_ELEMENT_SIZE
	.word	QED_CHAIN_CNT_TYPE_U32
	.word	QED_CHAIN_MODE_PBL
	.word	QED_CHAIN_USE_TO_PRODUCE
	.word	.LC0
	.word	QEDR_RQE_ELEMENT_SIZE
	.word	QED_CHAIN_USE_TO_CONSUME_PRODUCE
	.word	EINVAL
	.size	qedr_roce_create_kernel_qp, .-qedr_roce_create_kernel_qp
	.comm	QED_CHAIN_USE_TO_PRODUCE,4,4
	.comm	QED_CHAIN_USE_TO_CONSUME_PRODUCE,4,4
	.comm	QED_CHAIN_MODE_PBL,4,4
	.comm	QED_CHAIN_CNT_TYPE_U32,4,4
	.comm	QEDR_SQE_ELEMENT_SIZE,4,4
	.comm	QEDR_RQE_ELEMENT_SIZE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
