	.file	"extr_qlnxr_verbs.c_qlnxr_alloc_pd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ibdev = %p context = %p udata = %p enter\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"dev->rdma_ctx = NULL\n"
.LC2:
	.string	"kzalloc(pd) = NULL\n"
.LC3:
	.string	"ecore_rdma_alloc_pd failed\n"
.LC4:
	.string	"ib_copy_to_udata failed\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"exit [pd, pd_id, pd_count] = [%p, 0x%x, %d]\n"
	.section	.rodata.str1.1
.LC6:
	.string	"exit -1\n"
	.text
	.p2align 4
	.globl	qlnxr_alloc_pd
	.type	qlnxr_alloc_pd, @function
qlnxr_alloc_pd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_qlnxr_dev@PLT
	mov	r8, r13
	mov	rcx, r14
	mov	rdx, r12
	mov	r15, QWORD PTR 16[rax]
	mov	rbx, rax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	mov	rdi, r15
	call	QL_DPRINT12@PLT
	mov	rbp, QWORD PTR 8[rbx]
	test	rbp, rbp
	je	.L18
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 24
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L19
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, 4[rsp]
	call	ecore_rdma_alloc_pd@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 16[rbp], eax
	test	r13, r13
	je	.L6
	test	r14, r14
	je	.L6
	lea	rsi, 16[rbp]
	mov	edx, 4
	mov	rdi, r13
	call	ib_copy_to_udata@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	mov	rdi, r14
	call	get_qlnxr_ucontext@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	QWORD PTR [rax], rbp
.L6:
	mov	esi, 1
	mov	rdi, rbx
	call	atomic_add_rel_32@PLT
	mov	r8d, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 4[rsp]
	mov	rdx, rbp
	lea	rsi, .LC5[rip]
	mov	rdi, r15
	xor	eax, eax
	call	QL_DPRINT12@PLT
	mov	rax, rbp
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L21:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, r15
	call	QL_DPRINT11@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR 4[rsp]
	call	ecore_rdma_free_pd@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	kfree@PLT
	mov	rdi, r15
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	QL_DPRINT12@PLT
	mov	edi, r12d
	call	ERR_PTR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	mov	r12d, -1
	call	QL_DPRINT11@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r12d, DWORD PTR ENOMEM[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	neg	r12d
	call	QL_DPRINT11@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC3[rip]
	mov	rdi, r15
	call	QL_DPRINT11@PLT
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qlnxr_alloc_pd, .-qlnxr_alloc_pd
	.comm	GFP_KERNEL,4,4
	.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_qlnxr_verbs.c_qlnxr_alloc_pd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ibdev = %p context = %p udata = %p enter\012\000"
	.align	2
.LC1:
	.ascii	"dev->rdma_ctx = NULL\012\000"
	.align	2
.LC2:
	.ascii	"kzalloc(pd) = NULL\012\000"
	.align	2
.LC3:
	.ascii	"ecore_rdma_alloc_pd failed\012\000"
	.align	2
.LC4:
	.ascii	"ib_copy_to_udata failed\012\000"
	.align	2
.LC5:
	.ascii	"exit [pd, pd_id, pd_count] = [%p, 0x%x, %d]\012\000"
	.align	2
.LC6:
	.ascii	"exit -1\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qlnxr_alloc_pd
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlnxr_alloc_pd, %function
qlnxr_alloc_pd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L21
	sub	sp, sp, #20
	mov	r9, r1
	mov	r7, r2
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	get_qlnxr_dev
	mov	r5, r0
	ldr	r8, [r0, #8]
	mov	r2, r4
	mov	r0, r8
	mov	r3, r9
	ldr	r1, .L21+4
	str	r7, [sp]
	bl	QL_DPRINT12
	ldr	r4, [r5, #4]
	cmp	r4, #0
	beq	.L15
	ldr	r3, .L21+8
	mov	r0, #12
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L16
	ldr	r0, [r5, #4]
	add	r1, sp, #8
	bl	ecore_rdma_alloc_pd
	subs	r6, r0, #0
	bne	.L17
	cmp	r7, #0
	cmpne	r9, #0
	ldr	r3, [sp, #8]
	str	r3, [r4, #8]
	bne	.L18
.L6:
	mov	r1, #1
	mov	r0, r5
	bl	atomic_add_rel_32
	ldr	r3, [r5]
	mov	r0, r8
	str	r3, [sp]
	mov	r2, r4
	ldr	r3, [sp, #8]
	ldr	r1, .L21+12
	bl	QL_DPRINT12
	mov	r0, r4
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L18:
	mov	r0, r7
	mov	r2, #4
	add	r1, r4, #8
	bl	ib_copy_to_udata
	subs	r6, r0, #0
	bne	.L20
	mov	r0, r9
	bl	get_qlnxr_ucontext
	str	r0, [r4, #4]
	str	r4, [r0]
	b	.L6
.L20:
	ldr	r1, .L21+16
	mov	r0, r8
	bl	QL_DPRINT11
	ldr	r0, [r5, #4]
	ldr	r1, [sp, #8]
	bl	ecore_rdma_free_pd
.L3:
	mov	r0, r4
	bl	kfree
	mov	r0, r8
	ldr	r1, .L21+20
	bl	QL_DPRINT12
	mov	r0, r6
	bl	ERR_PTR
	b	.L1
.L15:
	mov	r0, r8
	ldr	r1, .L21+24
	bl	QL_DPRINT11
	mvn	r6, #0
	b	.L3
.L16:
	ldr	r3, .L21+28
	mov	r0, r8
	ldr	r6, [r3]
	ldr	r1, .L21+32
	rsb	r6, r6, #0
	bl	QL_DPRINT11
	b	.L3
.L17:
	mov	r0, r8
	ldr	r1, .L21+36
	bl	QL_DPRINT11
	b	.L3
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC0
	.word	GFP_KERNEL
	.word	.LC5
	.word	.LC4
	.word	.LC6
	.word	.LC1
	.word	ENOMEM
	.word	.LC2
	.word	.LC3
	.size	qlnxr_alloc_pd, .-qlnxr_alloc_pd
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
