	.file	"extr_nfs4idmap.c_nfsd_map_name_to_gid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nfsd_map_name_to_gid
	.type	nfsd_map_name_to_gid, @function
nfsd_map_name_to_gid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], -1
	test	rsi, rsi
	je	.L6
	test	rdx, rdx
	je	.L6
	mov	rbx, rcx
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, DWORD PTR IDMAP_TYPE_GROUP[rip]
	lea	r8, 4[rsp]
	mov	rbp, rdi
	call	do_name_to_id@PLT
	mov	r13d, DWORD PTR 4[rsp]
	mov	rdi, rbp
	mov	r12d, eax
	call	nfsd_user_namespace@PLT
	mov	esi, r13d
	mov	edi, eax
	call	make_kgid@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	gid_valid@PLT
	test	eax, eax
	cmove	r12d, DWORD PTR nfserr_badowner[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12d, DWORD PTR nfserr_inval[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nfsd_map_name_to_gid, .-nfsd_map_name_to_gid
	.comm	nfserr_inval,4,4
	.comm	nfserr_badowner,4,4
	.comm	IDMAP_TYPE_GROUP,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_nfs4idmap.c_nfsd_map_name_to_gid.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nfsd_map_name_to_gid
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfsd_map_name_to_gid, %function
nfsd_map_name_to_gid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mvn	ip, #0
	cmp	r2, #0
	cmpne	r1, #0
	push	{r4, r5, lr}
	mov	r5, r3
	ldr	r3, .L8
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	ip, [sp, #8]
	bne	.L2
	ldr	r3, .L8+4
	ldr	r4, [r3]
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	lr, .L8+8
	add	ip, sp, #8
	mov	r3, r2
	mov	r2, r1
	ldr	r1, [lr]
	str	ip, [sp]
	mov	r4, r0
	bl	do_name_to_id
	mov	r2, r0
	mov	r0, r4
	mov	r4, r2
	bl	nfsd_user_namespace
	ldr	r1, [sp, #8]
	bl	make_kgid
	str	r0, [r5]
	bl	gid_valid
	cmp	r0, #0
	ldreq	r3, .L8+12
	ldreq	r4, [r3]
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	nfserr_inval
	.word	IDMAP_TYPE_GROUP
	.word	nfserr_badowner
	.size	nfsd_map_name_to_gid, .-nfsd_map_name_to_gid
	.comm	nfserr_inval,4,4
	.comm	nfserr_badowner,4,4
	.comm	IDMAP_TYPE_GROUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
