	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_generic_seed
_get_generic_seed:                      ## @get_generic_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	_get_generic_seed.i(%rip), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	_av_sha_size@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$61, (%rax)
	setb	%dil
	callq	_av_assert0
	movq	_TEST@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	_get_generic_seed.buffer(%rip), %rdi
	movl	$0, -148(%rbp)                  ## 4-byte Folded Spill
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memset
	movl	$0, _get_generic_seed.i(%rip)
LBB0_2:
	movq	_CLOCKS_PER_SEC@GOTPCREL(%rip), %r12
	leaq	_get_generic_seed.buffer(%rip), %r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	_get_generic_seed.i(%rip), %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	imull	$1664525, (%r13,%rcx,4), %edx   ## imm = 0x19660D
	movl	%r14d, %esi
	subl	$-1000328775, %esi              ## imm = 0xC46031B9
	cmovbl	%r14d, %esi
	addl	%esi, %edx
	addl	$1013904223, %edx               ## imm = 0x3C6EF35F
	movl	%edx, (%r13,%rcx,4)
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	cmovel	%eax, %ebx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_clock
	leal	(%r15,%r14,2), %ecx
	movl	(%r12), %edx
	xorl	%esi, %esi
	cmpl	$1001, %edx                     ## imm = 0x3E9
	setge	%sil
	addl	%ecx, %esi
	movl	%eax, %r14d
	subl	%r15d, %r14d
	cmpl	%eax, %esi
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %esi
	subl	$-1000328775, %esi              ## imm = 0xC46031B9
	cmovbl	%r14d, %esi
	movl	_get_generic_seed.i(%rip), %ecx
	incl	%ecx
	movl	%ecx, %edi
	andl	$511, %edi                      ## imm = 0x1FF
	addl	%esi, (%r13,%rdi,4)
	movl	%ecx, _get_generic_seed.i(%rip)
	movl	%eax, %esi
	subl	%ebx, %esi
	sarl	$5, %edx
	cmpl	%edx, %esi
	jl	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-148(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	setne	%sil
	subl	%edx, %ecx
	cmpl	$5, %ecx
	setge	%dil
	movq	_TEST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testb	%dil, %sil
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$64, %ecx
	jg	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$8, %ecx
	jle	LBB0_10
	jmp	LBB0_12
LBB0_11:
	testq	%rdx, %rdx
	je	LBB0_13
LBB0_12:
	movq	$0, _get_generic_seed.buffer(%rip)
LBB0_13:
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$160, %esi
	callq	_av_sha_init
	leaq	_get_generic_seed.buffer(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_av_sha_update
	leaq	-144(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_av_sha_final
	movq	%r14, %rdi
	callq	_AV_RB32
	movl	%eax, %ebx
	leaq	-128(%rbp), %rdi
	callq	_AV_RB32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_get_generic_seed.i,4,2 ## @get_generic_seed.i
.zerofill __DATA,__bss,_get_generic_seed.buffer,2048,4 ## @get_generic_seed.buffer
	.comm	_av_sha_size,4,2                ## @av_sha_size
	.comm	_TEST,8,3                       ## @TEST
	.comm	_CLOCKS_PER_SEC,4,2             ## @CLOCKS_PER_SEC
	.no_dead_strip	_get_generic_seed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_generic_seed
_get_generic_seed:                      ; @get_generic_seed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	adrp	x19, _get_generic_seed.i@PAGE
	ldr	w21, [x19, _get_generic_seed.i@PAGEOFF]
Lloh3:
	adrp	x8, _av_sha_size@GOTPAGE
Lloh4:
	ldr	x8, [x8, _av_sha_size@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #61
	cset	w0, lo
	bl	_av_assert0
Lloh6:
	adrp	x8, _TEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEST@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, _get_generic_seed.buffer@PAGE
Lloh10:
	add	x0, x0, _get_generic_seed.buffer@PAGEOFF
	mov	w1, #0
	mov	w2, #2048
	bl	_memset
	mov	w21, #0
	str	wzr, [x19, _get_generic_seed.i@PAGEOFF]
LBB0_2:
	mov	w25, #0
	mov	w22, #0
	mov	w0, #0
	mov	w23, #12729
	movk	w23, #50272, lsl #16
	mov	w26, #52807
	movk	w26, #15263, lsl #16
Lloh11:
	adrp	x27, _CLOCKS_PER_SEC@GOTPAGE
Lloh12:
	ldr	x27, [x27, _CLOCKS_PER_SEC@GOTPAGEOFF]
	mov	w20, #62303
	movk	w20, #15470, lsl #16
Lloh13:
	adrp	x24, _get_generic_seed.buffer@PAGE
Lloh14:
	add	x24, x24, _get_generic_seed.buffer@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, _get_generic_seed.i@PAGEOFF]
	and	x8, x8, #0x1ff
	lsl	x8, x8, #2
	ldr	w9, [x24, x8]
	add	w10, w25, w26
	cmp	w25, w23
	csel	w10, w25, w10, lo
	mov	w11, #26125
	movk	w11, #25, lsl #16
	madd	w9, w9, w11, w10
	add	w9, w9, w20
	str	w9, [x24, x8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #0
	csel	w22, w0, w22, eq
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x0
	bl	_clock
	add	w9, w28, w25, lsl #1
	ldr	w8, [x27]
	cmp	w8, #1000
	cinc	w9, w9, gt
	sub	w25, w0, w28
	cmp	w9, w0
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w25, w26
	cmp	w25, w23
	csel	w10, w25, w9, lo
	ldr	w9, [x19, _get_generic_seed.i@PAGEOFF]
	add	w9, w9, #1
	and	w11, w9, #0x1ff
	lsl	x11, x11, #2
	ldr	w12, [x24, x11]
	str	w9, [x19, _get_generic_seed.i@PAGEOFF]
	add	w10, w12, w10
	str	w10, [x24, x11]
	sub	w10, w0, w22
	cmp	w10, w8, asr #5
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w9, w21
	cmp	w8, #4
	ccmp	w21, #0, #4, gt
Lloh15:
	adrp	x9, _TEST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TEST@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #64
	b.gt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x9, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #8
	b.le	LBB0_4
	b	LBB0_12
LBB0_11:
	cbz	x9, LBB0_13
LBB0_12:
	str	xzr, [x24]
LBB0_13:
	add	x0, sp, #28
	mov	w1, #160
	bl	_av_sha_init
Lloh18:
	adrp	x1, _get_generic_seed.buffer@PAGE
Lloh19:
	add	x1, x1, _get_generic_seed.buffer@PAGEOFF
	add	x0, sp, #28
	mov	w2, #2048
	bl	_av_sha_update
	add	x20, sp, #8
	add	x0, sp, #28
	add	x1, sp, #8
	bl	_av_sha_final
	add	x0, sp, #8
	bl	_AV_RB32
	mov	x19, x0
	add	x0, x20, #16
	bl	_AV_RB32
	ldr	x8, [sp, #88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	w0, w0, w19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_get_generic_seed.i,4,2 ; @get_generic_seed.i
.zerofill __DATA,__bss,_get_generic_seed.buffer,2048,3 ; @get_generic_seed.buffer
	.comm	_av_sha_size,4,2                ; @av_sha_size
	.comm	_TEST,8,3                       ; @TEST
	.comm	_CLOCKS_PER_SEC,4,2             ; @CLOCKS_PER_SEC
	.no_dead_strip	_get_generic_seed
.subsections_via_symbols
