	.file	"extr_ngx_rtmp_record_module.c_ngx_rtmp_record_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_rtmp_record_init, @function
ngx_rtmp_record_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR ngx_rtmp_record_module[rip]
	call	ngx_rtmp_get_module_ctx@PLT
	test	rax, rax
	je	.L2
.L10:
	mov	rax, QWORD PTR NGX_OK[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR ngx_rtmp_record_module[rip]
	mov	rdi, rbx
	call	ngx_rtmp_get_module_app_conf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L10
	cmp	QWORD PTR [rax], 0
	je	.L10
	mov	rax, QWORD PTR [rbx]
	mov	esi, 4
	mov	edi, DWORD PTR [rax]
	call	ngx_pcalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	edx, DWORD PTR ngx_rtmp_record_module[rip]
	mov	rsi, rax
	mov	rdi, rbx
	call	ngx_rtmp_set_ctx@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, r12
	mov	ecx, 16
	mov	esi, DWORD PTR [rax]
	call	ngx_array_init@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L7
.L8:
	mov	rax, QWORD PTR NGX_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, r12
	mov	r13, QWORD PTR 8[rbp]
	call	ngx_array_push_n@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L8
	xor	r12d, r12d
	cmp	QWORD PTR 0[rbp], 0
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbx
	mov	esi, 16
	add	rbx, 16
	call	ngx_memzero@PLT
	mov	rax, QWORD PTR 0[r13+r12*8]
	add	r12, 1
	mov	QWORD PTR -8[rbx], rax
	mov	eax, DWORD PTR NGX_INVALID_FILE[rip]
	mov	DWORD PTR -16[rbx], eax
	cmp	QWORD PTR 0[rbp], r12
	jg	.L9
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	ngx_rtmp_record_init, .-ngx_rtmp_record_init
	.comm	ngx_rtmp_record_module,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_INVALID_FILE,4,4
	.comm	NGX_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_record_module.c_ngx_rtmp_record_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_rtmp_record_init, %function
ngx_rtmp_record_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L18
	mov	r5, r0
	ldr	r1, [r6]
	bl	ngx_rtmp_get_module_ctx
	subs	r4, r0, #0
	beq	.L2
.L4:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r5
	ldr	r1, [r6]
	bl	ngx_rtmp_get_module_app_conf
	subs	r7, r0, #0
	beq	.L4
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r5]
	mov	r1, #4
	ldr	r0, [r3]
	bl	ngx_pcalloc
	subs	r9, r0, #0
	beq	.L8
	mov	r1, r9
	ldr	r2, [r6]
	mov	r0, r5
	bl	ngx_rtmp_set_ctx
	ldr	r2, [r5]
	mov	r3, #8
	ldr	r1, [r2]
	mov	r0, r9
	ldr	r2, [r7]
	bl	ngx_array_init
	ldr	r8, .L18+4
	ldr	r3, [r8]
	cmp	r0, r3
	beq	.L7
.L8:
	ldr	r3, .L18+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r0, r9
	ldm	r7, {r1, r6}
	bl	ngx_array_push_n
	subs	r5, r0, #0
	beq	.L8
	ldr	r3, [r7]
	cmp	r3, #0
	ldrgt	r9, .L18+12
	subgt	r6, r6, #4
	ble	.L10
.L11:
	mov	r1, #8
	mov	r0, r5
	bl	ngx_memzero
	ldr	r1, [r7]
	ldr	r2, [r6, #4]!
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r1, r4
	str	r2, [r5, #4]
	str	r3, [r5], #8
	bgt	.L11
.L10:
	ldr	r0, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	.align	2
.L18:
	.word	ngx_rtmp_record_module
	.word	NGX_OK
	.word	NGX_ERROR
	.word	NGX_INVALID_FILE
	.size	ngx_rtmp_record_init, .-ngx_rtmp_record_init
	.comm	ngx_rtmp_record_module,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_INVALID_FILE,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
