	.file	"1169924.c"
	.intel_syntax noprefix
	.text
	.globl	push
	.type	push, @function
push:
.LFB6:
	.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	eax, esi
	mov	WORD PTR -12[rbp], ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 256[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 256[rax]
	movzx	eax, ax
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	movzx	ecx, WORD PTR -12[rbp]
	mov	WORD PTR [rax+rdx*2], cx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.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	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 256[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 256[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 256[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR [rax+rdx*2]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.globl	NUM_LINES
	.section	.rodata
	.align 2
	.type	NUM_LINES, @object
	.size	NUM_LINES, 2
NUM_LINES:
	.value	100
	.globl	LINE_LENGTH
	.align 2
	.type	LINE_LENGTH, @object
	.size	LINE_LENGTH, 2
LINE_LENGTH:
	.value	101
	.text
	.globl	is_low_point
	.type	is_low_point, @function
is_low_point:
.LFB8:
	.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	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	eax, 101
	cwde
	cmp	edx, eax
	jl	.L5
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	ecx, 101
	movsx	ecx, cx
	sub	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jge	.L6
.L5:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	eax, 101
	cwde
	mov	ecx, 100
	movsx	ecx, cx
	sub	ecx, 1
	imul	eax, ecx
	cmp	edx, eax
	jg	.L7
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	ecx, ax
	mov	eax, 101
	cwde
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jge	.L6
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 1
	je	.L8
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jge	.L6
.L8:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edx, 101
	movsx	edx, dx
	sub	edx, 1
	cmp	eax, edx
	je	.L9
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jge	.L6
.L9:
	mov	eax, 1
	jmp	.L10
.L6:
	mov	eax, 0
.L10:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	is_low_point, .-is_low_point
	.globl	bassin_size
	.type	bassin_size, @function
bassin_size:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, ecx
	mov	WORD PTR -44[rbp], ax
	mov	QWORD PTR -8[rbp], 0
	movzx	edx, WORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
	jmp	.L13
.L18:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	pop
	mov	WORD PTR -10[rbp], ax
	movzx	edx, WORD PTR -10[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L14
	movzx	edx, WORD PTR -10[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L14
	movzx	edx, WORD PTR -10[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	je	.L14
	add	QWORD PTR -8[rbp], 1
	movzx	edx, WORD PTR -10[rbp]
	mov	eax, 101
	cwde
	cmp	edx, eax
	jl	.L15
	movzx	eax, WORD PTR -10[rbp]
	mov	edx, 101
	movsx	edx, dx
	sub	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	mov	eax, 101
	mov	edx, eax
	movzx	eax, WORD PTR -10[rbp]
	sub	eax, edx
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
.L15:
	movzx	edx, WORD PTR -10[rbp]
	mov	eax, 101
	cwde
	mov	ecx, 100
	movsx	ecx, cx
	sub	ecx, 1
	imul	eax, ecx
	cmp	edx, eax
	jge	.L16
	movzx	edx, WORD PTR -10[rbp]
	mov	eax, 101
	cwde
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	eax, 101
	mov	edx, eax
	movzx	eax, WORD PTR -10[rbp]
	add	eax, edx
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
.L16:
	movzx	eax, WORD PTR -10[rbp]
	mov	edx, 101
	movsx	ecx, dx
	mov	edx, 100
	movsx	edx, dx
	imul	edx, ecx
	sub	edx, 2
	cmp	eax, edx
	jge	.L17
	movzx	eax, WORD PTR -10[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	movzx	eax, WORD PTR -10[rbp]
	add	eax, 1
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
.L17:
	cmp	WORD PTR -10[rbp], 0
	je	.L14
	movzx	eax, WORD PTR -10[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L14
	movzx	eax, WORD PTR -10[rbp]
	sub	eax, 1
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
.L14:
	movzx	edx, WORD PTR -10[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
.L13:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 256[rax]
	test	ax, ax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	bassin_size, .-bassin_size
	.globl	run
	.type	run, @function
run:
.LFB10:
	.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, 2256
	mov	QWORD PTR -10440[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -10392[rbp], 0
	mov	rax, QWORD PTR -10392[rbp]
	mov	QWORD PTR -10400[rbp], rax
	mov	rax, QWORD PTR -10400[rbp]
	mov	QWORD PTR -10408[rbp], rax
	mov	rax, QWORD PTR -10408[rbp]
	mov	QWORD PTR -10416[rbp], rax
	mov	QWORD PTR -10112[rbp], 0
	mov	QWORD PTR -10104[rbp], 0
	lea	rax, -10096[rbp]
	mov	edx, 10084
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -10128[rbp], 0
	mov	WORD PTR -10420[rbp], 0
	mov	WORD PTR -10418[rbp], 1
	jmp	.L21
.L26:
	movzx	eax, WORD PTR -10420[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -10440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L22
	mov	WORD PTR -10418[rbp], 0
	jmp	.L23
.L22:
	lea	rdx, -10418[rbp]
	lea	rcx, -10420[rbp]
	mov	rax, QWORD PTR -10440[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	is_low_point
	test	al, al
	je	.L23
	movzx	eax, WORD PTR -10420[rbp]
	movzx	ecx, ax
	lea	rdx, -10384[rbp]
	lea	rsi, -10112[rbp]
	mov	rax, QWORD PTR -10440[rbp]
	mov	rdi, rax
	call	bassin_size
	mov	QWORD PTR -10392[rbp], rax
	mov	rax, QWORD PTR -10392[rbp]
	cmp	rax, QWORD PTR -10416[rbp]
	jbe	.L24
	mov	rax, QWORD PTR -10408[rbp]
	mov	QWORD PTR -10400[rbp], rax
	mov	rax, QWORD PTR -10416[rbp]
	mov	QWORD PTR -10408[rbp], rax
	mov	rax, QWORD PTR -10392[rbp]
	mov	QWORD PTR -10416[rbp], rax
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -10392[rbp]
	cmp	rax, QWORD PTR -10408[rbp]
	jbe	.L25
	mov	rax, QWORD PTR -10408[rbp]
	mov	QWORD PTR -10400[rbp], rax
	mov	rax, QWORD PTR -10392[rbp]
	mov	QWORD PTR -10408[rbp], rax
	jmp	.L23
.L25:
	mov	rax, QWORD PTR -10392[rbp]
	cmp	rax, QWORD PTR -10400[rbp]
	jbe	.L23
	mov	rax, QWORD PTR -10392[rbp]
	mov	QWORD PTR -10400[rbp], rax
.L23:
	movzx	eax, WORD PTR -10420[rbp]
	add	eax, 1
	mov	WORD PTR -10420[rbp], ax
	movzx	eax, WORD PTR -10418[rbp]
	add	eax, 1
	mov	WORD PTR -10418[rbp], ax
.L21:
	movzx	eax, WORD PTR -10420[rbp]
	movzx	eax, ax
	mov	edx, 100
	movsx	ecx, dx
	mov	edx, 101
	movsx	edx, dx
	imul	edx, ecx
	sub	edx, 1
	cmp	eax, edx
	jl	.L26
	mov	rax, QWORD PTR -10416[rbp]
	imul	rax, QWORD PTR -10408[rbp]
	imul	rax, QWORD PTR -10400[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	run, .-run
	.section	.rodata
.LC0:
	.string	"Missing one argument"
.LC3:
	.string	"_duration:%f\n%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L30
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	run
	mov	QWORD PTR -8[rbp], rax
	call	clock@PLT
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1083129856
	.align 8
.LC2:
	.long	0
	.long	1093567616
	.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	"1169924.c"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, r1
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	ldrh	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r2, [fp, #-10]	@ movhi
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	ldrh	r3, [r3]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #256
	ldrh	r3, [r3]
	ldr	r2, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	pop, .-pop
	.global	NUM_LINES
	.section	.rodata
	.align	1
	.type	NUM_LINES, %object
	.size	NUM_LINES, 2
NUM_LINES:
	.short	100
	.global	LINE_LENGTH
	.align	1
	.type	LINE_LENGTH, %object
	.size	LINE_LENGTH, 2
LINE_LENGTH:
	.short	101
	.text
	.align	2
	.global	is_low_point
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_low_point, %function
is_low_point:
	@ 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]
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	mov	r3, #101
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r1, r3
	mov	r3, #101
	sub	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L6
.L5:
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	mov	r3, #101
	mov	r1, r3
	mov	r3, #100
	sub	r3, r3, #1
	mul	r3, r1, r3
	cmp	r2, r3
	bgt	.L7
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r1, r3
	mov	r3, #101
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L6
.L7:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]
	cmp	r3, #1
	beq	.L8
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L6
.L8:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]
	mov	r2, r3
	mov	r3, #101
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L9
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	add	r3, r3, #1
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L6
.L9:
	mov	r3, #1
	b	.L10
.L6:
	mov	r3, #0
.L10:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_low_point, .-is_low_point
	.align	2
	.global	bassin_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	bassin_size, %function
bassin_size:
	@ args = 0, pretend = 0, frame = 24
	@ 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]
	str	r2, [fp, #-24]
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-26]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	push
	b	.L13
.L18:
	ldr	r0, [fp, #-24]
	bl	pop
	mov	r3, r0
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldrh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L14
	ldrh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	beq	.L14
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-10]
	mov	r2, #101
	cmp	r3, r2
	blt	.L15
	ldrh	r3, [fp, #-10]
	mov	r2, #101
	sub	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	mov	r3, #101
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r2, [fp, #-10]	@ movhi
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	push
.L15:
	ldrh	r2, [fp, #-10]
	mov	r3, #101
	mov	r1, r3
	mov	r3, #100
	sub	r3, r3, #1
	mul	r3, r1, r3
	cmp	r2, r3
	bge	.L16
	ldrh	r3, [fp, #-10]
	mov	r2, #101
	add	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	mov	r3, #101
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-10]	@ movhi
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	push
.L16:
	ldrh	r2, [fp, #-10]
	mov	r3, #101
	mov	r1, #100
	mul	r3, r1, r3
	sub	r3, r3, #2
	cmp	r2, r3
	bge	.L17
	ldrh	r3, [fp, #-10]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldrh	r3, [fp, #-10]	@ movhi
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	push
.L17:
	ldrh	r3, [fp, #-10]
	cmp	r3, #0
	beq	.L14
	ldrh	r3, [fp, #-10]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldrh	r3, [fp, #-10]	@ movhi
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	push
.L14:
	ldrh	r3, [fp, #-10]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
.L13:
	ldr	r3, [fp, #-24]
	add	r3, r3, #256
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	bassin_size, .-bassin_size
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run
	.syntax unified
	.arm
	.fpu softvfp
	.type	run, %function
run:
	@ args = 0, pretend = 0, frame = 10392
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10368
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-2196]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2176]
	str	r3, [r2, #-2180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2180]
	str	r3, [r2, #-2184]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2184]
	str	r3, [r2, #-2188]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-1912]
	sub	r3, r3, #1904
	sub	r3, r3, #4
	ldr	r2, .L29+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2160
	sub	r3, r3, #12
	add	r3, r3, #256
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2176
	sub	r3, r3, #14
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L21
.L26:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	ldrh	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L22
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2176
	sub	r3, r3, #14
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L23
.L22:
	sub	r2, fp, #10368
	sub	r2, r2, #12
	sub	r2, r2, #14
	sub	r3, fp, #10368
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-2196]
	bl	is_low_point
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	ldrh	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #10304
	sub	r2, r2, #12
	sub	r2, r2, #60
	sub	r1, fp, #10048
	sub	r1, r1, #12
	sub	r1, r1, #56
	sub	r0, fp, #8192
	sub	r0, r0, #12
	ldr	r0, [r0, #-2196]
	bl	bassin_size
	str	r0, [r4, #-2176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-2176]
	ldr	r3, [r3, #-2188]
	cmp	r2, r3
	bls	.L24
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2184]
	str	r3, [r2, #-2180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2188]
	str	r3, [r2, #-2184]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2176]
	str	r3, [r2, #-2188]
	b	.L23
.L24:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-2176]
	ldr	r3, [r3, #-2184]
	cmp	r2, r3
	bls	.L25
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2184]
	str	r3, [r2, #-2180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2176]
	str	r3, [r2, #-2184]
	b	.L23
.L25:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-2176]
	ldr	r3, [r3, #-2180]
	cmp	r2, r3
	bls	.L23
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2176]
	str	r3, [r2, #-2180]
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2176
	sub	r3, r3, #14
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2176
	sub	r3, r3, #14
	strh	r2, [r3]	@ movhi
.L21:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #2192
	ldrh	r3, [r3]
	mov	r2, r3
	mov	r3, #100
	mov	r1, #101
	mul	r3, r1, r3
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L26
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r3, [r3, #-2188]
	ldr	r2, [r2, #-2184]
	mul	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-2180]
	mul	r3, r2, r3
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	10096
	.size	run, .-run
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Missing one argument\000"
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"_duration:%f\012%lu\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L32
	ldr	r0, .L34
	bl	puts
	mov	r0, #1
	bl	exit
.L32:
	bl	clock
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	run
	str	r0, [fp, #-8]
	bl	clock
	mov	r2, r0
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L34+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L34+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L34+12
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	1083129856
	.word	1093567616
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
