	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_idump_accum_impl          ## -- Begin function prof_idump_accum_impl
	.p2align	4, 0x90
_prof_idump_accum_impl:                 ## @prof_idump_accum_impl
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_config_prof@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	_prof_idump_accumulated@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_lock
	addl	4(%r15), %ebx
	movq	_prof_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	cmpl	%ecx, %ebx
	jl	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
LBB0_2:
	xorl	%r12d, %r12d
	cmpl	%ecx, %ebx
	setge	%r12b
	movl	%edx, 4(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_unlock
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,4,2                ## @config_prof
	.comm	_prof_idump_accumulated,8,2     ## @prof_idump_accumulated
	.comm	_prof_interval,4,2              ## @prof_interval
	.comm	_ATOMIC_RELAXED,4,2             ## @ATOMIC_RELAXED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_idump_accum_impl          ; -- Begin function prof_idump_accum_impl
	.p2align	2
_prof_idump_accum_impl:                 ; @prof_idump_accum_impl
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _config_prof@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
Lloh3:
	adrp	x20, _prof_idump_accumulated@GOTPAGE
Lloh4:
	ldr	x20, [x20, _prof_idump_accumulated@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_malloc_mutex_lock
	ldr	w9, [x20, #4]
Lloh5:
	adrp	x8, _prof_interval@GOTPAGE
Lloh6:
	ldr	x8, [x8, _prof_interval@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w9, w9, w21
	cmp	w9, w8
	mov	x10, x9
	b.lt	LBB0_2
; %bb.1:
	sdiv	w10, w9, w8
	msub	w10, w10, w8, w9
LBB0_2:
	cmp	w9, w8
	cset	w21, ge
	str	w10, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_malloc_mutex_unlock
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,4,2                ; @config_prof
	.comm	_prof_idump_accumulated,8,2     ; @prof_idump_accumulated
	.comm	_prof_interval,4,2              ; @prof_interval
	.comm	_ATOMIC_RELAXED,4,2             ; @ATOMIC_RELAXED
.subsections_via_symbols
