	.file	"1217283.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"USAGE: dat2bmp [text file]\n"
.LC1:
	.string	"input file=%s\n"
.LC2:
	.string	"CAN'T MALLOC *bmp\n"
.LC3:
	.string	"%s"
.LC4:
	.string	"r"
.LC5:
	.string	"CAN'T OPEN %s\n"
.LC6:
	.string	"X= %d Y= %d %x\n"
.LC7:
	.string	"%s.bmp"
.LC8:
	.string	"wb"
	.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, 576
	mov	DWORD PTR -564[rbp], edi
	mov	QWORD PTR -576[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -564[rbp], 0
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
.L2:
	mov	rax, QWORD PTR -576[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 184320
	call	malloc@PLT
	mov	QWORD PTR -544[rbp], rax
	cmp	QWORD PTR -544[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
.L3:
	mov	rax, QWORD PTR -576[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -528[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -528[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -528[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L6:
	lea	rsi, -548[rbp]
	lea	rcx, -552[rbp]
	lea	rdx, -556[rbp]
	lea	rax, -272[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -548[rbp]
	sar	eax, 16
	mov	ecx, eax
	mov	eax, DWORD PTR -552[rbp]
	mov	edx, 239
	sub	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 8
	mov	esi, eax
	mov	edx, DWORD PTR -556[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, esi
	movsx	rdx, eax
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -548[rbp]
	sar	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR -552[rbp]
	mov	edx, 239
	sub	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 8
	mov	esi, eax
	mov	edx, DWORD PTR -556[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, esi
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	ecx, DWORD PTR -548[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	edx, 239
	sub	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 8
	mov	esi, eax
	mov	edx, DWORD PTR -556[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, esi
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -544[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L5:
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR -536[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -576[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -528[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -528[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -528[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L7:
	mov	rax, QWORD PTR -536[rbp]
	mov	ecx, 24
	mov	edx, 240
	mov	esi, 256
	mov	rdi, rax
	call	putBmpHeader
	mov	rdx, QWORD PTR -536[rbp]
	mov	rax, QWORD PTR -544[rbp]
	mov	rcx, rdx
	mov	edx, 184320
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -536[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"BM"
	.text
	.globl	putBmpHeader
	.type	putBmpHeader, @function
putBmpHeader:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	cmp	DWORD PTR -28[rbp], 0
	jle	.L11
	cmp	DWORD PTR -32[rbp], 0
	jg	.L12
.L11:
	mov	eax, 0
	jmp	.L13
.L12:
	cmp	QWORD PTR -24[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L15
.L14:
	mov	eax, 0
	jmp	.L13
.L15:
	cmp	DWORD PTR -36[rbp], 24
	jne	.L16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L17
.L16:
	mov	DWORD PTR -12[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L18
.L19:
	sal	DWORD PTR -12[rbp]
	add	DWORD PTR -16[rbp], 1
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L19
.L17:
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 2
	add	eax, 54
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	imul	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc2LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc2LowHigh
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 40
	call	fputc4LowHigh
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputc4LowHigh
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	fputc2LowHigh
	mov	eax, DWORD PTR -36[rbp]
	movzx	eax, ax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc2LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc4LowHigh
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L20
	mov	eax, 0
	jmp	.L13
.L20:
	mov	eax, 1
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	putBmpHeader, .-putBmpHeader
	.globl	fputc2LowHigh
	.type	fputc2LowHigh, @function
fputc2LowHigh:
.LFB8:
	.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	eax, edi
	mov	QWORD PTR -16[rbp], rsi
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	movzx	eax, WORD PTR -4[rbp]
	shr	ax, 8
	movzx	eax, ax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fputc2LowHigh, .-fputc2LowHigh
	.globl	fputc4LowHigh
	.type	fputc4LowHigh, @function
fputc4LowHigh:
.LFB9:
	.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	rax, QWORD PTR -8[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 16
	movzx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 24
	movzx	eax, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fputc4LowHigh, .-fputc4LowHigh
	.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	"1217283.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE: dat2bmp [text file]\012\000"
	.align	2
.LC1:
	.ascii	"input file=%s\012\000"
	.align	2
.LC2:
	.ascii	"CAN'T MALLOC *bmp\012\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"CAN'T OPEN %s\012\000"
	.align	2
.LC6:
	.ascii	"X= %d Y= %d %x\012\000"
	.align	2
.LC7:
	.ascii	"%s.bmp\000"
	.align	2
.LC8:
	.ascii	"wb\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 = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #552
	str	r0, [fp, #-544]
	str	r1, [fp, #-548]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	bgt	.L2
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L10+8
	bl	fwrite
.L2:
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	mov	r0, #184320
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L10+16
	bl	fwrite
.L3:
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #520
	ldr	r1, .L10+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #520
	ldr	r1, .L10+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L10+4
	ldr	r3, [r3]
	sub	r2, fp, #520
	ldr	r1, .L10+28
	mov	r0, r3
	bl	fprintf
	b	.L5
.L6:
	sub	r1, fp, #536
	sub	r2, fp, #540
	sub	r0, fp, #264
	sub	r3, fp, #532
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L10+32
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-532]
	asr	r1, r3, #16
	ldr	r3, [fp, #-536]
	rsb	r2, r3, #239
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	mov	r0, r3
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	mov	r2, r3
	ldr	r3, [fp, #-528]
	add	r3, r3, r2
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-532]
	asr	r1, r3, #8
	ldr	r3, [fp, #-536]
	rsb	r2, r3, #239
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	mov	r0, r3
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-528]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r1, [fp, #-532]
	ldr	r3, [fp, #-536]
	rsb	r2, r3, #239
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #8
	mov	r0, r3
	ldr	r2, [fp, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-528]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
.L5:
	sub	r3, fp, #264
	ldr	r2, [fp, #-524]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r0, [fp, #-524]
	bl	fclose
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #520
	ldr	r1, .L10+36
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #520
	ldr	r1, .L10+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L10+4
	ldr	r3, [r3]
	sub	r2, fp, #520
	ldr	r1, .L10+28
	mov	r0, r3
	bl	fprintf
.L7:
	mov	r3, #24
	mov	r2, #240
	mov	r1, #256
	ldr	r0, [fp, #-524]
	bl	putBmpHeader
	ldr	r3, [fp, #-524]
	mov	r2, #184320
	mov	r1, #1
	ldr	r0, [fp, #-528]
	bl	fwrite
	ldr	r0, [fp, #-524]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC9
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"BM\000"
	.text
	.align	2
	.global	putBmpHeader
	.syntax unified
	.arm
	.fpu softvfp
	.type	putBmpHeader, %function
putBmpHeader:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L13
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bgt	.L14
.L13:
	mov	r3, #0
	b	.L15
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L16
	ldr	r0, [fp, #-24]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
.L16:
	mov	r3, #0
	b	.L15
.L17:
	ldr	r3, [fp, #-36]
	cmp	r3, #24
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L19
.L18:
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L20
.L21:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	ble	.L21
.L19:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r3, #54
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L23
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc2LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc2LowHigh
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #40
	bl	fputc4LowHigh
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	fputc4LowHigh
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #1
	bl	fputc2LowHigh
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	fputc2LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r1, [fp, #-24]
	mov	r0, #0
	bl	fputc4LowHigh
	ldr	r0, [fp, #-24]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #0
	b	.L15
.L22:
	mov	r3, #1
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC10
	.size	putBmpHeader, .-putBmpHeader
	.align	2
	.global	fputc2LowHigh
	.syntax unified
	.arm
	.fpu softvfp
	.type	fputc2LowHigh, %function
fputc2LowHigh:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	str	r1, [fp, #-12]
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]
	and	r3, r3, #255
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fputc2LowHigh, .-fputc2LowHigh
	.align	2
	.global	fputc4LowHigh
	.syntax unified
	.arm
	.fpu softvfp
	.type	fputc4LowHigh, %function
fputc4LowHigh:
	@ 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, #-8]
	and	r3, r3, #255
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #16
	and	r3, r3, #255
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #24
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	putc
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fputc4LowHigh, .-fputc4LowHigh
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
