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

```c
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

#define GYOU_MAX 256


int main(void)
{
	int R, G, B, N;
	scanf("%d%d%d%d", &R, &G, &B, &N);

	int count = 0;
	double x;
	for (int i = 0;;i++) {
		if (R*i > N) {
			break;
		}

		for (int j = 0;;j++) {

			x=(double)(N-( R * i + G * j))/B;

			//printf("%d %d %f\n", i, j, x);
			if ((ceil(x) == floor(x))&&x >= 0) {
				count++;
				//printf("[%d %d %d]\n", i, j,(int) x);
			}
			if (R*i + G * j > N) {
				break;
			}
		}
	}

	printf("%d\n", count);

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC5:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	testl	%esi, %esi
	js	.L12
	pxor	%xmm7, %xmm7
	movl	12(%rsp), %ecx
	movl	%esi, %r9d
	xorl	%edi, %edi
	cvtsi2sdl	16(%rsp), %xmm7
	xorl	%r8d, %r8d
	pxor	%xmm8, %xmm8
	movsd	.LC1(%rip), %xmm5
	movsd	.LC2(%rip), %xmm4
	movsd	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %edx
	movl	%r9d, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	addl	%ecx, %edx
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	%xmm7, %xmm0
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm3
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	movapd	%xmm0, %xmm2
	movapd	%xmm4, %xmm3
	andnpd	%xmm0, %xmm3
	cvtsi2sdq	%r11, %xmm1
	cmpnlesd	%xmm1, %xmm2
	andpd	%xmm6, %xmm2
	addsd	%xmm2, %xmm1
	orpd	%xmm1, %xmm3
.L3:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L4
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%r11, %xmm1
	movapd	%xmm1, %xmm2
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm6, %xmm2
	subsd	%xmm2, %xmm1
	movapd	%xmm4, %xmm2
	andnpd	%xmm0, %xmm2
	orpd	%xmm1, %xmm2
.L4:
	ucomisd	%xmm2, %xmm3
	jp	.L5
	jne	.L5
	comisd	%xmm8, %xmm0
	sbbl	$-1, %r8d
.L5:
	subl	%ecx, %eax
	cmpl	%esi, %edx
	jle	.L18
	addl	%r10d, %edi
	subl	%r10d, %r9d
	cmpl	%edi, %esi
	jge	.L10
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC5:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	testl	%esi, %esi
	js	.L12
	pxor	%xmm7, %xmm7
	movl	12(%rsp), %ecx
	movl	%esi, %r9d
	xorl	%edi, %edi
	cvtsi2sdl	16(%rsp), %xmm7
	xorl	%r8d, %r8d
	pxor	%xmm8, %xmm8
	movsd	.LC1(%rip), %xmm5
	movsd	.LC2(%rip), %xmm4
	movsd	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %edx
	movl	%r9d, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	addl	%ecx, %edx
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	%xmm7, %xmm0
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm3
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	movapd	%xmm0, %xmm2
	movapd	%xmm4, %xmm3
	andnpd	%xmm0, %xmm3
	cvtsi2sdq	%r11, %xmm1
	cmpnlesd	%xmm1, %xmm2
	andpd	%xmm6, %xmm2
	addsd	%xmm2, %xmm1
	orpd	%xmm1, %xmm3
.L3:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L4
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%r11, %xmm1
	movapd	%xmm1, %xmm2
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm6, %xmm2
	subsd	%xmm2, %xmm1
	movapd	%xmm4, %xmm2
	andnpd	%xmm0, %xmm2
	orpd	%xmm1, %xmm2
.L4:
	ucomisd	%xmm2, %xmm3
	jp	.L5
	jne	.L5
	comisd	%xmm8, %xmm0
	sbbl	$-1, %r8d
.L5:
	subl	%ecx, %eax
	cmpl	%esi, %edx
	jle	.L18
	addl	%r10d, %edi
	subl	%r10d, %r9d
	cmpl	%edi, %esi
	jge	.L10
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC5:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	testl	%esi, %esi
	js	.L12
	pxor	%xmm7, %xmm7
	movl	12(%rsp), %ecx
	movl	%esi, %r9d
	xorl	%edi, %edi
	cvtsi2sdl	16(%rsp), %xmm7
	xorl	%r8d, %r8d
	pxor	%xmm8, %xmm8
	movsd	.LC1(%rip), %xmm5
	movsd	.LC2(%rip), %xmm4
	movsd	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %edx
	movl	%r9d, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	addl	%ecx, %edx
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	%xmm7, %xmm0
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm3
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	movapd	%xmm0, %xmm2
	movapd	%xmm4, %xmm3
	andnpd	%xmm0, %xmm3
	cvtsi2sdq	%r11, %xmm1
	cmpnlesd	%xmm1, %xmm2
	andpd	%xmm6, %xmm2
	addsd	%xmm2, %xmm1
	orpd	%xmm1, %xmm3
.L3:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L4
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%r11, %xmm1
	movapd	%xmm1, %xmm2
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm6, %xmm2
	subsd	%xmm2, %xmm1
	movapd	%xmm4, %xmm2
	andnpd	%xmm0, %xmm2
	orpd	%xmm1, %xmm2
.L4:
	ucomisd	%xmm2, %xmm3
	jp	.L5
	jne	.L5
	comisd	%xmm8, %xmm0
	sbbl	$-1, %r8d
.L5:
	subl	%ecx, %eax
	cmpl	%esi, %edx
	jle	.L18
	addl	%r10d, %edi
	subl	%r10d, %r9d
	cmpl	%edi, %esi
	jge	.L10
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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:
```
```c
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

#define GYOU_MAX 256


int main(void)
{
	int R, G, B, N;
	scanf("%d%d%d%d", &R, &G, &B, &N);

	int count = 0;
	double x;
	for (int i = 0;;i++) {
		if (R*i > N) {
			break;
		}

		for (int j = 0;;j++) {

			x=(double)(N-( R * i + G * j))/B;

			//printf("%d %d %f\n", i, j, x);
			if ((ceil(x) == floor(x))&&x >= 0) {
				count++;
				//printf("[%d %d %d]\n", i, j,(int) x);
			}
			if (R*i + G * j > N) {
				break;
			}
		}
	}

	printf("%d\n", count);

	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

#define GYOU_MAX 256


int main(void)
{
	int R, G, B, N;
	scanf("%d%d%d%d", &R, &G, &B, &N);

	int count = 0;
	double x;
	for (int i = 0;;i++) {
		if (R*i > N) {
			break;
		}

		for (int j = 0;;j++) {

			x=(double)(N-( R * i + G * j))/B;

			//printf("%d %d %f\n", i, j, x);
			if ((ceil(x) == floor(x))&&x >= 0) {
				count++;
				//printf("[%d %d %d]\n", i, j,(int) x);
			}
			if (R*i + G * j > N) {
				break;
			}
		}
	}

	printf("%d\n", count);

	return 0;
}```

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.
Optimized Assembly Code:

1 2 3 1
 13 1 4 540
 1 2 3 2
 17 1 4 540
 13 2 4 3000
 13 1 4 97
 18 1 4 540
 13 2 1 3000
 13 1 4 62
 13 1 4 92

1
 2898
 2
 2232
 43732
 108
 2116
 174001
 48
 98

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

```c
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

#define GYOU_MAX 256


int main(void)
{
	int R, G, B, N;
	scanf("%d%d%d%d", &R, &G, &B, &N);

	int count = 0;
	double x;
	for (int i = 0;;i++) {
		if (R*i > N) {
			break;
		}

		for (int j = 0;;j++) {

			x=(double)(N-( R * i + G * j))/B;

			//printf("%d %d %f\n", i, j, x);
			if ((ceil(x) == floor(x))&&x >= 0) {
				count++;
				//printf("[%d %d %d]\n", i, j,(int) x);
			}
			if (R*i + G * j > N) {
				break;
			}
		}
	}

	printf("%d\n", count);

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC5:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	testl	%esi, %esi
	js	.L12
	pxor	%xmm7, %xmm7
	movl	12(%rsp), %ecx
	movl	%esi, %r9d
	xorl	%edi, %edi
	cvtsi2sdl	16(%rsp), %xmm7
	xorl	%r8d, %r8d
	pxor	%xmm8, %xmm8
	movsd	.LC1(%rip), %xmm5
	movsd	.LC2(%rip), %xmm4
	movsd	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %edx
	movl	%r9d, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	addl	%ecx, %edx
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	%xmm7, %xmm0
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm3
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	movapd	%xmm0, %xmm2
	movapd	%xmm4, %xmm3
	andnpd	%xmm0, %xmm3
	cvtsi2sdq	%r11, %xmm1
	cmpnlesd	%xmm1, %xmm2
	andpd	%xmm6, %xmm2
	addsd	%xmm2, %xmm1
	orpd	%xmm1, %xmm3
.L3:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L4
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%r11, %xmm1
	movapd	%xmm1, %xmm2
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm6, %xmm2
	subsd	%xmm2, %xmm1
	movapd	%xmm4, %xmm2
	andnpd	%xmm0, %xmm2
	orpd	%xmm1, %xmm2
.L4:
	ucomisd	%xmm2, %xmm3
	jp	.L5
	jne	.L5
	comisd	%xmm8, %xmm0
	sbbl	$-1, %r8d
.L5:
	subl	%ecx, %eax
	cmpl	%esi, %edx
	jle	.L18
	addl	%r10d, %edi
	subl	%r10d, %r9d
	cmpl	%edi, %esi
	jge	.L10
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC5:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	testl	%esi, %esi
	js	.L12
	pxor	%xmm7, %xmm7
	movl	12(%rsp), %ecx
	movl	%esi, %r9d
	xorl	%edi, %edi
	cvtsi2sdl	16(%rsp), %xmm7
	xorl	%r8d, %r8d
	pxor	%xmm8, %xmm8
	movsd	.LC1(%rip), %xmm5
	movsd	.LC2(%rip), %xmm4
	movsd	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %edx
	movl	%r9d, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	addl	%ecx, %edx
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	%xmm7, %xmm0
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm3
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L3
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	movapd	%xmm0, %xmm2
	movapd	%xmm4, %xmm3
	andnpd	%xmm0, %xmm3
	cvtsi2sdq	%r11, %xmm1
	cmpnlesd	%xmm1, %xmm2
	andpd	%xmm6, %xmm2
	addsd	%xmm2, %xmm1
	orpd	%xmm1, %xmm3
.L3:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	andpd	%xmm4, %xmm1
	ucomisd	%xmm1, %xmm5
	jbe	.L4
	cvttsd2siq	%xmm0, %r11
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%r11, %xmm1
	movapd	%xmm1, %xmm2
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm6, %xmm2
	subsd	%xmm2, %xmm1
	movapd	%xmm4, %xmm2
	andnpd	%xmm0, %xmm2
	orpd	%xmm1, %xmm2
.L4:
	ucomisd	%xmm2, %xmm3
	jp	.L5
	jne	.L5
	comisd	%xmm8, %xmm0
	sbbl	$-1, %r8d
.L5:
	subl	%ecx, %eax
	cmpl	%esi, %edx
	jle	.L18
	addl	%r10d, %edi
	subl	%r10d, %r9d
	cmpl	%edi, %esi
	jge	.L10
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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:
```