	.file	"861647.c"
	.intel_syntax noprefix
	.text
	.globl	getc
	.type	getc, @function
getc:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	js	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	_filbuf@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getc, .-getc
	.globl	putc
	.type	putc, @function
putc:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	js	.L6
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rcx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L8
.L6:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	_flsbuf@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	putc, .-putc
	.globl	getchar
	.type	getchar, @function
getchar:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR _iob[rip+8]
	sub	eax, 1
	mov	DWORD PTR _iob[rip+8], eax
	mov	eax, DWORD PTR _iob[rip+8]
	test	eax, eax
	js	.L10
	mov	rax, QWORD PTR _iob[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR _iob[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L12
.L10:
	lea	rdi, _iob[rip]
	call	_filbuf@PLT
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	getchar, .-getchar
	.globl	putchar
	.type	putchar, @function
putchar:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR _iob[rip+56]
	sub	eax, 1
	mov	DWORD PTR _iob[rip+56], eax
	mov	eax, DWORD PTR _iob[rip+56]
	test	eax, eax
	js	.L14
	mov	rax, QWORD PTR _iob[rip+48]
	lea	rdx, 1[rax]
	mov	QWORD PTR _iob[rip+48], rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L16
.L14:
	mov	eax, DWORD PTR -4[rbp]
	lea	rsi, _iob[rip+48]
	mov	edi, eax
	call	_flsbuf@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	putchar, .-putchar
	.globl	fopen64
	.type	fopen64, @function
fopen64:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	fopen64, .-fopen64
	.globl	ftello64
	.type	ftello64, @function
ftello64:
.LFB5:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
	test	eax, eax
	je	.L20
	mov	rax, -1
	jmp	.L22
.L20:
	mov	rax, QWORD PTR -16[rbp]
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	ftello64, .-ftello64
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"duc_i.dat"
.LC2:
	.string	"duc_q.dat"
.LC3:
	.string	"%i %d %d\n"
	.align 8
.LC4:
	.string	"diff --brief -w duc_i.dat golden/duc_i.dat"
	.align 8
.LC5:
	.string	"diff --brief -w duc_q.dat golden/duc_q.dat"
	.align 8
.LC6:
	.string	"\n *** DUC hardware test FAILED ! *** \n"
	.align 8
.LC7:
	.string	"\n *** DUC hardware test PASSED ! *** \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -320[rbp], 33
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	DWORD PTR -336[rbp], 0
	mov	DWORD PTR -316[rbp], 0
	mov	DWORD PTR -328[rbp], 0
	jmp	.L25
.L28:
	cmp	DWORD PTR -328[rbp], 47
	jg	.L26
	lea	rcx, -276[rbp]
	lea	rdx, -280[rbp]
	mov	eax, DWORD PTR -336[rbp]
	mov	esi, 6628
	mov	edi, eax
	call	duc@PLT
	jmp	.L27
.L26:
	lea	rcx, -276[rbp]
	lea	rdx, -280[rbp]
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, 6628
	mov	edi, eax
	call	duc@PLT
.L27:
	add	DWORD PTR -328[rbp], 1
.L25:
	cmp	DWORD PTR -328[rbp], 95
	jle	.L28
	mov	DWORD PTR -332[rbp], 0
	jmp	.L29
.L40:
	cmp	DWORD PTR -332[rbp], 0
	jne	.L30
	mov	DWORD PTR -336[rbp], 131072
	jmp	.L31
.L30:
	mov	DWORD PTR -336[rbp], 0
.L31:
	mov	eax, DWORD PTR -336[rbp]
	neg	eax
	mov	DWORD PTR -316[rbp], eax
	mov	DWORD PTR -324[rbp], -1
	mov	DWORD PTR -328[rbp], 0
	jmp	.L32
.L37:
	cmp	DWORD PTR -328[rbp], 47
	jle	.L33
	mov	ecx, DWORD PTR -328[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	esi, ecx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 1
	jg	.L33
	add	DWORD PTR -324[rbp], 1
.L33:
	cmp	DWORD PTR -328[rbp], 47
	jg	.L34
	lea	rcx, -276[rbp]
	lea	rdx, -280[rbp]
	mov	eax, DWORD PTR -336[rbp]
	mov	esi, 6628
	mov	edi, eax
	call	duc@PLT
	jmp	.L35
.L34:
	lea	rcx, -276[rbp]
	lea	rdx, -280[rbp]
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, 6628
	mov	edi, eax
	call	duc@PLT
.L35:
	cmp	DWORD PTR -328[rbp], 47
	jle	.L36
	mov	ecx, DWORD PTR -328[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	esi, ecx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 1
	jg	.L36
	mov	edx, DWORD PTR -280[rbp]
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	mov	edx, DWORD PTR -276[rbp]
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
.L36:
	add	DWORD PTR -328[rbp], 1
.L32:
	cmp	DWORD PTR -328[rbp], 95
	jle	.L37
	mov	DWORD PTR -328[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	mov	DWORD PTR -304[rbp], eax
	mov	eax, DWORD PTR -336[rbp]
	sar	eax, 17
	mov	ecx, eax
	mov	esi, DWORD PTR -304[rbp]
	mov	edx, DWORD PTR -332[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	r8d, esi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	sar	eax, 17
	mov	ecx, eax
	mov	esi, DWORD PTR -300[rbp]
	mov	edx, DWORD PTR -332[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	r8d, esi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -328[rbp], 1
.L38:
	cmp	DWORD PTR -328[rbp], 15
	jle	.L39
	add	DWORD PTR -332[rbp], 1
.L29:
	mov	eax, DWORD PTR -332[rbp]
	cmp	eax, DWORD PTR -320[rbp]
	jle	.L40
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC4[rip]
	call	system@PLT
	mov	DWORD PTR -312[rbp], eax
	lea	rdi, .LC5[rip]
	call	system@PLT
	mov	DWORD PTR -308[rbp], eax
	mov	eax, DWORD PTR -312[rbp]
	or	eax, DWORD PTR -308[rbp]
	test	eax, eax
	je	.L41
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L42
.L41:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L42:
	mov	eax, 1
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"861647.c"
	.text
	.align	2
	.global	getc
	.syntax unified
	.arm
	.fpu softvfp
	.type	getc, %function
getc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-8]
	str	r1, [r2]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L4
.L2:
	ldr	r0, [fp, #-8]
	bl	_filbuf
	mov	r3, r0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getc, .-getc
	.align	2
	.global	putc
	.syntax unified
	.arm
	.fpu softvfp
	.type	putc, %function
putc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L6
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-12]
	str	r1, [r2]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L8
.L6:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	_flsbuf
	mov	r3, r0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	putc, .-putc
	.align	2
	.global	getchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	getchar, %function
getchar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L13
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, .L13
	str	r3, [r2, #4]
	ldr	r3, .L13
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L10
	ldr	r3, .L13
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L13
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L12
.L10:
	ldr	r0, .L13
	bl	_filbuf
	mov	r3, r0
.L12:
	mov	r0, r3
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	_iob
	.size	getchar, .-getchar
	.align	2
	.global	putchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	putchar, %function
putchar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L19
	ldr	r3, [r3, #36]
	sub	r3, r3, #1
	ldr	r2, .L19
	str	r3, [r2, #36]
	ldr	r3, .L19
	ldr	r3, [r3, #36]
	cmp	r3, #0
	blt	.L16
	ldr	r3, .L19
	ldr	r3, [r3, #32]
	add	r2, r3, #1
	ldr	r1, .L19
	str	r2, [r1, #32]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L18
.L16:
	ldr	r1, .L19+4
	ldr	r0, [fp, #-8]
	bl	_flsbuf
	mov	r3, r0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	_iob
	.word	_iob+32
	.size	putchar, .-putchar
	.align	2
	.global	fopen64
	.syntax unified
	.arm
	.fpu softvfp
	.type	fopen64, %function
fopen64:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fopen64, .-fopen64
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ftello64
	.syntax unified
	.arm
	.fpu softvfp
	.type	ftello64, %function
ftello64:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	fgetpos
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mvn	r2, #0
	mvn	r3, #0
	b	.L26
.L24:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L26:
	ldr	r1, .L28
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.size	ftello64, .-ftello64
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"duc_i.dat\000"
	.align	2
.LC3:
	.ascii	"duc_q.dat\000"
	.align	2
.LC4:
	.ascii	"%i %d %d\012\000"
	.align	2
.LC5:
	.ascii	"diff --brief -w duc_i.dat golden/duc_i.dat\000"
	.align	2
.LC6:
	.ascii	"diff --brief -w duc_q.dat golden/duc_q.dat\000"
	.align	2
.LC7:
	.ascii	"\012 *** DUC hardware test FAILED ! *** \012\000"
	.align	2
.LC8:
	.ascii	"\012 *** DUC hardware test PASSED ! *** \012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #33
	str	r3, [fp, #-304]
	ldr	r1, .L51+4
	ldr	r0, .L51+8
	bl	fopen
	str	r0, [fp, #-300]
	ldr	r1, .L51+4
	ldr	r0, .L51+12
	bl	fopen
	str	r0, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-320]
	mov	r3, #0
	str	r3, [fp, #-292]
	mov	r3, #0
	str	r3, [fp, #-312]
	b	.L31
.L34:
	ldr	r3, [fp, #-312]
	cmp	r3, #47
	bgt	.L32
	sub	r3, fp, #268
	sub	r2, fp, #272
	ldr	r1, .L51+16
	ldr	r0, [fp, #-320]
	bl	duc
	b	.L33
.L32:
	sub	r3, fp, #268
	sub	r2, fp, #272
	ldr	r1, .L51+16
	ldr	r0, [fp, #-292]
	bl	duc
.L33:
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L31:
	ldr	r3, [fp, #-312]
	cmp	r3, #95
	ble	.L34
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L35
.L46:
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	bne	.L36
	mov	r3, #131072
	str	r3, [fp, #-320]
	b	.L37
.L36:
	mov	r3, #0
	str	r3, [fp, #-320]
.L37:
	ldr	r3, [fp, #-320]
	rsb	r3, r3, #0
	str	r3, [fp, #-292]
	mvn	r3, #0
	str	r3, [fp, #-308]
	mov	r3, #0
	str	r3, [fp, #-312]
	b	.L38
.L43:
	ldr	r3, [fp, #-312]
	cmp	r3, #47
	ble	.L39
	ldr	r1, [fp, #-312]
	ldr	r3, .L51+20
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #1
	bgt	.L39
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L39:
	ldr	r3, [fp, #-312]
	cmp	r3, #47
	bgt	.L40
	sub	r3, fp, #268
	sub	r2, fp, #272
	ldr	r1, .L51+16
	ldr	r0, [fp, #-320]
	bl	duc
	b	.L41
.L40:
	sub	r3, fp, #268
	sub	r2, fp, #272
	ldr	r1, .L51+16
	ldr	r0, [fp, #-292]
	bl	duc
.L41:
	ldr	r3, [fp, #-312]
	cmp	r3, #47
	ble	.L42
	ldr	r1, [fp, #-312]
	ldr	r3, .L51+20
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #1
	bgt	.L42
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-308]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-308]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-132]
.L42:
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L38:
	ldr	r3, [fp, #-312]
	cmp	r3, #95
	ble	.L43
	mov	r3, #0
	str	r3, [fp, #-312]
	b	.L44
.L45:
	ldr	r3, [fp, #-312]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-260]
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-320]
	asr	r2, r3, #17
	ldr	r3, [fp, #-280]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-316]
	ldr	r1, .L51+24
	ldr	r0, [fp, #-300]
	bl	fprintf
	ldr	r3, [fp, #-312]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-292]
	asr	r2, r3, #17
	ldr	r3, [fp, #-276]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-316]
	ldr	r1, .L51+24
	ldr	r0, [fp, #-296]
	bl	fprintf
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L44:
	ldr	r3, [fp, #-312]
	cmp	r3, #15
	ble	.L45
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L35:
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-304]
	cmp	r2, r3
	ble	.L46
	ldr	r0, [fp, #-300]
	bl	fclose
	ldr	r0, [fp, #-296]
	bl	fclose
	ldr	r0, .L51+28
	bl	system
	str	r0, [fp, #-288]
	ldr	r0, .L51+32
	bl	system
	str	r0, [fp, #-284]
	ldr	r2, [fp, #-288]
	ldr	r3, [fp, #-284]
	orr	r3, r2, r3
	cmp	r3, #0
	beq	.L47
	ldr	r0, .L51+36
	bl	puts
	b	.L48
.L47:
	ldr	r0, .L51+40
	bl	puts
.L48:
	mov	r3, #1
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC9
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	6628
	.word	715827883
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
