	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buildid_dir_command_config
_buildid_dir_command_config:            ## @buildid_dir_command_config
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_prefixcmp
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leaq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_perf_config_dirname
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rdi
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	decl	%edx
	movq	%rax, %rsi
	callq	_strncpy
	movq	(%r14), %rax
	movslq	(%rbx), %rcx
	movb	$0, -1(%rcx,%rax)
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %r12d
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buildid."

L_.str.1:                               ## @.str.1
	.asciz	"dir"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.no_dead_strip	_buildid_dir_command_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buildid_dir_command_config
_buildid_dir_command_config:            ; @buildid_dir_command_config
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_prefixcmp
	cbnz	w0, LBB0_2
; %bb.1:
	add	x0, x21, #8
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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_4:
	mov	x0, x21
	mov	x1, x20
	bl	_perf_config_dirname
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	ldr	x0, [x19]
Lloh4:
	adrp	x20, _MAXPATHLEN@GOTPAGE
Lloh5:
	ldr	x20, [x20, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w2, w8, #1
	bl	_strncpy
	mov	w0, #0
	ldr	x8, [x19]
	ldrsw	x9, [x20]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
	b	LBB0_3
LBB0_6:
	mov	w0, #-1
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buildid."

l_.str.1:                               ; @.str.1
	.asciz	"dir"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.no_dead_strip	_buildid_dir_command_config
.subsections_via_symbols
