	.file	"213535.c"
	.intel_syntax noprefix
	.text
	.globl	check
	.type	check, @function
check:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, ecx
	mov	edx, r8d
	mov	BYTE PTR -32[rbp], al
	mov	eax, edx
	mov	BYTE PTR -36[rbp], al
	cmp	DWORD PTR -28[rbp], 0
	jle	.L2
	cmp	DWORD PTR -24[rbp], 0
	jle	.L2
	cmp	DWORD PTR -24[rbp], 12
	jg	.L2
	cmp	DWORD PTR -28[rbp], 0
	jg	.L3
	mov	eax, 1
	jmp	.L4
.L3:
	cmp	DWORD PTR -24[rbp], 2
	jne	.L5
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L6
	mov	DWORD PTR -4[rbp], 29
	jmp	.L7
.L6:
	mov	DWORD PTR -4[rbp], 28
	jmp	.L7
.L5:
	cmp	DWORD PTR -24[rbp], 7
	jg	.L8
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L9
.L8:
	cmp	DWORD PTR -24[rbp], 7
	jle	.L10
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L10
.L9:
	mov	DWORD PTR -4[rbp], 31
	jmp	.L7
.L10:
	mov	DWORD PTR -4[rbp], 30
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L11
	cmp	DWORD PTR -20[rbp], 0
	jg	.L2
.L11:
	mov	eax, 1
	jmp	.L4
.L2:
	movzx	eax, BYTE PTR -32[rbp]
	cmp	al, BYTE PTR -36[rbp]
	jne	.L12
	cmp	BYTE PTR -32[rbp], 58
	je	.L13
.L12:
	mov	eax, 1
	jmp	.L4
.L13:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	check, .-check
	.globl	do_actions
	.type	do_actions, @function
do_actions:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L15
	mov	eax, 1
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L17
	mov	eax, -1
	jmp	.L16
.L17:
	mov	eax, 0
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	do_actions, .-do_actions
	.section	.rodata
.LC0:
	.string	"First is bigger"
.LC1:
	.string	"Second is bigger"
.LC2:
	.string	"the same"
	.text
	.globl	compare
	.type	compare, @function
compare:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	do_actions
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L19
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	do_actions
	mov	DWORD PTR -4[rbp], eax
.L19:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L20
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	do_actions
	mov	DWORD PTR -4[rbp], eax
.L20:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L21
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L21:
	cmp	DWORD PTR -4[rbp], -1
	jne	.L23
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L23:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	compare, .-compare
	.section	.rodata
.LC3:
	.string	"give \320\264\320\264:\320\274\320\274:\320\263\320\263"
.LC4:
	.string	"%d%c%d%c%d"
	.align 8
.LC5:
	.string	"Your input was incorrect. Please, try again."
	.text
	.globl	get_date
	.type	get_date, @function
get_date:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -33[rbp], 1
	jmp	.L26
.L27:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -32[rbp]
	lea	rdi, 8[rax]
	lea	rsi, -34[rbp]
	lea	rax, -32[rbp]
	lea	rcx, 4[rax]
	lea	rdx, -35[rbp]
	lea	rax, -32[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -34[rbp]
	movsx	edi, al
	movzx	eax, BYTE PTR -35[rbp]
	movsx	ecx, al
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	check
	mov	BYTE PTR -33[rbp], al
	cmp	BYTE PTR -33[rbp], 0
	je	.L26
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L26:
	cmp	BYTE PTR -33[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -20[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rcx
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	get_date, .-get_date
	.globl	main
	.type	main, @function
main:
.LFB4:
	.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	eax, 0
	call	get_date
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 0
	call	get_date
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, rcx
	mov	rdi, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	compare
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"213535.c"
	.text
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-20]
	cmp	r3, #12
	bgt	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L3
	mov	r3, #1
	b	.L4
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L5
	ldr	r3, [fp, #-24]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L6
	mov	r3, #29
	str	r3, [fp, #-8]
	b	.L7
.L6:
	mov	r3, #28
	str	r3, [fp, #-8]
	b	.L7
.L5:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bgt	.L8
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L9
.L8:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L10
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L10
.L9:
	mov	r3, #31
	str	r3, [fp, #-8]
	b	.L7
.L10:
	mov	r3, #30
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L11
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L2
.L11:
	mov	r3, #1
	b	.L4
.L2:
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L13
.L12:
	mov	r3, #1
	b	.L4
.L13:
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check, .-check
	.align	2
	.global	do_actions
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_actions, %function
do_actions:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L15
	mov	r3, #1
	b	.L16
.L15:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L17
	mvn	r3, #0
	b	.L16
.L17:
	mov	r3, #0
.L16:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	do_actions, .-do_actions
	.section	.rodata
	.align	2
.LC0:
	.ascii	"First is bigger\000"
	.align	2
.LC1:
	.ascii	"Second is bigger\000"
	.align	2
.LC2:
	.ascii	"the same\000"
	.text
	.align	2
	.global	compare
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare, %function
compare:
	@ args = 16, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	sub	ip, fp, #24
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #16]
	mov	r1, r2
	mov	r0, r3
	bl	do_actions
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mov	r1, r2
	mov	r0, r3
	bl	do_actions
	str	r0, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #8]
	mov	r1, r2
	mov	r0, r3
	bl	do_actions
	str	r0, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L21
	ldr	r0, .L25
	bl	printf
	b	.L24
.L21:
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	ldr	r0, .L25+4
	bl	printf
	b	.L24
.L23:
	ldr	r0, .L25+8
	bl	printf
.L24:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	compare, .-compare
	.section	.rodata
	.align	2
.LC3:
	.ascii	"give \320\264\320\264:\320\274\320\274:\320\263\320"
	.ascii	"\263\000"
	.align	2
.LC4:
	.ascii	"%d%c%d%c%d\000"
	.align	2
.LC5:
	.ascii	"Your input was incorrect. Please, try again.\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_date
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_date, %function
get_date:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-21]
	b	.L28
.L29:
	ldr	r0, .L32+4
	bl	printf
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #20
	add	r0, r3, #4
	sub	r2, fp, #23
	sub	r1, fp, #20
	sub	r3, fp, #20
	add	r3, r3, #8
	str	r3, [sp, #4]
	sub	r3, fp, #22
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldrb	ip, [fp, #-23]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, ip
	bl	check
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L32+12
	bl	puts
.L28:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	get_date, .-get_date
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r0, r3
	bl	get_date
	sub	r3, fp, #20
	mov	r0, r3
	bl	get_date
	mov	r2, sp
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-20]
	sub	r2, fp, #32
	ldm	r2, {r0, r1, r2}
	bl	compare
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
