	.file	"17775.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s filename.bmp output.bmp\n"
.LC1:
	.string	"rb"
.LC2:
	.string	"wb"
.LC3:
	.string	"Failed to open files.\n"
.LC4:
	.string	"Failed to alloc buffer.\n"
.LC5:
	.string	"Header size:    %u\n"
.LC6:
	.string	"Width:          %u\n"
.LC7:
	.string	"Height:         %u\n"
.LC8:
	.string	"Planes:         %u\n"
.LC9:
	.string	"Bits per pixel: %u\n"
.LC10:
	.string	"Compression:    %u\n"
.LC11:
	.string	"Image size:     %u\n"
.LC12:
	.string	"X pixels/meter: %u\n"
.LC13:
	.string	"Y pixels/meter: %u\n"
.LC14:
	.string	"Colors used:    %u\n"
.LC15:
	.string	"Important cols: %u\n"
.LC16:
	.string	"Bmp file is compressed.\n"
.LC17:
	.string	"Bits per pixel must be 24.\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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	cmp	DWORD PTR -84[rbp], 3
	je	.L2
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L4
	cmp	QWORD PTR -48[rbp], 0
	jne	.L5
.L4:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 14
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 12[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 14[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 32[rax]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 36[rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 14[rax]
	cmp	ax, 24
	je	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L3
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	imul	eax, edx
	mov	eax, eax
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -64[rbp], 0
	jmp	.L9
.L10:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	add	ecx, eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 2[rax]
	movzx	eax, al
	add	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	BYTE PTR -65[rbp], al
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], -1
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -65[rbp]
	mov	BYTE PTR 1[rdx], al
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -65[rbp]
	mov	BYTE PTR 2[rdx], al
	add	QWORD PTR -64[rbp], 1
.L9:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jb	.L10
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L3:
	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	"17775.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s filename.bmp output.bmp\012\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"wb\000"
	.align	2
.LC3:
	.ascii	"Failed to open files.\012\000"
	.align	2
.LC4:
	.ascii	"Failed to alloc buffer.\012\000"
	.align	2
.LC5:
	.ascii	"Header size:    %u\012\000"
	.align	2
.LC6:
	.ascii	"Width:          %u\012\000"
	.align	2
.LC7:
	.ascii	"Height:         %u\012\000"
	.align	2
.LC8:
	.ascii	"Planes:         %u\012\000"
	.align	2
.LC9:
	.ascii	"Bits per pixel: %u\012\000"
	.align	2
.LC10:
	.ascii	"Compression:    %u\012\000"
	.align	2
.LC11:
	.ascii	"Image size:     %u\012\000"
	.align	2
.LC12:
	.ascii	"X pixels/meter: %u\012\000"
	.align	2
.LC13:
	.ascii	"Y pixels/meter: %u\012\000"
	.align	2
.LC14:
	.ascii	"Colors used:    %u\012\000"
	.align	2
.LC15:
	.ascii	"Important cols: %u\012\000"
	.align	2
.LC16:
	.ascii	"Bmp file is compressed.\012\000"
	.align	2
.LC17:
	.ascii	"Bits per pixel must be 24.\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L11
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L11+4
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L11+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L11+16
	bl	fwrite
	mvn	r3, #1
	b	.L3
.L5:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	fseek
	ldr	r0, [fp, #-32]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	fseek
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L11+20
	bl	fwrite
	mvn	r3, #1
	b	.L3
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #14
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	fread
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #2]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldrb	r1, [r3, #5]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #6]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+28
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldrb	r1, [r3, #9]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #10]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+32
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #12]	@ zero_extendqisi2
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L11+36
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #14]	@ zero_extendqisi2
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L11+40
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #16]	@ zero_extendqisi2
	ldrb	r1, [r3, #17]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #18]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+44
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+48
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #24]	@ zero_extendqisi2
	ldrb	r1, [r3, #25]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #26]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #27]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+52
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #28]	@ zero_extendqisi2
	ldrb	r1, [r3, #29]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #30]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #31]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+56
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #32]	@ zero_extendqisi2
	ldrb	r1, [r3, #33]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #34]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #35]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+60
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #36]	@ zero_extendqisi2
	ldrb	r1, [r3, #37]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #38]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #39]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L11+64
	bl	printf
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #16]	@ zero_extendqisi2
	ldrb	r1, [r3, #17]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #18]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L11+68
	bl	fwrite
	mvn	r3, #1
	b	.L3
.L7:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #14]	@ zero_extendqisi2
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #24
	beq	.L8
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L11+72
	bl	fwrite
	mvn	r3, #1
	b	.L3
.L8:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #2]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	add	r3, r3, #14
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldrb	r1, [r3, #5]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #6]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r0, r3
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldrb	r1, [r3, #9]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #10]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mul	r3, r0, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L9
.L10:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	add	r3, r1, r3
	ldr	r2, .L11+76
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	strb	r3, [fp, #-37]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [fp, #-37]
	strb	r2, [r3, #1]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [fp, #-37]
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L9:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L10
	ldr	r3, [fp, #-28]
	mov	r2, #1
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	free
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.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	1431655766
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
