	.file	"extr_ixl_pf_main.c_ixl_initialize_vsi.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"i40e_aq_get_vsi_params() failed, error %d aq_error %d\n"
	.align 8
.LC1:
	.string	"get_vsi_params: seid: %d, uplinkseid: %d, vsi_number: %d, vsis_allocated: %d, vsis_unallocated: %d, flags: 0x%x, pfnum: %d, vfnum: %d, stat idx: %d, enabled: %d\n"
	.align 8
.LC2:
	.string	"i40e_aq_update_vsi_params() failed, error %d, aq_error %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"Unable to clear TX context\n"
.LC4:
	.string	"Unable to set TX context\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"Unable to clear RX context %d\n"
	.section	.rodata.str1.1
.LC6:
	.string	"Unable to set RX context %d\n"
	.text
	.p2align 4
	.globl	ixl_initialize_vsi
	.type	ixl_initialize_vsi, @function
ixl_initialize_vsi:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 440
	.cfi_def_cfa_offset 496
	mov	r13, QWORD PTR 88[rdi]
	mov	edi, DWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 424[rsp], rax
	xor	eax, eax
	lea	r12, 32[rsp]
	call	iflib_get_softc_ctx@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	r14, QWORD PTR 72[rbx]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 80[rbx]
	mov	QWORD PTR 8[rsp], rax
	call	iflib_get_dev@PLT
	mov	edx, 192
	xor	esi, esi
	mov	rdi, r12
	mov	DWORD PTR 28[rsp], eax
	mov	rbp, QWORD PTR 8[rbx]
	call	memset@PLT
	mov	eax, DWORD PTR 64[rbx]
	mov	DWORD PTR 216[rsp], eax
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	je	.L2
	mov	QWORD PTR 32[rsp], rax
.L2:
	mov	eax, DWORD PTR 0[rbp]
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, rbp
	mov	DWORD PTR 40[rsp], eax
	call	i40e_aq_get_vsi_params@PLT
	test	eax, eax
	jne	.L32
	sub	rsp, 8
	.cfi_def_cfa_offset 504
	mov	esi, DWORD PTR IXL_DBG_SWITCH_INFO[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r13
	mov	eax, DWORD PTR 196[rsp]
	push	rax
	.cfi_def_cfa_offset 512
	mov	eax, DWORD PTR 208[rsp]
	push	rax
	.cfi_def_cfa_offset 520
	mov	eax, DWORD PTR 228[rsp]
	push	rax
	.cfi_def_cfa_offset 528
	mov	eax, DWORD PTR 72[rsp]
	push	rax
	.cfi_def_cfa_offset 536
	mov	eax, DWORD PTR 184[rsp]
	push	rax
	.cfi_def_cfa_offset 544
	mov	eax, DWORD PTR 256[rsp]
	push	rax
	.cfi_def_cfa_offset 552
	mov	eax, DWORD PTR 268[rsp]
	push	rax
	.cfi_def_cfa_offset 560
	mov	r9d, DWORD PTR 264[rsp]
	mov	r8, QWORD PTR 96[rsp]
	mov	ecx, DWORD PTR 280[rsp]
	call	ixl_dbg@PLT
	mov	eax, DWORD PTR I40E_AQ_VSI_PROP_QUEUE_MAP_VALID[rip]
	mov	edi, DWORD PTR 20[r13]
	mov	DWORD PTR 228[rsp], eax
	mov	eax, DWORD PTR I40E_AQ_VSI_QUE_MAP_CONTIG[rip]
	or	DWORD PTR 248[rsp], eax
	mov	rax, QWORD PTR 240[rsp]
	add	rsp, 64
	.cfi_def_cfa_offset 496
	mov	QWORD PTR [rax], 0
	call	fls@PLT
	mov	edx, DWORD PTR 16[r13]
	mov	ecx, DWORD PTR I40E_AQ_VSI_TC_QUE_OFFSET_SHIFT[rip]
	sub	eax, 1
	sal	edx, cl
	mov	ecx, DWORD PTR I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT[rip]
	and	edx, DWORD PTR I40E_AQ_VSI_TC_QUE_OFFSET_MASK[rip]
	sal	eax, cl
	and	eax, DWORD PTR I40E_AQ_VSI_TC_QUE_NUMBER_MASK[rip]
	or	edx, eax
	mov	rax, QWORD PTR 152[rsp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR I40E_AQ_VSI_PROP_VLAN_VALID[rip]
	mov	edi, DWORD PTR 60[rbx]
	or	DWORD PTR 164[rsp], eax
	mov	eax, DWORD PTR I40E_AQ_VSI_PVLAN_MODE_ALL[rip]
	mov	DWORD PTR 168[rsp], eax
	call	if_getcapenable@PLT
	test	DWORD PTR IFCAP_VLAN_HWTAGGING[rip], eax
	mov	eax, DWORD PTR 168[rsp]
	jne	.L33
	or	eax, DWORD PTR I40E_AQ_VSI_PVLAN_EMOD_NOTHING[rip]
.L6:
	mov	DWORD PTR 168[rsp], eax
	mov	eax, DWORD PTR 200[rsp]
	lea	rsi, 32[rbx]
	mov	edx, 8
	lea	rdi, 152[rsp]
	mov	DWORD PTR 56[rbx], eax
	call	bcopy@PLT
	mov	rdi, rbx
	call	ixl_vsi_reset_stats@PLT
	mov	QWORD PTR 48[rbx], 0
	mov	edi, DWORD PTR I40E_AQ_VSI_TYPE_PF[rip]
	mov	QWORD PTR 40[rbx], 0
	call	htole16@PLT
	mov	rsi, r12
	xor	edx, edx
	mov	rdi, rbp
	mov	DWORD PTR 144[rsp], eax
	call	i40e_aq_update_vsi_params@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L34
	mov	eax, DWORD PTR [rbx]
	xor	r13d, r13d
	lea	r15, 224[rsp]
	test	eax, eax
	jg	.L13
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L37:
	mov	DWORD PTR 236[rsp], 1
	mov	eax, DWORD PTR [rax]
	lea	eax, [rcx+rax*4]
	mov	DWORD PTR 240[rsp], eax
.L9:
	mov	esi, r13d
	mov	rdi, rbp
	mov	QWORD PTR 248[rsp], 0
	call	i40e_clear_lan_tx_queue_context@PLT
	test	eax, eax
	jne	.L35
	mov	rdx, r15
	mov	esi, r13d
	mov	rdi, rbp
	call	i40e_set_lan_tx_queue_context@PLT
	test	eax, eax
	jne	.L36
	mov	ecx, DWORD PTR I40E_QTX_CTL_PF_INDX_SHIFT[rip]
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, r13d
	add	r13d, 1
	sal	edx, cl
	and	edx, DWORD PTR I40E_QTX_CTL_PF_INDX_MASK[rip]
	or	edx, DWORD PTR I40E_QTX_CTL_PF_QUEUE[rip]
	mov	DWORD PTR 24[rsp], edx
	call	I40E_QTX_CTL@PLT
	mov	edx, DWORD PTR 24[rsp]
	mov	rdi, rbp
	mov	esi, eax
	call	wr32@PLT
	mov	rdi, rbp
	call	ixl_flush@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbx
	call	ixl_init_tx_ring@PLT
	add	QWORD PTR 8[rsp], 4
	cmp	DWORD PTR [rbx], r13d
	jle	.L16
.L13:
	mov	esi, 48
	mov	rdi, r15
	call	bzero@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR 224[rsp], 1
	mov	ecx, DWORD PTR [rax]
	mov	eax, ecx
	cdq
	idiv	DWORD PTR IXL_TX_CTX_BASE_UNITS[rip]
	cmp	QWORD PTR 24[rbx], 0
	mov	DWORD PTR 228[rsp], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	QWORD PTR 264[rsp], 0
	mov	DWORD PTR 232[rsp], edx
	mov	rdx, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 256[rsp], edx
	jne	.L37
	mov	QWORD PTR 236[rsp], 0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L33:
	or	eax, DWORD PTR I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L32:
	mov	ecx, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 28[rsp]
	mov	DWORD PTR 8[rsp], eax
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L1:
	mov	rax, QWORD PTR 424[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L38
	add	rsp, 440
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L16:
	.cfi_restore_state
	xor	r8d, r8d
.L14:
	mov	edx, DWORD PTR 4[rbx]
	lea	r15, 224[rsp]
	movabs	r13, 4294967297
	test	edx, edx
	jg	.L15
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdx, r15
	mov	esi, r12d
	mov	rdi, rbp
	call	i40e_set_lan_rx_queue_context@PLT
	mov	DWORD PTR 8[rsp], eax
	test	eax, eax
	jne	.L39
	mov	edi, r12d
	add	r14, 16
	add	r12d, 1
	call	I40E_QRX_TAIL@PLT
	mov	rdi, QWORD PTR 8[rbx]
	xor	edx, edx
	mov	esi, eax
	call	wr32@PLT
	cmp	DWORD PTR 4[rbx], r12d
	mov	r8d, DWORD PTR 8[rsp]
	jle	.L1
.L15:
	mov	edi, DWORD PTR 16[rbx]
	call	iflib_get_rx_mbuf_sz@PLT
	xor	esi, esi
	mov	edx, 192
	mov	rdi, r15
	mov	QWORD PTR [r14], rax
	mov	r8, rax
	imul	r8, QWORD PTR 8[rbp]
	mov	QWORD PTR 8[rsp], r8
	call	memset@PLT
	mov	rax, QWORD PTR [r14]
	mov	r8, QWORD PTR 8[rsp]
	mov	esi, r12d
	mov	ecx, DWORD PTR I40E_RXQ_CTX_DBUFF_SHIFT[rip]
	mov	rdi, rbp
	sar	rax, cl
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR 236[rsp], eax
	movabs	rax, 4294967296
	cmp	QWORD PTR 8[rcx], r8
	cmovle	r8, QWORD PTR 8[rcx]
	mov	QWORD PTR 240[rsp], rax
	mov	QWORD PTR 320[rsp], 0
	mov	eax, DWORD PTR 8[r14]
	mov	QWORD PTR 328[rsp], r8
	mov	QWORD PTR 312[rsp], 0
	cdq
	idiv	DWORD PTR IXL_RX_CTX_BASE_UNITS[rip]
	mov	DWORD PTR 248[rsp], eax
	mov	rax, QWORD PTR 16[rcx]
	mov	eax, DWORD PTR [rax]
	mov	QWORD PTR 256[rsp], r13
	mov	DWORD PTR 252[rsp], 1
	mov	DWORD PTR 304[rsp], eax
	mov	QWORD PTR 264[rsp], r13
	mov	QWORD PTR 272[rsp], r13
	mov	QWORD PTR 280[rsp], 0
	mov	QWORD PTR 288[rsp], 0
	mov	QWORD PTR 296[rsp], 0
	call	i40e_clear_lan_rx_queue_context@PLT
	test	eax, eax
	je	.L17
	mov	edi, DWORD PTR 28[rsp]
	mov	DWORD PTR 8[rsp], eax
	xor	eax, eax
	mov	edx, r12d
	lea	rsi, .LC5[rip]
	call	device_printf@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, DWORD PTR 28[rsp]
	mov	DWORD PTR 8[rsp], eax
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L39:
	mov	edi, DWORD PTR 28[rsp]
	mov	edx, r12d
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	mov	edi, DWORD PTR 28[rsp]
	mov	DWORD PTR 8[rsp], eax
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L34:
	mov	ecx, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 28[rsp]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r8d, r12d
	jmp	.L1
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixl_initialize_vsi, .-ixl_initialize_vsi
	.comm	ixl_enable_iwarp,8,8
	.comm	IXL_TX_CTX_BASE_UNITS,4,4
	.comm	IXL_RX_CTX_BASE_UNITS,4,4
	.comm	IXL_DBG_SWITCH_INFO,4,4
	.comm	IFCAP_VLAN_HWTAGGING,4,4
	.comm	I40E_RXQ_CTX_HBUFF_SHIFT,4,4
	.comm	I40E_RXQ_CTX_DBUFF_SHIFT,4,4
	.comm	I40E_QTX_CTL_PF_QUEUE,4,4
	.comm	I40E_QTX_CTL_PF_INDX_SHIFT,4,4
	.comm	I40E_QTX_CTL_PF_INDX_MASK,4,4
	.comm	I40E_AQ_VSI_TYPE_PF,4,4
	.comm	I40E_AQ_VSI_TC_QUE_OFFSET_SHIFT,4,4
	.comm	I40E_AQ_VSI_TC_QUE_OFFSET_MASK,4,4
	.comm	I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT,4,4
	.comm	I40E_AQ_VSI_TC_QUE_NUMBER_MASK,4,4
	.comm	I40E_AQ_VSI_QUE_OPT_TCP_ENA,4,4
	.comm	I40E_AQ_VSI_QUE_MAP_CONTIG,4,4
	.comm	I40E_AQ_VSI_PVLAN_MODE_ALL,4,4
	.comm	I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH,4,4
	.comm	I40E_AQ_VSI_PVLAN_EMOD_NOTHING,4,4
	.comm	I40E_AQ_VSI_PROP_VLAN_VALID,4,4
	.comm	I40E_AQ_VSI_PROP_QUEUE_OPT_VALID,4,4
	.comm	I40E_AQ_VSI_PROP_QUEUE_MAP_VALID,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_ixl_pf_main.c_ixl_initialize_vsi.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"i40e_aq_get_vsi_params() failed, error %d aq_error "
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"get_vsi_params: seid: %d, uplinkseid: %d, vsi_numbe"
	.ascii	"r: %d, vsis_allocated: %d, vsis_unallocated: %d, fl"
	.ascii	"ags: 0x%x, pfnum: %d, vfnum: %d, stat idx: %d, enab"
	.ascii	"led: %d\012\000"
	.align	2
.LC2:
	.ascii	"i40e_aq_update_vsi_params() failed, error %d, aq_er"
	.ascii	"ror %d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC3:
	.ascii	"Unable to clear TX context\012\000"
	.align	2
.LC4:
	.ascii	"Unable to set TX context\012\000"
	.align	2
.LC5:
	.ascii	"Unable to clear RX context %d\012\000"
	.align	2
.LC6:
	.ascii	"Unable to set RX context %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ixl_initialize_vsi
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixl_initialize_vsi, %function
ixl_initialize_vsi:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	ldr	r3, .L36
	sub	sp, sp, #340
	ldr	r0, [r0, #12]
	ldr	r3, [r3]
	str	r3, [sp, #332]
	mov	r3,#0
	ldr	r8, [r5, #52]
	bl	iflib_get_softc_ctx
	mov	r3, r0
	str	r3, [sp, #40]
	ldr	r3, [r5, #44]
	ldr	r0, [r5, #12]
	str	r3, [sp, #44]
	ldr	r7, [r5, #48]
	bl	iflib_get_dev
	mov	r3, r0
	mov	r2, #132
	mov	r1, #0
	add	r0, sp, #60
	ldr	r6, [r5, #8]
	str	r3, [sp, #48]
	bl	memset
	ldr	r3, [r8]
	ldr	r2, [r5, #40]
	cmp	r3, #0
	strne	r3, [sp, #60]
	ldr	r3, [r6]
	str	r2, [sp, #192]
	mov	r0, r6
	mov	r2, #0
	add	r1, sp, #60
	str	r3, [sp, #64]
	bl	i40e_aq_get_vsi_params
	subs	r4, r0, #0
	bne	.L30
	ldr	r3, [sp, #168]
	ldr	r1, .L36+4
	ldr	ip, [sp, #172]
	ldr	r1, [r1]
	ldr	r0, [sp, #180]
	ldr	r2, [sp, #64]
	str	r3, [sp, #32]
	ldr	r3, [sp, #140]
	str	ip, [sp, #28]
	str	r0, [sp, #24]
	ldr	ip, [sp, #184]
	ldr	r0, [sp, #188]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	ldr	r2, [sp, #176]
	ldr	r3, [sp, #60]
	str	ip, [sp, #12]
	str	r0, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r2, .L36+8
	ldr	r3, [sp, #192]
	mov	r0, r8
	bl	ixl_dbg
	ldr	r3, .L36+12
	ldr	r2, .L36+16
	ldr	r0, [r3]
	ldr	r3, [sp, #164]
	ldr	r1, [r2]
	ldr	r2, [sp, #160]
	orr	r3, r3, r0
	str	r3, [sp, #164]
	str	r1, [sp, #152]
	ldr	r0, [r8, #12]
	str	r4, [r2]
	bl	fls
	ldr	lr, .L36+20
	ldr	r2, .L36+24
	ldr	r1, .L36+28
	ldr	r3, .L36+32
	ldr	ip, [r8, #8]
	ldr	lr, [lr]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	r0, r0, #1
	and	r2, r2, r0, lsl lr
	and	r3, r3, ip, lsl r1
	ldr	r0, [sp, #144]
	orr	r3, r3, r2
	ldr	r1, .L36+36
	str	r3, [r0]
	ldr	r2, .L36+40
	ldr	r3, [sp, #152]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	ldr	r0, [r5, #36]
	str	r2, [sp, #156]
	str	r3, [sp, #152]
	bl	if_getcapenable
	mov	r4, #0
	ldr	r3, .L36+44
	ldr	r1, [sp, #176]
	ldr	r3, [r3]
	tst	r0, r3
	ldrne	r2, .L36+48
	ldreq	r2, .L36+52
	ldr	r3, [sp, #156]
	ldr	r2, [r2]
	add	r0, sp, #144
	orr	r3, r3, r2
	str	r1, [r5, #32]
	mov	r2, #4
	add	r1, r5, #20
	str	r3, [sp, #156]
	bl	bcopy
	mov	r0, r5
	bl	ixl_vsi_reset_stats
	ldr	r3, .L36+56
	str	r4, [r5, #28]
	ldr	r0, [r3]
	str	r4, [r5, #24]
	bl	htole16
	mov	r3, r0
	mov	r2, r4
	mov	r0, r6
	add	r1, sp, #60
	str	r3, [sp, #140]
	bl	i40e_aq_update_vsi_params
	subs	r10, r0, #0
	bne	.L31
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r9, r10
	strgt	r10, [sp, #52]
	addgt	fp, sp, #196
	movgt	r10, r9
	bgt	.L13
	b	.L17
.L10:
	mov	r2, fp
	mov	r1, r10
	mov	r0, r6
	bl	i40e_set_lan_tx_queue_context
	cmp	r0, #0
	bne	.L32
	ldr	r3, .L36+60
	ldr	r0, [r6]
	ldr	r1, [r3]
	ldr	r3, .L36+64
	ldr	r4, [r3]
	ldr	r3, .L36+68
	and	r4, r4, r0, lsl r1
	ldr	r2, [r3]
	mov	r0, r10
	orr	r4, r4, r2
	bl	I40E_QTX_CTL
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	wr32
	mov	r0, r6
	bl	ixl_flush
	mov	r1, r8
	mov	r0, r5
	bl	ixl_init_tx_ring
	ldr	r2, [r5]
	add	r10, r10, #1
	cmp	r2, r10
	ble	.L33
.L13:
	mov	r4, #1
	mov	r1, #32
	mov	r0, fp
	bl	bzero
	str	r4, [sp, #196]
	ldr	r3, .L36+72
	mov	r8, r7
	ldr	r9, [r7], #4
	ldr	r1, [r3]
	mov	r0, r9
	bl	__aeabi_idiv
	mov	lr, #0
	ldr	r3, [sp, #40]
	ldr	ip, [r3]
	str	r0, [sp, #200]
	ldr	r1, [ip]
	ldr	r0, [r5, #20]
	str	r1, [sp, #204]
	ldr	r1, [r5, #16]
	ldr	r0, [r0]
	cmp	r1, lr
	str	r0, [sp, #220]
	strne	r4, [sp, #208]
	ldrne	r1, [ip]
	streq	r1, [sp, #208]
	addne	r2, r9, r1, lsl #2
	strne	r2, [sp, #212]
	mov	r2, #0
	streq	r1, [sp, #212]
	mov	r0, r6
	mov	r1, r10
	str	lr, [sp, #224]
	str	r2, [sp, #216]
	bl	i40e_clear_lan_tx_queue_context
	cmp	r0, #0
	beq	.L10
	mov	r4, r0
	ldr	r1, .L36+76
	ldr	r0, [sp, #48]
	ldr	r10, [sp, #52]
	bl	device_printf
.L14:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #44]
	add	fp, sp, #196
	add	r9, r3, #8
	mov	r3, fp
	mov	r8, #0
	mov	fp, r10
	mov	r7, #1
	mov	r10, r3
	b	.L21
.L18:
	mov	r2, r10
	mov	r1, fp
	mov	r0, r6
	bl	i40e_set_lan_rx_queue_context
	subs	r4, r0, #0
	bne	.L34
	ldr	r3, [r5, #8]
	mov	r0, fp
	str	r3, [sp, #44]
	bl	I40E_QRX_TAIL
	ldr	r3, [sp, #44]
	mov	r1, r0
	mov	r2, r4
	mov	r0, r3
	bl	wr32
	ldr	r1, [r5, #4]
	add	fp, fp, #1
	cmp	r1, fp
	add	r9, r9, #8
	ble	.L1
.L21:
	ldr	r0, [r5, #12]
	bl	iflib_get_rx_mbuf_sz
	str	r0, [r9, #-8]
	ldr	r4, [r6, #4]
	mov	r2, #136
	mul	r4, r0, r4
	mov	r1, #0
	mov	r0, r10
	bl	memset
	ldr	r3, [sp, #40]
	ldr	r1, .L36+80
	ldr	r0, [r3, #4]
	ldr	r2, [r9, #-8]
	cmp	r0, r4
	movlt	r4, r0
	ldr	r1, [r1]
	str	r8, [sp, #208]
	asr	r2, r2, r1
	str	r2, [sp, #204]
	ldr	r2, .L36+84
	str	r7, [sp, #212]
	ldr	r0, [r9, #-4]
	ldr	r1, [r2]
	str	r4, [sp, #272]
	str	r8, [sp, #268]
	str	r8, [sp, #264]
	bl	__aeabi_idiv
	ldr	r3, [sp, #40]
	mov	r1, fp
	ldr	r2, [r3, #8]
	str	r0, [sp, #216]
	ldr	r2, [r2]
	mov	r0, r6
	str	r2, [sp, #260]
	str	r7, [sp, #220]
	str	r7, [sp, #224]
	str	r8, [sp, #256]
	str	r8, [sp, #252]
	str	r7, [sp, #228]
	str	r7, [sp, #232]
	str	r7, [sp, #236]
	str	r7, [sp, #240]
	str	r8, [sp, #248]
	str	r7, [sp, #244]
	bl	i40e_clear_lan_rx_queue_context
	subs	r4, r0, #0
	beq	.L18
	mov	r2, fp
	ldr	r0, [sp, #48]
	ldr	r1, .L36+88
	bl	device_printf
	b	.L1
.L30:
	mov	r2, r4
	ldr	r3, [r6, #8]
	ldr	r0, [sp, #48]
	ldr	r1, .L36+92
	bl	device_printf
.L1:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [sp, #332]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	mov	r0, r4
	add	sp, sp, #340
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	ldr	r10, [sp, #52]
.L17:
	mov	r4, #0
	b	.L14
.L34:
	mov	r2, fp
	ldr	r0, [sp, #48]
	ldr	r1, .L36+96
	bl	device_printf
	b	.L1
.L32:
	mov	r4, r0
	ldr	r1, .L36+100
	ldr	r0, [sp, #48]
	ldr	r10, [sp, #52]
	bl	device_printf
	b	.L14
.L31:
	mov	r2, r10
	ldr	r3, [r6, #8]
	ldr	r0, [sp, #48]
	ldr	r1, .L36+104
	mov	r4, r10
	bl	device_printf
	b	.L1
.L35:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	.LC7
	.word	IXL_DBG_SWITCH_INFO
	.word	.LC1
	.word	I40E_AQ_VSI_QUE_MAP_CONTIG
	.word	I40E_AQ_VSI_PROP_QUEUE_MAP_VALID
	.word	I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT
	.word	I40E_AQ_VSI_TC_QUE_NUMBER_MASK
	.word	I40E_AQ_VSI_TC_QUE_OFFSET_SHIFT
	.word	I40E_AQ_VSI_TC_QUE_OFFSET_MASK
	.word	I40E_AQ_VSI_PROP_VLAN_VALID
	.word	I40E_AQ_VSI_PVLAN_MODE_ALL
	.word	IFCAP_VLAN_HWTAGGING
	.word	I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH
	.word	I40E_AQ_VSI_PVLAN_EMOD_NOTHING
	.word	I40E_AQ_VSI_TYPE_PF
	.word	I40E_QTX_CTL_PF_INDX_SHIFT
	.word	I40E_QTX_CTL_PF_INDX_MASK
	.word	I40E_QTX_CTL_PF_QUEUE
	.word	IXL_TX_CTX_BASE_UNITS
	.word	.LC3
	.word	I40E_RXQ_CTX_DBUFF_SHIFT
	.word	IXL_RX_CTX_BASE_UNITS
	.word	.LC5
	.word	.LC0
	.word	.LC6
	.word	.LC4
	.word	.LC2
	.size	ixl_initialize_vsi, .-ixl_initialize_vsi
	.comm	ixl_enable_iwarp,4,4
	.comm	IXL_TX_CTX_BASE_UNITS,4,4
	.comm	IXL_RX_CTX_BASE_UNITS,4,4
	.comm	IXL_DBG_SWITCH_INFO,4,4
	.comm	IFCAP_VLAN_HWTAGGING,4,4
	.comm	I40E_RXQ_CTX_HBUFF_SHIFT,4,4
	.comm	I40E_RXQ_CTX_DBUFF_SHIFT,4,4
	.comm	I40E_QTX_CTL_PF_QUEUE,4,4
	.comm	I40E_QTX_CTL_PF_INDX_SHIFT,4,4
	.comm	I40E_QTX_CTL_PF_INDX_MASK,4,4
	.comm	I40E_AQ_VSI_TYPE_PF,4,4
	.comm	I40E_AQ_VSI_TC_QUE_OFFSET_SHIFT,4,4
	.comm	I40E_AQ_VSI_TC_QUE_OFFSET_MASK,4,4
	.comm	I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT,4,4
	.comm	I40E_AQ_VSI_TC_QUE_NUMBER_MASK,4,4
	.comm	I40E_AQ_VSI_QUE_OPT_TCP_ENA,4,4
	.comm	I40E_AQ_VSI_QUE_MAP_CONTIG,4,4
	.comm	I40E_AQ_VSI_PVLAN_MODE_ALL,4,4
	.comm	I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH,4,4
	.comm	I40E_AQ_VSI_PVLAN_EMOD_NOTHING,4,4
	.comm	I40E_AQ_VSI_PROP_VLAN_VALID,4,4
	.comm	I40E_AQ_VSI_PROP_QUEUE_OPT_VALID,4,4
	.comm	I40E_AQ_VSI_PROP_QUEUE_MAP_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
