	.file	"708751.c"
	.intel_syntax noprefix
	.text
	.type	store_le32, @function
store_le32:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	store_le32, .-store_le32
	.type	store_be32, @function
store_be32:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 8
	and	eax, 16711680
	or	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 8
	and	eax, 65280
	or	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 24
	or	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	store_be32, .-store_be32
	.type	load_be32, @function
load_be32:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	and	eax, 65280
	or	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	and	eax, 16711680
	or	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 24
	or	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	load_be32, .-load_be32
	.type	store_le16, @function
store_le16:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -12[rbp], ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR -12[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	store_le16, .-store_le16
	.type	store_le24, @function
store_le24:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 16
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	store_le24, .-store_le24
	.type	msleep, @function
msleep:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	msleep, .-msleep
	.type	get_boottime, @function
get_boottime:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	clock_gettime@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_boottime, .-get_boottime
	.type	get_past_msec, @function
get_past_msec:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -36[rbp], eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jge	.L10
	mov	eax, DWORD PTR -36[rbp]
	imul	esi, eax, 1000
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1000000000[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, rdx
	sub	rcx, rax
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	eax, esi
	sub	eax, 1000
	mov	DWORD PTR -36[rbp], eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -36[rbp]
	imul	esi, eax, 1000
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, rdx
	sub	rcx, rax
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	eax, esi
	mov	DWORD PTR -36[rbp], eax
.L11:
	mov	eax, DWORD PTR -36[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_past_msec, .-get_past_msec
	.type	bitblt_nor, @function
bitblt_nor:
.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, 112
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -92[rbp], ecx
	mov	QWORD PTR -104[rbp], r8
	mov	QWORD PTR -112[rbp], r9
	cmp	QWORD PTR -72[rbp], 0
	je	.L15
	cmp	QWORD PTR -80[rbp], 0
	je	.L15
	cmp	QWORD PTR -88[rbp], 0
	je	.L15
	cmp	QWORD PTR -104[rbp], 0
	je	.L15
	cmp	QWORD PTR -112[rbp], 0
	jne	.L16
.L15:
	mov	eax, 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 31
	shr	rax, 5
	sal	rax, 2
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, rdx
	add	rax, rax
	lea	rcx, [rax+rdx]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 3
	not	rax
	and	eax, 3
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, QWORD PTR -80[rbp]
	cmp	QWORD PTR -112[rbp], rax
	jnb	.L18
	mov	eax, 0
	jmp	.L17
.L18:
	mov	QWORD PTR -56[rbp], 0
	jmp	.L19
.L26:
	mov	QWORD PTR -48[rbp], 0
	jmp	.L20
.L25:
	mov	rax, QWORD PTR -56[rbp]
	imul	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	shr	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	load_be32
	mov	DWORD PTR -60[rbp], eax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L21
.L24:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	eax, 31
	sub	eax, edx
	mov	edx, DWORD PTR -60[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, QWORD PTR -56[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	store_le24
	jmp	.L23
.L27:
	nop
.L23:
	add	QWORD PTR -40[rbp], 1
.L21:
	cmp	QWORD PTR -40[rbp], 31
	jbe	.L24
	add	QWORD PTR -48[rbp], 32
.L20:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jb	.L25
	add	QWORD PTR -56[rbp], 1
.L19:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jb	.L26
	mov	eax, 1
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	bitblt_nor, .-bitblt_nor
	.type	enum_arch, @function
enum_arch:
.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, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	eax, ecx
	mov	edi, r9d
	mov	ecx, DWORD PTR 16[rbp]
	mov	WORD PTR -76[rbp], si
	mov	WORD PTR -80[rbp], dx
	mov	WORD PTR -84[rbp], ax
	mov	eax, r8d
	mov	WORD PTR -88[rbp], ax
	mov	eax, edi
	mov	WORD PTR -92[rbp], ax
	mov	eax, ecx
	mov	WORD PTR -96[rbp], ax
	cmp	WORD PTR -76[rbp], 0
	je	.L29
	cmp	WORD PTR -80[rbp], 0
	je	.L29
	movzx	eax, WORD PTR -84[rbp]
	cmp	ax, WORD PTR -76[rbp]
	jnb	.L29
	movzx	eax, WORD PTR -88[rbp]
	cmp	ax, WORD PTR -80[rbp]
	jnb	.L29
	cmp	QWORD PTR 24[rbp], 0
	je	.L29
	cmp	QWORD PTR 32[rbp], 0
	jne	.L30
.L29:
	mov	eax, 0
	jmp	.L31
.L30:
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, WORD PTR -76[rbp]
	add	eax, 31
	lea	edx, 31[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 5
	sal	eax, 2
	cdqe
	mov	QWORD PTR -8[rbp], rax
	movzx	eax, WORD PTR -84[rbp]
	movsx	edx, WORD PTR -92[rbp]
	sub	eax, edx
	mov	DWORD PTR -52[rbp], eax
	movsx	eax, WORD PTR -96[rbp]
	movzx	edx, WORD PTR -88[rbp]
	sub	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, eax
	sal	DWORD PTR -52[rbp], cl
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, eax
	sal	DWORD PTR -48[rbp], cl
	mov	DWORD PTR -40[rbp], -1
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	BYTE PTR -53[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L32
.L38:
	movsx	edx, WORD PTR -92[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -52[rbp]
	sar	eax, cl
	add	eax, edx
	mov	DWORD PTR -36[rbp], eax
	movsx	eax, WORD PTR -96[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, DWORD PTR -48[rbp]
	sar	edx, cl
	sub	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jne	.L33
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	je	.L39
.L33:
	cmp	DWORD PTR -36[rbp], 0
	js	.L34
	movzx	eax, WORD PTR -76[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jge	.L34
	cmp	DWORD PTR -32[rbp], 0
	js	.L34
	movzx	eax, WORD PTR -80[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jge	.L34
	cmp	QWORD PTR 40[rbp], 0
	jne	.L35
	mov	eax, DWORD PTR -32[rbp]
	movzx	eax, ax
	imul	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -36[rbp]
	shr	ax, 3
	movzx	edx, ax
	add	rcx, rdx
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	edi, edx
	mov	edx, DWORD PTR -36[rbp]
	movzx	edx, dx
	not	edx
	and	edx, 7
	mov	esi, 1
	mov	ecx, edx
	sal	esi, cl
	mov	edx, esi
	or	edi, edx
	mov	ecx, edi
	mov	edx, DWORD PTR -32[rbp]
	movzx	edx, dx
	imul	rdx, QWORD PTR -8[rbp]
	movzx	eax, ax
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L36
.L35:
	mov	eax, DWORD PTR -32[rbp]
	movzx	esi, ax
	mov	eax, DWORD PTR -36[rbp]
	movzx	eax, ax
	mov	rdi, QWORD PTR 48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	r9, QWORD PTR 40[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	r9
	xor	eax, 1
	mov	BYTE PTR -53[rbp], al
.L36:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -40[rbp], eax
	jmp	.L34
.L39:
	nop
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, edx
	sar	eax, cl
	mov	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	mov	ecx, edx
	sar	eax, cl
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -48[rbp], eax
	add	QWORD PTR -24[rbp], 1
.L32:
	movzx	eax, BYTE PTR -53[rbp]
	xor	eax, 1
	test	al, al
	je	.L37
	mov	rax, QWORD PTR -72[rbp]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	jb	.L38
.L37:
	mov	eax, 1
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	enum_arch, .-enum_arch
	.type	arch_with_inpaint, @function
arch_with_inpaint:
.LFB10:
	.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	eax, esi
	mov	QWORD PTR -80[rbp], rdx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -96[rbp], r8
	mov	edx, edi
	mov	WORD PTR -68[rbp], dx
	mov	WORD PTR -72[rbp], ax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, WORD PTR -72[rbp]
	imul	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movzx	eax, WORD PTR -68[rbp]
	shr	ax, 5
	movzx	eax, ax
	sal	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	load_be32
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	cmp	WORD PTR -72[rbp], ax
	ja	.L41
	movzx	eax, WORD PTR -68[rbp]
	not	eax
	and	eax, 31
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	or	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	store_be32
	jmp	.L42
.L41:
	movzx	eax, WORD PTR -68[rbp]
	not	eax
	and	eax, 31
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	and	eax, DWORD PTR -56[rbp]
	test	eax, eax
	je	.L43
	movzx	eax, WORD PTR -68[rbp]
	and	eax, 31
	mov	QWORD PTR -40[rbp], rax
	jmp	.L44
.L47:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	eax, 31
	sub	eax, edx
	mov	edx, DWORD PTR -56[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L59
	sub	QWORD PTR -40[rbp], 1
.L44:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L47
	jmp	.L46
.L59:
	nop
.L46:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, -1
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	or	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	store_be32
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -52[rbp]
	or	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	store_be32
	jmp	.L48
.L54:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 4
	mov	rdi, rax
	call	load_be32
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L49
	mov	QWORD PTR -32[rbp], 31
	jmp	.L50
.L53:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, eax
	mov	eax, 31
	sub	eax, edx
	mov	edx, DWORD PTR -56[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L60
	sub	QWORD PTR -32[rbp], 1
.L50:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L53
	jmp	.L52
.L60:
	nop
.L52:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, -1
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	or	eax, DWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rdx, 4
	mov	esi, eax
	mov	rdi, rdx
	call	store_be32
	jmp	.L42
.L49:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 4
	mov	DWORD PTR [rax], -1
	sub	QWORD PTR -48[rbp], 4
.L48:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L54
.L42:
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR -72[rbp]
	mov	WORD PTR 4[rax], dx
	movzx	edx, WORD PTR -68[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	eax, 1
	cmp	edx, eax
	jne	.L55
	add	WORD PTR -72[rbp], 1
	jmp	.L56
.L57:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	eax, 31
	lea	edx, 31[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 5
	sal	eax, 2
	cdqe
	movzx	edx, WORD PTR -72[rbp]
	mov	rcx, rdx
	imul	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 255
	mov	rdi, rcx
	call	memset@PLT
	add	WORD PTR -72[rbp], 1
.L56:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 2[rax]
	cmp	WORD PTR -72[rbp], ax
	jb	.L57
	mov	eax, 0
	jmp	.L58
.L55:
	mov	eax, 1
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	arch_with_inpaint, .-arch_with_inpaint
	.type	draw_rainbow, @function
draw_rainbow:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	eax, esi
	mov	QWORD PTR -96[rbp], rdx
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -112[rbp], r8
	mov	QWORD PTR -120[rbp], r9
	mov	edx, edi
	mov	WORD PTR -84[rbp], dx
	mov	WORD PTR -88[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	WORD PTR -84[rbp], 0
	je	.L62
	cmp	WORD PTR -88[rbp], 0
	je	.L62
	cmp	QWORD PTR -96[rbp], 0
	je	.L62
	cmp	QWORD PTR -104[rbp], 0
	je	.L62
	cmp	QWORD PTR -112[rbp], 0
	je	.L62
	cmp	QWORD PTR 16[rbp], 24
	je	.L63
.L62:
	mov	eax, 0
	jmp	.L64
.L63:
	mov	rax, QWORD PTR 16[rbp]
	shr	rax, 3
	mov	QWORD PTR -56[rbp], rax
	movzx	eax, WORD PTR -84[rbp]
	imul	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	movzx	eax, WORD PTR -84[rbp]
	imul	rax, QWORD PTR -56[rbp]
	add	rax, 1
	sal	rax, 2
	neg	rax
	and	eax, 3
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	movzx	eax, WORD PTR -88[rbp]
	imul	rax, QWORD PTR -48[rbp]
	cmp	QWORD PTR -120[rbp], rax
	jnb	.L65
	mov	eax, 0
	jmp	.L64
.L65:
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	movzx	eax, WORD PTR -84[rbp]
	add	eax, 31
	lea	edx, 31[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 5
	mov	edx, eax
	movzx	eax, WORD PTR -88[rbp]
	imul	eax, edx
	sal	eax, 2
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L66
	mov	eax, 0
	jmp	.L64
.L66:
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -70[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR -84[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR -88[rbp]
	mov	WORD PTR 2[rax], dx
	mov	QWORD PTR -64[rbp], 0
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR -88[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	esi, ax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	r9d, ax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 6[rax]
	movzx	r8d, ax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	movzx	ecx, ax
	movzx	edx, WORD PTR -88[rbp]
	movzx	eax, WORD PTR -84[rbp]
	sub	rsp, 8
	push	QWORD PTR -16[rbp]
	lea	rdi, arch_with_inpaint[rip]
	push	rdi
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -24[rbp]
	push	rsi
	mov	esi, eax
	mov	edi, 11
	call	enum_arch
	add	rsp, 48
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 8[rax]
	movzx	esi, WORD PTR -88[rbp]
	movzx	eax, WORD PTR -84[rbp]
	mov	r8, QWORD PTR -120[rbp]
	mov	rdi, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	bitblt_nor
	add	QWORD PTR -64[rbp], 1
.L67:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jb	.L68
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 1
.L64:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	draw_rainbow, .-draw_rainbow
	.section	.rodata
.LC0:
	.string	"-b"
.LC1:
	.string	"-B"
.LC2:
	.string	"\033\033"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 352
	mov	DWORD PTR -340[rbp], edi
	mov	QWORD PTR -352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -320[rbp], 0
	cmp	DWORD PTR -340[rbp], 2
	jle	.L71
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L71
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -320[rbp], eax
	jmp	.L72
.L71:
	cmp	DWORD PTR -340[rbp], 2
	jle	.L72
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L72
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	sal	eax, 3
	mov	DWORD PTR -320[rbp], eax
.L72:
	mov	WORD PTR -324[rbp], 512
	mov	WORD PTR -322[rbp], 128
	mov	WORD PTR -240[rbp], 256
	mov	WORD PTR -238[rbp], 1280
	mov	WORD PTR -236[rbp], 0
	mov	WORD PTR -234[rbp], 34
	mov	DWORD PTR -232[rbp], 16711748
	mov	WORD PTR -228[rbp], 256
	mov	WORD PTR -226[rbp], 1280
	mov	WORD PTR -224[rbp], 0
	mov	WORD PTR -222[rbp], 41
	mov	DWORD PTR -220[rbp], 16727884
	mov	WORD PTR -216[rbp], 256
	mov	WORD PTR -214[rbp], 1280
	mov	WORD PTR -212[rbp], 0
	mov	WORD PTR -210[rbp], 48
	mov	DWORD PTR -208[rbp], 16744277
	mov	WORD PTR -204[rbp], 256
	mov	WORD PTR -202[rbp], 1280
	mov	WORD PTR -200[rbp], 0
	mov	WORD PTR -198[rbp], 55
	mov	DWORD PTR -196[rbp], 16760669
	mov	WORD PTR -192[rbp], 256
	mov	WORD PTR -190[rbp], 1280
	mov	WORD PTR -188[rbp], 0
	mov	WORD PTR -186[rbp], 62
	mov	DWORD PTR -184[rbp], 16777062
	mov	WORD PTR -180[rbp], 256
	mov	WORD PTR -178[rbp], 1280
	mov	WORD PTR -176[rbp], 0
	mov	WORD PTR -174[rbp], 69
	mov	DWORD PTR -172[rbp], 8388462
	mov	WORD PTR -168[rbp], 256
	mov	WORD PTR -166[rbp], 1280
	mov	WORD PTR -164[rbp], 0
	mov	WORD PTR -162[rbp], 76
	mov	DWORD PTR -160[rbp], 65399
	mov	WORD PTR -156[rbp], 256
	mov	WORD PTR -154[rbp], 1280
	mov	WORD PTR -152[rbp], 0
	mov	WORD PTR -150[rbp], 83
	mov	DWORD PTR -148[rbp], 37023
	mov	WORD PTR -144[rbp], 256
	mov	WORD PTR -142[rbp], 1280
	mov	WORD PTR -140[rbp], 0
	mov	WORD PTR -138[rbp], 90
	mov	DWORD PTR -136[rbp], 8908
	mov	WORD PTR -132[rbp], 256
	mov	WORD PTR -130[rbp], 1280
	mov	WORD PTR -128[rbp], 0
	mov	WORD PTR -126[rbp], 98
	mov	DWORD PTR -124[rbp], 4142028
	mov	WORD PTR -120[rbp], 256
	mov	WORD PTR -118[rbp], 1280
	mov	WORD PTR -116[rbp], 0
	mov	WORD PTR -114[rbp], 105
	mov	DWORD PTR -112[rbp], 8340684
	mov	WORD PTR -108[rbp], 256
	mov	WORD PTR -106[rbp], 1280
	mov	WORD PTR -104[rbp], 0
	mov	WORD PTR -102[rbp], 113
	mov	DWORD PTR -100[rbp], 12539340
	mov	WORD PTR -96[rbp], 256
	mov	WORD PTR -94[rbp], 1280
	mov	WORD PTR -92[rbp], 0
	mov	WORD PTR -90[rbp], 120
	mov	DWORD PTR -88[rbp], 16737996
	mov	WORD PTR -84[rbp], 256
	mov	WORD PTR -82[rbp], 1280
	mov	WORD PTR -80[rbp], 0
	mov	WORD PTR -78[rbp], 127
	mov	DWORD PTR -76[rbp], 0
	mov	QWORD PTR -296[rbp], 24
	movzx	eax, WORD PTR -324[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	shr	rdx, 3
	mov	QWORD PTR -288[rbp], rdx
	imul	rax, QWORD PTR -288[rbp]
	mov	rdx, rax
	movzx	eax, WORD PTR -324[rbp]
	imul	rax, QWORD PTR -288[rbp]
	add	rax, 1
	sal	rax, 2
	neg	rax
	and	eax, 3
	add	rax, rdx
	mov	QWORD PTR -280[rbp], rax
	movzx	eax, WORD PTR -322[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	imul	rax, rdx
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	lea	rax, -64[rbp]
	mov	edx, 54
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -64[rbp]
	mov	esi, 19778
	mov	rdi, rax
	call	store_le16
	mov	rax, QWORD PTR -272[rbp]
	lea	edx, 54[rax]
	lea	rax, -64[rbp]
	add	rax, 2
	mov	esi, edx
	mov	rdi, rax
	call	store_le32
	lea	rax, -64[rbp]
	add	rax, 10
	mov	esi, 54
	mov	rdi, rax
	call	store_le32
	lea	rax, -64[rbp]
	add	rax, 14
	mov	esi, 40
	mov	rdi, rax
	call	store_le32
	movzx	edx, WORD PTR -324[rbp]
	lea	rax, -64[rbp]
	add	rax, 18
	mov	esi, edx
	mov	rdi, rax
	call	store_le32
	movzx	edx, WORD PTR -322[rbp]
	lea	rax, -64[rbp]
	add	rax, 22
	mov	esi, edx
	mov	rdi, rax
	call	store_le32
	lea	rax, -64[rbp]
	add	rax, 26
	mov	esi, 1
	mov	rdi, rax
	call	store_le16
	mov	rax, QWORD PTR -296[rbp]
	movzx	edx, ax
	lea	rax, -64[rbp]
	add	rax, 28
	mov	esi, edx
	mov	rdi, rax
	call	store_le16
	mov	rax, QWORD PTR -272[rbp]
	mov	edx, eax
	lea	rax, -64[rbp]
	add	rax, 34
	mov	esi, edx
	mov	rdi, rax
	call	store_le32
	mov	rax, QWORD PTR -272[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -264[rbp], rax
	cmp	QWORD PTR -264[rbp], 0
	jne	.L73
	mov	eax, -1
	jmp	.L80
.L73:
	movzx	esi, WORD PTR -322[rbp]
	movzx	eax, WORD PTR -324[rbp]
	mov	rdi, QWORD PTR -272[rbp]
	mov	rcx, QWORD PTR -264[rbp]
	lea	rdx, -240[rbp]
	sub	rsp, 8
	push	24
	mov	r9, rdi
	mov	r8, rcx
	mov	ecx, 14
	mov	edi, eax
	call	draw_rainbow
	add	rsp, 16
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 54
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	lea	rax, -256[rbp]
	mov	rdi, rax
	call	get_boottime
	mov	QWORD PTR -312[rbp], 0
	jmp	.L75
.L78:
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 54
	mov	QWORD PTR -304[rbp], rax
	cmp	DWORD PTR -320[rbp], 0
	jle	.L76
	lea	rax, -256[rbp]
	mov	rdi, rax
	call	get_past_msec
	mov	DWORD PTR -316[rbp], eax
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 54
	mov	edx, DWORD PTR -320[rbp]
	imul	edx, DWORD PTR -316[rbp]
	mov	edx, edx
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	shr	edx, 9
	mov	edx, edx
	cmp	rax, rdx
	cmova	rax, rdx
	mov	QWORD PTR -304[rbp], rax
.L76:
	mov	rax, QWORD PTR -312[rbp]
	add	rax, 54
	cmp	QWORD PTR -304[rbp], rax
	jbe	.L77
	mov	rax, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -304[rbp]
	sub	rdx, QWORD PTR -312[rbp]
	sub	rdx, 54
	mov	rsi, QWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -312[rbp]
	lea	rdi, [rsi+rcx]
	mov	rcx, rax
	mov	esi, 1
	call	fwrite@PLT
	add	QWORD PTR -312[rbp], rax
.L77:
	cmp	DWORD PTR -320[rbp], 0
	jle	.L75
	mov	rax, QWORD PTR -312[rbp]
	cmp	rax, QWORD PTR -272[rbp]
	jnb	.L75
	mov	edi, 1
	call	msleep
.L75:
	mov	rax, QWORD PTR -312[rbp]
	cmp	rax, QWORD PTR -272[rbp]
	jb	.L78
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	cmp	QWORD PTR -264[rbp], 0
	je	.L79
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -264[rbp], 0
.L79:
	mov	eax, 0
.L80:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L81
	call	__stack_chk_fail@PLT
.L81:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"708751.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_le32, %function
store_le32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	store_le32, .-store_le32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_be32, %function
store_be32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #8
	and	r3, r3, #16711680
	orr	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #8
	and	r3, r3, #65280
	orr	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #24
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	store_be32, .-store_be32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_be32, %function
load_be32:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #65280
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	and	r3, r3, #16711680
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #24
	orr	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	load_be32, .-load_be32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_le16, %function
store_le16:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, r1
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r2, [fp, #-10]	@ movhi
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	store_le16, .-store_le16
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_le24, %function
store_le24:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	store_le24, .-store_le24
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msleep, %function
msleep:
	@ 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	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	msleep, .-msleep
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_boottime, %function
get_boottime:
	@ 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	r1, [fp, #-8]
	mov	r0, #7
	bl	clock_gettime
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_boottime, .-get_boottime
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_past_msec, %function
get_past_msec:
	@ 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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #7
	bl	clock_gettime
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L10
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r2, [fp, #-12]
	ldr	r3, .L14+4
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #4]
	sub	r3, r3, r2
	ldr	r2, .L14+8
	smull	r0, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r1, r3
	sub	r3, r3, #1000
	str	r3, [fp, #-20]
	b	.L11
.L10:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	ldr	r2, .L14+8
	smull	r0, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r1, r3
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-20]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	1000000000
	.word	1125899907
	.size	get_past_msec, .-get_past_msec
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitblt_nor, %function
bitblt_nor:
	@ args = 8, 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, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L18
.L17:
	mov	r3, #0
	b	.L19
.L18:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	add	r3, r3, #31
	lsr	r3, r3, #5
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r1, r3, r2
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #3
	mvn	r3, r3
	and	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	ldr	r2, [fp, #8]
	cmp	r2, r3
	bcs	.L20
	mov	r3, #0
	b	.L19
.L20:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L21
.L28:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L22
.L27:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r0, r3
	bl	load_be32
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L23
.L26:
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #31
	ldr	r2, [fp, #-8]
	lsr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L29
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	mul	r1, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	store_le24
	b	.L25
.L29:
	nop
.L25:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	bls	.L26
	ldr	r3, [fp, #-32]
	add	r3, r3, #32
	str	r3, [fp, #-32]
.L22:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L27
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L21:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L28
	mov	r3, #1
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	bitblt_nor, .-bitblt_nor
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enum_arch, %function
enum_arch:
	@ args = 28, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-64]
	mov	r0, r1
	mov	r1, r2
	mov	r2, r3
	mov	r3, r0	@ movhi
	strh	r3, [fp, #-66]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-68]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-70]	@ movhi
	ldrh	r3, [fp, #-66]
	cmp	r3, #0
	beq	.L31
	ldrh	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L31
	ldrh	r2, [fp, #-70]
	ldrh	r3, [fp, #-66]
	cmp	r2, r3
	bcs	.L31
	ldrh	r2, [fp, #4]
	ldrh	r3, [fp, #-68]
	cmp	r2, r3
	bcs	.L31
	ldr	r3, [fp, #16]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #20]
	cmp	r3, #0
	bne	.L32
.L31:
	mov	r3, #0
	b	.L33
.L32:
	ldr	r3, [fp, #16]
	str	r3, [fp, #-32]
	ldrh	r3, [fp, #-66]
	add	r3, r3, #31
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldrh	r2, [fp, #-70]
	ldrsh	r3, [fp, #8]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	ldrsh	r2, [fp, #12]
	ldrh	r3, [fp, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	lsl	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	lsl	r3, r2, r3
	str	r3, [fp, #-48]
	mvn	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	strb	r3, [fp, #-53]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L40:
	ldrsh	r2, [fp, #8]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-64]
	asr	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldrsh	r2, [fp, #12]
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-64]
	asr	r3, r1, r3
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L35
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L41
.L35:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L36
	ldrh	r3, [fp, #-66]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L36
	ldrh	r3, [fp, #-68]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L36
	ldr	r3, [fp, #24]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-28]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	lsr	r2, r2, #3
	lsl	r2, r2, #16
	lsr	r0, r2, #16
	mov	r2, r0
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	and	r3, r3, #7
	mov	r1, #1
	lsl	r3, r1, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r3, [fp, #-28]
	mul	r3, r1, r3
	mov	r1, r0
	add	r3, r3, r1
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L38
.L37:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r3, [fp, #28]
	str	r3, [sp]
	ldr	r4, [fp, #24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	blx	r4
	mov	r3, r0
	eor	r3, r3, #1
	strb	r3, [fp, #-53]
.L38:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-40]
	b	.L36
.L41:
	nop
.L36:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	asr	r3, r2, r3
	ldr	r2, [fp, #-48]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	asr	r3, r2, r3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldrb	r3, [fp, #-53]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	cmp	r3, r2
	bcc	.L40
.L39:
	mov	r3, #1
.L33:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	enum_arch, .-enum_arch
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arch_with_inpaint, %function
arch_with_inpaint:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r2, [fp, #-44]
	str	r3, [fp, #-48]
	mov	r3, r0	@ movhi
	strh	r3, [fp, #-38]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-40]	@ movhi
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-20]
	ldrh	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldrh	r3, [fp, #-38]
	lsr	r3, r3, #5
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	load_be32
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3, #4]
	ldrh	r2, [fp, #-40]
	cmp	r2, r3
	bhi	.L43
	ldrh	r3, [fp, #-38]
	mvn	r3, r3
	and	r3, r3, #31
	mov	r2, #1
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	store_be32
	b	.L44
.L43:
	ldrh	r3, [fp, #-38]
	mvn	r3, r3
	and	r3, r3, #31
	mvn	r2, #0
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L45
	ldrh	r3, [fp, #-38]
	and	r3, r3, #31
	str	r3, [fp, #-32]
	b	.L46
.L49:
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #31
	ldr	r2, [fp, #-12]
	lsr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L46:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L49
	b	.L48
.L61:
	nop
.L48:
	mvn	r2, #0
	ldr	r3, [fp, #-32]
	lsr	r3, r2, r3
	ldr	r2, [fp, #-8]
	and	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	store_be32
	b	.L44
.L45:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	store_be32
	b	.L50
.L56:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #4
	mov	r0, r3
	bl	load_be32
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L51
	mov	r3, #31
	str	r3, [fp, #-28]
	b	.L52
.L55:
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #31
	ldr	r2, [fp, #-12]
	lsr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L52:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L55
	b	.L54
.L62:
	nop
.L54:
	ldr	r3, [fp, #-36]
	sub	r0, r3, #4
	mvn	r2, #0
	ldr	r3, [fp, #-28]
	lsr	r2, r2, r3
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r1, r3
	bl	store_be32
	b	.L44
.L51:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #4
	str	r3, [fp, #-36]
.L50:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L56
.L44:
	ldr	r3, [fp, #-20]
	ldrh	r2, [fp, #-40]	@ movhi
	strh	r2, [r3, #4]	@ movhi
	ldrh	r2, [fp, #-38]
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L57
	ldrh	r3, [fp, #-40]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-40]	@ movhi
	b	.L58
.L59:
	ldrh	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r0, r2, r3
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	add	r3, r3, #31
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	mov	r2, r3
	mov	r1, #255
	bl	memset
	ldrh	r3, [fp, #-40]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-40]	@ movhi
.L58:
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3, #2]
	ldrh	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L59
	mov	r3, #0
	b	.L60
.L57:
	mov	r3, #1
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	arch_with_inpaint, .-arch_with_inpaint
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_rainbow, %function
draw_rainbow:
	@ args = 12, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	str	r2, [fp, #-60]
	str	r3, [fp, #-64]
	mov	r3, r0	@ movhi
	strh	r3, [fp, #-54]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-56]	@ movhi
	ldr	r3, [fp, #4]
	str	r3, [fp, #-68]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldrh	r3, [fp, #-54]
	cmp	r3, #0
	beq	.L64
	ldrh	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #12]
	cmp	r3, #24
	beq	.L65
.L64:
	mov	r3, #0
	b	.L66
.L65:
	ldr	r3, [fp, #12]
	lsr	r3, r3, #3
	str	r3, [fp, #-48]
	ldrh	r3, [fp, #-54]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldrh	r3, [fp, #-54]
	ldr	r1, [fp, #-48]
	mul	r3, r1, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	and	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldrh	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	ldr	r2, [fp, #8]
	cmp	r2, r3
	bcs	.L67
	mov	r3, #0
	b	.L66
.L67:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-40]
	ldrh	r3, [fp, #-54]
	add	r3, r3, #31
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldrh	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L68
	mov	r3, #0
	b	.L66
.L68:
	ldr	r2, [fp, #8]
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	memset
	sub	r3, fp, #24
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldrh	r2, [fp, #-54]	@ movhi
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-28]
	ldrh	r2, [fp, #-56]	@ movhi
	strh	r2, [r3, #2]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L69
.L70:
	ldr	r3, [fp, #-28]
	ldrh	r2, [fp, #-56]	@ movhi
	strh	r2, [r3, #4]	@ movhi
	ldr	r2, [fp, #-36]
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	memset
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldrh	r4, [r3, #4]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldrh	r1, [r3, #6]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldrsh	r0, [r3]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldrsh	r3, [r3, #2]
	ldrh	lr, [fp, #-56]
	ldrh	ip, [fp, #-54]
	ldr	r2, [fp, #-28]
	str	r2, [sp, #24]
	ldr	r2, .L72+4
	str	r2, [sp, #20]
	ldr	r2, [fp, #-36]
	str	r2, [sp, #16]
	ldr	r2, [fp, #-32]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	mov	r0, #11
	bl	enum_arch
	ldrh	r0, [fp, #-54]
	ldrh	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-32]
	bl	bitblt_nor
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L69:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bcc	.L70
	ldr	r0, [fp, #-32]
	bl	free
	mov	r3, #1
.L66:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC2
	.word	arch_with_inpaint
	.size	draw_rainbow, .-draw_rainbow
	.section	.rodata
	.align	2
.LC3:
	.ascii	"-b\000"
	.align	2
.LC4:
	.ascii	"-B\000"
	.align	2
.LC5:
	.ascii	"\033\033\000"
	.align	2
.LC0:
	.short	256
	.short	1280
	.short	0
	.short	34
	.word	16711748
	.short	256
	.short	1280
	.short	0
	.short	41
	.word	16727884
	.short	256
	.short	1280
	.short	0
	.short	48
	.word	16744277
	.short	256
	.short	1280
	.short	0
	.short	55
	.word	16760669
	.short	256
	.short	1280
	.short	0
	.short	62
	.word	16777062
	.short	256
	.short	1280
	.short	0
	.short	69
	.word	8388462
	.short	256
	.short	1280
	.short	0
	.short	76
	.word	65399
	.short	256
	.short	1280
	.short	0
	.short	83
	.word	37023
	.short	256
	.short	1280
	.short	0
	.short	90
	.word	8908
	.short	256
	.short	1280
	.short	0
	.short	98
	.word	4142028
	.short	256
	.short	1280
	.short	0
	.short	105
	.word	8340684
	.short	256
	.short	1280
	.short	0
	.short	113
	.word	12539340
	.short	256
	.short	1280
	.short	0
	.short	120
	.word	16737996
	.short	256
	.short	1280
	.short	0
	.short	127
	.word	0
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-288]
	cmp	r3, #2
	ble	.L75
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	ldr	r3, [fp, #-292]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-276]
	b	.L76
.L75:
	ldr	r3, [fp, #-288]
	cmp	r3, #2
	ble	.L76
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L86+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L76
	ldr	r3, [fp, #-292]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #3
	str	r3, [fp, #-276]
.L76:
	sub	r3, fp, #4
	sub	r3, r3, #276
	mov	r2, #512
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #272
	sub	r3, r3, #2
	mov	r2, #128
	strh	r2, [r3]	@ movhi
	ldr	r2, .L86+12
	sub	r3, fp, #232
	mov	r1, r2
	mov	r2, #168
	mov	r0, r3
	bl	memcpy
	mov	r3, #24
	str	r3, [fp, #-264]
	sub	r3, fp, #4
	sub	r3, r3, #276
	ldrh	r3, [r3]
	ldr	r2, [fp, #-264]
	lsr	r2, r2, #3
	str	r2, [fp, #-260]
	ldr	r2, [fp, #-260]
	mul	r2, r3, r2
	sub	r3, fp, #4
	sub	r3, r3, #276
	ldrh	r3, [r3]
	ldr	r1, [fp, #-260]
	mul	r3, r1, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	and	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-256]
	sub	r3, fp, #4
	sub	r3, r3, #272
	sub	r3, r3, #2
	ldrh	r2, [r3]
	ldr	r3, [fp, #-256]
	mul	r3, r2, r3
	str	r3, [fp, #-252]
	mov	r3, #0
	str	r3, [fp, #-248]
	sub	r3, fp, #64
	mov	r2, #54
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #64
	ldr	r1, .L86+16
	mov	r0, r3
	bl	store_le16
	sub	r3, fp, #64
	add	r3, r3, #2
	ldr	r2, [fp, #-252]
	add	r2, r2, #54
	mov	r1, r2
	mov	r0, r3
	bl	store_le32
	sub	r3, fp, #64
	add	r3, r3, #10
	mov	r1, #54
	mov	r0, r3
	bl	store_le32
	sub	r3, fp, #64
	add	r3, r3, #14
	mov	r1, #40
	mov	r0, r3
	bl	store_le32
	sub	r3, fp, #64
	add	r3, r3, #18
	sub	r2, fp, #4
	sub	r2, r2, #276
	ldrh	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	store_le32
	sub	r2, fp, #64
	add	r2, r2, #22
	sub	r3, fp, #4
	sub	r3, r3, #272
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	store_le32
	sub	r3, fp, #64
	add	r3, r3, #26
	mov	r1, #1
	mov	r0, r3
	bl	store_le16
	sub	r3, fp, #64
	add	r3, r3, #28
	ldr	r2, [fp, #-264]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mov	r1, r2
	mov	r0, r3
	bl	store_le16
	sub	r3, fp, #64
	add	r3, r3, #34
	ldr	r1, [fp, #-252]
	mov	r0, r3
	bl	store_le32
	ldr	r0, [fp, #-252]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bne	.L77
	mvn	r3, #0
	b	.L84
.L77:
	sub	r2, fp, #232
	sub	r3, fp, #4
	sub	r3, r3, #272
	sub	r3, r3, #2
	ldrh	r1, [r3]
	sub	r3, fp, #4
	sub	r3, r3, #276
	ldrh	r0, [r3]
	mov	r3, #24
	str	r3, [sp, #8]
	ldr	r3, [fp, #-252]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-248]
	str	r3, [sp]
	mov	r3, #14
	bl	draw_rainbow
	ldr	r3, .L86+20
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L86+24
	bl	fwrite
	ldr	r3, .L86+20
	ldr	r3, [r3]
	sub	r0, fp, #64
	mov	r2, #54
	mov	r1, #1
	bl	fwrite
	sub	r3, fp, #240
	mov	r0, r3
	bl	get_boottime
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L79
.L82:
	ldr	r3, [fp, #-252]
	add	r3, r3, #54
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	ble	.L80
	sub	r3, fp, #240
	mov	r0, r3
	bl	get_past_msec
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-252]
	add	r2, r3, #54
	ldr	r3, [fp, #-276]
	ldr	r1, [fp, #-244]
	mul	r3, r1, r3
	ldr	r1, .L86+28
	umull	r0, r3, r1, r3
	lsr	r3, r3, #9
	cmp	r2, r3
	movcc	r3, r2
	movcs	r3, r3
	str	r3, [fp, #-268]
.L80:
	ldr	r3, [fp, #-272]
	add	r3, r3, #54
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	bls	.L81
	ldr	r2, [fp, #-248]
	ldr	r3, [fp, #-272]
	add	r0, r2, r3
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-272]
	sub	r3, r2, r3
	sub	r2, r3, #54
	ldr	r3, .L86+20
	ldr	r3, [r3]
	mov	r1, #1
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	str	r3, [fp, #-272]
.L81:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	ble	.L79
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	bcs	.L79
	mov	r0, #1
	bl	msleep
.L79:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	bcc	.L82
	ldr	r3, .L86+20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	beq	.L83
	ldr	r0, [fp, #-248]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-248]
.L83:
	mov	r3, #0
.L84:
	ldr	r2, .L86
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	19778
	.word	stdout
	.word	.LC5
	.word	274877907
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
