	.file	"extr_rand_lib.c_rand_pool_add_begin.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rand_pool_add_begin
	.type	rand_pool_add_begin, @function
rand_pool_add_begin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rsi, rsi
	je	.L11
	mov	rax, QWORD PTR [rdi]
	sub	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	cmp	rax, rsi
	jb	.L13
	mov	r12, QWORD PTR 16[rdi]
	test	r12, r12
	je	.L14
	call	rand_pool_grow@PLT
	test	eax, eax
	je	.L11
	mov	r12, QWORD PTR 8[rbx]
	add	r12, QWORD PTR 16[rbx]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR RAND_R_RANDOM_POOL_OVERFLOW[rip]
	mov	edi, DWORD PTR RAND_F_RAND_POOL_ADD_BEGIN[rip]
	call	RANDerr@PLT
.L11:
	xor	r12d, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_INTERNAL_ERROR[rip]
	mov	edi, DWORD PTR RAND_F_RAND_POOL_ADD_BEGIN[rip]
	call	RANDerr@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rand_pool_add_begin, .-rand_pool_add_begin
	.comm	RAND_R_RANDOM_POOL_OVERFLOW,4,4
	.comm	RAND_F_RAND_POOL_ADD_BEGIN,4,4
	.comm	ERR_R_INTERNAL_ERROR,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_rand_lib.c_rand_pool_add_begin.c"
	.text
	.align	2
	.global	rand_pool_add_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_pool_add_begin, %function
rand_pool_add_begin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r3, r1, #0
	push	{r4, r5, r6, lr}
	beq	.L11
	ldm	r0, {r2, ip}
	sub	r2, r2, ip
	cmp	r2, r3
	mov	r4, r0
	bcc	.L13
	ldr	r5, [r0, #8]
	cmp	r5, #0
	beq	.L14
	bl	rand_pool_grow
	cmp	r0, #0
	beq	.L11
	ldmib	r4, {r3, r5}
	add	r5, r5, r3
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r2, .L15
	ldr	r3, .L15+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	RANDerr
.L11:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r2, .L15+8
	ldr	r3, .L15+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	RANDerr
	b	.L1
.L16:
	.align	2
.L15:
	.word	RAND_R_RANDOM_POOL_OVERFLOW
	.word	RAND_F_RAND_POOL_ADD_BEGIN
	.word	ERR_R_INTERNAL_ERROR
	.size	rand_pool_add_begin, .-rand_pool_add_begin
	.comm	RAND_R_RANDOM_POOL_OVERFLOW,4,4
	.comm	RAND_F_RAND_POOL_ADD_BEGIN,4,4
	.comm	ERR_R_INTERNAL_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
