	.file	"extr_es.c_A52Init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	A52Init, @function
A52Init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR VLC_A52_MIN_HEADER_SIZE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	movabs	rax, 4398046511104
	mov	QWORD PTR 0[rbp], rax
	mov	edi, DWORD PTR [rdi]
	call	vlc_stream_Peek@PLT
	cmp	rax, QWORD PTR VLC_A52_MIN_HEADER_SIZE[rip]
	jge	.L6
.L2:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	mov	ecx, 1
	xor	edx, edx
	mov	rsi, rbp
	call	A52CheckSync@PLT
	jmp	.L2
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	A52Init, .-A52Init
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_A52_MIN_HEADER_SIZE,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_es.c_A52Init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	A52Init, %function
A52Init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r3, #1024
	mov	r6, #0
	ldr	r4, [r0, #4]
	ldr	r5, .L8
	ldr	r2, .L8+4
	sub	sp, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r0, [r0]
	mov	r1, sp
	str	r3, [r4, #4]
	ldr	r2, [r5]
	str	r6, [r4]
	bl	vlc_stream_Peek
	ldr	r3, [r5]
	cmp	r0, r3
	bge	.L6
.L2:
	ldr	r3, .L8+8
	ldr	r0, [r3]
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mov	r2, r6
	mov	r1, r4
	mov	r3, #1
	ldr	r0, [sp]
	bl	A52CheckSync
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	VLC_A52_MIN_HEADER_SIZE
	.word	.LC0
	.word	VLC_SUCCESS
	.size	A52Init, .-A52Init
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_A52_MIN_HEADER_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
