	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_dump_prefix_set           ## -- Begin function prof_dump_prefix_set
	.p2align	4, 0x90
_prof_dump_prefix_set:                  ## @prof_dump_prefix_set
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_config_prof@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	%rbx, %rdi
	callq	_ctl_mtx_assert_held
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_malloc_mutex_lock
	movq	_prof_dump_prefix@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_4
## %bb.1:
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_malloc_mutex_unlock
	xorl	%eax, %eax
	callq	_b0get
	movq	_PROF_DUMP_FILENAME_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_QUANTUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_base_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_malloc_mutex_lock
	movq	%r15, (%r12)
LBB0_4:
	movl	$1, %edi
	callq	_assert
	movq	(%r12), %rdi
	movq	_PROF_DUMP_FILENAME_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	decl	%edx
	movq	%r14, %rsi
	callq	_strncpy
	movq	(%r12), %rax
	movslq	(%r15), %rcx
	movb	$0, -1(%rcx,%rax)
	movq	_prof_dump_filename_mtx@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_malloc_mutex_unlock
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,4,2                ## @config_prof
	.comm	_prof_dump_filename_mtx,4,2     ## @prof_dump_filename_mtx
	.comm	_prof_dump_prefix,8,3           ## @prof_dump_prefix
	.comm	_PROF_DUMP_FILENAME_LEN,4,2     ## @PROF_DUMP_FILENAME_LEN
	.comm	_QUANTUM,4,2                    ## @QUANTUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_dump_prefix_set           ; -- Begin function prof_dump_prefix_set
	.p2align	2
_prof_dump_prefix_set:                  ; @prof_dump_prefix_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _config_prof@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
	mov	x0, x19
	bl	_ctl_mtx_assert_held
Lloh3:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh4:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	mov	x0, x19
	bl	_malloc_mutex_lock
Lloh5:
	adrp	x22, _prof_dump_prefix@GOTPAGE
Lloh6:
	ldr	x22, [x22, _prof_dump_prefix@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh7:
	adrp	x23, _PROF_DUMP_FILENAME_LEN@GOTPAGE
Lloh8:
	ldr	x23, [x23, _PROF_DUMP_FILENAME_LEN@GOTPAGEOFF]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh9:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh10:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	mov	x0, x19
	bl	_malloc_mutex_unlock
	bl	_b0get
	mov	x1, x0
	ldr	w2, [x23]
Lloh11:
	adrp	x8, _QUANTUM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QUANTUM@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_base_alloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh14:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh15:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	mov	x0, x19
	bl	_malloc_mutex_lock
	str	x21, [x22]
LBB0_3:
	mov	w0, #1
	bl	_assert
	ldr	x0, [x22]
	ldr	w8, [x23]
	sub	w2, w8, #1
	mov	x1, x20
	bl	_strncpy
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
Lloh16:
	adrp	x1, _prof_dump_filename_mtx@GOTPAGE
Lloh17:
	ldr	x1, [x1, _prof_dump_filename_mtx@GOTPAGEOFF]
	mov	x0, x19
	bl	_malloc_mutex_unlock
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,4,2                ; @config_prof
	.comm	_prof_dump_filename_mtx,4,2     ; @prof_dump_filename_mtx
	.comm	_prof_dump_prefix,8,3           ; @prof_dump_prefix
	.comm	_PROF_DUMP_FILENAME_LEN,4,2     ; @PROF_DUMP_FILENAME_LEN
	.comm	_QUANTUM,4,2                    ; @QUANTUM
.subsections_via_symbols
