	.file	"extr_cinepakenc.c_get_sub_picture.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_sub_picture, @function
get_sub_picture:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r11d, DWORD PTR [r8]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movsx	rbx, esi
	mov	r10, rdi
	mov	rdi, QWORD PTR 16[rsp]
	mov	eax, r11d
	imul	eax, edx
	cdqe
	add	rax, rbx
	mov	rbx, QWORD PTR [rcx]
	lea	rax, [rbx+rax*4]
	mov	QWORD PTR [r9], rax
	mov	rax, QWORD PTR AV_PIX_FMT_RGB24[rip]
	mov	DWORD PTR [rdi], r11d
	cmp	QWORD PTR [r10], rax
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	r10d, DWORD PTR 4[r8]
	sar	edx
	sar	esi
	mov	r11, QWORD PTR 8[rcx]
	mov	eax, edx
	movsx	rsi, esi
	imul	eax, r10d
	cdqe
	add	rax, rsi
	lea	rax, [r11+rax*4]
	mov	QWORD PTR 8[r9], rax
	mov	rcx, QWORD PTR 16[rcx]
	mov	DWORD PTR 4[rdi], r10d
	mov	eax, DWORD PTR 8[r8]
	imul	edx, eax
	movsx	rdx, edx
	add	rdx, rsi
	lea	rdx, [rcx+rdx*4]
	mov	QWORD PTR 16[r9], rdx
	mov	DWORD PTR 8[rdi], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_sub_picture, .-get_sub_picture
	.comm	AV_PIX_FMT_RGB24,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cinepakenc.c_get_sub_picture.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_sub_picture, %function
get_sub_picture:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [sp, #16]
	ldr	r4, .L5
	ldr	ip, [r5]
	ldr	r6, [r0]
	mla	lr, r2, ip, r1
	ldr	r4, [r4]
	ldr	r0, [r3]
	cmp	r6, r4
	add	r0, r0, lr, lsl #2
	ldr	r4, [sp, #20]
	ldr	lr, [sp, #24]
	str	r0, [r4]
	str	ip, [lr]
	popne	{r4, r5, r6, pc}
	ldr	r6, [r5, #4]
	asr	r2, r2, #1
	mul	ip, r6, r2
	ldr	r0, [r3, #4]
	add	ip, ip, r1, asr #1
	add	r0, r0, ip, lsl #2
	str	r0, [r4, #4]
	str	r6, [lr, #4]
	ldr	r0, [r5, #8]
	ldr	r3, [r3, #8]
	mul	r2, r0, r2
	add	r2, r2, r1, asr #1
	add	r2, r3, r2, lsl #2
	str	r2, [r4, #8]
	str	r0, [lr, #8]
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	AV_PIX_FMT_RGB24
	.size	get_sub_picture, .-get_sub_picture
	.comm	AV_PIX_FMT_RGB24,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
