	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n2rng_control_swstate_init
_n2rng_control_swstate_init:            ## @n2rng_control_swstate_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_N2RNG_FLAG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%rdi)
	movq	_N2RNG_HEALTH_CHECK_SEC_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_N2RNG_ACCUM_CYCLES_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_N2RNG_WD_TIMEO_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	xorl	%ecx, %ecx
	movq	_CONTROL_DEFAULT_0@GOTPCREL(%rip), %r8
	movq	_CONTROL_DEFAULT_1@GOTPCREL(%rip), %r9
	movq	_CONTROL_DEFAULT_2@GOTPCREL(%rip), %r10
	movq	_CONTROL_DEFAULT_3@GOTPCREL(%rip), %r11
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %edx
	movq	(%rax,%rcx,8), %rsi
	movl	%edx, (%rsi)
	movl	(%r9), %edx
	movl	%edx, 4(%rsi)
	movl	(%r10), %edx
	movl	%edx, 8(%rsi)
	movl	(%r11), %edx
	movl	%edx, 12(%rsi)
	incq	%rcx
	movslq	(%rdi), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_2
LBB0_3:
	movq	_HV_RNG_STATE_UNCONFIGURED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N2RNG_FLAG_CONTROL,4,2         ## @N2RNG_FLAG_CONTROL
	.comm	_N2RNG_HEALTH_CHECK_SEC_DEFAULT,4,2 ## @N2RNG_HEALTH_CHECK_SEC_DEFAULT
	.comm	_N2RNG_ACCUM_CYCLES_DEFAULT,4,2 ## @N2RNG_ACCUM_CYCLES_DEFAULT
	.comm	_N2RNG_WD_TIMEO_DEFAULT,4,2     ## @N2RNG_WD_TIMEO_DEFAULT
	.comm	_CONTROL_DEFAULT_0,4,2          ## @CONTROL_DEFAULT_0
	.comm	_CONTROL_DEFAULT_1,4,2          ## @CONTROL_DEFAULT_1
	.comm	_CONTROL_DEFAULT_2,4,2          ## @CONTROL_DEFAULT_2
	.comm	_CONTROL_DEFAULT_3,4,2          ## @CONTROL_DEFAULT_3
	.comm	_HV_RNG_STATE_UNCONFIGURED,4,2  ## @HV_RNG_STATE_UNCONFIGURED
	.no_dead_strip	_n2rng_control_swstate_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n2rng_control_swstate_init
_n2rng_control_swstate_init:            ; @n2rng_control_swstate_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _N2RNG_FLAG_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N2RNG_FLAG_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #28]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _N2RNG_HEALTH_CHECK_SEC_DEFAULT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _N2RNG_HEALTH_CHECK_SEC_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh6:
	adrp	x8, _N2RNG_ACCUM_CYCLES_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _N2RNG_ACCUM_CYCLES_DEFAULT@GOTPAGEOFF]
Lloh8:
	adrp	x9, _N2RNG_WD_TIMEO_DEFAULT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _N2RNG_WD_TIMEO_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0, #8]
Lloh12:
	adrp	x10, _CONTROL_DEFAULT_0@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CONTROL_DEFAULT_0@GOTPAGEOFF]
Lloh14:
	adrp	x11, _CONTROL_DEFAULT_1@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CONTROL_DEFAULT_1@GOTPAGEOFF]
Lloh16:
	adrp	x12, _CONTROL_DEFAULT_2@GOTPAGE
Lloh17:
	ldr	x12, [x12, _CONTROL_DEFAULT_2@GOTPAGEOFF]
Lloh18:
	adrp	x13, _CONTROL_DEFAULT_3@GOTPAGE
Lloh19:
	ldr	x13, [x13, _CONTROL_DEFAULT_3@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x10]
	ldr	x15, [x9, x8, lsl #3]
	str	w14, [x15]
	ldr	w14, [x11]
	ldr	w16, [x12]
	stp	w14, w16, [x15, #4]
	ldr	w14, [x13]
	str	w14, [x15, #12]
	add	x8, x8, #1
	ldrsw	x14, [x0]
	cmp	x8, x14
	b.lt	LBB0_2
LBB0_3:
Lloh20:
	adrp	x8, _HV_RNG_STATE_UNCONFIGURED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HV_RNG_STATE_UNCONFIGURED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_N2RNG_FLAG_CONTROL,4,2         ; @N2RNG_FLAG_CONTROL
	.comm	_N2RNG_HEALTH_CHECK_SEC_DEFAULT,4,2 ; @N2RNG_HEALTH_CHECK_SEC_DEFAULT
	.comm	_N2RNG_ACCUM_CYCLES_DEFAULT,4,2 ; @N2RNG_ACCUM_CYCLES_DEFAULT
	.comm	_N2RNG_WD_TIMEO_DEFAULT,4,2     ; @N2RNG_WD_TIMEO_DEFAULT
	.comm	_CONTROL_DEFAULT_0,4,2          ; @CONTROL_DEFAULT_0
	.comm	_CONTROL_DEFAULT_1,4,2          ; @CONTROL_DEFAULT_1
	.comm	_CONTROL_DEFAULT_2,4,2          ; @CONTROL_DEFAULT_2
	.comm	_CONTROL_DEFAULT_3,4,2          ; @CONTROL_DEFAULT_3
	.comm	_HV_RNG_STATE_UNCONFIGURED,4,2  ; @HV_RNG_STATE_UNCONFIGURED
	.no_dead_strip	_n2rng_control_swstate_init
.subsections_via_symbols
