	.file	"extr_..entropy.c_isc_entropy_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	isc_entropy_create
	.type	isc_entropy_create, @function
isc_entropy_create:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	REQUIRE@PLT
	xor	edi, edi
	test	rbx, rbx
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
.L2:
	call	REQUIRE@PLT
	mov	esi, 64
	mov	rdi, r12
	call	isc_mem_get@PLT
	mov	r13, QWORD PTR ISC_R_NOMEMORY[rip]
	mov	rbp, rax
	test	rax, rax
	je	.L1
	lea	rdi, 60[rax]
	call	isc_mutex_init@PLT
	cmp	QWORD PTR ISC_R_SUCCESS[rip], rax
	mov	r13, rax
	je	.L5
	mov	edx, 64
	mov	rsi, rbp
	mov	rdi, r12
	call	isc_mem_put@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 56[rbp]
	call	ISC_LIST_INIT@PLT
	mov	QWORD PTR 48[rbp], 0
	lea	rsi, 32[rbp]
	mov	rdi, r12
	mov	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 32[rbp], 0
	call	isc_mem_attach@PLT
	mov	eax, DWORD PTR ENTROPY_MAGIC[rip]
	mov	DWORD PTR 0[rbp], 1
	lea	rdi, 4[rbp]
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 16[rbp], 0
	mov	DWORD PTR 8[rbp], eax
	call	isc_entropypool_init@PLT
	mov	r13, QWORD PTR ISC_R_SUCCESS[rip]
	mov	QWORD PTR [rbx], rbp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rax, r13
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	isc_entropy_create, .-isc_entropy_create
	.comm	ISC_R_SUCCESS,8,8
	.comm	ISC_R_NOMEMORY,8,8
	.comm	ENTROPY_MAGIC,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_..entropy.c_isc_entropy_create.c"
	.text
	.align	2
	.global	isc_entropy_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_entropy_create, %function
isc_entropy_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	REQUIRE
	cmp	r6, #0
	ldrne	r3, [r6]
	moveq	r0, r6
	clzne	r0, r3
	lsrne	r0, r0, #5
	bl	REQUIRE
	mov	r1, #40
	mov	r0, r7
	bl	isc_mem_get
	subs	r4, r0, #0
	beq	.L9
	add	r0, r4, #36
	bl	isc_mutex_init
	ldr	r8, .L11
	mov	r5, r0
	ldr	r3, [r8]
	cmp	r3, r0
	bne	.L10
	ldr	r0, [r4, #32]
	bl	ISC_LIST_INIT
	mov	r5, #0
	mov	r1, r4
	str	r5, [r4, #28]
	str	r5, [r4, #24]
	mov	r0, r7
	str	r5, [r1, #20]!
	bl	isc_mem_attach
	mov	r3, #1
	ldr	r2, .L11+4
	str	r5, [r4, #16]
	ldr	r2, [r2]
	str	r5, [r4, #12]
	str	r2, [r4, #8]
	str	r3, [r4]
	add	r0, r4, #4
	bl	isc_entropypool_init
	ldr	r5, [r8]
	str	r4, [r6]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r1, r4
	mov	r0, r7
	mov	r2, #40
	bl	isc_mem_put
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L11+8
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	ISC_R_SUCCESS
	.word	ENTROPY_MAGIC
	.word	ISC_R_NOMEMORY
	.size	isc_entropy_create, .-isc_entropy_create
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOMEMORY,4,4
	.comm	ENTROPY_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
