	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_tracepoint_multi_sys
_add_tracepoint_multi_sys:              ## @add_tracepoint_multi_sys
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_tracing_events_path@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opendir
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_strglobmatch
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_add_tracepoint_event
	movl	%eax, %r12d
	jmp	LBB0_9
LBB0_3:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%rbx, %rdi
	callq	_closedir
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$-1, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_tracing_events_path,4,2        ## @tracing_events_path
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't open event dir"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"enable"

L_.str.4:                               ## @.str.4
	.asciz	"header_event"

L_.str.5:                               ## @.str.5
	.asciz	"header_page"

	.no_dead_strip	_add_tracepoint_multi_sys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_tracepoint_multi_sys
_add_tracepoint_multi_sys:              ; @add_tracepoint_multi_sys
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _tracing_events_path@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tracing_events_path@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_opendir
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x24, l_.str.1@PAGE
Lloh4:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh5:
	adrp	x25, l_.str.2@PAGE
Lloh6:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh7:
	adrp	x26, l_.str.3@PAGE
Lloh8:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh9:
	adrp	x27, l_.str.4@PAGE
Lloh10:
	add	x27, x27, l_.str.4@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_readdir
	mov	x28, x0
	cbz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	mov	x1, x25
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	mov	x1, x26
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	mov	x1, x27
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	mov	x1, x20
	bl	_strglobmatch
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x28]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x19
	bl	_add_tracepoint_event
	mov	x28, x0
	cbz	w28, LBB0_2
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #0
	cbz	w28, LBB0_2
LBB0_11:
	mov	x0, x21
	bl	_closedir
LBB0_12:
	mov	x0, x28
	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
LBB0_13:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w28, #-1
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_tracing_events_path,4,2        ; @tracing_events_path
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't open event dir"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"enable"

l_.str.4:                               ; @.str.4
	.asciz	"header_event"

l_.str.5:                               ; @.str.5
	.asciz	"header_page"

	.no_dead_strip	_add_tracepoint_multi_sys
.subsections_via_symbols
