	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resetup_tcp
_resetup_tcp:                           ## @resetup_tcp
	.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	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %r15
	movl	(%rdi), %eax
	leaq	-1060(%rbp), %r10
	leaq	-1056(%rbp), %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$1024, %r9d                     ## imm = 0x400
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	%r10
	callq	_av_url_split
	addq	$32, %rsp
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ff_rtsp_undo_setup
	movl	-1060(%rbp), %edx
	movq	_RTSP_LOWER_TRANSPORT_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_rtsp_make_setup_request
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RTSP_LOWER_TRANSPORT_TCP,4,2   ## @RTSP_LOWER_TRANSPORT_TCP
	.no_dead_strip	_resetup_tcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resetup_tcp
_resetup_tcp:                           ; @resetup_tcp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #1056
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x20, [x0, #8]
	ldr	w8, [x0]
	stp	wzr, w8, [sp]
	add	x4, sp, #24
	add	x6, sp, #20
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w5, #1024
	mov	x7, #0
	bl	_av_url_split
	mov	x0, x19
	mov	w1, #0
	bl	_ff_rtsp_undo_setup
	ldr	w2, [sp, #20]
Lloh3:
	adrp	x8, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w4, [x20]
	add	x1, sp, #24
	mov	x0, x19
	bl	_ff_rtsp_make_setup_request
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTSP_LOWER_TRANSPORT_TCP,4,2   ; @RTSP_LOWER_TRANSPORT_TCP
	.no_dead_strip	_resetup_tcp
.subsections_via_symbols
