	.file	"64200126.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: tcp_lat <message-size> <roundtrip-count>"
.LC1:
	.string	"malloc"
.LC2:
	.string	"3491"
.LC3:
	.string	"127.0.0.1"
.LC4:
	.string	"getaddrinfo: %s\n"
.LC5:
	.string	"message size: %i octets\n"
.LC6:
	.string	"roundtrip count: %li\n"
.LC7:
	.string	"socket"
.LC8:
	.string	"setsockopt"
.LC9:
	.string	"bind"
.LC10:
	.string	"listen"
.LC11:
	.string	"accept"
.LC12:
	.string	"read"
.LC13:
	.string	"write"
.LC14:
	.string	"connect"
.LC15:
	.string	"clock_gettime"
.LC16:
	.string	"average latency: %li ns\n"
.LC17:
	.string	"actual reads: %i \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
	sub	rsp, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -308[rbp], 1
	cmp	DWORD PTR -324[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L29
.L2:
	mov	rax, QWORD PTR -336[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -296[rbp], eax
	mov	rax, QWORD PTR -336[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -248[rbp], rax
	cmp	QWORD PTR -248[rbp], 0
	jne	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L4:
	lea	rax, -192[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 1
	mov	DWORD PTR -192[rbp], 1
	lea	rdx, -280[rbp]
	lea	rax, -192[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	getaddrinfo@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	je	.L5
	mov	eax, DWORD PTR -292[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L29
.L5:
	mov	eax, DWORD PTR -296[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	call	fork@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -288[rbp], eax
	cmp	DWORD PTR -288[rbp], -1
	jne	.L7
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L7:
	lea	rdx, -308[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L8
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L8:
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L9:
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L10:
	mov	DWORD PTR -304[rbp], 128
	lea	rdx, -304[rbp]
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], -1
	jne	.L11
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L11:
	mov	QWORD PTR -272[rbp], 0
	jmp	.L12
.L17:
	mov	QWORD PTR -264[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	sub	rax, QWORD PTR -264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], -1
	jne	.L14
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L14:
	mov	rax, QWORD PTR -232[rbp]
	add	QWORD PTR -264[rbp], rax
	add	DWORD PTR -300[rbp], 1
.L13:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jb	.L15
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L16
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L16:
	add	QWORD PTR -272[rbp], 1
.L12:
	mov	rax, QWORD PTR -272[rbp]
	cmp	rax, QWORD PTR -256[rbp]
	jl	.L17
	jmp	.L18
.L6:
	mov	edi, 1
	call	sleep@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -288[rbp], eax
	cmp	DWORD PTR -288[rbp], -1
	jne	.L19
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L19:
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L20
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L20:
	mov	edi, 1
	call	sleep@PLT
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	cmp	eax, -1
	jne	.L21
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L21:
	mov	QWORD PTR -272[rbp], 0
	jmp	.L22
.L27:
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L23
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L23:
	mov	QWORD PTR -264[rbp], 0
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	sub	rax, QWORD PTR -264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], -1
	jne	.L25
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L25:
	mov	rax, QWORD PTR -232[rbp]
	add	QWORD PTR -264[rbp], rax
	add	DWORD PTR -300[rbp], 1
.L24:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	cmp	QWORD PTR -264[rbp], rax
	jb	.L26
	add	QWORD PTR -272[rbp], 1
.L22:
	mov	rax, QWORD PTR -272[rbp]
	cmp	rax, QWORD PTR -256[rbp]
	jl	.L27
	lea	rax, -208[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	cmp	eax, -1
	jne	.L28
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR -224[rbp]
	sub	rax, rdx
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -200[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	sub	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -240[rbp]
	cqo
	idiv	rcx
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	eax, 0
.L29:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	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	"64200126.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: tcp_lat <message-size> <roundtrip-count>\000"
	.align	2
.LC1:
	.ascii	"malloc\000"
	.align	2
.LC2:
	.ascii	"3491\000"
	.align	2
.LC3:
	.ascii	"127.0.0.1\000"
	.align	2
.LC4:
	.ascii	"getaddrinfo: %s\012\000"
	.align	2
.LC5:
	.ascii	"message size: %i octets\012\000"
	.align	2
.LC6:
	.ascii	"roundtrip count: %li\012\000"
	.align	2
.LC7:
	.ascii	"socket\000"
	.align	2
.LC8:
	.ascii	"setsockopt\000"
	.align	2
.LC9:
	.ascii	"bind\000"
	.align	2
.LC10:
	.ascii	"listen\000"
	.align	2
.LC11:
	.ascii	"accept\000"
	.align	2
.LC12:
	.ascii	"read\000"
	.align	2
.LC13:
	.ascii	"write\000"
	.align	2
.LC14:
	.ascii	"connect\000"
	.align	2
.LC15:
	.ascii	"clock_gettime\000"
	.global	__aeabi_ldivmod
	.align	2
.LC16:
	.ascii	"average latency: %li ns\012\000"
	.align	2
.LC17:
	.ascii	"actual reads: %i \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 = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #272
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #1
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-288]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L31+4
	bl	puts
	mov	r3, #1
	b	.L29
.L2:
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-260]
	ldr	r3, [fp, #-292]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-228]
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-260]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-256]
	ldr	r3, [fp, #-256]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L31+8
	bl	perror
	mov	r3, #1
	b	.L29
.L4:
	sub	r3, fp, #192
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-188]
	mov	r3, #1
	str	r3, [fp, #-184]
	mov	r3, #1
	str	r3, [fp, #-192]
	sub	r3, fp, #272
	sub	r2, fp, #192
	ldr	r1, .L31+12
	ldr	r0, .L31+16
	bl	getaddrinfo
	str	r0, [fp, #-252]
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L31+20
	ldr	r4, [r3]
	ldr	r0, [fp, #-252]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L31+24
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L29
.L5:
	ldr	r1, [fp, #-260]
	ldr	r0, .L31+28
	bl	printf
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+32
	bl	printf
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-272]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-272]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-272]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-248]
	ldr	r3, [fp, #-248]
	cmn	r3, #1
	bne	.L7
	ldr	r0, .L31+36
	bl	perror
	mov	r3, #1
	b	.L29
.L7:
	sub	r3, fp, #280
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-248]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L31+40
	bl	perror
	mov	r3, #1
	b	.L29
.L8:
	ldr	r3, [fp, #-272]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-272]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-248]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L31+44
	bl	perror
	mov	r3, #1
	b	.L29
.L9:
	mov	r1, #1
	ldr	r0, [fp, #-248]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L31+48
	bl	perror
	mov	r3, #1
	b	.L29
.L10:
	mov	r3, #128
	str	r3, [fp, #-276]
	sub	r2, fp, #276
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, [fp, #-248]
	bl	accept
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L31+52
	bl	perror
	mov	r3, #1
	b	.L29
.L11:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	b	.L12
.L17:
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L13
.L15:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-268]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-256]
	ldr	r0, [fp, #-240]
	bl	read
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L31+56
	bl	perror
	mov	r3, #1
	b	.L29
.L14:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-268]
	add	r3, r2, r3
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L13:
	ldr	r3, [fp, #-260]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	bcc	.L15
	ldr	r3, [fp, #-260]
	mov	r2, r3
	ldr	r1, [fp, #-256]
	ldr	r0, [fp, #-240]
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-260]
	cmp	r3, r2
	beq	.L16
	ldr	r0, .L31+60
	bl	perror
	mov	r3, #1
	b	.L29
.L16:
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-236]
	str	r7, [fp, #-232]
.L12:
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L17
	b	.L18
.L6:
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-272]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-272]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-272]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-248]
	ldr	r3, [fp, #-248]
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L31+36
	bl	perror
	mov	r3, #1
	b	.L29
.L19:
	ldr	r3, [fp, #-272]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-272]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-248]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L31+64
	bl	perror
	mov	r3, #1
	b	.L29
.L20:
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L31+68
	bl	perror
	mov	r3, #1
	b	.L29
.L21:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	b	.L22
.L27:
	ldr	r3, [fp, #-260]
	mov	r2, r3
	ldr	r1, [fp, #-256]
	ldr	r0, [fp, #-248]
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-260]
	cmp	r3, r2
	beq	.L23
	ldr	r0, .L31+60
	bl	perror
	mov	r3, #1
	b	.L29
.L23:
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L24
.L26:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-268]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-256]
	ldr	r0, [fp, #-248]
	bl	read
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L31+56
	bl	perror
	mov	r3, #1
	b	.L29
.L25:
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-268]
	add	r3, r2, r3
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L24:
	ldr	r3, [fp, #-260]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	bcc	.L26
	sub	r3, fp, #236
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-236]
	str	r5, [fp, #-232]
.L22:
	sub	r1, fp, #236
	ldmia	r1, {r0-r1}
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L27
	sub	r3, fp, #200
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	mov	r3, r0
	cmn	r3, #1
	bne	.L28
	ldr	r0, .L31+68
	bl	perror
	mov	r3, #1
	b	.L29
.L28:
	ldr	r2, [fp, #-200]
	ldr	r3, [fp, #-208]
	sub	r3, r2, r3
	ldr	r2, .L31+72
	mul	r2, r3, r2
	ldr	r1, [fp, #-196]
	ldr	r3, [fp, #-204]
	sub	r3, r1, r3
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-220]
	str	r3, [fp, #-216]
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	sub	r1, fp, #220
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L31+76
	bl	printf
	ldr	r1, [fp, #-264]
	ldr	r0, .L31+80
	bl	printf
.L18:
	mov	r3, #0
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stderr
	.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	1000000000
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
