	.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	%r12d, %r12d
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, -192(%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_9
## %bb.2:
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %r13
	movl	8(%rax), %eax
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	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	-180(%rbp), %edi                ## 4-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	leal	(,%r15,8), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_entropypool_adddata
	leal	(%r12,%r15,8), %r12d
	subl	%r15d, %ebx
	jg	LBB0_3
	jmp	LBB0_9
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.5:
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
LBB0_6:
	movl	-180(%rbp), %edi                ## 4-byte Reload
	callq	_close
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movl	$-1, 8(%rcx)
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EINTR,8,3                      ## @EINTR
	.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_11
; %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	w22, w8, ne
	cmp	w22, #1
	b.lt	LBB0_1
; %bb.5:
	mov	x20, x0
	mov	w19, #0
	ldr	x23, [x0, #16]
	ldr	w21, [x0, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #128
	bl	_ISC_MIN
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_read
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	cbz	w0, LBB0_10
; %bb.8:                                ;   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	w22, w22, w24
	cmp	w22, #0
	b.gt	LBB0_6
	b	LBB0_2
LBB0_9:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _EINTR@GOTPAGE
Lloh13:
	ldr	x10, [x10, _EINTR@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_2
LBB0_10:
	mov	x0, x21
	bl	_close
	mov	w8, #-1
	str	w8, [x20, #8]
Lloh15:
	adrp	x8, _ISC_TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISC_TRUE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_2
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.no_dead_strip	_get_from_filesource
.subsections_via_symbols
