	.file	"extr_ngx_rtmp.c_ngx_rtmp_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_rtmp_block, @function
ngx_rtmp_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 24
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	edi, DWORD PTR 40[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	ngx_pcalloc@PLT
	test	rax, rax
	je	.L93
	mov	rdx, QWORD PTR ngx_modules[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	rbx, rax
	mov	DWORD PTR ngx_rtmp_max_module[rip], 0
	mov	rax, QWORD PTR [rdx]
	test	rax, rax
	je	.L8
	mov	rcx, QWORD PTR NGX_RTMP_MODULE[rip]
	add	rdx, 8
	xor	edi, edi
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	QWORD PTR [rax], rcx
	jne	.L6
	movsx	rdi, esi
	add	esi, 1
	mov	QWORD PTR 8[rax], rdi
	mov	edi, 1
.L6:
	mov	rax, QWORD PTR [rdx]
	add	rdx, 8
	test	rax, rax
	jne	.L7
	test	dil, dil
	je	.L8
	mov	DWORD PTR ngx_rtmp_max_module[rip], esi
	sal	esi, 3
.L5:
	mov	edi, DWORD PTR 40[r13]
	call	ngx_pcalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L93
	mov	eax, DWORD PTR ngx_rtmp_max_module[rip]
	mov	edi, DWORD PTR 40[r13]
	lea	esi, 0[0+rax*8]
	call	ngx_pcalloc@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L93
	mov	eax, DWORD PTR ngx_rtmp_max_module[rip]
	mov	edi, DWORD PTR 40[r13]
	lea	esi, 0[0+rax*8]
	call	ngx_pcalloc@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L93
	mov	rcx, QWORD PTR ngx_modules[rip]
	mov	rdx, QWORD PTR NGX_RTMP_MODULE[rip]
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR 24[rsp], rcx
	test	rax, rax
	je	.L12
	add	rcx, 8
	mov	QWORD PTR 8[rsp], rcx
	mov	r12, rcx
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	QWORD PTR [rax], rdx
	jne	.L13
	mov	r14, QWORD PTR 16[rax]
	mov	rbp, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 56[r14]
	test	rax, rax
	je	.L14
	mov	rdx, QWORD PTR 16[rbx]
	mov	rdi, r13
	lea	r15, [rdx+rbp*8]
	call	rax
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR [rax+rbp*8], 0
	je	.L93
.L14:
	mov	rax, QWORD PTR 48[r14]
	test	rax, rax
	je	.L15
	mov	rdx, QWORD PTR 8[rbx]
	mov	rdi, r13
	lea	r15, [rdx+rbp*8]
	call	rax
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rax+rbp*8], 0
	je	.L93
.L15:
	mov	rax, QWORD PTR 40[r14]
	test	rax, rax
	je	.L92
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, r13
	lea	r14, [rdx+rbp*8]
	call	rax
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR [rax+rbp*8], 0
	je	.L93
.L92:
	mov	rdx, QWORD PTR NGX_RTMP_MODULE[rip]
.L13:
	mov	rax, QWORD PTR [r12]
	add	r12, 8
	test	rax, rax
	jne	.L18
	mov	ecx, DWORD PTR 0[r13]
	mov	rax, QWORD PTR 24[rsp]
	mov	DWORD PTR 44[rsp], ecx
	mov	rcx, QWORD PTR 8[r13]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[r13], rbx
	mov	QWORD PTR 48[rsp], rcx
	mov	ecx, DWORD PTR 16[r13]
	mov	DWORD PTR 72[rsp], ecx
	mov	rcx, QWORD PTR 24[r13]
	mov	QWORD PTR 56[rsp], rcx
	mov	rcx, QWORD PTR 32[r13]
	mov	QWORD PTR 64[rsp], rcx
	mov	ecx, DWORD PTR 40[r13]
	mov	DWORD PTR 76[rsp], ecx
	test	rax, rax
	je	.L19
	mov	rbp, QWORD PTR 8[rsp]
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	QWORD PTR [rax], rdx
	jne	.L20
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L20
	mov	rdi, r13
	call	rax
	cmp	rax, QWORD PTR NGX_OK[rip]
	jne	.L93
	mov	rdx, QWORD PTR NGX_RTMP_MODULE[rip]
.L20:
	mov	rax, QWORD PTR 0[rbp]
	add	rbp, 8
	test	rax, rax
	jne	.L22
.L19:
	mov	eax, DWORD PTR NGX_RTMP_MAIN_CONF[rip]
	mov	QWORD PTR 24[r13], rdx
	xor	esi, esi
	mov	rdi, r13
	mov	DWORD PTR 16[r13], eax
	call	ngx_conf_parse@PLT
	cmp	QWORD PTR NGX_CONF_OK[rip], rax
	je	.L23
	mov	ecx, DWORD PTR 44[rsp]
	mov	DWORD PTR 0[r13], ecx
	mov	rcx, QWORD PTR 48[rsp]
	mov	QWORD PTR 8[r13], rcx
	mov	ecx, DWORD PTR 72[rsp]
	mov	DWORD PTR 16[r13], ecx
	mov	rcx, QWORD PTR 56[rsp]
	mov	QWORD PTR 24[r13], rcx
	mov	rcx, QWORD PTR 64[rsp]
	mov	QWORD PTR 32[r13], rcx
	mov	ecx, DWORD PTR 76[rsp]
	mov	DWORD PTR 40[r13], ecx
	jmp	.L1
.L23:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR ngx_rtmp_core_module[rip]
	mov	rcx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR [rax+rdx*8]
	add	rcx, 8
	mov	QWORD PTR 8[rsp], rax
	mov	r14, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rcx]
	mov	QWORD PTR 32[rsp], rcx
	test	rax, rax
	je	.L29
	mov	r15, r13
	mov	r13, r14
.L28:
	mov	rcx, QWORD PTR NGX_RTMP_MODULE[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L32
	mov	r12, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 8[r15], rbx
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 8[r12]
	test	rax, rax
	je	.L33
	mov	rdx, QWORD PTR 16[rbx]
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdi, r15
	mov	rsi, QWORD PTR [rdx+rcx*8]
	call	rax
	cmp	QWORD PTR NGX_CONF_OK[rip], rax
	jne	.L97
.L33:
	mov	rax, QWORD PTR 16[rsp]
	xor	r14d, r14d
	lea	rbp, 0[0+rax*8]
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 16[rax], 0
	je	.L32
	mov	rax, r15
	mov	r15, r14
	mov	r14, r13
	mov	r13, rax
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rax, QWORD PTR [r14+r15*8]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[r12]
	mov	QWORD PTR 8[r13], rdx
	test	rax, rax
	je	.L34
	mov	rdx, QWORD PTR 8[rdx]
	mov	rcx, QWORD PTR 8[rbx]
	mov	rdi, r13
	mov	rdx, QWORD PTR [rdx+rbp]
	mov	rsi, QWORD PTR [rcx+rbp]
	call	rax
	cmp	QWORD PTR NGX_CONF_OK[rip], rax
	jne	.L98
.L34:
	mov	rax, QWORD PTR 24[r12]
	test	rax, rax
	je	.L35
	mov	rdx, QWORD PTR [r14+r15*8]
	mov	rcx, QWORD PTR [rbx]
	mov	rdi, r13
	mov	rdx, QWORD PTR [rdx]
	mov	rsi, QWORD PTR [rcx+rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx+rbp]
	call	rax
	cmp	QWORD PTR NGX_CONF_OK[rip], rax
	jne	.L94
	mov	rax, QWORD PTR [r14+r15*8]
	mov	rcx, QWORD PTR ngx_rtmp_core_module[rip]
	mov	rdi, r13
	mov	r8, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR [rdx+rcx*8]
	mov	rdx, QWORD PTR [rax]
	mov	rcx, r12
	add	rsi, 8
	call	ngx_rtmp_merge_applications@PLT
	cmp	QWORD PTR NGX_CONF_OK[rip], rax
	jne	.L94
.L35:
	mov	rax, QWORD PTR 8[rsp]
	add	r15, 1
	cmp	QWORD PTR 16[rax], r15
	ja	.L37
	mov	r15, r13
	mov	r13, r14
.L32:
	add	QWORD PTR 32[rsp], 8
	mov	rax, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR -8[rax]
	test	rax, rax
	jne	.L28
	mov	r13, r15
.L29:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r13
	call	ngx_rtmp_init_events@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR NGX_OK[rip]
	mov	rax, QWORD PTR NGX_CONF_ERROR[rip]
	jne	.L1
	mov	rbx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR [rbx]
	add	rbx, 8
	test	rax, rax
	je	.L43
.L42:
	mov	rcx, QWORD PTR NGX_RTMP_MODULE[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L41
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L41
	mov	rdi, r13
	call	rax
	cmp	rax, QWORD PTR NGX_OK[rip]
	jne	.L93
.L41:
	mov	rax, QWORD PTR [rbx]
	add	rbx, 8
	test	rax, rax
	jne	.L42
.L43:
	mov	eax, DWORD PTR 44[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR 8[r13], rax
	mov	eax, DWORD PTR 72[rsp]
	mov	DWORD PTR 16[r13], eax
	mov	rax, QWORD PTR 56[rsp]
	mov	QWORD PTR 24[r13], rax
	mov	rax, QWORD PTR 64[rsp]
	mov	QWORD PTR 32[r13], rax
	mov	eax, DWORD PTR 76[rsp]
	mov	DWORD PTR 40[r13], eax
	call	ngx_rtmp_init_event_handlers@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR NGX_OK[rip]
	mov	rax, QWORD PTR NGX_CONF_ERROR[rip]
	jne	.L1
	mov	esi, DWORD PTR 0[r13]
	lea	rbp, 84[rsp]
	mov	ecx, 4
	mov	edx, 4
	mov	rdi, rbp
	call	ngx_array_init@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	jne	.L93
	mov	rax, QWORD PTR 8[rsp]
	xor	ebx, ebx
	cmp	QWORD PTR [rax], 0
	mov	r12, QWORD PTR 8[rax]
	jne	.L47
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rax, QWORD PTR 8[rsp]
	add	rbx, 1
	add	r12, 4
	cmp	QWORD PTR [rax], rbx
	jbe	.L48
.L47:
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	ngx_rtmp_add_ports@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L46
	.p2align 4,,10
	.p2align 3
.L93:
	mov	rax, QWORD PTR NGX_CONF_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 88[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L99
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	esi, esi
	jmp	.L5
.L94:
	mov	ebx, DWORD PTR 44[rsp]
	mov	rcx, QWORD PTR 48[rsp]
	mov	DWORD PTR 0[r13], ebx
	mov	QWORD PTR 8[r13], rcx
.L95:
	mov	ebx, DWORD PTR 72[rsp]
	mov	rcx, QWORD PTR 56[rsp]
	mov	DWORD PTR 16[r13], ebx
	mov	rbx, QWORD PTR 64[rsp]
	mov	QWORD PTR 24[r13], rcx
	mov	ecx, DWORD PTR 76[rsp]
	mov	QWORD PTR 32[r13], rbx
	mov	DWORD PTR 40[r13], ecx
	jmp	.L1
.L98:
	mov	ebx, DWORD PTR 44[rsp]
	mov	DWORD PTR 0[r13], ebx
	mov	rbx, QWORD PTR 48[rsp]
	mov	QWORD PTR 8[r13], rbx
	jmp	.L95
.L12:
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 44[rsp], eax
	mov	rax, QWORD PTR 8[r13]
	mov	QWORD PTR 8[r13], rbx
	mov	QWORD PTR 48[rsp], rax
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR 72[rsp], eax
	mov	rax, QWORD PTR 24[r13]
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 32[r13]
	mov	QWORD PTR 64[rsp], rax
	mov	eax, DWORD PTR 40[r13]
	mov	DWORD PTR 76[rsp], eax
	jmp	.L19
.L97:
	mov	ecx, DWORD PTR 44[rsp]
	mov	rbx, QWORD PTR 48[rsp]
	mov	DWORD PTR [r15], ecx
	mov	ecx, DWORD PTR 72[rsp]
	mov	QWORD PTR 8[r15], rbx
	mov	rbx, QWORD PTR 56[rsp]
	mov	DWORD PTR 16[r15], ecx
	mov	rcx, QWORD PTR 64[rsp]
	mov	QWORD PTR 24[r15], rbx
	mov	ebx, DWORD PTR 76[rsp]
	mov	QWORD PTR 32[r15], rcx
	mov	DWORD PTR 40[r15], ebx
	jmp	.L1
.L99:
	call	__stack_chk_fail@PLT
.L48:
	mov	rsi, rbp
	mov	rdi, r13
	call	ngx_rtmp_optimize_servers@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ngx_rtmp_block, .-ngx_rtmp_block
	.comm	ngx_rtmp_max_module,4,4
	.comm	ngx_rtmp_core_module,8,8
	.comm	ngx_modules,8,8
	.comm	NGX_RTMP_MODULE,8,8
	.comm	NGX_RTMP_MAIN_CONF,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_CONF_OK,8,8
	.comm	NGX_CONF_ERROR,8,8
	.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.c_ngx_rtmp_block.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_rtmp_block, %function
ngx_rtmp_block:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L90
	sub	sp, sp, #68
	mov	r5, r0
	mov	r1, #12
	ldr	r0, [r0, #20]
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	bl	ngx_pcalloc
	subs	r4, r0, #0
	beq	.L85
	mov	ip, #0
	ldr	r6, .L90+4
	ldr	r7, .L90+8
	ldr	r2, [r6]
	str	r4, [r8]
	ldr	r3, [r2]
	str	ip, [r7]
	cmp	r3, ip
	beq	.L8
	mov	r1, ip
	ldr	r0, .L90+12
	ldr	lr, [r0]
.L7:
	ldr	r0, [r3]
	cmp	r0, lr
	moveq	ip, #1
	streq	r1, [r3, #4]
	ldr	r3, [r2, #4]!
	addeq	r1, r1, ip
	cmp	r3, #0
	bne	.L7
	cmp	ip, #0
	beq	.L8
	str	r1, [r7]
	lsl	r1, r1, #2
.L5:
	ldr	r0, [r5, #20]
	bl	ngx_pcalloc
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L85
	ldr	r1, [r7]
	ldr	r0, [r5, #20]
	lsl	r1, r1, #2
	bl	ngx_pcalloc
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L85
	ldr	r1, [r7]
	ldr	r0, [r5, #20]
	lsl	r1, r1, #2
	bl	ngx_pcalloc
	cmp	r0, #0
	str	r0, [r4]
	beq	.L85
	ldr	r8, [r6]
	ldr	r6, .L90+12
	ldr	r3, [r8]
	ldr	ip, [r6]
	cmp	r3, #0
	str	r8, [sp, #16]
	beq	.L12
.L18:
	ldr	r2, [r3]
	cmp	r2, ip
	bne	.L13
	ldmib	r3, {r7, r9}
	ldr	r3, [r9, #28]
	cmp	r3, #0
	beq	.L14
	mov	r0, r5
	ldr	r10, [r4, #8]
	blx	r3
	ldr	r3, [r4, #8]
	str	r0, [r10, r7, lsl #2]
	ldr	r3, [r3, r7, lsl #2]
	cmp	r3, #0
	beq	.L85
.L14:
	ldr	r3, [r9, #24]
	cmp	r3, #0
	beq	.L15
	mov	r0, r5
	ldr	r10, [r4, #4]
	blx	r3
	ldr	r3, [r4, #4]
	str	r0, [r10, r7, lsl #2]
	ldr	r3, [r3, r7, lsl #2]
	cmp	r3, #0
	beq	.L85
.L15:
	ldr	r3, [r9, #20]
	cmp	r3, #0
	beq	.L84
	mov	r0, r5
	ldr	r9, [r4]
	blx	r3
	ldr	r3, [r4]
	str	r0, [r9, r7, lsl #2]
	ldr	r3, [r3, r7, lsl #2]
	cmp	r3, #0
	beq	.L85
.L84:
	ldr	ip, [r6]
.L13:
	ldr	r3, [r8, #4]!
	cmp	r3, #0
	bne	.L18
	add	r3, sp, #36
	mov	lr, r3
	mov	r7, r5
	str	r3, [sp, #20]
	ldmia	r7!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	r7, {r0, r1}
	ldr	r7, [sp, #16]
	stm	lr, {r0, r1}
	ldr	r3, [r7]
	str	r4, [r5, #4]
	cmp	r3, #0
	beq	.L19
	ldr	r8, .L90+16
.L22:
	ldr	r2, [r3]
	cmp	r2, ip
	bne	.L20
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
	mov	r0, r5
	blx	r3
	ldr	r3, [r8]
	cmp	r0, r3
	bne	.L85
	ldr	ip, [r6]
.L20:
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	bne	.L22
.L19:
	ldr	r3, .L90+20
	str	ip, [r5, #12]
	ldr	r3, [r3]
	mov	r1, #0
	str	r3, [r5, #8]
	mov	r0, r5
	bl	ngx_conf_parse
	ldr	fp, .L90+24
	mov	ip, r0
	ldr	r3, [fp]
	cmp	r3, r0
	beq	.L23
.L87:
	ldr	lr, [sp, #20]
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	r5!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	r5, {r0, r1}
	b	.L1
.L23:
	ldr	r3, .L90+28
	ldr	r2, [r4, #8]
	ldr	r1, [r3]
	ldr	r3, [sp, #16]
	ldr	r2, [r2, r1, lsl #2]
	ldr	r3, [r3]
	str	r2, [sp, #8]
	ldr	r2, [r2, #12]
	cmp	r3, #0
	str	r2, [sp, #28]
	ldrne	r2, [sp, #16]
	strne	r2, [sp, #24]
	beq	.L29
.L28:
	ldr	r1, [r3]
	ldr	r2, [r6]
	cmp	r1, r2
	bne	.L32
	ldmib	r3, {r3, r10}
	str	r3, [sp, #12]
	ldr	r3, [r10, #4]
	str	r4, [r5, #4]
	cmp	r3, #0
	beq	.L33
	ldr	r2, [r4, #8]
	ldr	r1, [sp, #12]
	mov	r0, r5
	ldr	r1, [r2, r1, lsl #2]
	blx	r3
	ldr	r3, [fp]
	cmp	r3, r0
	bne	.L86
.L33:
	ldr	r3, [sp, #8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L32
	mov	r8, #0
	ldr	r3, [sp, #12]
	lsl	r9, r3, #2
	ldr	r3, [sp, #28]
	sub	r7, r3, #4
.L37:
	ldr	r2, [r7, #4]!
	ldr	r3, [r10, #8]
	ldr	r2, [r2]
	cmp	r3, #0
	str	r2, [r5, #4]
	beq	.L34
	ldr	r2, [r2, #4]
	ldr	r1, [r4, #4]
	mov	r0, r5
	ldr	r2, [r2, r9]
	ldr	r1, [r1, r9]
	blx	r3
	ldr	r3, [fp]
	cmp	r3, r0
	bne	.L86
.L34:
	ldr	r3, [r10, #12]
	cmp	r3, #0
	beq	.L35
	ldr	r2, [r7]
	ldr	r1, [r4]
	ldr	r2, [r2]
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1, r9]
	ldr	r2, [r2, r9]
	blx	r3
	ldr	r3, [fp]
	cmp	r3, r0
	bne	.L86
	ldr	r3, [r7]
	ldr	r2, .L90+28
	ldr	r0, [r2]
	ldr	r2, [r3]
	mov	r3, r10
	ldr	r1, [r2, #4]
	ldr	r2, [r2]
	ldr	r1, [r1, r0, lsl #2]
	ldr	r0, [sp, #12]
	add	r1, r1, #4
	str	r0, [sp]
	mov	r0, r5
	bl	ngx_rtmp_merge_applications
	ldr	r3, [fp]
	cmp	r3, r0
	bne	.L86
.L35:
	ldr	r3, [sp, #8]
	add	r8, r8, #1
	ldr	r3, [r3, #8]
	cmp	r3, r8
	bhi	.L37
.L32:
	ldr	r2, [sp, #24]
	ldr	r3, [r2, #4]!
	cmp	r3, #0
	str	r2, [sp, #24]
	bne	.L28
.L29:
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	ngx_rtmp_init_events
	ldr	r4, .L90+16
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L85
	ldr	r3, [sp, #16]
	ldr	r3, [r3]
	cmp	r3, #0
	ldrne	r7, [sp, #16]
	beq	.L43
.L42:
	ldr	r1, [r3]
	ldr	r2, [r6]
	cmp	r1, r2
	bne	.L41
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L41
	mov	r0, r5
	blx	r3
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L85
.L41:
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	bne	.L42
.L43:
	mov	ip, r5
	ldr	lr, [sp, #20]
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	ngx_rtmp_init_event_handlers
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L85
	mov	r3, #4
	ldr	r1, [r5]
	mov	r2, r3
	add	r0, sp, #32
	bl	ngx_array_init
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L85
	ldr	r2, [sp, #8]
	ldm	r2, {r3, r6}
	cmp	r3, #0
	movne	r7, #0
	ldrne	r8, [sp, #8]
	bne	.L47
	b	.L48
.L46:
	ldr	r3, [r8]
	add	r7, r7, #1
	cmp	r3, r7
	add	r6, r6, #4
	bls	.L48
.L47:
	mov	r2, r6
	mov	r0, r5
	add	r1, sp, #32
	bl	ngx_rtmp_add_ports
	ldr	r3, [r4]
	cmp	r0, r3
	beq	.L46
.L85:
	ldr	r3, .L90+32
	ldr	ip, [r3]
.L1:
	ldr	r3, .L90
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L89
	mov	r0, ip
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r1, #0
	b	.L5
.L86:
	mov	ip, r0
	b	.L87
.L12:
	add	r3, sp, #36
	mov	lr, r3
	mov	r7, r5
	str	r3, [sp, #20]
	ldmia	r7!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	r7, {r0, r1}
	str	r4, [r5, #4]
	stm	lr, {r0, r1}
	b	.L19
.L89:
	bl	__stack_chk_fail
.L48:
	mov	r0, r5
	add	r1, sp, #32
	bl	ngx_rtmp_optimize_servers
	mov	ip, r0
	b	.L1
.L91:
	.align	2
.L90:
	.word	.LC0
	.word	ngx_modules
	.word	ngx_rtmp_max_module
	.word	NGX_RTMP_MODULE
	.word	NGX_OK
	.word	NGX_RTMP_MAIN_CONF
	.word	NGX_CONF_OK
	.word	ngx_rtmp_core_module
	.word	NGX_CONF_ERROR
	.size	ngx_rtmp_block, .-ngx_rtmp_block
	.comm	ngx_rtmp_max_module,4,4
	.comm	ngx_rtmp_core_module,4,4
	.comm	ngx_modules,4,4
	.comm	NGX_RTMP_MODULE,4,4
	.comm	NGX_RTMP_MAIN_CONF,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_CONF_OK,4,4
	.comm	NGX_CONF_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
