	.file	"961205.c"
	.intel_syntax noprefix
	.text
	.globl	lines
	.bss
	.align 32
	.type	lines, @object
	.size	lines, 400
lines:
	.zero	400
	.globl	prevline
	.section	.data.rel.local,"aw"
	.align 8
	.type	prevline, @object
	.size	prevline, 8
prevline:
	.quad	lines
	.globl	currline
	.align 8
	.type	currline, @object
	.size	currline, 8
currline:
	.quad	lines+200
	.globl	cflag
	.bss
	.align 4
	.type	cflag, @object
	.size	cflag, 4
cflag:
	.zero	4
	.globl	uflag
	.align 4
	.type	uflag, @object
	.size	uflag, 4
uflag:
	.zero	4
	.globl	dflag
	.align 4
	.type	dflag, @object
	.size	dflag, 4
dflag:
	.zero	4
	.globl	nfield
	.align 4
	.type	nfield, @object
	.size	nfield, 4
nfield:
	.zero	4
	.globl	nchar
	.align 4
	.type	nchar, @object
	.size	nchar, 4
nchar:
	.zero	4
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	ifp
	.align 8
	.type	ifp, @object
	.size	ifp, 8
ifp:
	.zero	8
	.globl	ofp
	.align 8
	.type	ofp, @object
	.size	ofp, 8
ofp:
	.zero	8
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"Cannot open output %s\n"
.LC2:
	.string	"r"
.LC3:
	.string	"Cannot open input %s\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, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jle	.L2
	jmp	.L3
.L15:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L4
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rbx, 1[rax]
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 47
	jle	.L7
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 57
	jg	.L7
	mov	rdi, rbx
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR nfield[rip], eax
	jmp	.L14
.L13:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	cmp	eax, 117
	je	.L8
	cmp	eax, 117
	jg	.L9
	cmp	eax, 99
	je	.L10
	cmp	eax, 100
	je	.L11
	jmp	.L9
.L10:
	mov	DWORD PTR cflag[rip], 1
	jmp	.L12
.L11:
	mov	DWORD PTR dflag[rip], 1
	jmp	.L12
.L8:
	mov	DWORD PTR uflag[rip], 1
	jmp	.L12
.L9:
	mov	eax, 0
	call	usage
.L12:
	add	rbx, 1
.L7:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L13
	jmp	.L14
.L4:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR nchar[rip], eax
.L14:
	sub	DWORD PTR -20[rbp], 1
	add	QWORD PTR -32[rbp], 8
.L3:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L15
.L2:
	mov	eax, DWORD PTR cflag[rip]
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR dflag[rip]
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR uflag[rip]
	test	eax, eax
	jne	.L16
	mov	DWORD PTR uflag[rip], 1
	mov	eax, DWORD PTR uflag[rip]
	mov	DWORD PTR dflag[rip], eax
.L16:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR ofp[rip], rax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR ifp[rip], rax
	cmp	DWORD PTR -20[rbp], 3
	jle	.L17
	mov	eax, 0
	call	usage
.L17:
	cmp	DWORD PTR -20[rbp], 3
	jne	.L18
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR ofp[rip], rax
	mov	rax, QWORD PTR ofp[rip]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	cmp	DWORD PTR -20[rbp], 1
	jle	.L19
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR ifp[rip], rax
	mov	rax, QWORD PTR ifp[rip]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	eax, 0
	call	uniq
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	uniq
	.type	uniq, @function
uniq:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	r13d, 1
	mov	rax, QWORD PTR prevline[rip]
	mov	rdi, rax
	mov	eax, 0
	call	input
	mov	r12, rax
	test	r12, r12
	je	.L26
	mov	DWORD PTR count[rip], 1
	jmp	.L23
.L25:
	mov	rsi, rbx
	mov	rdi, r12
	call	strcmp@PLT
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR prevline[rip]
	mov	rdi, rax
	mov	eax, 0
	call	output
	mov	rax, QWORD PTR currline[rip]
	mov	QWORD PTR prevline[rip], rax
	mov	r12, rbx
	xor	r13d, 1
	movsx	rdx, r13d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, lines[rip]
	add	rax, rdx
	mov	QWORD PTR currline[rip], rax
	mov	DWORD PTR count[rip], 0
.L24:
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
.L23:
	mov	rax, QWORD PTR currline[rip]
	mov	rdi, rax
	mov	eax, 0
	call	input
	mov	rbx, rax
	test	rbx, rbx
	jne	.L25
	mov	rax, QWORD PTR prevline[rip]
	mov	rdi, rax
	mov	eax, 0
	call	output
	jmp	.L22
.L26:
	nop
.L22:
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	uniq, .-uniq
	.section	.rodata
.LC4:
	.string	"%d: %s"
	.text
	.globl	output
	.type	output, @function
output:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR cflag[rip]
	test	eax, eax
	je	.L28
	mov	edx, DWORD PTR count[rip]
	mov	rax, QWORD PTR ofp[rip]
	mov	rcx, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L29
.L28:
	mov	eax, DWORD PTR uflag[rip]
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR count[rip]
	cmp	eax, 1
	je	.L31
.L30:
	mov	eax, DWORD PTR dflag[rip]
	test	eax, eax
	je	.L29
	mov	eax, DWORD PTR count[rip]
	cmp	eax, 1
	jle	.L29
.L31:
	mov	rdx, QWORD PTR ofp[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L29:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	output, .-output
	.globl	input
	.type	input, @function
input:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rax, QWORD PTR ifp[rip]
	mov	rdx, rax
	mov	esi, 200
	mov	rdi, rbx
	call	fgets@PLT
	test	rax, rax
	jne	.L33
	mov	eax, 0
	jmp	.L34
.L33:
	mov	r13d, DWORD PTR nfield[rip]
	mov	r12d, DWORD PTR nchar[rip]
	jmp	.L35
.L37:
	add	rbx, 1
.L36:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L37
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 9
	je	.L37
	jmp	.L38
.L39:
	add	rbx, 1
.L38:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L35
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 9
	je	.L35
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 10
	je	.L35
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L39
.L35:
	mov	eax, r13d
	lea	r13d, -1[rax]
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR nfield[rip]
	test	eax, eax
	je	.L44
	jmp	.L42
.L43:
	add	rbx, 1
.L42:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L43
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 9
	je	.L43
	jmp	.L44
.L46:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 10
	je	.L45
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L45
	add	rbx, 1
.L44:
	mov	eax, r12d
	lea	r12d, -1[rax]
	test	eax, eax
	jne	.L46
.L45:
	mov	rax, rbx
.L34:
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	input, .-input
	.section	.rodata
	.align 8
.LC5:
	.string	"Usage: uniq [-udc] [+n] [-n] [ input [ output ] ]\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB4:
	.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, 50
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE4:
	.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	"961205.c"
	.text
	.comm	lines,400,4
	.global	prevline
	.data
	.align	2
	.type	prevline, %object
	.size	prevline, 4
prevline:
	.word	lines
	.global	currline
	.align	2
	.type	currline, %object
	.size	currline, 4
currline:
	.word	lines+200
	.comm	cflag,4,4
	.comm	uflag,4,4
	.comm	dflag,4,4
	.comm	nfield,4,4
	.comm	nchar,4,4
	.comm	count,4,4
	.comm	ifp,4,4
	.comm	ofp,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"Cannot open output %s\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Cannot open input %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L2
	b	.L3
.L15:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r4, r3, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L7
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L7
	mov	r0, r4
	bl	atoi
	mov	r3, r0
	ldr	r2, .L20
	str	r3, [r2]
	b	.L14
.L13:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #117
	beq	.L8
	cmp	r3, #117
	bgt	.L9
	cmp	r3, #99
	beq	.L10
	cmp	r3, #100
	beq	.L11
	b	.L9
.L10:
	ldr	r3, .L20+4
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L11:
	ldr	r3, .L20+8
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L8:
	ldr	r3, .L20+12
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L9:
	bl	usage
.L12:
	add	r4, r4, #1
.L7:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	b	.L14
.L4:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L20+16
	str	r3, [r2]
.L14:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L15
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L15
.L2:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L20+12
	ldr	r3, [r3]
	ldr	r2, .L20+8
	str	r3, [r2]
.L16:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, .L20+24
	str	r3, [r2]
	ldr	r3, .L20+28
	ldr	r3, [r3]
	ldr	r2, .L20+32
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L17
	bl	usage
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L18
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L20+36
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L20+24
	str	r3, [r2]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L20+40
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+44
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L19
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L20+48
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L20+32
	str	r3, [r2]
	ldr	r3, .L20+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L20+40
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+52
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	bl	uniq
	mov	r0, #0
	bl	exit
.L21:
	.align	2
.L20:
	.word	nfield
	.word	cflag
	.word	dflag
	.word	uflag
	.word	nchar
	.word	stdout
	.word	ofp
	.word	stdin
	.word	ifp
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.align	2
	.global	uniq
	.syntax unified
	.arm
	.fpu softvfp
	.type	uniq, %function
uniq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	ldr	r3, .L29
	ldr	r5, [r3]
	ldr	r3, .L29+4
	ldr	r4, [r3]
	mov	r6, #1
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r0, r3
	bl	input
	mov	r5, r0
	cmp	r5, #0
	beq	.L28
	ldr	r3, .L29+8
	mov	r2, #1
	str	r2, [r3]
	b	.L25
.L27:
	mov	r1, r4
	mov	r0, r5
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
	ldr	r3, .L29+4
	ldr	r3, [r3]
	ldr	r2, .L29
	str	r3, [r2]
	mov	r5, r4
	eor	r6, r6, #1
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, r6
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L29+12
	add	r3, r3, r2
	ldr	r2, .L29+4
	str	r3, [r2]
	ldr	r3, .L29+8
	mov	r2, #0
	str	r2, [r3]
.L26:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L29+8
	str	r3, [r2]
.L25:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	input
	mov	r4, r0
	cmp	r4, #0
	bne	.L27
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
	b	.L24
.L28:
	nop
.L24:
	mov	r0, r3
	pop	{r4, r5, r6, r7, fp, pc}
.L30:
	.align	2
.L29:
	.word	prevline
	.word	currline
	.word	count
	.word	lines
	.size	uniq, .-uniq
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%d: %s\000"
	.text
	.align	2
	.global	output
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ 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]
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, .L36+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, .L36+12
	bl	fprintf
	b	.L33
.L32:
	ldr	r3, .L36+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L36+8
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L35
.L34:
	ldr	r3, .L36+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L36+8
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L33
.L35:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	fputs
.L33:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	cflag
	.word	ofp
	.word	count
	.word	.LC4
	.word	uflag
	.word	dflag
	.size	output, .-output
	.align	2
	.global	input
	.syntax unified
	.arm
	.fpu softvfp
	.type	input, %function
input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	mov	r4, r0
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #200
	mov	r0, r4
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	mov	r3, #0
	b	.L40
.L39:
	ldr	r3, .L53+4
	ldr	r6, [r3]
	ldr	r3, .L53+8
	ldr	r5, [r3]
	b	.L41
.L43:
	add	r4, r4, #1
.L42:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L43
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L43
	b	.L44
.L45:
	add	r4, r4, #1
.L44:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L41
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L41
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L41
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
.L41:
	mov	r3, r6
	sub	r6, r3, #1
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L53+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L50
	b	.L48
.L49:
	add	r4, r4, #1
.L48:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L49
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L49
	b	.L50
.L52:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L51
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L51
	add	r4, r4, #1
.L50:
	mov	r3, r5
	sub	r5, r3, #1
	cmp	r3, #0
	bne	.L52
.L51:
	mov	r3, r4
.L40:
	mov	r0, r3
	pop	{r4, r5, r6, r7, fp, pc}
.L54:
	.align	2
.L53:
	.word	ifp
	.word	nfield
	.word	nchar
	.size	input, .-input
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Usage: uniq [-udc] [+n] [-n] [ input [ output ] ]\012"
	.ascii	"\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, .L56
	ldr	r3, [r3]
	mov	r2, #50
	mov	r1, #1
	ldr	r0, .L56+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L57:
	.align	2
.L56:
	.word	stderr
	.word	.LC5
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
