	.file	"111465.c"
	.intel_syntax noprefix
	.text
	.globl	fpin
	.bss
	.align 8
	.type	fpin, @object
	.size	fpin, 8
fpin:
	.zero	8
	.globl	fpout
	.align 8
	.type	fpout, @object
	.size	fpout, 8
fpout:
	.zero	8
	.globl	prog_opts
	.data
	.type	prog_opts, @object
	.size	prog_opts, 7
prog_opts:
	.string	"hni:o:"
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	" can't open file %s \n"
.LC2:
	.string	"w"
.LC3:
	.string	"%x"
	.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
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR fpin[rip], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR fpout[rip], rax
	jmp	.L2
.L7:
	movsx	eax, BYTE PTR -101[rbp]
	cmp	eax, 111
	je	.L3
	cmp	eax, 111
	jg	.L4
	cmp	eax, 105
	je	.L5
	cmp	eax, 110
	je	.L6
	jmp	.L4
.L3:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -72[rbp], rax
	add	DWORD PTR -92[rbp], 1
	jmp	.L2
.L5:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -80[rbp], rax
	add	DWORD PTR -96[rbp], 1
	jmp	.L2
.L6:
	add	DWORD PTR -88[rbp], 1
	jmp	.L2
.L4:
	mov	eax, 0
	call	usage
	nop
.L2:
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -116[rbp]
	lea	rdx, prog_opts[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getopt@PLT
	mov	BYTE PTR -101[rbp], al
	cmp	BYTE PTR -101[rbp], -1
	jne	.L7
	cmp	DWORD PTR -96[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR fpin[rip], rax
	mov	rax, QWORD PTR fpin[rip]
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L8:
	cmp	DWORD PTR -92[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR fpout[rip], rax
	mov	rax, QWORD PTR fpout[rip]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L9:
	cmp	DWORD PTR -88[rbp], 0
	je	.L10
	mov	DWORD PTR -64[rbp], 779316836
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 25
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 1
	mov	DWORD PTR -48[rbp], 8000
	mov	DWORD PTR -44[rbp], 1
	mov	rdx, QWORD PTR fpout[rip]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 24
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rbx, QWORD PTR fpout[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rbx
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L10:
	mov	DWORD PTR -96[rbp], 0
.L17:
	cmp	DWORD PTR -96[rbp], 0
	je	.L11
	lea	rdx, -100[rbp]
	lea	rax, -27[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -100[rbp]
	mov	BYTE PTR -101[rbp], al
	mov	rdx, QWORD PTR fpout[rip]
	movsx	eax, BYTE PTR -101[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L11:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L12
.L16:
	mov	rax, QWORD PTR fpin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	BYTE PTR -27[rbp+rax], dl
	jmp	.L13
.L15:
	mov	rax, QWORD PTR fpin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	BYTE PTR -27[rbp+rax], dl
.L13:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -27[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 4096
	test	eax, eax
	jne	.L14
	mov	rax, QWORD PTR fpin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L15
.L14:
	add	DWORD PTR -84[rbp], 1
.L12:
	cmp	DWORD PTR -84[rbp], 1
	jle	.L16
	mov	DWORD PTR -96[rbp], 1
	mov	rax, QWORD PTR fpin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR fpin[rip]
	mov	rdi, rax
	mov	eax, 0
	call	close@PLT
	mov	rax, QWORD PTR fpout[rip]
	mov	rdi, rax
	mov	eax, 0
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.string	"\n convert an ascii pcm file to a binary audiofile"
	.align 8
.LC5:
	.string	"\n usage: pcma2b -h -n -o <output_file_name> -i <input_file_name>"
.LC6:
	.string	"\n  where:"
	.align 8
.LC7:
	.string	"\n \t\t-h print this help message"
	.align 8
.LC8:
	.string	"\n \t\t-n add a sun audiofile header"
	.align 8
.LC9:
	.string	"\n \t\t-o <output_file_name>\t(output file created)"
	.align 8
.LC10:
	.string	"\n \t\t   (default: standard out)"
	.align 8
.LC11:
	.string	"\n \t\t-i <input_file_name>\t(input file to process)"
	.align 8
.LC12:
	.string	"\n \t\t   (default: standard in)\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB7:
	.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, 49
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 64
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.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	"111465.c"
	.text
	.comm	fpin,4,4
	.comm	fpout,4,4
	.global	prog_opts
	.data
	.align	2
	.type	prog_opts, %object
	.size	prog_opts, 7
prog_opts:
	.ascii	"hni:o:\000"
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	str	r3, [r2]
	ldr	r3, .L10+12
	ldr	r3, [r3]
	ldr	r2, .L10+16
	str	r3, [r2]
	b	.L2
.L9:
	cmp	r3, #111
	bgt	.L4
	cmp	r3, #105
	beq	.L5
	cmp	r3, #110
	beq	.L6
	b	.L4
.L3:
	ldr	r3, .L10+20
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L2
.L5:
	ldr	r3, .L10+20
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L2
.L6:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L2
.L4:
	bl	usage
	nop
.L2:
	ldr	r2, .L10+24
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	getopt
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #111
	beq	.L3
	b	.L9
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	stdin
	.word	fpin
	.word	stdout
	.word	fpout
	.word	optarg
	.word	prog_opts
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012 convert an ascii pcm file to a binary audiofil"
	.ascii	"e\000"
	.align	2
.LC2:
	.ascii	"\012 usage: pcma2b -h -n -o <output_file_name> -i <"
	.ascii	"input_file_name>\000"
	.align	2
.LC3:
	.ascii	"\012  where:\000"
	.align	2
.LC4:
	.ascii	"\012 \011\011-h print this help message\000"
	.align	2
.LC5:
	.ascii	"\012 \011\011-n add a sun audiofile header\000"
	.align	2
.LC6:
	.ascii	"\012 \011\011-o <output_file_name>\011(output file "
	.ascii	"created)\000"
	.align	2
.LC7:
	.ascii	"\012 \011\011   (default: standard out)\000"
	.align	2
.LC8:
	.ascii	"\012 \011\011-i <input_file_name>\011(input file to"
	.ascii	" process)\000"
	.align	2
.LC9:
	.ascii	"\012 \011\011   (default: standard in)\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, .L13
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L13+4
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #64
	mov	r1, #1
	ldr	r0, .L13+8
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L13+12
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L13+16
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L13+20
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L13+24
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L13+28
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L13+32
	bl	fwrite
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L13+36
	bl	fwrite
	mov	r0, #1
	bl	exit
.L14:
	.align	2
.L13:
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
