	.file	"619196.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"This program runs on de_DE.UTF-8 locale."
.LC1:
	.string	"de_DE.UTF-8"
	.align 8
.LC2:
	.string	"Err: Cannot run on the de_DE.UTF-8 locale"
.LC3:
	.string	"cannot open temp file: %m\n"
.LC4:
	.string	"w"
.LC5:
	.string	"Can't open %s.\n"
.LC6:
	.string	"r"
.LC7:
	.string	"--"
	.align 8
.LC8:
	.string	"Read a byte sequence which is invalid as a wide character string."
.LC9:
	.string	" bytes: 0xe3, 0x81, '\\0'"
.LC10:
	.string	"Return Value: NULL"
.LC11:
	.string	"errno = EILSEQ"
.LC12:
	.string	"errno = %d\n"
.LC13:
	.string	"Return Value: %p\n"
.LC14:
	.string	" wcs[%zd] = %04x"
	.align 8
.LC15:
	.string	" bytes: '0', '\\n', 'A', 'B', 0xe3, 0x81, 'c', '\\0'"
.LC16:
	.string	" wcs[%zd] = 0x%04x"
.LC17:
	.string	"read string not correct"
.LC18:
	.string	"newline missing"
	.align 8
.LC19:
	.string	"read string not NUL-terminated"
.LC20:
	.string	"\nsecond line"
	.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, 288
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -264[rbp], 0
	mov	WORD PTR -91[rbp], -32285
	mov	BYTE PTR -89[rbp], 0
	movabs	rax, 19564586462153264
	mov	QWORD PTR -88[rbp], rax
	movabs	rax, 8391178277819872303
	movabs	rdx, 3347150289867597357
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rcx, 6365935209047946607
	mov	QWORD PTR -64[rbp], rcx
	mov	WORD PTR -56[rbp], 22616
	mov	BYTE PTR -54[rbp], 0
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	WORD PTR -24[rbp], 22616
	mov	BYTE PTR -22[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 6
	call	setlocale@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	mkstemp@PLT
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], -1
	jne	.L3
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -260[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -91[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	mkstemp@PLT
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], -1
	jne	.L5
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -260[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -88[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -80[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	fgetws@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L8
	lea	rdi, .LC10[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 84
	jne	.L9
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L10
.L9:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -264[rbp], 1
	jmp	.L10
.L8:
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -256[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -256[rbp]
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	edx, eax
	mov	rax, QWORD PTR -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -256[rbp], 1
.L11:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	wcslen@PLT
	add	rax, 1
	cmp	QWORD PTR -256[rbp], rax
	jb	.L12
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -264[rbp], 1
.L10:
	lea	rax, -48[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	fgetws@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L14
	lea	rdi, .LC10[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 84
	jne	.L15
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L16
.L15:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	DWORD PTR -264[rbp], 1
	jmp	.L17
.L14:
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -248[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	edx, eax
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -248[rbp], 1
.L18:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	wcslen@PLT
	add	rax, 1
	cmp	QWORD PTR -248[rbp], rax
	jb	.L19
	mov	edi, 10
	call	putchar@PLT
	mov	QWORD PTR -248[rbp], 0
	jmp	.L20
.L23:
	lea	rdx, -88[rbp]
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -224[rbp+rax*4]
	cmp	edx, eax
	je	.L21
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	DWORD PTR -264[rbp], 1
	jmp	.L22
.L21:
	add	QWORD PTR -248[rbp], 1
.L20:
	lea	rdx, -88[rbp]
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L23
.L22:
	lea	rdx, -88[rbp]
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L17
	mov	rax, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -224[rbp+rax*4]
	cmp	eax, 10
	je	.L24
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	DWORD PTR -264[rbp], 1
	jmp	.L17
.L24:
	mov	rax, QWORD PTR -248[rbp]
	add	rax, 1
	mov	eax, DWORD PTR -224[rbp+rax*4]
	test	eax, eax
	je	.L17
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	DWORD PTR -264[rbp], 1
.L17:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	fgetws@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L25
	lea	rdi, .LC10[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 84
	jne	.L26
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L27
.L26:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -264[rbp], 1
	jmp	.L27
.L25:
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -256[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -256[rbp]
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	edx, eax
	mov	rax, QWORD PTR -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -256[rbp], 1
.L28:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	wcslen@PLT
	add	rax, 1
	cmp	QWORD PTR -256[rbp], rax
	jb	.L29
	mov	edi, 10
	call	putchar@PLT
.L27:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	unlink@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	unlink@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"619196.c"
	.text
	.section	.rodata
	.align	2
.LC3:
	.ascii	"This program runs on de_DE.UTF-8 locale.\000"
	.align	2
.LC4:
	.ascii	"de_DE.UTF-8\000"
	.align	2
.LC5:
	.ascii	"Err: Cannot run on the de_DE.UTF-8 locale\000"
	.align	2
.LC6:
	.ascii	"cannot open temp file: %m\012\000"
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"Can't open %s.\012\000"
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.ascii	"--\000"
	.align	2
.LC11:
	.ascii	"Read a byte sequence which is invalid as a wide cha"
	.ascii	"racter string.\000"
	.align	2
.LC12:
	.ascii	" bytes: 0xe3, 0x81, '\\0'\000"
	.align	2
.LC13:
	.ascii	"Return Value: NULL\000"
	.align	2
.LC14:
	.ascii	"errno = EILSEQ\000"
	.align	2
.LC15:
	.ascii	"errno = %d\012\000"
	.align	2
.LC16:
	.ascii	"Return Value: %p\012\000"
	.align	2
.LC17:
	.ascii	" wcs[%zd] = %04x\000"
	.align	2
.LC18:
	.ascii	" bytes: '0', '\\n', 'A', 'B', 0xe3, 0x81, 'c', '\\0"
	.ascii	"'\000"
	.align	2
.LC19:
	.ascii	" wcs[%zd] = 0x%04x\000"
	.align	2
.LC20:
	.ascii	"read string not correct\000"
	.align	2
.LC21:
	.ascii	"newline missing\000"
	.align	2
.LC22:
	.ascii	"read string not NUL-terminated\000"
	.align	2
.LC23:
	.ascii	"\012second line\000"
	.align	2
.LC0:
	.ascii	"\343\201\000"
	.align	2
.LC1:
	.ascii	"0\012AB\343\201E\000"
	.align	2
.LC2:
	.ascii	"/tmp/tst-fgetws.out.XXXXXX\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-224]
	ldr	r2, .L32+4
	sub	r3, fp, #76
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L32+8
	sub	r3, fp, #72
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, .L32+12
	sub	ip, fp, #64
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	ldr	r3, .L32+12
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	ldr	r0, .L32+16
	bl	puts
	ldr	r1, .L32+20
	mov	r0, #6
	bl	setlocale
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L32+24
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L32+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #64
	mov	r0, r3
	bl	mkstemp
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L32+32
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r1, .L32+36
	ldr	r0, [fp, #-216]
	bl	fdopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-236]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+40
	bl	printf
	mov	r0, #1
	bl	exit
.L4:
	sub	r0, fp, #76
	ldr	r3, [fp, #-212]
	mov	r2, #3
	mov	r1, #1
	bl	fwrite
	ldr	r0, [fp, #-212]
	bl	fclose
	sub	r3, fp, #36
	mov	r0, r3
	bl	mkstemp
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L32+32
	bl	printf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r1, .L32+36
	ldr	r0, [fp, #-216]
	bl	fdopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L32+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-236]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L32+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	sub	r0, fp, #72
	ldr	r3, [fp, #-212]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	ldr	r0, [fp, #-212]
	bl	fclose
	sub	r3, fp, #64
	ldr	r1, .L32+44
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L32+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-236]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L32+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r0, .L32+48
	bl	puts
	ldr	r0, .L32+52
	bl	puts
	ldr	r0, .L32+56
	bl	puts
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #204
	ldr	r2, [fp, #-212]
	mov	r1, #32
	mov	r0, r3
	bl	fgetws
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L32+60
	bl	puts
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #84
	bne	.L9
	ldr	r0, .L32+64
	bl	puts
	b	.L10
.L9:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+68
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L10
.L8:
	ldr	r1, [fp, #-208]
	ldr	r0, .L32+72
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L11
.L12:
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-200]
	mov	r2, r3
	ldr	r1, [fp, #-228]
	ldr	r0, .L32+76
	bl	printf
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L11:
	sub	r3, fp, #204
	mov	r0, r3
	bl	wcslen
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-228]
	cmp	r2, r3
	bcc	.L12
	mov	r0, #10
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-224]
.L10:
	sub	r3, fp, #36
	ldr	r1, .L32+44
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L32+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-236]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L32+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r0, .L32+48
	bl	puts
	ldr	r0, .L32+52
	bl	puts
	ldr	r0, .L32+80
	bl	puts
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #204
	ldr	r2, [fp, #-212]
	mov	r1, #32
	mov	r0, r3
	bl	fgetws
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L32+60
	bl	puts
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #84
	bne	.L15
	ldr	r0, .L32+64
	bl	puts
	b	.L16
.L15:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+68
	bl	printf
.L16:
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L17
.L14:
	ldr	r1, [fp, #-208]
	ldr	r0, .L32+72
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L18
.L19:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-200]
	mov	r2, r3
	ldr	r1, [fp, #-220]
	ldr	r0, .L32+84
	bl	printf
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L18:
	sub	r3, fp, #204
	mov	r0, r3
	bl	wcslen
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bcc	.L19
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L20
.L23:
	sub	r2, fp, #72
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-200]
	cmp	r2, r3
	beq	.L21
	ldr	r0, .L32+88
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L22
.L21:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L20:
	sub	r2, fp, #72
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L23
.L22:
	sub	r2, fp, #72
	ldr	r3, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L17
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-200]
	cmp	r3, #10
	beq	.L24
	ldr	r0, .L32+92
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L17
.L24:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-200]
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L32+96
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-224]
.L17:
	ldr	r0, .L32+100
	bl	puts
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #204
	ldr	r2, [fp, #-212]
	mov	r1, #32
	mov	r0, r3
	bl	fgetws
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L32+60
	bl	puts
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #84
	bne	.L26
	ldr	r0, .L32+64
	bl	puts
	b	.L27
.L26:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+68
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L27
.L25:
	ldr	r1, [fp, #-208]
	ldr	r0, .L32+72
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L28
.L29:
	ldr	r3, [fp, #-228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-200]
	mov	r2, r3
	ldr	r1, [fp, #-228]
	ldr	r0, .L32+84
	bl	printf
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L28:
	sub	r3, fp, #204
	mov	r0, r3
	bl	wcslen
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-228]
	cmp	r2, r3
	bcc	.L29
	mov	r0, #10
	bl	putchar
.L27:
	ldr	r0, [fp, #-212]
	bl	fclose
	sub	r3, fp, #64
	mov	r0, r3
	bl	unlink
	sub	r3, fp, #36
	mov	r0, r3
	bl	unlink
	ldr	r3, [fp, #-224]
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC24
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
