	.file	"extr_308.c_pkg_send.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Could not send HTTP header"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"\t- Sending valid HTTP header..\n"
	.section	.rodata.str1.1
.LC2:
	.string	"Could not send m3u header"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"\t- Sending valid m3u header..\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Could not send payload"
.LC5:
	.string	"\t- Sending payload package..\n"
	.text
	.p2align 4
	.globl	pkg_send
	.type	pkg_send, @function
pkg_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	lea	rbx, .LC0[rip]
	mov	DWORD PTR i[rip], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	cmp	eax, 7
	jg	.L11
.L3:
	mov	rdx, QWORD PTR http[rip]
	cdqe
	mov	rdi, QWORD PTR [rdx+rax*8]
	call	strlen@PLT
	movsx	rcx, DWORD PTR i[rip]
	mov	edi, ebp
	mov	edx, eax
	mov	rax, QWORD PTR http[rip]
	mov	rsi, QWORD PTR [rax+rcx*8]
	xor	ecx, ecx
	call	send@PLT
	cmp	eax, -1
	jne	.L2
	mov	rdi, rbx
	call	die@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	lea	rbx, .LC2[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	sleep@PLT
	xor	eax, eax
	mov	DWORD PTR i[rip], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	cmp	eax, 2
	jg	.L12
.L5:
	mov	rdx, QWORD PTR m3umuxor[rip]
	cdqe
	mov	rdi, QWORD PTR [rdx+rax*8]
	call	strlen@PLT
	movsx	rcx, DWORD PTR i[rip]
	mov	edi, ebp
	mov	edx, eax
	mov	rax, QWORD PTR m3umuxor[rip]
	mov	rsi, QWORD PTR [rax+rcx*8]
	xor	ecx, ecx
	call	send@PLT
	cmp	eax, -1
	jne	.L4
	mov	rdi, rbx
	call	die@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	call	fprintf@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	rdi, r12
	call	strlen@PLT
	xor	ecx, ecx
	mov	rsi, r12
	mov	edi, ebp
	mov	edx, eax
	call	send@PLT
	cmp	eax, -1
	je	.L13
.L6:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	call	fprintf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	call	die@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	pkg_send, .-pkg_send
	.comm	stderr,4,4
	.comm	m3umuxor,8,8
	.comm	i,4,4
	.comm	http,8,8
	.comm	SUCCESS,4,4
	.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_308.c_pkg_send.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not send HTTP header\000"
	.align	2
.LC1:
	.ascii	"\011- Sending valid HTTP header..\012\000"
	.align	2
.LC2:
	.ascii	"Could not send m3u header\000"
	.align	2
.LC3:
	.ascii	"\011- Sending valid m3u header..\012\000"
	.align	2
.LC4:
	.ascii	"Could not send payload\000"
	.align	2
.LC5:
	.ascii	"\011- Sending payload package..\012\000"
	.text
	.align	2
	.global	pkg_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	pkg_send, %function
pkg_send:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, .L14
	mov	r5, r0
	mov	r7, r1
	mov	r3, r2
	ldr	r8, .L14+4
	ldr	r9, .L14+8
	str	r2, [r4]
	b	.L3
.L2:
	ldr	r3, [r4]
	add	r3, r3, #1
	cmp	r3, #7
	str	r3, [r4]
	bgt	.L11
.L3:
	ldr	r2, [r8]
	ldr	r6, [r2, r3, lsl #2]
	mov	r0, r6
	bl	strlen
	mov	r1, r6
	mov	r2, r0
	mov	r3, #0
	mov	r0, r5
	bl	send
	cmn	r0, #1
	bne	.L2
	mov	r0, r9
	bl	die
	b	.L2
.L11:
	ldr	r8, .L14+12
	ldr	r1, .L14+16
	ldr	r0, [r8]
	bl	fprintf
	mov	r0, #1
	bl	sleep
	mov	r2, #0
	ldr	r6, .L14+20
	mov	r3, r2
	ldr	r9, .L14+24
	str	r2, [r4]
	b	.L5
.L4:
	ldr	r3, [r4]
	add	r3, r3, #1
	cmp	r3, #2
	str	r3, [r4]
	bgt	.L12
.L5:
	ldr	r2, [r6]
	ldr	r10, [r2, r3, lsl #2]
	mov	r0, r10
	bl	strlen
	mov	r1, r10
	mov	r2, r0
	mov	r3, #0
	mov	r0, r5
	bl	send
	cmn	r0, #1
	bne	.L4
	mov	r0, r9
	bl	die
	b	.L4
.L12:
	ldr	r1, .L14+28
	ldr	r0, [r8]
	bl	fprintf
	mov	r0, #1
	bl	sleep
	mov	r0, r7
	bl	strlen
	mov	r1, r7
	mov	r2, r0
	mov	r3, #0
	mov	r0, r5
	bl	send
	cmn	r0, #1
	beq	.L13
.L6:
	ldr	r0, [r8]
	ldr	r1, .L14+32
	bl	fprintf
	ldr	r3, .L14+36
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r0, .L14+40
	bl	die
	b	.L6
.L15:
	.align	2
.L14:
	.word	i
	.word	http
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	m3umuxor
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	SUCCESS
	.word	.LC4
	.size	pkg_send, .-pkg_send
	.comm	stderr,4,4
	.comm	m3umuxor,4,4
	.comm	i,4,4
	.comm	http,4,4
	.comm	SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
