	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seed_rng                       ## -- Begin function seed_rng
	.p2align	4, 0x90
_seed_rng:                              ## @seed_rng
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_RANDOM_SEED_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_OPENSSL_VERSION_NUMBER@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	xorl	%eax, %eax
	callq	_SSLeay
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ssh_compatible_openssl
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %ebx
	xorl	%eax, %eax
	callq	_SSLeay
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	xorl	%eax, %eax
	callq	_RAND_status
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debug3                         ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_seed_from_prngd
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r15d, %edx
	callq	_RAND_add
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_RAND_status
	cmpl	$1, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RANDOM_SEED_SIZE,4,2           ## @RANDOM_SEED_SIZE
	.comm	_OPENSSL_VERSION_NUMBER,8,3     ## @OPENSSL_VERSION_NUMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenSSL version mismatch. Built against %lx, you have %lx"

L_.str.1:                               ## @.str.1
	.asciz	"RNG is ready, skipping seeding"

L_.str.2:                               ## @.str.2
	.asciz	"Could not obtain seed from PRNGd"

L_.str.3:                               ## @.str.3
	.asciz	"PRNG is not seeded"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seed_rng                       ; -- Begin function seed_rng
	.p2align	2
_seed_rng:                              ; @seed_rng
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _RANDOM_SEED_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RANDOM_SEED_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x22, _OPENSSL_VERSION_NUMBER@GOTPAGE
Lloh9:
	ldr	x22, [x22, _OPENSSL_VERSION_NUMBER@GOTPAGEOFF]
	ldr	x21, [x22]
	bl	_SSLeay
	mov	x1, x0
	mov	x0, x21
	bl	_ssh_compatible_openssl
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x21, [x22]
	bl	_SSLeay
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
	add	sp, sp, #16
LBB0_2:
	bl	_RAND_status
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.3:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.4:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_debug3
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_seed_from_prngd
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	bl	_RAND_add
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	bl	_RAND_status
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.8:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RANDOM_SEED_SIZE,4,2           ; @RANDOM_SEED_SIZE
	.comm	_OPENSSL_VERSION_NUMBER,8,3     ; @OPENSSL_VERSION_NUMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenSSL version mismatch. Built against %lx, you have %lx"

l_.str.1:                               ; @.str.1
	.asciz	"RNG is ready, skipping seeding"

l_.str.2:                               ; @.str.2
	.asciz	"Could not obtain seed from PRNGd"

l_.str.3:                               ; @.str.3
	.asciz	"PRNG is not seeded"

.subsections_via_symbols
