	.file	"extr_ngx_http_lua_log_ringbuf.c_ngx_http_lua_log_ringbuf_append.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_http_lua_log_ringbuf_append, @function
ngx_http_lua_log_ringbuf_append:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movsx	rbp, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rdi]
	mov	DWORD PTR 0[r13], ebp
	mov	DWORD PTR 4[r13], esi
	call	ngx_timeofday@PLT
	mov	rdi, QWORD PTR HEADER_LEN[rip]
	add	rdi, QWORD PTR [rbx]
	mov	edx, ebp
	fild	QWORD PTR 16[rax]
	mov	rsi, r12
	fld	TBYTE PTR [rax]
	fnstcw	WORD PTR 14[rsp]
	fdiv	DWORD PTR .LC0[rip]
	movzx	eax, WORD PTR 14[rsp]
	or	ah, 12
	mov	WORD PTR 12[rsp], ax
	faddp	st(1), st
	fldcw	WORD PTR 12[rsp]
	fistp	QWORD PTR 8[r13]
	fldcw	WORD PTR 14[rsp]
	mov	QWORD PTR [rbx], rdi
	call	ngx_memcpy@PLT
	add	rbp, QWORD PTR [rbx]
	add	DWORD PTR 16[rbx], 1
	mov	QWORD PTR [rbx], rbp
	cmp	rbp, QWORD PTR 8[rbx]
	jle	.L3
	mov	QWORD PTR 8[rbx], rbp
.L3:
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_log_ringbuf_append, .-ngx_http_lua_log_ringbuf_append
	.comm	HEADER_LEN,8,8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1148846080
	.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_http_lua_log_ringbuf.c_ngx_http_lua_log_ringbuf_append.c"
	.text
	.global	__aeabi_ddiv
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_lua_log_ringbuf_append, %function
ngx_http_lua_log_ringbuf_append:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r10, [r0]
	mov	r4, r0
	str	r1, [r10, #4]
	str	r3, [r10]
	mov	r5, r3
	mov	r7, r2
	bl	ngx_timeofday
	mov	r2, #0
	ldr	r3, .L5
	mov	r6, r0
	ldmia	r0, {r0-r1}
	bl	__aeabi_ddiv
	mov	r8, r0
	ldr	r0, [r6, #8]
	mov	r9, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r2, .L5+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r0, [r10, #8]
	add	r0, r3, r2
	mov	r1, r7
	mov	r2, r5
	str	r0, [r4]
	bl	ngx_memcpy
	ldm	r4, {r1, r2, r3}
	add	r5, r5, r1
	cmp	r5, r2
	add	r3, r3, #1
	str	r5, [r4]
	str	r3, [r4, #8]
	strgt	r5, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	.align	2
.L5:
	.word	1083129856
	.word	HEADER_LEN
	.size	ngx_http_lua_log_ringbuf_append, .-ngx_http_lua_log_ringbuf_append
	.comm	HEADER_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
