	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcache_stats_merge             ## -- Begin function tcache_stats_merge
	.p2align	4, 0x90
_tcache_stats_merge:                    ## @tcache_stats_merge
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_config_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	_SC_NBINS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r14, %r15
	movq	%rax, %r14
	callq	_tcache_small_bin_get
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	leaq	-52(%rbp), %rcx
	callq	_arena_bin_choose_lock
	movl	(%r13), %ecx
	addl	%ecx, 4(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_malloc_mutex_unlock
	movq	%r14, %rax
	movq	%r15, %r14
	movq	$0, (%r13)
	incl	%ebx
	cmpl	(%rax), %ebx
	jb	LBB0_7
	jmp	LBB0_2
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	_nhbins@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jae	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tcache_large_bin_get
	movq	%rax, %r13
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_arena_stats_large_flush_nrequests_add
	movq	$0, (%r13)
	incl	%ebx
	cmpl	(%r15), %ebx
	jb	LBB0_3
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_stats,4,2               ## @config_stats
	.comm	_SC_NBINS,4,2                   ## @SC_NBINS
	.comm	_nhbins,4,2                     ## @nhbins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcache_stats_merge             ; -- Begin function tcache_stats_merge
	.p2align	2
_tcache_stats_merge:                    ; @tcache_stats_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _config_stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
Lloh3:
	adrp	x24, _SC_NBINS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SC_NBINS@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_tcache_small_bin_get
	mov	x23, x0
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_arena_bin_choose_lock
	mov	x1, x0
	ldr	w8, [x23]
	ldr	w9, [x0, #4]
	add	w8, w9, w8
	str	w8, [x0, #4]
	mov	x0, x21
	bl	_malloc_mutex_unlock
	str	xzr, [x23]
	add	w22, w22, #1
	ldr	w8, [x24]
	cmp	w22, w8
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
Lloh5:
	adrp	x24, _nhbins@GOTPAGE
Lloh6:
	ldr	x24, [x24, _nhbins@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_tcache_large_bin_get
	mov	x23, x0
	ldr	x3, [x0]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_arena_stats_large_flush_nrequests_add
	str	xzr, [x23]
	add	w22, w22, #1
	b	LBB0_5
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_config_stats,4,2               ; @config_stats
	.comm	_SC_NBINS,4,2                   ; @SC_NBINS
	.comm	_nhbins,4,2                     ; @nhbins
.subsections_via_symbols
