	.file	"extr_spectrum_acl.c_mlxsw_sp_acl_rule_del.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlxsw_sp_acl_rule_del
	.type	mlxsw_sp_acl_rule_del, @function
mlxsw_sp_acl_rule_del:
.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
	mov	r12, rdi
	lea	rdi, 8[rsi]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 24[rsi]
	mov	rdx, QWORD PTR 16[rsi]
	mov	rax, QWORD PTR 8[rbp]
	mov	r13, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR [rdx]
	sub	DWORD PTR [rax], 1
	sub	DWORD PTR 4[rax], edx
	call	list_del@PLT
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	je	.L10
.L3:
	mov	edx, DWORD PTR mlxsw_sp_acl_rule_ht_params[rip]
	lea	rsi, 4[rbx]
	mov	rdi, rbp
	call	rhashtable_remove_fast@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	esi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	mlxsw_sp_acl_ruleset_is_singular@PLT
	test	rax, rax
	je	.L3
	mov	rdx, QWORD PTR 8[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	call	mlxsw_sp_acl_ruleset_block_unbind@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp_acl_rule_del, .-mlxsw_sp_acl_rule_del
	.comm	mlxsw_sp_acl_rule_ht_params,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_acl.c_mlxsw_sp_acl_rule_del.c"
	.text
	.align	2
	.global	mlxsw_sp_acl_rule_del
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp_acl_rule_del, %function
mlxsw_sp_acl_rule_del:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r5, [r1, #16]
	ldr	r2, [r1, #12]
	ldr	r3, [r5, #4]
	mov	r6, r0
	ldr	r1, [r3, #4]
	ldr	r0, [r2]
	ldr	r2, [r3]
	sub	r1, r1, r0
	sub	r2, r2, #1
	ldr	r7, [r5, #12]
	add	r0, r4, #8
	str	r1, [r3, #4]
	str	r2, [r3]
	bl	list_del
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L10
.L3:
	ldr	r3, .L11
	add	r1, r4, #4
	mov	r0, r5
	ldr	r2, [r3]
	bl	rhashtable_remove_fast
	mov	r0, r6
	ldr	r3, [r7]
	ldr	r1, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3
.L10:
	mov	r0, r5
	bl	mlxsw_sp_acl_ruleset_is_singular
	cmp	r0, #0
	beq	.L3
	mov	r1, r5
	mov	r0, r6
	ldr	r2, [r5, #4]
	bl	mlxsw_sp_acl_ruleset_block_unbind
	b	.L3
.L12:
	.align	2
.L11:
	.word	mlxsw_sp_acl_rule_ht_params
	.size	mlxsw_sp_acl_rule_del, .-mlxsw_sp_acl_rule_del
	.comm	mlxsw_sp_acl_rule_ht_params,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
