	.file	"extr_execute.c_enforce_groups.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enforce_groups, @function
enforce_groups:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	test	edx, edx
	jle	.L6
	mov	edi, edx
	call	maybe_setgroups@PLT
	test	eax, eax
	js	.L1
.L6:
	mov	edi, ebp
	call	gid_is_valid@PLT
	test	rax, rax
	jne	.L9
.L4:
	xor	eax, eax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, ebp
	mov	esi, ebp
	mov	edi, ebp
	call	setresgid@PLT
	test	rax, rax
	jns	.L4
	mov	eax, DWORD PTR errno[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	enforce_groups, .-enforce_groups
	.comm	errno,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_execute.c_enforce_groups.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enforce_groups, %function
enforce_groups:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, lr}
	mov	r4, r0
	ble	.L6
	mov	r0, r2
	bl	maybe_setgroups
	cmp	r0, #0
	poplt	{r4, pc}
.L6:
	mov	r0, r4
	bl	gid_is_valid
	cmp	r0, #0
	bne	.L10
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L10:
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	bl	setresgid
	cmp	r0, #0
	bge	.L4
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	errno
	.size	enforce_groups, .-enforce_groups
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
