	.file	"71924.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%A"
.LC1:
	.string	"%s\t"
.LC2:
	.string	"%d\t"
.LC3:
	.string	"%B"
.LC4:
	.string	"%Y"
.LC5:
	.string	"%r"
.LC6:
	.string	"%Z"
	.text
	.globl	print_date
	.type	print_date, @function
print_date:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC5[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC6[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_date, .-print_date
	.section	.rodata
.LC7:
	.string	"Time falied"
.LC8:
	.string	"struct tm falied in localtime"
.LC9:
	.string	"-u\n"
.LC10:
	.string	"-u"
.LC11:
	.string	"struct tm falied in gmtime"
.LC12:
	.string	"-I\n"
.LC13:
	.string	"-I"
.LC14:
	.string	"%F"
.LC15:
	.string	"no such command in date"
	.text
	.globl	date_command
	.type	date_command, @function
date_command:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	QWORD PTR -312[rbp], rdi
	mov	DWORD PTR -316[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	cmp	rax, -1
	jne	.L4
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L3
.L4:
	cmp	DWORD PTR -316[rbp], 0
	je	.L6
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L7
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	print_date
	jmp	.L8
.L6:
	mov	rax, QWORD PTR -312[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR -312[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
.L9:
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	gmtime@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L11
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L3
.L11:
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	print_date
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -312[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -312[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
.L12:
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L14
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L3
.L14:
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC14[rip]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L8
.L13:
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L8:
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	date_command, .-date_command
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L18
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 0
	call	date_command
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	date_command
.L19:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"71924.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%A\000"
	.align	2
.LC1:
	.ascii	"%s\011\000"
	.align	2
.LC2:
	.ascii	"%d\011\000"
	.align	2
.LC3:
	.ascii	"%B\000"
	.align	2
.LC4:
	.ascii	"%Y\000"
	.align	2
.LC5:
	.ascii	"%r\000"
	.align	2
.LC6:
	.ascii	"%Z\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_date
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_date, %function
print_date:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, .L3+4
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	ldr	r3, [fp, #-272]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L3+12
	bl	printf
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, .L3+16
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, .L3+20
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, .L3+24
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, .L3+28
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	print_date, .-print_date
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Time falied\000"
	.align	2
.LC9:
	.ascii	"struct tm falied in localtime\000"
	.align	2
.LC10:
	.ascii	"-u\012\000"
	.align	2
.LC11:
	.ascii	"-u\000"
	.align	2
.LC12:
	.ascii	"struct tm falied in gmtime\000"
	.align	2
.LC13:
	.ascii	"-I\012\000"
	.align	2
.LC14:
	.ascii	"-I\000"
	.align	2
.LC15:
	.ascii	"%F\000"
	.align	2
.LC16:
	.ascii	"no such command in date\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	date_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	date_command, %function
date_command:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L19+4
	bl	perror
	mov	r3, #1
	b	.L5
.L6:
	ldr	r3, [fp, #-292]
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #280
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L19+8
	bl	perror
	mov	r3, #1
	b	.L5
.L9:
	ldr	r0, [fp, #-268]
	bl	print_date
	b	.L10
.L8:
	ldr	r1, .L19+12
	ldr	r0, [fp, #-288]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, .L19+16
	ldr	r0, [fp, #-288]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
.L11:
	sub	r3, fp, #280
	mov	r0, r3
	bl	gmtime
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L19+20
	bl	perror
	mov	r3, #1
	b	.L5
.L13:
	ldr	r0, [fp, #-272]
	bl	print_date
	b	.L10
.L12:
	ldr	r1, .L19+24
	ldr	r0, [fp, #-288]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L19+28
	ldr	r0, [fp, #-288]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
.L14:
	sub	r3, fp, #280
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L19+8
	bl	perror
	mov	r3, #1
	b	.L5
.L16:
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #264
	ldr	r3, [fp, #-276]
	ldr	r2, .L19+32
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L10
.L15:
	ldr	r0, .L19+36
	bl	puts
.L10:
.L5:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC17
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	date_command, .-date_command
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L22
	ldr	r1, [fp, #-8]
	mov	r0, #0
	bl	date_command
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	date_command
.L23:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
