	.file	"extr_qedf_main.c_qedf_set_fcoe_pf_param.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Number of CQs is %d.\n"
.LC1:
	.string	"dma_alloc_coherent failed.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Global queue allocation failed.\n"
	.align 8
.LC3:
	.string	"bdq_list=%p bdq_pbl_list_dma=%llx bdq_pbl_list_entries=%d.\n"
	.section	.rodata.str1.1
.LC4:
	.string	"cq_num_entries=%d.\n"
	.text
	.p2align 4
	.type	qedf_set_fcoe_pf_param, @function
qedf_set_fcoe_pf_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	lea	rbp, 80[rbx]
	call	MIN_NUM_CPUS_MSIX@PLT
	mov	esi, DWORD PTR QEDF_LOG_DISC[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	mov	ecx, eax
	xor	eax, eax
	call	QEDF_INFO@PLT
	mov	eax, DWORD PTR [rbx]
	mov	rdi, QWORD PTR 112[rbx]
	lea	rdx, 96[rbx]
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	lea	esi, 0[0+rax*4]
	call	dma_alloc_coherent@PLT
	mov	DWORD PTR 104[rbx], eax
	test	eax, eax
	je	.L7
	mov	rdi, rbx
	call	qedf_alloc_global_queues@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR SQ_NUM_ENTRIES[rip]
	mov	esi, DWORD PTR QEDF_PAGE_SIZE[rip]
	lea	edi, 0[0+rax*4]
	call	ALIGN@PLT
	mov	esi, DWORD PTR QEDF_PAGE_SIZE[rip]
	cdq
	idiv	esi
	mov	r14d, eax
	mov	eax, DWORD PTR FCOE_PARAMS_CQ_NUM_ENTRIES[rip]
	lea	edi, 0[0+rax*4]
	call	ALIGN@PLT
	lea	rdi, 8[rbx]
	mov	edx, 72
	xor	esi, esi
	movsx	r13, eax
	call	memset@PLT
	mov	eax, DWORD PTR QEDF_MAX_SESSIONS[rip]
	shr	r13, 2
	mov	DWORD PTR 8[rbx], r14d
	mov	DWORD PTR 12[rbx], r13d
	mov	edi, DWORD PTR QEDF_PAGE_SIZE[rip]
	mov	DWORD PTR 76[rbx], eax
	mov	eax, DWORD PTR FCOE_PARAMS_NUM_TASKS[rip]
	mov	QWORD PTR 56[rbx], 0
	mov	DWORD PTR 72[rbx], eax
	mov	rax, QWORD PTR 96[rbx]
	mov	QWORD PTR 64[rbx], rax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 16[rbx], eax
	call	ilog2@PLT
	mov	edx, DWORD PTR 92[rbx]
	mov	DWORD PTR 20[rbx], 9000
	mov	rdi, rbp
	mov	DWORD PTR 52[rbx], eax
	mov	eax, DWORD PTR QEDF_FCOE_PARAMS_GL_RQ_PI[rip]
	mov	DWORD PTR 48[rbx], eax
	mov	eax, DWORD PTR QEDF_FCOE_PARAMS_GL_CMD_PI[rip]
	mov	DWORD PTR 44[rbx], eax
	mov	rax, QWORD PTR 32[rbx]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR 24[rbx]
	mov	ecx, DWORD PTR 88[rbx]
	mov	DWORD PTR [rdx], ecx
	mov	ecx, DWORD PTR QEDF_BDQ_BUF_SIZE[rip]
	mov	esi, DWORD PTR QEDF_LOG_DISC[rip]
	mov	DWORD PTR 40[rbx], ecx
	mov	ecx, DWORD PTR 84[rbx]
	mov	r9d, DWORD PTR [rdx]
	mov	r8d, DWORD PTR [rax]
	lea	rdx, .LC3[rip]
	xor	eax, eax
	call	QEDF_INFO@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR QEDF_LOG_DISC[rip]
	xor	eax, eax
	mov	rdi, rbp
	lea	rdx, .LC4[rip]
	call	QEDF_INFO@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12d, 1
	lea	rsi, .LC2[rip]
	call	QEDF_ERR@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12d, 1
	lea	rsi, .LC1[rip]
	call	QEDF_ERR@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qedf_set_fcoe_pf_param, .-qedf_set_fcoe_pf_param
	.comm	SQ_NUM_ENTRIES,4,4
	.comm	QEDF_PAGE_SIZE,4,4
	.comm	QEDF_MAX_SESSIONS,4,4
	.comm	QEDF_LOG_DISC,4,4
	.comm	QEDF_FCOE_PARAMS_GL_RQ_PI,4,4
	.comm	QEDF_FCOE_PARAMS_GL_CMD_PI,4,4
	.comm	QEDF_BDQ_BUF_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FCOE_PARAMS_NUM_TASKS,4,4
	.comm	FCOE_PARAMS_CQ_NUM_ENTRIES,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_qedf_main.c_qedf_set_fcoe_pf_param.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Number of CQs is %d.\012\000"
	.align	2
.LC1:
	.ascii	"dma_alloc_coherent failed.\012\000"
	.align	2
.LC2:
	.ascii	"Global queue allocation failed.\012\000"
	.global	__aeabi_idiv
	.align	2
.LC3:
	.ascii	"bdq_list=%p bdq_pbl_list_dma=%llx bdq_pbl_list_entr"
	.ascii	"ies=%d.\012\000"
	.align	2
.LC4:
	.ascii	"cq_num_entries=%d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qedf_set_fcoe_pf_param, %function
qedf_set_fcoe_pf_param:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	sub	sp, sp, #8
	bl	MIN_NUM_CPUS_MSIX
	mov	r5, r4
	ldr	r7, .L9
	str	r0, [r5], #60
	mov	r3, r0
	ldr	r1, [r7]
	ldr	r2, .L9+4
	mov	r0, r5
	bl	QEDF_INFO
	mov	r2, r4
	ldr	r3, .L9+8
	ldr	r1, [r2], #76
	ldr	r0, [r4, #84]
	ldr	r3, [r3]
	lsl	r1, r1, #2
	bl	dma_alloc_coherent
	cmp	r0, #0
	str	r0, [r4, #80]
	beq	.L7
	mov	r0, r4
	bl	qedf_alloc_global_queues
	subs	r6, r0, #0
	bne	.L8
	ldr	r3, .L9+12
	ldr	r9, .L9+16
	ldr	r0, [r3]
	ldr	r1, [r9]
	lsl	r0, r0, #2
	bl	ALIGN
	ldr	r8, [r9]
	mov	r1, r8
	bl	__aeabi_idiv
	ldr	r3, .L9+20
	mov	r1, r8
	ldr	r3, [r3]
	mov	r10, r0
	lsl	r0, r3, #2
	bl	ALIGN
	mov	r8, r0
	mov	r1, r6
	mov	r2, #28
	add	r0, r4, #16
	bl	memset
	ldr	r2, .L9+24
	ldr	r3, .L9+28
	ldr	ip, [r2]
	ldr	r1, [r3]
	ldr	r2, [r4, #76]
	ldr	r3, [r4]
	lsr	r8, r8, #2
	str	ip, [r4, #56]
	str	r1, [r4, #52]
	str	r2, [r4, #48]
	str	r3, [r4, #12]
	ldr	r0, [r9]
	str	r10, [r4, #4]
	str	r8, [r4, #8]
	str	r6, [r4, #44]
	bl	ilog2
	ldr	r2, .L9+32
	ldr	r3, .L9+36
	ldr	lr, [r2]
	ldr	ip, [r3]
	ldr	r2, [r4, #24]
	ldr	r3, [r4, #72]
	ldr	r1, .L9+40
	str	r0, [r4, #40]
	str	lr, [r4, #36]
	str	ip, [r4, #32]
	str	r1, [r4, #16]
	str	r3, [r2]
	ldr	r1, [r4, #20]
	ldr	r0, [r4, #68]
	ldr	r3, .L9+44
	str	r0, [r1]
	ldr	r0, [r3]
	ldr	r3, [r4, #64]
	str	r0, [r4, #28]
	ldr	r0, [r1]
	ldr	r1, [r7]
	str	r0, [sp, #4]
	ldr	r0, [r2]
	ldr	r2, .L9+48
	str	r0, [sp]
	mov	r0, r5
	bl	QEDF_INFO
	mov	r0, r5
	ldr	r3, [r4, #8]
	ldr	r1, [r7]
	ldr	r2, .L9+52
	bl	QEDF_INFO
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r6, #1
	mov	r0, r5
	ldr	r1, .L9+56
	bl	QEDF_ERR
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r6, #1
	mov	r0, r5
	ldr	r1, .L9+60
	bl	QEDF_ERR
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	QEDF_LOG_DISC
	.word	.LC0
	.word	GFP_KERNEL
	.word	SQ_NUM_ENTRIES
	.word	QEDF_PAGE_SIZE
	.word	FCOE_PARAMS_CQ_NUM_ENTRIES
	.word	QEDF_MAX_SESSIONS
	.word	FCOE_PARAMS_NUM_TASKS
	.word	QEDF_FCOE_PARAMS_GL_RQ_PI
	.word	QEDF_FCOE_PARAMS_GL_CMD_PI
	.word	9000
	.word	QEDF_BDQ_BUF_SIZE
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.size	qedf_set_fcoe_pf_param, .-qedf_set_fcoe_pf_param
	.comm	SQ_NUM_ENTRIES,4,4
	.comm	QEDF_PAGE_SIZE,4,4
	.comm	QEDF_MAX_SESSIONS,4,4
	.comm	QEDF_LOG_DISC,4,4
	.comm	QEDF_FCOE_PARAMS_GL_RQ_PI,4,4
	.comm	QEDF_FCOE_PARAMS_GL_CMD_PI,4,4
	.comm	QEDF_BDQ_BUF_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FCOE_PARAMS_NUM_TASKS,4,4
	.comm	FCOE_PARAMS_CQ_NUM_ENTRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
