	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function attach_oos_page
_attach_oos_page:                       ## @attach_oos_page
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	movl	(%rsi), %esi
	movq	_I915_GTT_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	8(%rdi), %r12
	movl	16(%r14), %edx
	movq	_I915_GTT_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_intel_gvt_hypervisor_read_gpa
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, 8(%r14)
	movq	%r14, 8(%rbx)
	leaq	4(%r14), %rdi
	movq	%r12, %rsi
	callq	_list_move_tail
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rcx
	callq	_trace_oos_change
LBB0_2:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_GTT_PAGE_SHIFT,4,2        ## @I915_GTT_PAGE_SHIFT
	.comm	_I915_GTT_PAGE_SIZE,4,2         ## @I915_GTT_PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attach"

	.no_dead_strip	_attach_oos_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function attach_oos_page
_attach_oos_page:                       ; @attach_oos_page
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #16]
	ldr	x21, [x0, #8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _I915_GTT_PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I915_GTT_PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w1, w8, w9
	ldr	w2, [x20, #16]
Lloh3:
	adrp	x8, _I915_GTT_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I915_GTT_PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_intel_gvt_hypervisor_read_gpa
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.1:
	str	x19, [x20, #8]
	str	x20, [x19, #8]
	add	x0, x20, #4
	mov	x1, x21
	bl	_list_move_tail
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w2, [x20]
	ldr	w4, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_trace_oos_change
LBB0_2:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_GTT_PAGE_SHIFT,4,2        ; @I915_GTT_PAGE_SHIFT
	.comm	_I915_GTT_PAGE_SIZE,4,2         ; @I915_GTT_PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attach"

	.no_dead_strip	_attach_oos_page
.subsections_via_symbols
