	.file	"extr_skynet_server.c_cmd_stat.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mqlen"
.LC1:
	.string	"%d"
.LC2:
	.string	"endless"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
.LC5:
	.string	"cpu"
.LC7:
	.string	"%lf"
.LC8:
	.string	"time"
.LC9:
	.string	"message"
	.text
	.p2align 4
	.type	cmd_stat, @function
cmd_stat:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	strcmp@PLT
	test	rax, rax
	jne	.L2
	mov	edi, DWORD PTR 48[rbx]
	call	skynet_mq_length@PLT
	pxor	xmm0, xmm0
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	cvtsi2sd	xmm0, eax
	call	sprintf@PLT
.L3:
	mov	rax, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [rbx]
	test	eax, eax
	je	.L5
	lea	rsi, .LC3[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR 8[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, QWORD PTR [rbx]
	pxor	xmm0, xmm0
	lea	rsi, .LC7[rip]
	cvtsi2sd	xmm0, QWORD PTR 40[rbx]
	divsd	xmm0, QWORD PTR .LC6[rip]
	call	sprintf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L7
	cmp	QWORD PTR 32[rbx], 0
	je	.L8
	call	skynet_thread_time@PLT
	mov	rdi, QWORD PTR [rbx]
	sub	rax, QWORD PTR 24[rbx]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	lea	rsi, .LC7[rip]
	divsd	xmm0, QWORD PTR .LC6[rip]
	call	sprintf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC4[rip]
	call	strcpy@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR [rbx]
	mov	BYTE PTR [rax], 0
	jmp	.L3
.L12:
	movsd	xmm0, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	sprintf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cmd_stat, .-cmd_stat
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC6:
	.long	0
	.long	1093567616
	.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_skynet_server.c_cmd_stat.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mqlen\000"
	.global	__aeabi_i2d
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"endless\000"
	.align	2
.LC3:
	.ascii	"1\000"
	.align	2
.LC4:
	.ascii	"0\000"
	.align	2
.LC5:
	.ascii	"cpu\000"
	.global	__aeabi_ddiv
	.align	2
.LC6:
	.ascii	"%lf\000"
	.align	2
.LC7:
	.ascii	"time\000"
	.align	2
.LC8:
	.ascii	"message\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_stat, %function
cmd_stat:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r1, .L15
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	beq	.L13
	mov	r0, r5
	ldr	r1, .L15+4
	bl	strcmp
	subs	r6, r0, #0
	beq	.L14
	mov	r0, r5
	ldr	r1, .L15+8
	bl	strcmp
	cmp	r0, #0
	ldreq	r0, [r4, #24]
	beq	.L11
	mov	r0, r5
	ldr	r1, .L15+12
	bl	strcmp
	cmp	r0, #0
	bne	.L7
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L8
	bl	skynet_thread_time
	ldr	r3, [r4, #16]
	sub	r0, r0, r3
.L11:
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L15+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [r4]
	ldr	r1, .L15+20
	bl	sprintf
	ldr	r0, [r4]
	pop	{r4, r5, r6, pc}
.L14:
	ldm	r4, {r0, r3}
	cmp	r3, #0
	mov	r2, #2
	beq	.L5
	ldr	r1, .L15+24
	bl	memcpy
	ldr	r0, [r4]
	str	r6, [r4, #4]
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, [r4, #28]
	bl	skynet_mq_length
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [r4]
	ldr	r1, .L15+28
	bl	sprintf
.L3:
	ldr	r0, [r4]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r1, .L15+32
	bl	memcpy
	ldr	r0, [r4]
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r5
	ldr	r1, .L15+36
	bl	strcmp
	cmp	r0, #0
	movne	r3, #0
	ldr	r0, [r4]
	strbne	r3, [r0]
	bne	.L3
	add	r3, r4, #8
	ldmia	r3, {r2-r3}
	ldr	r1, .L15+28
	bl	sprintf
	b	.L3
.L8:
	mov	r2, #2
	ldr	r1, .L15+32
	ldr	r0, [r4]
	bl	memcpy
	b	.L3
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC2
	.word	.LC5
	.word	.LC7
	.word	1093567616
	.word	.LC6
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.word	.LC8
	.size	cmd_stat, .-cmd_stat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
