	.file	"extr_core_acl_flex_actions.c_mlxsw_afa_block_append_trap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlxsw_afa_block_append_trap
	.type	mlxsw_afa_block_append_trap, @function
mlxsw_afa_block_append_trap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR MLXSW_AFA_TRAPDISC_SIZE[rip]
	mov	esi, DWORD PTR MLXSW_AFA_TRAPDISC_CODE[rip]
	call	mlxsw_afa_block_append_action@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	edx, DWORD PTR MLXSW_AFA_TRAPDISC_FORWARD_ACTION_DISCARD[rip]
	mov	esi, DWORD PTR MLXSW_AFA_TRAPDISC_TRAP_ACTION_TRAP[rip]
	mov	ecx, r12d
	mov	rdi, rbp
	call	mlxsw_afa_trapdisc_pack@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	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	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	mlxsw_afa_block_append_trap, .-mlxsw_afa_block_append_trap
	.comm	MLXSW_AFA_TRAPDISC_TRAP_ACTION_TRAP,4,4
	.comm	MLXSW_AFA_TRAPDISC_SIZE,4,4
	.comm	MLXSW_AFA_TRAPDISC_FORWARD_ACTION_DISCARD,4,4
	.comm	MLXSW_AFA_TRAPDISC_CODE,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_core_acl_flex_actions.c_mlxsw_afa_block_append_trap.c"
	.text
	.align	2
	.global	mlxsw_afa_block_append_trap
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_afa_block_append_trap, %function
mlxsw_afa_block_append_trap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L6
	mov	r6, r1
	ldr	r1, .L6+4
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	mlxsw_afa_block_append_action
	mov	r5, r0
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L5
	ldr	r2, .L6+8
	ldr	r1, .L6+12
	mov	r3, r6
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	mlxsw_afa_trapdisc_pack
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L7:
	.align	2
.L6:
	.word	MLXSW_AFA_TRAPDISC_SIZE
	.word	MLXSW_AFA_TRAPDISC_CODE
	.word	MLXSW_AFA_TRAPDISC_FORWARD_ACTION_DISCARD
	.word	MLXSW_AFA_TRAPDISC_TRAP_ACTION_TRAP
	.size	mlxsw_afa_block_append_trap, .-mlxsw_afa_block_append_trap
	.comm	MLXSW_AFA_TRAPDISC_TRAP_ACTION_TRAP,4,4
	.comm	MLXSW_AFA_TRAPDISC_SIZE,4,4
	.comm	MLXSW_AFA_TRAPDISC_FORWARD_ACTION_DISCARD,4,4
	.comm	MLXSW_AFA_TRAPDISC_CODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
