	.file	"extr_xfrm_interface.c_xfrmi_rcv_cb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xfrmi_rcv_cb, @function
xfrmi_rcv_cb:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	esi, esi
	je	.L2
	call	secpath_exists@PLT
	test	eax, eax
	je	.L1
	mov	rdi, rbx
	call	xfrm_input_state@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	xs_net@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	xfrmi_lookup@PLT
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 8[rbx], rax
	add	DWORD PTR 8[rax], 1
	add	DWORD PTR 4[rax], 1
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L2:
	.cfi_restore_state
	call	xfrm_input_state@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	xs_net@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	xfrmi_lookup@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
	mov	r13, QWORD PTR 8[r12]
	mov	QWORD PTR 8[rbx], r13
	mov	rdi, r13
	call	dev_net@PLT
	mov	edi, DWORD PTR [r12]
	xor	r12d, r12d
	mov	esi, eax
	call	net_eq@PLT
	test	eax, eax
	sete	r12b
	jne	.L7
	mov	rdx, QWORD PTR AF_UNSPEC[rip]
	lea	rax, 8[rbp]
	cmp	QWORD PTR 0[rbp], rdx
	je	.L22
.L6:
	mov	ecx, DWORD PTR [rax]
	mov	esi, DWORD PTR XFRM_POLICY_IN[rip]
	xor	edi, edi
	mov	rdx, rbx
	call	xfrm_policy_check@PLT
	test	eax, eax
	je	.L23
.L7:
	mov	esi, r12d
	mov	rdi, rbx
	call	xfrmi_scrub_packet@PLT
	mov	edi, DWORD PTR 0[r13]
	call	this_cpu_ptr@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	u64_stats_update_begin@PLT
	mov	rax, QWORD PTR [rbx]
	add	DWORD PTR 8[rbp], 1
	mov	rdi, rbp
	add	DWORD PTR 4[rbp], eax
	call	u64_stats_update_end@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L10:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L22:
	.cfi_restore_state
	mov	rdi, rbx
	call	XFRM_MODE_SKB_CB@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	xfrm_ip2inner_mode@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, QWORD PTR 8[rbx]
	mov	ebp, DWORD PTR LINUX_MIB_XFRMINSTATEMODEERROR[rip]
	call	dev_net@PLT
	mov	esi, ebp
	mov	edi, eax
	call	XFRM_INC_STATS@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	eax, DWORD PTR EPERM[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xfrmi_rcv_cb, .-xfrmi_rcv_cb
	.comm	XFRM_POLICY_IN,4,4
	.comm	LINUX_MIB_XFRMINSTATEMODEERROR,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	AF_UNSPEC,8,8
	.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_xfrm_interface.c_xfrmi_rcv_cb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfrmi_rcv_cb, %function
xfrmi_rcv_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	beq	.L2
	bl	secpath_exists
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	xfrm_input_state
	mov	r5, r0
	bl	xs_net
	mov	r1, r5
	bl	xfrmi_lookup
	cmp	r0, #0
	beq	.L10
	ldr	r3, [r0, #4]
	mov	r0, #0
	ldr	r1, [r3, #8]
	ldr	r2, [r3, #4]
	add	r1, r1, #1
	add	r2, r2, #1
	str	r3, [r4, #4]
	str	r1, [r3, #8]
	str	r2, [r3, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	xfrm_input_state
	mov	r5, r0
	bl	xs_net
	mov	r1, r5
	bl	xfrmi_lookup
	cmp	r0, #0
	beq	.L10
	ldm	r0, {r6, r7}
	mov	r0, r7
	str	r7, [r4, #4]
	bl	dev_net
	mov	r1, r0
	mov	r0, r6
	bl	net_eq
	cmp	r0, #0
	moveq	r6, #1
	movne	r6, #0
	bne	.L7
	ldr	r3, .L25
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	addne	r5, r5, #4
	beq	.L23
.L6:
	ldr	r2, .L25+4
	mov	r0, #0
	ldr	r1, [r2]
	ldr	r3, [r5]
	mov	r2, r4
	bl	xfrm_policy_check
	cmp	r0, #0
	beq	.L24
.L7:
	mov	r1, r6
	mov	r0, r4
	bl	xfrmi_scrub_packet
	ldr	r0, [r7]
	bl	this_cpu_ptr
	mov	r5, r0
	bl	u64_stats_update_begin
	ldr	r1, [r4]
	ldr	r2, [r5, #8]
	ldr	r3, [r5, #4]
	add	r2, r2, #1
	add	r3, r3, r1
	mov	r0, r5
	str	r2, [r5, #8]
	str	r3, [r5, #4]
	bl	u64_stats_update_end
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	mov	r0, r4
	bl	XFRM_MODE_SKB_CB
	mov	r3, r0
	mov	r0, r5
	ldr	r1, [r3]
	bl	xfrm_ip2inner_mode
	subs	r5, r0, #0
	bne	.L6
	ldr	r0, [r4, #4]
	bl	dev_net
	ldr	r3, .L25+8
	ldr	r1, [r3]
	bl	XFRM_INC_STATS
	ldr	r3, .L25+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	ldr	r3, .L25+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	.align	2
.L25:
	.word	AF_UNSPEC
	.word	XFRM_POLICY_IN
	.word	LINUX_MIB_XFRMINSTATEMODEERROR
	.word	EINVAL
	.word	EPERM
	.size	xfrmi_rcv_cb, .-xfrmi_rcv_cb
	.comm	XFRM_POLICY_IN,4,4
	.comm	LINUX_MIB_XFRMINSTATEMODEERROR,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	AF_UNSPEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
