	.file	"extr_nfs_commonport.c_nfscommon_modevent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nfs_nameid_mutex"
.LC1:
	.string	"nfs_sockl_mutex"
.LC2:
	.string	"nfs_slock_mutex"
.LC3:
	.string	"nfs_req_mutex"
.LC4:
	.string	"nfsuserd"
.LC5:
	.string	"nfs4ds"
	.text
	.p2align 4
	.type	nfscommon_modevent, @function
nfscommon_modevent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	cmp	esi, 128
	je	.L2
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	cmp	esi, 129
	jne	.L4
	mov	r12d, DWORD PTR loaded.1963[rip]
	test	r12d, r12d
	je	.L9
	xor	r12d, r12d
.L4:
	mov	edi, r12d
	call	NFSEXITCODE@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR newnfs_numnfsd[rip]
	or	r12d, DWORD PTR nfsrv_nfsuserd[rip]
	or	r12d, DWORD PTR nfs_numnfscbd[rip]
	je	.L5
	mov	r12d, DWORD PTR EBUSY[rip]
	mov	edi, r12d
	call	NFSEXITCODE@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	newnfs_portinit@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC0[rip]
	lea	rdi, nfs_nameid_mutex[rip]
	call	mtx_init@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC1[rip]
	lea	rdi, nfs_sockl_mutex[rip]
	call	mtx_init@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC2[rip]
	lea	rdi, nfs_slock_mutex[rip]
	call	mtx_init@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC3[rip]
	lea	rdi, nfs_req_mutex[rip]
	call	mtx_init@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC4[rip]
	lea	rdi, nfsrv_nfsuserdsock[rip]
	call	mtx_init@PLT
	mov	ecx, DWORD PTR MTX_DEF[rip]
	xor	edx, edx
	lea	rsi, .LC5[rip]
	lea	rdi, nfsrv_dslock_mtx[rip]
	call	mtx_init@PLT
	lea	rdi, nfsrv_devidhead[rip]
	call	TAILQ_INIT@PLT
	mov	esi, 1
	lea	rdi, newnfsd_callout[rip]
	call	callout_init@PLT
	xor	eax, eax
	call	newnfs_init@PLT
	mov	rax, QWORD PTR nfssvc_nfscommon[rip]
	mov	edi, r12d
	mov	DWORD PTR loaded.1963[rip], 1
	mov	QWORD PTR nfsd_call_nfscommon[rip], rax
	call	NFSEXITCODE@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, newnfsd_callout[rip]
	mov	QWORD PTR nfsd_call_nfscommon[rip], 0
	call	callout_drain@PLT
	xor	eax, eax
	call	nfsrv_cleanusergroup@PLT
	lea	rdi, nfs_nameid_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, newnfsd_mtx[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfs_state_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfs_clstate_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfs_sockl_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfs_slock_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfs_req_mutex[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfsrv_nfsuserdsock[rip]
	call	mtx_destroy@PLT
	lea	rdi, nfsrv_dslock_mtx[rip]
	call	mtx_destroy@PLT
	mov	DWORD PTR loaded.1963[rip], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	nfscommon_modevent, .-nfscommon_modevent
	.local	loaded.1963
	.comm	loaded.1963,4,4
	.comm	nfssvc_nfscommon,8,8
	.comm	nfsrv_nfsuserdsock,4,4
	.comm	nfsrv_nfsuserd,4,4
	.comm	nfsrv_dslock_mtx,4,4
	.comm	nfsrv_devidhead,4,4
	.comm	nfsd_call_nfscommon,8,8
	.comm	nfs_state_mutex,4,4
	.comm	nfs_sockl_mutex,4,4
	.comm	nfs_slock_mutex,4,4
	.comm	nfs_req_mutex,4,4
	.comm	nfs_numnfscbd,4,4
	.comm	nfs_nameid_mutex,4,4
	.comm	nfs_clstate_mutex,4,4
	.comm	newnfsd_mtx,4,4
	.comm	newnfsd_callout,4,4
	.comm	newnfs_numnfsd,4,4
	.comm	MTX_DEF,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EBUSY,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_nfs_commonport.c_nfscommon_modevent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nfs_nameid_mutex\000"
	.align	2
.LC1:
	.ascii	"nfs_sockl_mutex\000"
	.align	2
.LC2:
	.ascii	"nfs_slock_mutex\000"
	.align	2
.LC3:
	.ascii	"nfs_req_mutex\000"
	.align	2
.LC4:
	.ascii	"nfsuserd\000"
	.align	2
.LC5:
	.ascii	"nfs4ds\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfscommon_modevent, %function
nfscommon_modevent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	push	{r4, r5, r6, lr}
	beq	.L2
	cmp	r1, #129
	bne	.L3
	ldr	r6, .L10
	ldr	r4, [r6]
	cmp	r4, #0
	movne	r4, #0
	beq	.L9
.L4:
	mov	r0, r4
	bl	NFSEXITCODE
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r1, .L10+4
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	ldr	r4, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r4, r4, r3
	orrs	r4, r4, r2
	beq	.L5
	ldr	r3, .L10+16
	ldr	r4, [r3]
	b	.L4
.L3:
	ldr	r3, .L10+20
	ldr	r4, [r3]
	b	.L4
.L9:
	ldr	r5, .L10+24
	bl	newnfs_portinit
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+28
	ldr	r0, .L10+32
	bl	mtx_init
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+36
	ldr	r0, .L10+40
	bl	mtx_init
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+44
	ldr	r0, .L10+48
	bl	mtx_init
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+52
	ldr	r0, .L10+56
	bl	mtx_init
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+60
	ldr	r0, .L10+64
	bl	mtx_init
	mov	r2, r4
	ldr	r3, [r5]
	ldr	r1, .L10+68
	ldr	r0, .L10+72
	bl	mtx_init
	ldr	r0, .L10+76
	bl	TAILQ_INIT
	mov	r1, #1
	ldr	r0, .L10+80
	bl	callout_init
	bl	newnfs_init
	mov	r1, #1
	ldr	r2, .L10+84
	ldr	r3, .L10+88
	ldr	r2, [r2]
	str	r1, [r6]
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r3, .L10+88
	ldr	r0, .L10+80
	str	r4, [r3]
	bl	callout_drain
	bl	nfsrv_cleanusergroup
	ldr	r0, .L10+32
	bl	mtx_destroy
	ldr	r0, .L10+92
	bl	mtx_destroy
	ldr	r0, .L10+96
	bl	mtx_destroy
	ldr	r0, .L10+100
	bl	mtx_destroy
	ldr	r0, .L10+40
	bl	mtx_destroy
	ldr	r0, .L10+48
	bl	mtx_destroy
	ldr	r0, .L10+56
	bl	mtx_destroy
	ldr	r0, .L10+64
	bl	mtx_destroy
	ldr	r0, .L10+72
	bl	mtx_destroy
	ldr	r3, .L10
	str	r4, [r3]
	b	.L4
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	newnfs_numnfsd
	.word	nfsrv_nfsuserd
	.word	nfs_numnfscbd
	.word	EBUSY
	.word	EOPNOTSUPP
	.word	MTX_DEF
	.word	.LC0
	.word	nfs_nameid_mutex
	.word	.LC1
	.word	nfs_sockl_mutex
	.word	.LC2
	.word	nfs_slock_mutex
	.word	.LC3
	.word	nfs_req_mutex
	.word	.LC4
	.word	nfsrv_nfsuserdsock
	.word	.LC5
	.word	nfsrv_dslock_mtx
	.word	nfsrv_devidhead
	.word	newnfsd_callout
	.word	nfssvc_nfscommon
	.word	nfsd_call_nfscommon
	.word	newnfsd_mtx
	.word	nfs_state_mutex
	.word	nfs_clstate_mutex
	.size	nfscommon_modevent, .-nfscommon_modevent
	.comm	nfssvc_nfscommon,4,4
	.comm	nfsrv_nfsuserdsock,4,4
	.comm	nfsrv_nfsuserd,4,4
	.comm	nfsrv_dslock_mtx,4,4
	.comm	nfsrv_devidhead,4,4
	.comm	nfsd_call_nfscommon,4,4
	.comm	nfs_state_mutex,4,4
	.comm	nfs_sockl_mutex,4,4
	.comm	nfs_slock_mutex,4,4
	.comm	nfs_req_mutex,4,4
	.comm	nfs_numnfscbd,4,4
	.comm	nfs_nameid_mutex,4,4
	.comm	nfs_clstate_mutex,4,4
	.comm	newnfsd_mtx,4,4
	.comm	newnfsd_callout,4,4
	.comm	newnfs_numnfsd,4,4
	.comm	MTX_DEF,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EBUSY,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	loaded.4247, %object
	.size	loaded.4247, 4
loaded.4247:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
