	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n2rng_generic_read_diag_data
_n2rng_generic_read_diag_data:          ## @n2rng_generic_read_diag_data
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r8
	callq	_n2rng_read_diag_data_one
	movq	_HV_EOK@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	je	LBB0_13
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HV_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movq	_N2RNG_BLOCK_LIMIT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	___delay
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	leaq	-48(%rbp), %r8
	callq	_n2rng_read_diag_data_one
	movq	_HV_EOK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_7:
	movq	_HV_ENOACCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_HV_EIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HV_EOK,8,3                     ## @HV_EOK
	.comm	_HV_EWOULDBLOCK,8,3             ## @HV_EWOULDBLOCK
	.comm	_N2RNG_BLOCK_LIMIT,4,2          ## @N2RNG_BLOCK_LIMIT
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_HV_ENOACCESS,8,3               ## @HV_ENOACCESS
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_HV_EIO,8,3                     ## @HV_EIO
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_n2rng_generic_read_diag_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n2rng_generic_read_diag_data
_n2rng_generic_read_diag_data:          ; @n2rng_generic_read_diag_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x4, sp, #8
	bl	_n2rng_read_diag_data_one
Lloh0:
	adrp	x23, _HV_EOK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HV_EOK@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
	mov	w24, #0
Lloh2:
	adrp	x25, _HV_EWOULDBLOCK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HV_EWOULDBLOCK@GOTPAGEOFF]
Lloh4:
	adrp	x26, _N2RNG_BLOCK_LIMIT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _N2RNG_BLOCK_LIMIT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w24, w24, #1
	ldr	w8, [x26]
	cmp	w24, w8
	b.ge	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #8]
	bl	___delay
	add	x4, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_n2rng_read_diag_data_one
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_13
LBB0_6:
Lloh6:
	adrp	x8, _HV_ENOACCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HV_ENOACCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
Lloh9:
	adrp	x8, _EPERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh11:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh13:
	adrp	x8, _HV_EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HV_EIO@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
Lloh16:
	adrp	x8, _EIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HV_EOK,8,3                     ; @HV_EOK
	.comm	_HV_EWOULDBLOCK,8,3             ; @HV_EWOULDBLOCK
	.comm	_N2RNG_BLOCK_LIMIT,4,2          ; @N2RNG_BLOCK_LIMIT
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_HV_ENOACCESS,8,3               ; @HV_ENOACCESS
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_HV_EIO,8,3                     ; @HV_EIO
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_n2rng_generic_read_diag_data
.subsections_via_symbols
