	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checked_vma_instance
_checked_vma_instance:                  ## @checked_vma_instance
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_i915_vma_instance
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rsi
	cmpq	%r15, %rsi
	je	LBB0_2
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_4
LBB0_2:
	movl	$1, %r13d
LBB0_4:
	movq	%r15, %rdi
	callq	_i915_is_ggtt
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_i915_vma_is_ggtt
	cmpl	%eax, %r12d
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_i915_vma_is_ggtt
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_i915_is_ggtt
	leaq	L_.str.1(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_i915_vma_compare
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_8:
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_i915_vma_is_ggtt
	xorl	%ecx, %ecx
	testl	%eax, %eax
	movq	%rbx, %rdx
	cmoveq	%rcx, %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i915_vma_compare
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_10:
	testl	%r13d, %r13d
	jne	LBB0_13
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VMA's vm [%p] does not match request [%p]\n"

L_.str.1:                               ## @.str.1
	.asciz	"VMA ggtt status [%d] does not match parent [%d]\n"

L_.str.2:                               ## @.str.2
	.asciz	"i915_vma_compare failed with create parameters!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"i915_vma_compare failed with itself\n"

L_.str.4:                               ## @.str.4
	.asciz	"i915_vma_compare failed to detect the difference!\n"

	.no_dead_strip	_checked_vma_instance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checked_vma_instance
_checked_vma_instance:                  ; @checked_vma_instance
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	bl	_i915_vma_instance
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.eq	LBB0_4
; %bb.3:
	stp	x8, x21, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w23, #0
	b	LBB0_5
LBB0_4:
	mov	w23, #1
LBB0_5:
	mov	x0, x21
	bl	_i915_is_ggtt
	mov	x22, x0
	mov	x0, x19
	bl	_i915_vma_is_ggtt
	cmp	w22, w0
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_i915_vma_is_ggtt
	mov	x22, x0
	mov	x0, x21
	bl	_i915_is_ggtt
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w23, #0
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_i915_vma_compare
	cbz	x0, LBB0_9
; %bb.8:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_i915_vma_is_ggtt
	cmp	w0, #0
	csel	x2, xzr, x19, eq
	mov	x0, x19
	mov	x1, x20
	bl	_i915_vma_compare
	cbz	x0, LBB0_12
; %bb.10:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_11:
	bl	_pr_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ERR_PTR
LBB0_12:
	cbnz	w23, LBB0_1
; %bb.13:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VMA's vm [%p] does not match request [%p]\n"

l_.str.1:                               ; @.str.1
	.asciz	"VMA ggtt status [%d] does not match parent [%d]\n"

l_.str.2:                               ; @.str.2
	.asciz	"i915_vma_compare failed with create parameters!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"i915_vma_compare failed with itself\n"

l_.str.4:                               ; @.str.4
	.asciz	"i915_vma_compare failed to detect the difference!\n"

	.no_dead_strip	_checked_vma_instance
.subsections_via_symbols
