	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createfilesource   ## -- Begin function isc_entropy_createfilesource
	.p2align	4, 0x90
_isc_entropy_createfilesource:          ## @isc_entropy_createfilesource
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_VALID_ENTROPY
	movl	%eax, %edi
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_REQUIRE
	movq	%r14, %rdi
	callq	_LOCK
	movq	_PROV_RSA_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CRYPT_VERIFYCONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-28(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CryptAcquireContext
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	4(%r14), %edi
	movl	$40, %esi
	callq	_isc_mem_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %rbx
	movq	_SOURCE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_ENTROPY_SOURCETYPE_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_link@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ISC_LINK_INIT
	movl	-28(%rbp), %eax
	movl	%eax, (%rbx)
	movl	12(%r14), %edi
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_ISC_LIST_APPEND
	incl	8(%r14)
	movq	%r14, %rdi
	callq	_UNLOCK
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ISC_R_IOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-28(%rbp), %edi
	xorl	%esi, %esi
	callq	_CryptReleaseContext
LBB0_4:
	movq	%r14, %rdi
	callq	_UNLOCK
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROV_RSA_FULL,4,2              ## @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ## @CRYPT_VERIFYCONTEXT
	.comm	_ISC_R_IOERROR,4,2              ## @ISC_R_IOERROR
	.comm	_ISC_R_NOMEMORY,4,2             ## @ISC_R_NOMEMORY
	.comm	_SOURCE_MAGIC,4,2               ## @SOURCE_MAGIC
	.comm	_ENTROPY_SOURCETYPE_FILE,4,2    ## @ENTROPY_SOURCETYPE_FILE
	.comm	_ISC_FALSE,4,2                  ## @ISC_FALSE
	.comm	_link,4,2                       ## @link
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_entropy_createfilesource   ; -- Begin function isc_entropy_createfilesource
	.p2align	2
_isc_entropy_createfilesource:          ; @isc_entropy_createfilesource
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_VALID_ENTROPY
	bl	_REQUIRE
	cmp	x20, #0
	cset	w0, ne
	bl	_REQUIRE
	mov	x0, x19
	bl	_LOCK
Lloh0:
	adrp	x8, _PROV_RSA_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROV_RSA_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _CRYPT_VERIFYCONTEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPT_VERIFYCONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x2, #0
	bl	_CryptAcquireContext
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	mov	w1, #40
	bl	_isc_mem_get
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x8, _SOURCE_MAGIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOURCE_MAGIC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ENTROPY_SOURCETYPE_FILE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENTROPY_SOURCETYPE_FILE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
	stp	xzr, x19, [x0, #16]
Lloh12:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w0, [x0, #4]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh15:
	adrp	x21, _link@GOTPAGE
Lloh16:
	ldr	x21, [x21, _link@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ISC_LINK_INIT
	ldr	w8, [sp, #12]
	str	w8, [x20]
	ldr	w0, [x19, #12]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_ISC_LIST_APPEND
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_UNLOCK
Lloh17:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_3:
	bl	_GetLastError
Lloh20:
	adrp	x8, _ISC_R_IOERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ISC_R_IOERROR@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	ldr	w0, [sp, #12]
	mov	w1, #0
	bl	_CryptReleaseContext
LBB0_5:
	mov	x0, x19
	bl	_UNLOCK
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PROV_RSA_FULL,4,2              ; @PROV_RSA_FULL
	.comm	_CRYPT_VERIFYCONTEXT,4,2        ; @CRYPT_VERIFYCONTEXT
	.comm	_ISC_R_IOERROR,4,2              ; @ISC_R_IOERROR
	.comm	_ISC_R_NOMEMORY,4,2             ; @ISC_R_NOMEMORY
	.comm	_SOURCE_MAGIC,4,2               ; @SOURCE_MAGIC
	.comm	_ENTROPY_SOURCETYPE_FILE,4,2    ; @ENTROPY_SOURCETYPE_FILE
	.comm	_ISC_FALSE,4,2                  ; @ISC_FALSE
	.comm	_link,4,2                       ; @link
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
