	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__kvm_probe_elf_kernel          ## -- Begin function _kvm_probe_elf_kernel
	.p2align	4, 0x90
__kvm_probe_elf_kernel:                 ## @_kvm_probe_elf_kernel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	movq	_EI_CLASS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%r8,%rcx,4)
	jne	LBB0_7
## %bb.1:
	movq	_EM_PPC@GOTPCREL(%rip), %rsi
	movq	8(%rdi), %rcx
	cmpl	%edx, (%rsi)
	je	LBB0_3
## %bb.2:
	movq	_EM_PPC64@GOTPCREL(%rip), %rsi
	cmpl	%edx, (%rsi)
	je	LBB0_3
## %bb.4:
	movq	_ET_EXEC@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movq	_ET_DYN@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	cmpl	%edx, 16(%rdi)
	sete	%al
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EI_CLASS,8,3                   ## @EI_CLASS
	.comm	_EM_PPC,4,2                     ## @EM_PPC
	.comm	_EM_PPC64,4,2                   ## @EM_PPC64
	.comm	_ET_DYN,8,3                     ## @ET_DYN
	.comm	_ET_EXEC,8,3                    ## @ET_EXEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__kvm_probe_elf_kernel          ; -- Begin function _kvm_probe_elf_kernel
	.p2align	2
__kvm_probe_elf_kernel:                 ; @_kvm_probe_elf_kernel
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EI_CLASS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EI_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _EM_PPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EM_PPC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
Lloh6:
	adrp	x8, _EM_PPC64@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EM_PPC64@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x8]
	ldr	x8, [x0, #8]
	cmp	w9, w2
	ccmp	w10, w2, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _ET_DYN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ET_DYN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x9, _ET_EXEC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ET_EXEC@GOTPAGEOFF]
LBB0_4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x0, #16]
	cmp	w8, w2
	cset	w0, eq
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EI_CLASS,8,3                   ; @EI_CLASS
	.comm	_EM_PPC,4,2                     ; @EM_PPC
	.comm	_EM_PPC64,4,2                   ; @EM_PPC64
	.comm	_ET_DYN,8,3                     ; @ET_DYN
	.comm	_ET_EXEC,8,3                    ; @ET_EXEC
.subsections_via_symbols
