	.file	"extr_lib570.c_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"curl_global_init() failed\n"
.LC1:
	.string	"curl_easy_init() failed\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Failed to detect CSeq mismatch"
	.align 8
.LC3:
	.string	"RAW/RAW/UDP;unicast;client_port=3056-3057"
	.align 8
.LC4:
	.string	"Failed to detect a Session ID mismatch"
	.text
	.p2align 4
	.globl	test
	.type	test, @function
test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, DWORD PTR CURL_GLOBAL_ALL[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	curl_global_init@PLT
	cmp	rax, QWORD PTR CURLE_OK[rip]
	je	.L2
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	r13d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	eax, eax
	call	curl_easy_init@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L13
	mov	rdx, QWORD PTR stdout[rip]
	mov	esi, DWORD PTR CURLOPT_HEADERDATA[rip]
	mov	rdi, rax
	xor	eax, eax
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_WRITEDATA[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, QWORD PTR stdout[rip]
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_VERBOSE[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	edx, 1
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_URL[rip]
	mov	rdx, r12
	xor	eax, eax
	mov	rdi, rbp
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_OPTIONS[rip]
	call	test_setopt@PLT
	mov	esi, 1
	mov	rdi, r12
	call	suburl@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, rbp
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r13
	call	free@PLT
	mov	rdi, rbp
	call	curl_easy_perform@PLT
	cmp	eax, DWORD PTR CURLE_RTSP_CSEQ_ERROR[rip]
	jne	.L14
	mov	esi, DWORD PTR CURLOPT_RTSP_CLIENT_CSEQ[rip]
	mov	edx, 999
	mov	rdi, rbp
	xor	eax, eax
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_TRANSPORT[rip]
	mov	rdi, rbp
	xor	eax, eax
	lea	rdx, .LC3[rip]
	call	test_setopt@PLT
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, rbp
	xor	eax, eax
	mov	rdx, QWORD PTR CURL_RTSPREQ_SETUP[rip]
	call	test_setopt@PLT
	mov	esi, 2
	mov	rdi, r12
	call	suburl@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, rbp
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r13
	call	free@PLT
	mov	rdi, rbp
	call	curl_easy_perform@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L6
	mov	rdx, QWORD PTR CURL_RTSPREQ_PLAY[rip]
	mov	esi, DWORD PTR CURLOPT_RTSP_REQUEST[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r12
	mov	esi, 3
	call	suburl@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR CURLOPT_RTSP_STREAM_URI[rip]
	mov	rdx, rax
	mov	rdi, rbp
	xor	eax, eax
	call	test_setopt@PLT
	mov	rdi, r12
	call	free@PLT
	mov	rdi, rbp
	call	curl_easy_perform@PLT
	cmp	DWORD PTR CURLE_RTSP_SESSION_ERROR[rip], eax
	mov	r13d, eax
	je	.L6
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	call	fprintf@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
.L11:
	mov	r13d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
.L6:
	xor	edi, edi
	call	free@PLT
	mov	rdi, rbp
	call	curl_easy_cleanup@PLT
	xor	eax, eax
	call	curl_global_cleanup@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	xor	eax, eax
	call	curl_global_cleanup@PLT
	mov	r13d, DWORD PTR TEST_ERR_MAJOR_BAD[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.comm	stdout,8,8
	.comm	stderr,4,4
	.comm	TEST_ERR_MAJOR_BAD,4,4
	.comm	CURL_RTSPREQ_SETUP,8,8
	.comm	CURL_RTSPREQ_PLAY,8,8
	.comm	CURL_RTSPREQ_OPTIONS,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_RTSP_TRANSPORT,4,4
	.comm	CURLOPT_RTSP_STREAM_URI,4,4
	.comm	CURLOPT_RTSP_REQUEST,4,4
	.comm	CURLOPT_RTSP_CLIENT_CSEQ,4,4
	.comm	CURLOPT_HEADERDATA,4,4
	.comm	CURLE_RTSP_SESSION_ERROR,4,4
	.comm	CURLE_RTSP_CSEQ_ERROR,8,8
	.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_lib570.c_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"curl_global_init() failed\012\000"
	.align	2
.LC1:
	.ascii	"curl_easy_init() failed\012\000"
	.align	2
.LC2:
	.ascii	"Failed to detect CSeq mismatch\000"
	.align	2
.LC3:
	.ascii	"RAW/RAW/UDP;unicast;client_port=3056-3057\000"
	.align	2
.LC4:
	.ascii	"Failed to detect a Session ID mismatch\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
	ldr	r3, .L15
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r3]
	bl	curl_global_init
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	ldr	r3, .L15+8
	ldr	r1, .L15+12
	ldr	r0, [r3]
	bl	fprintf
	ldr	r3, .L15+16
	ldr	r6, [r3]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	curl_easy_init
	subs	r4, r0, #0
	beq	.L13
	ldr	r6, .L15+20
	ldr	r3, .L15+24
	ldr	r2, [r6]
	ldr	r1, [r3]
	bl	test_setopt
	ldr	r3, .L15+28
	ldr	r2, [r6]
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L15+32
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L15+36
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r7, .L15+40
	ldr	r3, .L15+44
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r4
	bl	test_setopt
	mov	r1, #1
	mov	r0, r5
	bl	suburl
	subs	r6, r0, #0
	beq	.L11
	ldr	r8, .L15+48
	mov	r2, r6
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r6
	bl	free
	mov	r0, r4
	bl	curl_easy_perform
	ldr	r3, .L15+52
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L14
	ldr	r3, .L15+56
	ldr	r2, .L15+60
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L15+64
	ldr	r2, .L15+68
	ldr	r1, [r3]
	mov	r0, r4
	bl	test_setopt
	ldr	r3, .L15+72
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r4
	bl	test_setopt
	mov	r1, #2
	mov	r0, r5
	bl	suburl
	subs	r6, r0, #0
	beq	.L11
	mov	r2, r6
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r6
	bl	free
	mov	r0, r4
	bl	curl_easy_perform
	subs	r6, r0, #0
	bne	.L6
	ldr	r3, .L15+76
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r5
	mov	r1, #3
	bl	suburl
	subs	r5, r0, #0
	beq	.L11
	mov	r2, r5
	ldr	r1, [r8]
	mov	r0, r4
	bl	test_setopt
	mov	r0, r5
	bl	free
	mov	r0, r4
	bl	curl_easy_perform
	ldr	r3, .L15+80
	mov	r6, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	ldr	r3, .L15+8
	ldr	r1, .L15+84
	ldr	r0, [r3]
	bl	fprintf
	b	.L6
.L14:
	ldr	r3, .L15+8
	ldr	r1, .L15+88
	ldr	r0, [r3]
	bl	fprintf
.L11:
	ldr	r3, .L15+16
	ldr	r6, [r3]
.L6:
	mov	r0, #0
	bl	free
	mov	r0, r4
	bl	curl_easy_cleanup
	bl	curl_global_cleanup
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r3, .L15+8
	ldr	r1, .L15+92
	ldr	r0, [r3]
	bl	fprintf
	bl	curl_global_cleanup
	ldr	r3, .L15+16
	ldr	r6, [r3]
	b	.L1
.L16:
	.align	2
.L15:
	.word	CURL_GLOBAL_ALL
	.word	CURLE_OK
	.word	stderr
	.word	.LC0
	.word	TEST_ERR_MAJOR_BAD
	.word	stdout
	.word	CURLOPT_HEADERDATA
	.word	CURLOPT_WRITEDATA
	.word	CURLOPT_VERBOSE
	.word	CURLOPT_URL
	.word	CURLOPT_RTSP_REQUEST
	.word	CURL_RTSPREQ_OPTIONS
	.word	CURLOPT_RTSP_STREAM_URI
	.word	CURLE_RTSP_CSEQ_ERROR
	.word	CURLOPT_RTSP_CLIENT_CSEQ
	.word	999
	.word	CURLOPT_RTSP_TRANSPORT
	.word	.LC3
	.word	CURL_RTSPREQ_SETUP
	.word	CURL_RTSPREQ_PLAY
	.word	CURLE_RTSP_SESSION_ERROR
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.size	test, .-test
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	TEST_ERR_MAJOR_BAD,4,4
	.comm	CURL_RTSPREQ_SETUP,4,4
	.comm	CURL_RTSPREQ_PLAY,4,4
	.comm	CURL_RTSPREQ_OPTIONS,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_RTSP_TRANSPORT,4,4
	.comm	CURLOPT_RTSP_STREAM_URI,4,4
	.comm	CURLOPT_RTSP_REQUEST,4,4
	.comm	CURLOPT_RTSP_CLIENT_CSEQ,4,4
	.comm	CURLOPT_HEADERDATA,4,4
	.comm	CURLE_RTSP_SESSION_ERROR,4,4
	.comm	CURLE_RTSP_CSEQ_ERROR,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
