	.file	"extr_hb.c_hb_picture_crop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hb_picture_crop
	.type	hb_picture_crop, @function
hb_picture_crop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rdx]
	mov	ebx, ecx
	call	av_pix_fmt_desc_get@PLT
	test	rax, rax
	je	.L3
	mov	ecx, DWORD PTR 4[rax]
	mov	edi, DWORD PTR [rax]
	movsx	r8, ebp
	mov	rax, QWORD PTR [r14]
	mov	esi, DWORD PTR [rax]
	mov	edx, esi
	imul	edx, ebx
	sar	ebx, cl
	mov	ecx, edi
	sar	ebp, cl
	movsx	rbp, ebp
	movsx	rdx, edx
	add	rdx, r8
	mov	r8, QWORD PTR 8[rax]
	lea	rdx, [r8+rdx*4]
	mov	QWORD PTR [r12], rdx
	mov	edx, DWORD PTR 16[rax]
	mov	rcx, QWORD PTR 24[rax]
	imul	edx, ebx
	imul	ebx, DWORD PTR 32[rax]
	movsx	rdx, edx
	add	rdx, rbp
	movsx	rbx, ebx
	lea	rdx, [rcx+rdx*4]
	add	rbx, rbp
	mov	QWORD PTR 8[r12], rdx
	mov	rdx, QWORD PTR 40[rax]
	mov	QWORD PTR 24[r12], 0
	lea	rdx, [rdx+rbx*4]
	mov	QWORD PTR 16[r12], rdx
	mov	DWORD PTR 0[r13], esi
	mov	edx, DWORD PTR 16[rax]
	mov	DWORD PTR 4[r13], edx
	mov	eax, DWORD PTR 32[rax]
	mov	DWORD PTR 12[r13], 0
	mov	DWORD PTR 8[r13], eax
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hb_picture_crop, .-hb_picture_crop
	.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_hb.c_hb_picture_crop.c"
	.text
	.align	2
	.global	hb_picture_crop
	.syntax unified
	.arm
	.fpu softvfp
	.type	hb_picture_crop, %function
hb_picture_crop:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r0, [r2, #4]
	mov	r6, r2
	mov	r4, r1
	mov	r7, r3
	ldr	r8, [sp, #32]
	bl	av_pix_fmt_desc_get
	cmp	r0, #0
	beq	.L3
	mov	ip, #0
	ldr	r2, [r6]
	ldr	r3, [r0]
	ldr	lr, [r2]
	ldr	r0, [r0, #4]
	mla	r9, r7, lr, r8
	ldr	r6, [r2, #4]
	asr	r1, r8, r3
	asr	r3, r7, r0
	ldr	r0, [r2, #8]
	add	r7, r6, r9, lsl #2
	mla	r6, r0, r3, r1
	str	r7, [r5]
	ldr	r0, [r2, #12]
	ldr	r7, [r2, #16]
	add	r0, r0, r6, lsl #2
	mla	r3, r7, r3, r1
	str	r0, [r5, #4]
	ldr	r1, [r2, #20]
	str	ip, [r5, #12]
	add	r3, r1, r3, lsl #2
	str	r3, [r5, #8]
	str	lr, [r4]
	ldr	r3, [r2, #8]
	mov	r0, ip
	str	r3, [r4, #4]
	ldr	r3, [r2, #16]
	str	ip, [r4, #12]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	hb_picture_crop, .-hb_picture_crop
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
