	.file	"1012648.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/1012648.c"
	.align 8
.LC1:
	.string	"argc >= 2 && \"Expecting at least one command-line argument.\""
.LC2:
	.string	"r"
	.align 8
.LC3:
	.string	"inputStream && \"Failed to open input stream.\""
	.align 8
.LC4:
	.string	"longestWordEnd > longestWordBegin"
	.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
	sub	rsp, 368
	mov	DWORD PTR -356[rbp], edi
	mov	QWORD PTR -368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -356[rbp], 1
	jg	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 10
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 2048
	mov	edx, 0
	lea	rsi, stdoutBuffer.0[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -304[rbp], rax
	cmp	QWORD PTR -304[rbp], 0
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 19
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L3:
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L4
.L13:
	lea	rax, -272[rbp]
	mov	QWORD PTR -344[rbp], rax
	lea	rax, -272[rbp]
	mov	QWORD PTR -336[rbp], rax
	lea	rax, -272[rbp]
	mov	QWORD PTR -328[rbp], rax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -320[rbp], rax
.L9:
	mov	rax, QWORD PTR -320[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -345[rbp], al
	cmp	BYTE PTR -345[rbp], 32
	je	.L5
	cmp	BYTE PTR -345[rbp], 10
	je	.L5
	cmp	BYTE PTR -345[rbp], 0
	jne	.L6
.L5:
	mov	rax, QWORD PTR -320[rbp]
	sub	rax, QWORD PTR -328[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	sub	rax, QWORD PTR -344[rbp]
	cmp	rdx, rax
	jle	.L7
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -344[rbp], rax
	mov	rax, QWORD PTR -320[rbp]
	mov	QWORD PTR -336[rbp], rax
.L7:
	add	QWORD PTR -320[rbp], 1
	mov	rax, QWORD PTR -320[rbp]
	mov	QWORD PTR -328[rbp], rax
	cmp	BYTE PTR -345[rbp], 10
	je	.L8
	cmp	BYTE PTR -345[rbp], 0
	je	.L8
.L6:
	add	QWORD PTR -320[rbp], 1
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -336[rbp]
	cmp	rax, QWORD PTR -344[rbp]
	ja	.L10
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 45
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L10:
	mov	rax, QWORD PTR -344[rbp]
	mov	QWORD PTR -312[rbp], rax
	jmp	.L11
.L12:
	movabs	rax, 3038287259199220266
	movabs	rdx, 11868309606246954
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], rdx
	mov	rax, QWORD PTR -312[rbp]
	sub	rax, QWORD PTR -344[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	movzx	eax, BYTE PTR [rax]
	lea	rcx, -288[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -296[rbp]
	add	rax, 1
	mov	BYTE PTR -288[rbp+rax], 0
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	edi, 32
	call	putchar@PLT
	add	QWORD PTR -312[rbp], 1
.L11:
	mov	rax, QWORD PTR -312[rbp]
	cmp	rax, QWORD PTR -336[rbp]
	jb	.L12
	mov	edi, 10
	call	putchar@PLT
.L4:
	mov	rdx, QWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L13
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"main"
	.local	stdoutBuffer.0
	.comm	stdoutBuffer.0,2048,32
	.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	"1012648.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/1012648.c\000"
	.align	2
.LC1:
	.ascii	"argc >= 2 && \"Expecting at least one command-line "
	.ascii	"argument.\"\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"inputStream && \"Failed to open input stream.\"\000"
	.align	2
.LC4:
	.ascii	"longestWordEnd > longestWordBegin\000"
	.align	2
.LC5:
	.ascii	"***************\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-320]
	str	r1, [fp, #-324]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-320]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L16+4
	mov	r2, #10
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	__assert_fail
.L2:
	ldr	r3, .L16+16
	ldr	r0, [r3]
	mov	r3, #2048
	mov	r2, #0
	ldr	r1, .L16+20
	bl	setvbuf
	ldr	r3, [fp, #-324]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L16+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-288]
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L16+4
	mov	r2, #19
	ldr	r1, .L16+8
	ldr	r0, .L16+28
	bl	__assert_fail
.L3:
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L4
.L13:
	sub	r3, fp, #264
	str	r3, [fp, #-308]
	sub	r3, fp, #264
	str	r3, [fp, #-304]
	sub	r3, fp, #264
	str	r3, [fp, #-300]
	ldr	r3, [fp, #-300]
	str	r3, [fp, #-296]
.L9:
	ldr	r3, [fp, #-296]
	ldrb	r3, [r3]
	strb	r3, [fp, #-309]
	ldrb	r3, [fp, #-309]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L5
	ldrb	r3, [fp, #-309]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L5
	ldrb	r3, [fp, #-309]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
.L5:
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-300]
	sub	r2, r2, r3
	ldr	r1, [fp, #-304]
	ldr	r3, [fp, #-308]
	sub	r3, r1, r3
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-300]
	str	r3, [fp, #-308]
	ldr	r3, [fp, #-296]
	str	r3, [fp, #-304]
.L7:
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-296]
	str	r3, [fp, #-300]
	ldrb	r3, [fp, #-309]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L8
	ldrb	r3, [fp, #-309]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
.L6:
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
	b	.L9
.L8:
	ldr	r2, [fp, #-304]
	ldr	r3, [fp, #-308]
	cmp	r2, r3
	bhi	.L10
	ldr	r3, .L16+4
	mov	r2, #45
	ldr	r1, .L16+8
	ldr	r0, .L16+32
	bl	__assert_fail
.L10:
	ldr	r3, [fp, #-308]
	str	r3, [fp, #-292]
	b	.L11
.L12:
	ldr	r3, .L16+36
	sub	ip, fp, #280
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-308]
	sub	r3, r2, r3
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-292]
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #280
	ldr	r3, [fp, #-284]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-276]
	ldr	r3, .L16+16
	ldr	r2, [r3]
	sub	r3, fp, #280
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L11:
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-304]
	cmp	r2, r3
	bcc	.L12
	mov	r0, #10
	bl	putchar
.L4:
	sub	r3, fp, #264
	ldr	r2, [fp, #-288]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	__PRETTY_FUNCTION__.4622
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stdoutBuffer.4623
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4622, %object
	.size	__PRETTY_FUNCTION__.4622, 5
__PRETTY_FUNCTION__.4622:
	.ascii	"main\000"
	.local	stdoutBuffer.4623
	.comm	stdoutBuffer.4623,2048,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
