	.file	"61075069.c"
	.intel_syntax noprefix
	.text
	.globl	MIDWT
	.type	MIDWT, @function
MIDWT:
.LFB0:
	.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	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	DWORD PTR -112[rbp], edx
	mov	QWORD PTR -120[rbp], rcx
	mov	DWORD PTR -124[rbp], r8d
	mov	DWORD PTR -128[rbp], r9d
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -112[rbp], eax
	cmovge	eax, DWORD PTR -112[rbp]
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	mxCalloc@PLT
	cdqe
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -112[rbp], eax
	cmovge	eax, DWORD PTR -112[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -124[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	add	eax, edx
	sub	eax, 1
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	mxCalloc@PLT
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -112[rbp], eax
	cmovge	eax, DWORD PTR -112[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -124[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	add	eax, edx
	sub	eax, 1
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	mxCalloc@PLT
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	mxCalloc@PLT
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	mxCalloc@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -112[rbp], 1
	jne	.L2
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -112[rbp], eax
	mov	DWORD PTR -108[rbp], 1
.L2:
	mov	QWORD PTR -48[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sub	rax, QWORD PTR -48[rbp]
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L3:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L4
	mov	QWORD PTR -48[rbp], 1
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 2
.L5:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jle	.L6
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	sub	eax, 1
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -68[rbp], 1
	mov	QWORD PTR -48[rbp], 1
	jmp	.L7
.L8:
	sal	DWORD PTR -68[rbp]
	add	QWORD PTR -48[rbp], 1
.L7:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L8
	cmp	DWORD PTR -108[rbp], 1
	jle	.L9
	mov	eax, DWORD PTR -108[rbp]
	cdq
	idiv	DWORD PTR -68[rbp]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L10
.L9:
	mov	DWORD PTR -84[rbp], 1
.L10:
	mov	eax, DWORD PTR -112[rbp]
	cdq
	idiv	DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L11:
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -112[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L12
	mov	eax, DWORD PTR -128[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L13
.L29:
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -108[rbp], 1
	jle	.L14
	mov	DWORD PTR -72[rbp], 0
	jmp	.L15
.L20:
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -72[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -76[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -76[rbp], edx
	add	eax, ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L16:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L17
	mov	r8d, DWORD PTR -60[rbp]
	mov	edi, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	mov	eax, 0
	call	bpsconv
	add	rsp, 16
	mov	QWORD PTR -48[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L18:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L19
	add	DWORD PTR -72[rbp], 1
.L15:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L20
.L14:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -72[rbp], edx
	imul	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L22:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L23
	mov	r8d, DWORD PTR -60[rbp]
	mov	edi, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -40[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	mov	eax, 0
	call	bpsconv
	add	rsp, 16
	mov	QWORD PTR -48[rbp], 0
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	imul	rax, QWORD PTR -48[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
.L24:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	cmp	QWORD PTR -48[rbp], rax
	jl	.L25
	add	DWORD PTR -76[rbp], 1
.L21:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L26
	cmp	DWORD PTR -108[rbp], 1
	jne	.L27
	mov	DWORD PTR -84[rbp], 1
	jmp	.L28
.L27:
	sal	DWORD PTR -84[rbp]
.L28:
	sal	DWORD PTR -80[rbp]
	sub	DWORD PTR -88[rbp], 1
.L13:
	cmp	DWORD PTR -88[rbp], 0
	jg	.L29
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	MIDWT, .-MIDWT
	.globl	bpsconv
	.type	bpsconv, @function
bpsconv:
.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	DWORD PTR -48[rbp], r8d
	mov	DWORD PTR -68[rbp], r9d
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L31
.L32:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	sub	DWORD PTR -32[rbp], 1
.L31:
	cmp	DWORD PTR -32[rbp], 0
	jns	.L32
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L33
.L36:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -20[rbp], -2
	mov	DWORD PTR -28[rbp], 0
	jmp	.L34
.L35:
	add	DWORD PTR -20[rbp], 2
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -28[rbp], 1
.L34:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jle	.L35
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -24[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -24[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L33:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L36
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	bpsconv, .-bpsconv
	.section	.rodata
	.align 16
.LC0:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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	"61075069.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	MIDWT
	.syntax unified
	.arm
	.fpu softvfp
	.type	MIDWT, %function
MIDWT:
	@ args = 12, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	mov	r1, #8
	mov	r0, r3
	bl	mxCalloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	movge	r2, r2
	movlt	r2, r3
	ldr	r3, [fp, #4]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #1
	mov	r1, #8
	mov	r0, r3
	bl	mxCalloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	movge	r2, r2
	movlt	r2, r3
	ldr	r3, [fp, #4]
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #1
	mov	r1, #8
	mov	r0, r3
	bl	mxCalloc
	mov	r3, r0
	str	r3, [fp, #-40]
	mov	r1, #8
	ldr	r0, [fp, #4]
	bl	mxCalloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r1, #8
	ldr	r0, [fp, #4]
	bl	mxCalloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-88]
	mov	r3, #1
	str	r3, [fp, #-84]
.L2:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L3
.L4:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r2, [fp, #-76]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-36]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r2, [fp, #-76]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-32]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L3:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L4
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L5
.L6:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-76]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-32]
	add	r1, r0, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	stm	r1, {r4-r5}
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	str	r3, [fp, #-76]
.L5:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L7
.L8:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L7:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	ble	.L9
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-84]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-68]
	b	.L10
.L9:
	mov	r3, #1
	str	r3, [fp, #-68]
.L10:
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-88]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L11
.L12:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-76]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-80]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L11:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #8]
	str	r3, [fp, #-72]
	b	.L13
.L29:
	ldr	r3, [fp, #-68]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	ble	.L14
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L15
.L20:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L16
.L17:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r1, [fp, #-76]
	ldr	r2, [fp, #-24]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-44]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-60]
	add	r1, r3, #1
	str	r1, [fp, #-60]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r1, [fp, #-76]
	ldr	r2, [fp, #-24]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-40]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L16:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-40]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	bpsconv
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L18
.L19:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-56]
	mul	r1, r2, r1
	ldr	r2, [fp, #-76]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-80]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L18:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L15:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L20
.L14:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L21
.L26:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L22
.L23:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-76]
	mul	r2, r3, r2
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r1, [fp, #-76]
	ldr	r2, [fp, #-24]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-44]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r2, r3, #1
	str	r2, [fp, #-56]
	ldr	r2, [fp, #-84]
	mul	r2, r3, r2
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r1, [fp, #-76]
	ldr	r2, [fp, #-24]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-40]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L22:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-40]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-48]
	bl	bpsconv
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L24
.L25:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-76]
	mul	r1, r2, r1
	ldr	r2, [fp, #-60]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-80]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L24:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L21:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	bne	.L27
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L28
.L27:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #1
	str	r3, [fp, #-68]
.L28:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
.L13:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bgt	.L29
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	MIDWT, .-MIDWT
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	bpsconv
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpsconv, %function
bpsconv:
	@ args = 16, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #8]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L31
.L32:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	lsl	r2, r2, #3
	ldr	r1, [fp, #12]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	lsl	r2, r2, #3
	ldr	r1, [fp, #16]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
.L31:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L32
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L33
.L36:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mvn	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L34
.L35:
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L34:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	ble	.L35
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L33:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L36
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	bpsconv, .-bpsconv
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
