	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_session__find_machine_for_cpumode
_perf_session__find_machine_for_cpumode: ## @perf_session__find_machine_for_cpumode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_perf_guest@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	(%rsi), %rsi
	movq	_PERF_RECORD_MISC_CPUMODE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rsi, %rax
	movq	_PERF_RECORD_MISC_GUEST_KERNEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_PERF_RECORD_MISC_GUEST_USER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_4:
	popq	%rbp
	jmp	_perf_session__find_host_machine ## TAILCALL
LBB0_3:
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_perf_session__findnew_machine  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ## @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_perf_guest,8,3                 ## @perf_guest
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ## @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_GUEST_USER,8,3 ## @PERF_RECORD_MISC_GUEST_USER
	.comm	_PERF_RECORD_MMAP,8,3           ## @PERF_RECORD_MMAP
	.no_dead_strip	_perf_session__find_machine_for_cpumode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_session__find_machine_for_cpumode
_perf_session__find_machine_for_cpumode: ; @perf_session__find_machine_for_cpumode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _perf_guest@GOTPAGE
Lloh1:
	ldr	x8, [x8, _perf_guest@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x1, [x1]
Lloh3:
	adrp	x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x8, x8, x1
Lloh6:
	adrp	x9, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _PERF_RECORD_MISC_GUEST_USER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PERF_RECORD_MISC_GUEST_USER@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_perf_session__findnew_machine
LBB0_3:
	b	_perf_session__find_host_machine
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ; @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_perf_guest,8,3                 ; @perf_guest
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ; @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_GUEST_USER,8,3 ; @PERF_RECORD_MISC_GUEST_USER
	.comm	_PERF_RECORD_MMAP,8,3           ; @PERF_RECORD_MMAP
	.no_dead_strip	_perf_session__find_machine_for_cpumode
.subsections_via_symbols
