	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oprofile_perf_create_files
_oprofile_perf_create_files:            ## @oprofile_perf_create_files
	.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	_num_counters@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	movl	$20, %r15d
	xorl	%ebx, %ebx
	movq	_counter_config@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movl	$4, %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_oprofilefs_mkdir
	movq	%r13, %r12
	movq	%rax, %r13
	movq	(%r14), %rdx
	addq	%r15, %rdx
	movq	%rax, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	(%r14), %rax
	leaq	(%rax,%r15), %rdx
	addq	$-4, %rdx
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	(%r14), %rax
	leaq	(%rax,%r15), %rdx
	addq	$-8, %rdx
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	(%r14), %rax
	leaq	(%rax,%r15), %rdx
	addq	$-12, %rdx
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	(%r14), %rax
	leaq	(%rax,%r15), %rdx
	addq	$-16, %rdx
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	(%r14), %rax
	leaq	(%rax,%r15), %rdx
	addq	$-20, %rdx
	movq	%r13, %rdi
	movq	%r12, %r13
	leaq	L_.str.6(%rip), %rsi
	callq	_oprofilefs_create_ulong
	movq	_num_counters@GOTPCREL(%rip), %rax
	incq	%rbx
	movl	(%rax), %eax
	addq	$24, %r15
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_counters,4,2               ## @num_counters
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

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

	.comm	_counter_config,8,3             ## @counter_config
L_.str.2:                               ## @.str.2
	.asciz	"event"

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"user"

	.no_dead_strip	_oprofile_perf_create_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oprofile_perf_create_files
_oprofile_perf_create_files:            ; @oprofile_perf_create_files
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x23, _num_counters@GOTPAGE
Lloh1:
	ldr	x23, [x23, _num_counters@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	mov	w21, #20
Lloh2:
	adrp	x22, _counter_config@GOTPAGE
Lloh3:
	ldr	x22, [x22, _counter_config@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str.3@PAGE
Lloh5:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh6:
	adrp	x25, l_.str.4@PAGE
Lloh7:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh8:
	adrp	x26, l_.str.5@PAGE
Lloh9:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh10:
	adrp	x27, l_.str.6@PAGE
Lloh11:
	add	x27, x27, l_.str.6@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #4
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_snprintf
	add	x1, sp, #12
	mov	x0, x19
	bl	_oprofilefs_mkdir
	mov	x28, x0
	ldr	x8, [x22]
	add	x2, x8, x21
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_oprofilefs_create_ulong
	ldr	x8, [x22]
	add	x8, x8, x21
	sub	x2, x8, #4
	mov	x0, x28
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_oprofilefs_create_ulong
	ldr	x8, [x22]
	add	x8, x8, x21
	sub	x2, x8, #8
	mov	x0, x28
	mov	x1, x24
	bl	_oprofilefs_create_ulong
	ldr	x8, [x22]
	add	x8, x8, x21
	sub	x2, x8, #12
	mov	x0, x28
	mov	x1, x25
	bl	_oprofilefs_create_ulong
	ldr	x8, [x22]
	add	x8, x8, x21
	sub	x2, x8, #16
	mov	x0, x28
	mov	x1, x26
	bl	_oprofilefs_create_ulong
	ldr	x8, [x22]
	add	x8, x8, x21
	sub	x2, x8, #20
	mov	x0, x28
	mov	x1, x27
	bl	_oprofilefs_create_ulong
	add	x20, x20, #1
	ldr	w8, [x23]
	add	x21, x21, #24
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_num_counters,4,2               ; @num_counters
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

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

	.comm	_counter_config,8,3             ; @counter_config
l_.str.2:                               ; @.str.2
	.asciz	"event"

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"user"

	.no_dead_strip	_oprofile_perf_create_files
.subsections_via_symbols
