	.file	"extr_farch.c_ef4_farch_rx_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"RX queue %d ring in special buffers %d-%d\n"
	.text
	.p2align 4
	.globl	ef4_farch_rx_init
	.type	ef4_farch_rx_init, @function
ef4_farch_rx_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, 1
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r12, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rdi, r12
	call	ef4_nic_rev@PLT
	mov	rdx, QWORD PTR EF4_REV_FALCON_B0[rip]
	cmp	rax, rdx
	setge	r14b
	jl	.L2
	xor	r15d, r15d
	cmp	QWORD PTR 16[r12], 0
	setne	r15b
.L2:
	mov	r13, QWORD PTR 8[rbp]
	mov	rbx, QWORD PTR 0[rbp]
	mov	rdi, rbp
	call	ef4_rx_queue_index@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rdi, r12
	mov	edx, DWORD PTR 8[r12]
	add	rbx, r13
	mov	esi, DWORD PTR hw[rip]
	mov	r9, r13
	mov	r8d, eax
	sub	rbx, 1
	lea	rcx, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 128
	call	netif_dbg@PLT
	mov	QWORD PTR 16[rbp], 0
	mov	rsi, rbp
	mov	rdi, r12
	call	ef4_init_special_buffer@PLT
	mov	r9d, DWORD PTR FRF_AZ_RX_DESCQ_EN[rip]
	mov	r8d, DWORD PTR FRF_AZ_RX_DESCQ_JUMBO[rip]
	mov	esi, DWORD PTR FRF_AZ_RX_DESCQ_TYPE[rip]
	mov	rdi, QWORD PTR 0[rbp]
	mov	DWORD PTR 44[rsp], r9d
	mov	DWORD PTR 40[rsp], r8d
	mov	DWORD PTR 36[rsp], esi
	call	__ffs@PLT
	mov	ecx, DWORD PTR FRF_AZ_RX_DESCQ_SIZE[rip]
	mov	rdi, rbp
	mov	r13d, eax
	mov	DWORD PTR 32[rsp], ecx
	call	ef4_rx_queue_index@PLT
	mov	r10d, DWORD PTR FRF_AZ_RX_DESCQ_LABEL[rip]
	mov	edx, DWORD PTR FRF_AZ_RX_DESCQ_OWNER_ID[rip]
	mov	rdi, rbp
	mov	ebx, eax
	mov	DWORD PTR 28[rsp], r10d
	mov	DWORD PTR 24[rsp], edx
	call	ef4_rx_queue_channel@PLT
	mov	r9d, DWORD PTR 44[rsp]
	mov	DWORD PTR [rsp], 1
	push	r9
	.cfi_def_cfa_offset 136
	mov	r9d, DWORD PTR FRF_AZ_RX_DESCQ_BUF_BASE_ID[rip]
	push	r15
	.cfi_def_cfa_offset 144
	mov	r8d, DWORD PTR 56[rsp]
	push	r8
	.cfi_def_cfa_offset 152
	mov	r8d, r14d
	push	0
	.cfi_def_cfa_offset 160
	mov	esi, DWORD PTR 68[rsp]
	push	rsi
	.cfi_def_cfa_offset 168
	mov	esi, DWORD PTR FRF_AZ_RX_ISCSI_DDIG_EN[rip]
	push	r13
	.cfi_def_cfa_offset 176
	mov	ecx, DWORD PTR 80[rsp]
	push	rcx
	.cfi_def_cfa_offset 184
	mov	ecx, DWORD PTR FRF_AZ_RX_ISCSI_HDIG_EN[rip]
	push	rbx
	.cfi_def_cfa_offset 192
	mov	r10d, DWORD PTR 92[rsp]
	push	r10
	.cfi_def_cfa_offset 200
	push	0
	.cfi_def_cfa_offset 208
	mov	edx, DWORD PTR 104[rsp]
	push	rdx
	.cfi_def_cfa_offset 216
	mov	eax, DWORD PTR [rax]
	mov	edx, r14d
	push	rax
	.cfi_def_cfa_offset 224
	mov	eax, DWORD PTR FRF_AZ_RX_DESCQ_EVQ_ID[rip]
	push	rax
	.cfi_def_cfa_offset 232
	push	QWORD PTR 8[rbp]
	.cfi_def_cfa_offset 240
	mov	edi, DWORD PTR 164[rsp]
	call	EF4_POPULATE_OWORD_10@PLT
	sub	rsp, -128
	.cfi_def_cfa_offset 112
	mov	rdi, rbp
	call	ef4_rx_queue_index@PLT
	lea	rsi, 36[rsp]
	mov	rdi, r12
	mov	ecx, eax
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR [rax]
	call	ef4_writeo_table@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 56
	.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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ef4_farch_rx_init, .-ef4_farch_rx_init
	.comm	hw,4,4
	.comm	FRF_AZ_RX_ISCSI_HDIG_EN,4,4
	.comm	FRF_AZ_RX_ISCSI_DDIG_EN,4,4
	.comm	FRF_AZ_RX_DESCQ_TYPE,4,4
	.comm	FRF_AZ_RX_DESCQ_SIZE,4,4
	.comm	FRF_AZ_RX_DESCQ_OWNER_ID,4,4
	.comm	FRF_AZ_RX_DESCQ_LABEL,4,4
	.comm	FRF_AZ_RX_DESCQ_JUMBO,4,4
	.comm	FRF_AZ_RX_DESCQ_EVQ_ID,4,4
	.comm	FRF_AZ_RX_DESCQ_EN,4,4
	.comm	FRF_AZ_RX_DESCQ_BUF_BASE_ID,4,4
	.comm	EF4_REV_FALCON_B0,8,8
	.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_farch.c_ef4_farch_rx_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RX queue %d ring in special buffers %d-%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ef4_farch_rx_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	ef4_farch_rx_init, %function
ef4_farch_rx_init:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r0, #12]
	ldr	r3, .L8
	sub	sp, sp, #116
	mov	r4, r0
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [sp, #108]
	mov	r3,#0
	bl	ef4_nic_rev
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r0, r3
	movlt	r3, #1
	movge	r8, #1
	movlt	r8, #0
	strlt	r3, [sp, #92]
	blt	.L2
	ldr	r3, [r5, #8]
	subs	r3, r3, #0
	movne	r3, #1
	str	r3, [sp, #92]
.L2:
	ldr	r3, .L8+8
	mov	r0, r4
	ldr	r9, [r3]
	ldr	r7, [r5, #4]
	bl	ef4_rx_queue_index
	ldm	r4, {r3, ip}
	mov	r6, #0
	add	r3, ip, r3
	sub	r3, r3, #1
	mov	r2, r7
	stm	sp, {r0, ip}
	mov	r1, r9
	str	r3, [sp, #8]
	mov	r0, r5
	ldr	r3, .L8+12
	bl	netif_dbg
	mov	r1, r4
	str	r6, [r4, #8]
	mov	r0, r5
	bl	ef4_init_special_buffer
	ldr	r3, .L8+16
	ldr	r2, .L8+20
	ldr	r3, [r3]
	ldr	ip, .L8+24
	ldr	r1, .L8+28
	str	r3, [sp, #100]
	ldr	r3, [r2]
	ldr	r2, [r4, #4]
	mov	r0, r4
	ldr	r9, [r1]
	str	r3, [sp, #76]
	ldr	fp, [ip]
	ldr	r10, [sp, #104]
	str	r2, [sp, #72]
	bl	ef4_rx_queue_channel
	mov	ip, r0
	ldr	r2, .L8+32
	ldr	r1, .L8+36
	ldr	ip, [ip]
	ldr	lr, [r1]
	ldr	r1, [r2]
	mov	r0, r4
	str	ip, [sp, #80]
	str	lr, [sp, #84]
	str	r1, [sp, #88]
	bl	ef4_rx_queue_index
	ldr	r2, .L8+40
	mov	r7, r0
	ldr	r2, [r2]
	ldr	r0, [r4]
	str	r2, [sp, #96]
	bl	__ffs
	mov	ip, #1
	ldr	r2, [sp, #96]
	ldr	r1, .L8+44
	str	r9, [sp, #4]
	ldr	r9, [r1]
	str	r2, [sp, #36]
	ldr	r1, .L8+48
	ldr	r2, .L8+52
	ldr	lr, [r1]
	ldr	r3, [r2]
	ldr	r1, [sp, #88]
	ldr	r2, [sp, #72]
	str	r3, [sp, #52]
	str	r1, [sp, #28]
	ldr	r3, [sp, #76]
	ldr	r1, [sp, #80]
	str	r7, [sp, #32]
	str	r6, [sp, #24]
	ldr	r7, [sp, #84]
	str	r6, [sp, #48]
	ldr	r6, [sp, #92]
	str	r1, [sp, #16]
	str	r3, [sp, #12]
	mov	r1, fp
	ldr	r3, [sp, #100]
	str	r2, [sp, #8]
	str	r0, [sp, #40]
	mov	r2, r8
	mov	r0, r10
	str	r8, [sp]
	str	lr, [sp, #60]
	str	ip, [sp, #64]
	str	r7, [sp, #20]
	str	r9, [sp, #44]
	str	r6, [sp, #56]
	bl	EF4_POPULATE_OWORD_10
	ldr	r3, [r5]
	mov	r0, r4
	ldr	r4, [r3]
	bl	ef4_rx_queue_index
	mov	r2, r4
	mov	r3, r0
	add	r1, sp, #104
	mov	r0, r5
	bl	ef4_writeo_table
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #116
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	EF4_REV_FALCON_B0
	.word	hw
	.word	.LC0
	.word	FRF_AZ_RX_ISCSI_HDIG_EN
	.word	FRF_AZ_RX_DESCQ_EVQ_ID
	.word	FRF_AZ_RX_ISCSI_DDIG_EN
	.word	FRF_AZ_RX_DESCQ_BUF_BASE_ID
	.word	FRF_AZ_RX_DESCQ_LABEL
	.word	FRF_AZ_RX_DESCQ_OWNER_ID
	.word	FRF_AZ_RX_DESCQ_SIZE
	.word	FRF_AZ_RX_DESCQ_TYPE
	.word	FRF_AZ_RX_DESCQ_EN
	.word	FRF_AZ_RX_DESCQ_JUMBO
	.size	ef4_farch_rx_init, .-ef4_farch_rx_init
	.comm	hw,4,4
	.comm	FRF_AZ_RX_ISCSI_HDIG_EN,4,4
	.comm	FRF_AZ_RX_ISCSI_DDIG_EN,4,4
	.comm	FRF_AZ_RX_DESCQ_TYPE,4,4
	.comm	FRF_AZ_RX_DESCQ_SIZE,4,4
	.comm	FRF_AZ_RX_DESCQ_OWNER_ID,4,4
	.comm	FRF_AZ_RX_DESCQ_LABEL,4,4
	.comm	FRF_AZ_RX_DESCQ_JUMBO,4,4
	.comm	FRF_AZ_RX_DESCQ_EVQ_ID,4,4
	.comm	FRF_AZ_RX_DESCQ_EN,4,4
	.comm	FRF_AZ_RX_DESCQ_BUF_BASE_ID,4,4
	.comm	EF4_REV_FALCON_B0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
