Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>

void swapRange(int* aiData);
void vdSwap(int* iValue1, int* iValue2);

// iInputN個の要素を持つ配列の要素を0以上(e−b)未満のそれぞれのkについて、
// (b+k)にある要素と(t+k)にある要素を入れ替える動作をiInputQ回続ける
// 最後に全要素を出力
int main()
{
	int iInputN;
	int* piData;
	int iInputQ;
	int iCnt;

	scanf("%d", &iInputN);
	piData = (int*)malloc(sizeof(int) * iInputN);
	
	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		scanf("%d", &piData[iCnt]);
	}

	scanf("%d", &iInputQ);

	for (iCnt = 0; iCnt < iInputQ; iCnt++)
	{
		swapRange(piData);
	}

	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		if (iCnt != iInputN - 1)
		{
			printf("%d ", piData[iCnt]);
		}
		else
		{
			printf("%d\n", piData[iCnt]);
		}
	}

	return 0;
}

// 配列の要素を0以上(e−b)未満のそれぞれのkについて、(b+k)にある要素と(t+k)にある要素を入れ替え
void swapRange(int* aiData)
{
	int iInputB;
	int iInputE;
	int iInputT;
	int iCnt;

	// 読み込み
	scanf("%d %d %d", &iInputB, &iInputE, &iInputT);
	
	// 指定範囲でデータを一つずつ入れ替え
	for (iCnt = 0; iCnt < iInputE - iInputB; iCnt++)
	{
		vdSwap(&aiData[iInputB + iCnt], &aiData[iInputT + iCnt]);
	}

	return;
}

// iValue1, iValue2を入れ替え
void vdSwap(int* iValue1, int* iValue2)
{
	int iValueTmp = *iValue1;
	*iValue1 = *iValue2;
	*iValue2 = iValueTmp;

	return;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d "
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L3
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20(%rbp)
	jmp	.L4
.L5:
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	swapRange
	addl	$1, -20(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L5
	movl	$0, -20(%rbp)
	jmp	.L6
.L9:
	movl	-28(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -20(%rbp)
	je	.L7
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"%d %d %d"
	.text
	.globl	swapRange
	.type	swapRange, @function
swapRange:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -40(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L13
.L14:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-24(%rbp), %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	vdSwap
	addl	$1, -12(%rbp)
.L13:
	movl	-20(%rbp), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L14
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	swapRange, .-swapRange
	.globl	vdSwap
	.type	vdSwap, @function
vdSwap:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	vdSwap, .-vdSwap
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d "
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rdi
	movq	%rdi, %r13
	salq	$2, %rdi
	call	malloc@PLT
	movq	%rax, %r14
	movq	%rax, %rbp
	testl	%r13d, %r13d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 4(%rsp)
	jg	.L5
.L6:
	leaq	8(%rsp), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rcx
	movq	%r12, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	movl	16(%rsp), %edi
	subl	%esi, %edi
	testl	%edi, %edi
	jle	.L14
	movslq	20(%rsp), %r8
	movslq	%esi, %r9
	leaq	0(,%r9,4), %rcx
	leaq	16(%rcx), %r11
	leaq	0(,%r8,4), %r10
	movq	%r8, %rdx
	leaq	16(,%r8,4), %rax
	cmpq	%r11, %r10
	setge	%r11b
	cmpq	%rax, %rcx
	setge	%al
	orb	%r11b, %al
	je	.L10
	cmpl	$1, %edi
	je	.L10
	leal	-1(%rdi), %eax
	movl	%edi, %r11d
	cmpl	$2, %eax
	jbe	.L25
	shrl	$2, %r11d
	addq	%r14, %rcx
	addq	%r14, %r10
	xorl	%eax, %eax
	salq	$4, %r11
	.p2align 4,,10
	.p2align 3
.L12:
	movdqu	(%rcx,%rax), %xmm0
	movdqu	(%r10,%rax), %xmm1
	movups	%xmm1, (%rcx,%rax)
	movups	%xmm0, (%r10,%rax)
	addq	$16, %rax
	cmpq	%rax, %r11
	jne	.L12
	movl	%edi, %ecx
	andl	$-4, %ecx
	movl	%ecx, %eax
	cmpl	%ecx, %edi
	je	.L14
	subl	%ecx, %edi
	movl	%edi, %r11d
	cmpl	$1, %edi
	je	.L16
.L11:
	addq	%rcx, %r9
	addq	%r8, %rcx
	leaq	(%r14,%r9,4), %rdi
	leaq	(%r14,%rcx,4), %rcx
	movq	(%rcx), %r9
	movq	(%rdi), %r8
	movq	%r9, (%rdi)
	movq	%r8, (%rcx)
	movl	%r11d, %ecx
	andl	$-2, %ecx
	addl	%ecx, %eax
	cmpl	%ecx, %r11d
	je	.L14
.L16:
	addl	%eax, %edx
	addl	%esi, %eax
	movslq	%edx, %rdx
	cltq
	leaq	(%r14,%rdx,4), %rdx
	leaq	(%r14,%rax,4), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %esi
	movl	%esi, (%rax)
	movl	%ecx, (%rdx)
.L14:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jg	.L3
.L4:
	movl	4(%rsp), %eax
	xorl	%ebx, %ebx
	leaq	.LC3(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	subl	$1, %eax
	movl	(%r14,%rbx,4), %edx
	movq	%rbp, %rsi
	cmpl	%ebx, %eax
	jne	.L45
	movq	%r12, %rsi
.L45:
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L7
.L8:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	leal	-1(%rdi), %edx
	leaq	(%r14,%rcx), %rax
	subq	%r9, %r8
	leaq	1(%r9,%rdx), %rdx
	leaq	(%r14,%rdx,4), %rsi
	.p2align 4,,10
	.p2align 3
.L18:
	movl	(%rax), %edx
	movl	(%rax,%r8,4), %ecx
	movl	%ecx, (%rax)
	movl	%edx, (%rax,%r8,4)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L18
	jmp	.L14
.L25:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L11
.L47:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.text
	.p2align 4
	.globl	swapRange
	.type	swapRange, @function
swapRange:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	leaq	.LC1(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %r8d
	subl	%ecx, %r8d
	testl	%r8d, %r8d
	jle	.L48
	movslq	20(%rsp), %r9
	movslq	%ecx, %r10
	leaq	0(,%r10,4), %rdx
	leaq	16(%rdx), %rax
	leaq	0(,%r9,4), %rdi
	movq	%r9, %rsi
	leaq	16(,%r9,4), %r11
	cmpq	%rax, %rdi
	setge	%al
	cmpq	%r11, %rdx
	setge	%r11b
	orb	%r11b, %al
	je	.L50
	cmpl	$1, %r8d
	je	.L50
	leal	-1(%r8), %eax
	movl	%r8d, %r11d
	cmpl	$2, %eax
	jbe	.L59
	shrl	$2, %r11d
	addq	%rbx, %rdx
	addq	%rbx, %rdi
	xorl	%eax, %eax
	salq	$4, %r11
	.p2align 4,,10
	.p2align 3
.L52:
	movdqu	(%rdx,%rax), %xmm0
	movdqu	(%rdi,%rax), %xmm1
	movups	%xmm1, (%rdx,%rax)
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rax, %r11
	jne	.L52
	movl	%r8d, %eax
	andl	$-4, %eax
	movl	%eax, %edi
	cmpl	%eax, %r8d
	je	.L48
	subl	%eax, %r8d
	movl	%r8d, %r11d
	cmpl	$1, %r8d
	je	.L54
.L51:
	addq	%rax, %r10
	addq	%r9, %rax
	leaq	(%rbx,%rax,4), %rax
	leaq	(%rbx,%r10,4), %rdx
	movq	(%rax), %r9
	movq	(%rdx), %r8
	movq	%r9, (%rdx)
	movq	%r8, (%rax)
	movl	%r11d, %eax
	andl	$-2, %eax
	addl	%eax, %edi
	cmpl	%eax, %r11d
	je	.L48
.L54:
	leal	(%rsi,%rdi), %eax
	cltq
	leaq	(%rbx,%rax,4), %rdx
	leal	(%rcx,%rdi), %eax
	cltq
	movl	(%rdx), %esi
	leaq	(%rbx,%rax,4), %rax
	movl	(%rax), %ecx
	movl	%esi, (%rax)
	movl	%ecx, (%rdx)
.L48:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L72
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L50:
	.cfi_restore_state
	leaq	(%rbx,%rdx), %rax
	leal	-1(%r8), %edx
	subq	%r10, %r9
	addq	%r10, %rdx
	leaq	4(%rbx,%rdx,4), %rsi
	.p2align 4,,10
	.p2align 3
.L56:
	movl	(%rax), %edx
	movl	(%rax,%r9,4), %ecx
	movl	%ecx, (%rax)
	movl	%edx, (%rax,%r9,4)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L56
	jmp	.L48
.L59:
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	.L51
.L72:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	swapRange, .-swapRange
	.p2align 4
	.globl	vdSwap
	.type	vdSwap, @function
vdSwap:
.LFB41:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	movl	(%rsi), %edx
	movl	%edx, (%rdi)
	movl	%eax, (%rsi)
	ret
	.cfi_endproc
.LFE41:
	.size	vdSwap, .-vdSwap
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d "
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rdi
	movq	%rdi, %r13
	salq	$2, %rdi
	call	malloc@PLT
	movq	%rax, %r14
	movq	%rax, %rbp
	testl	%r13d, %r13d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 4(%rsp)
	jg	.L5
.L6:
	leaq	8(%rsp), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rcx
	movq	%r12, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	movl	16(%rsp), %edi
	subl	%esi, %edi
	testl	%edi, %edi
	jle	.L14
	movslq	20(%rsp), %r8
	movslq	%esi, %r9
	leaq	0(,%r9,4), %rcx
	leaq	16(%rcx), %r11
	leaq	0(,%r8,4), %r10
	movq	%r8, %rdx
	leaq	16(,%r8,4), %rax
	cmpq	%r11, %r10
	setge	%r11b
	cmpq	%rax, %rcx
	setge	%al
	orb	%r11b, %al
	je	.L10
	cmpl	$1, %edi
	je	.L10
	leal	-1(%rdi), %eax
	movl	%edi, %r11d
	cmpl	$2, %eax
	jbe	.L25
	shrl	$2, %r11d
	addq	%r14, %rcx
	addq	%r14, %r10
	xorl	%eax, %eax
	salq	$4, %r11
	.p2align 4,,10
	.p2align 3
.L12:
	movdqu	(%rcx,%rax), %xmm0
	movdqu	(%r10,%rax), %xmm1
	movups	%xmm1, (%rcx,%rax)
	movups	%xmm0, (%r10,%rax)
	addq	$16, %rax
	cmpq	%rax, %r11
	jne	.L12
	movl	%edi, %ecx
	andl	$-4, %ecx
	movl	%ecx, %eax
	cmpl	%ecx, %edi
	je	.L14
	subl	%ecx, %edi
	movl	%edi, %r11d
	cmpl	$1, %edi
	je	.L16
.L11:
	addq	%rcx, %r9
	addq	%r8, %rcx
	leaq	(%r14,%r9,4), %rdi
	leaq	(%r14,%rcx,4), %rcx
	movq	(%rcx), %r9
	movq	(%rdi), %r8
	movq	%r9, (%rdi)
	movq	%r8, (%rcx)
	movl	%r11d, %ecx
	andl	$-2, %ecx
	addl	%ecx, %eax
	cmpl	%ecx, %r11d
	je	.L14
.L16:
	addl	%eax, %edx
	addl	%esi, %eax
	movslq	%edx, %rdx
	cltq
	leaq	(%r14,%rdx,4), %rdx
	leaq	(%r14,%rax,4), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %esi
	movl	%esi, (%rax)
	movl	%ecx, (%rdx)
.L14:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jg	.L3
.L4:
	movl	4(%rsp), %eax
	xorl	%ebx, %ebx
	leaq	.LC3(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	subl	$1, %eax
	movl	(%r14,%rbx,4), %edx
	movq	%rbp, %rsi
	cmpl	%ebx, %eax
	jne	.L45
	movq	%r12, %rsi
.L45:
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L7
.L8:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	leal	-1(%rdi), %edx
	leaq	(%r14,%rcx), %rax
	subq	%r9, %r8
	leaq	1(%r9,%rdx), %rdx
	leaq	(%r14,%rdx,4), %rsi
	.p2align 4,,10
	.p2align 3
.L18:
	movl	(%rax), %edx
	movl	(%rax,%r8,4), %ecx
	movl	%ecx, (%rax)
	movl	%edx, (%rax,%r8,4)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L18
	jmp	.L14
.L25:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L11
.L47:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.text
	.p2align 4
	.globl	swapRange
	.type	swapRange, @function
swapRange:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	leaq	.LC1(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %r8d
	subl	%ecx, %r8d
	testl	%r8d, %r8d
	jle	.L48
	movslq	20(%rsp), %r9
	movslq	%ecx, %r10
	leaq	0(,%r10,4), %rdx
	leaq	16(%rdx), %rax
	leaq	0(,%r9,4), %rdi
	movq	%r9, %rsi
	leaq	16(,%r9,4), %r11
	cmpq	%rax, %rdi
	setge	%al
	cmpq	%r11, %rdx
	setge	%r11b
	orb	%r11b, %al
	je	.L50
	cmpl	$1, %r8d
	je	.L50
	leal	-1(%r8), %eax
	movl	%r8d, %r11d
	cmpl	$2, %eax
	jbe	.L59
	shrl	$2, %r11d
	addq	%rbx, %rdx
	addq	%rbx, %rdi
	xorl	%eax, %eax
	salq	$4, %r11
	.p2align 4,,10
	.p2align 3
.L52:
	movdqu	(%rdx,%rax), %xmm0
	movdqu	(%rdi,%rax), %xmm1
	movups	%xmm1, (%rdx,%rax)
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rax, %r11
	jne	.L52
	movl	%r8d, %eax
	andl	$-4, %eax
	movl	%eax, %edi
	cmpl	%eax, %r8d
	je	.L48
	subl	%eax, %r8d
	movl	%r8d, %r11d
	cmpl	$1, %r8d
	je	.L54
.L51:
	addq	%rax, %r10
	addq	%r9, %rax
	leaq	(%rbx,%rax,4), %rax
	leaq	(%rbx,%r10,4), %rdx
	movq	(%rax), %r9
	movq	(%rdx), %r8
	movq	%r9, (%rdx)
	movq	%r8, (%rax)
	movl	%r11d, %eax
	andl	$-2, %eax
	addl	%eax, %edi
	cmpl	%eax, %r11d
	je	.L48
.L54:
	leal	(%rsi,%rdi), %eax
	cltq
	leaq	(%rbx,%rax,4), %rdx
	leal	(%rcx,%rdi), %eax
	cltq
	movl	(%rdx), %esi
	leaq	(%rbx,%rax,4), %rax
	movl	(%rax), %ecx
	movl	%esi, (%rax)
	movl	%ecx, (%rdx)
.L48:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L72
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L50:
	.cfi_restore_state
	leaq	(%rbx,%rdx), %rax
	leal	-1(%r8), %edx
	subq	%r10, %r9
	addq	%r10, %rdx
	leaq	4(%rbx,%rdx,4), %rsi
	.p2align 4,,10
	.p2align 3
.L56:
	movl	(%rax), %edx
	movl	(%rax,%r9,4), %ecx
	movl	%ecx, (%rax)
	movl	%edx, (%rax,%r9,4)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L56
	jmp	.L48
.L59:
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	.L51
.L72:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	swapRange, .-swapRange
	.p2align 4
	.globl	vdSwap
	.type	vdSwap, @function
vdSwap:
.LFB41:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	movl	(%rsi), %edx
	movl	%edx, (%rdi)
	movl	%eax, (%rsi)
	ret
	.cfi_endproc
.LFE41:
	.size	vdSwap, .-vdSwap
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

#include <stdio.h>
#include <stdlib.h>

void swapRange(int* aiData);
void vdSwap(int* iValue1, int* iValue2);

// iInputN個の要素を持つ配列の要素を0以上(e−b)未満のそれぞれのkについて、
// (b+k)にある要素と(t+k)にある要素を入れ替える動作をiInputQ回続ける
// 最後に全要素を出力
int main()
{
	int iInputN;
	int* piData;
	int iInputQ;
	int iCnt;

	scanf("%d", &iInputN);
	piData = (int*)malloc(sizeof(int) * iInputN);
	
	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		scanf("%d", &piData[iCnt]);
	}

	scanf("%d", &iInputQ);

	for (iCnt = 0; iCnt < iInputQ; iCnt++)
	{
		swapRange(piData);
	}

	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		if (iCnt != iInputN - 1)
		{
			printf("%d ", piData[iCnt]);
		}
		else
		{
			printf("%d\n", piData[iCnt]);
		}
	}

	return 0;
}

// 配列の要素を0以上(e−b)未満のそれぞれのkについて、(b+k)にある要素と(t+k)にある要素を入れ替え
void swapRange(int* aiData)
{
	int iInputB;
	int iInputE;
	int iInputT;
	int iCnt;

	// 読み込み
	scanf("%d %d %d", &iInputB, &iInputE, &iInputT);
	
	// 指定範囲でデータを一つずつ入れ替え
	for (iCnt = 0; iCnt < iInputE - iInputB; iCnt++)
	{
		vdSwap(&aiData[iInputB + iCnt], &aiData[iInputT + iCnt]);
	}

	return;
}

// iValue1, iValue2を入れ替え
void vdSwap(int* iValue1, int* iValue2)
{
	int iValueTmp = *iValue1;
	*iValue1 = *iValue2;
	*iValue2 = iValueTmp;

	return;
}

11
1 2 3 4 5 6 7 8 9 10 11
2
1 4 7
 11
1 2 3 4 5 6 2 8 9 10 11
2
1 4 1
 11
1 2 3 3 5 6 2 8 9 10 11
2
1 4 1
 11
1 2 3 3 5 6 2 8 18 10 11
2
1 4 1
 11
1 0 3 3 5 6 2 8 18 10 11
2
1 4 1
 11
1 0 3 3 5 6 2 8 34 10 11
2
1 4 1
 11
1 0 3 3 5 6 2 8 14 10 11
2
1 4 1
 11
1 0 5 3 5 6 2 8 14 10 11
2
1 4 1
 11
1 0 5 3 5 6 1 8 14 10 11
2
1 4 1
 11
1 0 5 3 5 6 1 8 14 10 11
2
0 4 1

1 2 3 4 5 6 7 8 9 10 11
 1 2 3 4 5 6 2 8 9 10 11
 1 2 3 3 5 6 2 8 9 10 11
 1 2 3 3 5 6 2 8 18 10 11
 1 0 3 3 5 6 2 8 18 10 11
 1 0 3 3 5 6 2 8 34 10 11
 1 0 3 3 5 6 2 8 14 10 11
 1 0 5 3 5 6 2 8 14 10 11
 1 0 5 3 5 6 1 8 14 10 11
 5 3 5 1 0 6 1 8 14 10 11

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>

void swapRange(int* aiData);
void vdSwap(int* iValue1, int* iValue2);

// iInputN個の要素を持つ配列の要素を0以上(e−b)未満のそれぞれのkについて、
// (b+k)にある要素と(t+k)にある要素を入れ替える動作をiInputQ回続ける
// 最後に全要素を出力
int main()
{
	int iInputN;
	int* piData;
	int iInputQ;
	int iCnt;

	scanf("%d", &iInputN);
	piData = (int*)malloc(sizeof(int) * iInputN);
	
	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		scanf("%d", &piData[iCnt]);
	}

	scanf("%d", &iInputQ);

	for (iCnt = 0; iCnt < iInputQ; iCnt++)
	{
		swapRange(piData);
	}

	for (iCnt = 0; iCnt < iInputN; iCnt++)
	{
		if (iCnt != iInputN - 1)
		{
			printf("%d ", piData[iCnt]);
		}
		else
		{
			printf("%d\n", piData[iCnt]);
		}
	}

	return 0;
}

// 配列の要素を0以上(e−b)未満のそれぞれのkについて、(b+k)にある要素と(t+k)にある要素を入れ替え
void swapRange(int* aiData)
{
	int iInputB;
	int iInputE;
	int iInputT;
	int iCnt;

	// 読み込み
	scanf("%d %d %d", &iInputB, &iInputE, &iInputT);
	
	// 指定範囲でデータを一つずつ入れ替え
	for (iCnt = 0; iCnt < iInputE - iInputB; iCnt++)
	{
		vdSwap(&aiData[iInputB + iCnt], &aiData[iInputT + iCnt]);
	}

	return;
}

// iValue1, iValue2を入れ替え
void vdSwap(int* iValue1, int* iValue2)
{
	int iValueTmp = *iValue1;
	*iValue1 = *iValue2;
	*iValue2 = iValueTmp;

	return;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d "
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L3
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20(%rbp)
	jmp	.L4
.L5:
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	swapRange
	addl	$1, -20(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L5
	movl	$0, -20(%rbp)
	jmp	.L6
.L9:
	movl	-28(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -20(%rbp)
	je	.L7
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"%d %d %d"
	.text
	.globl	swapRange
	.type	swapRange, @function
swapRange:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -40(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L13
.L14:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-24(%rbp), %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	vdSwap
	addl	$1, -12(%rbp)
.L13:
	movl	-20(%rbp), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L14
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	swapRange, .-swapRange
	.globl	vdSwap
	.type	vdSwap, @function
vdSwap:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	vdSwap, .-vdSwap
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d "
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L3
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20(%rbp)
	jmp	.L4
.L5:
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	swapRange
	addl	$1, -20(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L5
	movl	$0, -20(%rbp)
	jmp	.L6
.L9:
	movl	-28(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -20(%rbp)
	je	.L7
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"%d %d %d"
	.text
	.globl	swapRange
	.type	swapRange, @function
swapRange:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -40(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L13
.L14:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-24(%rbp), %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	vdSwap
	addl	$1, -12(%rbp)
.L13:
	movl	-20(%rbp), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L14
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	swapRange, .-swapRange
	.globl	vdSwap
	.type	vdSwap, @function
vdSwap:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	vdSwap, .-vdSwap
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
