	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evsel__newtp              ## -- Begin function perf_evsel__newtp
	.p2align	4, 0x90
_perf_evsel__newtp:                     ## @perf_evsel__newtp
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$16, %edi
	callq	_zalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_PERF_SAMPLE_RAW@GOTPCREL(%rip), %rax
	movq	_PERF_SAMPLE_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PERF_SAMPLE_CPU@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PERF_SAMPLE_PERIOD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	$0, -44(%rbp)
	movq	_PERF_TYPE_TRACEPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_event_format__new
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_event_attr_init
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$1, -44(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_perf_evsel__init
	jmp	LBB0_6
LBB0_4:
	movq	(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_SAMPLE_RAW,4,2            ## @PERF_SAMPLE_RAW
	.comm	_PERF_SAMPLE_TIME,4,2           ## @PERF_SAMPLE_TIME
	.comm	_PERF_SAMPLE_CPU,4,2            ## @PERF_SAMPLE_CPU
	.comm	_PERF_SAMPLE_PERIOD,4,2         ## @PERF_SAMPLE_PERIOD
	.comm	_PERF_TYPE_TRACEPOINT,4,2       ## @PERF_TYPE_TRACEPOINT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evsel__newtp              ; -- Begin function perf_evsel__newtp
	.p2align	2
_perf_evsel__newtp:                     ; @perf_evsel__newtp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #16
	bl	_zalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _PERF_SAMPLE_RAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_SAMPLE_RAW@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PERF_SAMPLE_TIME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PERF_SAMPLE_TIME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PERF_SAMPLE_CPU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PERF_SAMPLE_CPU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _PERF_SAMPLE_PERIOD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PERF_SAMPLE_PERIOD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stp	w8, wzr, [sp]
Lloh12:
	adrp	x8, _PERF_TYPE_TRACEPOINT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PERF_TYPE_TRACEPOINT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_asprintf
	tbnz	x0, #63, LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	bl	_event_format__new
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, sp
	bl	_event_attr_init
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #4]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x20
	bl	_perf_evsel__init
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19]
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_SAMPLE_RAW,4,2            ; @PERF_SAMPLE_RAW
	.comm	_PERF_SAMPLE_TIME,4,2           ; @PERF_SAMPLE_TIME
	.comm	_PERF_SAMPLE_CPU,4,2            ; @PERF_SAMPLE_CPU
	.comm	_PERF_SAMPLE_PERIOD,4,2         ; @PERF_SAMPLE_PERIOD
	.comm	_PERF_TYPE_TRACEPOINT,4,2       ; @PERF_TYPE_TRACEPOINT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s"

.subsections_via_symbols
