	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createcallbacksource ## -- Begin function isc_entropy_createcallbacksource
	.p2align	4, 0x90
_isc_entropy_createcallbacksource:      ## @isc_entropy_createcallbacksource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	callq	_VALID_ENTROPY
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r14)
	sete	%dil
LBB0_2:
	callq	_REQUIRE
	movq	%rbx, %rdi
	callq	_LOCK
	movl	4(%rbx), %edi
	movl	$88, %esi
	callq	_isc_mem_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r12)
	movq	%r12, %rsi
	addq	$72, %rsi
	movq	%rbx, %rdi
	callq	_samplesource_allocate
	movq	%rax, %r15
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_6
## %bb.5:
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 56(%r12)
	movq	%r13, 48(%r12)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r12)
	movq	_SOURCE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movq	_ENTROPY_SOURCETYPE_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	%rbx, 16(%r12)
	movq	$0, 8(%r12)
	movl	(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_link@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_ISC_LINK_INIT
	movl	12(%rbx), %edi
	movl	(%r15), %edx
	movq	%r12, %rsi
	callq	_ISC_LIST_APPEND
	incl	8(%rbx)
	movq	%r12, (%r14)
	movq	%rbx, %rdi
	callq	_UNLOCK
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_8
LBB0_3:
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_7
LBB0_6:
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	movl	$88, %edx
	callq	_isc_mem_put
LBB0_7:
	movq	%rbx, %rdi
	callq	_UNLOCK
LBB0_8:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_NOMEMORY,8,3             ## @ISC_R_NOMEMORY
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.comm	_SOURCE_MAGIC,4,2               ## @SOURCE_MAGIC
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,4,2 ## @ENTROPY_SOURCETYPE_CALLBACK
	.comm	_link,4,2                       ## @link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createcallbacksource ; -- Begin function isc_entropy_createcallbacksource
	.p2align	2
_isc_entropy_createcallbacksource:      ; @isc_entropy_createcallbacksource
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	bl	_VALID_ENTROPY
	bl	_REQUIRE
	cmp	x23, #0
	cset	w0, ne
	bl	_REQUIRE
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_REQUIRE
	mov	x0, x19
	bl	_LOCK
	ldr	w0, [x19, #4]
	mov	w1, #88
	bl	_isc_mem_get
	cbz	x0, LBB0_6
; %bb.4:
	mov	x24, x0
Lloh0:
	adrp	x28, _ISC_FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ISC_FALSE@GOTPAGEOFF]
	ldr	x8, [x28]
	str	x8, [x0, #80]
	add	x1, x0, #72
	mov	x0, x19
	bl	_samplesource_allocate
Lloh2:
	adrp	x27, _ISC_R_SUCCESS@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ISC_R_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x28]
	str	x8, [x24, #64]
	str	w25, [x24, #56]
	str	x23, [x24, #48]
	str	w22, [x24, #40]
	str	x21, [x24, #32]
Lloh4:
	adrp	x8, _SOURCE_MAGIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SOURCE_MAGIC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ENTROPY_SOURCETYPE_CALLBACK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x24, #24]
	stp	xzr, x19, [x24, #8]
	ldr	w0, [x24]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh10:
	adrp	x21, _link@GOTPAGE
Lloh11:
	ldr	x21, [x21, _link@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x24
	bl	_ISC_LINK_INIT
	ldr	w0, [x19, #12]
	ldr	w2, [x21]
	mov	x1, x24
	bl	_ISC_LIST_APPEND
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	str	x24, [x20]
	mov	x0, x19
	bl	_UNLOCK
	ldr	x26, [x27]
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
Lloh14:
	ldr	x26, [x8]
	b	LBB0_8
LBB0_7:
	mov	x26, x0
	ldr	w0, [x19, #4]
	mov	x1, x24
	mov	w2, #88
	bl	_isc_mem_put
LBB0_8:
	mov	x0, x19
	bl	_UNLOCK
LBB0_9:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_NOMEMORY,8,3             ; @ISC_R_NOMEMORY
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_SOURCE_MAGIC,4,2               ; @SOURCE_MAGIC
	.comm	_ENTROPY_SOURCETYPE_CALLBACK,4,2 ; @ENTROPY_SOURCETYPE_CALLBACK
	.comm	_link,4,2                       ; @link
.subsections_via_symbols
