	.file	"636911.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%e%3c"
.LC1:
	.string	" 0.25s x"
.LC2:
	.string	"test at line %d failed\n"
.LC4:
	.string	"s x"
.LC5:
	.string	"%as%2c"
.LC6:
	.string	" 1.25s x"
.LC8:
	.string	" x"
.LC9:
	.string	"%las%2c"
.LC10:
	.string	" 2.25s x"
.LC12:
	.string	"%4aS%2c"
.LC13:
	.string	" 3.25S x"
.LC15:
	.string	"%a[0-9.]%2c"
.LC16:
	.string	" 4.25[0-9.] x"
.LC18:
	.string	"%la[0-9.]%2c"
.LC19:
	.string	" 5.25[0-9.] x"
.LC21:
	.string	"TMPDIR"
.LC22:
	.string	"/tmp"
.LC23:
	.string	"%s/tst-scanf15.XXXXXX"
.LC24:
	.string	"w+"
.LC25:
	.string	"r"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -112[rbp], 0
	lea	rdx, -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L2
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 30
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC3[rip]
	jp	.L4
	comiss	xmm0, DWORD PTR .LC3[rip]
	jne	.L4
	lea	rax, -64[rbp]
	mov	edx, 3
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L3
.L4:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 32
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	lea	rdx, -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L5
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 34
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L5:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC7[rip]
	jp	.L7
	comiss	xmm0, DWORD PTR .LC7[rip]
	jne	.L7
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L6
.L7:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 36
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	lea	rdx, -64[rbp]
	lea	rax, -104[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC9[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L8
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 38
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	movsd	xmm0, QWORD PTR -104[rbp]
	ucomisd	xmm0, QWORD PTR .LC11[rip]
	jp	.L10
	comisd	xmm0, QWORD PTR .LC11[rip]
	jne	.L10
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L9
.L10:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 40
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	lea	rdx, -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L11
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 42
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L11:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC14[rip]
	jp	.L13
	comiss	xmm0, DWORD PTR .LC14[rip]
	jne	.L13
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L12
.L13:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 44
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	lea	rdx, -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC15[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L14
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 46
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L14:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC17[rip]
	jp	.L16
	comiss	xmm0, DWORD PTR .LC17[rip]
	jne	.L16
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L15
.L16:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 48
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	lea	rdx, -64[rbp]
	lea	rax, -104[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC18[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L17
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 50
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L17:
	movsd	xmm0, QWORD PTR -104[rbp]
	ucomisd	xmm0, QWORD PTR .LC20[rip]
	jp	.L19
	comisd	xmm0, QWORD PTR .LC20[rip]
	jne	.L19
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L18
.L19:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 52
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	lea	rdi, .LC21[rip]
	call	getenv@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L21
.L20:
	lea	rax, .LC22[rip]
	mov	QWORD PTR -96[rbp], rax
.L21:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 20
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	mov	r14, rax
	mov	r15d, 0
	mov	r12, rax
	mov	r13d, 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L22:
	cmp	rsp, rdx
	je	.L23
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L22
.L23:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L24
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L24:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	mkstemp@PLT
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], -1
	jne	.L25
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 66
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	eax, DWORD PTR -108[rbp]
	lea	rsi, .LC24[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L26
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 70
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	fputs@PLT
	cmp	eax, -1
	jne	.L28
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 74
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L29
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 76
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	lea	rcx, -64[rbp]
	lea	rdx, -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	je	.L30
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 78
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L31
.L30:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC7[rip]
	jp	.L32
	comiss	xmm0, DWORD PTR .LC7[rip]
	jne	.L32
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L31
.L32:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 80
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L33
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 83
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L34
.L33:
	lea	rdx, -64[rbp]
	lea	rax, -116[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 2
	je	.L35
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 87
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L34
.L35:
	movss	xmm0, DWORD PTR -116[rbp]
	ucomiss	xmm0, DWORD PTR .LC7[rip]
	jp	.L36
	comiss	xmm0, DWORD PTR .LC7[rip]
	jne	.L36
	lea	rax, -64[rbp]
	mov	edx, 2
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L34
.L36:
	mov	DWORD PTR -112[rbp], 1
	mov	esi, 89
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L27:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	remove@PLT
	mov	eax, DWORD PTR -112[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1048576000
	.align 4
.LC7:
	.long	1067450368
	.align 8
.LC11:
	.long	0
	.long	1073872896
	.align 4
.LC14:
	.long	1078984704
	.align 4
.LC17:
	.long	1082654720
	.align 8
.LC20:
	.long	0
	.long	1075118080
	.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	"636911.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%e%3c\000"
	.align	2
.LC1:
	.ascii	" 0.25s x\000"
	.align	2
.LC2:
	.ascii	"test at line %d failed\012\000"
	.global	__aeabi_fcmpeq
	.align	2
.LC3:
	.ascii	"s x\000"
	.align	2
.LC4:
	.ascii	"%as%2c\000"
	.align	2
.LC5:
	.ascii	" 1.25s x\000"
	.align	2
.LC6:
	.ascii	" x\000"
	.align	2
.LC7:
	.ascii	"%las%2c\000"
	.align	2
.LC8:
	.ascii	" 2.25s x\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC9:
	.ascii	"%4aS%2c\000"
	.align	2
.LC10:
	.ascii	" 3.25S x\000"
	.align	2
.LC11:
	.ascii	"%a[0-9.]%2c\000"
	.align	2
.LC12:
	.ascii	" 4.25[0-9.] x\000"
	.align	2
.LC13:
	.ascii	"%la[0-9.]%2c\000"
	.align	2
.LC14:
	.ascii	" 5.25[0-9.] x\000"
	.align	2
.LC15:
	.ascii	"TMPDIR\000"
	.align	2
.LC16:
	.ascii	"/tmp\000"
	.align	2
.LC17:
	.ascii	"%s/tst-scanf15.XXXXXX\000"
	.align	2
.LC18:
	.ascii	"w+\000"
	.align	2
.LC19:
	.ascii	"r\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #24
	sub	r2, fp, #64
	ldr	r1, .L36+4
	ldr	r0, .L36+8
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L2
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #30
	ldr	r0, .L36+12
	bl	printf
	b	.L3
.L2:
	ldr	r3, [fp, #-64]	@ float
	mov	r1, #1048576000
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #24
	mov	r2, #3
	ldr	r1, .L36+16
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
.L4:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #32
	ldr	r0, .L36+12
	bl	printf
.L3:
	sub	r3, fp, #24
	sub	r2, fp, #64
	ldr	r1, .L36+20
	ldr	r0, .L36+24
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L5
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #34
	ldr	r0, .L36+12
	bl	printf
	b	.L6
.L5:
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L36+28
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
.L7:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #36
	ldr	r0, .L36+12
	bl	printf
.L6:
	sub	r3, fp, #24
	sub	r2, fp, #36
	ldr	r1, .L36+36
	ldr	r0, .L36+40
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L8
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #38
	ldr	r0, .L36+12
	bl	printf
	b	.L9
.L8:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L36+44
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
.L10:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #40
	ldr	r0, .L36+12
	bl	printf
.L9:
	sub	r3, fp, #24
	sub	r2, fp, #64
	ldr	r1, .L36+48
	ldr	r0, .L36+52
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L11
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #42
	ldr	r0, .L36+12
	bl	printf
	b	.L12
.L11:
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L36+56
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
.L13:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #44
	ldr	r0, .L36+12
	bl	printf
.L12:
	sub	r3, fp, #24
	sub	r2, fp, #64
	ldr	r1, .L36+60
	ldr	r0, .L36+64
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L14
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #46
	ldr	r0, .L36+12
	bl	printf
	b	.L15
.L14:
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L36+68
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
.L16:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #48
	ldr	r0, .L36+12
	bl	printf
.L15:
	sub	r3, fp, #24
	sub	r2, fp, #36
	ldr	r1, .L36+72
	ldr	r0, .L36+76
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L17
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #50
	ldr	r0, .L36+12
	bl	printf
	b	.L18
.L17:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L36+80
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
.L19:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #52
	ldr	r0, .L36+12
	bl	printf
.L18:
	ldr	r0, .L36+84
	bl	getenv
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r3, .L36+88
	str	r3, [fp, #-56]
.L21:
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r3, r0
	add	ip, r3, #20
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r1, .L36+92
	ldr	r0, [fp, #-48]
	bl	sprintf
	ldr	r0, [fp, #-48]
	bl	mkstemp
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	bne	.L22
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #66
	ldr	r0, .L36+12
	bl	printf
.L22:
	ldr	r1, .L36+96
	ldr	r0, [fp, #-44]
	bl	fdopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L23
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #70
	ldr	r0, .L36+12
	bl	printf
	b	.L24
.L23:
	ldr	r1, [fp, #-40]
	ldr	r0, .L36+24
	bl	fputs
	mov	r3, r0
	cmn	r3, #1
	bne	.L25
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #74
	ldr	r0, .L36+12
	bl	printf
.L25:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #76
	ldr	r0, .L36+12
	bl	printf
.L26:
	sub	r3, fp, #24
	sub	r2, fp, #64
	ldr	r1, .L36+20
	ldr	r0, [fp, #-40]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L27
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #78
	ldr	r0, .L36+12
	bl	printf
	b	.L28
.L27:
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L36+28
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
.L29:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #80
	ldr	r0, .L36+12
	bl	printf
.L28:
	ldr	r3, .L36+100
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+104
	ldr	r0, [fp, #-48]
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #83
	ldr	r0, .L36+12
	bl	printf
	b	.L31
.L30:
	sub	r2, fp, #24
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L36+20
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L32
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #87
	ldr	r0, .L36+12
	bl	printf
	b	.L31
.L32:
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L36+28
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #24
	mov	r2, #2
	ldr	r1, .L36+32
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
.L33:
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r1, #89
	ldr	r0, .L36+12
	bl	printf
.L31:
	ldr	r0, [fp, #-40]
	bl	fclose
.L24:
	ldr	r0, [fp, #-48]
	bl	remove
	ldr	r3, [fp, #-60]
	mov	sp, r4
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC20
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1067450368
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	1073872896
	.word	.LC9
	.word	.LC10
	.word	1078984704
	.word	.LC11
	.word	.LC12
	.word	1082654720
	.word	.LC13
	.word	.LC14
	.word	1075118080
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	stdin
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
