	.file	"110888.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: tsdiscont inputfile.ts > outputfile.ts\n"
	.align 8
.LC1:
	.string	"N.B: this tool will check for and fix discontinuity problems\n"
	.align 8
.LC2:
	.string	"If discontinuity is found on packet without pcr it is set to 0\n"
	.align 8
.LC3:
	.string	"If discontinuity is not found on first pcr packet it is set to 1\n"
.LC4:
	.string	"Can't find file %s\n"
.LC5:
	.string	"out of memory\n"
	.align 8
.LC6:
	.string	"PID: %d, Pos: %lld  - First Pcr Discont : %X\n"
	.align 8
.LC7:
	.string	"PID: %d, Pos: %lld  - Fixed first pcr discontinuity flag\n"
	.align 8
.LC8:
	.string	"PID: %d, Pos: %lld  - Invalid packet found\n"
	.align 8
.LC9:
	.string	"PID: %d, Pos: %lld  - Invalid adaptation field flag found : %X\n"
	.align 8
.LC10:
	.string	"PID: %d, Pos: %lld  - discontinuity found with pcr : %X\n"
	.align 8
.LC11:
	.string	"PID: %d, Pos: %lld  - Fixing discontinuity found WITHOUT pcr : %X\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	BYTE PTR -67[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	cmp	DWORD PTR -84[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L5
	jmp	.L24
.L2:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 61
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 63
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 65
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L22
.L5:
	mov	DWORD PTR -40[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, eax, 188
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L22
.L6:
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -64[rbp], 1
	jmp	.L7
.L21:
	mov	edx, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L8
.L20:
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -66[rbp], ax
	movzx	eax, WORD PTR -66[rbp]
	movzx	eax, ax
	mov	edi, eax
	mov	eax, 0
	call	ntohs@PLT
	mov	WORD PTR -66[rbp], ax
	movzx	eax, WORD PTR -66[rbp]
	and	ax, 8191
	mov	WORD PTR -66[rbp], ax
	movzx	eax, WORD PTR -66[rbp]
	cmp	ax, 8191
	ja	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 32
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L9
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 16
	test	eax, eax
	je	.L9
	mov	DWORD PTR -56[rbp], 1
	cmp	DWORD PTR -52[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	shr	al, 7
	movzx	eax, al
	mov	DWORD PTR -60[rbp], eax
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -60[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	r8d, esi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -60[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	or	edx, -128
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	mov	DWORD PTR -52[rbp], 1
	jmp	.L12
.L9:
	mov	DWORD PTR -56[rbp], 0
.L12:
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	and	eax, 3
	mov	BYTE PTR -67[rbp], al
	cmp	BYTE PTR -67[rbp], 0
	jne	.L13
	mov	DWORD PTR -44[rbp], 188
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L14
.L13:
	cmp	BYTE PTR -67[rbp], 1
	jne	.L15
	mov	DWORD PTR -44[rbp], 4
	jmp	.L14
.L15:
	cmp	BYTE PTR -67[rbp], 2
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	shr	al, 7
	movzx	eax, al
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -44[rbp], 188
	jmp	.L14
.L16:
	cmp	BYTE PTR -67[rbp], 3
	jne	.L17
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	shr	al, 7
	movzx	eax, al
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, 5
	mov	DWORD PTR -44[rbp], eax
	jmp	.L14
.L17:
	mov	DWORD PTR -44[rbp], 188
	movzx	esi, BYTE PTR -67[rbp]
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	r8d, esi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L14:
	cmp	DWORD PTR -60[rbp], 0
	je	.L18
	cmp	DWORD PTR -56[rbp], 0
	je	.L19
	movzx	esi, BYTE PTR -67[rbp]
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	r8d, esi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L18
.L19:
	movzx	esi, BYTE PTR -67[rbp]
	movzx	eax, WORD PTR -66[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	r8d, esi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 5
	and	edx, 127
	mov	BYTE PTR [rax], dl
.L18:
	add	QWORD PTR -32[rbp], 1
	add	DWORD PTR -48[rbp], 188
.L8:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jb	.L20
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
.L7:
	cmp	DWORD PTR -64[rbp], 0
	jne	.L21
	mov	eax, 0
.L22:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"110888.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: tsdiscont inputfile.ts > outputfile.ts\012\000"
	.align	2
.LC1:
	.ascii	"N.B: this tool will check for and fix discontinuity"
	.ascii	" problems\012\000"
	.align	2
.LC2:
	.ascii	"If discontinuity is found on packet without pcr it "
	.ascii	"is set to 0\012\000"
	.align	2
.LC3:
	.ascii	"If discontinuity is not found on first pcr packet i"
	.ascii	"t is set to 1\012\000"
	.align	2
.LC4:
	.ascii	"Can't find file %s\012\000"
	.align	2
.LC5:
	.ascii	"out of memory\012\000"
	.align	2
.LC6:
	.ascii	"PID: %d, Pos: %lld  - First Pcr Discont : %X\012\000"
	.align	2
.LC7:
	.ascii	"PID: %d, Pos: %lld  - Fixed first pcr discontinuity"
	.ascii	" flag\012\000"
	.align	2
.LC8:
	.ascii	"PID: %d, Pos: %lld  - Invalid packet found\012\000"
	.align	2
.LC9:
	.ascii	"PID: %d, Pos: %lld  - Invalid adaptation field flag"
	.ascii	" found : %X\012\000"
	.align	2
.LC10:
	.ascii	"PID: %d, Pos: %lld  - discontinuity found with pcr "
	.ascii	": %X\012\000"
	.align	2
.LC11:
	.ascii	"PID: %d, Pos: %lld  - Fixing discontinuity found WI"
	.ascii	"THOUT pcr : %X\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	strb	r3, [fp, #-71]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L5
	b	.L24
.L2:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L25+8
	bl	fwrite
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #61
	mov	r1, #1
	ldr	r0, .L25+12
	bl	fwrite
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #63
	mov	r1, #1
	ldr	r0, .L25+16
	bl	fwrite
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #65
	mov	r1, #1
	ldr	r0, .L25+20
	bl	fwrite
	mov	r3, #2
	b	.L22
.L24:
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L25+24
	bl	fprintf
	mov	r3, #2
	b	.L22
.L5:
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	r0, [fp, #-44]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L25+28
	bl	fwrite
	mov	r3, #2
	b	.L22
.L6:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L7
.L21:
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-40]
	bl	read
	str	r0, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L8
.L20:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	sub	r3, fp, #70
	mov	r2, #2
	mov	r0, r3
	bl	memcpy
	ldrh	r3, [fp, #-70]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-70]	@ movhi
	ldrh	r3, [fp, #-70]
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-70]	@ movhi
	ldrh	r3, [fp, #-70]
	cmp	r3, #8192
	bcs	.L9
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L9
	mov	r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	str	r3, [fp, #-64]
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	ldr	r3, [fp, #-64]
	str	r3, [sp, #8]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+32
	bl	fprintf
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	add	r2, r2, #5
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	and	r3, r3, #255
	strb	r3, [r2]
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+36
	bl	fprintf
.L11:
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L12
.L9:
	mov	r3, #0
	str	r3, [fp, #-60]
.L12:
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #3
	strb	r3, [fp, #-71]
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	mov	r3, #188
	str	r3, [fp, #-48]
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+40
	bl	fprintf
	b	.L14
.L13:
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L15
	mov	r3, #4
	str	r3, [fp, #-48]
	b	.L14
.L15:
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L16
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	str	r3, [fp, #-64]
	mov	r3, #188
	str	r3, [fp, #-48]
	b	.L14
.L16:
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L17
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #5
	str	r3, [fp, #-48]
	b	.L14
.L17:
	mov	r3, #188
	str	r3, [fp, #-48]
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	str	r3, [sp, #8]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+44
	bl	fprintf
.L14:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	str	r3, [sp, #8]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+48
	bl	fprintf
	b	.L18
.L19:
	ldr	r3, .L25+4
	ldr	r0, [r3]
	ldrh	r3, [fp, #-70]
	mov	r1, r3
	ldrb	r3, [fp, #-71]	@ zero_extendqisi2
	str	r3, [sp, #8]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L25+52
	bl	fprintf
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	and	r2, r2, #127
	and	r2, r2, #255
	strb	r2, [r3]
.L18:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	ldr	r3, [fp, #-52]
	add	r3, r3, #188
	str	r3, [fp, #-52]
.L8:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L20
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-36]
	mov	r0, #1
	bl	write
.L7:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
.L22:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC12
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
