	.file	"extr_spectrum_ptp.c_mlxsw_sp1_ptp_fini.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlxsw_sp1_ptp_fini
	.type	mlxsw_sp1_ptp_fini, @function
mlxsw_sp1_ptp_fini:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, 4[rdi]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR 4[rdi]
	call	cancel_delayed_work_sync@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	call	mlxsw_sp1_ptp_mtpppc_set@PLT
	mov	rdi, r12
	xor	esi, esi
	call	mlxsw_sp1_ptp_set_fifo_clr_on_trap@PLT
	mov	esi, DWORD PTR MLXSW_REG_MTPTPT_TRAP_ID_PTP1[rip]
	mov	rdi, r12
	xor	edx, edx
	call	mlxsw_sp_ptp_mtptpt_set@PLT
	mov	esi, DWORD PTR MLXSW_REG_MTPTPT_TRAP_ID_PTP0[rip]
	mov	rdi, r12
	xor	edx, edx
	call	mlxsw_sp_ptp_mtptpt_set@PLT
	mov	rdi, rbp
	xor	edx, edx
	lea	rsi, mlxsw_sp1_ptp_unmatched_free_fn[rip]
	call	rhltable_free_and_destroy@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp1_ptp_fini, .-mlxsw_sp1_ptp_fini
	.comm	mlxsw_sp1_ptp_unmatched_free_fn,4,4
	.comm	MLXSW_REG_MTPTPT_TRAP_ID_PTP1,4,4
	.comm	MLXSW_REG_MTPTPT_TRAP_ID_PTP0,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_ptp.c_mlxsw_sp1_ptp_fini.c"
	.text
	.align	2
	.global	mlxsw_sp1_ptp_fini
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp1_ptp_fini, %function
mlxsw_sp1_ptp_fini:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r0, r0, #4
	ldr	r5, [r4, #8]
	bl	cancel_delayed_work_sync
	mov	r2, #0
	mov	r0, r5
	mov	r1, r2
	bl	mlxsw_sp1_ptp_mtpppc_set
	mov	r0, r5
	mov	r1, #0
	bl	mlxsw_sp1_ptp_set_fifo_clr_on_trap
	ldr	r3, .L4
	mov	r0, r5
	ldr	r1, [r3]
	mov	r2, #0
	bl	mlxsw_sp_ptp_mtptpt_set
	ldr	r3, .L4+4
	mov	r0, r5
	ldr	r1, [r3]
	mov	r2, #0
	bl	mlxsw_sp_ptp_mtptpt_set
	mov	r0, r4
	mov	r2, #0
	ldr	r1, .L4+8
	bl	rhltable_free_and_destroy
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	kfree
.L5:
	.align	2
.L4:
	.word	MLXSW_REG_MTPTPT_TRAP_ID_PTP1
	.word	MLXSW_REG_MTPTPT_TRAP_ID_PTP0
	.word	mlxsw_sp1_ptp_unmatched_free_fn
	.size	mlxsw_sp1_ptp_fini, .-mlxsw_sp1_ptp_fini
	.comm	mlxsw_sp1_ptp_unmatched_free_fn,4,4
	.comm	MLXSW_REG_MTPTPT_TRAP_ID_PTP1,4,4
	.comm	MLXSW_REG_MTPTPT_TRAP_ID_PTP0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
