	.file	"18886730.c"
	.intel_syntax noprefix
	.text
	.local	data
	.comm	data,8,8
	.local	num_data
	.comm	num_data,4,4
	.local	size
	.comm	size,4,4
	.local	max_dist
	.comm	max_dist,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: find-similar <input-file> <max-distance>\n"
.LC1:
	.string	"Problem: %s\n"
	.text
	.type	usage, @function
usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC2:
	.string	"the_stack_data/18886730.c"
.LC3:
	.string	"isxdigit(*cp)"
.LC4:
	.string	"value < base"
	.text
	.type	simple_strtoul, @function
simple_strtoul:
.LFB7:
	.cfi_startproc
	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 -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 16
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L8:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 4096
	test	eax, eax
	jne	.L4
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 28
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L4:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	sub	eax, 55
	cdqe
.L6:
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L7
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 30
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L7:
	mov	eax, DWORD PTR -20[rbp]
	imul	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	add	QWORD PTR -40[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 15
	jle	.L8
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	simple_strtoul, .-simple_strtoul
	.section	.rodata
.LC5:
	.string	"tmp == line_buffer"
.LC6:
	.string	"%d %d"
	.align 8
.LC7:
	.string	"wrong number of parameters in first line"
.LC8:
	.string	"line_buffer[size / 4] == ' '"
	.text
	.type	read_data, @function
read_data:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	QWORD PTR -4152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -4152[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -4128[rbp], rax
	lea	rax, -4112[rbp]
	cmp	QWORD PTR -4128[rbp], rax
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 42
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L11:
	lea	rax, -4112[rbp]
	lea	rcx, num_data[rip]
	lea	rdx, size[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L12
	lea	rdi, .LC7[rip]
	call	usage
.L12:
	mov	eax, DWORD PTR size[rip]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR num_data[rip]
	imul	eax, edx
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR data[rip], rax
	mov	eax, DWORD PTR size[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	DWORD PTR -4132[rbp], eax
	mov	DWORD PTR -4140[rbp], 0
	jmp	.L13
.L18:
	mov	rdx, QWORD PTR -4152[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -4128[rbp], rax
	lea	rax, -4112[rbp]
	cmp	QWORD PTR -4128[rbp], rax
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 52
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L14:
	mov	eax, DWORD PTR size[rip]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cdqe
	movzx	eax, BYTE PTR -4112[rbp+rax]
	cmp	al, 32
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 53
	lea	rsi, .LC2[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L15:
	mov	eax, DWORD PTR size[rip]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cdqe
	mov	BYTE PTR -4112[rbp+rax], 0
	mov	DWORD PTR -4136[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -4136[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, -4112[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	simple_strtoul
	mov	QWORD PTR -4120[rbp], rax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -4132[rbp]
	imul	eax, DWORD PTR -4140[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4136[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -4120[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -4136[rbp], 1
.L16:
	mov	eax, DWORD PTR -4136[rbp]
	cmp	eax, DWORD PTR -4132[rbp]
	jl	.L17
	add	DWORD PTR -4140[rbp], 1
.L13:
	mov	eax, DWORD PTR num_data[rip]
	cmp	DWORD PTR -4140[rbp], eax
	jl	.L18
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_data, .-read_data
	.globl	__popcountdi2
	.section	.rodata
.LC9:
	.string	"%lu %d %d\n"
	.text
	.type	search_64, @function
search_64:
.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, 32
	mov	DWORD PTR -24[rbp], 0
	jmp	.L21
.L25:
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L22
.L24:
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	xor	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR max_dist[rip]
	cdqe
	cmp	QWORD PTR -8[rbp], rax
	ja	.L23
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	add	DWORD PTR -20[rbp], 1
.L22:
	mov	eax, DWORD PTR num_data[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L24
	add	DWORD PTR -24[rbp], 1
.L21:
	mov	eax, DWORD PTR num_data[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L25
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	search_64, .-search_64
	.type	search_256, @function
search_256:
.LFB10:
	.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, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -64[rbp], 0
	jmp	.L27
.L31:
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 2
	cdqe
	add	rax, 1
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 2
	cdqe
	add	rax, 2
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -64[rbp]
	sal	eax, 2
	cdqe
	add	rax, 3
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	jmp	.L28
.L30:
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	xor	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	mov	ebx, eax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	cdqe
	add	rax, 1
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	xor	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	add	ebx, eax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	cdqe
	add	rax, 2
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	xor	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	add	ebx, eax
	mov	rdx, QWORD PTR data[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 2
	cdqe
	add	rax, 3
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	xor	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	add	eax, ebx
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR max_dist[rip]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	ja	.L29
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	add	DWORD PTR -60[rbp], 1
.L28:
	mov	eax, DWORD PTR num_data[rip]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L30
	add	DWORD PTR -64[rbp], 1
.L27:
	mov	eax, DWORD PTR num_data[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L31
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	search_256, .-search_256
	.section	.rodata
.LC10:
	.string	"wrong number of arguments"
.LC11:
	.string	"r"
.LC12:
	.string	"data_input"
.LC13:
	.string	"%d"
.LC14:
	.string	"max-dist is not an int"
	.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], 3
	je	.L33
	lea	rdi, .LC10[rip]
	call	usage
.L33:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L34
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 101
	lea	rsi, .LC2[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L34:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, max_dist[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L35
	lea	rdi, .LC14[rip]
	call	usage
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	read_data
	mov	eax, DWORD PTR size[rip]
	cmp	eax, 64
	jne	.L36
	mov	eax, 0
	call	search_64
	jmp	.L37
.L36:
	mov	eax, 0
	call	search_256
.L37:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 10
__PRETTY_FUNCTION__.2:
	.string	"read_data"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 15
__PRETTY_FUNCTION__.1:
	.string	"simple_strtoul"
	.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	"18886730.c"
	.text
	.local	data
	.comm	data,4,4
	.local	num_data
	.comm	num_data,4,4
	.local	size
	.comm	size,4,4
	.local	max_dist
	.comm	max_dist,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: find-similar <input-file> <max-distance>\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Problem: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC2:
	.ascii	"the_stack_data/18886730.c\000"
	.align	2
.LC3:
	.ascii	"isxdigit(*cp)\000"
	.align	2
.LC4:
	.ascii	"value < base\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_strtoul, %function
simple_strtoul:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	mov	r3, #16
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L5
.L10:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #4096
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L12
	mov	r2, #28
	ldr	r1, .L12+4
	ldr	r0, .L12+8
	bl	__assert_fail
.L6:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	b	.L8
.L7:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	sub	r3, r3, #55
.L8:
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L9
	ldr	r3, .L12
	mov	r2, #30
	ldr	r1, .L12+4
	ldr	r0, .L12+12
	bl	__assert_fail
.L9:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	mov	r1, #0
	ldr	r3, [fp, #-28]
	mul	r2, r1, r3
	ldr	r3, [fp, #-24]
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-28]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L5:
	ldr	r3, [fp, #-36]
	cmp	r3, #15
	ble	.L10
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	2
.L12:
	.word	__PRETTY_FUNCTION__.5476
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	simple_strtoul, .-simple_strtoul
	.section	.rodata
	.align	2
.LC5:
	.ascii	"tmp == line_buffer\000"
	.align	2
.LC6:
	.ascii	"%d %d\000"
	.align	2
.LC7:
	.ascii	"wrong number of parameters in first line\000"
	.align	2
.LC8:
	.ascii	"line_buffer[size / 4] == ' '\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_data, %function
read_data:
	@ args = 0, pretend = 0, frame = 4136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #44
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-36]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-36]
	mov	r1, #4096
	mov	r0, r3
	bl	fgets
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	cmp	r2, r3
	beq	.L15
	ldr	r3, .L24+4
	mov	r2, #42
	ldr	r1, .L24+8
	ldr	r0, .L24+12
	bl	__assert_fail
.L15:
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, .L24+16
	ldr	r2, .L24+20
	ldr	r1, .L24+24
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L16
	ldr	r0, .L24+28
	bl	usage
.L16:
	ldr	r3, .L24+20
	ldr	r3, [r3]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L24+16
	ldr	r3, [r3]
	mul	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L24+32
	str	r2, [r3]
	ldr	r3, .L24+20
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	str	r3, [r1, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L17
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-36]
	mov	r1, #4096
	mov	r0, r3
	bl	fgets
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	cmp	r2, r3
	beq	.L18
	ldr	r3, .L24+4
	mov	r2, #52
	ldr	r1, .L24+8
	ldr	r0, .L24+12
	bl	__assert_fail
.L18:
	ldr	r3, .L24+20
	ldr	r3, [r3]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L19
	ldr	r3, .L24+4
	mov	r2, #53
	ldr	r1, .L24+8
	ldr	r0, .L24+36
	bl	__assert_fail
.L19:
	ldr	r3, .L24+20
	ldr	r3, [r3]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L20
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r2, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r4, r3
	mov	r0, r2
	bl	simple_strtoul
	stm	r4, {r0-r1}
	ldr	r3, .L24+32
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r3, [r3, #-20]
	ldr	r1, [r1, #-32]
	mul	r1, r3, r1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-20]
	cmp	r2, r3
	blt	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L17:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	cmp	r2, r3
	blt	.L22
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC9
	.word	__PRETTY_FUNCTION__.5486
	.word	.LC2
	.word	.LC5
	.word	num_data
	.word	size
	.word	.LC6
	.word	.LC7
	.word	data
	.word	.LC8
	.size	read_data, .-read_data
	.global	__popcountdi2
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%llu %d %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_64, %function
search_64:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L27
.L31:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L28
.L30:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	eor	r4, r0, r2
	eor	r5, r1, r3
	mov	r0, r4
	mov	r1, r5
	bl	__popcountdi2
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L29
	ldr	r3, [fp, #-32]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+8
	bl	printf
.L29:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L28:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L27:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L31
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L33:
	.align	2
.L32:
	.word	data
	.word	max_dist
	.word	.LC10
	.word	num_data
	.size	search_64, .-search_64
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	search_256, %function
search_256:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #68
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L35
.L39:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #5
	add	r3, r3, #8
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #5
	add	r3, r3, #16
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #5
	add	r3, r3, #24
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L36
.L38:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	eor	r4, r0, r2
	eor	r5, r1, r3
	mov	r0, r4
	mov	r1, r5
	bl	__popcountdi2
	mov	r3, r0
	mov	r10, r3
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #5
	add	r3, r3, #8
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	eor	r6, r0, r2
	eor	r7, r1, r3
	mov	r0, r6
	mov	r1, r7
	bl	__popcountdi2
	mov	r3, r0
	add	r10, r10, r3
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #5
	add	r3, r3, #16
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	eor	r8, r0, r2
	eor	r9, r1, r3
	mov	r0, r8
	mov	r1, r9
	bl	__popcountdi2
	mov	r3, r0
	add	r10, r10, r3
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #5
	add	r3, r3, #24
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	eor	ip, r0, r2
	str	ip, [fp, #-92]
	eor	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__popcountdi2
	mov	r3, r0
	add	r3, r10, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L37
	ldr	r3, [fp, #-80]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-84]
	str	r3, [sp]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L40+8
	bl	printf
.L37:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L36:
	ldr	r3, .L40+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L35:
	ldr	r3, .L40+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L39
	nop
	nop
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L41:
	.align	2
.L40:
	.word	data
	.word	max_dist
	.word	.LC10
	.word	num_data
	.size	search_256, .-search_256
	.section	.rodata
	.align	2
.LC11:
	.ascii	"wrong number of arguments\000"
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"data_input\000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.ascii	"max-dist is not an int\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, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L43
	ldr	r0, .L49
	bl	usage
.L43:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L49+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L49+8
	mov	r2, #101
	ldr	r1, .L49+12
	ldr	r0, .L49+16
	bl	__assert_fail
.L44:
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L49+20
	ldr	r1, .L49+24
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L45
	ldr	r0, .L49+28
	bl	usage
.L45:
	ldr	r0, [fp, #-8]
	bl	read_data
	ldr	r3, .L49+32
	ldr	r3, [r3]
	cmp	r3, #64
	bne	.L46
	bl	search_64
	b	.L47
.L46:
	bl	search_256
.L47:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC11
	.word	.LC12
	.word	__PRETTY_FUNCTION__.5528
	.word	.LC2
	.word	.LC13
	.word	max_dist
	.word	.LC14
	.word	.LC15
	.word	size
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5486, %object
	.size	__PRETTY_FUNCTION__.5486, 10
__PRETTY_FUNCTION__.5486:
	.ascii	"read_data\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5476, %object
	.size	__PRETTY_FUNCTION__.5476, 15
__PRETTY_FUNCTION__.5476:
	.ascii	"simple_strtoul\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5528, %object
	.size	__PRETTY_FUNCTION__.5528, 5
__PRETTY_FUNCTION__.5528:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
