	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtmp_open
_rtmp_open:                             ## @rtmp_open
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rax
	movq	(%rdi), %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %r12
	callq	_strlen
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_av_log_get_level
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.rtmp_open(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_RTMP_LOGCRIT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_RTMP_LogSetLevel
	movq	_rtmp_log@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RTMP_LogSetCallback
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	addl	$7, %r13d
	jmp	LBB0_6
LBB0_4:
	incl	%r13d
LBB0_6:
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	addl	$8, %r13d
LBB0_8:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	addl	$10, %r13d
LBB0_10:
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	addl	$11, %r13d
LBB0_12:
	movq	32(%r12), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.13:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strspn
	movslq	%eax, %rdi
	cmpb	$0, (%r14,%rdi)
	je	LBB0_14
## %bb.15:
	addq	%r14, %rdi
	movl	$1, %r12d
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rax, %rbx
	leaq	1(%rax), %rdi
	incl	%r12d
	movq	%r15, %rsi
	callq	_strspn
	cltq
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	cmpb	$0, 1(%rbx,%rax)
	jne	LBB0_17
	jmp	LBB0_18
LBB0_14:
	movl	$1, %r12d
LBB0_18:
	leal	(,%r12,8), %ebx
	subl	%r12d, %ebx
	addl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r13d
	addl	%ebx, %r13d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	addl	$11, %r13d
LBB0_21:
	leal	8(%r13), %r14d
	cmpq	$0, 96(%r12)
	cmovel	%r13d, %r14d
	movq	48(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r14d
	addl	$12, %r14d
LBB0_23:
	movq	56(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r14d
	addl	$9, %r14d
LBB0_25:
	movq	64(%r12), %rax
	movq	72(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	testq	%rdi, %rdi
	jne	LBB0_28
## %bb.29:
	movq	%rax, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r14d
	addl	$9, %r14d
	jmp	LBB0_30
LBB0_26:
	testq	%rdi, %rdi
	je	LBB0_30
LBB0_28:
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r14d
	addl	$19, %r14d
LBB0_30:
	movl	%r14d, %edi
	callq	_av_malloc
	movq	%rax, 80(%r12)
	testq	%rax, %rax
	je	LBB0_71
## %bb.31:
	movq	%rax, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcpy
	cmpq	$0, (%r12)
	je	LBB0_33
## %bb.32:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_33:
	cmpq	$0, 8(%r12)
	je	LBB0_35
## %bb.34:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	8(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_35:
	cmpq	$0, 16(%r12)
	je	LBB0_37
## %bb.36:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_37:
	cmpq	$0, 64(%r12)
	je	LBB0_39
## %bb.38:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	64(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_39:
	cmpq	$0, 24(%r12)
	je	LBB0_41
## %bb.40:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	24(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_41:
	movq	32(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_47
## %bb.42:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	cltq
	cmpb	$0, (%rbx,%rax)
	je	LBB0_47
## %bb.43:
	addq	%rax, %rbx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_av_strlcat
	leaq	1(%r15), %rbx
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	cltq
	leaq	(%r15,%rax), %rbx
	incq	%rbx
	cmpb	$0, 1(%r15,%rax)
	jne	LBB0_44
LBB0_47:
	cmpq	$0, 40(%r12)
	je	LBB0_49
LBB0_48:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	40(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_49:
	cmpq	$0, 96(%r12)
	je	LBB0_51
## %bb.50:
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_51:
	cmpq	$0, 48(%r12)
	je	LBB0_53
## %bb.52:
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	48(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_53:
	cmpq	$0, 56(%r12)
	je	LBB0_55
## %bb.54:
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	56(%r12), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_55:
	leaq	104(%r12), %r15
	cmpq	$0, 64(%r12)
	jne	LBB0_57
## %bb.56:
	cmpq	$0, 72(%r12)
	je	LBB0_61
LBB0_57:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	movq	72(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_59
## %bb.58:
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_60
LBB0_71:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_59:
	movq	64(%r12), %rsi
LBB0_60:
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_61:
	movq	%r15, %rdi
	callq	_RTMP_Init
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_RTMP_SetupURL
	testl	%eax, %eax
	je	LBB0_67
## %bb.62:
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_64
## %bb.63:
	movq	%r15, %rdi
	callq	_RTMP_EnableWrite
LBB0_64:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_RTMP_Connect
	testl	%eax, %eax
	je	LBB0_67
## %bb.65:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_RTMP_ConnectStream
	testl	%eax, %eax
	je	LBB0_67
## %bb.66:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	jmp	LBB0_70
LBB0_67:
	addq	$80, %r12
	movq	_AVERROR_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_av_freep
	testl	%ebx, %ebx
	je	LBB0_68
## %bb.69:
	movq	%r15, %rdi
	callq	_RTMP_Close
	jmp	LBB0_70
LBB0_68:
	xorl	%ebx, %ebx
LBB0_70:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_av_strlcat
	cmpq	$0, 40(%r12)
	jne	LBB0_48
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_RTMP_LOGCRIT,4,2               ## @RTMP_LOGCRIT
	.comm	_RTMP_LOGERROR,4,2              ## @RTMP_LOGERROR
	.comm	_RTMP_LOGWARNING,4,2            ## @RTMP_LOGWARNING
	.comm	_RTMP_LOGINFO,4,2               ## @RTMP_LOGINFO
	.comm	_RTMP_LOGDEBUG,4,2              ## @RTMP_LOGDEBUG
	.comm	_RTMP_LOGDEBUG2,4,2             ## @RTMP_LOGDEBUG2
	.comm	_rtmp_log,4,2                   ## @rtmp_log
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	" app="

L_.str.2:                               ## @.str.2
	.asciz	" tcUrl="

L_.str.3:                               ## @.str.3
	.asciz	" pageUrl="

L_.str.4:                               ## @.str.4
	.asciz	" swfUrl="

L_.str.5:                               ## @.str.5
	.asciz	" flashVer="

L_.str.6:                               ## @.str.6
	.asciz	" conn="

L_.str.7:                               ## @.str.7
	.asciz	" playpath="

L_.str.8:                               ## @.str.8
	.asciz	" live=1"

L_.str.9:                               ## @.str.9
	.asciz	" subscribe="

L_.str.10:                              ## @.str.10
	.asciz	" buffer="

L_.str.11:                              ## @.str.11
	.asciz	" swfVfy=1"

	.comm	_AVERROR_UNKNOWN,4,2            ## @AVERROR_UNKNOWN
	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.comm	_AVERROR_EXTERNAL,4,2           ## @AVERROR_EXTERNAL
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ## @SO_SNDBUF
	.no_dead_strip	_rtmp_open
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rtmp_open
l_switch.table.rtmp_open:
	.quad	_RTMP_LOGWARNING
	.quad	_RTMP_LOGDEBUG
	.quad	_RTMP_LOGINFO
	.quad	_RTMP_LOGCRIT
	.quad	_RTMP_LOGERROR
	.quad	_RTMP_LOGDEBUG2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtmp_open
_rtmp_open:                             ; @rtmp_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x0
	ldr	x28, [x0, #16]
	ldr	x0, [x0]
	bl	_strlen
	mov	x21, x0
	bl	_av_log_get_level
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.rtmp_open@PAGE
Lloh1:
	add	x9, x9, l_switch.table.rtmp_open@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _RTMP_LOGCRIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTMP_LOGCRIT@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	bl	_RTMP_LogSetLevel
Lloh4:
	adrp	x8, _rtmp_log@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rtmp_log@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_RTMP_LogSetCallback
	ldr	x0, [x28]
	cbz	x0, LBB0_15
; %bb.4:
	bl	_strlen
	add	w8, w21, w0
	add	w24, w8, #7
	ldr	x0, [x28, #8]
	cbz	x0, LBB0_6
LBB0_5:
	bl	_strlen
	add	w8, w24, w0
	add	w24, w8, #8
LBB0_6:
	ldr	x0, [x28, #16]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_strlen
	add	w8, w24, w0
	add	w24, w8, #10
LBB0_8:
	ldr	x0, [x28, #24]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_strlen
	add	w8, w24, w0
	add	w24, w8, #11
LBB0_10:
	ldr	x21, [x28, #32]
	cbz	x21, LBB0_18
; %bb.11:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strspn
	add	x0, x21, w0, sxtw
	ldrb	w8, [x0]
	cbz	w8, LBB0_16
; %bb.12:
	mov	w25, #1
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x0, #1
	add	w25, w25, #1
	mov	x0, x23
	mov	x1, x22
	bl	_strspn
	add	x0, x23, w0, sxtw
	ldrb	w8, [x0]
	cbnz	w8, LBB0_13
	b	LBB0_17
LBB0_15:
	add	w24, w21, #1
	ldr	x0, [x28, #8]
	cbnz	x0, LBB0_5
	b	LBB0_6
LBB0_16:
	mov	w25, #1
LBB0_17:
	lsl	w8, w25, #3
	sub	w8, w8, w25
	add	w22, w8, w24
	mov	x0, x21
	bl	_strlen
	add	w24, w22, w0
LBB0_18:
	ldr	x0, [x28, #40]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_strlen
	add	w8, w24, w0
	add	w24, w8, #11
LBB0_20:
	ldr	x8, [x28, #96]
	add	w9, w24, #8
	cmp	x8, #0
	csel	w21, w24, w9, eq
	ldr	x0, [x28, #48]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #12
LBB0_22:
	ldr	x0, [x28, #56]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #9
LBB0_24:
	ldp	x0, x8, [x28, #64]
	cbz	x0, LBB0_27
; %bb.25:
	cbnz	x8, LBB0_28
; %bb.26:
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #9
	b	LBB0_29
LBB0_27:
	cbz	x8, LBB0_29
LBB0_28:
	mov	x0, x8
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #19
LBB0_29:
	mov	x0, x21
	bl	_av_malloc
	mov	x22, x28
	str	x0, [x22, #80]!
	cbz	x0, LBB0_57
; %bb.30:
	mov	x23, x0
	ldr	x1, [x19]
	mov	x2, x21
	bl	_av_strlcpy
	ldr	x8, [x28]
	cbz	x8, LBB0_32
; %bb.31:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_32:
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_34
; %bb.33:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #8]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_34:
	ldr	x8, [x28, #16]
	cbz	x8, LBB0_36
; %bb.35:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #16]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_36:
	ldr	x8, [x28, #64]
	cbz	x8, LBB0_38
; %bb.37:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #64]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_38:
	ldr	x8, [x28, #24]
	cbz	x8, LBB0_40
; %bb.39:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #24]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_40:
	ldr	x24, [x28, #32]
	cbz	x24, LBB0_45
; %bb.41:
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_strspn
	add	x26, x24, w0, sxtw
	ldrb	w8, [x26]
	cbz	w8, LBB0_45
; %bb.42:
Lloh25:
	adrp	x24, l_.str.6@PAGE
Lloh26:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh27:
	adrp	x25, l_.str@PAGE
Lloh28:
	add	x25, x25, l_.str@PAGEOFF
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_69
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	mov	x27, x0
	strb	wzr, [x27], #1
	mov	x0, x23
	mov	x1, x26
	mov	x2, x21
	bl	_av_strlcat
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_av_strlcat
	mov	x0, x27
	mov	x1, x25
	bl	_strspn
	add	x26, x27, w0, sxtw
	ldrb	w8, [x26]
	cbnz	w8, LBB0_43
LBB0_45:
	ldr	x8, [x28, #40]
	cbz	x8, LBB0_47
LBB0_46:
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #40]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_47:
	ldr	x8, [x28, #96]
	cbz	x8, LBB0_49
; %bb.48:
Lloh31:
	adrp	x1, l_.str.8@PAGE
Lloh32:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_49:
	ldr	x8, [x28, #48]
	cbz	x8, LBB0_51
; %bb.50:
Lloh33:
	adrp	x1, l_.str.9@PAGE
Lloh34:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #48]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_51:
	add	x24, x28, #104
	ldr	x8, [x28, #56]
	cbz	x8, LBB0_53
; %bb.52:
Lloh35:
	adrp	x1, l_.str.10@PAGE
Lloh36:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #56]
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_53:
	ldr	x8, [x28, #64]
	cbnz	x8, LBB0_55
; %bb.54:
	ldr	x8, [x28, #72]
	cbz	x8, LBB0_60
LBB0_55:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
	ldr	x1, [x28, #72]
	cbz	x1, LBB0_58
; %bb.56:
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
Lloh39:
	adrp	x1, l_.str.11@PAGE
Lloh40:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_59
LBB0_57:
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_58:
	ldr	x1, [x28, #64]
LBB0_59:
	mov	x0, x23
	mov	x2, x21
	bl	_av_strlcat
LBB0_60:
	mov	x0, x24
	bl	_RTMP_Init
	mov	x0, x24
	mov	x1, x23
	bl	_RTMP_SetupURL
	cbz	w0, LBB0_66
; %bb.61:
Lloh44:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_63
; %bb.62:
	mov	x0, x24
	bl	_RTMP_EnableWrite
LBB0_63:
	mov	x0, x24
	mov	x1, #0
	bl	_RTMP_Connect
	cbz	w0, LBB0_66
; %bb.64:
	mov	x0, x24
	mov	w1, #0
	bl	_RTMP_ConnectStream
	cbz	w0, LBB0_66
; %bb.65:
	mov	w20, #0
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_68
LBB0_66:
Lloh47:
	adrp	x8, _AVERROR_UNKNOWN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AVERROR_UNKNOWN@GOTPAGEOFF]
Lloh49:
	ldr	w20, [x8]
	mov	x0, x22
	bl	_av_freep
	cbz	w20, LBB0_68
; %bb.67:
	mov	x0, x24
	bl	_RTMP_Close
LBB0_68:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_69:
	mov	x0, x23
	mov	x1, x26
	mov	x2, x21
	bl	_av_strlcat
	ldr	x8, [x28, #40]
	cbnz	x8, LBB0_46
	b	LBB0_47
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_RTMP_LOGCRIT,4,2               ; @RTMP_LOGCRIT
	.comm	_RTMP_LOGERROR,4,2              ; @RTMP_LOGERROR
	.comm	_RTMP_LOGWARNING,4,2            ; @RTMP_LOGWARNING
	.comm	_RTMP_LOGINFO,4,2               ; @RTMP_LOGINFO
	.comm	_RTMP_LOGDEBUG,4,2              ; @RTMP_LOGDEBUG
	.comm	_RTMP_LOGDEBUG2,4,2             ; @RTMP_LOGDEBUG2
	.comm	_rtmp_log,4,2                   ; @rtmp_log
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	" app="

l_.str.2:                               ; @.str.2
	.asciz	" tcUrl="

l_.str.3:                               ; @.str.3
	.asciz	" pageUrl="

l_.str.4:                               ; @.str.4
	.asciz	" swfUrl="

l_.str.5:                               ; @.str.5
	.asciz	" flashVer="

l_.str.6:                               ; @.str.6
	.asciz	" conn="

l_.str.7:                               ; @.str.7
	.asciz	" playpath="

l_.str.8:                               ; @.str.8
	.asciz	" live=1"

l_.str.9:                               ; @.str.9
	.asciz	" subscribe="

l_.str.10:                              ; @.str.10
	.asciz	" buffer="

l_.str.11:                              ; @.str.11
	.asciz	" swfVfy=1"

	.comm	_AVERROR_UNKNOWN,4,2            ; @AVERROR_UNKNOWN
	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.comm	_AVERROR_EXTERNAL,4,2           ; @AVERROR_EXTERNAL
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_SNDBUF,4,2                  ; @SO_SNDBUF
	.no_dead_strip	_rtmp_open
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rtmp_open
l_switch.table.rtmp_open:
	.quad	_RTMP_LOGWARNING
	.quad	_RTMP_LOGDEBUG
	.quad	_RTMP_LOGINFO
	.quad	_RTMP_LOGCRIT
	.quad	_RTMP_LOGERROR
	.quad	_RTMP_LOGDEBUG2

.subsections_via_symbols
