	.file	"918858.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"FAIL: could not find any domain groups"
.LC1:
	.string	"PASS"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	call	getgrent@PLT
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L3
	mov	DWORD PTR -16[rbp], 0
	call	setgrent@PLT
.L7:
	call	getgrent@PLT
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -16[rbp], 1
	cmp	QWORD PTR -8[rbp], 0
	je	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L7
	mov	DWORD PTR -20[rbp], 1
	jmp	.L5
.L16:
	nop
.L5:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L8
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L9
.L8:
	call	endgrent@PLT
	call	setgrent@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L11:
	call	getgrent@PLT
	add	DWORD PTR -12[rbp], 1
.L10:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L11
	call	endgrent@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L13:
	call	setgrent@PLT
	add	DWORD PTR -12[rbp], 1
.L12:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L13
	mov	DWORD PTR -12[rbp], 0
	jmp	.L14
.L15:
	call	endgrent@PLT
	add	DWORD PTR -12[rbp], 1
.L14:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"918858.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"FAIL: could not find any domain groups\000"
	.align	2
.LC1:
	.ascii	"PASS\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	bl	getgrent
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-16]
	bl	setgrent
.L7:
	bl	getgrent
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L5
.L16:
	nop
.L5:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L17
	bl	puts
	mov	r3, #1
	b	.L9
.L8:
	bl	endgrent
	bl	setgrent
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L11:
	bl	getgrent
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	bl	endgrent
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L12
.L13:
	bl	setgrent
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L13
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L15:
	bl	endgrent
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L15
	ldr	r0, .L17+4
	bl	puts
	mov	r3, #0
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
