	.file	"extr_spectrum_acl_erp.c_mlxsw_sp_acl_erp_table_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlxsw_sp_acl_erp_table_create, @function
mlxsw_sp_acl_erp_table_create:
.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, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, 40
	call	kzalloc@PLT
	test	rax, rax
	je	.L6
	lea	rdi, mlxsw_sp_acl_erp_objagg_ops[rip]
	mov	rdx, rbx
	mov	rsi, rbp
	mov	r12, rax
	call	objagg_create@PLT
	mov	DWORD PTR 36[r12], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 16[r12]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 32[r12], eax
	lea	rax, erp_no_mask_ops[rip]
	mov	QWORD PTR 24[r12], rax
	call	INIT_LIST_HEAD@PLT
	mov	QWORD PTR 8[r12], rbx
	mov	rdi, r12
	call	mutex_init@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR 36[r12]
	call	PTR_ERR@PLT
	mov	rdi, r12
	mov	ebp, eax
	call	kfree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp_acl_erp_table_create, .-mlxsw_sp_acl_erp_table_create
	.comm	mlxsw_sp_acl_erp_objagg_ops,4,4
	.comm	erp_no_mask_ops,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
	.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_erp.c_mlxsw_sp_acl_erp_table_create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp_acl_erp_table_create, %function
mlxsw_sp_acl_erp_table_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r0, #24
	ldr	r1, [r2]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L6
	mov	r1, r6
	mov	r2, r5
	ldr	r0, .L8+4
	bl	objagg_create
	str	r0, [r4, #20]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L7
	ldr	r2, [r5]
	ldr	r3, .L8+8
	ldr	r2, [r2]
	add	r0, r4, #8
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	bl	INIT_LIST_HEAD
	mov	r0, r4
	str	r5, [r4, #4]
	bl	mutex_init
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, [r4, #20]
	bl	PTR_ERR
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L6:
	ldr	r3, .L8+12
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	mlxsw_sp_acl_erp_objagg_ops
	.word	erp_no_mask_ops
	.word	ENOMEM
	.size	mlxsw_sp_acl_erp_table_create, .-mlxsw_sp_acl_erp_table_create
	.comm	mlxsw_sp_acl_erp_objagg_ops,4,4
	.comm	erp_no_mask_ops,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
