	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_gem_suspend_late          ## -- Begin function i915_gem_suspend_late
	.p2align	4, 0x90
_i915_gem_suspend_late:                 ## @i915_gem_suspend_late
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-64(%rbp), %r12
	leaq	8(%rdi), %rax
	movq	%rax, -64(%rbp)
	leaq	4(%rdi), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -48(%rbp)
	callq	_spin_lock_irqsave
	movq	_keep@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_list_splice_tail
	cmpq	$0, 8(%r12)
	leaq	8(%r12), %r12
	je	LBB0_7
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	(%r14), %edi
	callq	_LIST_HEAD
	movq	(%r12), %rdi
	callq	_first_mm_object
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r12), %rdi
	callq	_first_mm_object
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	4(%rbx), %rdi
	movq	%r14, %rsi
	callq	_list_move_tail
	movq	%rbx, %rdi
	callq	_kref_get_unless_zero
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_i915_gem_object_lock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i915_gem_object_set_to_gtt_domain
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_i915_gem_object_unlock
	movq	%rbx, %rdi
	callq	_i915_gem_object_put
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	jmp	LBB0_5
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i915_gem_sanitize              ## TAILCALL
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_keep,4,2                       ## @keep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_gem_suspend_late          ; -- Begin function i915_gem_suspend_late
	.p2align	2
_i915_gem_suspend_late:                 ; @i915_gem_suspend_late
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x22, sp
	add	x8, x0, #8
	add	x9, x0, #4
	stp	x8, x9, [sp]
	str	xzr, [sp, #16]
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x20, _keep@GOTPAGE
Lloh4:
	ldr	x20, [x20, _keep@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x22]
	mov	x0, x20
	bl	_list_splice_tail
	ldr	x8, [x22, #8]!
	cbz	x8, LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w0, [x20]
	bl	_LIST_HEAD
	ldr	x0, [x22]
	bl	_first_mm_object
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	x0, [x22]
	bl	_first_mm_object
	mov	x21, x0
	cbz	x0, LBB0_1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x21, #4
	mov	x1, x20
	bl	_list_move_tail
	mov	x0, x21
	bl	_kref_get_unless_zero
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	bl	_i915_gem_object_lock
	mov	x0, x21
	mov	w1, #0
	bl	_i915_gem_object_set_to_gtt_domain
	bl	_WARN_ON
	mov	x0, x21
	bl	_i915_gem_object_unlock
	mov	x0, x21
	bl	_i915_gem_object_put
	mov	x0, x19
	bl	_spin_lock_irqsave
	b	LBB0_4
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	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
	add	sp, sp, #80
	b	_i915_gem_sanitize
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_keep,4,2                       ; @keep
.subsections_via_symbols
