	.file	"extr_chcr_ipsec.c_chcr_add_xfrmops.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	chcr_add_xfrmops
	.type	chcr_add_xfrmops, @function
chcr_add_xfrmops:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L10
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, chcr_xfrmdev_ops[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r12]
	mov	rbp, QWORD PTR [rax+rbx*8]
	test	rbp, rbp
	je	.L3
	mov	eax, DWORD PTR NETIF_F_HW_ESP[rip]
	or	DWORD PTR 4[rbp], eax
	or	DWORD PTR 0[rbp], eax
	xor	eax, eax
	mov	QWORD PTR 8[rbp], r13
	call	rtnl_lock@PLT
	mov	rdi, rbp
	call	netdev_change_features@PLT
	xor	eax, eax
	call	rtnl_unlock@PLT
.L3:
	add	rbx, 1
	cmp	DWORD PTR [r12], ebx
	jg	.L4
	add	rsp, 8
	.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
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	chcr_add_xfrmops, .-chcr_add_xfrmops
	.comm	chcr_xfrmdev_ops,4,4
	.comm	NETIF_F_HW_ESP,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_chcr_ipsec.c_chcr_add_xfrmops.c"
	.text
	.align	2
	.global	chcr_add_xfrmops
	.syntax unified
	.arm
	.fpu softvfp
	.type	chcr_add_xfrmops, %function
chcr_add_xfrmops:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, #0
	bxle	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, #0
	ldr	r7, .L14
	ldr	r8, .L14+4
.L4:
	ldr	r3, [r6, #4]
	ldr	r4, [r3, r5, lsl #2]
	add	r5, r5, #1
	cmp	r4, #0
	beq	.L3
	ldr	r1, [r8]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	orr	r2, r2, r1
	orr	r3, r3, r1
	stmib	r4, {r2, r7}
	str	r3, [r4]
	bl	rtnl_lock
	mov	r0, r4
	bl	netdev_change_features
	bl	rtnl_unlock
	ldr	r2, [r6]
.L3:
	cmp	r2, r5
	bgt	.L4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	chcr_xfrmdev_ops
	.word	NETIF_F_HW_ESP
	.size	chcr_add_xfrmops, .-chcr_add_xfrmops
	.comm	chcr_xfrmdev_ops,4,4
	.comm	NETIF_F_HW_ESP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
