	.file	"extr_ngx_rtmp_live_module.c_ngx_rtmp_live_publish.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"live: publish: name='%s' type='%s'"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Start publishing"
.LC2:
	.string	"status"
.LC3:
	.string	"NetStream.Publish.Start"
	.text
	.p2align 4
	.type	ngx_rtmp_live_publish, @function
ngx_rtmp_live_publish:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR ngx_rtmp_live_module[rip]
	call	ngx_rtmp_get_module_app_conf@PLT
	test	rax, rax
	je	.L3
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jne	.L10
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	next_publish@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	r9d, DWORD PTR 8[r12]
	xor	edx, edx
	lea	rcx, .LC0[rip]
	mov	r8d, DWORD PTR 4[r12]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_RTMP[rip]
	mov	esi, DWORD PTR [rax]
	call	ngx_log_debug2@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	rdi, rbp
	mov	edx, 1
	call	ngx_rtmp_live_join@PLT
	mov	esi, DWORD PTR ngx_rtmp_live_module[rip]
	mov	rdi, rbp
	call	ngx_rtmp_get_module_ctx@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR 4[rax]
	test	edx, edx
	je	.L3
	mov	edx, DWORD PTR [r12]
	mov	DWORD PTR [rax], edx
	test	edx, edx
	jne	.L3
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	call	ngx_rtmp_send_status@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ngx_rtmp_live_publish, .-ngx_rtmp_live_publish
	.comm	ngx_rtmp_live_module,4,4
	.comm	NGX_LOG_DEBUG_RTMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ngx_rtmp_live_module.c_ngx_rtmp_live_publish.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"live: publish: name='%s' type='%s'\000"
	.align	2
.LC1:
	.ascii	"Start publishing\000"
	.align	2
.LC2:
	.ascii	"status\000"
	.align	2
.LC3:
	.ascii	"NetStream.Publish.Start\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_rtmp_live_publish, %function
ngx_rtmp_live_publish:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L17
	mov	r4, r1
	sub	sp, sp, #8
	ldr	r1, [r6]
	mov	r5, r0
	bl	ngx_rtmp_get_module_app_conf
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L16
.L3:
	mov	r1, r4
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	next_publish
.L16:
	ldr	r3, [r5]
	ldr	r2, [r4, #8]
	ldr	r1, [r3]
	ldr	r0, .L17+4
	ldr	r3, [r4, #4]
	ldr	r0, [r0]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L17+8
	bl	ngx_log_debug2
	mov	r2, #1
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	ngx_rtmp_live_join
	mov	r0, r5
	ldr	r1, [r6]
	bl	ngx_rtmp_get_module_ctx
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, #0
	str	r3, [r0]
	bne	.L3
	mov	r0, r5
	ldr	r3, .L17+12
	ldr	r2, .L17+16
	ldr	r1, .L17+20
	bl	ngx_rtmp_send_status
	b	.L3
.L18:
	.align	2
.L17:
	.word	ngx_rtmp_live_module
	.word	NGX_LOG_DEBUG_RTMP
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	ngx_rtmp_live_publish, .-ngx_rtmp_live_publish
	.comm	ngx_rtmp_live_module,4,4
	.comm	NGX_LOG_DEBUG_RTMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
