	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_random_seed
_get_random_seed:                       ## @get_random_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	%r12
	pushq	%rbx
	subq	$112, %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)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	movq	_EX_NOINPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_5:
	leaq	-112(%rbp), %rsi
	movl	%r14d, %edi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_7:
	movl	-88(%rbp), %ebx
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movl	%ebx, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_10:
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movl	-112(%rbp), %ebx
	cmpl	$33, %ebx
	jl	LBB0_13
## %bb.12:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$32, %ecx
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_15
LBB0_1:
	leaq	-80(%rbp), %rdi
	movl	$32, %r12d
	movl	$32, %esi
	callq	_getentropy
	testq	%rax, %rax
	jns	LBB0_30
## %bb.2:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_30
LBB0_19:
	movl	%ebx, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	leaq	L_.str.8(%rip), %rdi
	leaq	-144(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	jns	LBB0_23
## %bb.22:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_23:
	movq	-104(%rbp), %rax
	cmpq	-136(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movq	-96(%rbp), %rax
	cmpq	-128(%rbp), %rax
	je	LBB0_26
LBB0_25:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_26:
	leaq	-80(%rbp), %rdi
	movl	$32, %r12d
	movl	$32, %esi
	callq	_getentropy
	testq	%rax, %rax
	jns	LBB0_28
## %bb.27:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	testl	%r14d, %r14d
	jns	LBB0_29
	jmp	LBB0_30
LBB0_13:
	testl	%ebx, %ebx
	jg	LBB0_15
## %bb.14:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_15:
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	cmpl	%ebx, %r12d
	jl	LBB0_18
	jmp	LBB0_28
LBB0_16:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_err
	cmpl	%ebx, %r12d
	jge	LBB0_28
LBB0_18:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_28:
	testl	%r14d, %r14d
	js	LBB0_30
LBB0_29:
	movl	%r14d, %edi
	callq	_close
LBB0_30:
	movq	_md5_ctx@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_MD5Update
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	$32, %r12d
	testl	%r14d, %r14d
	jns	LBB0_29
	jmp	LBB0_30
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getentropy"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_EX_NOINPUT,4,2                 ## @EX_NOINPUT
L_.str.1:                               ## @.str.1
	.asciz	"open: %s"

L_.str.2:                               ## @.str.2
	.asciz	"fstat"

	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.3:                               ## @.str.3
	.asciz	"random seed isn't a regular file or /dev/random"

L_.str.4:                               ## @.str.4
	.asciz	"random seed is too large (%jd > %zu)!"

L_.str.5:                               ## @.str.5
	.asciz	"random seed is too small (0 bytes)"

L_.str.6:                               ## @.str.6
	.asciz	"reading random seed file %s"

L_.str.7:                               ## @.str.7
	.asciz	"short read from %s"

L_.str.8:                               ## @.str.8
	.asciz	"/dev/random"

L_.str.9:                               ## @.str.9
	.asciz	"stat"

L_.str.10:                              ## @.str.10
	.asciz	"random seed is a character device other than /dev/random"

	.comm	_md5_ctx,4,2                    ## @md5_ctx
	.no_dead_strip	_get_random_seed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_random_seed
_get_random_seed:                       ; @get_random_seed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	mov	x19, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EX_NOINPUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EX_NOINPUT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_3:
	add	x1, sp, #56
	mov	x0, x19
	bl	_fstat
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_5:
	ldr	w21, [sp, #80]
	mov	x0, x21
	bl	_S_ISREG
	cbnz	x0, LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_S_ISCHR
	cbnz	x0, LBB0_8
; %bb.7:
Lloh19:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_8:
	mov	x0, x21
	bl	_S_ISREG
	cbz	x0, LBB0_13
; %bb.9:
	ldr	w22, [sp, #56]
	cmp	w22, #33
	b.lt	LBB0_22
; %bb.10:
Lloh24:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	w8, #32
	stp	x22, x8, [sp]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_11:
	mov	w21, #32
	sub	x0, x29, #72
	mov	w1, #32
	bl	_getentropy
	tbz	x0, #63, LBB0_30
; %bb.12:
Lloh29:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
	mov	w21, #32
	b	LBB0_30
LBB0_13:
	mov	x0, x21
	bl	_S_ISCHR
	cbz	x0, LBB0_21
; %bb.14:
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	add	x1, sp, #24
	bl	_stat
	tbz	x0, #63, LBB0_16
; %bb.15:
Lloh36:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_err
LBB0_16:
	ldr	x8, [sp, #64]
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
	ldr	x8, [sp, #72]
	ldr	x9, [sp, #40]
	cmp	x8, x9
	b.eq	LBB0_19
LBB0_18:
Lloh41:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_errx
LBB0_19:
	mov	w21, #32
	sub	x0, x29, #72
	mov	w1, #32
	bl	_getentropy
	tbz	x0, #63, LBB0_28
; %bb.20:
Lloh46:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str@PAGE
Lloh50:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_21:
	mov	w21, #32
	b	LBB0_28
LBB0_22:
	cmp	w22, #0
	b.gt	LBB0_25
; %bb.23:
Lloh51:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_24:
	bl	_errx
LBB0_25:
	sub	x0, x29, #72
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	sub	x1, x29, #72
	mov	x0, x19
	mov	x2, x22
	bl	_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_32
; %bb.26:
	cmp	w21, w22
	b.ge	LBB0_28
LBB0_27:
Lloh56:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh59:
	adrp	x1, l_.str.7@PAGE
Lloh60:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
LBB0_28:
	tbnz	w19, #31, LBB0_30
; %bb.29:
	mov	x0, x19
	bl	_close
LBB0_30:
Lloh61:
	adrp	x19, _md5_ctx@GOTPAGE
Lloh62:
	ldr	x19, [x19, _md5_ctx@GOTPAGEOFF]
	mov	x0, x19
	bl	_MD5Init
	sub	x1, x29, #72
	mov	x0, x19
	mov	x2, x21
	bl	_MD5Update
	ldur	x8, [x29, #-40]
Lloh63:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh64:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.31:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_32:
Lloh66:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh69:
	adrp	x1, l_.str.6@PAGE
Lloh70:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_err
	cmp	w21, w22
	b.lt	LBB0_27
	b	LBB0_28
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getentropy"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_EX_NOINPUT,4,2                 ; @EX_NOINPUT
l_.str.1:                               ; @.str.1
	.asciz	"open: %s"

l_.str.2:                               ; @.str.2
	.asciz	"fstat"

	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.3:                               ; @.str.3
	.asciz	"random seed isn't a regular file or /dev/random"

l_.str.4:                               ; @.str.4
	.asciz	"random seed is too large (%jd > %zu)!"

l_.str.5:                               ; @.str.5
	.asciz	"random seed is too small (0 bytes)"

l_.str.6:                               ; @.str.6
	.asciz	"reading random seed file %s"

l_.str.7:                               ; @.str.7
	.asciz	"short read from %s"

l_.str.8:                               ; @.str.8
	.asciz	"/dev/random"

l_.str.9:                               ; @.str.9
	.asciz	"stat"

l_.str.10:                              ; @.str.10
	.asciz	"random seed is a character device other than /dev/random"

	.comm	_md5_ctx,4,2                    ; @md5_ctx
	.no_dead_strip	_get_random_seed
.subsections_via_symbols
