	.file	"extr_xfrm_policy.c_xfrm_byidx_resize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xfrm_byidx_resize, @function
xfrm_byidx_resize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14d, DWORD PTR [rdi]
	mov	edi, r14d
	call	xfrm_new_hash_mask@PLT
	mov	r15, QWORD PTR 8[r13]
	lea	edi, 4[0+rax*4]
	mov	ebx, eax
	mov	QWORD PTR [rsp], r15
	call	xfrm_hash_alloc@PLT
	test	rax, rax
	je	.L1
	mov	rbp, rax
	lea	rax, 4[r13]
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	spin_lock_bh@PLT
	test	r14d, r14d
	js	.L3
	movsx	rax, r14d
	mov	rcx, r15
	sal	rax, 2
	lea	r12, -4[rcx+rax]
	lea	r15, [r15+rax]
	mov	eax, r14d
	sal	rax, 2
	sub	r12, rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r15
	mov	edx, ebx
	mov	rsi, rbp
	sub	r15, 4
	call	xfrm_idx_hash_transfer@PLT
	cmp	r15, r12
	jne	.L4
.L3:
	mov	QWORD PTR 8[r13], rbp
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 0[r13], ebx
	call	spin_unlock_bh@PLT
	mov	rdi, QWORD PTR [rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	esi, 4[0+r14*4]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	xfrm_hash_free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xfrm_byidx_resize, .-xfrm_byidx_resize
	.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_policy.c_xfrm_byidx_resize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfrm_byidx_resize, %function
xfrm_byidx_resize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [r0]
	mov	r8, r0
	mov	r0, r9
	bl	xfrm_new_hash_mask
	mov	r5, r0
	add	r0, r0, #1
	lsl	r0, r0, #2
	ldr	r7, [r8, #8]
	bl	xfrm_hash_alloc
	subs	r6, r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	add	r10, r8, #4
	mov	r0, r10
	bl	spin_lock_bh
	cmp	r9, #0
	blt	.L3
	add	r4, r7, r9, lsl #2
.L4:
	mov	r0, r4
	mov	r2, r5
	mov	r1, r6
	bl	xfrm_idx_hash_transfer
	cmp	r4, r7
	sub	r4, r4, #4
	bne	.L4
.L3:
	mov	r0, r10
	str	r6, [r8, #8]
	str	r5, [r8]
	bl	spin_unlock_bh
	add	r1, r9, #1
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	lsl	r1, r1, #2
	b	xfrm_hash_free
	.size	xfrm_byidx_resize, .-xfrm_byidx_resize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
