	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prng_seed
_prng_seed:                             ## @prng_seed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	leal	64(%r15), %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_rdtsc
	movq	%rax, -56(%rbp)
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_clock_gettime
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	4(%r12), %rdi
	leaq	-46(%rbp), %rsi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	8(%r12), %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_memcpy
	xorl	%eax, %eax
	callq	_getpid
	movw	%ax, -42(%rbp)
	leaq	16(%r12), %rdi
	leaq	-42(%rbp), %rsi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	18(%r12), %rdi
	movl	$32, %esi
	callq	_get_random_bytes
	movl	%eax, %ebx
	addl	$18, %ebx
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r13d
	movslq	%ebx, %rax
	movq	%r12, %rsi
	addq	%rax, %rsi
	movl	%r13d, %edi
	movl	%r15d, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_vkprintf
	addl	%r15d, %ebx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_kprintf
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_kprintf
LBB0_5:
	movl	%r13d, %edi
	callq	_close
LBB0_6:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_RAND_seed
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: fail to open password file - \"%s\", %m.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Warning: fail to read password file - \"%s\", %m.\n"

L_.str.2:                               ## @.str.2
	.asciz	"read %d bytes from password file.\n"

	.no_dead_strip	_prng_seed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prng_seed
_prng_seed:                             ; @prng_seed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x1
	mov	x20, x0
	add	w0, w1, #64
	mov	w1, #1
	bl	_calloc
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	bl	_rdtsc
	str	x0, [sp, #40]
Lloh0:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, sp, #32
	add	x1, sp, #32
	bl	_clock_gettime
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
	mov	w23, #4
	stp	x22, x23, [sp]
	mov	x0, x19
	bl	_memcpy
	add	x0, x19, #4
	orr	x8, x22, #0x2
	stp	x8, x23, [sp]
	bl	_memcpy
	add	x0, x19, #8
	mov	w8, #8
	add	x9, sp, #40
	stp	x9, x8, [sp]
	bl	_memcpy
	bl	_getpid
	strh	w0, [sp, #30]
	add	x0, x19, #16
	mov	w8, #2
	add	x9, sp, #30
	stp	x9, x8, [sp]
	bl	_memcpy
	add	x0, x19, #18
	mov	w1, #32
	bl	_get_random_bytes
	add	w22, w0, #18
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_open
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x23, x0
	add	x1, x19, w22, sxtw
	mov	x2, x21
	bl	_read
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_vkprintf
	add	w22, w21, w22
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_kprintf
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_kprintf
LBB0_5:
	mov	x0, x23
	bl	_close
LBB0_6:
	mov	x0, x19
	mov	x1, x22
	bl	_RAND_seed
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: fail to open password file - \"%s\", %m.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Warning: fail to read password file - \"%s\", %m.\n"

l_.str.2:                               ; @.str.2
	.asciz	"read %d bytes from password file.\n"

	.no_dead_strip	_prng_seed
.subsections_via_symbols
