	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function synthesize_perf_probe_point
_synthesize_perf_probe_point:           ## @synthesize_perf_probe_point
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	_MAX_CMDLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_zalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movslq	24(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	xorl	%eax, %eax
	callq	_e_snprintf
	testl	%eax, %eax
	jle	LBB0_14
LBB0_4:
	movslq	20(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$32, %esi
	xorl	%eax, %eax
	callq	_e_snprintf
	testl	%eax, %eax
	jle	LBB0_14
LBB0_6:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$31, %eax
	jl	LBB0_9
## %bb.8:
	movq	(%r14), %rcx
	movl	%eax, %eax
	leaq	(%rcx,%rax), %r12
	addq	$-30, %r12
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strchr
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r12, %rbx
LBB0_9:
	leaq	L_.str.2(%rip), %rdx
	leaq	-144(%rbp), %rdi
	movl	$32, %esi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_e_snprintf
	testl	%eax, %eax
	jle	LBB0_14
LBB0_10:
	movslq	16(%r14), %rcx
	movl	(%r13), %esi
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	cmpq	$0, 8(%r14)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %r9
	cmoveq	%rax, %r9
	leaq	-144(%rbp), %rbx
	leaq	-112(%rbp), %r10
	leaq	L_.str.3(%rip), %rdx
	leaq	-80(%rbp), %r8
	movq	%r15, %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_e_snprintf
	addq	$16, %rsp
	testl	%eax, %eax
	jg	LBB0_17
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	negl	%eax
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	testq	%r15, %r15
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	callq	_free
LBB0_16:
	xorl	%r15d, %r15d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movq	%r15, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.6(%rip), %rdx
	leaq	-144(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_e_snprintf
	testl	%eax, %eax
	jg	LBB0_17
	jmp	LBB0_14
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CMDLEN,4,2                 ## @MAX_CMDLEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+%lu"

L_.str.1:                               ## @.str.1
	.asciz	":%d"

L_.str.2:                               ## @.str.2
	.asciz	"@%s"

L_.str.3:                               ## @.str.3
	.asciz	"%s%s%s%s%s"

L_.str.4:                               ## @.str.4
	.asciz	"%return"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"%s%s"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to synthesize perf probe point: %s\n"

	.no_dead_strip	_synthesize_perf_probe_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synthesize_perf_probe_point
_synthesize_perf_probe_point:           ; @synthesize_perf_probe_point
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-80]
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
Lloh3:
	adrp	x22, _MAX_CMDLEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_CMDLEN@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_zalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldrsw	x3, [x20, #24]
	cbz	w3, LBB0_3
; %bb.2:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #80
	mov	w1, #32
	bl	_e_snprintf
	cmp	w0, #1
	b.lt	LBB0_14
LBB0_3:
	ldrsw	x3, [x20, #20]
	cbz	w3, LBB0_5
; %bb.4:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #64
	mov	w1, #32
	bl	_e_snprintf
	cmp	w0, #1
	b.lt	LBB0_14
LBB0_5:
	ldr	x21, [x20]
	cbz	x21, LBB0_9
; %bb.6:
	mov	x0, x21
	bl	_strlen
	cmp	w0, #31
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x20]
	add	x8, x8, w0, uxtw
	sub	x21, x8, #30
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	cmp	x0, #0
	csinc	x21, x21, x0, eq
LBB0_8:
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #32
	mov	w1, #32
	mov	x3, x21
	bl	_e_snprintf
	cmp	w0, #1
	b.lt	LBB0_14
LBB0_9:
	ldrsw	x3, [x20, #16]
	ldr	w1, [x22]
	cbz	w3, LBB0_12
; %bb.10:
	ldr	x8, [x20, #8]
Lloh11:
	adrp	x9, l_.str.4@PAGE
Lloh12:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh13:
	adrp	x10, l_.str.5@PAGE
Lloh14:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	add	x9, sp, #32
	add	x10, sp, #64
	stp	x10, x9, [sp, #16]
	sub	x9, x29, #80
	stp	x9, x8, [sp]
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_12:
	add	x8, sp, #64
	str	x8, [sp]
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x3, sp, #32
LBB0_13:
	mov	x0, x19
	bl	_e_snprintf
	cmp	w0, #0
	b.gt	LBB0_16
LBB0_14:
	neg	w0, w0
	bl	_strerror
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
	cbz	x19, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_16:
	ldur	x8, [x29, #-40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CMDLEN,4,2                 ; @MAX_CMDLEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+%lu"

l_.str.1:                               ; @.str.1
	.asciz	":%d"

l_.str.2:                               ; @.str.2
	.asciz	"@%s"

l_.str.3:                               ; @.str.3
	.asciz	"%s%s%s%s%s"

l_.str.4:                               ; @.str.4
	.asciz	"%return"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"%s%s"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to synthesize perf probe point: %s\n"

	.no_dead_strip	_synthesize_perf_probe_point
.subsections_via_symbols
