	.file	"extr_open.c_fd_reinstall.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fd_reinstall
	.type	fd_reinstall, @function
fd_reinstall:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	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	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR current[rip]
	mov	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	spin_lock@PLT
	mov	rdi, r12
	call	files_fdtable@PLT
	xor	edi, edi
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR [rax+rbx*8], 0
	sete	dil
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rsi, r13
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	rcu_assign_pointer@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	fd_reinstall, .-fd_reinstall
	.comm	current,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_open.c_fd_reinstall.c"
	.text
	.align	2
	.global	fd_reinstall
	.syntax unified
	.arm
	.fpu softvfp
	.type	fd_reinstall, %function
fd_reinstall:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r6, [r3]
	mov	r7, r1
	mov	r0, r6
	bl	spin_lock
	mov	r0, r6
	bl	files_fdtable
	ldr	r3, [r0]
	mov	r5, r0
	ldr	r0, [r3, r4, lsl #2]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [r5]
	mov	r1, r7
	ldr	r0, [r3, r4, lsl #2]
	bl	rcu_assign_pointer
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L5:
	.align	2
.L4:
	.word	current
	.size	fd_reinstall, .-fd_reinstall
	.comm	current,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
