	.file	"extr_spectrum.c_mlxsw_sp2_params_register.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlxsw_sp2_params_register, @function
mlxsw_sp2_params_register:
.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
	call	priv_to_devlink@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	mlxsw_sp_params_register@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR mlxsw_sp2_devlink_params[rip]
	call	ARRAY_SIZE@PLT
	mov	esi, DWORD PTR mlxsw_sp2_devlink_params[rip]
	mov	rdi, r13
	mov	edx, eax
	call	devlink_params_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L7
	mov	esi, DWORD PTR MLXSW_DEVLINK_PARAM_ID_ACL_REGION_REHASH_INTERVAL[rip]
	mov	rdi, r13
	xor	edx, edx
	call	devlink_param_driverinit_value_set@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
	mov	rdi, rbp
	call	mlxsw_sp_params_unregister@PLT
	mov	eax, r12d
	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_sp2_params_register, .-mlxsw_sp2_params_register
	.comm	mlxsw_sp2_devlink_params,4,4
	.comm	MLXSW_DEVLINK_PARAM_ID_ACL_REGION_REHASH_INTERVAL,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_spectrum.c_mlxsw_sp2_params_register.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp2_params_register, %function
mlxsw_sp2_params_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	priv_to_devlink
	mov	r6, r0
	mov	r0, r5
	bl	mlxsw_sp_params_register
	subs	r4, r0, #0
	beq	.L6
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L8
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r4
	mov	r2, r0
	mov	r0, r6
	bl	devlink_params_register
	subs	r4, r0, #0
	bne	.L7
	ldr	r3, .L8+4
	mov	r0, r6
	mov	r2, r4
	ldr	r1, [r3]
	bl	devlink_param_driverinit_value_set
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r5
	bl	mlxsw_sp_params_unregister
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	mlxsw_sp2_devlink_params
	.word	MLXSW_DEVLINK_PARAM_ID_ACL_REGION_REHASH_INTERVAL
	.size	mlxsw_sp2_params_register, .-mlxsw_sp2_params_register
	.comm	mlxsw_sp2_devlink_params,4,4
	.comm	MLXSW_DEVLINK_PARAM_ID_ACL_REGION_REHASH_INTERVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
