	.file	"extr_ultracam.c_ultracam_ProcessIsocData.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ultracam_ProcessIsocData, @function
ultracam_ProcessIsocData:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	lea	r13, 12[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	assert@PLT
	mov	rdi, r13
	call	RingQueue_GetLength@PLT
	test	eax, eax
	jg	.L2
	mov	eax, DWORD PTR 0[rbp]
.L3:
	cmp	DWORD PTR [rbx], eax
	jg	.L1
	mov	eax, DWORD PTR FrameState_Done[rip]
	mov	DWORD PTR 8[rbp], eax
	add	DWORD PTR 8[rbx], 1
	mov	DWORD PTR 4[rbx], -1
.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 0[rbp]
	mov	r12d, DWORD PTR [rbx]
	mov	rdi, r13
	sub	r12d, esi
	add	esi, DWORD PTR 4[rbp]
	mov	edx, r12d
	call	RingQueue_Dequeue@PLT
	mov	eax, DWORD PTR 0[rbp]
	add	eax, r12d
	mov	DWORD PTR 0[rbp], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ultracam_ProcessIsocData, .-ultracam_ProcessIsocData
	.comm	FrameState_Done,4,4
	.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_ultracam.c_ultracam_ProcessIsocData.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ultracam_ProcessIsocData, %function
ultracam_ProcessIsocData:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	subs	r0, r5, #0
	movne	r0, #1
	add	r7, r4, #12
	bl	assert
	mov	r0, r7
	bl	RingQueue_GetLength
	cmp	r0, #0
	bgt	.L2
	ldr	r2, [r5]
.L3:
	ldr	r3, [r4]
	cmp	r3, r2
	popgt	{r4, r5, r6, r7, r8, pc}
	mvn	r2, #0
	ldr	r1, .L7
	ldr	r3, [r4, #8]
	ldr	r1, [r1]
	add	r3, r3, #1
	str	r1, [r5, #8]
	stmib	r4, {r2, r3}
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r5]
	ldr	r2, [r4]
	ldr	r1, [r5, #4]
	sub	r6, r2, r3
	mov	r2, r6
	mov	r0, r7
	add	r1, r3, r1
	bl	RingQueue_Dequeue
	ldr	r2, [r5]
	add	r2, r6, r2
	str	r2, [r5]
	b	.L3
.L8:
	.align	2
.L7:
	.word	FrameState_Done
	.size	ultracam_ProcessIsocData, .-ultracam_ProcessIsocData
	.comm	FrameState_Done,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
