	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_from_filesource
_get_from_filesource:                   ## @get_from_filesource
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	leal	7(%rsi), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	sarl	$3, %eax
	xorl	%ebx, %ebx
	testb	$7, %sil
	setne	%bl
	addl	%eax, %ebx
	jle	LBB0_6
## %bb.2:
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movl	8(%rax), %r12d
	xorl	%r15d, %r15d
	leaq	-176(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	$128, %esi
	callq	_ISC_MIN
	movl	%eax, %r13d
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_CryptGenRandom
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(,%r13,8), %ecx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_entropypool_adddata
	leal	(%r15,%r13,8), %r15d
	subl	%r13d, %ebx
	jg	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_CryptReleaseContext
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.no_dead_strip	_get_from_filesource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_from_filesource
_get_from_filesource:                   ; @get_from_filesource
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
LBB0_1:
	mov	w19, #0
LBB0_2:
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_4:
	add	w8, w1, #7
	cmp	w1, #0
	csel	w8, w8, w1, lt
	asr	w8, w8, #3
	tst	w1, #0x7
	cinc	w21, w8, ne
	cmp	w21, #1
	b.lt	LBB0_1
; %bb.5:
	mov	x20, x0
	mov	w19, #0
	ldr	x23, [x0, #16]
	ldr	w22, [x0, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #128
	bl	_ISC_MIN
	mov	x24, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x24
	bl	_CryptGenRandom
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	w25, w24, #3
	add	x1, sp, #8
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	bl	_entropypool_adddata
	add	w19, w25, w19
	sub	w21, w21, w24
	cmp	w21, #0
	b.gt	LBB0_6
	b	LBB0_2
LBB0_8:
	mov	x0, x22
	mov	w1, #0
	bl	_CryptReleaseContext
Lloh6:
	adrp	x8, _ISC_TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISC_TRUE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_2
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.no_dead_strip	_get_from_filesource
.subsections_via_symbols
