	.file	"597440.c"
	.intel_syntax noprefix
	.text
	.local	seen
	.comm	seen,8,8
	.local	seenlen
	.comm	seenlen,4,4
	.local	maxseenlen
	.comm	maxseenlen,4,4
	.section	.rodata
.LC0:
	.string	"check"
	.text
	.globl	add
	.type	add, @function
add:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L3
	mov	eax, DWORD PTR seenlen[rip]
	add	eax, 1
	mov	DWORD PTR seenlen[rip], eax
	mov	edx, DWORD PTR seenlen[rip]
	mov	eax, DWORD PTR maxseenlen[rip]
	cmp	edx, eax
	jle	.L4
	mov	eax, DWORD PTR maxseenlen[rip]
	add	eax, 100000
	mov	DWORD PTR maxseenlen[rip], eax
	mov	eax, DWORD PTR maxseenlen[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR seen[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR seen[rip], rax
	mov	rax, QWORD PTR seen[rip]
	test	rax, rax
	jne	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rdx, QWORD PTR seen[rip]
	mov	eax, DWORD PTR seenlen[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add, .-add
	.type	cmp, @function
cmp:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jge	.L6
	mov	eax, -1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jle	.L8
	mov	eax, 1
	jmp	.L7
.L8:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cmp, .-cmp
	.section	.rodata
.LC1:
	.string	"the_stack_data/597440.c"
.LC2:
	.string	"seenlen > 1000000"
.LC3:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], 0
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -28[rbp+rax], dl
	add	DWORD PTR -40[rbp], 1
.L10:
	cmp	DWORD PTR -40[rbp], 9
	jle	.L11
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	add
	mov	DWORD PTR -40[rbp], 1
	jmp	.L12
.L16:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	movsx	eax, al
	cmp	DWORD PTR -40[rbp], eax
	jle	.L13
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 1
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	movsx	eax, al
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movzx	eax, BYTE PTR -28[rbp+rax]
	movsx	eax, al
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movzx	edx, BYTE PTR -28[rbp+rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	BYTE PTR -28[rbp+rax], dl
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -28[rbp+rax], dl
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	add	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], dl
	mov	DWORD PTR -40[rbp], 1
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	add
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], 0
	add	DWORD PTR -40[rbp], 1
.L12:
	cmp	DWORD PTR -40[rbp], 9
	jle	.L16
	mov	eax, DWORD PTR seenlen[rip]
	cmp	eax, 1000000
	jg	.L17
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 83
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L17:
	mov	eax, DWORD PTR seenlen[rip]
	movsx	rsi, eax
	mov	rax, QWORD PTR seen[rip]
	lea	rcx, cmp[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR seen[rip]
	add	rax, 7999992
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"597440.c"
	.text
	.local	seen
	.comm	seen,4,4
	.local	seenlen
	.comm	seenlen,4,4
	.local	maxseenlen
	.comm	maxseenlen,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"check\000"
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L3:
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #9
	ble	.L3
	ldr	r3, .L5
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5
	str	r3, [r2]
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L4
	ldr	r3, .L5+4
	ldr	r3, [r3]
	add	r3, r3, #99328
	add	r3, r3, #672
	ldr	r2, .L5+4
	str	r3, [r2]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	ldr	r2, .L5+4
	ldr	r2, [r2]
	lsl	r2, r2, #3
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	ldr	r2, .L5+8
	str	r3, [r2]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L5+12
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, .L5+8
	ldr	r2, [r3]
	ldr	r3, .L5
	ldr	r3, [r3]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L6:
	.align	2
.L5:
	.word	seenlen
	.word	maxseenlen
	.word	seen
	.word	.LC0
	.size	add, .-add
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L8
	mvn	r3, #0
	b	.L9
.L8:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L10
	mov	r3, #1
	b	.L9
.L10:
	mov	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cmp, .-cmp
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/597440.c\000"
	.align	2
.LC2:
	.ascii	"seenlen > 1000000\000"
	.align	2
.LC3:
	.ascii	"%lld\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L12
.L13:
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	and	r1, r3, #255
	sub	r2, fp, #32
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L12:
	ldr	r3, [fp, #-44]
	cmp	r3, #9
	ble	.L13
	sub	r3, fp, #32
	mov	r0, r3
	bl	add
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L14
.L18:
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	cmp	r3, r2
	ble	.L15
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L16
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L17
.L16:
	mov	r3, #0
.L17:
	str	r3, [fp, #-40]
	sub	r2, fp, #32
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-36]
	sub	r2, fp, #32
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #32
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	and	r1, r3, #255
	sub	r2, fp, #32
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r1, r3, #255
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-44]
	sub	r3, fp, #32
	mov	r0, r3
	bl	add
	b	.L14
.L15:
	sub	r2, fp, #20
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #9
	ble	.L18
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, .L22+8
	cmp	r3, r2
	bgt	.L19
	ldr	r3, .L22+12
	mov	r2, #83
	ldr	r1, .L22+16
	ldr	r0, .L22+20
	bl	__assert_fail
.L19:
	ldr	r3, .L22+24
	ldr	r0, [r3]
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L22+28
	mov	r2, #8
	bl	qsort
	ldr	r3, .L22+24
	ldr	r2, [r3]
	ldr	r3, .L22+32
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	seenlen
	.word	1000000
	.word	__PRETTY_FUNCTION__.5160
	.word	.LC1
	.word	.LC2
	.word	seen
	.word	cmp
	.word	7999992
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5160, %object
	.size	__PRETTY_FUNCTION__.5160, 5
__PRETTY_FUNCTION__.5160:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
