	.file	"101446.c"
	.intel_syntax noprefix
	.text
	.local	speed
	.comm	speed,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"moving from speed %d to %d (faster)\n"
	.text
	.type	sigusr1, @function
sigusr1:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR speed[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR speed[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR speed[rip]
	add	eax, 1
	mov	DWORD PTR speed[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sigusr1, .-sigusr1
	.section	.rodata
	.align 8
.LC1:
	.string	"moving from speed %d to %d (slower)\n"
	.text
	.type	sigusr2, @function
sigusr2:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR speed[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR speed[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR speed[rip]
	sub	eax, 1
	mov	DWORD PTR speed[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sigusr2, .-sigusr2
	.section	.rodata
.LC2:
	.string	"fmt %d %d | xcb -s %d"
.LC3:
	.string	"w"
.LC4:
	.string	"can't open pipe to xcb"
.LC5:
	.string	"%s                    - \n"
	.align 8
.LC6:
	.string	"%.20s...\nBuffer contents are in cut buffer %d, sleeping %d secs\007\n"
	.text
	.type	showbuffer, @function
showbuffer:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -163840[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 48
	mov	QWORD PTR -163880[rbp], rdi
	mov	DWORD PTR -163884[rbp], esi
	mov	DWORD PTR -163888[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR cut.0[rip]
	lea	rax, -163856[rbp]
	mov	r9d, edx
	mov	r8d, 50
	mov	ecx, 45
	lea	rdx, .LC2[rip]
	mov	esi, 163840
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -163856[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -163864[rbp], rax
	cmp	QWORD PTR -163864[rbp], 0
	jne	.L4
	lea	rsi, .LC4[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L4:
	mov	eax, DWORD PTR -163884[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -163880[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -163880[rbp]
	mov	rax, QWORD PTR -163864[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -163864[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	ecx, DWORD PTR speed[rip]
	mov	eax, DWORD PTR -163884[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -163868[rbp], eax
	mov	edx, DWORD PTR cut.0[rip]
	mov	ecx, DWORD PTR -163868[rbp]
	mov	rax, QWORD PTR -163880[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L5:
	mov	eax, DWORD PTR -163868[rbp]
	mov	edi, eax
	call	sleep@PLT
	mov	DWORD PTR -163868[rbp], eax
	cmp	DWORD PTR -163868[rbp], 0
	jg	.L5
	mov	eax, DWORD PTR cut.0[rip]
	add	eax, 1
	cdq
	idiv	DWORD PTR -163888[rbp]
	mov	eax, edx
	mov	DWORD PTR cut.0[rip], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	showbuffer, .-showbuffer
	.section	.rodata
.LC7:
	.string	"slow"
.LC8:
	.string	"medium"
.LC9:
	.string	"fast"
.LC10:
	.string	"S:c:s:"
	.align 8
.LC11:
	.string	"Usage: %s [-S numeric-speed] [-c max cut buffers] [-s speed] file"
.LC12:
	.string	"Speed cannot be '0'"
	.align 8
.LC13:
	.string	"Maximum cut buffers cannot be '0'"
.LC14:
	.string	"r"
.LC15:
	.string	"can't open `%s'"
	.align 8
.LC16:
	.string	"send this process - %ld - a USR1 to make the display go faster, a USR2 to make it go slower\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -172032[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 64
	mov	DWORD PTR -172084[rbp], edi
	mov	QWORD PTR -172096[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -172072[rbp], 4
	mov	DWORD PTR speed[rip], 3
	lea	rsi, sigusr1[rip]
	mov	edi, 10
	call	signal@PLT
	lea	rsi, sigusr2[rip]
	mov	edi, 12
	call	signal@PLT
	jmp	.L8
.L15:
	cmp	DWORD PTR -172064[rbp], 115
	je	.L9
	cmp	DWORD PTR -172064[rbp], 115
	jg	.L8
	cmp	DWORD PTR -172064[rbp], 83
	je	.L10
	cmp	DWORD PTR -172064[rbp], 99
	je	.L11
	jmp	.L8
.L10:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR speed[rip], eax
	jmp	.L8
.L11:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -172072[rbp], eax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR speed[rip], 3
	jmp	.L24
.L12:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR speed[rip], 7
	jmp	.L24
.L14:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	DWORD PTR speed[rip], 12
.L24:
	nop
.L8:
	mov	rcx, QWORD PTR -172096[rbp]
	mov	eax, DWORD PTR -172084[rbp]
	lea	rdx, .LC10[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -172064[rbp], eax
	cmp	DWORD PTR -172064[rbp], -1
	jne	.L15
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -172084[rbp]
	sub	eax, edx
	test	eax, eax
	jg	.L16
	mov	rax, QWORD PTR -172096[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rsi, .LC11[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L16:
	mov	eax, DWORD PTR speed[rip]
	test	eax, eax
	jne	.L17
	lea	rsi, .LC12[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L17:
	cmp	DWORD PTR -172072[rbp], 0
	jne	.L18
	lea	rsi, .LC13[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L18:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -172096[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -172056[rbp], rax
	cmp	QWORD PTR -172056[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -172096[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rsi, .LC15[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L19:
	call	getpid@PLT
	cdqe
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -172068[rbp], 0
	jmp	.L20
.L22:
	movzx	eax, BYTE PTR -172048[rbp]
	cmp	al, 10
	jne	.L21
	mov	edx, DWORD PTR -172072[rbp]
	mov	ecx, DWORD PTR -172068[rbp]
	lea	rax, -163856[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	showbuffer
	mov	DWORD PTR -172068[rbp], 0
	jmp	.L20
.L21:
	lea	rax, -172048[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -172060[rbp], eax
	mov	eax, DWORD PTR -172060[rbp]
	movsx	rdx, eax
	lea	rcx, -163856[rbp]
	mov	eax, DWORD PTR -172068[rbp]
	cdqe
	add	rcx, rax
	lea	rax, -172048[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -172060[rbp]
	add	DWORD PTR -172068[rbp], eax
.L20:
	mov	rdx, QWORD PTR -172056[rbp]
	lea	rax, -172048[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.local	cut.0
	.comm	cut.0,4,4
	.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	"101446.c"
	.text
	.local	speed
	.comm	speed,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"moving from speed %d to %d (faster)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigusr1, %function
sigusr1:
	@ 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, .L2
	ldr	r1, [r3]
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L2+4
	bl	printf
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	speed
	.word	.LC0
	.size	sigusr1, .-sigusr1
	.section	.rodata
	.align	2
.LC1:
	.ascii	"moving from speed %d to %d (slower)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigusr2, %function
sigusr2:
	@ 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, .L5
	ldr	r1, [r3]
	ldr	r3, .L5
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L5+4
	bl	printf
	ldr	r3, .L5
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L5
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	speed
	.word	.LC1
	.size	sigusr2, .-sigusr2
	.section	.rodata
	.align	2
.LC2:
	.ascii	"fmt %d %d | xcb -s %d\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"can't open pipe to xcb\000"
	.align	2
.LC5:
	.ascii	"%s                    - \012\000"
	.global	__aeabi_idiv
	.align	2
.LC6:
	.ascii	"%.20s...\012Buffer contents are in cut buffer %d, s"
	.ascii	"leeping %d secs\007\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	showbuffer, %function
showbuffer:
	@ args = 0, pretend = 0, frame = 163872
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #163840
	sub	sp, sp, #44
	sub	r3, fp, #163840
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	str	r2, [r3, #-28]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L11+4
	ldr	r3, [r3]
	sub	r0, fp, #163840
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r3, [sp, #4]
	mov	r3, #50
	str	r3, [sp]
	mov	r3, #45
	ldr	r2, .L11+8
	mov	r1, #163840
	bl	snprintf
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L11+12
	mov	r0, r3
	bl	popen
	str	r0, [r4, #-8]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r1, .L11+16
	mov	r0, #1
	bl	errx
.L8:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r2, #-20]
	ldr	r1, .L11+20
	ldr	r0, [r3, #-8]
	bl	fprintf
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	pclose
	ldr	r3, .L11+24
	ldr	r3, [r3]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4, #-12]
	ldr	r3, .L11+4
	ldr	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r1, fp, #163840
	sub	r1, r1, #12
	ldr	r3, [r3, #-12]
	ldr	r1, [r1, #-20]
	ldr	r0, .L11+28
	bl	printf
	nop
.L9:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	mov	r0, r3
	bl	sleep
	mov	r3, r0
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-12]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bgt	.L9
	ldr	r3, .L11+4
	ldr	r3, [r3]
	add	r3, r3, #1
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r1, [r2, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L11+4
	str	r2, [r3]
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	cut.6287
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	speed
	.word	.LC6
	.size	showbuffer, .-showbuffer
	.section	.rodata
	.align	2
.LC8:
	.ascii	"slow\000"
	.align	2
.LC9:
	.ascii	"medium\000"
	.align	2
.LC10:
	.ascii	"fast\000"
	.align	2
.LC11:
	.ascii	"S:c:s:\000"
	.align	2
.LC12:
	.ascii	"Usage: %s [-S numeric-speed] [-c max cut buffers] ["
	.ascii	"-s speed] file\000"
	.align	2
.LC13:
	.ascii	"Speed cannot be '0'\000"
	.align	2
.LC14:
	.ascii	"Maximum cut buffers cannot be '0'\000"
	.align	2
.LC15:
	.ascii	"r\000"
	.align	2
.LC16:
	.ascii	"can't open `%s'\000"
	.align	2
.LC17:
	.ascii	"send this process - %ld - a USR1 to make the displa"
	.ascii	"y go faster, a USR2 to make it go slower\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 172064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172032
	sub	sp, sp, #36
	sub	r3, fp, #172032
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #-24]
	ldr	r3, .L31+4
	mov	r2, #3
	str	r2, [r3]
	ldr	r1, .L31+8
	mov	r0, #10
	bl	signal
	ldr	r1, .L31+12
	mov	r0, #12
	bl	signal
	b	.L14
.L21:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #115
	beq	.L15
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-24]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #115
	bgt	.L14
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #83
	beq	.L16
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-24]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #99
	beq	.L17
	b	.L14
.L16:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L31+4
	str	r3, [r2]
	b	.L14
.L17:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	sub	r2, fp, #172032
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-24]
	b	.L14
.L15:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	ldr	r1, .L31+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L31+4
	mov	r2, #3
	str	r2, [r3]
	b	.L30
.L18:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	ldr	r1, .L31+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L31+4
	mov	r2, #7
	str	r2, [r3]
	b	.L30
.L20:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	ldr	r1, .L31+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L31+4
	mov	r2, #12
	str	r2, [r3]
.L30:
	nop
.L14:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r2, .L31+32
	ldr	r1, [r1, #-32]
	ldr	r0, [r3, #-28]
	bl	getopt
	str	r0, [r4, #-16]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmn	r3, #1
	bne	.L21
	ldr	r3, .L31+36
	ldr	r3, [r3]
	sub	r2, fp, #172032
	sub	r2, r2, #12
	ldr	r2, [r2, #-28]
	sub	r3, r2, r3
	cmp	r3, #0
	bgt	.L22
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L31+40
	mov	r0, #1
	bl	errx
.L22:
	ldr	r3, .L31+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L23
	ldr	r1, .L31+44
	mov	r0, #1
	bl	err
.L23:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bne	.L24
	ldr	r1, .L31+48
	mov	r0, #1
	bl	err
.L24:
	ldr	r3, .L31+36
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #172032
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #172032
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L31+52
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-12]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L31+36
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #172032
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L31+56
	mov	r0, #1
	bl	errx
.L25:
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L31+60
	bl	printf
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	b	.L26
.L28:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L27
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-24]
	ldr	r1, [r1, #-20]
	mov	r0, r3
	bl	showbuffer
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	b	.L26
.L27:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #172032
	sub	r2, r2, #12
	str	r3, [r2, #-8]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #172032
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	add	r0, r3, r2
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	sub	r3, fp, #172032
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #-8]
	add	r3, r2, r3
	str	r3, [r1, #-20]
.L26:
	sub	r3, fp, #172032
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #172032
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	mov	r1, #8192
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	mov	r0, #0
	bl	exit
.L32:
	.align	2
.L31:
	.word	.LC18
	.word	speed
	.word	sigusr1
	.word	sigusr2
	.word	optarg
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	optind
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.local	cut.6287
	.comm	cut.6287,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
