	.file	"extr_lib571.c_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"wb"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Couldn't open the protocol dump file\n"
	.section	.rodata.str1.1
.LC2:
	.string	"curl_global_init() failed\n"
.LC3:
	.string	"curl_easy_init() failed\n"
.LC4:
	.string	"RTP/AVP/TCP;interleaved=0-1"
.LC5:
	.string	"PLAY COMPLETE\n"
.LC6:
	.string	"LOOPY LOOP!\n"
	.text
	.p2align 4
	.globl	test
	.type	test, @function
test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR libtest_arg2[rip]
	call	fopen@PLT
	test	rax, rax
	je	.L17
	mov	edi, DWORD PTR CURL_GLOBAL_ALL[rip]
	mov	rbp, rax
	call	curl_global_init@PLT
	cmp	rax, QWORD PTR CURLE_OK[rip]
	jne	.L18
	xor	eax, eax
	call	curl_easy_init@PLT
	mov	r12, rax
	test	rax, rax
	je	.L19
	mov	esi, DWORD PTR CURLOPT_URL[rip]
	mov	rdi, rax
	mov	rdx, r13
	xor	eax, eax
	call	test_setopt@PLT
	mov	esi, 1
	mov	rdi, r13
	call	suburl@PLT
	mov	r14, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, r12
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r14
	call	free@PLT
	mov	esi, DWORD PTR CURLOPT_INTERLEAVEFUNCTION[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR rtp_write[rip]
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_TIMEOUT[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	edx, 3
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_VERBOSE[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	edx, 1
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_WRITEDATA[rip]
	mov	rdx, rbp
	xor	eax, eax
	mov	rdi, r12
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_TRANSPORT[rip]
	mov	rdi, r12
	xor	eax, eax
	lea	rdx, .LC4[rip]
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_SETUP[rip]
	call	test_setopt@PLT
	mov	rdi, r12
	call	curl_easy_perform@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L20
.L7:
	xor	edi, edi
	call	free@PLT
	mov	rdi, rbp
	call	fclose@PLT
	mov	rdi, r12
	call	curl_easy_cleanup@PLT
	xor	eax, eax
	call	curl_global_cleanup@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
	mov	rdi, rbp
	call	fclose@PLT
	mov	r14d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	esi, 2
	mov	rdi, r13
	call	suburl@PLT
	mov	r14, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, r12
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r14
	call	free@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_PLAY[rip]
	call	test_setopt@PLT
	mov	rdi, r12
	call	curl_easy_perform@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L7
	mov	esi, 3
	mov	rdi, r13
	call	suburl@PLT
	mov	r14, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, r12
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r14
	call	free@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_DESCRIBE[rip]
	call	test_setopt@PLT
	mov	rdi, r12
	call	curl_easy_perform@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L7
	mov	rdi, r13
	mov	esi, 4
	call	suburl@PLT
	mov	r13, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, r12
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r13
	call	free@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_PLAY[rip]
	call	test_setopt@PLT
	mov	rdi, r12
	call	curl_easy_perform@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L7
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	lea	r13, .LC6[rip]
	call	fprintf@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	DWORD PTR rtp_packet_count[rip], 12
	jg	.L7
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, r13
	call	fprintf@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, r12
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_RECEIVE[rip]
	call	test_setopt@PLT
	mov	rdi, r12
	call	curl_easy_perform@PLT
	test	eax, eax
	je	.L11
	mov	r14d, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	mov	r14d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	eax, r14d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	r14d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	call	fprintf@PLT
	mov	rdi, rbp
	call	fclose@PLT
	xor	eax, eax
	call	curl_global_cleanup@PLT
	mov	r14d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.comm	stderr,4,4
	.comm	rtp_write,8,8
	.comm	rtp_packet_count,4,4
	.comm	libtest_arg2,4,4
	.comm	TEST_ERR_MAJOR_BAD,4,4
	.comm	CURL_RTSPREQ_SETUP,8,8
	.comm	CURL_RTSPREQ_RECEIVE,8,8
	.comm	CURL_RTSPREQ_PLAY,8,8
	.comm	CURL_RTSPREQ_DESCRIBE,8,8
	.comm	CURL_GLOBAL_ALL,4,4
	.comm	CURLOPT_WRITEDATA,4,4
	.comm	CURLOPT_VERBOSE,4,4
	.comm	CURLOPT_URL,4,4
	.comm	CURLOPT_TIMEOUT,4,4
	.comm	CURLOPT_RTSP_TRANSPORT,4,4
	.comm	CURLOPT_RTSP_STREAM_URI,4,4
	.comm	CURLOPT_RTSP_REQUEST,4,4
	.comm	CURLOPT_INTERLEAVEFUNCTION,4,4
	.comm	CURLE_OK,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_lib571.c_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"Couldn't open the protocol dump file\012\000"
	.align	2
.LC2:
	.ascii	"curl_global_init() failed\012\000"
	.align	2
.LC3:
	.ascii	"curl_easy_init() failed\012\000"
	.align	2
.LC4:
	.ascii	"RTP/AVP/TCP;interleaved=0-1\000"
	.align	2
.LC5:
	.ascii	"PLAY COMPLETE\012\000"
	.align	2
.LC6:
	.ascii	"LOOPY LOOP!\012\000"
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	mov	r7, r0
	ldr	r1, .L21+4
	ldr	r0, [r3]
	bl	fopen
	subs	r6, r0, #0
	beq	.L17
	ldr	r3, .L21+8
	ldr	r0, [r3]
	bl	curl_global_init
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L18
	bl	curl_easy_init
	subs	r4, r0, #0
	beq	.L19
	ldr	r3, .L21+16
	mov	r2, r7
	ldr	r1, [r3]
	bl	test_setopt
	mov	r1, #1
	mov	r0, r7
	bl	suburl
	subs	r5, r0, #0
	beq	.L15
	ldr	r9, .L21+20
	mov	r2, r5
	ldr	r1, [r9]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r5
	bl	free
	ldr	r3, .L21+24
	ldr	r2, .L21+28
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L21+32
	mov	r2, #3
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L21+36
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L21+40
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L21+44
	ldr	r2, .L21+48
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r8, .L21+52
	ldr	r3, .L21+56
	ldr	r1, [r8]
	ldr	r2, [r3]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r4
	bl	curl_easy_perform
	subs	r5, r0, #0
	beq	.L20
.L7:
	mov	r0, #0
	bl	free
	mov	r0, r6
	bl	fclose
	mov	r0, r4
	bl	curl_easy_cleanup
	bl	curl_global_cleanup
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r3, .L21+60
	ldr	r1, .L21+64
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, r6
	bl	fclose
	ldr	r3, .L21+68
	ldr	r5, [r3]
.L1:
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	mov	r1, #2
	mov	r0, r7
	bl	suburl
	subs	r5, r0, #0
	beq	.L15
	mov	r2, r5
	ldr	r1, [r9]
	mov	r0, r4
	ldr	r10, .L21+72
	bl	test_setopt
	mov	r0, r5
	bl	free
	ldr	r2, [r10]
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r4
	bl	curl_easy_perform
	subs	r5, r0, #0
	bne	.L7
	mov	r1, #3
	mov	r0, r7
	bl	suburl
	subs	r5, r0, #0
	beq	.L15
	mov	r2, r5
	ldr	r1, [r9]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r5
	bl	free
	ldr	r3, .L21+76
	ldr	r1, [r8]
	ldr	r2, [r3]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r4
	bl	curl_easy_perform
	subs	r5, r0, #0
	bne	.L7
	mov	r0, r7
	mov	r1, #4
	bl	suburl
	subs	r5, r0, #0
	beq	.L15
	mov	r2, r5
	ldr	r1, [r9]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r5
	bl	free
	ldr	r2, [r10]
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r4
	bl	curl_easy_perform
	subs	r5, r0, #0
	bne	.L7
	ldr	r7, .L21+60
	ldr	r1, .L21+80
	ldr	r0, [r7]
	bl	fprintf
	ldr	fp, .L21+84
	ldr	r10, .L21+88
	ldr	r9, .L21+92
.L11:
	ldr	r3, [fp]
	cmp	r3, #12
	bgt	.L7
	mov	r1, r10
	ldr	r0, [r7]
	bl	fprintf
	ldr	r2, [r9]
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r4
	bl	curl_easy_perform
	cmp	r0, #0
	beq	.L11
	mov	r5, r0
	b	.L7
.L17:
	ldr	r3, .L21+60
	ldr	r1, .L21+96
	ldr	r0, [r3]
	bl	fprintf
	ldr	r3, .L21+68
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r3, .L21+68
	ldr	r5, [r3]
	b	.L7
.L19:
	ldr	r3, .L21+60
	ldr	r1, .L21+100
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, r6
	bl	fclose
	bl	curl_global_cleanup
	ldr	r3, .L21+68
	ldr	r5, [r3]
	b	.L1
.L22:
	.align	2
.L21:
	.word	libtest_arg2
	.word	.LC0
	.word	CURL_GLOBAL_ALL
	.word	CURLE_OK
	.word	CURLOPT_URL
	.word	CURLOPT_RTSP_STREAM_URI
	.word	CURLOPT_INTERLEAVEFUNCTION
	.word	rtp_write
	.word	CURLOPT_TIMEOUT
	.word	CURLOPT_VERBOSE
	.word	CURLOPT_WRITEDATA
	.word	CURLOPT_RTSP_TRANSPORT
	.word	.LC4
	.word	CURLOPT_RTSP_REQUEST
	.word	CURL_RTSPREQ_SETUP
	.word	stderr
	.word	.LC2
	.word	TEST_ERR_MAJOR_BAD
	.word	CURL_RTSPREQ_PLAY
	.word	CURL_RTSPREQ_DESCRIBE
	.word	.LC5
	.word	rtp_packet_count
	.word	.LC6
	.word	CURL_RTSPREQ_RECEIVE
	.word	.LC1
	.word	.LC3
	.size	test, .-test
	.comm	stderr,4,4
	.comm	rtp_write,4,4
	.comm	rtp_packet_count,4,4
	.comm	libtest_arg2,4,4
	.comm	TEST_ERR_MAJOR_BAD,4,4
	.comm	CURL_RTSPREQ_SETUP,4,4
	.comm	CURL_RTSPREQ_RECEIVE,4,4
	.comm	CURL_RTSPREQ_PLAY,4,4
	.comm	CURL_RTSPREQ_DESCRIBE,4,4
	.comm	CURL_GLOBAL_ALL,4,4
	.comm	CURLOPT_WRITEDATA,4,4
	.comm	CURLOPT_VERBOSE,4,4
	.comm	CURLOPT_URL,4,4
	.comm	CURLOPT_TIMEOUT,4,4
	.comm	CURLOPT_RTSP_TRANSPORT,4,4
	.comm	CURLOPT_RTSP_STREAM_URI,4,4
	.comm	CURLOPT_RTSP_REQUEST,4,4
	.comm	CURLOPT_INTERLEAVEFUNCTION,4,4
	.comm	CURLE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
