	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_stat_update40              ## -- Begin function ice_stat_update40
	.p2align	4, 0x90
_ice_stat_update40:                     ## @ice_stat_update40
	.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	%r8, %r14
	movq	%rcx, %r15
	movl	%edx, %r12d
	callq	_rd64
	movl	%eax, %ebx
	movl	$40, %edi
	callq	_BIT_ULL
	decl	%eax
	andl	%ebx, %eax
	movslq	%eax, %rbx
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.1:
	movq	(%r15), %rcx
	cmpq	%rbx, %rcx
	jle	LBB0_2
## %bb.3:
	movl	$40, %edi
	callq	_BIT_ULL
	cltq
	addq	%rbx, %rax
	subq	(%r15), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rax
	subq	%rcx, %rax
LBB0_4:
	addq	%rax, (%r14)
LBB0_5:
	movq	%rbx, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_stat_update40              ; -- Begin function ice_stat_update40
	.p2align	2
_ice_stat_update40:                     ; @ice_stat_update40
	.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	x20, x4
	mov	x19, x3
	mov	x21, x2
	bl	_rd64
	mov	x22, x0
	mov	w0, #40
	bl	_BIT_ULL
	sub	w8, w0, #1
	and	w8, w8, w22
	sxtw	x22, w8
	cbz	w21, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, x22
	b.le	LBB0_3
; %bb.2:
	mov	w0, #40
	bl	_BIT_ULL
	add	x8, x22, w0, sxtw
	ldr	x9, [x19]
	sub	x8, x8, x9
	b	LBB0_4
LBB0_3:
	sub	x8, x22, x8
LBB0_4:
	ldr	x9, [x20]
	add	x8, x8, x9
	str	x8, [x20]
LBB0_5:
	str	x22, [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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
