	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function move_to_next_stateful_cpuid_entry
_move_to_next_stateful_cpuid_entry:     ## @move_to_next_stateful_cpuid_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movslq	%esi, %rsi
	movl	(%rdi), %r9d
	movq	_KVM_CPUID_FLAG_STATE_READ_NEXT@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	notl	%edx
	movq	%rsi, %rax
	shlq	$4, %rax
	andl	%edx, 8(%rcx,%rax)
	leal	1(%rsi), %edx
	incq	%rsi
	movq	(%rcx,%rax), %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	shlq	$4, %rax
	cmpq	%rdi, (%rcx,%rax)
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	movl	%edx, %eax
	cltd
	idivl	%r9d
	movslq	%edx, %rsi
	jmp	LBB0_2
LBB0_3:
	movl	(%r8), %eax
	shlq	$4, %rsi
	orl	%eax, 8(%rcx,%rsi)
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_CPUID_FLAG_STATE_READ_NEXT,4,2 ## @KVM_CPUID_FLAG_STATE_READ_NEXT
	.no_dead_strip	_move_to_next_stateful_cpuid_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function move_to_next_stateful_cpuid_entry
_move_to_next_stateful_cpuid_entry:     ; @move_to_next_stateful_cpuid_entry
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, #8]
	sxtw	x11, w1
	ldr	w10, [x0]
Lloh0:
	adrp	x9, _KVM_CPUID_FLAG_STATE_READ_NEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KVM_CPUID_FLAG_STATE_READ_NEXT@GOTPAGEOFF]
	ldr	w12, [x9]
	add	x13, x8, w1, sxtw #4
	ldr	w14, [x13, #8]
	bic	w12, w14, w12
	str	w12, [x13, #8]
	add	x12, x11, #1
	mov	x0, x12
	ldr	x11, [x13]
	lsl	x13, x12, #4
	ldr	x13, [x8, x13]
	cmp	x13, x11
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w0, #1
	sdiv	w13, w12, w10
	msub	w0, w13, w10, w12
	sbfiz	x12, x0, #4, #32
	ldr	x12, [x8, x12]
	cmp	x12, x11
	b.ne	LBB0_1
; %bb.2:
	sxtw	x12, w0
LBB0_3:
	ldr	w9, [x9]
	add	x8, x8, x12, lsl #4
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_CPUID_FLAG_STATE_READ_NEXT,4,2 ; @KVM_CPUID_FLAG_STATE_READ_NEXT
	.no_dead_strip	_move_to_next_stateful_cpuid_entry
.subsections_via_symbols
