	.file	"extr_rtsp.c_Close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"rtsp-session-timeout"
.LC2:
	.string	"rtsp-throttle-users"
.LC3:
	.string	"rtsp-raw-mux"
.LC4:
	.string	"rtsp vod leaking %d medias"
	.text
	.p2align 4
	.type	Close, @function
Close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r9d, r9d
	pxor	xmm0, xmm0
	xor	r8d, r8d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	ecx, ecx
	xor	edx, edx
	mov	r13, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	r12, QWORD PTR [rdi]
	mov	esi, DWORD PTR RTSP_CMD_TYPE_NONE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	CommandPush@PLT
	mov	edi, DWORD PTR 36[r12]
	xor	esi, esi
	call	vlc_join@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	free@PLT
.L2:
	mov	edi, DWORD PTR 32[r12]
	call	block_FifoCount@PLT
	mov	edi, DWORD PTR 32[r12]
	test	rax, rax
	jle	.L9
	call	block_FifoGet@PLT
	mov	edx, 32
	mov	rdi, rbx
	mov	esi, DWORD PTR [rax]
	mov	rbp, rax
	call	memcpy@PLT
	mov	rdi, rbp
	call	block_Release@PLT
	mov	rax, QWORD PTR RTSP_CMD_TYPE_DEL[rip]
	cmp	QWORD PTR [rsp], rax
	jne	.L3
	mov	esi, DWORD PTR 24[rsp]
	mov	rdi, r13
	call	MediaDel@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	call	block_FifoRelease@PLT
	mov	edi, DWORD PTR 28[r12]
	call	httpd_HostDelete@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	var_Destroy@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	var_Destroy@PLT
	mov	rdi, r13
	lea	rsi, .LC3[rip]
	call	var_Destroy@PLT
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	jle	.L5
	mov	rdx, rdi
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	call	msg_Err@PLT
	mov	rdi, QWORD PTR [r12]
.L5:
	mov	esi, DWORD PTR 24[r12]
	call	TAB_CLEAN@PLT
	mov	rdi, QWORD PTR 16[r12]
	call	free@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	free@PLT
	mov	rdi, r12
	call	free@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Close, .-Close
	.comm	RTSP_CMD_TYPE_NONE,4,4
	.comm	RTSP_CMD_TYPE_DEL,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_rtsp.c_Close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rtsp-session-timeout\000"
	.align	2
.LC1:
	.ascii	"rtsp-throttle-users\000"
	.align	2
.LC2:
	.ascii	"rtsp-raw-mux\000"
	.align	2
.LC3:
	.ascii	"rtsp vod leaking %d medias\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Close, %function
Close:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r8, #0
	mov	r9, #0
	mov	r4, #0
	sub	sp, sp, #52
	ldr	r5, [r0]
	str	r8, [sp, #8]
	str	r9, [sp, #12]
	ldr	r1, .L11
	ldr	ip, .L11+4
	str	r4, [sp, #16]
	str	r4, [sp]
	mov	r3, r4
	mov	r2, r4
	ldr	r1, [r1]
	ldr	ip, [ip]
	str	ip, [sp, #44]
	mov	ip,#0
	mov	r7, r0
	bl	CommandPush
	mov	r1, r4
	ldr	r0, [r5, #24]
	bl	vlc_join
	ldr	r6, .L11+8
	b	.L2
.L3:
	ldr	r0, [sp, #36]
	bl	free
	ldr	r0, [sp, #32]
	bl	free
.L2:
	ldr	r0, [r5, #20]
	bl	block_FifoCount
	cmp	r0, #0
	ldr	r0, [r5, #20]
	ble	.L9
	bl	block_FifoGet
	mov	r4, r0
	mov	r2, #16
	ldr	r1, [r0]
	add	r0, sp, #28
	bl	memcpy
	mov	r0, r4
	bl	block_Release
	ldr	r2, [sp, #28]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L3
	mov	r0, r7
	ldr	r1, [sp, #40]
	bl	MediaDel
	b	.L3
.L9:
	bl	block_FifoRelease
	ldr	r0, [r5, #16]
	bl	httpd_HostDelete
	ldr	r1, .L11+12
	mov	r0, r7
	bl	var_Destroy
	ldr	r1, .L11+16
	mov	r0, r7
	bl	var_Destroy
	mov	r0, r7
	ldr	r1, .L11+20
	bl	var_Destroy
	ldr	r0, [r5]
	cmp	r0, #0
	ble	.L5
	mov	r2, r0
	ldr	r1, .L11+24
	mov	r0, r7
	bl	msg_Err
	ldr	r0, [r5]
.L5:
	ldr	r1, [r5, #12]
	bl	TAB_CLEAN
	ldr	r0, [r5, #8]
	bl	free
	ldr	r0, [r5, #4]
	bl	free
	mov	r0, r5
	bl	free
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	RTSP_CMD_TYPE_NONE
	.word	.LC4
	.word	RTSP_CMD_TYPE_DEL
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	Close, .-Close
	.comm	RTSP_CMD_TYPE_NONE,4,4
	.comm	RTSP_CMD_TYPE_DEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
