	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_dump                      ## -- Begin function prof_dump
	.p2align	4, 0x90
_prof_dump:                             ## @prof_dump
	.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
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_config_prof@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	%rbx, %rdi
	callq	_tsd_reentrancy_level_get
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_prof_tdata_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pre_reentrancy
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movq	_prof_dump_mtx@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_malloc_mutex_lock
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-68(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %r8
	callq	_prof_dump_prep
	subq	$8, %rsp
	leaq	-64(%rbp), %rax
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %r12
	movq	%r15, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	leaq	-56(%rbp), %r9
	pushq	%r14
	pushq	%rax
	leaq	-48(%rbp), %rax
	pushq	%rax
	callq	_prof_dump_file
	addq	$32, %rsp
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_prof_gctx_finish
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	_prof_dump_mtx@GOTPCREL(%rip), %rsi
	callq	_malloc_mutex_unlock
	movq	%rbx, %rdi
	callq	_post_reentrancy
	movl	$1, %r14d
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.2:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:
	movl	-48(%rbp), %esi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	callq	_prof_leakcheck
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,4,2                ## @config_prof
	.comm	_prof_dump_mtx,4,2              ## @prof_dump_mtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_dump                      ; -- Begin function prof_dump
	.p2align	2
_prof_dump:                             ; @prof_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _config_prof@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
	mov	x0, x21
	bl	_tsd_reentrancy_level_get
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	w24, #1
	mov	x0, x21
	mov	w1, #1
	bl	_prof_tdata_get
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
	mov	x0, x21
	mov	x1, #0
	bl	_pre_reentrancy
	mov	x0, x21
	bl	_tsd_tsdn
Lloh3:
	adrp	x24, _prof_dump_mtx@GOTPAGE
Lloh4:
	ldr	x24, [x24, _prof_dump_mtx@GOTPAGEOFF]
	mov	x1, x24
	bl	_malloc_mutex_lock
	add	x25, sp, #28
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #28
	mov	x0, x21
	mov	x1, x23
	bl	_prof_dump_prep
	str	x25, [sp]
	add	x5, sp, #24
	add	x6, sp, #16
	add	x7, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	bl	_prof_dump_file
	mov	x22, x0
	add	x1, sp, #28
	mov	x0, x21
	bl	_prof_gctx_finish
	mov	x0, x21
	bl	_tsd_tsdn
	mov	x1, x24
	bl	_malloc_mutex_unlock
	mov	x0, x21
	bl	_post_reentrancy
	cbz	w22, LBB0_3
; %bb.2:
	mov	w24, #1
	b	LBB0_6
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
	ldr	w1, [sp, #16]
	add	x0, sp, #24
	mov	x2, x19
	bl	_prof_leakcheck
LBB0_5:
	mov	w24, #0
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,4,2                ; @config_prof
	.comm	_prof_dump_mtx,4,2              ; @prof_dump_mtx
.subsections_via_symbols
