	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gen_connect
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x402e000000000000              ## double 15
LCPI0_2:
	.quad	0x40afce0000000000              ## double 4071
LCPI0_3:
	.quad	0x406f800000000000              ## double 252
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gen_connect:                           ## @gen_connect
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_RTMP_SYSTEM_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTMP_PT_INVOKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APP_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	$4096, %r8d                     ## imm = 0x1000
	addq	(%rax), %r8
	leaq	-72(%rbp), %rdi
	xorl	%ecx, %ecx
	callq	_ff_rtmp_packet_create
	testl	%eax, %eax
	js	LBB0_18
## %bb.1:
	movq	-64(%rbp), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_amf_write_string
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%r12)
	movq	%rbx, %rdi
	callq	_ff_amf_write_number
	movq	%rbx, %rdi
	callq	_ff_amf_write_object_start
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ff_amf_write_field_name
	movl	56(%r12), %edx
	movl	64(%r12), %esi
	movq	%rbx, %rdi
	callq	_ff_amf_write_string2
	cmpq	$0, 48(%r12)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_amf_write_field_name
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ff_amf_write_string
LBB0_3:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_amf_write_field_name
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_ff_amf_write_string
	cmpq	$0, 16(%r12)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 24(%r12)
	je	LBB0_8
LBB0_5:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_ff_amf_write_field_name
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.6:
	movq	24(%r12), %rsi
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_ff_amf_write_string
LBB0_8:
	leaq	L_.str.6(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_amf_write_field_name
	movl	56(%r12), %edx
	movl	60(%r12), %esi
	movq	%rbx, %rdi
	callq	_ff_amf_write_string2
	cmpq	$0, 48(%r12)
	je	LBB0_11
## %bb.9:
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_ff_amf_write_field_name
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ff_amf_write_bool
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_ff_amf_write_field_name
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_ff_amf_write_number
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_ff_amf_write_field_name
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_ff_amf_write_number
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_ff_amf_write_field_name
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_ff_amf_write_number
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_ff_amf_write_field_name
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_ff_amf_write_number
	cmpq	$0, 32(%r12)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.12(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_amf_write_field_name
	movq	32(%r12), %rsi
	movq	%rbx, %rdi
	callq	_ff_amf_write_string
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	_ff_amf_write_object_end
	movq	40(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.12:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	cltq
	cmpb	$0, (%rbx,%rax)
	je	LBB0_17
## %bb.13:
	addq	%rax, %rbx
	leaq	-48(%rbp), %r15
	leaq	L_.str.13(%rip), %r13
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_rtmp_write_amf_data
	testl	%eax, %eax
	js	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	1(%r14), %rdi
	movq	%r13, %rsi
	callq	_strspn
	cltq
	leaq	(%r14,%rax), %rbx
	incq	%rbx
	cmpb	$0, 1(%r14,%rax)
	jne	LBB0_15
	jmp	LBB0_17
LBB0_16:
	leaq	-48(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rtmp_write_amf_data
	testl	%eax, %eax
	js	LBB0_20
LBB0_17:
	movq	-48(%rbp), %rax
	subq	-64(%rbp), %rax
	shrq	$2, %rax
	movl	%eax, -72(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_rtmp_send_packet
LBB0_18:
	movl	%eax, %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	%eax, %ebx
	leaq	-72(%rbp), %rdi
	callq	_ff_rtmp_packet_destroy
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_RTMP_SYSTEM_CHANNEL,4,2        ## @RTMP_SYSTEM_CHANNEL
	.comm	_RTMP_PT_INVOKE,4,2             ## @RTMP_PT_INVOKE
	.comm	_APP_MAX_LENGTH,8,3             ## @APP_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"connect"

L_.str.1:                               ## @.str.1
	.asciz	"app"

L_.str.2:                               ## @.str.2
	.asciz	"type"

L_.str.3:                               ## @.str.3
	.asciz	"nonprivate"

L_.str.4:                               ## @.str.4
	.asciz	"flashVer"

L_.str.5:                               ## @.str.5
	.asciz	"swfUrl"

L_.str.6:                               ## @.str.6
	.asciz	"tcUrl"

L_.str.7:                               ## @.str.7
	.asciz	"fpad"

L_.str.8:                               ## @.str.8
	.asciz	"capabilities"

L_.str.9:                               ## @.str.9
	.asciz	"audioCodecs"

L_.str.10:                              ## @.str.10
	.asciz	"videoCodecs"

L_.str.11:                              ## @.str.11
	.asciz	"videoFunction"

L_.str.12:                              ## @.str.12
	.asciz	"pageUrl"

L_.str.13:                              ## @.str.13
	.asciz	" "

	.no_dead_strip	_gen_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_connect
_gen_connect:                           ; @gen_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RTMP_SYSTEM_CHANNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTMP_SYSTEM_CHANNEL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RTMP_PT_INVOKE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RTMP_PT_INVOKE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x8, _APP_MAX_LENGTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APP_MAX_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x4, x8, #1, lsl #12             ; =4096
	add	x0, sp, #16
	mov	w3, #0
	bl	_ff_rtmp_packet_create
	tbnz	w0, #31, LBB0_19
; %bb.1:
	ldr	x8, [sp, #24]
	str	x8, [sp, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_string
	ldr	d0, [x19]
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
	str	d0, [x19]
	add	x0, sp, #8
	bl	_ff_amf_write_number
	add	x0, sp, #8
	bl	_ff_amf_write_object_start
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	ldr	w1, [x19, #64]
	ldr	w2, [x19, #56]
	add	x0, sp, #8
	bl	_ff_amf_write_string2
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_string
LBB0_3:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	bl	_ff_amf_write_string
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
LBB0_5:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	ldr	x1, [x19, #16]
	cbnz	x1, LBB0_7
; %bb.6:
	ldr	x1, [x19, #24]
LBB0_7:
	add	x0, sp, #8
	bl	_ff_amf_write_string
LBB0_8:
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	ldp	w2, w1, [x19, #56]
	add	x0, sp, #8
	bl	_ff_amf_write_string2
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_11
; %bb.9:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	add	x0, sp, #8
	mov	w1, #0
	bl	_ff_amf_write_bool
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	add	x0, sp, #8
	fmov	d0, #15.00000000
	bl	_ff_amf_write_number
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	mov	x8, #226499395321856
	movk	x8, #16559, lsl #48
	fmov	d0, x8
	add	x0, sp, #8
	bl	_ff_amf_write_number
Lloh29:
	adrp	x1, l_.str.10@PAGE
Lloh30:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	mov	x8, #140737488355328
	movk	x8, #16495, lsl #48
	fmov	d0, x8
	add	x0, sp, #8
	bl	_ff_amf_write_number
Lloh31:
	adrp	x1, l_.str.11@PAGE
Lloh32:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	add	x0, sp, #8
	fmov	d0, #1.00000000
	bl	_ff_amf_write_number
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.10:
Lloh33:
	adrp	x1, l_.str.12@PAGE
Lloh34:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_field_name
	ldr	x1, [x19, #32]
	add	x0, sp, #8
	bl	_ff_amf_write_string
LBB0_11:
	add	x0, sp, #8
	bl	_ff_amf_write_object_end
	ldr	x21, [x19, #40]
	cbz	x21, LBB0_18
; %bb.12:
Lloh35:
	adrp	x1, l_.str.13@PAGE
Lloh36:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_strspn
	add	x21, x21, w0, sxtw
	ldrb	w8, [x21]
	cbz	w8, LBB0_18
; %bb.13:
Lloh37:
	adrp	x22, l_.str.13@PAGE
Lloh38:
	add	x22, x22, l_.str.13@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x23, x0
	strb	wzr, [x0]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_rtmp_write_amf_data
	tbnz	w0, #31, LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x23, #1
	mov	x0, x21
	mov	x1, x22
	bl	_strspn
	add	x21, x21, w0, sxtw
	ldrb	w8, [x21]
	cbnz	w8, LBB0_14
	b	LBB0_18
LBB0_17:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_rtmp_write_amf_data
	tbnz	w0, #31, LBB0_21
LBB0_18:
	ldr	x8, [sp, #8]
	ldr	x9, [sp, #24]
	sub	x8, x8, x9
	lsr	x8, x8, #2
	str	w8, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #1
	bl	_rtmp_send_packet
LBB0_19:
	mov	x21, x0
LBB0_20:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_21:
	mov	x21, x0
	add	x0, sp, #16
	bl	_ff_rtmp_packet_destroy
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_RTMP_SYSTEM_CHANNEL,4,2        ; @RTMP_SYSTEM_CHANNEL
	.comm	_RTMP_PT_INVOKE,4,2             ; @RTMP_PT_INVOKE
	.comm	_APP_MAX_LENGTH,8,3             ; @APP_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"connect"

l_.str.1:                               ; @.str.1
	.asciz	"app"

l_.str.2:                               ; @.str.2
	.asciz	"type"

l_.str.3:                               ; @.str.3
	.asciz	"nonprivate"

l_.str.4:                               ; @.str.4
	.asciz	"flashVer"

l_.str.5:                               ; @.str.5
	.asciz	"swfUrl"

l_.str.6:                               ; @.str.6
	.asciz	"tcUrl"

l_.str.7:                               ; @.str.7
	.asciz	"fpad"

l_.str.8:                               ; @.str.8
	.asciz	"capabilities"

l_.str.9:                               ; @.str.9
	.asciz	"audioCodecs"

l_.str.10:                              ; @.str.10
	.asciz	"videoCodecs"

l_.str.11:                              ; @.str.11
	.asciz	"videoFunction"

l_.str.12:                              ; @.str.12
	.asciz	"pageUrl"

l_.str.13:                              ; @.str.13
	.asciz	" "

	.no_dead_strip	_gen_connect
.subsections_via_symbols
