	.file	"217252.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: diff file1 file2\n"
.LC1:
	.string	"r"
.LC2:
	.string	"%s: can't open %s\n"
.LC3:
	.string	"< %s"
.LC4:
	.string	"> %s"
	.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, 2064
	mov	DWORD PTR -2052[rbp], edi
	mov	QWORD PTR -2064[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -2052[rbp], 3
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L11
.L2:
	mov	rax, QWORD PTR -2064[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2040[rbp], rax
	cmp	QWORD PTR -2040[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -2064[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2064[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L11
.L4:
	mov	rax, QWORD PTR -2064[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2032[rbp], rax
	cmp	QWORD PTR -2032[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -2064[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2064[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L11
.L8:
	lea	rdx, -1008[rbp]
	lea	rax, -2016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rax, -2016[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1008[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -2040[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -2032[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L11
.L6:
	mov	rdx, QWORD PTR -2040[rbp]
	lea	rax, -2016[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -2024[rbp], rax
	cmp	QWORD PTR -2024[rbp], 0
	je	.L7
	mov	rdx, QWORD PTR -2032[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -2048[rbp], rax
	cmp	QWORD PTR -2048[rbp], 0
	jne	.L8
.L7:
	cmp	QWORD PTR -2024[rbp], 0
	je	.L9
	lea	rax, -2016[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	cmp	QWORD PTR -2048[rbp], 0
	je	.L10
	lea	rax, -1008[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	rax, QWORD PTR -2040[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -2032[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"217252.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: diff file1 file2\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%s: can't open %s\012\000"
	.align	2
.LC3:
	.ascii	"< %s\000"
	.align	2
.LC4:
	.ascii	"> %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2032
	str	r0, [fp, #-2032]
	str	r1, [fp, #-2036]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2032]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L13+8
	bl	fwrite
	mov	r3, #1
	b	.L11
.L2:
	ldr	r3, [fp, #-2036]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L13+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2020]
	ldr	r3, [fp, #-2020]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L13+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2036]
	ldr	r2, [r3]
	ldr	r3, [fp, #-2036]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L13+16
	bl	fprintf
	mov	r3, #1
	b	.L11
.L4:
	ldr	r3, [fp, #-2036]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L13+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2016]
	ldr	r3, [fp, #-2016]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L13+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2036]
	ldr	r2, [r3]
	ldr	r3, [fp, #-2036]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L13+16
	bl	fprintf
	mov	r3, #1
	b	.L11
.L8:
	sub	r2, fp, #1008
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+20
	bl	printf
	sub	r3, fp, #1008
	mov	r1, r3
	ldr	r0, .L13+24
	bl	printf
	ldr	r0, [fp, #-2020]
	bl	fclose
	ldr	r0, [fp, #-2016]
	bl	fclose
	mov	r3, #0
	b	.L11
.L6:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2020]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-2012]
	ldr	r3, [fp, #-2012]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #1008
	ldr	r2, [fp, #-2016]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-2024]
	ldr	r3, [fp, #-2024]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-2012]
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+20
	bl	printf
.L9:
	ldr	r3, [fp, #-2024]
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #1008
	mov	r1, r3
	ldr	r0, .L13+24
	bl	printf
.L10:
	ldr	r0, [fp, #-2020]
	bl	fclose
	ldr	r0, [fp, #-2016]
	bl	fclose
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
