	.file	"extr_ixgbe_ipsec.c_ixgbe_init_ipsec_offload.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate memory for SA tables"
	.text
	.p2align 4
	.globl	ixgbe_init_ipsec_offload
	.type	ixgbe_init_ipsec_offload, @function
ixgbe_init_ipsec_offload:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ixgbe_mac_82598EB[rip]
	cmp	QWORD PTR 16[rdi], rax
	je	.L16
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR IXGBE_SECTXSTAT[rip]
	lea	r12, 16[rdi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, r12
	call	IXGBE_READ_REG@PLT
	mov	esi, DWORD PTR IXGBE_SECRXSTAT[rip]
	mov	rdi, r12
	and	eax, DWORD PTR IXGBE_SECTXSTAT_SECTX_OFF_DIS[rip]
	mov	ebp, eax
	call	IXGBE_READ_REG@PLT
	and	eax, DWORD PTR IXGBE_SECRXSTAT_SECRX_OFF_DIS[rip]
	or	eax, ebp
	je	.L20
.L1:
	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
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 48
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 40[rax]
	call	hash_init@PLT
	movsx	rdi, DWORD PTR IXGBE_IPSEC_MAX_SA_COUNT[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	sal	rdi, 2
	call	kzalloc@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L6
	movsx	rdi, DWORD PTR IXGBE_IPSEC_MAX_SA_COUNT[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	sal	rdi, 2
	call	kzalloc@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L6
	movsx	rdi, DWORD PTR IXGBE_IPSEC_MAX_RX_IP_COUNT[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	sal	rdi, 2
	call	kzalloc@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L8
	mov	QWORD PTR 32[rbp], 0
	mov	rdi, rbx
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 8[rbx], rbp
	call	ixgbe_ipsec_stop_engine@PLT
	mov	rdi, rbx
	call	ixgbe_ipsec_clear_hw_tables@PLT
	mov	rax, QWORD PTR [rbx]
	lea	rdx, ixgbe_xfrmdev_ops[rip]
	mov	QWORD PTR [rax], rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdi, QWORD PTR 16[rbp]
.L8:
	call	kfree@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	kfree@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	kfree@PLT
	mov	rdi, rbp
	call	kfree@PLT
.L5:
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	netdev_err@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_init_ipsec_offload, .-ixgbe_init_ipsec_offload
	.comm	ixgbe_xfrmdev_ops,4,4
	.comm	ixgbe_mac_82598EB,8,8
	.comm	IXGBE_SECTXSTAT_SECTX_OFF_DIS,4,4
	.comm	IXGBE_SECTXSTAT,4,4
	.comm	IXGBE_SECRXSTAT_SECRX_OFF_DIS,4,4
	.comm	IXGBE_SECRXSTAT,4,4
	.comm	IXGBE_IPSEC_MAX_SA_COUNT,4,4
	.comm	IXGBE_IPSEC_MAX_RX_IP_COUNT,4,4
	.comm	GFP_KERNEL,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_ixgbe_ipsec.c_ixgbe_init_ipsec_offload.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate memory for SA tables\000"
	.text
	.align	2
	.global	ixgbe_init_ipsec_offload
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_init_ipsec_offload, %function
ixgbe_init_ipsec_offload:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r2, [r0, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	bxeq	lr
	ldr	r3, .L20+4
	push	{r4, r5, r6, r7, r8, lr}
	add	r6, r0, #8
	ldr	r1, [r3]
	mov	r4, r0
	mov	r0, r6
	bl	IXGBE_READ_REG
	mov	r5, r0
	ldr	r3, .L20+8
	ldr	r2, .L20+12
	ldr	r3, [r3]
	mov	r0, r6
	ldr	r1, [r2]
	and	r5, r5, r3
	bl	IXGBE_READ_REG
	ldr	r3, .L20+16
	ldr	r3, [r3]
	and	r0, r0, r3
	orrs	r5, r0, r5
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L20+20
	mov	r0, #24
	ldr	r1, [r7]
	bl	kzalloc
	subs	r6, r0, #0
	beq	.L5
	ldr	r8, .L20+24
	ldr	r0, [r6, #20]
	bl	hash_init
	ldr	r0, [r8]
	ldr	r1, [r7]
	lsl	r0, r0, #2
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L6
	ldr	r0, [r8]
	ldr	r1, [r7]
	lsl	r0, r0, #2
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r6]
	beq	.L6
	ldr	r3, .L20+28
	ldr	r1, [r7]
	ldr	r0, [r3]
	lsl	r0, r0, #2
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r6, #8]
	beq	.L8
	str	r5, [r6, #16]
	str	r5, [r6, #12]
	mov	r0, r4
	str	r6, [r4, #4]
	bl	ixgbe_ipsec_stop_engine
	mov	r0, r4
	bl	ixgbe_ipsec_clear_hw_tables
	ldr	r3, [r4]
	ldr	r2, .L20+32
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, [r6, #8]
.L8:
	bl	kfree
	ldr	r0, [r6, #4]
	bl	kfree
	ldr	r0, [r6]
	bl	kfree
	mov	r0, r6
	bl	kfree
.L5:
	ldr	r0, [r4]
	ldr	r1, .L20+36
	pop	{r4, r5, r6, r7, r8, lr}
	b	netdev_err
.L21:
	.align	2
.L20:
	.word	ixgbe_mac_82598EB
	.word	IXGBE_SECTXSTAT
	.word	IXGBE_SECTXSTAT_SECTX_OFF_DIS
	.word	IXGBE_SECRXSTAT
	.word	IXGBE_SECRXSTAT_SECRX_OFF_DIS
	.word	GFP_KERNEL
	.word	IXGBE_IPSEC_MAX_SA_COUNT
	.word	IXGBE_IPSEC_MAX_RX_IP_COUNT
	.word	ixgbe_xfrmdev_ops
	.word	.LC0
	.size	ixgbe_init_ipsec_offload, .-ixgbe_init_ipsec_offload
	.comm	ixgbe_xfrmdev_ops,4,4
	.comm	ixgbe_mac_82598EB,4,4
	.comm	IXGBE_SECTXSTAT_SECTX_OFF_DIS,4,4
	.comm	IXGBE_SECTXSTAT,4,4
	.comm	IXGBE_SECRXSTAT_SECRX_OFF_DIS,4,4
	.comm	IXGBE_SECRXSTAT,4,4
	.comm	IXGBE_IPSEC_MAX_SA_COUNT,4,4
	.comm	IXGBE_IPSEC_MAX_RX_IP_COUNT,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
