	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseAndSetFilename
_parseAndSetFilename:                   ## @parseAndSetFilename
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_lprofCurFilename@GOTPCREL(%rip), %rax
	movq	8(%rax), %r15
	cmpq	%rsi, %r15
	jle	LBB0_1
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rax), %r14
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_DefaultProfileName@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_3:
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_parseFilenamePattern
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_resetFilenameToDefault
LBB0_10:
	movq	_lprofCurFilename@GOTPCREL(%rip), %rax
	movq	%r13, 8(%rax)
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%r14, %r14
	je	LBB0_11
## %bb.13:
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	callq	_getPNSStr
	movl	%eax, %ebx
	movq	_lprofCurFilename@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r13, %rdi
	callq	_getPNSStr
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_PROF_NOTE
	jmp	LBB0_15
LBB0_11:
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	_lprofCurFilename@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_getPNSStr
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_PROF_NOTE
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_truncateCurrentFile            ## TAILCALL
LBB0_5:
	movq	_lprofCurFilename@GOTPCREL(%rip), %rax
	movq	%r13, 8(%rax)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_lprofCurFilename,16,3          ## @lprofCurFilename
	.comm	_DefaultProfileName,8,3         ## @DefaultProfileName
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LLVM_PROFILE_VERBOSE"

L_.str.1:                               ## @.str.1
	.asciz	"Set profile file path to \"%s\" via %s.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Override old profile path \"%s\" via %s to \"%s\" via %s.\n"

	.no_dead_strip	_parseAndSetFilename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseAndSetFilename
_parseAndSetFilename:                   ; @parseAndSetFilename
	.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
Lloh0:
	adrp	x24, _lprofCurFilename@GOTPAGE
Lloh1:
	ldr	x24, [x24, _lprofCurFilename@GOTPAGEOFF]
	ldr	x21, [x24, #8]
	cmp	x21, x1
	b.le	LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x22, x2
	mov	x19, x1
	ldr	x20, [x24]
Lloh2:
	adrp	x8, _DefaultProfileName@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DefaultProfileName@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x23, x8, x0, eq
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_14
LBB0_4:
	cbz	x23, LBB0_6
; %bb.5:
	mov	x0, x23
	mov	x1, x22
	bl	_parseFilenamePattern
	cbz	x0, LBB0_7
LBB0_6:
	bl	_resetFilenameToDefault
LBB0_7:
	str	x19, [x24, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x20, LBB0_10
; %bb.8:
	cbz	x0, LBB0_13
; %bb.9:
	mov	x0, x21
	bl	_getPNSStr
	mov	x21, x0
	ldr	x22, [x24]
	mov	x0, x19
	bl	_getPNSStr
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	b	LBB0_12
LBB0_10:
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x20, [x24]
	mov	x0, x19
	bl	_getPNSStr
	mov	x2, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
LBB0_12:
	bl	_PROF_NOTE
LBB0_13:
	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
	b	_truncateCurrentFile
LBB0_14:
	str	x19, [x24, #8]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lprofCurFilename,16,3          ; @lprofCurFilename
	.comm	_DefaultProfileName,8,3         ; @DefaultProfileName
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LLVM_PROFILE_VERBOSE"

l_.str.1:                               ; @.str.1
	.asciz	"Set profile file path to \"%s\" via %s.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Override old profile path \"%s\" via %s to \"%s\" via %s.\n"

	.no_dead_strip	_parseAndSetFilename
.subsections_via_symbols
