	.file	"extr_mpegenc.c_get_vcd_padding_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_vcd_padding_size, @function
get_vcd_padding_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	xor	eax, eax
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jle	.L1
	cmp	QWORD PTR AV_NOPTS_VALUE[rip], rsi
	jne	.L7
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	imul	rdx, QWORD PTR VCD_PADDING_BITRATE_DEN[rip], 720000
	call	av_rescale@PLT
	mov	edx, 0
	sub	eax, DWORD PTR 8[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	cmovs	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	get_vcd_padding_size, .-get_vcd_padding_size
	.comm	VCD_PADDING_BITRATE_DEN,8,8
	.comm	AV_NOPTS_VALUE,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_mpegenc.c_get_vcd_padding_size.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_vcd_padding_size, %function
get_vcd_padding_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	ldr	r0, [r4]
	cmp	r0, #0
	ble	.L4
	ldr	r2, .L8
	ldr	r2, [r2]
	cmp	r2, r1
	bne	.L7
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L8+4
	ldr	r6, [r3]
	ldr	r5, [r3, #4]
	adds	ip, r6, r6
	adc	lr, r5, r5
	adds	ip, ip, r6
	adc	lr, lr, r5
	lsl	r3, ip, #2
	lsl	lr, lr, #2
	orr	lr, lr, ip, lsr #30
	subs	ip, r3, r6
	sbc	lr, lr, r5
	lsl	r3, ip, #7
	lsl	lr, lr, #7
	orr	lr, lr, ip, lsr #25
	adds	ip, r3, r6
	adc	lr, lr, r5
	lsl	r3, lr, #9
	lsl	r2, ip, #9
	subs	r2, r2, ip
	orr	r3, r3, ip, lsr #23
	sbc	r3, r3, lr
	adds	r2, r2, r6
	adc	r3, r3, r5
	bl	av_rescale
	ldr	r3, [r4, #4]
	sub	r0, r0, r3
	bic	r0, r0, r0, asr #31
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	AV_NOPTS_VALUE
	.word	VCD_PADDING_BITRATE_DEN
	.size	get_vcd_padding_size, .-get_vcd_padding_size
	.comm	VCD_PADDING_BITRATE_DEN,8,8
	.comm	AV_NOPTS_VALUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
