	.file	"22013770.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"RUN: sudo chrt -f 99 ./gpiop1_slave <arithmo> <semi-period in nsecs>"
.LC2:
	.string	"%d"
.LC3:
	.string	"/sys/class/gpio/export"
	.align 8
.LC4:
	.string	"Failed to export gpio (for writing in pin).\n"
	.align 8
.LC5:
	.string	"/sys/class/gpio/gpio%d/direction"
	.align 8
.LC6:
	.string	"Failed to open GPIODirection_in.\n"
.LC7:
	.string	"in"
.LC8:
	.string	"/sys/class/gpio/gpio%d/edge"
.LC9:
	.string	"Failed to open GPIOEdge_in.\n"
.LC10:
	.string	"both"
	.align 8
.LC11:
	.string	"Failed to export gpio (for writing out pin).\n"
	.align 8
.LC12:
	.string	"Failed to open GPIODirection_out.\n"
.LC13:
	.string	"out"
.LC14:
	.string	"/sys/class/gpio/gpio%d/value"
	.align 8
.LC15:
	.string	"Failed to open GPIO_out %d value.\n"
.LC16:
	.string	"timerfd_create"
.LC17:
	.string	"clock_gettime"
.LC18:
	.string	"timerfd_settime"
.LC19:
	.string	"Timer started"
.LC20:
	.string	"1"
.LC21:
	.string	"0"
.LC22:
	.string	"/sys/class/gpio/unexport"
	.align 8
.LC23:
	.string	"Failed to unexport gpio pin in.\n"
	.align 8
.LC24:
	.string	"Failed to unexport gpio pin out.\n"
	.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, 424
	.cfi_offset 3, -24
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -420[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L17
.L2:
	mov	edi, 3
	call	mlockall@PLT
	mov	DWORD PTR -404[rbp], 0
	mov	DWORD PTR -400[rbp], 0
	mov	DWORD PTR -396[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -392[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -388[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -384[rbp], xmm0
	mov	DWORD PTR -408[rbp], 1
	mov	edi, 1
	call	sleep@PLT
	lea	rax, -296[rbp]
	mov	edx, 13
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	esi, 1
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rcx, -296[rbp]
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -288[rbp]
	mov	edx, 13
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -288[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 3
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -224[rbp]
	mov	edx, 13
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -224[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 5
	lea	rsi, .LC10[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -292[rbp]
	mov	edx, 16
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	esi, 1
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rcx, -292[rbp]
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -160[rbp]
	mov	edx, 16
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -160[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 4
	lea	rsi, .LC13[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -96[rbp]
	mov	edx, 16
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -96[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -376[rbp], eax
	cmp	DWORD PTR -376[rbp], 0
	jns	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 16
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	esi, 0
	mov	edi, 0
	call	timerfd_create@PLT
	mov	DWORD PTR -372[rbp], eax
	cmp	DWORD PTR -372[rbp], -1
	jne	.L10
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	lea	rax, -352[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	cmp	eax, -1
	jne	.L11
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -352[rbp]
	mov	QWORD PTR -320[rbp], rax
	mov	rbx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	add	rax, rbx
	mov	QWORD PTR -312[rbp], rax
	mov	QWORD PTR -336[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -328[rbp], rax
	lea	rdx, -336[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	ecx, 0
	mov	esi, 1
	mov	edi, eax
	call	timerfd_settime@PLT
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC18[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L13
.L14:
	lea	rax, .LC20[rip]
	mov	QWORD PTR -360[rbp], rax
	lea	rcx, -368[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -360[rbp]
	mov	eax, DWORD PTR -376[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rax, .LC21[rip]
	mov	QWORD PTR -360[rbp], rax
	lea	rcx, -368[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -360[rbp]
	mov	eax, DWORD PTR -376[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -408[rbp], 1
.L13:
	mov	rax, QWORD PTR -432[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -408[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR -376[rbp]
	mov	edi, eax
	call	close@PLT
	mov	esi, 1
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rcx, -296[rbp]
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	mov	esi, 1
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -380[rbp], eax
	cmp	DWORD PTR -380[rbp], 0
	jns	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	lea	rcx, -292[rbp]
	mov	eax, DWORD PTR -380[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -380[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L17:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"22013770.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"RUN: sudo chrt -f 99 ./gpiop1_slave <arithmo> <semi"
	.ascii	"-period in nsecs>\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"/sys/class/gpio/export\000"
	.align	2
.LC3:
	.ascii	"Failed to export gpio (for writing in pin).\012\000"
	.align	2
.LC4:
	.ascii	"/sys/class/gpio/gpio%d/direction\000"
	.align	2
.LC5:
	.ascii	"Failed to open GPIODirection_in.\012\000"
	.align	2
.LC6:
	.ascii	"in\000"
	.align	2
.LC7:
	.ascii	"/sys/class/gpio/gpio%d/edge\000"
	.align	2
.LC8:
	.ascii	"Failed to open GPIOEdge_in.\012\000"
	.align	2
.LC9:
	.ascii	"both\000"
	.align	2
.LC10:
	.ascii	"Failed to export gpio (for writing out pin).\012\000"
	.align	2
.LC11:
	.ascii	"Failed to open GPIODirection_out.\012\000"
	.align	2
.LC12:
	.ascii	"out\000"
	.align	2
.LC13:
	.ascii	"/sys/class/gpio/gpio%d/value\000"
	.align	2
.LC14:
	.ascii	"Failed to open GPIO_out %d value.\012\000"
	.align	2
.LC15:
	.ascii	"timerfd_create\000"
	.align	2
.LC16:
	.ascii	"clock_gettime\000"
	.align	2
.LC17:
	.ascii	"timerfd_settime\000"
	.align	2
.LC18:
	.ascii	"Timer started\000"
	.align	2
.LC19:
	.ascii	"1\000"
	.align	2
.LC20:
	.ascii	"0\000"
	.align	2
.LC21:
	.ascii	"/sys/class/gpio/unexport\000"
	.align	2
.LC22:
	.ascii	"Failed to unexport gpio pin in.\012\000"
	.align	2
.LC23:
	.ascii	"Failed to unexport gpio pin out.\012\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 360
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #364
	str	r0, [fp, #-368]
	str	r1, [fp, #-372]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-368]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L19+4
	bl	puts
	mov	r3, #1
	b	.L17
.L2:
	mov	r0, #3
	bl	mlockall
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-344]	@ float
	mov	r3, #0
	str	r3, [fp, #-340]	@ float
	mov	r3, #0
	str	r3, [fp, #-336]	@ float
	mov	r3, #1
	str	r3, [fp, #-360]
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #280
	mov	r2, #13
	ldr	r1, .L19+8
	mov	r0, r3
	bl	sprintf
	mov	r1, #1
	ldr	r0, .L19+12
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L4
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L19+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #280
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	sub	r3, fp, #272
	mov	r2, #13
	ldr	r1, .L19+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #272
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L19+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	mov	r2, #3
	ldr	r1, .L19+32
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	sub	r3, fp, #208
	mov	r2, #13
	ldr	r1, .L19+36
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #208
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L19+40
	bl	fwrite
	mov	r0, #1
	bl	exit
.L6:
	mov	r2, #5
	ldr	r1, .L19+44
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	sub	r3, fp, #276
	mov	r2, #16
	ldr	r1, .L19+8
	mov	r0, r3
	bl	sprintf
	mov	r1, #1
	ldr	r0, .L19+12
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L7
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L19+48
	bl	fwrite
	mov	r0, #1
	bl	exit
.L7:
	sub	r3, fp, #276
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	sub	r3, fp, #144
	mov	r2, #16
	ldr	r1, .L19+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #144
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L8
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L19+52
	bl	fwrite
	mov	r0, #1
	bl	exit
.L8:
	mov	r2, #4
	ldr	r1, .L19+56
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	sub	r3, fp, #80
	mov	r2, #16
	ldr	r1, .L19+60
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #80
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [fp, #-328]
	ldr	r3, [fp, #-328]
	cmp	r3, #0
	bge	.L9
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #16
	ldr	r1, .L19+64
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	mov	r1, #0
	mov	r0, #0
	bl	timerfd_create
	str	r0, [fp, #-324]
	ldr	r3, [fp, #-324]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L19+68
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #304
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L19+72
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-304]
	str	r3, [fp, #-288]
	ldr	r4, [fp, #-300]
	ldr	r3, [fp, #-372]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-372]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-292]
	sub	r2, fp, #296
	mov	r3, #0
	mov	r1, #1
	ldr	r0, [fp, #-324]
	bl	timerfd_settime
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L19+76
	bl	perror
	mov	r0, #1
	bl	exit
.L12:
	ldr	r0, .L19+80
	bl	puts
	b	.L13
.L14:
	ldr	r3, .L19+84
	str	r3, [fp, #-320]
	sub	r3, fp, #316
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	read
	mov	r2, #4
	ldr	r1, [fp, #-320]
	ldr	r0, [fp, #-328]
	bl	write
	ldr	r3, .L19+88
	str	r3, [fp, #-320]
	sub	r3, fp, #316
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	read
	mov	r2, #4
	ldr	r1, [fp, #-320]
	ldr	r0, [fp, #-328]
	bl	write
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-360]
.L13:
	ldr	r3, [fp, #-372]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-360]
	cmp	r3, r2
	ble	.L14
	ldr	r0, [fp, #-328]
	bl	close
	mov	r1, #1
	ldr	r0, .L19+92
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L15
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L19+96
	bl	fwrite
	mov	r0, #1
	bl	exit
.L15:
	sub	r3, fp, #280
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	mov	r1, #1
	ldr	r0, .L19+92
	bl	open
	str	r0, [fp, #-332]
	ldr	r3, [fp, #-332]
	cmp	r3, #0
	bge	.L16
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L19+100
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	sub	r3, fp, #276
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-332]
	bl	write
	ldr	r0, [fp, #-332]
	bl	close
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC24
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
