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 <stdlib.h>
int cmp(const void *a,const void *b){
	return *(int *)b-*(int *)a;
}
int main(void){
	int i,j,h[2],m[2],s[2],ah,am,as;
	for(i=0;i<3;i++){
		for(j=0;j<2;j++){
			scanf("%d %d %d",&h[j],&m[j],&s[j]);
		}
		int ti,to;
		ti=h[0]*3600+m[0]*60+s[0];
		to=h[1]*3600+m[1]*60+s[1];
		int ans=to-ti;
		ah=ans/3600;
		ans%=3600;
		am=ans/60;
		ans%=60;
		as=ans;
		printf("%d %d %d\n",ah,am,as);
	}
    return 0;
}
	```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	.LC1(%rip), %r12
	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
	movl	$3, %ebx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r11
	leaq	40(%rsp), %r10
	leaq	32(%rsp), %r9
	leaq	52(%rsp), %r15
	leaq	44(%rsp), %r14
	leaq	36(%rsp), %r13
.L4:
	movq	%r11, %rcx
	movq	%r10, %rdx
	movq	%r9, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movq	%r11, 24(%rsp)
	movq	%r10, 16(%rsp)
	movq	%r9, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	%r15, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$60, 44(%rsp), %eax
	movl	$1, %edi
	imull	$3600, 36(%rsp), %ecx
	imull	$60, 40(%rsp), %edx
	addl	%eax, %ecx
	imull	$3600, 32(%rsp), %eax
	addl	52(%rsp), %ecx
	addl	%edx, %eax
	addl	48(%rsp), %eax
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edx
	imulq	$-1851608123, %rax, %rax
	sarl	$31, %edx
	shrq	$32, %rax
	addl	%ecx, %eax
	sarl	$11, %eax
	movl	%eax, %r8d
	subl	%edx, %eax
	subl	%edx, %r8d
	movl	%eax, %edx
	xorl	%eax, %eax
	imull	$3600, %r8d, %esi
	subl	%esi, %ecx
	movl	%ecx, %r8d
	movslq	%ecx, %rcx
	imulq	$-2004318071, %rcx, %rcx
	movl	%r8d, %esi
	sarl	$31, %esi
	shrq	$32, %rcx
	addl	%r8d, %ecx
	sarl	$5, %ecx
	subl	%esi, %ecx
	imull	$60, %ecx, %esi
	subl	%esi, %r8d
	movq	%r12, %rsi
	call	__printf_chk@PLT
	subl	$1, %ebx
	movq	8(%rsp), %r9
	movq	16(%rsp), %r10
	movq	24(%rsp), %r11
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$72, %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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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	cmp
	.type	cmp, @function
cmp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	.LC1(%rip), %r12
	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
	movl	$3, %ebx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r11
	leaq	40(%rsp), %r10
	leaq	32(%rsp), %r9
	leaq	52(%rsp), %r15
	leaq	44(%rsp), %r14
	leaq	36(%rsp), %r13
.L4:
	movq	%r11, %rcx
	movq	%r10, %rdx
	movq	%r9, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movq	%r11, 24(%rsp)
	movq	%r10, 16(%rsp)
	movq	%r9, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	%r15, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$60, 44(%rsp), %eax
	movl	$1, %edi
	imull	$3600, 36(%rsp), %ecx
	imull	$60, 40(%rsp), %edx
	addl	%eax, %ecx
	imull	$3600, 32(%rsp), %eax
	addl	52(%rsp), %ecx
	addl	%edx, %eax
	addl	48(%rsp), %eax
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edx
	imulq	$-1851608123, %rax, %rax
	sarl	$31, %edx
	shrq	$32, %rax
	addl	%ecx, %eax
	sarl	$11, %eax
	movl	%eax, %r8d
	subl	%edx, %eax
	subl	%edx, %r8d
	movl	%eax, %edx
	xorl	%eax, %eax
	imull	$3600, %r8d, %esi
	subl	%esi, %ecx
	movl	%ecx, %r8d
	movslq	%ecx, %rcx
	imulq	$-2004318071, %rcx, %rcx
	movl	%r8d, %esi
	sarl	$31, %esi
	shrq	$32, %rcx
	addl	%r8d, %ecx
	sarl	$5, %ecx
	subl	%esi, %ecx
	imull	$60, %ecx, %esi
	subl	%esi, %r8d
	movq	%r12, %rsi
	call	__printf_chk@PLT
	subl	$1, %ebx
	movq	8(%rsp), %r9
	movq	16(%rsp), %r10
	movq	24(%rsp), %r11
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$72, %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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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	cmp
	.type	cmp, @function
cmp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	.LC1(%rip), %r12
	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
	movl	$3, %ebx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r11
	leaq	40(%rsp), %r10
	leaq	32(%rsp), %r9
	leaq	52(%rsp), %r15
	leaq	44(%rsp), %r14
	leaq	36(%rsp), %r13
.L4:
	movq	%r11, %rcx
	movq	%r10, %rdx
	movq	%r9, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movq	%r11, 24(%rsp)
	movq	%r10, 16(%rsp)
	movq	%r9, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	%r15, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$60, 44(%rsp), %eax
	movl	$1, %edi
	imull	$3600, 36(%rsp), %ecx
	imull	$60, 40(%rsp), %edx
	addl	%eax, %ecx
	imull	$3600, 32(%rsp), %eax
	addl	52(%rsp), %ecx
	addl	%edx, %eax
	addl	48(%rsp), %eax
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edx
	imulq	$-1851608123, %rax, %rax
	sarl	$31, %edx
	shrq	$32, %rax
	addl	%ecx, %eax
	sarl	$11, %eax
	movl	%eax, %r8d
	subl	%edx, %eax
	subl	%edx, %r8d
	movl	%eax, %edx
	xorl	%eax, %eax
	imull	$3600, %r8d, %esi
	subl	%esi, %ecx
	movl	%ecx, %r8d
	movslq	%ecx, %rcx
	imulq	$-2004318071, %rcx, %rcx
	movl	%r8d, %esi
	sarl	$31, %esi
	shrq	$32, %rcx
	addl	%r8d, %ecx
	sarl	$5, %ecx
	subl	%esi, %ecx
	imull	$60, %ecx, %esi
	subl	%esi, %r8d
	movq	%r12, %rsi
	call	__printf_chk@PLT
	subl	$1, %ebx
	movq	8(%rsp), %r9
	movq	16(%rsp), %r10
	movq	24(%rsp), %r11
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$72, %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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#include <stdlib.h>
int cmp(const void *a,const void *b){
	return *(int *)b-*(int *)a;
}
int main(void){
	int i,j,h[2],m[2],s[2],ah,am,as;
	for(i=0;i<3;i++){
		for(j=0;j<2;j++){
			scanf("%d %d %d",&h[j],&m[j],&s[j]);
		}
		int ti,to;
		ti=h[0]*3600+m[0]*60+s[0];
		to=h[1]*3600+m[1]*60+s[1];
		int ans=to-ti;
		ah=ans/3600;
		ans%=3600;
		am=ans/60;
		ans%=60;
		as=ans;
		printf("%d %d %d\n",ah,am,as);
	}
    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 <stdlib.h>
int cmp(const void *a,const void *b){
	return *(int *)b-*(int *)a;
}
int main(void){
	int i,j,h[2],m[2],s[2],ah,am,as;
	for(i=0;i<3;i++){
		for(j=0;j<2;j++){
			scanf("%d %d %d",&h[j],&m[j],&s[j]);
		}
		int ti,to;
		ti=h[0]*3600+m[0]*60+s[0];
		to=h[1]*3600+m[1]*60+s[1];
		int ans=to-ti;
		ah=ans/3600;
		ans%=3600;
		am=ans/60;
		ans%=60;
		as=ans;
		printf("%d %d %d\n",ah,am,as);
	}
    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:

9 0 0 18 0 0
9 0 1 18 0 0
9 14 52 12 15 30
 enoN
 9 0 0 0 0 0
9 0 1 18 0 0
9 14 52 12 15 30
 9 0 0 0 0 0
9 0 1 18 0 0
8 14 52 12 15 30
 9 0 0 0 0 0
9 0 1 18 0 0
8 14 86 12 15 30
 9 0 0 0 0 0
9 0 1 18 0 0
8 14 86 10 15 30
 9 0 0 0 0 0
9 0 0 18 0 0
8 14 86 10 15 30
 9 0 0 0 0 0
9 0 0 33 0 0
8 14 86 10 15 30
 9 0 0 0 0 0
9 0 0 33 0 0
8 14 130 10 15 30
 8 0 0 0 0 0
9 0 0 33 0 0
8 14 130 10 15 30

9 0 0
8 59 59
3 0 38
 68499 33 4
68499 33 4
68499 33 4
 -9 0 0
8 59 59
3 0 38
 -9 0 0
8 59 59
4 0 38
 -9 0 0
8 59 59
4 0 4
 -9 0 0
8 59 59
2 0 4
 -9 0 0
9 0 0
2 0 4
 -9 0 0
24 0 0
2 0 4
 -9 0 0
24 0 0
1 59 20
 -8 0 0
24 0 0
1 59 20

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 <stdlib.h>
int cmp(const void *a,const void *b){
	return *(int *)b-*(int *)a;
}
int main(void){
	int i,j,h[2],m[2],s[2],ah,am,as;
	for(i=0;i<3;i++){
		for(j=0;j<2;j++){
			scanf("%d %d %d",&h[j],&m[j],&s[j]);
		}
		int ti,to;
		ti=h[0]*3600+m[0]*60+s[0];
		to=h[1]*3600+m[1]*60+s[1];
		int ans=to-ti;
		ah=ans/3600;
		ans%=3600;
		am=ans/60;
		ans%=60;
		as=ans;
		printf("%d %d %d\n",ah,am,as);
	}
    return 0;
}
	```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	.LC1(%rip), %r12
	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
	movl	$3, %ebx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r11
	leaq	40(%rsp), %r10
	leaq	32(%rsp), %r9
	leaq	52(%rsp), %r15
	leaq	44(%rsp), %r14
	leaq	36(%rsp), %r13
.L4:
	movq	%r11, %rcx
	movq	%r10, %rdx
	movq	%r9, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movq	%r11, 24(%rsp)
	movq	%r10, 16(%rsp)
	movq	%r9, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	%r15, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$60, 44(%rsp), %eax
	movl	$1, %edi
	imull	$3600, 36(%rsp), %ecx
	imull	$60, 40(%rsp), %edx
	addl	%eax, %ecx
	imull	$3600, 32(%rsp), %eax
	addl	52(%rsp), %ecx
	addl	%edx, %eax
	addl	48(%rsp), %eax
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edx
	imulq	$-1851608123, %rax, %rax
	sarl	$31, %edx
	shrq	$32, %rax
	addl	%ecx, %eax
	sarl	$11, %eax
	movl	%eax, %r8d
	subl	%edx, %eax
	subl	%edx, %r8d
	movl	%eax, %edx
	xorl	%eax, %eax
	imull	$3600, %r8d, %esi
	subl	%esi, %ecx
	movl	%ecx, %r8d
	movslq	%ecx, %rcx
	imulq	$-2004318071, %rcx, %rcx
	movl	%r8d, %esi
	sarl	$31, %esi
	shrq	$32, %rcx
	addl	%r8d, %ecx
	sarl	$5, %ecx
	subl	%esi, %ecx
	imull	$60, %ecx, %esi
	subl	%esi, %r8d
	movq	%r12, %rsi
	call	__printf_chk@PLT
	subl	$1, %ebx
	movq	8(%rsp), %r9
	movq	16(%rsp), %r10
	movq	24(%rsp), %r11
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$72, %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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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	cmp
	.type	cmp, @function
cmp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	.LC1(%rip), %r12
	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
	movl	$3, %ebx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r11
	leaq	40(%rsp), %r10
	leaq	32(%rsp), %r9
	leaq	52(%rsp), %r15
	leaq	44(%rsp), %r14
	leaq	36(%rsp), %r13
.L4:
	movq	%r11, %rcx
	movq	%r10, %rdx
	movq	%r9, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movq	%r11, 24(%rsp)
	movq	%r10, 16(%rsp)
	movq	%r9, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	%r15, %rcx
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$60, 44(%rsp), %eax
	movl	$1, %edi
	imull	$3600, 36(%rsp), %ecx
	imull	$60, 40(%rsp), %edx
	addl	%eax, %ecx
	imull	$3600, 32(%rsp), %eax
	addl	52(%rsp), %ecx
	addl	%edx, %eax
	addl	48(%rsp), %eax
	subl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edx
	imulq	$-1851608123, %rax, %rax
	sarl	$31, %edx
	shrq	$32, %rax
	addl	%ecx, %eax
	sarl	$11, %eax
	movl	%eax, %r8d
	subl	%edx, %eax
	subl	%edx, %r8d
	movl	%eax, %edx
	xorl	%eax, %eax
	imull	$3600, %r8d, %esi
	subl	%esi, %ecx
	movl	%ecx, %r8d
	movslq	%ecx, %rcx
	imulq	$-2004318071, %rcx, %rcx
	movl	%r8d, %esi
	sarl	$31, %esi
	shrq	$32, %rcx
	addl	%r8d, %ecx
	sarl	$5, %ecx
	subl	%esi, %ecx
	imull	$60, %ecx, %esi
	subl	%esi, %r8d
	movq	%r12, %rsi
	call	__printf_chk@PLT
	subl	$1, %ebx
	movq	8(%rsp), %r9
	movq	16(%rsp), %r10
	movq	24(%rsp), %r11
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$72, %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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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:
```