	.file	"558380.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	DayName
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"Day %d is %s \n"
	.align 8
.LC1:
	.string	"Error, the day doesn't exist! "
	.text
	.globl	DayName
	.type	DayName, @function
DayName:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 133459203749203
	mov	QWORD PTR -80[rbp], rax
	mov	WORD PTR -72[rbp], 0
	movabs	rax, 133459203747661
	mov	QWORD PTR -70[rbp], rax
	mov	WORD PTR -62[rbp], 0
	movabs	rax, 34165556242642260
	mov	QWORD PTR -60[rbp], rax
	mov	WORD PTR -52[rbp], 0
	movabs	rax, 7017860998831039831
	mov	QWORD PTR -50[rbp], rax
	mov	WORD PTR -42[rbp], 121
	movabs	rax, 8746382398334527572
	mov	QWORD PTR -40[rbp], rax
	mov	WORD PTR -32[rbp], 0
	movabs	rax, 521325343302
	mov	QWORD PTR -30[rbp], rax
	mov	WORD PTR -22[rbp], 0
	movabs	rax, 8746382394089824595
	mov	QWORD PTR -20[rbp], rax
	mov	WORD PTR -12[rbp], 0
	cmp	DWORD PTR -84[rbp], 7
	jg	.L4
	cmp	DWORD PTR -84[rbp], 0
	jle	.L4
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	lea	rcx, -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L5:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	DayName, .-DayName
	.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	"558380.c"
	.text
	.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]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	DayName
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Day %d is %s \012\000"
	.align	2
.LC2:
	.ascii	"Error, the day doesn't exist! \000"
	.align	2
.LC0:
	.ascii	"Sunday\000"
	.space	3
	.ascii	"Monday\000"
	.space	3
	.ascii	"Tuesday\000"
	.space	2
	.ascii	"Wednesday\000"
	.ascii	"Thursday\000"
	.space	1
	.ascii	"Friay\000"
	.space	4
	.ascii	"Saturday\000"
	.space	1
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DayName
	.syntax unified
	.arm
	.fpu softvfp
	.type	DayName, %function
DayName:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L7+4
	sub	r3, fp, #80
	mov	r1, r2
	mov	r2, #70
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-88]
	cmp	r3, #7
	bgt	.L4
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	ble	.L4
	ldr	r3, [fp, #-88]
	sub	r2, r3, #1
	sub	r1, fp, #80
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, r3
	ldr	r1, [fp, #-88]
	ldr	r0, .L7+8
	bl	printf
	b	.L5
.L4:
	ldr	r0, .L7+12
	bl	puts
.L5:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	DayName, .-DayName
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
