	.file	"extr_nicvf_queues.c_nicvf_config_data_transfer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nicvf_config_data_transfer
	.type	nicvf_config_data_transfer, @function
nicvf_config_data_transfer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	test	rbx, rbx
	je	.L35
	mov	rbp, rdi
	mov	r12d, esi
	test	esi, esi
	jne	.L4
	mov	r10d, DWORD PTR 12[rbx]
	mov	r12d, DWORD PTR FALSE[rip]
	xor	r13d, r13d
	test	r10d, r10d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_rcv_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 12[rbx], r13d
	jg	.L5
.L6:
	mov	ecx, DWORD PTR 8[rbx]
	test	ecx, ecx
	jle	.L16
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_rbdr_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 8[rbx], r13d
	jg	.L17
.L16:
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jle	.L18
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_snd_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR [rbx], r13d
	jg	.L19
.L18:
	mov	eax, DWORD PTR 4[rbx]
	test	eax, eax
	jle	.L20
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_cmp_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 4[rbx], r13d
	jg	.L21
.L20:
	mov	rdi, rbp
	call	nicvf_free_resources@PLT
.L35:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	nicvf_alloc_resources@PLT
	mov	r8, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	test	r8, r8
	jne	.L1
	mov	r9d, DWORD PTR [rbx]
	xor	r13d, r13d
	test	r9d, r9d
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_snd_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR [rbx], r13d
	jg	.L8
.L9:
	mov	r8d, DWORD PTR 4[rbx]
	test	r8d, r8d
	jle	.L10
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_cmp_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 4[rbx], r13d
	jg	.L11
.L10:
	mov	edi, DWORD PTR 8[rbx]
	test	edi, edi
	jle	.L12
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_rbdr_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 8[rbx], r13d
	jg	.L13
.L12:
	mov	esi, DWORD PTR 12[rbx]
	test	esi, esi
	jle	.L35
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, r13d
	mov	ecx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	nicvf_rcv_queue_config@PLT
	add	r13d, 1
	cmp	DWORD PTR 12[rbx], r13d
	jg	.L15
	jmp	.L35
	.cfi_endproc
.LFE0:
	.size	nicvf_config_data_transfer, .-nicvf_config_data_transfer
	.comm	FALSE,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_nicvf_queues.c_nicvf_config_data_transfer.c"
	.text
	.align	2
	.global	nicvf_config_data_transfer
	.syntax unified
	.arm
	.fpu softvfp
	.type	nicvf_config_data_transfer, %function
nicvf_config_data_transfer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L33
	cmp	r1, #0
	mov	r6, r0
	mov	r5, r1
	bne	.L4
	ldr	r2, [r4, #12]
	ldr	r3, .L35
	cmp	r2, #0
	ldr	r7, [r3]
	ble	.L6
.L5:
	mov	r3, r7
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_rcv_queue_config
	ldr	r3, [r4, #12]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L5
.L6:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	ble	.L16
	mov	r5, #0
.L17:
	mov	r3, r7
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_rbdr_config
	ldr	r3, [r4, #8]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L17
.L16:
	ldr	r3, [r4]
	cmp	r3, #0
	ble	.L18
	mov	r5, #0
.L19:
	mov	r3, r7
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_snd_queue_config
	ldr	r3, [r4]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L19
.L18:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	ble	.L20
	mov	r5, #0
.L21:
	mov	r3, r7
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_cmp_queue_config
	ldr	r3, [r4, #4]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L21
.L20:
	mov	r0, r6
	bl	nicvf_free_resources
.L33:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	bl	nicvf_alloc_resources
	subs	r7, r0, #0
	bne	.L7
	ldr	r3, [r4]
	cmp	r3, #0
	movgt	r8, r7
	ble	.L9
.L8:
	mov	r3, r5
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_snd_queue_config
	ldr	r3, [r4]
	add	r8, r8, #1
	cmp	r3, r8
	bgt	.L8
.L9:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	ble	.L10
	mov	r8, #0
.L11:
	mov	r3, r5
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_cmp_queue_config
	ldr	r3, [r4, #4]
	add	r8, r8, #1
	cmp	r3, r8
	bgt	.L11
.L10:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	ble	.L12
	mov	r8, #0
.L13:
	mov	r3, r5
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_rbdr_config
	ldr	r3, [r4, #8]
	add	r8, r8, #1
	cmp	r3, r8
	bgt	.L13
.L12:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	ble	.L33
.L15:
	mov	r3, r5
	mov	r2, r7
	mov	r1, r4
	mov	r0, r6
	bl	nicvf_rcv_queue_config
	ldr	r3, [r4, #12]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L15
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L35+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L36:
	.align	2
.L35:
	.word	FALSE
	.word	ENOMEM
	.size	nicvf_config_data_transfer, .-nicvf_config_data_transfer
	.comm	FALSE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
