	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntp_srandom                    ## -- Begin function ntp_srandom
	.p2align	4, 0x90
_ntp_srandom:                           ## @ntp_srandom
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_rand_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TYPE_0@GOTPCREL(%rip), %rdx
	movq	_state@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	(%rdx), %rax
	movq	%rdi, (%rcx)
	je	LBB0_7
## %bb.1:
	movq	_rand_deg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	cmpq	$2, %rdx
	jl	LBB0_4
## %bb.2:
	movl	$1, %ebx
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_good_rand
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	(%r14), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_rand_sep@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	_fptr@GOTPCREL(%rip), %rsi
	movq	%rax, (%rsi)
	movq	_rptr@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	testq	%rdx, %rdx
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_ntp_random
	movq	%rax, %r12
	incq	%rbx
	movq	(%r14), %rax
	addq	%rax, %rax
	leaq	(%rax,%rax,4), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movl	%r12d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_srand                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rand_type,8,3                  ## @rand_type
	.comm	_TYPE_0,8,3                     ## @TYPE_0
	.comm	_state,8,3                      ## @state
	.comm	_rand_deg,8,3                   ## @rand_deg
	.comm	_rand_sep,8,3                   ## @rand_sep
	.comm	_fptr,8,3                       ## @fptr
	.comm	_rptr,8,3                       ## @rptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntp_srandom                    ; -- Begin function ntp_srandom
	.p2align	2
_ntp_srandom:                           ; @ntp_srandom
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _rand_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rand_type@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _TYPE_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE_0@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x21, _state@GOTPAGE
Lloh7:
	ldr	x21, [x21, _state@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x0, [x8]
	cmp	x9, x10
	b.eq	LBB0_8
; %bb.1:
Lloh8:
	adrp	x20, _rand_deg@GOTPAGE
Lloh9:
	ldr	x20, [x20, _rand_deg@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x9, #1
	b.le	LBB0_4
; %bb.2:
	mov	w22, #1
	mov	x0, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_good_rand
	ldr	x8, [x21]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldr	x9, [x20]
	cmp	x22, x9
	b.lt	LBB0_3
LBB0_4:
Lloh10:
	adrp	x10, _rand_sep@GOTPAGE
Lloh11:
	ldr	x10, [x10, _rand_sep@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
Lloh13:
	adrp	x11, _fptr@GOTPAGE
Lloh14:
	ldr	x11, [x11, _fptr@GOTPAGEOFF]
	add	x10, x8, x10, lsl #3
Lloh15:
	str	x10, [x11]
Lloh16:
	adrp	x10, _rptr@GOTPAGE
Lloh17:
	ldr	x10, [x10, _rptr@GOTPAGEOFF]
Lloh18:
	str	x8, [x10]
	cmp	x9, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_ntp_random
	add	x21, x21, #1
	ldr	x8, [x20]
	add	x8, x8, x8, lsl #2
	cmp	x21, x8, lsl #1
	b.lt	LBB0_6
; %bb.7:
	mov	x19, x0
LBB0_8:
	mov	x0, x19
	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	_srand
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_rand_type,8,3                  ; @rand_type
	.comm	_TYPE_0,8,3                     ; @TYPE_0
	.comm	_state,8,3                      ; @state
	.comm	_rand_deg,8,3                   ; @rand_deg
	.comm	_rand_sep,8,3                   ; @rand_sep
	.comm	_fptr,8,3                       ; @fptr
	.comm	_rptr,8,3                       ; @rptr
.subsections_via_symbols
