	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___perf_session__set_tracepoints_handlers ## -- Begin function __perf_session__set_tracepoints_handlers
	.p2align	4, 0x90
___perf_session__set_tracepoints_handlers: ## @__perf_session__set_tracepoints_handlers
	.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
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_free
	addq	$16, %rbx
	decq	%r15
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %edi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdx
	incq	%rdx
	movb	$0, (%rax)
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_pevent_find_event_by_name
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_perf_evlist__find_tracepoint_by_id
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_11
LBB0_13:
	negl	%r13d
	movl	%r13d, %eax
	jmp	LBB0_14
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_9:
	movq	_EEXIST@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_free
	movl	%ebx, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EEXIST,4,2                     ## @EEXIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___perf_session__set_tracepoints_handlers ; -- Begin function __perf_session__set_tracepoints_handlers
	.p2align	2
___perf_session__set_tracepoints_handlers: ; @__perf_session__set_tracepoints_handlers
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	cbz	x2, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0, #8]
	add	x24, x1, #8
Lloh0:
	adrp	x25, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ENOMEM@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ENOENT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
Lloh4:
	adrp	x26, _EEXIST@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EEXIST@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_free
	add	x24, x24, #16
	subs	x19, x19, #1
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x25]
	ldr	w0, [x24]
	bl	_strdup
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	strb	wzr, [x2], #1
	ldr	w0, [x20]
	mov	x1, x22
	bl	_pevent_find_event_by_name
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x0]
	mov	x0, x21
	bl	_perf_evlist__find_tracepoint_by_id
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x24, #-8]
	str	x8, [x0]
	b	LBB0_2
LBB0_9:
	neg	w19, w27
	b	LBB0_12
LBB0_10:
	mov	x23, x26
LBB0_11:
	ldr	w8, [x23]
	neg	w19, w8
	mov	x0, x22
	bl	_free
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EEXIST,4,2                     ; @EEXIST
.subsections_via_symbols
