	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_resizer_max_rate      ## -- Begin function omap3isp_resizer_max_rate
	.p2align	4, 0x90
_omap3isp_resizer_max_rate:             ## @omap3isp_resizer_max_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	addq	$16, %rdi
	callq	_to_isp_pipeline
	movq	8(%r15), %r12
	movq	_RESZ_PAD_SOURCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movq	(%rax), %rdi
	movl	$200000000, %esi                ## imm = 0xBEBC200
	callq	_min
	movq	%rax, %rbx
	movl	(%r15), %edi
	imull	%ebx, %edi
	movl	4(%r12,%r13,8), %esi
	callq	_div_u64
	shrq	%rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_min
	imull	4(%r15), %eax
	movl	(%r12,%r13,8), %esi
	movl	%eax, %edi
	callq	_div_u64
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESZ_PAD_SOURCE,8,3            ## @RESZ_PAD_SOURCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_resizer_max_rate      ; -- Begin function omap3isp_resizer_max_rate
	.p2align	2
_omap3isp_resizer_max_rate:             ; @omap3isp_resizer_max_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #16
	bl	_to_isp_pipeline
	ldr	x22, [x20, #8]
Lloh0:
	adrp	x8, _RESZ_PAD_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESZ_PAD_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	x0, [x0]
	mov	w1, #49664
	movk	w1, #3051, lsl #16
	bl	_min
	mov	x21, x0
	ldr	w8, [x20]
	mul	w0, w8, w21
	add	x22, x22, x23, lsl #3
	ldr	w1, [x22, #4]
	bl	_div_u64
	lsr	x1, x21, #1
	bl	_min
	ldr	w8, [x20, #4]
	mul	w0, w8, w0
	ldr	w1, [x22]
	bl	_div_u64
	str	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RESZ_PAD_SOURCE,8,3            ; @RESZ_PAD_SOURCE
.subsections_via_symbols
