	.file	"430825.c"
	.intel_syntax noprefix
	.text
	.globl	copyright
	.data
	.align 32
	.type	copyright, @object
	.size	copyright, 92
copyright:
	.string	"@(#) Copyright (c) 1988 The Regents of the University of California.\n All rights reserved.\n"
	.align 32
	.type	rcsid, @object
	.size	rcsid, 59
rcsid:
	.string	"$OpenBSD: passwd.c,v 1.4 1996/06/26 05:37:47 deraadt Exp $"
	.globl	use_kerberos
	.bss
	.align 4
	.type	use_kerberos, @object
	.size	use_kerberos, 4
use_kerberos:
	.zero	4
	.globl	use_yp
	.align 4
	.type	use_yp, @object
	.size	use_yp, 4
use_yp:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"passwd: Kerberos not compiled in\n"
.LC1:
	.string	"passwd: YP not compiled in\n"
.LC2:
	.string	"lky"
.LC3:
	.string	"passwd: who are you ??\n"
	.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
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L3
.L7:
	cmp	ebx, 121
	je	.L4
	cmp	ebx, 121
	jg	.L5
	cmp	ebx, 107
	je	.L6
	cmp	ebx, 108
	jne	.L5
	mov	DWORD PTR use_kerberos[rip], 0
	mov	DWORD PTR use_yp[rip], 0
	jmp	.L3
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, 0
	call	usage
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC2[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	ebx, eax
	cmp	ebx, -1
	jne	.L7
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -64[rbp], rax
	call	getlogin@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	cmp	DWORD PTR -52[rbp], 0
	je	.L14
	cmp	DWORD PTR -52[rbp], 1
	jne	.L13
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L12
.L13:
	mov	eax, 0
	call	usage
	mov	edi, 1
	call	exit@PLT
.L14:
	nop
.L12:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	local_passwd@PLT
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.string	"usage: passwd [-l] [-k] [-y] user\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB1:
	.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 stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	usage, .-usage
	.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	"430825.c"
	.text
	.global	copyright
	.data
	.align	2
	.type	copyright, %object
	.size	copyright, 92
copyright:
	.ascii	"@(#) Copyright (c) 1988 The Regents of the Universi"
	.ascii	"ty of California.\012 All rights reserved.\012\000"
	.align	2
	.type	rcsid, %object
	.size	rcsid, 59
rcsid:
	.ascii	"$OpenBSD: passwd.c,v 1.4 1996/06/26 05:37:47 deraad"
	.ascii	"t Exp $\000"
	.comm	use_kerberos,4,4
	.comm	use_yp,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"passwd: Kerberos not compiled in\012\000"
	.align	2
.LC1:
	.ascii	"passwd: YP not compiled in\012\000"
	.align	2
.LC2:
	.ascii	"lky\000"
	.align	2
.LC3:
	.ascii	"passwd: who are you ??\012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L3
.L7:
	cmp	r4, #121
	beq	.L4
	cmp	r4, #121
	bgt	.L5
	cmp	r4, #107
	beq	.L6
	cmp	r4, #108
	bne	.L5
	ldr	r3, .L15
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3]
	b	.L3
.L6:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L15+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L15+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	bl	usage
	mov	r0, #1
	bl	exit
.L3:
	ldr	r2, .L15+20
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	getopt
	mov	r4, r0
	cmn	r4, #1
	bne	.L7
	ldr	r3, .L15+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, .L15+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	bl	getlogin
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L15+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L13
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L12
.L13:
	bl	usage
	mov	r0, #1
	bl	exit
.L14:
	nop
.L12:
	ldr	r0, [fp, #-24]
	bl	local_passwd
	mov	r3, r0
	mov	r0, r3
	bl	exit
.L16:
	.align	2
.L15:
	.word	use_kerberos
	.word	use_yp
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	optind
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"usage: passwd [-l] [-k] [-y] user\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L18+4
	bl	fwrite
	nop
	mov	r0, r3
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	stderr
	.word	.LC4
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
