	.file	"extr_snic_trc.c_snic_get_trc_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snic_get_trc_data
	.type	snic_get_trc_data, @function
snic_get_trc_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR snic_glob[rip]
	lea	r13, 24[rbx]
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR 8[rbx]
	je	.L7
	mov	rdx, QWORD PTR 32[rbx]
	lea	r14, [rdx+rax*8]
	cmp	QWORD PTR [r14], 0
	je	.L7
	add	rax, 1
	mov	QWORD PTR [rbx], rax
	cmp	rax, QWORD PTR 16[rbx]
	jne	.L5
	mov	QWORD PTR [rbx], 0
.L5:
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	snic_fmt_trc_data@PLT
.L7:
	.cfi_restore_state
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snic_get_trc_data, .-snic_get_trc_data
	.comm	snic_glob,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_snic_trc.c_snic_get_trc_data.c"
	.text
	.align	2
	.global	snic_get_trc_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	snic_get_trc_data, %function
snic_get_trc_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r7, r1
	add	r8, r4, #12
	mov	r1, #0
	mov	r6, r0
	mov	r0, r8
	bl	spin_lock_irqsave
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	cmp	r3, r2
	beq	.L8
	ldr	r2, [r4, #16]
	ldr	r1, [r2, r3, lsl #2]
	add	r5, r2, r3, lsl #2
	cmp	r1, #0
	beq	.L9
	ldr	r2, [r4, #8]
	add	r3, r3, #1
	cmp	r3, r2
	str	r3, [r4]
	moveq	r3, #0
	mov	r0, r8
	mov	r1, #0
	streq	r3, [r4]
	bl	spin_unlock_irqrestore
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	snic_fmt_trc_data
.L9:
	mov	r0, r8
	bl	spin_unlock_irqrestore
.L1:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r8
	mov	r1, #0
	bl	spin_unlock_irqrestore
	b	.L1
.L11:
	.align	2
.L10:
	.word	snic_glob
	.size	snic_get_trc_data, .-snic_get_trc_data
	.comm	snic_glob,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
