	.file	"extr_ck_rhs.c_ck_rhs_next.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ck_rhs_next
	.type	ck_rhs_next, @function
ck_rhs_next:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	rbx, rdx
	mov	rsi, QWORD PTR [rsi]
	cmp	rsi, QWORD PTR [r12]
	jl	.L2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 0[rbp]
	lea	rsi, 1[rax]
	mov	QWORD PTR 0[rbp], rsi
	cmp	rsi, QWORD PTR [r12]
	jge	.L5
.L2:
	mov	rdi, r12
	call	ck_rhs_entry@PLT
	mov	edi, eax
	call	CK_CC_DECONST_PTR@PLT
	cmp	QWORD PTR CK_RHS_EMPTY[rip], rax
	je	.L4
	add	QWORD PTR 0[rbp], 1
	mov	QWORD PTR [rbx], rax
	mov	eax, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ck_rhs_next, .-ck_rhs_next
	.comm	CK_RHS_MODE_OBJECT,4,4
	.comm	CK_RHS_EMPTY,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_ck_rhs.c_ck_rhs_next.c"
	.text
	.align	2
	.global	ck_rhs_next
	.syntax unified
	.arm
	.fpu softvfp
	.type	ck_rhs_next, %function
ck_rhs_next:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0, #4]
	mov	r4, r1
	ldr	r3, [r5]
	ldr	r1, [r1]
	cmp	r1, r3
	bge	.L5
	mov	r6, r2
	ldr	r7, .L10
	b	.L2
.L4:
	ldr	r1, [r4]
	ldr	r3, [r5]
	add	r1, r1, #1
	cmp	r1, r3
	str	r1, [r4]
	bge	.L5
.L2:
	mov	r0, r5
	bl	ck_rhs_entry
	bl	CK_CC_DECONST_PTR
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L4
	mov	r3, #1
	ldr	r2, [r4]
	add	r2, r2, r3
	str	r2, [r4]
	str	r0, [r6]
	mov	r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	CK_RHS_EMPTY
	.size	ck_rhs_next, .-ck_rhs_next
	.comm	CK_RHS_MODE_OBJECT,4,4
	.comm	CK_RHS_EMPTY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
