	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__preprocess_sample  ## -- Begin function perf_event__preprocess_sample
	.p2align	4, 0x90
_perf_event__preprocess_sample:         ## @perf_event__preprocess_sample
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	_PERF_RECORD_MISC_CPUMODE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	andq	%rsi, %rbx
	shrq	$32, %rsi
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_machine__findnew_thread
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rsi
	callq	_strlist__has_entry
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dump_printf
	movq	_PERF_RECORD_MISC_KERNEL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.5:
	movq	(%r13), %rax
	movq	_MAP__FUNCTION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_machine__create_kernel_maps
LBB0_7:
	movq	_MAP__FUNCTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r14), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %r9
	callq	_thread__find_addr_map
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%rax), %rax
	movq	(%rax), %rsi
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_20
LBB0_9:
	cmpb	$72, (%r12)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dump_printf
	movq	$0, 8(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movq	_symbol_conf@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.13:
	movq	8(%rbx), %rsi
	callq	_strlist__has_entry
	testq	%rax, %rax
	je	LBB0_14
LBB0_16:
	movq	24(%r12), %rdi
	movl	16(%r12), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_map__find_symbol
	movq	%rax, 8(%r12)
	movq	_symbol_conf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.17:
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%rax), %rsi
	callq	_strlist__has_entry
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_19
LBB0_21:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
LBB0_19:
	movl	$1, 4(%r12)
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%rbx), %rsi
	cmpq	8(%rbx), %rsi
	je	LBB0_19
## %bb.15:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdi
	callq	_strlist__has_entry
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ## @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_symbol_conf,24,3               ## @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ... thread: %s:%d\n"

	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ## @PERF_RECORD_MISC_KERNEL
	.comm	_MAP__FUNCTION,8,3              ## @MAP__FUNCTION
L_.str.1:                               ## @.str.1
	.asciz	" ...... dso: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"[hypervisor]"

L_.str.3:                               ## @.str.3
	.asciz	"<not found>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__preprocess_sample  ; -- Begin function perf_event__preprocess_sample
	.p2align	2
_perf_event__preprocess_sample:         ; @perf_event__preprocess_sample
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x25, [x0]
Lloh0:
	adrp	x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
	lsr	x1, x25, #32
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_machine__findnew_thread
	cbz	x0, LBB0_8
; %bb.1:
	mov	x24, x0
Lloh3:
	adrp	x26, _symbol_conf@GOTPAGE
Lloh4:
	ldr	x26, [x26, _symbol_conf@GOTPAGEOFF]
	ldr	x0, [x26, #16]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x1, [x24]
	bl	_strlist__has_entry
	cbz	x0, LBB0_18
LBB0_3:
	and	x25, x27, x25
	ldr	x1, [x24]
	ldr	w8, [x24, #8]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dump_printf
Lloh7:
	adrp	x8, _PERF_RECORD_MISC_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PERF_RECORD_MISC_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x27, _MAP__FUNCTION@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MAP__FUNCTION@GOTPAGEOFF]
	cmp	x25, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_machine__create_kernel_maps
LBB0_6:
	ldr	x3, [x27]
	ldr	w4, [x23]
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	mov	x5, x19
	bl	_thread__find_addr_map
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x8]
	ldr	x1, [x8]
	b	LBB0_10
LBB0_8:
	mov	w0, #-1
	b	LBB0_20
LBB0_9:
	ldrb	w8, [x19]
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #72
	csel	x1, x10, x9, eq
LBB0_10:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dump_printf
	str	xzr, [x19, #8]
	ldr	w8, [x21]
	str	w8, [x19, #32]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.11:
	ldr	x0, [x26, #8]
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x21, [x8]
	cbz	x21, LBB0_18
; %bb.13:
	ldr	x1, [x21, #8]
	bl	_strlist__has_entry
	cbz	x0, LBB0_21
LBB0_14:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #16]
	mov	x2, x20
	bl	_map__find_symbol
	str	x0, [x19, #8]
	ldr	x8, [x26]
	cbz	x8, LBB0_19
; %bb.15:
	cbz	x0, LBB0_18
; %bb.16:
	ldr	x1, [x0]
	mov	x0, x8
	bl	_strlist__has_entry
	cbnz	x0, LBB0_19
	b	LBB0_18
LBB0_17:
	ldr	x8, [x26]
	cbz	x8, LBB0_19
LBB0_18:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
LBB0_21:
	ldp	x1, x8, [x21]
	cmp	x1, x8
	b.eq	LBB0_18
; %bb.22:
	ldr	x0, [x26, #8]
	bl	_strlist__has_entry
	cbnz	x0, LBB0_14
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ; @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_symbol_conf,24,3               ; @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ... thread: %s:%d\n"

	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ; @PERF_RECORD_MISC_KERNEL
	.comm	_MAP__FUNCTION,8,3              ; @MAP__FUNCTION
l_.str.1:                               ; @.str.1
	.asciz	" ...... dso: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"[hypervisor]"

l_.str.3:                               ; @.str.3
	.asciz	"<not found>"

.subsections_via_symbols
