	.file	"548948.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	sccsid, @object
	.size	sccsid, 37
sccsid:
	.string	"@(#)uuencode.c\t5.9 (Berkeley) 6/1/90"
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"r"
.LC2:
	.string	"strerror disabled"
.LC3:
	.string	"uuencode: %s: %s.\n"
.LC4:
	.string	"begin %o %s\n"
.LC5:
	.string	"end"
.LC6:
	.string	"uuencode: write error.\n"
	.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, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L3:
	mov	eax, 0
	call	usage
.L2:
	mov	rcx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -180[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getopt@PLT
	cmp	eax, -1
	jne	.L3
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -192[rbp], rax
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], 1
	je	.L4
	cmp	DWORD PTR -180[rbp], 2
	jne	.L5
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	fstat@PLT
	test	eax, eax
	je	.L7
.L6:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 511
	mov	DWORD PTR -164[rbp], eax
	add	QWORD PTR -192[rbp], 8
	jmp	.L8
.L4:
	mov	edi, 438
	call	umask@PLT
	not	eax
	and	eax, 438
	mov	DWORD PTR -164[rbp], eax
	jmp	.L8
.L5:
	mov	eax, 0
	call	usage
.L8:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	encode
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	"uuencode: read error.\n"
	.text
	.globl	encode
	.type	encode, @function
encode:
.LFB7:
	.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, 104
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	jmp	.L12
.L32:
	test	r13d, r13d
	je	.L13
	mov	eax, r13d
	and	eax, 63
	add	eax, 32
	jmp	.L14
.L13:
	mov	eax, 96
.L14:
	mov	ebx, eax
	mov	edi, ebx
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	lea	r12, -128[rbp]
	jmp	.L17
.L31:
	movzx	eax, BYTE PTR [r12]
	sar	al, 2
	movsx	ebx, al
	test	ebx, ebx
	je	.L18
	mov	eax, ebx
	and	eax, 63
	add	eax, 32
	jmp	.L19
.L18:
	mov	eax, 96
.L19:
	mov	ebx, eax
	mov	edi, ebx
	call	putchar@PLT
	cmp	eax, -1
	je	.L36
	movzx	eax, BYTE PTR [r12]
	movsx	eax, al
	sal	eax, 4
	and	eax, 48
	mov	edx, eax
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	sar	al, 4
	movsx	eax, al
	and	eax, 15
	or	edx, eax
	mov	ebx, edx
	test	ebx, ebx
	je	.L22
	mov	eax, ebx
	and	eax, 63
	add	eax, 32
	jmp	.L23
.L22:
	mov	eax, 96
.L23:
	mov	ebx, eax
	mov	edi, ebx
	call	putchar@PLT
	cmp	eax, -1
	je	.L37
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sal	eax, 2
	and	eax, 60
	mov	edx, eax
	lea	rax, 2[r12]
	movzx	eax, BYTE PTR [rax]
	sar	al, 6
	movsx	eax, al
	and	eax, 3
	or	edx, eax
	mov	ebx, edx
	test	ebx, ebx
	je	.L25
	mov	eax, ebx
	and	eax, 63
	add	eax, 32
	jmp	.L26
.L25:
	mov	eax, 96
.L26:
	mov	ebx, eax
	mov	edi, ebx
	call	putchar@PLT
	cmp	eax, -1
	je	.L38
	lea	rax, 2[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 63
	mov	ebx, eax
	test	ebx, ebx
	je	.L28
	mov	eax, ebx
	and	eax, 63
	add	eax, 32
	jmp	.L29
.L28:
	mov	eax, 96
.L29:
	mov	ebx, eax
	mov	edi, ebx
	call	putchar@PLT
	cmp	eax, -1
	je	.L39
	sub	r13d, 3
	add	r12, 3
.L17:
	test	r13d, r13d
	jg	.L31
	jmp	.L21
.L36:
	nop
	jmp	.L21
.L37:
	nop
	jmp	.L21
.L38:
	nop
	jmp	.L21
.L39:
	nop
.L21:
	mov	edi, 10
	call	putchar@PLT
	cmp	eax, -1
	je	.L40
.L12:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 45
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	r13d, eax
	test	r13d, r13d
	jne	.L32
	jmp	.L16
.L35:
	nop
	jmp	.L16
.L40:
	nop
.L16:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	ebx, 96
	mov	edi, ebx
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rcx, QWORD PTR -40[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	add	rsp, 104
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	encode, .-encode
	.section	.rodata
	.align 8
.LC8:
	.string	"usage: uuencode [infile] remotefile\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB8:
	.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, 36
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.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	"548948.c"
	.text
	.data
	.align	2
	.type	sccsid, %object
	.size	sccsid, 37
sccsid:
	.ascii	"@(#)uuencode.c\0115.9 (Berkeley) 6/1/90\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"strerror disabled\000"
	.align	2
.LC3:
	.ascii	"uuencode: %s: %s.\012\000"
	.align	2
.LC4:
	.ascii	"begin %o %s\012\000"
	.align	2
.LC5:
	.ascii	"end\000"
	.align	2
.LC6:
	.ascii	"uuencode: write error.\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L3:
	bl	usage
.L2:
	ldr	r2, .L11+4
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	getopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r3, .L11+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	str	r3, [fp, #-116]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	sub	r3, r2, r3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	beq	.L4
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	bne	.L5
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	ldr	r2, .L11+12
	ldr	r2, [r2]
	ldr	r1, .L11+16
	mov	r0, r3
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #100
	mov	r1, r3
	mov	r0, r2
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r3, .L11+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	ldr	r2, [r3]
	ldr	r3, .L11+24
	ldr	r1, .L11+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #23
	lsr	r3, r3, #23
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	b	.L8
.L4:
	ldr	r0, .L11+32
	bl	umask
	mov	r3, r0
	mvn	r3, r3
	mov	r2, r3
	ldr	r3, .L11+32
	and	r3, r3, r2
	str	r3, [fp, #-104]
	b	.L8
.L5:
	bl	usage
.L8:
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-104]
	ldr	r0, .L11+36
	bl	printf
	bl	encode
	ldr	r0, .L11+40
	bl	puts
	ldr	r3, .L11+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L11+20
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L11+48
	bl	fwrite
	mov	r0, #1
	bl	exit
.L9:
	mov	r0, #0
	bl	exit
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	.LC0
	.word	optind
	.word	stdin
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	438
	.word	.LC4
	.word	.LC5
	.word	stdout
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"uuencode: read error.\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode, %function
encode:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #92
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	b	.L14
.L34:
	cmp	r6, #0
	beq	.L15
	and	r3, r6, #63
	add	r3, r3, #32
	b	.L16
.L15:
	mov	r3, #96
.L16:
	mov	r4, r3
	mov	r0, r4
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L37
	sub	r5, fp, #104
	b	.L19
.L33:
	ldrb	r3, [r5]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r4, r3
	cmp	r4, #0
	beq	.L20
	and	r3, r4, #63
	add	r3, r3, #32
	b	.L21
.L20:
	mov	r3, #96
.L21:
	mov	r4, r3
	mov	r0, r4
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L38
	ldrb	r3, [r5]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r2, r3, #48
	add	r3, r5, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	orr	r4, r2, r3
	cmp	r4, #0
	beq	.L24
	and	r3, r4, #63
	add	r3, r3, #32
	b	.L25
.L24:
	mov	r3, #96
.L25:
	mov	r4, r3
	mov	r0, r4
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	add	r3, r5, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	and	r2, r3, #60
	add	r3, r5, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	and	r3, r3, #3
	orr	r4, r2, r3
	cmp	r4, #0
	beq	.L27
	and	r3, r4, #63
	add	r3, r3, #32
	b	.L28
.L27:
	mov	r3, #96
.L28:
	mov	r4, r3
	mov	r0, r4
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L40
	add	r3, r5, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r4, r3, #63
	cmp	r4, #0
	beq	.L30
	and	r3, r4, #63
	add	r3, r3, #32
	b	.L31
.L30:
	mov	r3, #96
.L31:
	mov	r4, r3
	mov	r0, r4
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	sub	r6, r6, #3
	add	r5, r5, #3
.L19:
	cmp	r6, #0
	bgt	.L33
	b	.L23
.L38:
	nop
	b	.L23
.L39:
	nop
	b	.L23
.L40:
	nop
	b	.L23
.L41:
	nop
.L23:
	mov	r0, #10
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L42
.L14:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	sub	r0, fp, #104
	mov	r2, #45
	mov	r1, #1
	bl	fread
	mov	r3, r0
	mov	r6, r3
	cmp	r6, #0
	bne	.L34
	b	.L18
.L37:
	nop
	b	.L18
.L42:
	nop
.L18:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L43+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L43+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L35:
	mov	r4, #96
	mov	r0, r4
	bl	putchar
	mov	r0, #10
	bl	putchar
	nop
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC9
	.word	stdin
	.word	stderr
	.word	.LC8
	.size	encode, .-encode
	.section	.rodata
	.align	2
.LC10:
	.ascii	"usage: uuencode [infile] remotefile\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, .L46
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L46+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L47:
	.align	2
.L46:
	.word	stderr
	.word	.LC10
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
