	.file	"72011838.c"
	.intel_syntax noprefix
	.text
	.globl	genbuf
	.bss
	.align 32
	.type	genbuf, @object
	.size	genbuf, 8192
genbuf:
	.zero	8192
	.globl	linebuf
	.align 32
	.type	linebuf, @object
	.size	linebuf, 8192
linebuf:
	.zero	8192
	.globl	all
	.align 4
	.type	all, @object
	.size	all, 4
all:
	.zero	4
	.section	.rodata
.LC0:
	.string	"-a"
	.align 8
.LC1:
	.string	"usage: unexpand [-a] [file ...]\n"
.LC2:
	.string	"r"
.LC3:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	sub	DWORD PTR -20[rbp], 1
	add	QWORD PTR -32[rbp], 8
	cmp	DWORD PTR -20[rbp], 0
	jle	.L11
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L11
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR all[rip]
	add	eax, 1
	mov	DWORD PTR all[rip], eax
	sub	DWORD PTR -20[rbp], 1
	add	QWORD PTR -32[rbp], 8
.L11:
	cmp	DWORD PTR -20[rbp], 0
	jle	.L6
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	sub	DWORD PTR -20[rbp], 1
	add	QWORD PTR -32[rbp], 8
	jmp	.L6
.L10:
	lea	rax, linebuf[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L7
.L8:
	add	QWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	lea	rax, linebuf[rip]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L9
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	mov	BYTE PTR [rax], 0
.L9:
	mov	eax, DWORD PTR all[rip]
	movsx	eax, al
	mov	edi, eax
	call	tabify
	lea	rsi, linebuf[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 8192
	lea	rdi, genbuf[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L10
	cmp	DWORD PTR -20[rbp], 0
	jg	.L11
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	tabify
	.type	tabify, @function
tabify:
.LFB7:
	.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	eax, edi
	mov	BYTE PTR -36[rbp], al
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	lea	rax, genbuf[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, linebuf[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 8192
.L27:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 9
	je	.L13
	cmp	eax, 32
	jne	.L16
	add	DWORD PTR -32[rbp], 1
	jmp	.L15
.L13:
	add	DWORD PTR -32[rbp], 8
	and	DWORD PTR -32[rbp], -8
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	je	.L29
	cmp	QWORD PTR -8[rbp], 1
	jbe	.L19
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 9
	sub	QWORD PTR -8[rbp], 1
.L19:
	add	DWORD PTR -28[rbp], 8
	and	DWORD PTR -28[rbp], -8
.L16:
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 8
	and	eax, -8
	cmp	DWORD PTR -32[rbp], eax
	jge	.L20
	jmp	.L21
.L29:
	nop
	jmp	.L21
.L23:
	cmp	QWORD PTR -8[rbp], 1
	jbe	.L22
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 32
	sub	QWORD PTR -8[rbp], 1
.L22:
	add	DWORD PTR -28[rbp], 1
.L21:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L23
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L24
	cmp	BYTE PTR -36[rbp], 0
	jne	.L25
.L24:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	strlcpy@PLT
	jmp	.L28
.L25:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	sub	QWORD PTR -8[rbp], 1
	add	DWORD PTR -28[rbp], 1
	add	DWORD PTR -32[rbp], 1
.L15:
	add	QWORD PTR -24[rbp], 1
	jmp	.L27
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	tabify, .-tabify
	.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	"72011838.c"
	.text
	.comm	genbuf,8192,4
	.comm	linebuf,8192,4
	.comm	all,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-a\000"
	.align	2
.LC1:
	.ascii	"usage: unexpand [-a] [file ...]\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L11
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L11
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, .L12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L12+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, .L12+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+12
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r2, [r2]
	ldr	r1, .L12+20
	mov	r0, r3
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	b	.L6
.L10:
	ldr	r3, .L12+24
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-8]
	ldr	r2, .L12+24
	cmp	r3, r2
	bls	.L9
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L9:
	ldr	r3, .L12+12
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	tabify
	ldr	r1, .L12+24
	ldr	r0, .L12+28
	bl	printf
.L6:
	ldr	r3, .L12+16
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #8192
	ldr	r0, .L12+32
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L11
	mov	r0, #0
	bl	exit
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	all
	.word	stdin
	.word	.LC2
	.word	linebuf
	.word	.LC3
	.word	genbuf
	.size	main, .-main
	.align	2
	.global	tabify
	.syntax unified
	.arm
	.fpu softvfp
	.type	tabify, %function
tabify:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, r0
	strb	r3, [fp, #-29]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L32
	str	r3, [fp, #-24]
	ldr	r3, .L32+4
	str	r3, [fp, #-20]
	mov	r3, #8192
	str	r3, [fp, #-8]
.L29:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L15
	cmp	r3, #32
	bne	.L18
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L17
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	bic	r3, r3, #7
	str	r3, [fp, #-16]
	b	.L17
.L22:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L31
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bls	.L21
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, #9
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L21:
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	bic	r3, r3, #7
	str	r3, [fp, #-12]
.L18:
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	bic	r3, r3, #7
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L22
	b	.L23
.L31:
	nop
	b	.L23
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bls	.L24
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L23:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L27
.L26:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	strlcpy
	b	.L30
.L27:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L29
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	genbuf
	.word	linebuf
	.size	tabify, .-tabify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
