	.file	"165767602.c"
	.intel_syntax noprefix
	.text
	.globl	progname
	.bss
	.align 8
	.type	progname, @object
	.size	progname, 8
progname:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Usage: idiff file1 file2\n"
.LC1:
	.string	"r"
.LC2:
	.string	"w"
.LC3:
	.string	"idiff.out"
.LC4:
	.string	"diff %s %s >%s"
.LC5:
	.string	"%s output in file idiff.out\n"
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 80
	mov	DWORD PTR -8260[rbp], edi
	mov	QWORD PTR -8272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 6365889090627921001
	mov	QWORD PTR -8221[rbp], rax
	mov	DWORD PTR -8213[rbp], 1482184792
	mov	BYTE PTR -8209[rbp], 0
	mov	rax, QWORD PTR -8272[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR progname[rip], rax
	cmp	DWORD PTR -8260[rbp], 3
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	efopen
	mov	QWORD PTR -8256[rbp], rax
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	efopen
	mov	QWORD PTR -8248[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	efopen
	mov	QWORD PTR -8240[rbp], rax
	lea	rax, -8221[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	mktemp@PLT
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8272[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rsi, -8221[rbp]
	lea	rax, -8208[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	system@PLT
	lea	rax, -8221[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	efopen
	mov	QWORD PTR -8232[rbp], rax
	mov	rcx, QWORD PTR -8240[rbp]
	mov	rdx, QWORD PTR -8232[rbp]
	mov	rsi, QWORD PTR -8248[rbp]
	mov	rax, QWORD PTR -8256[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	idiff
	lea	rax, -8221[rbp]
	mov	rdi, rax
	call	unlink@PLT
	mov	rax, QWORD PTR progname[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.string	"%s: can't open file %s mode %s\n"
	.text
	.globl	efopen
	.type	efopen, @function
efopen:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L5:
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	efopen, .-efopen
	.globl	idiff
	.type	idiff, @function
idiff:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	idiff, .-idiff
	.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	"165767602.c"
	.text
	.comm	progname,4,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: idiff file1 file2\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"idiff.out\000"
	.align	2
.LC5:
	.ascii	"diff %s %s >%s\000"
	.align	2
.LC6:
	.ascii	"%s output in file idiff.out\012\000"
	.align	2
.LC0:
	.ascii	"idiff.XXXXXX\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 = 8240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #60
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-44]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-48]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, .L4+4
	sub	ip, r3, #20
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3]
	ldr	r2, .L4+8
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L4+12
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L4+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L4+20
	mov	r0, r3
	bl	efopen
	str	r0, [r4, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L4+20
	mov	r0, r3
	bl	efopen
	str	r0, [r4, #-32]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L4+24
	ldr	r0, .L4+28
	bl	efopen
	str	r0, [r4, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r0, r3
	bl	mktemp
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	ldr	r1, [r3]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #20
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L4+32
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, .L4+20
	mov	r0, r3
	bl	efopen
	str	r0, [r4, #-24]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	ldr	r3, [r3, #-28]
	ldr	r2, [r2, #-24]
	ldr	r1, [r1, #-32]
	ldr	r0, [r0, #-36]
	bl	idiff
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r0, r3
	bl	unlink
	ldr	r3, .L4+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+36
	bl	printf
	mov	r0, #0
	bl	exit
.L5:
	.align	2
.L4:
	.word	.LC7
	.word	.LC0
	.word	progname
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%s: can't open file %s mode %s\012\000"
	.text
	.align	2
	.global	efopen
	.syntax unified
	.arm
	.fpu softvfp
	.type	efopen, %function
efopen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	b	.L9
.L7:
	ldr	r3, .L10
	ldr	r0, [r3]
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r1, .L10+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	stderr
	.word	progname
	.word	.LC8
	.size	efopen, .-efopen
	.align	2
	.global	idiff
	.syntax unified
	.arm
	.fpu softvfp
	.type	idiff, %function
idiff:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	idiff, .-idiff
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
