	.file	"672733.c"
	.intel_syntax noprefix
	.text
	.globl	st
	.bss
	.align 32
	.type	st, @object
	.size	st, 144
st:
	.zero	144
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s [str_len] [strnum] [k] [replicates_num] [dataset_name]\n"
	.align 8
.LC1:
	.string	"[str_len] - int < 65536 - string length\n"
	.align 8
.LC2:
	.string	"[str_num] - int < 65536 - number of strings\n"
	.align 8
.LC3:
	.string	"[k_] - int < 65536 - distance to the closest string\n"
	.align 8
.LC4:
	.string	"[replicates_num] - int < 65536 - number of files to produce\n"
	.align 8
.LC5:
	.string	"[dataset_name] - int < 65536 - dirname for files\n"
	.text
	.globl	_show_usage_and_quit
	.type	_show_usage_and_quit, @function
_show_usage_and_quit:
.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	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	_show_usage_and_quit, .-_show_usage_and_quit
	.globl	__read_input
	.type	__read_input, @function
__read_input:
.LFB7:
	.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	mov	edi, 512
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 40
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	__read_input, .-__read_input
	.globl	__gen_origin_string
	.type	__gen_origin_string, @function
__gen_origin_string:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -28[rbp], ax
	mov	WORD PTR -2[rbp], 0
	jmp	.L4
.L5:
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	ecx, eax
	movzx	edx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	WORD PTR -2[rbp], 1
.L4:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -28[rbp]
	jb	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	__gen_origin_string, .-__gen_origin_string
	.section	.rodata
.LC6:
	.string	"%u"
	.text
	.globl	__print_string
	.type	__print_string, @function
__print_string:
.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	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -28[rbp], ax
	mov	WORD PTR -2[rbp], 0
	jmp	.L7
.L8:
	movzx	edx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	WORD PTR -2[rbp], 1
.L7:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -28[rbp]
	jb	.L8
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	__print_string, .-__print_string
	.globl	__copy_uint8_
	.type	__copy_uint8_, @function
__copy_uint8_:
.LFB10:
	.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	eax, edx
	mov	WORD PTR -36[rbp], ax
	mov	WORD PTR -2[rbp], 0
	jmp	.L10
.L11:
	movzx	edx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	ecx, WORD PTR -2[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	WORD PTR -2[rbp], 1
.L10:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	jb	.L11
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	__copy_uint8_, .-__copy_uint8_
	.globl	_shuffle
	.type	_shuffle, @function
_shuffle:
.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	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -28[rbp], ax
	mov	WORD PTR -6[rbp], 0
	jmp	.L13
.L14:
	call	rand@PLT
	mov	ecx, eax
	movzx	eax, WORD PTR -28[rbp]
	movzx	esi, WORD PTR -6[rbp]
	sub	eax, esi
	mov	edi, eax
	mov	eax, 2147483647
	cdq
	idiv	edi
	lea	esi, 1[rax]
	mov	eax, ecx
	cdq
	idiv	esi
	mov	edx, eax
	movzx	eax, WORD PTR -6[rbp]
	add	eax, edx
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	movzx	eax, WORD PTR -6[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR -4[rbp]
	lea	rcx, [rdx+rdx]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	movzx	eax, WORD PTR -6[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR -2[rbp]
	mov	WORD PTR [rdx], ax
	add	WORD PTR -6[rbp], 1
.L13:
	movzx	eax, WORD PTR -6[rbp]
	movzx	edx, WORD PTR -28[rbp]
	sub	edx, 1
	cmp	eax, edx
	jl	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	_shuffle, .-_shuffle
	.globl	_copy_uint16_
	.type	_copy_uint16_, @function
_copy_uint16_:
.LFB12:
	.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	eax, edx
	mov	WORD PTR -36[rbp], ax
	mov	WORD PTR -2[rbp], 0
	jmp	.L16
.L17:
	movzx	eax, WORD PTR -2[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR -2[rbp]
	lea	rcx, [rdx+rdx]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	add	WORD PTR -2[rbp], 1
.L16:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	jb	.L17
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	_copy_uint16_, .-_copy_uint16_
	.section	.rodata
.LC7:
	.string	"w"
.LC8:
	.string	"%d"
	.text
	.globl	_write_to_file
	.type	_write_to_file, @function
_write_to_file:
.LFB13:
	.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	eax, ecx
	mov	WORD PTR -36[rbp], dx
	mov	WORD PTR -40[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L19
.L22:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L20:
	movzx	eax, WORD PTR -40[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jb	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -16[rbp], 1
.L19:
	movzx	eax, WORD PTR -36[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jb	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	_write_to_file, .-_write_to_file
	.globl	_swap_
	.type	_swap_, @function
_swap_:
.LFB14:
	.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, BYTE PTR [rax]
	mov	edx, 1
	sub	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	_swap_, .-_swap_
	.section	.rodata
.LC9:
	.string	"/%u.in.txt"
.LC10:
	.string	"Generated dataset %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.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, 1144
	.cfi_offset 3, -24
	mov	DWORD PTR -1140[rbp], edi
	mov	QWORD PTR -1152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1140[rbp], 6
	je	.L25
	mov	rax, QWORD PTR -1152[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	_show_usage_and_quit
.L25:
	mov	edi, 0
	call	time@PLT
	mov	edx, eax
	lea	rax, main[rip]
	add	eax, edx
	mov	edi, eax
	call	srand@PLT
	mov	rdx, QWORD PTR -1152[rbp]
	lea	rax, -1088[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__read_input
	lea	rax, -1056[rbp]
	movabs	rbx, 7955942389648156020
	movabs	rsi, 7308332183724520816
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	mov	WORD PTR 16[rax], 12147
	mov	BYTE PTR 18[rax], 0
	lea	rax, -1056[rbp]
	lea	rsi, st[rip]
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L26
	lea	rax, -1056[rbp]
	mov	esi, 448
	mov	rdi, rax
	call	mkdir@PLT
.L26:
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1056[rbp]
	lea	rsi, st[rip]
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L27
	lea	rax, -1056[rbp]
	mov	esi, 448
	mov	rdi, rax
	call	mkdir@PLT
.L27:
	movzx	eax, WORD PTR -1088[rbp]
	movzx	eax, ax
	add	rax, rax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1120[rbp], rax
	movzx	eax, WORD PTR -1084[rbp]
	movzx	eax, ax
	mov	esi, 2
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -1112[rbp], rax
	mov	DWORD PTR -1124[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -1124[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -1120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -1124[rbp]
	mov	WORD PTR [rax], dx
	add	DWORD PTR -1124[rbp], 1
.L28:
	movzx	eax, WORD PTR -1088[rbp]
	movzx	eax, ax
	cmp	DWORD PTR -1124[rbp], eax
	jb	.L29
	movzx	eax, WORD PTR -1086[rbp]
	movzx	eax, ax
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1104[rbp], rax
	mov	WORD PTR -1134[rbp], 0
	jmp	.L30
.L31:
	movzx	eax, WORD PTR -1088[rbp]
	movzx	eax, ax
	movzx	edx, WORD PTR -1134[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -1104[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	add	WORD PTR -1134[rbp], 1
.L30:
	movzx	eax, WORD PTR -1086[rbp]
	cmp	WORD PTR -1134[rbp], ax
	jb	.L31
	movzx	eax, WORD PTR -1088[rbp]
	movzx	eax, ax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1096[rbp], rax
	mov	WORD PTR -1132[rbp], 0
	jmp	.L32
.L37:
	movzx	eax, WORD PTR -1088[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -1096[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	__gen_origin_string
	mov	WORD PTR -1130[rbp], 0
	jmp	.L33
.L36:
	movzx	eax, WORD PTR -1088[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -1130[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -1096[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	__copy_uint8_
	movzx	eax, WORD PTR -1088[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -1120[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	_shuffle
	movzx	eax, WORD PTR -1084[rbp]
	movzx	edx, ax
	mov	rcx, QWORD PTR -1120[rbp]
	mov	rax, QWORD PTR -1112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	_copy_uint16_
	mov	WORD PTR -1128[rbp], 0
	jmp	.L34
.L35:
	movzx	eax, WORD PTR -1130[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	movzx	eax, WORD PTR -1128[rbp]
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	rax, rdx
	mov	rdi, rax
	call	_swap_
	add	WORD PTR -1128[rbp], 1
.L34:
	movzx	eax, WORD PTR -1084[rbp]
	cmp	WORD PTR -1128[rbp], ax
	jb	.L35
	add	WORD PTR -1130[rbp], 1
.L33:
	movzx	eax, WORD PTR -1086[rbp]
	cmp	WORD PTR -1130[rbp], ax
	jb	.L36
	movzx	edx, WORD PTR -1132[rbp]
	lea	rax, -1072[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -1056[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -1072[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	movzx	eax, WORD PTR -1088[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -1086[rbp]
	movzx	edx, ax
	mov	rsi, QWORD PTR -1104[rbp]
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	_write_to_file
	add	WORD PTR -1132[rbp], 1
.L32:
	movzx	eax, WORD PTR -1082[rbp]
	cmp	WORD PTR -1132[rbp], ax
	jb	.L37
	mov	WORD PTR -1126[rbp], 0
	jmp	.L38
.L39:
	movzx	eax, WORD PTR -1126[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	WORD PTR -1126[rbp], 1
.L38:
	movzx	eax, WORD PTR -1086[rbp]
	cmp	WORD PTR -1126[rbp], ax
	jb	.L39
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1080[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.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	"672733.c"
	.text
	.global	st
	.bss
	.align	3
	.type	st, %object
	.size	st, 88
st:
	.space	88
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [str_len] [strnum] [k] [replicates_num] ["
	.ascii	"dataset_name]\012\000"
	.align	2
.LC1:
	.ascii	"[str_len] - int < 65536 - string length\012\000"
	.align	2
.LC2:
	.ascii	"[str_num] - int < 65536 - number of strings\012\000"
	.align	2
.LC3:
	.ascii	"[k_] - int < 65536 - distance to the closest string"
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"[replicates_num] - int < 65536 - number of files to"
	.ascii	" produce\012\000"
	.align	2
.LC5:
	.ascii	"[dataset_name] - int < 65536 - dirname for files\012"
	.ascii	"\000"
	.text
	.align	2
	.global	_show_usage_and_quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	_show_usage_and_quit, %function
_show_usage_and_quit:
	@ 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]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L2+8
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L2+12
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L2+16
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L2+20
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L2+24
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	_show_usage_and_quit, .-_show_usage_and_quit
	.align	2
	.global	__read_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	__read_input, %function
__read_input:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__read_input, .-__read_input
	.align	2
	.global	__gen_origin_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	__gen_origin_string, %function
__gen_origin_string:
	@ 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]
	mov	r3, r1
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L6
.L7:
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldrh	r3, [fp, #-6]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldrh	r3, [fp, #-6]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L6:
	ldrh	r2, [fp, #-6]
	ldrh	r3, [fp, #-18]
	cmp	r2, r3
	bcc	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__gen_origin_string, .-__gen_origin_string
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%u\000"
	.text
	.align	2
	.global	__print_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	__print_string, %function
__print_string:
	@ 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]
	mov	r3, r1
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L9
.L10:
	ldrh	r3, [fp, #-6]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11
	bl	printf
	ldrh	r3, [fp, #-6]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L9:
	ldrh	r2, [fp, #-6]
	ldrh	r3, [fp, #-18]
	cmp	r2, r3
	bcc	.L10
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC6
	.size	__print_string, .-__print_string
	.align	2
	.global	__copy_uint8_
	.syntax unified
	.arm
	.fpu softvfp
	.type	__copy_uint8_, %function
__copy_uint8_:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L14
.L15:
	ldrh	r3, [fp, #-6]
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldrh	r3, [fp, #-6]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrh	r3, [fp, #-6]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L14:
	ldrh	r2, [fp, #-6]
	ldrh	r3, [fp, #-22]
	cmp	r2, r3
	bcc	.L15
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__copy_uint8_, .-__copy_uint8_
	.global	__aeabi_idiv
	.align	2
	.global	_shuffle
	.syntax unified
	.arm
	.fpu softvfp
	.type	_shuffle, %function
_shuffle:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, r1
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-18]	@ movhi
	b	.L17
.L18:
	bl	rand
	mov	r4, r0
	ldrh	r2, [fp, #-26]
	ldrh	r3, [fp, #-18]
	sub	r3, r2, r3
	mov	r1, r3
	mvn	r0, #-2147483648
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-18]	@ movhi
	add	r3, r2, r3
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-16]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	ldrh	r3, [fp, #-18]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldrh	r3, [fp, #-16]
	lsl	r3, r3, #1
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrh	r2, [r2]
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-18]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrh	r2, [fp, #-14]	@ movhi
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-18]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-18]	@ movhi
.L17:
	ldrh	r2, [fp, #-18]
	ldrh	r3, [fp, #-26]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L18
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	_shuffle, .-_shuffle
	.align	2
	.global	_copy_uint16_
	.syntax unified
	.arm
	.fpu softvfp
	.type	_copy_uint16_, %function
_copy_uint16_:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L20
.L21:
	ldrh	r3, [fp, #-6]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldrh	r3, [fp, #-6]
	lsl	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrh	r2, [r2]
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-6]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L20:
	ldrh	r2, [fp, #-6]
	ldrh	r3, [fp, #-22]
	cmp	r2, r3
	bcc	.L21
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_copy_uint16_, .-_copy_uint16_
	.section	.rodata
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.text
	.align	2
	.global	_write_to_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	_write_to_file, %function
_write_to_file:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-32]	@ movhi
	ldr	r1, .L27
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L23
.L26:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L24
.L25:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L27+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L24:
	ldrh	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L25
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L23:
	ldrh	r3, [fp, #-30]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L26
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	.LC8
	.size	_write_to_file, .-_write_to_file
	.align	2
	.global	_swap_
	.syntax unified
	.arm
	.fpu softvfp
	.type	_swap_, %function
_swap_:
	@ 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]
	ldrb	r3, [r3]	@ zero_extendqisi2
	rsb	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_swap_, .-_swap_
	.section	.rodata
	.align	2
.LC9:
	.ascii	"tests/input_files/\000"
	.align	2
.LC10:
	.ascii	"/%u.in.txt\000"
	.align	2
.LC11:
	.ascii	"Generated dataset %s\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1088
	sub	sp, sp, #12
	str	r0, [fp, #-1104]
	str	r1, [fp, #-1108]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-1104]
	cmp	r3, #6
	beq	.L31
	ldr	r3, [fp, #-1108]
	ldr	r3, [r3]
	mov	r0, r3
	bl	_show_usage_and_quit
.L31:
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L48+4
	add	r3, r2, r3
	mov	r0, r3
	bl	srand
	sub	r3, fp, #1056
	sub	r3, r3, #12
	ldr	r1, [fp, #-1108]
	mov	r0, r3
	bl	__read_input
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L48+8
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L48+12
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L32
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #448
	mov	r0, r3
	bl	mkdir
.L32:
	ldr	r2, [fp, #-1060]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L48+12
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L33
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #448
	mov	r0, r3
	bl	mkdir
.L33:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1084]
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3, #4]
	mov	r1, #2
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-1080]
	mov	r3, #0
	str	r3, [fp, #-1088]
	b	.L34
.L35:
	ldr	r3, [fp, #-1088]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-1084]
	add	r3, r2, r3
	ldr	r2, [fp, #-1088]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1088]
	add	r3, r3, #1
	str	r3, [fp, #-1088]
.L34:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-1088]
	cmp	r3, r2
	bcc	.L35
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3, #2]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1076]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #14
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L36
.L37:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r0, r3
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #14
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1076]
	add	r4, r2, r3
	mov	r1, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #14
	sub	r2, fp, #12
	sub	r2, r2, #1072
	sub	r2, r2, #14
	ldrh	r2, [r2]	@ movhi
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L36:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #2]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #14
	ldrh	r3, [r3]
	cmp	r3, r2
	bcc	.L37
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1072]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #12
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L38
.L43:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-1072]
	bl	__gen_origin_string
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #10
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L39
.L42:
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #10
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-1072]
	bl	__copy_uint8_
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-1084]
	bl	_shuffle
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-1084]
	ldr	r0, [fp, #-1080]
	bl	_copy_uint16_
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #8
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L40
.L41:
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #10
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #8
	ldrh	r3, [r3]
	lsl	r3, r3, #1
	ldr	r1, [fp, #-1080]
	add	r3, r1, r3
	ldrh	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	_swap_
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #8
	sub	r2, fp, #12
	sub	r2, r2, #1072
	sub	r2, r2, #8
	ldrh	r2, [r2]	@ movhi
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L40:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #4]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #8
	ldrh	r3, [r3]
	cmp	r3, r2
	bcc	.L41
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #10
	sub	r2, fp, #12
	sub	r2, r2, #1072
	sub	r2, r2, #10
	ldrh	r2, [r2]	@ movhi
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L39:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #2]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #10
	ldrh	r3, [r3]
	cmp	r3, r2
	bcc	.L42
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #12
	ldrh	r2, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L48+16
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #528
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #528
	mov	r1, r3
	mov	r0, r2
	bl	strcat
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #2]
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r3, [r3]
	sub	r0, fp, #528
	ldr	r1, [fp, #-1076]
	bl	_write_to_file
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #12
	sub	r2, fp, #12
	sub	r2, r2, #1072
	sub	r2, r2, #12
	ldrh	r2, [r2]	@ movhi
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L38:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #6]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #12
	ldrh	r3, [r3]
	cmp	r3, r2
	bcc	.L43
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #6
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L44
.L45:
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #6
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #6
	sub	r2, fp, #12
	sub	r2, r2, #1072
	sub	r2, r2, #6
	ldrh	r2, [r2]	@ movhi
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L44:
	sub	r3, fp, #12
	sub	r3, r3, #1056
	ldrh	r2, [r3, #2]
	sub	r3, fp, #12
	sub	r3, r3, #1072
	sub	r3, r3, #6
	ldrh	r3, [r3]
	cmp	r3, r2
	bcc	.L45
	ldr	r0, [fp, #-1076]
	bl	free
	ldr	r0, [fp, #-1072]
	bl	free
	ldr	r3, [fp, #-1060]
	mov	r1, r3
	ldr	r0, .L48+20
	bl	printf
	ldr	r0, [fp, #-1084]
	bl	free
	ldr	r0, [fp, #-1080]
	bl	free
	mov	r3, #0
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC12
	.word	main
	.word	.LC9
	.word	st
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
