	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__synthesize_event_type ## -- Begin function perf_event__synthesize_event_type
	.p2align	4, 0x90
_perf_event__synthesize_event_type:     ## @perf_event__synthesize_event_type
	.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	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%r12d, -48(%rbp)
	movq	-56(%rbp), %rdi
	movq	_MAX_EVENT_NAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-56(%rbp), %rdi
	movl	(%rbx), %edx
	decl	%edx
	movq	%r14, %rsi
	callq	_strncpy
	movq	_PERF_RECORD_HEADER_EVENT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	-56(%rbp), %rdi
	callq	_strlen
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_PERF_ALIGN
	addl	$16, %eax
	movl	%eax, -64(%rbp)
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*%r15
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_EVENT_NAME,4,2             ## @MAX_EVENT_NAME
	.comm	_PERF_RECORD_HEADER_EVENT_TYPE,4,2 ## @PERF_RECORD_HEADER_EVENT_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__synthesize_event_type ; -- Begin function perf_event__synthesize_event_type
	.p2align	2
_perf_event__synthesize_event_type:     ; @perf_event__synthesize_event_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	w22, [sp, #24]
	ldr	x0, [sp, #16]
Lloh0:
	adrp	x22, _MAX_EVENT_NAME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_EVENT_NAME@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
	ldr	x0, [sp, #16]
	ldr	w8, [x22]
	sub	w2, w8, #1
	mov	x1, x21
	bl	_strncpy
Lloh2:
	adrp	x8, _PERF_RECORD_HEADER_EVENT_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PERF_RECORD_HEADER_EVENT_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x0, [sp, #16]
	bl	_strlen
	mov	w1, #4
	bl	_PERF_ALIGN
	add	w8, w0, #16
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x23
	mov	x2, #0
	mov	x3, x19
	blr	x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_EVENT_NAME,4,2             ; @MAX_EVENT_NAME
	.comm	_PERF_RECORD_HEADER_EVENT_TYPE,4,2 ; @PERF_RECORD_HEADER_EVENT_TYPE
.subsections_via_symbols
