	.file	"extr_swscale.c_hScale16To19_c.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hScale16To19_c, @function
hScale16To19_c:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	DWORD PTR 8[rsp], edx
	mov	ebx, DWORD PTR 80[rsp]
	mov	QWORD PTR [rsp], rcx
	call	av_pix_fmt_desc_get@PLT
	mov	rdi, QWORD PTR [r12]
	mov	r15, rax
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 12[rsp], eax
	call	isAnyRGB@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR AV_PIX_FMT_PAL8[rip]
	cmp	QWORD PTR [r12], rax
	je	.L2
.L3:
	mov	eax, DWORD PTR [r15]
	mov	r15d, DWORD PTR 12[rsp]
	mov	r12d, 11
	sub	r15d, 5
	test	DWORD PTR AV_PIX_FMT_FLAG_FLOAT[rip], eax
	cmove	r12d, r15d
	mov	DWORD PTR 8[rsp], r12d
.L4:
	test	edx, edx
	jle	.L1
	lea	eax, -1[rdx]
	mov	r15, r13
	xor	r12d, r12d
	lea	r13, 4[r14+rax*4]
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	rax, DWORD PTR [r14]
	test	ebx, ebx
	jle	.L12
	mov	rsi, QWORD PTR [rsp]
	lea	r10d, -1[rbx]
	xor	edi, edi
	lea	rsi, [rsi+rax*4]
	movsx	rax, r12d
	lea	rcx, 0[rbp+rax*4]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR [rsi+rax*4]
	imul	edx, DWORD PTR [rcx+rax*4]
	add	edi, edx
	mov	rdx, rax
	add	rax, 1
	cmp	rdx, r10
	jne	.L7
	movzx	ecx, BYTE PTR 8[rsp]
	sar	edi, cl
.L6:
	mov	esi, 524287
	add	r14, 4
	add	r15, 4
	add	r12d, ebx
	call	FFMIN@PLT
	mov	DWORD PTR -4[r15], eax
	cmp	r14, r13
	jne	.L8
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r15]
	mov	DWORD PTR 8[rsp], 9
	cmp	DWORD PTR [rax], 15
	jle	.L4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	xor	edi, edi
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	hScale16To19_c, .-hScale16To19_c
	.comm	AV_PIX_FMT_PAL8,8,8
	.comm	AV_PIX_FMT_FLAG_FLOAT,4,4
	.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_swscale.c_hScale16To19_c.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hScale16To19_c, %function
hScale16To19_c:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	ldr	r0, [r0]
	mov	fp, r1
	mov	r8, r2
	mov	r7, r3
	ldr	r5, [sp, #56]
	bl	av_pix_fmt_desc_get
	ldr	r3, [r0, #4]
	mov	r6, r0
	ldr	r0, [r4]
	ldr	r9, [r3]
	bl	isAnyRGB
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L17
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
.L3:
	ldr	r3, .L17+4
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r9, #11
	subeq	r9, r9, #5
.L4:
	cmp	r8, #0
	ble	.L1
	mov	r6, #0
	ldr	r3, [sp, #52]
	ldr	r10, .L17+8
	sub	r4, r3, #4
	ldr	r3, [sp, #48]
	sub	fp, fp, #4
	sub	r3, r3, #4
	add	r8, r4, r8, lsl #2
	str	r3, [sp, #4]
.L8:
	cmp	r5, #0
	mov	r0, #0
	ldr	r3, [r4, #4]!
	ble	.L6
	ldr	r2, [sp, #4]
	add	lr, r3, r5
	add	lr, r7, lr, lsl #2
	add	r3, r7, r3, lsl #2
	add	r2, r2, r6, lsl #2
.L7:
	ldr	r1, [r3], #4
	ldr	ip, [r2, #4]!
	cmp	lr, r3
	mla	r0, ip, r1, r0
	bne	.L7
	asr	r0, r0, r9
.L6:
	mov	r1, r10
	bl	FFMIN
	cmp	r4, r8
	add	r6, r6, r5
	str	r0, [fp, #4]!
	bne	.L8
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, [r6, #4]
	ldr	r3, [r3]
	cmp	r3, #15
	movle	r9, #9
	ble	.L4
	b	.L3
.L18:
	.align	2
.L17:
	.word	AV_PIX_FMT_PAL8
	.word	AV_PIX_FMT_FLAG_FLOAT
	.word	524287
	.size	hScale16To19_c, .-hScale16To19_c
	.comm	AV_PIX_FMT_PAL8,4,4
	.comm	AV_PIX_FMT_FLAG_FLOAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
