	.file	"extr_spectrum_router.c_mlxsw_sp1_rif_ipip_lb_configure.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlxsw_sp1_rif_ipip_lb_configure, @function
mlxsw_sp1_rif_ipip_lb_configure:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	mlxsw_sp_rif_ipip_lb_rif@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	rbx, rax
	call	mlxsw_sp_ipip_dev_ul_tb_id@PLT
	mov	r13, QWORD PTR 0[rbp]
	xor	edx, edx
	mov	esi, eax
	mov	rdi, r13
	call	mlxsw_sp_vr_get@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	mov	esi, DWORD PTR 4[rbp]
	mov	ecx, 1
	xor	edx, edx
	mov	rdi, rbx
	call	mlxsw_sp_rif_ipip_lb_op@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR 4[rbp]
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 8[rbx], eax
	mov	eax, r12d
	add	DWORD PTR 0[rbp], 1
	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
.L7:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	mlxsw_sp_vr_put@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp1_rif_ipip_lb_configure, .-mlxsw_sp1_rif_ipip_lb_configure
	.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_spectrum_router.c_mlxsw_sp1_rif_ipip_lb_configure.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp1_rif_ipip_lb_configure, %function
mlxsw_sp1_rif_ipip_lb_configure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	mlxsw_sp_rif_ipip_lb_rif
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	mlxsw_sp_ipip_dev_ul_tb_id
	ldr	r7, [r4]
	mov	r1, r0
	mov	r2, #0
	mov	r0, r7
	bl	mlxsw_sp_vr_get
	mov	r4, r0
	bl	IS_ERR
	subs	r2, r0, #0
	bne	.L7
	mov	r3, #1
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	mlxsw_sp_rif_ipip_lb_op
	subs	r6, r0, #0
	bne	.L8
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r3, r3, #1
	str	r2, [r5, #4]
	str	r6, [r5]
	mov	r0, r6
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L8:
	mov	r1, r4
	mov	r0, r7
	bl	mlxsw_sp_vr_put
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
	.size	mlxsw_sp1_rif_ipip_lb_configure, .-mlxsw_sp1_rif_ipip_lb_configure
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
