	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_load_file                 ## -- Begin function RAND_load_file
	.p2align	4, 0x90
_RAND_load_file:                        ## @RAND_load_file
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_RAND_BUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movq	_RAND_DRBG_STRENGTH@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_openssl_fopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_fileno
	leaq	-80(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	testq	%rbx, %rbx
	jns	LBB0_10
## %bb.7:
	movl	-72(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-80(%rbp), %rbx
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_3:
	movq	_RAND_F_RAND_LOAD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_CANNOT_OPEN_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RANDerr
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	jmp	LBB0_19
LBB0_5:
	movq	_RAND_F_RAND_LOAD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RANDerr
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	callq	_ERR_add_error_data
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_20
LBB0_9:
	movq	_RAND_DRBG_STRENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_10:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_setbuf
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_RAND_BUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testq	%rbx, %rbx
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rcx
	movq	_RAND_DRBG_STRENGTH@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	cmpq	%rcx, %rbx
	movl	%ebx, %edx
	cmovgl	%eax, %edx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_RAND_DRBG_STRENGTH@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, %edx
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r12, %rcx
	callq	_fread
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r15d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_RAND_add
	addl	%r15d, %r14d
	testq	%rbx, %rbx
	jle	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	%r15d, %rax
	subq	%rax, %rbx
	jg	LBB0_11
LBB0_17:
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_OPENSSL_cleanse
	movq	%r12, %rdi
	callq	_fclose
	xorl	%eax, %eax
	callq	_RAND_status
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:
	movq	_RAND_F_RAND_LOAD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAND_R_RESEED_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RANDerr
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_19:
	callq	_ERR_add_error_data
LBB0_20:
	movl	$-1, %r14d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RAND_BUF_SIZE,4,2              ## @RAND_BUF_SIZE
	.comm	_RAND_DRBG_STRENGTH,8,3         ## @RAND_DRBG_STRENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_RAND_F_RAND_LOAD_FILE,4,2      ## @RAND_F_RAND_LOAD_FILE
	.comm	_RAND_R_CANNOT_OPEN_FILE,4,2    ## @RAND_R_CANNOT_OPEN_FILE
L_.str.1:                               ## @.str.1
	.asciz	"Filename="

	.comm	_RAND_R_INTERNAL_ERROR,4,2      ## @RAND_R_INTERNAL_ERROR
	.comm	_RAND_R_RESEED_ERROR,4,2        ## @RAND_R_RESEED_ERROR
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_RAND_LOAD_BUF_SIZE,4,2         ## @RAND_LOAD_BUF_SIZE
	.comm	_errno,8,3                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RAND_load_file                 ; -- Begin function RAND_load_file
	.p2align	2
_RAND_load_file:                        ; @RAND_load_file
	.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
	sub	sp, sp, #32
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _RAND_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RAND_BUF_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x26]
Lloh5:
	adrp	x27, _RAND_DRBG_STRENGTH@GOTPAGE
Lloh6:
	ldr	x27, [x27, _RAND_DRBG_STRENGTH@GOTPAGEOFF]
	ldr	x9, [x27]
	add	x21, x9, x8
	add	x8, x21, #15
	and	x8, x8, #0xfffffffffffffff0
	mov	x9, x21
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	cbz	x1, LBB0_6
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_openssl_fopen
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	bl	_fileno
	sub	x1, x29, #104
	bl	_fstat
	tbnz	x0, #63, LBB0_8
; %bb.3:
	tbz	x23, #63, LBB0_10
; %bb.4:
	ldur	w0, [x29, #-96]
	bl	_S_ISREG
	cbz	x0, LBB0_9
; %bb.5:
	ldur	x23, [x29, #-104]
	b	LBB0_10
LBB0_6:
	mov	w24, #0
	b	LBB0_21
LBB0_7:
Lloh11:
	adrp	x8, _RAND_F_RAND_LOAD_FILE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RAND_F_RAND_LOAD_FILE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _RAND_R_CANNOT_OPEN_FILE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RAND_R_CANNOT_OPEN_FILE@GOTPAGEOFF]
	b	LBB0_19
LBB0_8:
Lloh16:
	adrp	x8, _RAND_F_RAND_LOAD_FILE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RAND_F_RAND_LOAD_FILE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _RAND_R_INTERNAL_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RAND_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_RANDerr
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_ERR_add_error_data
	mov	x0, x20
	bl	_fclose
	b	LBB0_20
LBB0_9:
	ldr	x23, [x27]
LBB0_10:
	mov	x0, x20
	mov	x1, #0
	bl	_setbuf
	mov	w24, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26]
	cmp	x23, #1
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x27]
	add	x9, x9, x8
	cmp	x23, x9
	csel	w2, w8, w23, gt
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w9, [x27]
	add	w2, w8, w9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	w1, #1
	mov	x3, x20
	bl	_fread
	cbz	w0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x25, x0
	scvtf	d0, w0
	mov	x0, x22
	mov	x1, x25
	bl	_RAND_add
	add	w24, w25, w24
	cmp	x23, #1
	b.lt	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x23, x23, w25, sxtw
	cmp	x23, #0
	b.gt	LBB0_11
LBB0_17:
	mov	x0, x22
	mov	x1, x21
	bl	_OPENSSL_cleanse
	mov	x0, x20
	bl	_fclose
	bl	_RAND_status
	cbnz	w0, LBB0_21
; %bb.18:
Lloh24:
	adrp	x8, _RAND_F_RAND_LOAD_FILE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RAND_F_RAND_LOAD_FILE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _RAND_R_RESEED_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RAND_R_RESEED_ERROR@GOTPAGEOFF]
LBB0_19:
	ldr	w1, [x8]
	bl	_RANDerr
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_ERR_add_error_data
LBB0_20:
	mov	w24, #-1
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x24
	sub	sp, x29, #80
	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
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_RAND_BUF_SIZE,4,2              ; @RAND_BUF_SIZE
	.comm	_RAND_DRBG_STRENGTH,8,3         ; @RAND_DRBG_STRENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_RAND_F_RAND_LOAD_FILE,4,2      ; @RAND_F_RAND_LOAD_FILE
	.comm	_RAND_R_CANNOT_OPEN_FILE,4,2    ; @RAND_R_CANNOT_OPEN_FILE
l_.str.1:                               ; @.str.1
	.asciz	"Filename="

	.comm	_RAND_R_INTERNAL_ERROR,4,2      ; @RAND_R_INTERNAL_ERROR
	.comm	_RAND_R_RESEED_ERROR,4,2        ; @RAND_R_RESEED_ERROR
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_RAND_LOAD_BUF_SIZE,4,2         ; @RAND_LOAD_BUF_SIZE
	.comm	_errno,8,3                      ; @errno
.subsections_via_symbols
