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>

int main(void) {
    int h, w, i, j, min, large, minh, minw;
    scanf("%d %d",&h, &w);
    while(h) {
        large = h * h + w * w;
        min = large + 100;
        minh = 150;
        minw = 150;
        for(i = 1; i < 150; i++ ) {
            for(j = i + 1; j < 150; j++ ) {
                if(i == h && j == w) {
                    continue;
                }
                if(large <= i*i+j*j ) {
                    if(large == i*i+j*j && i < h) {
                        continue;
                    }
                    if(min > i*i+j*j) {
                        min = i*i+j*j;
                        minh = i;
                        minw = j;
                    } else if(minh > i ) {
                        minh = i;
                        minw = j;
                        
                    }
                }
            }
        }
        printf("%d %d\n",minh, minw);
        scanf("%d %d",&h,&w);
    }
    return 0;
}
                ```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	je	.L2
	leaq	.LC1(%rip), %r13
.L9:
	movl	4(%rsp), %r8d
	movl	%edi, %esi
	movl	$1, %ecx
	movl	$2, %r11d
	imull	%edi, %esi
	movl	$150, %r14d
	movl	$150, %r10d
	movl	%r8d, %eax
	imull	%r8d, %eax
	addl	%eax, %esi
	movl	$2, %eax
	leal	100(%rsi), %r9d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	cmpl	%r10d, %ecx
	jge	.L4
	movl	%eax, %r14d
	movl	%ecx, %r10d
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, %eax
	cmpl	$150, %eax
	je	.L29
.L3:
	cmpl	%eax, %r8d
	jne	.L13
	cmpl	%edi, %ecx
	je	.L4
.L13:
	movl	%ecx, %edx
	movl	%eax, %r15d
	imull	%ecx, %edx
	imull	%eax, %r15d
	addl	%r15d, %edx
	cmpl	%esi, %edx
	jl	.L4
	cmpl	%edi, %ecx
	jge	.L14
	cmpl	%esi, %edx
	je	.L4
.L14:
	cmpl	%r9d, %edx
	jge	.L30
	movl	%eax, %r14d
	addl	$1, %eax
	movl	%ecx, %r10d
	movl	%edx, %r9d
	cmpl	$150, %eax
	jne	.L3
.L29:
	leal	1(%r11), %eax
	cmpl	$149, %r11d
	je	.L31
	movl	%r11d, %ecx
	movl	%eax, %r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movl	%r10d, %edx
	movl	%r14d, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L9
.L2:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	je	.L2
	leaq	.LC1(%rip), %r13
.L9:
	movl	4(%rsp), %r8d
	movl	%edi, %esi
	movl	$1, %ecx
	movl	$2, %r11d
	imull	%edi, %esi
	movl	$150, %r14d
	movl	$150, %r10d
	movl	%r8d, %eax
	imull	%r8d, %eax
	addl	%eax, %esi
	movl	$2, %eax
	leal	100(%rsi), %r9d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	cmpl	%r10d, %ecx
	jge	.L4
	movl	%eax, %r14d
	movl	%ecx, %r10d
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, %eax
	cmpl	$150, %eax
	je	.L29
.L3:
	cmpl	%eax, %r8d
	jne	.L13
	cmpl	%edi, %ecx
	je	.L4
.L13:
	movl	%ecx, %edx
	movl	%eax, %r15d
	imull	%ecx, %edx
	imull	%eax, %r15d
	addl	%r15d, %edx
	cmpl	%esi, %edx
	jl	.L4
	cmpl	%edi, %ecx
	jge	.L14
	cmpl	%esi, %edx
	je	.L4
.L14:
	cmpl	%r9d, %edx
	jge	.L30
	movl	%eax, %r14d
	addl	$1, %eax
	movl	%ecx, %r10d
	movl	%edx, %r9d
	cmpl	$150, %eax
	jne	.L3
.L29:
	leal	1(%r11), %eax
	cmpl	$149, %r11d
	je	.L31
	movl	%r11d, %ecx
	movl	%eax, %r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movl	%r10d, %edx
	movl	%r14d, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L9
.L2:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	je	.L2
	leaq	.LC1(%rip), %r13
.L9:
	movl	4(%rsp), %r8d
	movl	%edi, %esi
	movl	$1, %ecx
	movl	$2, %r11d
	imull	%edi, %esi
	movl	$150, %r14d
	movl	$150, %r10d
	movl	%r8d, %eax
	imull	%r8d, %eax
	addl	%eax, %esi
	movl	$2, %eax
	leal	100(%rsi), %r9d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	cmpl	%r10d, %ecx
	jge	.L4
	movl	%eax, %r14d
	movl	%ecx, %r10d
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, %eax
	cmpl	$150, %eax
	je	.L29
.L3:
	cmpl	%eax, %r8d
	jne	.L13
	cmpl	%edi, %ecx
	je	.L4
.L13:
	movl	%ecx, %edx
	movl	%eax, %r15d
	imull	%ecx, %edx
	imull	%eax, %r15d
	addl	%r15d, %edx
	cmpl	%esi, %edx
	jl	.L4
	cmpl	%edi, %ecx
	jge	.L14
	cmpl	%esi, %edx
	je	.L4
.L14:
	cmpl	%r9d, %edx
	jge	.L30
	movl	%eax, %r14d
	addl	$1, %eax
	movl	%ecx, %r10d
	movl	%edx, %r9d
	cmpl	$150, %eax
	jne	.L3
.L29:
	leal	1(%r11), %eax
	cmpl	$149, %r11d
	je	.L31
	movl	%r11d, %ecx
	movl	%eax, %r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movl	%r10d, %edx
	movl	%r14d, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L9
.L2:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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 <stdio.h>

int main(void) {
    int h, w, i, j, min, large, minh, minw;
    scanf("%d %d",&h, &w);
    while(h) {
        large = h * h + w * w;
        min = large + 100;
        minh = 150;
        minw = 150;
        for(i = 1; i < 150; i++ ) {
            for(j = i + 1; j < 150; j++ ) {
                if(i == h && j == w) {
                    continue;
                }
                if(large <= i*i+j*j ) {
                    if(large == i*i+j*j && i < h) {
                        continue;
                    }
                    if(min > i*i+j*j) {
                        min = i*i+j*j;
                        minh = i;
                        minw = j;
                    } else if(minh > i ) {
                        minh = i;
                        minw = j;
                        
                    }
                }
            }
        }
        printf("%d %d\n",minh, minw);
        scanf("%d %d",&h,&w);
    }
    return 0;
}
                ```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void) {
    int h, w, i, j, min, large, minh, minw;
    scanf("%d %d",&h, &w);
    while(h) {
        large = h * h + w * w;
        min = large + 100;
        minh = 150;
        minw = 150;
        for(i = 1; i < 150; i++ ) {
            for(j = i + 1; j < 150; j++ ) {
                if(i == h && j == w) {
                    continue;
                }
                if(large <= i*i+j*j ) {
                    if(large == i*i+j*j && i < h) {
                        continue;
                    }
                    if(min > i*i+j*j) {
                        min = i*i+j*j;
                        minh = i;
                        minw = j;
                    } else if(minh > i ) {
                        minh = i;
                        minw = j;
                        
                    }
                }
            }
        }
        printf("%d %d\n",minh, minw);
        scanf("%d %d",&h,&w);
    }
    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
1 3
2 3
1 4
2 4
5 6
1 8
4 7
98 100
99 100
0 0

1 3
2 3
1 4
2 4
3 4
1 8
4 7
2 8
3 140
89 109

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>

int main(void) {
    int h, w, i, j, min, large, minh, minw;
    scanf("%d %d",&h, &w);
    while(h) {
        large = h * h + w * w;
        min = large + 100;
        minh = 150;
        minw = 150;
        for(i = 1; i < 150; i++ ) {
            for(j = i + 1; j < 150; j++ ) {
                if(i == h && j == w) {
                    continue;
                }
                if(large <= i*i+j*j ) {
                    if(large == i*i+j*j && i < h) {
                        continue;
                    }
                    if(min > i*i+j*j) {
                        min = i*i+j*j;
                        minh = i;
                        minw = j;
                    } else if(minh > i ) {
                        minh = i;
                        minw = j;
                        
                    }
                }
            }
        }
        printf("%d %d\n",minh, minw);
        scanf("%d %d",&h,&w);
    }
    return 0;
}
                ```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	je	.L2
	leaq	.LC1(%rip), %r13
.L9:
	movl	4(%rsp), %r8d
	movl	%edi, %esi
	movl	$1, %ecx
	movl	$2, %r11d
	imull	%edi, %esi
	movl	$150, %r14d
	movl	$150, %r10d
	movl	%r8d, %eax
	imull	%r8d, %eax
	addl	%eax, %esi
	movl	$2, %eax
	leal	100(%rsi), %r9d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	cmpl	%r10d, %ecx
	jge	.L4
	movl	%eax, %r14d
	movl	%ecx, %r10d
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, %eax
	cmpl	$150, %eax
	je	.L29
.L3:
	cmpl	%eax, %r8d
	jne	.L13
	cmpl	%edi, %ecx
	je	.L4
.L13:
	movl	%ecx, %edx
	movl	%eax, %r15d
	imull	%ecx, %edx
	imull	%eax, %r15d
	addl	%r15d, %edx
	cmpl	%esi, %edx
	jl	.L4
	cmpl	%edi, %ecx
	jge	.L14
	cmpl	%esi, %edx
	je	.L4
.L14:
	cmpl	%r9d, %edx
	jge	.L30
	movl	%eax, %r14d
	addl	$1, %eax
	movl	%ecx, %r10d
	movl	%edx, %r9d
	cmpl	$150, %eax
	jne	.L3
.L29:
	leal	1(%r11), %eax
	cmpl	$149, %r11d
	je	.L31
	movl	%r11d, %ecx
	movl	%eax, %r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movl	%r10d, %edx
	movl	%r14d, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L9
.L2:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	je	.L2
	leaq	.LC1(%rip), %r13
.L9:
	movl	4(%rsp), %r8d
	movl	%edi, %esi
	movl	$1, %ecx
	movl	$2, %r11d
	imull	%edi, %esi
	movl	$150, %r14d
	movl	$150, %r10d
	movl	%r8d, %eax
	imull	%r8d, %eax
	addl	%eax, %esi
	movl	$2, %eax
	leal	100(%rsi), %r9d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	cmpl	%r10d, %ecx
	jge	.L4
	movl	%eax, %r14d
	movl	%ecx, %r10d
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, %eax
	cmpl	$150, %eax
	je	.L29
.L3:
	cmpl	%eax, %r8d
	jne	.L13
	cmpl	%edi, %ecx
	je	.L4
.L13:
	movl	%ecx, %edx
	movl	%eax, %r15d
	imull	%ecx, %edx
	imull	%eax, %r15d
	addl	%r15d, %edx
	cmpl	%esi, %edx
	jl	.L4
	cmpl	%edi, %ecx
	jge	.L14
	cmpl	%esi, %edx
	je	.L4
.L14:
	cmpl	%r9d, %edx
	jge	.L30
	movl	%eax, %r14d
	addl	$1, %eax
	movl	%ecx, %r10d
	movl	%edx, %r9d
	cmpl	$150, %eax
	jne	.L3
.L29:
	leal	1(%r11), %eax
	cmpl	$149, %r11d
	je	.L31
	movl	%r11d, %ecx
	movl	%eax, %r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	movl	%r10d, %edx
	movl	%r14d, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L9
.L2:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```