	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prof_dump_prep
_prof_dump_prep:                        ## @prof_dump_prep
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_prof_enter
	movq	%r12, %rdi
	callq	_gctx_tree_new
	movq	$0, -56(%rbp)
	movq	_bt2gctx@GOTPCREL(%rip), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	callq	_ckh_iter
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_bt2gctx@GOTPCREL(%rip), %r14
	leaq	-56(%rbp), %r15
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_prof_dump_gctx_prep
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_ckh_iter
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	_tdatas_mtx@GOTPCREL(%rip), %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_malloc_mutex_lock
	movq	_prof_tdata_merge_iter@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tdatas@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	callq	_tdata_tree_iter
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_malloc_mutex_unlock
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	$0, (%rcx)
	movq	_prof_gctx_merge_iter@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_gctx_tree_iter
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_prof_leave
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bt2gctx,4,2                    ## @bt2gctx
	.comm	_tdatas_mtx,4,2                 ## @tdatas_mtx
	.comm	_tdatas,4,2                     ## @tdatas
	.comm	_prof_tdata_merge_iter,4,2      ## @prof_tdata_merge_iter
	.comm	_prof_gctx_merge_iter,4,2       ## @prof_gctx_merge_iter
	.no_dead_strip	_prof_dump_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prof_dump_prep
_prof_dump_prep:                        ; @prof_dump_prep
	.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	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	bl	_prof_enter
	mov	x0, x22
	bl	_gctx_tree_new
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, _bt2gctx@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bt2gctx@GOTPAGEOFF]
	add	x1, sp, #8
	mov	x3, sp
	mov	x2, #0
	bl	_ckh_iter
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x24, _bt2gctx@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bt2gctx@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_tsd_tsdn
	ldr	x1, [sp]
	mov	x2, x22
	bl	_prof_dump_gctx_prep
	add	x1, sp, #8
	mov	x3, sp
	mov	x0, x24
	mov	x2, #0
	bl	_ckh_iter
	cbz	w0, LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_tsd_tsdn
	str	x0, [x23, #8]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_tsd_tsdn
Lloh4:
	adrp	x24, _tdatas_mtx@GOTPAGE
Lloh5:
	ldr	x24, [x24, _tdatas_mtx@GOTPAGEOFF]
	mov	x1, x24
	bl	_malloc_mutex_lock
Lloh6:
	adrp	x8, _prof_tdata_merge_iter@GOTPAGE
Lloh7:
	ldr	x8, [x8, _prof_tdata_merge_iter@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x0, _tdatas@GOTPAGE
Lloh10:
	ldr	x0, [x0, _tdatas@GOTPAGEOFF]
	mov	x1, #0
	mov	x3, x23
	bl	_tdata_tree_iter
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x1, x24
	bl	_malloc_mutex_unlock
	mov	x0, x20
	bl	_tsd_tsdn
	stp	xzr, x0, [x21]
Lloh11:
	adrp	x8, _prof_gctx_merge_iter@GOTPAGE
Lloh12:
	ldr	x8, [x8, _prof_gctx_merge_iter@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, #0
	mov	x3, x21
	bl	_gctx_tree_iter
	mov	x0, x20
	mov	x1, x19
	bl	_prof_leave
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bt2gctx,4,2                    ; @bt2gctx
	.comm	_tdatas_mtx,4,2                 ; @tdatas_mtx
	.comm	_tdatas,4,2                     ; @tdatas
	.comm	_prof_tdata_merge_iter,4,2      ; @prof_tdata_merge_iter
	.comm	_prof_gctx_merge_iter,4,2       ; @prof_gctx_merge_iter
	.no_dead_strip	_prof_dump_prep
.subsections_via_symbols
