	.file	"extr_en_rep.c_mlx5e_sqs2vport_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx5e_sqs2vport_start, @function
mlx5e_sqs2vport_start:
.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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR MLX5_ESWITCH_OFFLOADS[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
.L4:
	xor	r14d, r14d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L2:
	.cfi_restore_state
	mov	r12, rdi
	mov	rdi, rsi
	mov	r13, rsi
	mov	rbx, rdx
	mov	ebp, ecx
	call	mlx5e_rep_to_rep_priv@PLT
	mov	r14, rax
	test	ebp, ebp
	jle	.L4
	lea	eax, -1[rbp]
	lea	rax, 4[rbx+rax*4]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, r12
	call	mlx5_eswitch_add_send_to_vport_rule@PLT
	mov	rdi, rax
	mov	r15, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	QWORD PTR 8[rbp], r15
	mov	rsi, r14
	mov	rdi, rbp
	add	rbx, 4
	call	list_add@PLT
	cmp	rbx, QWORD PTR 8[rsp]
	je	.L4
.L8:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 16
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L5
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
.L6:
	mov	rsi, r13
	mov	rdi, r12
	call	mlx5e_sqs2vport_stop@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r15
	call	PTR_ERR@PLT
	mov	rdi, rbp
	mov	r14d, eax
	call	kfree@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	mlx5e_sqs2vport_start, .-mlx5e_sqs2vport_start
	.comm	MLX5_ESWITCH_OFFLOADS,8,8
	.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_en_rep.c_mlx5e_sqs2vport_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5e_sqs2vport_start, %function
mlx5e_sqs2vport_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldr	r0, .L13
	ldr	ip, [r7]
	ldr	r0, [r0]
	cmp	ip, r0
	beq	.L2
.L4:
	mov	r4, #0
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r9, r3
	mov	r0, r1
	mov	r8, r1
	mov	r5, r2
	bl	mlx5e_rep_to_rep_priv
	cmp	r9, #0
	mov	r10, r0
	ble	.L4
	mov	r6, #0
	sub	r5, r5, #4
	b	.L8
.L5:
	ldr	r2, [r5, #4]!
	ldr	r1, [r8]
	mov	r0, r7
	bl	mlx5_eswitch_add_send_to_vport_rule
	mov	fp, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	mov	r1, r10
	str	fp, [r4, #4]
	bl	list_add
	cmp	r9, r6
	beq	.L4
.L8:
	ldr	r3, .L13+4
	mov	r0, #8
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	add	r6, r6, #1
	bne	.L5
	ldr	r3, .L13+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L6:
	mov	r1, r8
	mov	r0, r7
	bl	mlx5e_sqs2vport_stop
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r0, fp
	bl	PTR_ERR
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	kfree
	b	.L6
.L14:
	.align	2
.L13:
	.word	MLX5_ESWITCH_OFFLOADS
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	mlx5e_sqs2vport_start, .-mlx5e_sqs2vport_start
	.comm	MLX5_ESWITCH_OFFLOADS,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
