	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_open_transport_ctx     ## -- Begin function ff_rtsp_open_transport_ctx
	.p2align	4, 0x90
_ff_rtsp_open_transport_ctx:            ## @ff_rtsp_open_transport_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	32(%rdi), %r13
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jns	LBB0_4
## %bb.1:
	movq	8(%r13), %rax
	movq	_RTSP_LOWER_TRANSPORT_TCP@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.2:
	movl	28(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_RTP_REORDER_QUEUE_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	movq	(%r14), %r9
	movq	8(%r15), %rax
	movq	(%rax,%r9,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.5:
	movq	_AVFMTCTX_NOHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
LBB0_6:
	movq	_CONFIG_RTSP_MUXER@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.7:
	cmpq	$0, 16(%r15)
	je	LBB0_11
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	leaq	24(%r14), %rdi
	movq	48(%r14), %rcx
	movq	_RTSP_TCP_MAX_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ff_rtp_chain_mux_open
	movq	$0, 48(%r14)
	testl	%eax, %eax
	js	LBB0_10
## %bb.21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_22
LBB0_11:
	movq	16(%r13), %rax
	movq	_RTSP_TRANSPORT_RAW@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	cmpq	(%rdx), %rax
	je	LBB0_29
## %bb.12:
	movq	_CONFIG_RTPDEC@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_13
## %bb.14:
	movq	_RTSP_TRANSPORT_RDT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_17
## %bb.15:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.16:
	movl	(%rbx), %esi
	movl	32(%r14), %ecx
	movl	36(%r14), %edx
	movq	%r15, %rdi
	callq	_ff_rdt_parse_open
	jmp	LBB0_18
LBB0_13:
	movq	24(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_22
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_10:
	movl	%eax, %r12d
	jmp	LBB0_29
LBB0_17:
	movl	44(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_rtp_parse_open
LBB0_18:
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_20
LBB0_22:
	movq	_CONFIG_RTPDEC@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	$0, (%rcx)
	je	LBB0_29
## %bb.23:
	movq	16(%r13), %rcx
	movq	_RTSP_TRANSPORT_RTP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_29
## %bb.24:
	cmpq	$0, (%r15)
	je	LBB0_29
## %bb.25:
	movl	40(%r14), %ecx
	movl	%ecx, (%rax)
	movl	32(%r14), %edx
	testl	%edx, %edx
	je	LBB0_27
## %bb.26:
	movl	36(%r14), %esi
	movq	%rax, %rdi
	callq	_ff_rtp_parse_set_dynamic_protocol
LBB0_27:
	movq	16(%r14), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_29
## %bb.28:
	movq	24(%r14), %rdi
	movl	8(%r14), %edx
	callq	_ff_rtp_parse_set_crypto
LBB0_29:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTSP_LOWER_TRANSPORT_TCP,8,3   ## @RTSP_LOWER_TRANSPORT_TCP
	.comm	_RTP_REORDER_QUEUE_DEFAULT_SIZE,4,2 ## @RTP_REORDER_QUEUE_DEFAULT_SIZE
	.comm	_AVFMTCTX_NOHEADER,4,2          ## @AVFMTCTX_NOHEADER
	.comm	_CONFIG_RTSP_MUXER,8,3          ## @CONFIG_RTSP_MUXER
	.comm	_RTSP_TCP_MAX_PACKET_SIZE,4,2   ## @RTSP_TCP_MAX_PACKET_SIZE
	.comm	_RTSP_TRANSPORT_RAW,8,3         ## @RTSP_TRANSPORT_RAW
	.comm	_CONFIG_RTPDEC,8,3              ## @CONFIG_RTPDEC
	.comm	_RTSP_TRANSPORT_RDT,8,3         ## @RTSP_TRANSPORT_RDT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RTSP_TRANSPORT_RTP,8,3         ## @RTSP_TRANSPORT_RTP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_open_transport_ctx     ; -- Begin function ff_rtsp_open_transport_ctx
	.p2align	2
_ff_rtsp_open_transport_ctx:            ; @ff_rtsp_open_transport_ctx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #32]
	ldr	w3, [x23]
	tbz	w3, #31, LBB0_4
; %bb.1:
	ldr	x8, [x23, #8]
Lloh0:
	adrp	x9, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w3, #0
	b	LBB0_4
LBB0_3:
	ldr	w8, [x20, #28]
Lloh3:
	adrp	x9, _RTP_REORDER_QUEUE_DEFAULT_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTP_REORDER_QUEUE_DEFAULT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w3, wzr, w9, eq
LBB0_4:
	ldr	x5, [x19]
	ldr	x8, [x20, #8]
	ldr	x21, [x8, x5, lsl #3]
	cbnz	x21, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _AVFMTCTX_NOHEADER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVFMTCTX_NOHEADER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #24]
	orr	w8, w9, w8
	str	w8, [x20, #24]
LBB0_6:
Lloh9:
	adrp	x8, _CONFIG_RTSP_MUXER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CONFIG_RTSP_MUXER@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.7:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_11
; %bb.8:
	cbz	x21, LBB0_11
; %bb.9:
	add	x22, x19, #24
	ldr	x3, [x19, #48]
Lloh12:
	adrp	x8, _RTSP_TCP_MAX_PACKET_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTSP_TCP_MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_ff_rtp_chain_mux_open
	str	xzr, [x19, #48]
	tbnz	w0, #31, LBB0_27
; %bb.10:
	ldr	x0, [x22]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
	str	w8, [x21, #4]
	b	LBB0_19
LBB0_11:
	ldr	x8, [x23, #16]
Lloh15:
	adrp	x9, _RTSP_TRANSPORT_RAW@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RTSP_TRANSPORT_RAW@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.12:
Lloh18:
	adrp	x9, _CONFIG_RTPDEC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CONFIG_RTPDEC@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cbz	x9, LBB0_15
; %bb.13:
Lloh21:
	adrp	x9, _RTSP_TRANSPORT_RDT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RTSP_TRANSPORT_RDT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x21, #0, #4, eq
	b.ne	LBB0_17
; %bb.14:
	ldr	w2, [x19, #44]
	mov	x0, x20
	mov	x1, x21
	bl	_ff_rtp_parse_open
	b	LBB0_18
LBB0_15:
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_19
LBB0_16:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_17:
	ldr	w1, [x21]
	ldp	w3, w2, [x19, #32]
	mov	x0, x20
	bl	_ff_rdt_parse_open
LBB0_18:
	str	x0, [x19, #24]
	cbz	x0, LBB0_16
LBB0_19:
Lloh27:
	adrp	x8, _CONFIG_RTPDEC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CONFIG_RTPDEC@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cbz	x8, LBB0_26
; %bb.20:
	ldr	x8, [x23, #16]
Lloh30:
	adrp	x9, _RTSP_TRANSPORT_RTP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RTSP_TRANSPORT_RTP@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.21:
	ldr	x8, [x20]
	cbz	x8, LBB0_26
; %bb.22:
	ldr	w8, [x19, #40]
	str	w8, [x0]
	ldr	w2, [x19, #32]
	cbz	w2, LBB0_24
; %bb.23:
	ldr	w1, [x19, #36]
	bl	_ff_rtp_parse_set_dynamic_protocol
LBB0_24:
	ldr	x1, [x19, #16]
	ldr	x8, [x1]
	cbz	x8, LBB0_26
; %bb.25:
	ldr	x0, [x19, #24]
	ldr	w2, [x19, #8]
	bl	_ff_rtp_parse_set_crypto
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_RTSP_LOWER_TRANSPORT_TCP,8,3   ; @RTSP_LOWER_TRANSPORT_TCP
	.comm	_RTP_REORDER_QUEUE_DEFAULT_SIZE,4,2 ; @RTP_REORDER_QUEUE_DEFAULT_SIZE
	.comm	_AVFMTCTX_NOHEADER,4,2          ; @AVFMTCTX_NOHEADER
	.comm	_CONFIG_RTSP_MUXER,8,3          ; @CONFIG_RTSP_MUXER
	.comm	_RTSP_TCP_MAX_PACKET_SIZE,4,2   ; @RTSP_TCP_MAX_PACKET_SIZE
	.comm	_RTSP_TRANSPORT_RAW,8,3         ; @RTSP_TRANSPORT_RAW
	.comm	_CONFIG_RTPDEC,8,3              ; @CONFIG_RTPDEC
	.comm	_RTSP_TRANSPORT_RDT,8,3         ; @RTSP_TRANSPORT_RDT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RTSP_TRANSPORT_RTP,8,3         ; @RTSP_TRANSPORT_RTP
.subsections_via_symbols
