	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function velocity_update_hw_mibs
_velocity_update_hw_mibs:               ## @velocity_update_hw_mibs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MIBCR_MIBFLSH@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	8(%r15), %rsi
	addq	$4, %rsi
	callq	_BYTE_REG_BITS_ON
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	8(%r15), %rsi
	addq	$4, %rsi
	callq	_BYTE_REG_BITS_IS_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_MIBCR_MPTRINI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rsi
	addq	$4, %rsi
	callq	_BYTE_REG_BITS_ON
	movq	_HW_MIB_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	callq	_readl
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movq	(%r15), %rcx
	addl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIBCR_MIBFLSH,4,2              ## @MIBCR_MIBFLSH
	.comm	_MIBCR_MPTRINI,4,2              ## @MIBCR_MPTRINI
	.comm	_HW_MIB_SIZE,4,2                ## @HW_MIB_SIZE
	.no_dead_strip	_velocity_update_hw_mibs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function velocity_update_hw_mibs
_velocity_update_hw_mibs:               ; @velocity_update_hw_mibs
	.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	x20, _MIBCR_MIBFLSH@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MIBCR_MIBFLSH@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	bl	_BYTE_REG_BITS_ON
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	bl	_BYTE_REG_BITS_IS_ON
	cbnz	x0, LBB0_1
; %bb.2:
Lloh2:
	adrp	x8, _MIBCR_MPTRINI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MIBCR_MPTRINI@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	bl	_BYTE_REG_BITS_ON
Lloh5:
	adrp	x20, _HW_MIB_SIZE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _HW_MIB_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	bl	_readl
	and	w8, w0, #0xffffff
	ldr	x9, [x19]
	lsl	x10, x21, #2
	ldr	w11, [x9, x10]
	add	w8, w11, w8
	str	w8, [x9, x10]
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MIBCR_MIBFLSH,4,2              ; @MIBCR_MIBFLSH
	.comm	_MIBCR_MPTRINI,4,2              ; @MIBCR_MPTRINI
	.comm	_HW_MIB_SIZE,4,2                ; @HW_MIB_SIZE
	.no_dead_strip	_velocity_update_hw_mibs
.subsections_via_symbols
