	.file	"extr_cxgb4_ethtool.c_set_dbqtimer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_dbqtimer, @function
set_dbqtimer:
.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	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	r14, QWORD PTR 16[rax]
	mov	r12, rax
	mov	eax, DWORD PTR [r14]
	test	DWORD PTR CXGB4_SGE_DBQ_TIMER[rip], eax
	je	.L8
	mov	r13d, DWORD PTR INT_MAX[rip]
	mov	rdi, QWORD PTR 16[r14]
	xor	r15d, r15d
	xor	ebp, ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 16[r14]
	mov	edx, ebx
	mov	eax, DWORD PTR [rdi+r15*4]
	sub	edx, eax
	sub	eax, ebx
	cmovs	eax, edx
	cmp	eax, r13d
	jge	.L6
	mov	r13d, eax
	mov	ebp, r15d
.L6:
	add	r15, 1
.L4:
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jg	.L7
	mov	rdx, QWORD PTR [r12]
	mov	rax, QWORD PTR 24[r14]
	lea	r15, [rax+rdx*8]
	cmp	DWORD PTR [r15], ebp
	je	.L8
	mov	esi, DWORD PTR 8[r12]
	test	esi, esi
	jle	.L8
	lea	rax, 16[rsp]
	xor	ebx, ebx
	mov	QWORD PTR 8[rsp], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	mov	DWORD PTR [r15+rbx*8], ebp
	add	rbx, 1
	cmp	DWORD PTR 8[r12], ebx
	jle	.L8
.L10:
	mov	eax, DWORD PTR [r14]
	test	DWORD PTR CXGB4_FULL_INIT_DONE[rip], eax
	je	.L20
	mov	edi, DWORD PTR FW_PARAMS_MNEM_DMAQ[rip]
	call	FW_PARAMS_MNEM_V@PLT
	mov	edi, DWORD PTR FW_PARAMS_PARAM_DMAQ_EQ_TIMERIX[rip]
	mov	r13d, eax
	call	FW_PARAMS_PARAM_X_V@PLT
	mov	edi, DWORD PTR 4[r15+rbx*8]
	or	r13d, eax
	call	FW_PARAMS_PARAM_YZ_V@PLT
	mov	DWORD PTR 20[rsp], ebp
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	xor	ecx, ecx
	or	r13d, eax
	mov	edx, DWORD PTR 4[r14]
	mov	esi, DWORD PTR 8[r14]
	mov	rdi, r14
	mov	DWORD PTR 24[rsp], r13d
	lea	rax, 28[rsp]
	mov	r8d, 1
	push	rax
	.cfi_def_cfa_offset 112
	mov	r9, QWORD PTR 24[rsp]
	call	t4_set_params@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	test	eax, eax
	jne	.L1
	mov	DWORD PTR [r15+rbx*8], ebp
	add	rbx, 1
	cmp	DWORD PTR 8[r12], ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.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
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_dbqtimer, .-set_dbqtimer
	.comm	INT_MAX,4,4
	.comm	FW_PARAMS_PARAM_DMAQ_EQ_TIMERIX,4,4
	.comm	FW_PARAMS_MNEM_DMAQ,4,4
	.comm	CXGB4_SGE_DBQ_TIMER,4,4
	.comm	CXGB4_FULL_INIT_DONE,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_cxgb4_ethtool.c_set_dbqtimer.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_dbqtimer, %function
set_dbqtimer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L20
	sub	sp, sp, #32
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r7, r1
	bl	netdev_priv
	ldr	r3, .L20+4
	ldr	r5, [r0, #8]
	ldr	r3, [r3]
	ldr	r2, [r5]
	tst	r2, r3
	beq	.L8
	mov	r6, #0
	ldr	r3, .L20+8
	mov	r8, r0
	mov	r4, r6
	ldr	r9, [r3]
	ldr	r0, [r5, #12]
	b	.L4
.L7:
	ldr	r0, [r5, #12]
	ldr	r2, [r0, r4, lsl #2]
	subs	r3, r2, r7
	submi	r3, r7, r2
	cmp	r3, r9
	movlt	r9, r3
	movlt	r6, r4
	add	r4, r4, #1
.L4:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L7
	ldr	r3, [r8]
	ldr	r4, [r5, #16]
	ldr	r2, [r4, r3, lsl #3]
	add	r4, r4, r3, lsl #3
	cmp	r2, r6
	beq	.L8
	ldr	r3, [r8, #4]
	cmp	r3, #0
	ble	.L8
	mov	r7, #0
	ldr	r9, .L20+12
	add	r4, r4, #8
	b	.L10
.L11:
	str	r6, [r4, #-8]
	ldr	r3, [r8, #4]
	add	r7, r7, #1
	cmp	r3, r7
	add	r4, r4, #8
	ble	.L8
.L10:
	ldr	r2, [r5]
	ldr	r3, [r9]
	tst	r2, r3
	beq	.L11
	ldr	r3, .L20+16
	ldr	r0, [r3]
	bl	FW_PARAMS_MNEM_V
	ldr	r3, .L20+20
	mov	r10, r0
	ldr	r0, [r3]
	bl	FW_PARAMS_PARAM_X_V
	mov	ip, r0
	ldr	r0, [r4, #-4]
	orr	r10, r10, ip
	bl	FW_PARAMS_PARAM_YZ_V
	mov	lr, #1
	orr	ip, r10, r0
	add	r3, sp, #20
	add	r0, sp, #24
	ldr	r2, [r5, #4]
	ldr	r1, [r5, #8]
	str	r0, [sp, #8]
	str	r3, [sp, #4]
	mov	r0, r5
	mov	r3, #0
	str	lr, [sp]
	str	ip, [sp, #20]
	str	r6, [sp, #24]
	bl	t4_set_params
	cmp	r0, #0
	beq	.L11
	b	.L1
.L8:
	mov	r0, #0
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	CXGB4_SGE_DBQ_TIMER
	.word	INT_MAX
	.word	CXGB4_FULL_INIT_DONE
	.word	FW_PARAMS_MNEM_DMAQ
	.word	FW_PARAMS_PARAM_DMAQ_EQ_TIMERIX
	.size	set_dbqtimer, .-set_dbqtimer
	.comm	INT_MAX,4,4
	.comm	FW_PARAMS_PARAM_DMAQ_EQ_TIMERIX,4,4
	.comm	FW_PARAMS_MNEM_DMAQ,4,4
	.comm	CXGB4_SGE_DBQ_TIMER,4,4
	.comm	CXGB4_FULL_INIT_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
