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

```c
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}
int compw(const void *a, const void *b){return (*(int*)a>*(int*)b)-(*(int*)a<*(int*)b);}

uint32_t nextpint(void){ char c=getchar(); while(c<'0'||'9'<c) c=getchar(); uint_fast32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return x; }

int main(int argc, char *argv[], char *envp[]){
	int n=nextpint();
	int k=nextpint();
	long ans=0;
	for(int b=k+1; b<=n; b++){
		ans+=n/b*(b-k);
		if(k==0) ans--;
		int c=n%b-k+1;
		if(c>0) ans+=c;
	}
	printf("%ld\n", ans);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	compw
	.type	compw, @function
compw:
.LFB64:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	setg	%al
	setl	%dl
	movzbl	%dl, %edx
	movzbl	%al, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	compw, .-compw
	.p2align 4
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	.p2align 4,,10
	.p2align 3
.L14:
	movq	stdin(%rip), %rdi
	call	getc@PLT
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L14
	movsbq	%al, %rdx
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	stdin(%rip), %rdi
	leaq	(%rbx,%rbx,4), %rax
	leaq	-48(%rdx,%rax,2), %rbx
	call	getc@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L8
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE65:
	.size	nextpint, .-nextpint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	nextpint
	movl	%eax, %ebx
	call	nextpint
	cmpl	%eax, %ebx
	jle	.L22
	movl	%eax, %esi
	testl	%eax, %eax
	jne	.L27
	movl	$1, %ecx
	xorl	%r8d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%eax, %ecx
.L17:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	addl	$1, %edx
	cltq
	leaq	-1(%r8,%rax), %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	leal	1(%rcx), %eax
	cmpl	%ecx, %ebx
	jne	.L24
.L16:
	movq	%r8, %rdx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	leal	1(%rbx), %edi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	subl	%eax, %edi
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%ebx, %eax
	leal	(%rsi,%rcx), %r9d
	cltd
	idivl	%r9d
	imull	%ecx, %eax
	subl	%esi, %edx
	addl	$1, %edx
	cltq
	addq	%rax, %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	addl	$1, %ecx
	cmpl	%edi, %ecx
	jne	.L19
	jmp	.L16
.L22:
	xorl	%r8d, %r8d
	jmp	.L16
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	compw
	.type	compw, @function
compw:
.LFB64:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	setg	%al
	setl	%dl
	movzbl	%dl, %edx
	movzbl	%al, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	compw, .-compw
	.p2align 4
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	.p2align 4,,10
	.p2align 3
.L14:
	movq	stdin(%rip), %rdi
	call	getc@PLT
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L14
	movsbq	%al, %rdx
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	stdin(%rip), %rdi
	leaq	(%rbx,%rbx,4), %rax
	leaq	-48(%rdx,%rax,2), %rbx
	call	getc@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L8
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE65:
	.size	nextpint, .-nextpint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	nextpint
	movl	%eax, %ebx
	call	nextpint
	cmpl	%eax, %ebx
	jle	.L22
	movl	%eax, %esi
	testl	%eax, %eax
	jne	.L27
	movl	$1, %ecx
	xorl	%r8d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%eax, %ecx
.L17:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	addl	$1, %edx
	cltq
	leaq	-1(%r8,%rax), %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	leal	1(%rcx), %eax
	cmpl	%ecx, %ebx
	jne	.L24
.L16:
	movq	%r8, %rdx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	leal	1(%rbx), %edi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	subl	%eax, %edi
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%ebx, %eax
	leal	(%rsi,%rcx), %r9d
	cltd
	idivl	%r9d
	imull	%ecx, %eax
	subl	%esi, %edx
	addl	$1, %edx
	cltq
	addq	%rax, %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	addl	$1, %ecx
	cmpl	%edi, %ecx
	jne	.L19
	jmp	.L16
.L22:
	xorl	%r8d, %r8d
	jmp	.L16
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	compw
	.type	compw, @function
compw:
.LFB64:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	setg	%al
	setl	%dl
	movzbl	%dl, %edx
	movzbl	%al, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	compw, .-compw
	.p2align 4
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	.p2align 4,,10
	.p2align 3
.L14:
	movq	stdin(%rip), %rdi
	call	getc@PLT
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L14
	movsbq	%al, %rdx
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	stdin(%rip), %rdi
	leaq	(%rbx,%rbx,4), %rax
	leaq	-48(%rdx,%rax,2), %rbx
	call	getc@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L8
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE65:
	.size	nextpint, .-nextpint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	nextpint
	movl	%eax, %ebx
	call	nextpint
	cmpl	%eax, %ebx
	jle	.L22
	movl	%eax, %esi
	testl	%eax, %eax
	jne	.L27
	movl	$1, %ecx
	xorl	%r8d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%eax, %ecx
.L17:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	addl	$1, %edx
	cltq
	leaq	-1(%r8,%rax), %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	leal	1(%rcx), %eax
	cmpl	%ecx, %ebx
	jne	.L24
.L16:
	movq	%r8, %rdx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	leal	1(%rbx), %edi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	subl	%eax, %edi
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%ebx, %eax
	leal	(%rsi,%rcx), %r9d
	cltd
	idivl	%r9d
	imull	%ecx, %eax
	subl	%esi, %edx
	addl	$1, %edx
	cltq
	addq	%rax, %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	addl	$1, %ecx
	cmpl	%edi, %ecx
	jne	.L19
	jmp	.L16
.L22:
	xorl	%r8d, %r8d
	jmp	.L16
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.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 <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}
int compw(const void *a, const void *b){return (*(int*)a>*(int*)b)-(*(int*)a<*(int*)b);}

uint32_t nextpint(void){ char c=getchar(); while(c<'0'||'9'<c) c=getchar(); uint_fast32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return x; }

int main(int argc, char *argv[], char *envp[]){
	int n=nextpint();
	int k=nextpint();
	long ans=0;
	for(int b=k+1; b<=n; b++){
		ans+=n/b*(b-k);
		if(k==0) ans--;
		int c=n%b-k+1;
		if(c>0) ans+=c;
	}
	printf("%ld\n", ans);
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}
int compw(const void *a, const void *b){return (*(int*)a>*(int*)b)-(*(int*)a<*(int*)b);}

uint32_t nextpint(void){ char c=getchar(); while(c<'0'||'9'<c) c=getchar(); uint_fast32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return x; }

int main(int argc, char *argv[], char *envp[]){
	int n=nextpint();
	int k=nextpint();
	long ans=0;
	for(int b=k+1; b<=n; b++){
		ans+=n/b*(b-k);
		if(k==0) ans--;
		int c=n%b-k+1;
		if(c>0) ans+=c;
	}
	printf("%ld\n", ans);
}
```

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:

5 2

7

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

```c
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}
int compw(const void *a, const void *b){return (*(int*)a>*(int*)b)-(*(int*)a<*(int*)b);}

uint32_t nextpint(void){ char c=getchar(); while(c<'0'||'9'<c) c=getchar(); uint_fast32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return x; }

int main(int argc, char *argv[], char *envp[]){
	int n=nextpint();
	int k=nextpint();
	long ans=0;
	for(int b=k+1; b<=n; b++){
		ans+=n/b*(b-k);
		if(k==0) ans--;
		int c=n%b-k+1;
		if(c>0) ans+=c;
	}
	printf("%ld\n", ans);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	compw
	.type	compw, @function
compw:
.LFB64:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	setg	%al
	setl	%dl
	movzbl	%dl, %edx
	movzbl	%al, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	compw, .-compw
	.p2align 4
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	.p2align 4,,10
	.p2align 3
.L14:
	movq	stdin(%rip), %rdi
	call	getc@PLT
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L14
	movsbq	%al, %rdx
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	stdin(%rip), %rdi
	leaq	(%rbx,%rbx,4), %rax
	leaq	-48(%rdx,%rax,2), %rbx
	call	getc@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L8
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE65:
	.size	nextpint, .-nextpint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	nextpint
	movl	%eax, %ebx
	call	nextpint
	cmpl	%eax, %ebx
	jle	.L22
	movl	%eax, %esi
	testl	%eax, %eax
	jne	.L27
	movl	$1, %ecx
	xorl	%r8d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%eax, %ecx
.L17:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	addl	$1, %edx
	cltq
	leaq	-1(%r8,%rax), %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	leal	1(%rcx), %eax
	cmpl	%ecx, %ebx
	jne	.L24
.L16:
	movq	%r8, %rdx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	leal	1(%rbx), %edi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	subl	%eax, %edi
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%ebx, %eax
	leal	(%rsi,%rcx), %r9d
	cltd
	idivl	%r9d
	imull	%ecx, %eax
	subl	%esi, %edx
	addl	$1, %edx
	cltq
	addq	%rax, %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	addl	$1, %ecx
	cmpl	%edi, %ecx
	jne	.L19
	jmp	.L16
.L22:
	xorl	%r8d, %r8d
	jmp	.L16
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	compw
	.type	compw, @function
compw:
.LFB64:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	setg	%al
	setl	%dl
	movzbl	%dl, %edx
	movzbl	%al, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	compw, .-compw
	.p2align 4
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	.p2align 4,,10
	.p2align 3
.L14:
	movq	stdin(%rip), %rdi
	call	getc@PLT
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L14
	movsbq	%al, %rdx
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	stdin(%rip), %rdi
	leaq	(%rbx,%rbx,4), %rax
	leaq	-48(%rdx,%rax,2), %rbx
	call	getc@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L8
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE65:
	.size	nextpint, .-nextpint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	nextpint
	movl	%eax, %ebx
	call	nextpint
	cmpl	%eax, %ebx
	jle	.L22
	movl	%eax, %esi
	testl	%eax, %eax
	jne	.L27
	movl	$1, %ecx
	xorl	%r8d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%eax, %ecx
.L17:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	imull	%ecx, %eax
	addl	$1, %edx
	cltq
	leaq	-1(%r8,%rax), %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	leal	1(%rcx), %eax
	cmpl	%ecx, %ebx
	jne	.L24
.L16:
	movq	%r8, %rdx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	leal	1(%rbx), %edi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	subl	%eax, %edi
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%ebx, %eax
	leal	(%rsi,%rcx), %r9d
	cltd
	idivl	%r9d
	imull	%ecx, %eax
	subl	%esi, %edx
	addl	$1, %edx
	cltq
	addq	%rax, %r8
	movslq	%edx, %rax
	addq	%r8, %rax
	testl	%edx, %edx
	cmovg	%rax, %r8
	addl	$1, %ecx
	cmpl	%edi, %ecx
	jne	.L19
	jmp	.L16
.L22:
	xorl	%r8d, %r8d
	jmp	.L16
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.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:
```