	.file	"extr_mlx4_cmd.c_mlx4_master_immediate_activate_vlan_qos.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"updating immediately admin params slave %d port %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"vlan %d QoS %d link down\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"No vlan resources slave %d, port %d\n"
	.align 8
.LC3:
	.string	"alloc vlan %d idx  %d slave %d port %d\n"
	.text
	.p2align 4
	.type	mlx4_master_immediate_activate_vlan_qos, @function
mlx4_master_immediate_activate_vlan_qos:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r8d, esi
	lea	r15, 32[rdi]
	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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movsx	rbx, edx
	lea	rcx, [rbx+rbx*4]
	mov	r14, rbx
	sal	rbx, 5
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rdx, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR NO_INDX[rip]
	mov	DWORD PTR 20[rsp], eax
	movsx	rax, esi
	mov	rdx, QWORD PTR [rdx+rax*8]
	lea	r13, [rdx+rcx*8]
	mov	rdx, QWORD PTR 16[rdi]
	add	rbx, QWORD PTR [rdx+rax*8]
	mov	rsi, QWORD PTR 24[rbx]
	cmp	QWORD PTR 24[r13], rsi
	je	.L21
.L2:
	mov	rdx, QWORD PTR 8[r12]
	cmp	QWORD PTR [rdx+rax*8], 0
	je	.L14
	mov	eax, DWORD PTR 32[r12]
	test	DWORD PTR MLX4_DEV_CAP_FLAG2_UPDATE_QP[rip], eax
	je	.L14
	mov	edx, r8d
	mov	ecx, r14d
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r8d
	call	mlx4_dbg@PLT
	mov	ecx, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR 24[rbx]
	mov	rdi, r15
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	mlx4_dbg@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 80
	call	kzalloc@PLT
	mov	r9d, DWORD PTR ENOMEM[rip]
	mov	r8d, DWORD PTR 8[rsp]
	mov	rbp, rax
	neg	r9d
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR 24[rbx]
	cmp	QWORD PTR 24[r13], rdx
	je	.L15
	cmp	rdx, QWORD PTR MLX4_VGT[rip]
	jne	.L22
	mov	ecx, DWORD PTR NO_INDX[rip]
	mov	DWORD PTR 20[rsp], ecx
.L8:
	mov	eax, DWORD PTR MLX4_VF_IMMED_VLAN_FLAG_VLAN[rip]
	or	DWORD PTR 0[rbp], eax
	mov	rdi, r15
	mov	r9d, r14d
	lea	rsi, .LC3[rip]
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r8d
	call	mlx4_dbg@PLT
	mov	rdx, QWORD PTR 24[r13]
	mov	rdi, QWORD PTR 24[rbx]
	mov	r8d, DWORD PTR 8[rsp]
.L5:
	mov	ecx, DWORD PTR 0[r13]
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 72[rbp], rdx
	mov	edx, DWORD PTR 16[rbx]
	mov	DWORD PTR 4[rbp], ecx
	cmp	DWORD PTR 32[r13], edx
	je	.L9
	or	eax, DWORD PTR MLX4_VF_IMMED_VLAN_FLAG_QOS[rip]
.L9:
	test	DWORD PTR MLX4_VF_IMMED_VLAN_FLAG_VLAN[rip], eax
	je	.L10
	mov	ecx, DWORD PTR 20[rsp]
	mov	DWORD PTR 0[r13], ecx
.L10:
	mov	rsi, QWORD PTR [rbx]
	mov	r9, QWORD PTR 8[rbx]
	mov	QWORD PTR 24[r13], rdi
	add	rbp, 40
	or	eax, DWORD PTR MLX4_VF_IMMED_VLAN_FLAG_LINK_DISABLE[rip]
	mov	DWORD PTR 32[r13], edx
	mov	QWORD PTR 16[r13], r9
	mov	QWORD PTR 8[r13], rsi
	mov	QWORD PTR -24[rbp], r9
	mov	DWORD PTR -28[rbp], r8d
	mov	DWORD PTR 24[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	QWORD PTR -8[rbp], rsi
	mov	esi, DWORD PTR mlx4_vf_immed_vlan_work_handler[rip]
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -32[rbp], r14d
	mov	QWORD PTR 16[rbp], rdi
	mov	QWORD PTR 8[rbp], r12
	mov	rdi, rbp
	call	INIT_WORK@PLT
	mov	edi, DWORD PTR [r12]
	mov	rsi, rbp
	call	queue_work@PLT
	xor	r9d, r9d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r9d
	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
.L22:
	.cfi_restore_state
	lea	rcx, 20[rsp]
	mov	esi, r14d
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], r8d
	call	__mlx4_register_vlan@PLT
	mov	r8d, DWORD PTR 8[rsp]
	test	eax, eax
	jne	.L7
	mov	ecx, DWORD PTR 20[rsp]
	mov	rdx, QWORD PTR 24[rbx]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR 16[rbx]
	cmp	DWORD PTR 32[r13], edi
	jne	.L2
	mov	rdi, QWORD PTR [rbx]
	cmp	QWORD PTR 8[r13], rdi
	jne	.L2
	mov	rcx, QWORD PTR 8[rbx]
	xor	r9d, r9d
	cmp	QWORD PTR 16[r13], rcx
	jne	.L2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rdx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], r8d
	mov	DWORD PTR 8[rsp], eax
	call	kfree@PLT
	mov	r8d, DWORD PTR 12[rsp]
	mov	ecx, r14d
	mov	rdi, r15
	lea	rsi, .LC2[rip]
	mov	edx, r8d
	call	mlx4_warn@PLT
	mov	r9d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r9d, -1
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx4_master_immediate_activate_vlan_qos, .-mlx4_master_immediate_activate_vlan_qos
	.comm	mlx4_vf_immed_vlan_work_handler,4,4
	.comm	NO_INDX,4,4
	.comm	MLX4_VGT,8,8
	.comm	MLX4_VF_IMMED_VLAN_FLAG_VLAN,4,4
	.comm	MLX4_VF_IMMED_VLAN_FLAG_QOS,4,4
	.comm	MLX4_VF_IMMED_VLAN_FLAG_LINK_DISABLE,4,4
	.comm	MLX4_DEV_CAP_FLAG2_UPDATE_QP,4,4
	.comm	GFP_KERNEL,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_mlx4_cmd.c_mlx4_master_immediate_activate_vlan_qos.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"updating immediately admin params slave %d port %d\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"vlan %d QoS %d link down\012\000"
	.align	2
.LC2:
	.ascii	"No vlan resources slave %d, port %d\012\000"
	.align	2
.LC3:
	.ascii	"alloc vlan %d idx  %d slave %d port %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_master_immediate_activate_vlan_qos, %function
mlx4_master_immediate_activate_vlan_qos:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r5, r0
	ldr	r3, [r0, #8]
	ldr	r2, [r0, #12]
	mov	r7, r1
	ldr	r2, [r2, r1, lsl #2]
	ldr	r1, [r3, r1, lsl #2]
	add	r3, r6, r6, lsl #2
	sub	sp, sp, #36
	add	r8, r2, r3, lsl #2
	add	r9, r1, r6, lsl #4
	str	r1, [sp, #20]
	ldr	fp, .L25
	ldr	r1, [r9, #12]
	ldr	r0, [r8, #12]
	str	r2, [sp, #16]
	cmp	r0, r1
	ldr	r2, [fp]
	ldr	r1, .L25+4
	lsl	r3, r3, #2
	ldr	r1, [r1]
	str	r1, [sp, #28]
	mov	r1,#0
	add	r10, r5, #16
	str	r3, [sp, #12]
	str	r2, [sp, #24]
	beq	.L21
.L2:
	ldr	r3, [r5, #4]
	ldr	r3, [r3, r7, lsl #2]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L25+8
	ldr	r2, [r5, #16]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L14
	mov	r3, r6
	mov	r2, r7
	ldr	r1, .L25+12
	mov	r0, r10
	bl	mlx4_dbg
	ldr	r3, [r9, #8]
	ldr	r2, [r9, #12]
	ldr	r1, .L25+16
	mov	r0, r10
	bl	mlx4_dbg
	ldr	r3, .L25+20
	mov	r0, #48
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L22
	ldr	r2, [r9, #12]
	ldr	r3, [r8, #12]
	cmp	r3, r2
	beq	.L15
	ldr	r3, .L25+24
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L23
	ldr	r3, [fp]
	str	r3, [sp, #24]
.L8:
	ldr	fp, .L25+28
	ldr	r1, [r4]
	ldr	r0, [fp]
	orr	r1, r1, r0
	str	r1, [r4]
	mov	r0, r10
	ldr	r1, .L25+32
	str	r6, [sp, #4]
	str	r7, [sp]
	bl	mlx4_dbg
	ldr	r2, [r8, #12]
	ldr	ip, [r9, #12]
.L5:
	ldr	r1, [r9, #8]
	ldr	r3, [r8, #16]
	ldr	lr, [sp, #12]
	ldr	r0, [sp, #16]
	cmp	r3, r1
	ldr	r0, [r0, lr]
	str	r2, [r4, #44]
	ldrne	r2, .L25+36
	ldr	r3, [r4]
	ldrne	r2, [r2]
	str	r0, [r4, #4]
	orrne	r3, r3, r2
	ldr	r2, [fp]
	ldr	r9, [r9, #4]
	tst	r3, r2
	ldrne	r0, [sp, #24]
	ldrne	r2, [sp, #16]
	ldrne	lr, [sp, #12]
	mov	fp, #0
	strne	r0, [r2, lr]
	ldr	r2, .L25+40
	ldr	lr, [sp, #20]
	ldr	r2, [r2]
	ldr	lr, [lr, r6, lsl #4]
	orr	r3, r2, r3
	ldr	r2, .L25+44
	str	lr, [r8, #4]
	str	ip, [r8, #12]
	str	r1, [r8, #16]
	str	r9, [r8, #8]
	add	r8, r4, #28
	str	lr, [r4, #24]
	str	r1, [r4, #40]
	str	ip, [r4, #36]
	ldr	r1, [r2]
	str	r0, [r4, #20]
	str	r3, [r4]
	mov	r0, r8
	str	r9, [r4, #16]
	str	r6, [r4, #8]
	str	r7, [r4, #12]
	str	r5, [r4, #32]
	bl	INIT_WORK
	mov	r1, r8
	ldr	r0, [r5]
	bl	queue_work
.L1:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, fp
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	mov	r1, r6
	mov	r0, r10
	add	r3, sp, #24
	bl	__mlx4_register_vlan
	subs	fp, r0, #0
	bne	.L7
	ldr	r2, [r9, #12]
	ldr	r3, [sp, #24]
	b	.L8
.L21:
	ldr	r2, [r8, #16]
	ldr	r3, [r9, #8]
	cmp	r2, r3
	bne	.L2
	ldr	r3, [sp, #20]
	ldr	r2, [r8, #4]
	ldr	r3, [r3, r6, lsl #4]
	cmp	r2, r3
	bne	.L2
	ldr	r2, [r8, #8]
	ldr	r3, [r9, #4]
	cmp	r2, r3
	moveq	fp, #0
	bne	.L2
	b	.L1
.L15:
	mov	ip, r2
	ldr	fp, .L25+28
	b	.L5
.L22:
	ldr	r3, .L25+48
	ldr	fp, [r3]
	rsb	fp, fp, #0
	b	.L1
.L7:
	mov	r0, r4
	bl	kfree
	mov	r3, r6
	mov	r2, r7
	mov	r0, r10
	ldr	r1, .L25+52
	bl	mlx4_warn
	b	.L1
.L14:
	mvn	fp, #0
	b	.L1
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	NO_INDX
	.word	.LC4
	.word	MLX4_DEV_CAP_FLAG2_UPDATE_QP
	.word	.LC0
	.word	.LC1
	.word	GFP_KERNEL
	.word	MLX4_VGT
	.word	MLX4_VF_IMMED_VLAN_FLAG_VLAN
	.word	.LC3
	.word	MLX4_VF_IMMED_VLAN_FLAG_QOS
	.word	MLX4_VF_IMMED_VLAN_FLAG_LINK_DISABLE
	.word	mlx4_vf_immed_vlan_work_handler
	.word	ENOMEM
	.word	.LC2
	.size	mlx4_master_immediate_activate_vlan_qos, .-mlx4_master_immediate_activate_vlan_qos
	.comm	mlx4_vf_immed_vlan_work_handler,4,4
	.comm	NO_INDX,4,4
	.comm	MLX4_VGT,4,4
	.comm	MLX4_VF_IMMED_VLAN_FLAG_VLAN,4,4
	.comm	MLX4_VF_IMMED_VLAN_FLAG_QOS,4,4
	.comm	MLX4_VF_IMMED_VLAN_FLAG_LINK_DISABLE,4,4
	.comm	MLX4_DEV_CAP_FLAG2_UPDATE_QP,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
