	.file	"extr_ts.c_GetPMT.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	GetPMT, @function
GetPMT:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r11, rdi
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -88[rbp], rsi
	mov	r15, QWORD PTR 16[rdi]
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR [rdi]
	mov	r13, rax
	sal	rax, 5
	mov	rdx, rax
	and	rdx, -4096
	sub	rcx, rdx
	mov	rdx, rcx
	cmp	rsp, rdx
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L17
.L3:
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L18
.L4:
	mov	rbx, rsp
	mov	QWORD PTR -112[rbp], rbx
	test	r13d, r13d
	jle	.L5
	lea	rax, -60[rbp]
	xor	r12d, r12d
	mov	QWORD PTR -80[rbp], rax
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 8[r11]
	mov	edx, DWORD PTR 40[r15]
	mov	ecx, 4
	mov	QWORD PTR -72[rbp], r11
	mov	esi, DWORD PTR 44[r15]
	mov	r8d, DWORD PTR intcompare[rip]
	mov	r13, QWORD PTR [rax+r12*8]
	mov	rdi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 0[r13]
	mov	r14, QWORD PTR 8[r13]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	call	bsearch@PLT
	xor	edx, edx
	mov	r11, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L6
	mov	edx, DWORD PTR [rax]
.L6:
	mov	rax, QWORD PTR 0[r13]
	mov	r13d, DWORD PTR [r11]
	add	r12, 1
	mov	DWORD PTR 24[rbx], edx
	mov	QWORD PTR [rbx], r14
	add	rbx, 32
	mov	QWORD PTR -16[rbx], rax
	lea	rax, 4[r14]
	mov	QWORD PTR -24[rbx], rax
	cmp	r13d, r12d
	jg	.L7
.L5:
	mov	rax, QWORD PTR 16[r15]
	mov	r9d, DWORD PTR [r15]
	mov	rdi, r11
	mov	r10d, DWORD PTR 4[r15]
	mov	ecx, DWORD PTR 8[r15]
	mov	rax, QWORD PTR [rax]
	mov	r8, QWORD PTR BufferChainAppend[rip]
	mov	DWORD PTR -100[rbp], r9d
	mov	r14d, DWORD PTR 24[r15]
	mov	ebx, DWORD PTR 28[r15]
	mov	DWORD PTR -96[rbp], r10d
	mov	edx, DWORD PTR [rax]
	mov	r12d, DWORD PTR 32[r15]
	mov	DWORD PTR -92[rbp], ecx
	mov	QWORD PTR -72[rbp], r8
	mov	DWORD PTR -80[rbp], edx
	call	VLC_OBJECT@PLT
	mov	r9d, DWORD PTR -100[rbp]
	mov	r10d, DWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	esi, eax
	mov	edi, DWORD PTR 36[r15]
	mov	r8, QWORD PTR -72[rbp]
	push	QWORD PTR -112[rbp]
	push	r13
	push	r9
	mov	r9d, ebx
	push	r10
	lea	r10, 12[r15]
	push	rcx
	mov	rcx, QWORD PTR -88[rbp]
	push	r10
	push	rdx
	mov	edx, r12d
	push	r14
	call	BuildPMT@PLT
	add	rsp, 64
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	GetPMT, .-GetPMT
	.comm	intcompare,4,4
	.comm	BufferChainAppend,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_ts.c_GetPMT.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetPMT, %function
GetPMT:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r2, sp
	ldr	r3, [r0]
	str	r1, [fp, #-52]
	sub	r2, r2, r3, lsl #4
	mov	sp, r2
	cmp	r3, #0
	ldr	r3, .L11
	mov	r9, r0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r3, sp, #40
	ldr	r7, [r0, #8]
	str	r3, [fp, #-48]
	ble	.L2
	mov	r4, r3
	mov	r5, #0
	ldr	r10, .L11+4
.L4:
	ldr	r3, [r9, #4]
	ldr	r2, [r7, #36]
	ldr	r6, [r3, r5, lsl #2]
	ldr	r3, [r10]
	ldr	r0, [r6]
	ldr	r8, [r6, #4]
	ldr	ip, [r0]
	ldr	r1, [r7, #40]
	sub	r0, fp, #44
	str	r3, [sp]
	mov	r3, #4
	str	ip, [fp, #-44]
	bl	bsearch
	ldr	r3, [r9]
	cmp	r0, #0
	ldrne	r0, [r0]
	ldr	r2, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	add	r3, r8, #4
	str	r2, [r4, #8]
	str	r0, [r4, #12]
	str	r3, [r4, #4]
	str	r8, [r4], #16
	bgt	.L4
.L2:
	mov	r0, r9
	ldr	r4, [r7, #32]
	bl	VLC_OBJECT
	ldr	r3, [r9]
	ldr	r2, [r7, #28]
	str	r3, [sp, #32]
	ldr	r3, [fp, #-48]
	add	ip, r7, #12
	str	r3, [sp, #36]
	ldr	r3, [r7]
	mov	r1, r0
	str	r3, [sp, #28]
	ldr	r3, [r7, #4]
	ldr	r0, .L11+8
	str	r3, [sp, #24]
	ldr	r3, [r7, #8]
	str	ip, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [r7, #16]
	ldr	ip, [r0]
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	ldr	lr, [r7, #20]
	ldr	r3, [fp, #-52]
	str	lr, [sp, #8]
	ldr	lr, [r7, #24]
	stm	sp, {ip, lr}
	bl	BuildPMT
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	intcompare
	.word	BufferChainAppend
	.size	GetPMT, .-GetPMT
	.comm	intcompare,4,4
	.comm	BufferChainAppend,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
