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

```c
x,y,u;p(a,b){for(;b--;)putchar(a+68);}main(v){scanf("%d%d%d%d",&u,&v,&x,&y);x-=u;y-=v;p(17,y++);p(14,++x);p(0,y);p(8,x);p(17,1);p(8,1);p(17,y);p(14,x);p(0,y);p(8,--x);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.text
	.globl	p
	.type	p, @function
p:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	addl	$68, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L2:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L3
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	p, .-p
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	-4(%rbp), %rax
	leaq	y(%rip), %r8
	leaq	x(%rip), %rdx
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	u(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	u(%rip), %edx
	subl	%edx, %eax
	movl	%eax, x(%rip)
	movl	y(%rip), %eax
	movl	-4(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, y(%rip)
	movl	y(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, y(%rip)
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	addl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	subl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	p
	.type	p, @function
p:
.LFB0:
	.cfi_startproc
	endbr64
	testl	%esi, %esi
	je	.L9
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leal	68(%rdi), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%esi, %ebx
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%ebp, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L3
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE0:
	.size	p, .-p
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%eax, %eax
	leaq	y(%rip), %r8
	leaq	x(%rip), %rcx
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	u(%rip), %rsi
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	u(%rip), %eax
	movl	y(%rip), %ebx
	subl	%eax, x(%rip)
	subl	12(%rsp), %ebx
	leal	1(%rbx), %eax
	movl	%eax, y(%rip)
	je	.L18
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$85, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L17
.L18:
	movl	x(%rip), %eax
	xorl	%ebx, %ebx
	leal	1(%rax), %ebp
	movl	%ebp, x(%rip)
	testl	%ebp, %ebp
	je	.L58
	.p2align 4,,10
	.p2align 3
.L19:
	movl	$82, %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L19
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	je	.L24
.L20:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L23:
	movl	$68, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rax, %rbp
	jne	.L23
.L24:
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	je	.L22
	.p2align 4,,10
	.p2align 3
.L27:
	movl	$76, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L27
.L22:
	movl	$85, %edi
	call	putchar@PLT
	movl	$76, %edi
	call	putchar@PLT
	movl	y(%rip), %ebx
	testl	%ebx, %ebx
	je	.L59
.L30:
	movl	$85, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L30
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	je	.L60
	.p2align 4,,10
	.p2align 3
.L32:
	movl	$82, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L32
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	je	.L37
.L33:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$68, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rax, %rbp
	jne	.L36
.L37:
	movl	x(%rip), %ebp
	leal	-1(%rbp), %eax
	subl	$2, %ebp
	movl	%eax, x(%rip)
	testl	%eax, %eax
	je	.L56
.L34:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$76, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rbp, %rax
	jne	.L38
.L56:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L59:
	.cfi_restore_state
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	jne	.L32
.L39:
	movl	$-1, x(%rip)
	movl	$4294967294, %ebp
	jmp	.L34
.L58:
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	jne	.L20
	jmp	.L22
.L60:
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	jne	.L33
	jmp	.L39
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	u
	.bss
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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
	.p2align 4
	.globl	p
	.type	p, @function
p:
.LFB0:
	.cfi_startproc
	endbr64
	testl	%esi, %esi
	je	.L9
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leal	68(%rdi), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%esi, %ebx
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%ebp, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L3
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE0:
	.size	p, .-p
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%eax, %eax
	leaq	y(%rip), %r8
	leaq	x(%rip), %rcx
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	u(%rip), %rsi
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	u(%rip), %eax
	movl	y(%rip), %ebx
	subl	%eax, x(%rip)
	subl	12(%rsp), %ebx
	leal	1(%rbx), %eax
	movl	%eax, y(%rip)
	je	.L18
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$85, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L17
.L18:
	movl	x(%rip), %eax
	xorl	%ebx, %ebx
	leal	1(%rax), %ebp
	movl	%ebp, x(%rip)
	testl	%ebp, %ebp
	je	.L58
	.p2align 4,,10
	.p2align 3
.L19:
	movl	$82, %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L19
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	je	.L24
.L20:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L23:
	movl	$68, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rax, %rbp
	jne	.L23
.L24:
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	je	.L22
	.p2align 4,,10
	.p2align 3
.L27:
	movl	$76, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L27
.L22:
	movl	$85, %edi
	call	putchar@PLT
	movl	$76, %edi
	call	putchar@PLT
	movl	y(%rip), %ebx
	testl	%ebx, %ebx
	je	.L59
.L30:
	movl	$85, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L30
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	je	.L60
	.p2align 4,,10
	.p2align 3
.L32:
	movl	$82, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L32
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	je	.L37
.L33:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$68, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rax, %rbp
	jne	.L36
.L37:
	movl	x(%rip), %ebp
	leal	-1(%rbp), %eax
	subl	$2, %ebp
	movl	%eax, x(%rip)
	testl	%eax, %eax
	je	.L56
.L34:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$76, %edi
	call	putchar@PLT
	movq	%rbx, %rax
	addq	$1, %rbx
	cmpq	%rbp, %rax
	jne	.L38
.L56:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L59:
	.cfi_restore_state
	movl	x(%rip), %ebx
	testl	%ebx, %ebx
	jne	.L32
.L39:
	movl	$-1, x(%rip)
	movl	$4294967294, %ebp
	jmp	.L34
.L58:
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	jne	.L20
	jmp	.L22
.L60:
	movl	y(%rip), %eax
	leal	-1(%rax), %ebp
	testl	%eax, %eax
	jne	.L33
	jmp	.L39
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	u
	.bss
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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:

x,y,u;p(a,b){for(;b--;)putchar(a+68);}main(v){scanf("%d%d%d%d",&u,&v,&x,&y);x-=u;y-=v;p(17,y++);p(14,++x);p(0,y);p(8,x);p(17,1);p(8,1);p(17,y);p(14,x);p(0,y);p(8,--x);}
-1 0 1 2
 -2 -2 1 2
 -1 0 1 4
 -1 0 1 0
 -2 -2 0 4
 -2 0 1 0
 -4 -2 0 4
 0 0 1 0
 -4 -4 0 4
 -4 0 0 4

UURRRDDDLLLULUUURRRDDDLL UUUURRRRDDDDDLLLLULUUUUURRRRDDDDDLLL UUUURRRDDDDDLLLULUUUUURRRDDDDDLL RRRDLLLULURRRDLL UUUUUURRRDDDDDDDLLLULUUUUUUURRRDDDDDDDLL RRRRDLLLLULURRRRDLLL UUUUUURRRRRDDDDDDDLLLLLULUUUUUUURRRRRDDDDDDDLLLL RRDLLULURRDL UUUUUUUURRRRRDDDDDDDDDLLLLLULUUUUUUUUURRRRRDDDDDDDDDLLLL UUUURRRRRDDDDDLLLLLULUUUUURRRRRDDDDDLLLL
Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
x,y,u;p(a,b){for(;b--;)putchar(a+68);}main(v){scanf("%d%d%d%d",&u,&v,&x,&y);x-=u;y-=v;p(17,y++);p(14,++x);p(0,y);p(8,x);p(17,1);p(8,1);p(17,y);p(14,x);p(0,y);p(8,--x);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.text
	.globl	p
	.type	p, @function
p:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	addl	$68, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L2:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L3
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	p, .-p
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	-4(%rbp), %rax
	leaq	y(%rip), %r8
	leaq	x(%rip), %rdx
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	u(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	u(%rip), %edx
	subl	%edx, %eax
	movl	%eax, x(%rip)
	movl	y(%rip), %eax
	movl	-4(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, y(%rip)
	movl	y(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, y(%rip)
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	addl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	subl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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.
train
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.text
	.globl	p
	.type	p, @function
p:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	addl	$68, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L2:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L3
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	p, .-p
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	-4(%rbp), %rax
	leaq	y(%rip), %r8
	leaq	x(%rip), %rdx
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	u(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	u(%rip), %edx
	subl	%edx, %eax
	movl	%eax, x(%rip)
	movl	y(%rip), %eax
	movl	-4(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, y(%rip)
	movl	y(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, y(%rip)
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	addl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	$1, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$17, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$14, %edi
	movl	$0, %eax
	call	p
	movl	y(%rip), %eax
	movl	%eax, %esi
	movl	$0, %edi
	movl	$0, %eax
	call	p
	movl	x(%rip), %eax
	subl	$1, %eax
	movl	%eax, x(%rip)
	movl	x(%rip), %eax
	movl	%eax, %esi
	movl	$8, %edi
	movl	$0, %eax
	call	p
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
