	.file	"775288.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Input M,T,U,F,D:"
.LC1:
	.string	"%ld%ld%ld%ld%ld"
.LC2:
	.string	"Input conditions of road:"
.LC3:
	.string	"%s"
.LC4:
	.string	"num=%ld\n"
	.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
	lea	r11, -98304[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1776
	mov	DWORD PTR -100068[rbp], edi
	mov	QWORD PTR -100080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -100016[rbp], 0
	mov	QWORD PTR -100008[rbp], 0
	lea	rax, -100000[rbp]
	mov	edx, 99984
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -100024[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, -100032[rbp]
	lea	rsi, -100040[rbp]
	lea	rcx, -100048[rbp]
	lea	rdx, -100056[rbp]
	lea	rax, -100064[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -100016[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdi, QWORD PTR -100032[rbp]
	mov	rcx, QWORD PTR -100040[rbp]
	mov	rdx, QWORD PTR -100048[rbp]
	mov	rsi, QWORD PTR -100056[rbp]
	mov	rax, QWORD PTR -100064[rbp]
	lea	r8, -100016[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	Fun
	mov	QWORD PTR -100024[rbp], rax
	mov	rax, QWORD PTR -100024[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	Fun
	.type	Fun, @function
Fun:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	QWORD PTR -80[rbp], r9
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	jle	.L5
	cmp	QWORD PTR -40[rbp], 10000000
	jle	.L6
.L5:
	mov	eax, 0
	jmp	.L7
.L6:
	cmp	QWORD PTR -48[rbp], 0
	jle	.L8
	cmp	QWORD PTR -48[rbp], 10000000
	jle	.L9
.L8:
	mov	eax, 0
	jmp	.L7
.L9:
	cmp	QWORD PTR -56[rbp], 0
	jle	.L10
	cmp	QWORD PTR -56[rbp], 100
	jle	.L11
.L10:
	mov	eax, 0
	jmp	.L7
.L11:
	cmp	QWORD PTR -64[rbp], 0
	jle	.L12
	cmp	QWORD PTR -64[rbp], 100
	jle	.L13
.L12:
	mov	eax, 0
	jmp	.L7
.L13:
	cmp	QWORD PTR -72[rbp], 0
	jle	.L14
	cmp	QWORD PTR -72[rbp], 100
	jle	.L15
.L14:
	mov	eax, 0
	jmp	.L7
.L15:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L16
.L25:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jge	.L26
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jg	.L27
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 117
	je	.L20
	cmp	eax, 117
	jg	.L28
	cmp	eax, 100
	je	.L22
	cmp	eax, 102
	je	.L23
	jmp	.L28
.L20:
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	add	QWORD PTR -16[rbp], rax
	add	QWORD PTR -8[rbp], 1
	jmp	.L24
.L22:
	mov	rax, QWORD PTR -72[rbp]
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -16[rbp], rax
	add	QWORD PTR -8[rbp], 1
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -64[rbp]
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	QWORD PTR -16[rbp], rax
	add	QWORD PTR -8[rbp], 1
	jmp	.L24
.L28:
	nop
.L24:
	add	DWORD PTR -20[rbp], 1
.L16:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L25
	jmp	.L18
.L26:
	nop
	jmp	.L18
.L27:
	nop
.L18:
	sub	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Fun, .-Fun
	.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	"775288.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input M,T,U,F,D:\000"
	.align	2
.LC1:
	.ascii	"%ld%ld%ld%ld%ld\000"
	.align	2
.LC2:
	.ascii	"Input conditions of road:\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"num=%ld\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 100040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #99328
	sub	sp, sp, #724
	sub	r3, fp, #98304
	sub	r3, r3, #12
	str	r0, [r3, #-1732]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	str	r1, [r3, #-1736]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-1700]
	sub	r3, r3, #1696
	ldr	r2, .L4+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1704]
	ldr	r0, .L4+8
	bl	printf
	sub	r0, fp, #99328
	sub	r0, r0, #12
	sub	r0, r0, #692
	sub	r2, fp, #99328
	sub	r2, r2, #12
	sub	r2, r2, #696
	sub	r1, fp, #99328
	sub	r1, r1, #12
	sub	r1, r1, #700
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #684
	str	r3, [sp, #4]
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #688
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L4+12
	bl	__isoc99_scanf
	ldr	r0, .L4+16
	bl	printf
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #676
	mov	r1, r3
	ldr	r0, .L4+20
	bl	__isoc99_scanf
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r0, [r3, #-1724]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r1, [r3, #-1720]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	ip, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	lr, [r3, #-1712]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1708]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #676
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	Fun
	str	r0, [r4, #-1704]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r1, [r3, #-1704]
	ldr	r0, .L4+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC5
	.word	99996
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.align	2
	.global	Fun
	.syntax unified
	.arm
	.fpu softvfp
	.type	Fun, %function
Fun:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L7
	ldr	r3, [fp, #-24]
	ldr	r2, .L31
	cmp	r3, r2
	ble	.L8
.L7:
	mov	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-28]
	ldr	r2, .L31
	cmp	r3, r2
	ble	.L11
.L10:
	mov	r3, #0
	b	.L9
.L11:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L12
	ldr	r3, [fp, #-32]
	cmp	r3, #100
	ble	.L13
.L12:
	mov	r3, #0
	b	.L9
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-36]
	cmp	r3, #100
	ble	.L15
.L14:
	mov	r3, #0
	b	.L9
.L15:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	ble	.L16
	ldr	r3, [fp, #4]
	cmp	r3, #100
	ble	.L17
.L16:
	mov	r3, #0
	b	.L9
.L17:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L27:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L28
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L29
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #117
	beq	.L22
	cmp	r3, #117
	bgt	.L30
	cmp	r3, #100
	beq	.L24
	cmp	r3, #102
	beq	.L25
	b	.L30
.L22:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L26
.L24:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L26
.L25:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L26
.L30:
	nop
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L27
	b	.L20
.L28:
	nop
	b	.L20
.L29:
	nop
.L20:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L32:
	.align	2
.L31:
	.word	10000000
	.size	Fun, .-Fun
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
