	.file	"extr_pw_group.c_grp_set_passwd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"New p"
.LC1:
	.string	"P"
.LC2:
	.string	"*"
.LC3:
	.string	"%sassword for group %s:"
.LC4:
	.string	"-h file descriptor"
.LC5:
	.string	" \t\r\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC6:
	.string	"empty password read on file descriptor %d"
	.section	.rodata.str1.1
.LC7:
	.string	"wrong encrypted passwrd"
	.text
	.p2align 4
	.type	grp_set_passwd, @function
grp_set_passwd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 288
	.cfi_def_cfa_offset 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	cmp	edx, -1
	je	.L1
	mov	rbx, rdi
	mov	ebp, edx
	cmp	edx, 45
	je	.L25
	mov	edi, edx
	mov	r12d, esi
	mov	r13d, ecx
	call	isatty@PLT
	test	eax, eax
	jne	.L26
	lea	r14, 16[rsp]
	mov	edx, 255
	mov	edi, ebp
	mov	rsi, r14
	call	read@PLT
	movsx	r12, eax
	test	r12d, r12d
	js	.L27
.L6:
	lea	rsi, .LC5[rip]
	mov	rdi, r14
	mov	BYTE PTR 16[rsp+r12], 0
	call	strpbrk@PLT
	test	rax, rax
	je	.L7
	mov	BYTE PTR [rax], 0
.L7:
	cmp	BYTE PTR 16[rsp], 0
	je	.L28
.L8:
	test	r13d, r13d
	je	.L9
	mov	esi, 58
	mov	rdi, r14
	call	strchr@PLT
	test	rax, rax
	jne	.L29
.L10:
	mov	QWORD PTR [rbx], r14
.L1:
	mov	rax, QWORD PTR 280[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 288
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	lea	rax, .LC2[rip]
	mov	QWORD PTR [rdi], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r14
	call	pw_pwcrypt@PLT
	mov	QWORD PTR [rbx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	eax, DWORD PTR 8[rsp]
	lea	rdx, 12[rsp]
	mov	edi, ebp
	lea	r14, 16[rsp]
	mov	esi, DWORD PTR TCSANOW[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR ECHO[rip]
	not	eax
	and	DWORD PTR 12[rsp], eax
	call	tcsetattr@PLT
	test	r12d, r12d
	lea	rax, .LC1[rip]
	lea	rsi, .LC0[rip]
	cmove	rsi, rax
	mov	rdx, QWORD PTR 8[rbx]
	lea	rdi, .LC3[rip]
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	mov	edx, 255
	mov	rsi, r14
	mov	edi, ebp
	call	read@PLT
	mov	esi, DWORD PTR TCSANOW[rip]
	lea	rdx, 8[rsp]
	mov	edi, ebp
	movsx	r12, eax
	call	tcsetattr@PLT
	mov	esi, DWORD PTR stdout[rip]
	mov	edi, 10
	call	fputc@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	test	r12d, r12d
	jns	.L6
.L27:
	mov	edi, DWORD PTR EX_OSERR[rip]
	lea	rsi, .LC4[rip]
	call	err@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edi, DWORD PTR EX_DATAERR[rip]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	errx@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edx, DWORD PTR conf[rip]
	mov	edi, DWORD PTR EX_DATAERR[rip]
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	errx@PLT
	jmp	.L8
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	grp_set_passwd, .-grp_set_passwd
	.comm	stdout,4,4
	.comm	conf,4,4
	.comm	TCSANOW,4,4
	.comm	EX_OSERR,4,4
	.comm	EX_DATAERR,4,4
	.comm	ECHO,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_pw_group.c_grp_set_passwd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"New p\000"
	.align	2
.LC1:
	.ascii	"P\000"
	.align	2
.LC2:
	.ascii	"*\000"
	.align	2
.LC3:
	.ascii	"%sassword for group %s:\000"
	.align	2
.LC4:
	.ascii	"-h file descriptor\000"
	.align	2
.LC5:
	.ascii	" \011\015\012\000"
	.align	2
.LC6:
	.ascii	"empty password read on file descriptor %d\000"
	.align	2
.LC7:
	.ascii	"wrong encrypted passwrd\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	grp_set_passwd, %function
grp_set_passwd:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r3
	ldr	r3, .L31
	sub	sp, sp, #276
	cmn	r2, #1
	ldr	r3, [r3]
	str	r3, [sp, #268]
	mov	r3,#0
	beq	.L1
	cmp	r2, #45
	mov	r4, r2
	mov	r5, r0
	beq	.L25
	mov	r0, r2
	mov	r7, r1
	bl	isatty
	cmp	r0, #0
	bne	.L26
	add	r7, sp, #12
	mov	r0, r4
	mov	r1, r7
	mov	r2, #255
	bl	read
	mov	r4, r0
	cmp	r4, #0
	blt	.L27
.L6:
	mov	r8, #0
	add	r3, sp, #272
	add	r4, r3, r4
	mov	r0, r7
	ldr	r1, .L31+4
	strb	r8, [r4, #-260]
	bl	strpbrk
	cmp	r0, #0
	strbne	r8, [r0]
	ldrb	r3, [sp, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
.L8:
	cmp	r6, #0
	beq	.L9
	mov	r1, #58
	mov	r0, r7
	bl	strchr
	cmp	r0, #0
	bne	.L29
.L10:
	str	r7, [r5]
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #268]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #276
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L25:
	ldr	r3, .L31+8
	str	r3, [r0]
	b	.L1
.L9:
	mov	r0, r7
	bl	pw_pwcrypt
	str	r0, [r5]
	b	.L1
.L26:
	ldr	r2, .L31+12
	ldr	r3, [sp, #4]
	ldr	r2, [r2]
	ldr	r9, .L31+16
	bic	r3, r3, r2
	mov	r0, r4
	ldr	r1, [r9]
	add	r2, sp, #8
	str	r3, [sp, #8]
	bl	tcsetattr
	ldr	r3, .L31+20
	cmp	r7, #0
	ldr	r8, .L31+24
	ldr	r1, .L31+28
	ldr	r2, [r5, #4]
	moveq	r1, r3
	ldr	r0, .L31+32
	bl	printf
	add	r7, sp, #12
	ldr	r0, [r8]
	bl	fflush
	mov	r1, r7
	mov	r2, #255
	mov	r0, r4
	bl	read
	mov	ip, r0
	mov	r0, r4
	mov	r4, ip
	add	r2, sp, #4
	ldr	r1, [r9]
	bl	tcsetattr
	ldr	r1, [r8]
	mov	r0, #10
	bl	fputc
	ldr	r0, [r8]
	bl	fflush
	cmp	r4, #0
	bge	.L6
.L27:
	ldr	r3, .L31+36
	ldr	r1, .L31+40
	ldr	r0, [r3]
	bl	err
	b	.L6
.L29:
	ldr	r3, .L31+44
	ldr	r1, .L31+48
	ldr	r0, [r3]
	bl	errx
	b	.L10
.L28:
	ldr	r3, .L31+44
	ldr	r2, .L31+52
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, .L31+56
	bl	errx
	b	.L8
.L30:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC8
	.word	.LC5
	.word	.LC2
	.word	ECHO
	.word	TCSANOW
	.word	.LC1
	.word	stdout
	.word	.LC0
	.word	.LC3
	.word	EX_OSERR
	.word	.LC4
	.word	EX_DATAERR
	.word	.LC7
	.word	conf
	.word	.LC6
	.size	grp_set_passwd, .-grp_set_passwd
	.comm	stdout,4,4
	.comm	conf,4,4
	.comm	TCSANOW,4,4
	.comm	EX_OSERR,4,4
	.comm	EX_DATAERR,4,4
	.comm	ECHO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
