	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_play
_gen_play:                              ## @gen_play
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_RTMP_SOURCE_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_RTMP_PT_INVOKE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rbx), %rdi
	callq	_strlen
	leaq	29(%rax), %r8
	leaq	-48(%rbp), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_ff_rtmp_packet_create
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	16(%rbx), %eax
	movl	%eax, -40(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_ff_amf_write_string
	movl	8(%rbx), %esi
	incl	%esi
	movl	%esi, 8(%rbx)
	movq	%r14, %rdi
	callq	_ff_amf_write_number
	movq	%r14, %rdi
	callq	_ff_amf_write_null
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ff_amf_write_string
	imull	$1000, 12(%rbx), %esi           ## imm = 0x3E8
	movq	%r14, %rdi
	callq	_ff_amf_write_number
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rtmp_send_packet
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending play command for '%s'\n"

	.comm	_RTMP_SOURCE_CHANNEL,4,2        ## @RTMP_SOURCE_CHANNEL
	.comm	_RTMP_PT_INVOKE,4,2             ## @RTMP_PT_INVOKE
L_.str.1:                               ## @.str.1
	.asciz	"play"

	.no_dead_strip	_gen_play
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_play
_gen_play:                              ; @gen_play
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x3, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh5:
	adrp	x8, _RTMP_SOURCE_CHANNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTMP_SOURCE_CHANNEL@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _RTMP_PT_INVOKE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTMP_PT_INVOKE@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	ldr	x0, [x19]
	bl	_strlen
	add	x4, x0, #29
	add	x0, sp, #16
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_ff_rtmp_packet_create
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
	str	w8, [sp, #24]
	ldr	x8, [sp, #16]
	str	x8, [sp, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_ff_amf_write_string
	ldr	w8, [x19, #8]
	add	w1, w8, #1
	str	w1, [x19, #8]
	add	x0, sp, #8
	bl	_ff_amf_write_number
	add	x0, sp, #8
	bl	_ff_amf_write_null
	ldr	x1, [x19]
	add	x0, sp, #8
	bl	_ff_amf_write_string
	ldr	w8, [x19, #12]
	mov	w9, #1000
	mul	w1, w8, w9
	add	x0, sp, #8
	bl	_ff_amf_write_number
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #1
	bl	_rtmp_send_packet
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending play command for '%s'\n"

	.comm	_RTMP_SOURCE_CHANNEL,4,2        ; @RTMP_SOURCE_CHANNEL
	.comm	_RTMP_PT_INVOKE,4,2             ; @RTMP_PT_INVOKE
l_.str.1:                               ; @.str.1
	.asciz	"play"

	.no_dead_strip	_gen_play
.subsections_via_symbols
