	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_mdump                     ## -- Begin function prof_mdump
	.p2align	4, 0x90
_prof_mdump:                            ## @prof_mdump
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_config_prof@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	%r14, %rdi
	callq	_tsd_reentrancy_level_get
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	_opt_prof@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$1, %eax
	je	LBB0_8
## %bb.1:
	movq	_prof_booted@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_8
## %bb.2:
	movq	%rsp, %r12
	movq	_DUMP_FILENAME_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_malloc_mutex_lock
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	callq	_prof_dump_prefix_get
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_prof_dump_mseq@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$109, %edx
	callq	_prof_dump_filename
	incl	(%rbx)
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_malloc_mutex_unlock
	movq	%r15, %rbx
LBB0_6:
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_prof_dump
LBB0_7:
	movq	%r12, %rsp
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_malloc_mutex_unlock
	movl	$1, %eax
	jmp	LBB0_7
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,4,2                ## @config_prof
	.comm	_opt_prof,4,2                   ## @opt_prof
	.comm	_prof_booted,4,2                ## @prof_booted
	.comm	_DUMP_FILENAME_BUFSIZE,4,2      ## @DUMP_FILENAME_BUFSIZE
	.comm	_prof_dump_filename_mtx,4,2     ## @prof_dump_filename_mtx
	.comm	_prof_dump_mseq,4,2             ## @prof_dump_mseq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_mdump                     ; -- Begin function prof_mdump
	.p2align	2
_prof_mdump:                            ; @prof_mdump
	.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _config_prof@GOTPAGE
Lloh4:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cassert
	mov	x0, x19
	bl	_tsd_reentrancy_level_get
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x8, _opt_prof@GOTPAGE
Lloh7:
	ldr	x8, [x8, _opt_prof@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _prof_booted@GOTPAGE
Lloh10:
	ldr	x9, [x9, _prof_booted@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_7
LBB0_2:
	mov	x22, sp
Lloh12:
	adrp	x8, _DUMP_FILENAME_BUFSIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DUMP_FILENAME_BUFSIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cbnz	x21, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_tsd_tsdn
Lloh17:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh18:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	bl	_malloc_mutex_lock
	mov	x0, x19
	bl	_tsd_tsdn
	bl	_prof_dump_prefix_get
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.4:
Lloh19:
	adrp	x21, _prof_dump_mseq@GOTPAGE
Lloh20:
	ldr	x21, [x21, _prof_dump_mseq@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #109
	bl	_prof_dump_filename
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x19
	bl	_tsd_tsdn
Lloh21:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh22:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	bl	_malloc_mutex_unlock
	mov	x21, x20
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	mov	w3, #0
	bl	_prof_dump
LBB0_6:
	mov	sp, x22
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	sub	sp, x29, #32
	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
LBB0_9:
	mov	x0, x19
	bl	_tsd_tsdn
Lloh26:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh27:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	bl	_malloc_mutex_unlock
	mov	w0, #1
	b	LBB0_6
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,4,2                ; @config_prof
	.comm	_opt_prof,4,2                   ; @opt_prof
	.comm	_prof_booted,4,2                ; @prof_booted
	.comm	_DUMP_FILENAME_BUFSIZE,4,2      ; @DUMP_FILENAME_BUFSIZE
	.comm	_prof_dump_filename_mtx,4,2     ; @prof_dump_filename_mtx
	.comm	_prof_dump_mseq,4,2             ; @prof_dump_mseq
.subsections_via_symbols
