	.file	"433717.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: 'tsmodder input.ts [b:buffer_size] +0 pat.ts +pid pmt.ts +pid nit.ts  ... '\n"
	.align 8
.LC1:
	.string	"'+pid file.ts' change the packets with 'pid' with the packets from the file.ts\n"
	.align 8
.LC2:
	.string	"'b:buffer_size' set size of the internal buffer to many packets as buffer_size\n"
	.text
	.globl	Usage
	.type	Usage, @function
Usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 83
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Usage, .-Usage
	.section	.rodata
.LC3:
	.string	"Can't find file %s\n"
.LC4:
	.string	"Modify pid %d with %s\n"
.LC5:
	.string	"Out of memory!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -114688[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -114772[rbp], edi
	mov	QWORD PTR -114784[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -114756[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -114756[rbp]
	mov	DWORD PTR -114720[rbp+rax*4], -1
	mov	eax, DWORD PTR -114756[rbp]
	mov	QWORD PTR -81952[rbp+rax*8], 0
	add	DWORD PTR -114756[rbp], 1
.L3:
	cmp	DWORD PTR -114756[rbp], 8191
	jbe	.L4
	lea	rax, -16416[rbp]
	mov	edx, 8192
	mov	esi, 16
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -8224[rbp]
	mov	edx, 8192
	mov	esi, 16
	mov	rdi, rax
	call	memset@PLT
	cmp	DWORD PTR -114772[rbp], 2
	jg	.L5
	call	Usage
	mov	eax, 2
	jmp	.L26
.L5:
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -114744[rbp], eax
	cmp	DWORD PTR -114744[rbp], 0
	jns	.L7
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L26
.L7:
	mov	DWORD PTR -114748[rbp], 0
	mov	DWORD PTR -114756[rbp], 2
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -114756[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 98
	jne	.L9
	mov	eax, DWORD PTR -114756[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L9
	mov	eax, DWORD PTR -114756[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -114748[rbp], eax
	add	DWORD PTR -114756[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -114756[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -114758[rbp], ax
	movzx	eax, WORD PTR -114758[rbp]
	cmp	ax, 8191
	ja	.L10
	mov	eax, DWORD PTR -114756[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	movzx	eax, WORD PTR -114758[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -114756[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	edx, WORD PTR -114758[rbp]
	movzx	ebx, dx
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	movsx	rdx, ebx
	mov	DWORD PTR -114720[rbp+rdx*4], eax
	mov	eax, DWORD PTR -114756[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	mov	rdx, QWORD PTR [rdx]
	cdqe
	mov	QWORD PTR -81952[rbp+rax*8], rdx
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	eax, DWORD PTR -114720[rbp+rax*4]
	test	eax, eax
	jns	.L10
	mov	eax, DWORD PTR -114756[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -114784[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L26
.L10:
	add	DWORD PTR -114756[rbp], 2
.L8:
	mov	eax, DWORD PTR -114772[rbp]
	cmp	DWORD PTR -114756[rbp], eax
	jb	.L11
	cmp	DWORD PTR -114748[rbp], 0
	jg	.L12
	mov	DWORD PTR -114748[rbp], 1
.L12:
	mov	eax, DWORD PTR -114748[rbp]
	imul	eax, eax, 188
	mov	DWORD PTR -114748[rbp], eax
	mov	eax, DWORD PTR -114748[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -114736[rbp], rax
	cmp	QWORD PTR -114736[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L26
.L13:
	mov	DWORD PTR -114752[rbp], 1
	jmp	.L14
.L25:
	mov	eax, DWORD PTR -114748[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -114736[rbp]
	mov	eax, DWORD PTR -114744[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -114752[rbp], eax
	mov	DWORD PTR -114756[rbp], 0
	jmp	.L15
.L24:
	mov	edx, DWORD PTR -114756[rbp]
	mov	rax, QWORD PTR -114736[rbp]
	add	rax, rdx
	mov	QWORD PTR -114728[rbp], rax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 1
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -114758[rbp], ax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	mov	WORD PTR -114758[rbp], ax
	movzx	eax, WORD PTR -114758[rbp]
	and	ax, 8191
	mov	WORD PTR -114758[rbp], ax
	movzx	eax, WORD PTR -114758[rbp]
	cmp	ax, 8191
	ja	.L16
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	eax, DWORD PTR -114720[rbp+rax*4]
	cmp	eax, -1
	je	.L16
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	eax, DWORD PTR -114720[rbp+rax*4]
	mov	rcx, QWORD PTR -114728[rbp]
	mov	edx, 188
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -114740[rbp], eax
	cmp	DWORD PTR -114740[rbp], 0
	jg	.L17
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	eax, DWORD PTR -114720[rbp+rax*4]
	mov	edi, eax
	call	close@PLT
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	rax, QWORD PTR -81952[rbp+rax*8]
	movzx	edx, WORD PTR -114758[rbp]
	movzx	ebx, dx
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	movsx	rdx, ebx
	mov	DWORD PTR -114720[rbp+rdx*4], eax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	eax, DWORD PTR -114720[rbp+rax*4]
	mov	rcx, QWORD PTR -114728[rbp]
	mov	edx, 188
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -114740[rbp], eax
.L17:
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	cmp	al, 16
	jne	.L18
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	and	edx, 15
	cdqe
	mov	BYTE PTR -16416[rbp+rax], dl
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	and	edx, 15
	cdqe
	mov	BYTE PTR -8224[rbp+rax], dl
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sar	eax, 4
	and	eax, 3
	mov	BYTE PTR -114759[rbp], al
	cmp	BYTE PTR -114759[rbp], 0
	je	.L19
	cmp	BYTE PTR -114759[rbp], 2
	jne	.L20
.L19:
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	mov	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	and	eax, -16
	or	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	jmp	.L16
.L20:
	cmp	BYTE PTR -114759[rbp], 1
	jne	.L21
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	mov	edx, eax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -8224[rbp+rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L21
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	mov	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	and	eax, -16
	or	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	BYTE PTR -8224[rbp+rax], 16
	jmp	.L16
.L21:
	cmp	BYTE PTR -114759[rbp], 3
	jne	.L22
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	mov	edx, eax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -8224[rbp+rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L22
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	mov	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	and	eax, -16
	or	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	BYTE PTR -8224[rbp+rax], 16
	jmp	.L16
.L22:
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	and	edx, 15
	cdqe
	mov	BYTE PTR -8224[rbp+rax], dl
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	movzx	eax, al
	add	eax, 1
	cdq
	shr	edx, 28
	add	eax, edx
	and	eax, 15
	sub	eax, edx
	mov	edx, eax
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	mov	BYTE PTR -16416[rbp+rax], dl
	movzx	eax, WORD PTR -114758[rbp]
	movzx	eax, ax
	cdqe
	movzx	eax, BYTE PTR -16416[rbp+rax]
	mov	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	and	eax, -16
	or	edx, eax
	mov	rax, QWORD PTR -114728[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
.L16:
	add	DWORD PTR -114756[rbp], 188
.L15:
	mov	eax, DWORD PTR -114748[rbp]
	cmp	DWORD PTR -114756[rbp], eax
	jnb	.L23
	cmp	DWORD PTR -114752[rbp], 0
	jne	.L24
.L23:
	cmp	DWORD PTR -114752[rbp], 0
	je	.L14
	mov	eax, DWORD PTR -114748[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -114736[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
.L14:
	cmp	DWORD PTR -114752[rbp], 0
	jne	.L25
	mov	eax, 0
.L26:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"433717.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: 'tsmodder input.ts [b:buffer_size] +0 pat.ts"
	.ascii	" +pid pmt.ts +pid nit.ts  ... '\012\000"
	.align	2
.LC1:
	.ascii	"'+pid file.ts' change the packets with 'pid' with t"
	.ascii	"he packets from the file.ts\012\000"
	.align	2
.LC2:
	.ascii	"'b:buffer_size' set size of the internal buffer to "
	.ascii	"many packets as buffer_size\012\000"
	.text
	.align	2
	.global	Usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	Usage, %function
Usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #83
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L2+8
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L2+12
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	Usage, .-Usage
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Can't find file %s\012\000"
	.align	2
.LC4:
	.ascii	"Modify pid %d with %s\012\000"
	.align	2
.LC5:
	.ascii	"Out of memory!\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 81968
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #81920
	sub	sp, sp, #52
	sub	r3, fp, #81920
	sub	r3, r3, #12
	str	r0, [r3, #-44]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	str	r1, [r3, #-48]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L5
.L6:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L5:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #8192
	bcc	.L6
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #8192
	mov	r1, #16
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #8192
	mov	r1, #16
	mov	r0, r3
	bl	memset
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #2
	bgt	.L7
	bl	Usage
	mov	r3, #2
	b	.L28
.L7:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-20]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bge	.L9
	ldr	r3, .L30+4
	ldr	r0, [r3]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+8
	bl	fprintf
	mov	r3, #2
	b	.L28
.L9:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-32]
	b	.L10
.L13:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L11
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L11
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-24]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
	b	.L10
.L11:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r2, fp, #81920
	sub	r2, r2, #12
	strh	r3, [r2, #-34]	@ movhi
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	cmp	r3, #8192
	bcs	.L12
	ldr	r3, .L30+4
	ldr	r0, [r3]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	mov	r1, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L30+12
	bl	fprintf
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r2, r0
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r0, r2
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r0, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmp	r3, #0
	bge	.L12
	ldr	r3, .L30+4
	ldr	r0, [r3]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+8
	bl	fprintf
	mov	r3, #2
	b	.L28
.L12:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #2
	str	r3, [r2, #-32]
.L10:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	cmp	r2, r3
	bcc	.L13
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bgt	.L14
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-24]
.L14:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r2, [r3, #-24]
	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, [r1, #-24]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-16]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L30+16
	bl	fwrite
	mov	r3, #2
	b	.L28
.L15:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-28]
	b	.L16
.L27:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, [r1, #-16]
	ldr	r0, [r0, #-20]
	bl	read
	str	r0, [r4, #-28]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L17
.L26:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #-32]
	add	r3, r2, r3
	str	r3, [r1, #-12]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r1, r3, #1
	sub	r3, fp, #81920
	sub	r3, r3, #12
	sub	r3, r3, #34
	mov	r2, #2
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	strh	r2, [r3, #-34]	@ movhi
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r2, fp, #81920
	sub	r2, r2, #12
	strh	r3, [r2, #-34]	@ movhi
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	cmp	r3, #8192
	bcs	.L18
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmn	r3, #1
	beq	.L18
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, #188
	ldr	r1, [r1, #-12]
	mov	r0, r3
	bl	read
	str	r0, [r4, #-8]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bgt	.L19
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	mov	r0, r3
	bl	close
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r2, r0
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, #188
	ldr	r1, [r1, #-12]
	mov	r0, r3
	bl	read
	str	r0, [r4, #-8]
.L19:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #16
	bne	.L20
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r1, r2
	and	r3, r3, #15
	and	r2, r3, #255
	sub	r3, fp, #16384
	sub	r3, r3, #12
	add	r3, r3, r1
	strb	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r1, r2
	and	r3, r3, #15
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r1
	strb	r2, [r3, #-4]
	b	.L18
.L20:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	asr	r3, r3, #4
	and	r3, r3, #255
	sub	r2, fp, #81920
	sub	r2, r2, #12
	and	r3, r3, #3
	strb	r3, [r2, #-35]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrb	r3, [r3, #-35]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrb	r3, [r3, #-35]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L22
.L21:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	bic	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L18
.L22:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrb	r3, [r3, #-35]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L23
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	add	r2, r1, r2
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L23
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	bic	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #16
	strb	r2, [r3, #-4]
	b	.L18
.L23:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrb	r3, [r3, #-35]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	add	r2, r1, r2
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	bic	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #16
	strb	r2, [r3, #-4]
	b	.L18
.L24:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r1, r2
	and	r3, r3, #15
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r1
	strb	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	add	r3, r3, #1
	rsbs	r2, r3, #0
	and	r3, r3, #15
	and	r2, r2, #15
	rsbpl	r3, r2, #0
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldrh	r2, [r2, #-34]
	mov	r1, r2
	and	r2, r3, #255
	sub	r3, fp, #16384
	sub	r3, r3, #12
	add	r3, r3, r1
	strb	r2, [r3, #-4]
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	bic	r3, r3, #15
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
.L18:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #188
	str	r3, [r2, #-32]
.L17:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	cmp	r2, r3
	bcs	.L25
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L26
.L25:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r2, fp, #81920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-16]
	mov	r0, #1
	bl	write
.L16:
	sub	r3, fp, #81920
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
