	.file	"extr_ispresizer.c_omap3isp_resizer_max_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	omap3isp_resizer_max_rate
	.type	omap3isp_resizer_max_rate, @function
omap3isp_resizer_max_rate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	lea	rdi, 16[rdi]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	to_isp_pipeline@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	esi, 200000000
	mov	rcx, QWORD PTR RESZ_PAD_SOURCE[rip]
	mov	rdi, QWORD PTR [rax]
	lea	r13, [rdx+rcx*8]
	call	min@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[r13]
	mov	rbp, rax
	imul	edi, eax
	call	div_u64@PLT
	mov	rsi, rbp
	mov	rdi, rax
	shr	rsi
	call	min@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 0[r13]
	imul	edi, eax
	call	div_u64@PLT
	mov	DWORD PTR [r12], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	omap3isp_resizer_max_rate, .-omap3isp_resizer_max_rate
	.comm	RESZ_PAD_SOURCE,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_ispresizer.c_omap3isp_resizer_max_rate.c"
	.text
	.align	2
	.global	omap3isp_resizer_max_rate
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap3isp_resizer_max_rate, %function
omap3isp_resizer_max_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	add	r0, r0, #12
	mov	r6, r1
	bl	to_isp_pipeline
	ldr	r3, .L4
	ldr	r1, .L4+4
	ldr	r0, [r0]
	ldr	r7, [r4, #8]
	ldr	r8, [r3]
	bl	min
	mov	r5, r0
	ldr	r0, [r4]
	add	r3, r7, r8, lsl #3
	ldr	r1, [r3, #4]
	mul	r0, r5, r0
	bl	div_u64
	lsr	r1, r5, #1
	bl	min
	ldr	r3, [r4, #4]
	ldr	r1, [r7, r8, lsl #3]
	mul	r0, r3, r0
	bl	div_u64
	str	r0, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	RESZ_PAD_SOURCE
	.word	200000000
	.size	omap3isp_resizer_max_rate, .-omap3isp_resizer_max_rate
	.comm	RESZ_PAD_SOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
