	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_vm_ioctl_set_memory_region ## -- Begin function kvm_vm_ioctl_set_memory_region
	.p2align	4, 0x90
_kvm_vm_ioctl_set_memory_region:        ## @kvm_vm_ioctl_set_memory_region
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_KVM_MEMORY_SLOTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_kvm_set_memory_region          ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_MEMORY_SLOTS,8,3           ## @KVM_MEMORY_SLOTS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_vm_ioctl_set_memory_region ; -- Begin function kvm_vm_ioctl_set_memory_region
	.p2align	2
_kvm_vm_ioctl_set_memory_region:        ; @kvm_vm_ioctl_set_memory_region
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _KVM_MEMORY_SLOTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KVM_MEMORY_SLOTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	b	_kvm_set_memory_region
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_MEMORY_SLOTS,8,3           ; @KVM_MEMORY_SLOTS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
