	.file	"727579.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
	.type	rcsid, @object
	.size	rcsid, 10
rcsid:
	.string	"$FreeBSD$"
	.globl	_gr_fp
	.bss
	.align 8
	.type	_gr_fp, @object
	.size	_gr_fp, 8
_gr_fp:
	.zero	8
	.local	_gr_group
	.comm	_gr_group,32,32
	.local	_gr_stayopen
	.comm	_gr_stayopen,4,4
	.local	members
	.comm	members,1600,32
	.local	line
	.comm	line,1024,32
	.text
	.globl	_getgrent
	.type	_getgrent, @function
_getgrent:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR _gr_fp[rip]
	test	rax, rax
	jne	.L2
	call	start_gr
	test	eax, eax
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	esi, 0
	mov	edi, 0
	call	grscan
	test	eax, eax
	jne	.L4
	mov	eax, 0
	jmp	.L3
.L4:
	lea	rax, _gr_group[rip]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_getgrent, .-_getgrent
	.type	start_gr, @function
start_gr:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	start_gr, .-start_gr
	.globl	_setgroupent
	.type	_setgroupent, @function
_setgroupent:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	call	start_gr
	test	eax, eax
	jne	.L8
	mov	eax, 0
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR _gr_stayopen[rip], eax
	mov	eax, 1
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	_setgroupent, .-_setgroupent
	.globl	_setgrent
	.type	_setgrent, @function
_setgrent:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	_setgroupent
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	_setgrent, .-_setgrent
	.globl	_endgrent
	.type	_endgrent, @function
_endgrent:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR _gr_fp[rip]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR _gr_fp[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR _gr_fp[rip], 0
.L14:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	_endgrent, .-_endgrent
	.section	.rodata
.LC0:
	.string	":\n"
	.text
	.type	grscan, @function
grscan:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L37:
	mov	rax, QWORD PTR _gr_fp[rip]
	mov	rdx, rax
	mov	esi, 1024
	lea	rdi, line[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L16
	mov	eax, 0
	jmp	.L38
.L16:
	lea	rax, line[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	esi, 10
	lea	rdi, line[rip]
	call	strchr@PLT
	test	rax, rax
	jne	.L18
	nop
.L20:
	mov	rax, QWORD PTR _gr_fp[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 10
	je	.L40
	cmp	DWORD PTR -36[rbp], -1
	jne	.L20
	jmp	.L40
.L18:
	lea	rax, -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR _gr_group[rip], rax
	mov	rax, QWORD PTR _gr_group[rip]
	test	rax, rax
	je	.L41
	mov	rax, QWORD PTR _gr_group[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L42
	lea	rax, -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR _gr_group[rip+8], rax
	mov	rax, QWORD PTR _gr_group[rip+8]
	test	rax, rax
	je	.L43
	lea	rax, -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L44
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR _gr_group[rip+16], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L27
	mov	edx, DWORD PTR _gr_group[rip+16]
	mov	eax, DWORD PTR -56[rbp]
	cmp	edx, eax
	jne	.L45
.L27:
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L46
	lea	rax, members[rip]
	mov	QWORD PTR _gr_group[rip+24], rax
	mov	rax, QWORD PTR _gr_group[rip+24]
	mov	QWORD PTR -16[rbp], rax
.L36:
	lea	rax, members[rip+1592]
	cmp	QWORD PTR -16[rbp], rax
	je	.L47
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L31
	cmp	QWORD PTR -24[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR -24[rbp], 0
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L33
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L33
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L34
.L33:
	cmp	QWORD PTR -24[rbp], 0
	je	.L48
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L48
.L34:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
.L32:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	QWORD PTR -32[rbp], rax
	jmp	.L36
.L47:
	nop
	jmp	.L30
.L48:
	nop
.L30:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], 0
	mov	eax, 1
	jmp	.L38
.L40:
	nop
	jmp	.L37
.L42:
	nop
	jmp	.L37
.L44:
	nop
	jmp	.L37
.L45:
	nop
	jmp	.L37
.L41:
	nop
	jmp	.L23
.L43:
	nop
	jmp	.L23
.L46:
	nop
.L23:
	mov	eax, 0
.L38:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	grscan, .-grscan
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"727579.c"
	.text
	.section	.rodata
	.align	2
	.type	rcsid, %object
	.size	rcsid, 10
rcsid:
	.ascii	"$FreeBSD$\000"
	.comm	_gr_fp,4,4
	.local	_gr_group
	.comm	_gr_group,16,4
	.local	_gr_stayopen
	.comm	_gr_stayopen,4,4
	.local	members
	.comm	members,800,4
	.local	line
	.comm	line,1024,4
	.text
	.align	2
	.global	_getgrent
	.syntax unified
	.arm
	.fpu softvfp
	.type	_getgrent, %function
_getgrent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	bl	start_gr
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r1, #0
	mov	r0, #0
	bl	grscan
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L3
.L4:
	ldr	r3, .L5+4
.L3:
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	_gr_fp
	.word	_gr_group
	.size	_getgrent, .-_getgrent
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_gr, %function
start_gr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	start_gr, .-start_gr
	.align	2
	.global	_setgroupent
	.syntax unified
	.arm
	.fpu softvfp
	.type	_setgroupent, %function
_setgroupent:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	start_gr
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	b	.L11
.L10:
	ldr	r2, .L12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	mov	r3, #1
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	_gr_stayopen
	.size	_setgroupent, .-_setgroupent
	.align	2
	.global	_setgrent
	.syntax unified
	.arm
	.fpu softvfp
	.type	_setgrent, %function
_setgrent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	_setgroupent
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	_setgrent, .-_setgrent
	.align	2
	.global	_endgrent
	.syntax unified
	.arm
	.fpu softvfp
	.type	_endgrent, %function
_endgrent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L19
	mov	r2, #0
	str	r2, [r3]
.L18:
	nop
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	_gr_fp
	.size	_endgrent, .-_endgrent
	.section	.rodata
	.align	2
.LC0:
	.ascii	":\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	grscan, %function
grscan:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L43:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #1024
	ldr	r0, .L55+8
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	b	.L44
.L22:
	ldr	r3, .L55+8
	str	r3, [fp, #-24]
	mov	r1, #10
	ldr	r0, .L55+8
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	nop
.L26:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L46
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L26
	b	.L46
.L24:
	sub	r3, fp, #24
	ldr	r1, .L55+12
	mov	r0, r3
	bl	strsep
	mov	r3, r0
	ldr	r2, .L55+16
	str	r3, [r2]
	ldr	r3, .L55+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L55+16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L48
	sub	r3, fp, #24
	ldr	r1, .L55+12
	mov	r0, r3
	bl	strsep
	mov	r3, r0
	ldr	r2, .L55+16
	str	r3, [r2, #4]
	ldr	r3, .L55+16
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L49
	sub	r3, fp, #24
	ldr	r1, .L55+12
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L50
	ldr	r0, [fp, #-20]
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L55+16
	str	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L55+16
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L51
.L33:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L52
	ldr	r3, .L55+16
	ldr	r2, .L55+20
	str	r2, [r3, #12]
	ldr	r3, .L55+16
	ldr	r3, [r3, #12]
	str	r3, [fp, #-16]
.L42:
	ldr	r3, [fp, #-16]
	ldr	r2, .L55+24
	cmp	r3, r2
	beq	.L53
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L37
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L38
.L37:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L39
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L40
.L39:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	b	.L54
.L40:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
.L38:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L42
.L53:
	nop
	b	.L36
.L54:
	nop
.L36:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	b	.L44
.L46:
	nop
	b	.L43
.L48:
	nop
	b	.L43
.L50:
	nop
	b	.L43
.L51:
	nop
	b	.L43
.L47:
	nop
	b	.L29
.L49:
	nop
	b	.L29
.L52:
	nop
.L29:
	mov	r3, #0
.L44:
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC1
	.word	_gr_fp
	.word	line
	.word	.LC0
	.word	_gr_group
	.word	members
	.word	members+796
	.size	grscan, .-grscan
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
