	.file	"extr_scaletempo.c_calculate_output_buffer_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	calculate_output_buffer_size, @function
calculate_output_buffer_size:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR [rdi]
	xor	eax, eax
	mov	edx, DWORD PTR 8[rcx]
	add	esi, DWORD PTR [rcx]
	sub	esi, DWORD PTR 4[rcx]
	cmp	edx, esi
	jg	.L1
	mov	eax, DWORD PTR 16[rcx]
	sub	esi, edx
	add	eax, esi
	cdq
	idiv	DWORD PTR 20[rcx]
	add	eax, 1
	imul	eax, DWORD PTR 12[rcx]
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	calculate_output_buffer_size, .-calculate_output_buffer_size
	.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_scaletempo.c_calculate_output_buffer_size.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculate_output_buffer_size, %function
calculate_output_buffer_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	add	r1, r1, r3
	ldr	r3, [r4, #8]
	sub	r1, r1, r0
	cmp	r3, r1
	bgt	.L3
	ldr	r0, [r4, #16]
	sub	r1, r1, r3
	add	r0, r1, r0
	ldr	r1, [r4, #20]
	bl	__aeabi_idiv
	ldr	r3, [r4, #12]
	add	r0, r0, #1
	mul	r0, r3, r0
	pop	{r4, pc}
.L3:
	mov	r0, #0
	pop	{r4, pc}
	.size	calculate_output_buffer_size, .-calculate_output_buffer_size
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
