	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_gem_sanitize              ## -- Begin function i915_gem_sanitize
	.p2align	4, 0x90
_i915_gem_sanitize:                     ## @i915_gem_sanitize
	.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	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_GEM_TRACE
	movq	%r12, %rdi
	callq	_intel_runtime_pm_get
	movl	%eax, %r14d
	leaq	4(%r12), %r15
	movq	_FORCEWAKE_ALL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_intel_uncore_forcewake_get
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_intel_gt_is_wedged
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_intel_gt_unset_wedged
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_intel_gt_sanitize
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_intel_uncore_forcewake_put
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_runtime_pm_put           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_FORCEWAKE_ALL,4,2              ## @FORCEWAKE_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_gem_sanitize              ; -- Begin function i915_gem_sanitize
	.p2align	2
_i915_gem_sanitize:                     ; @i915_gem_sanitize
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GEM_TRACE
	mov	x0, x19
	bl	_intel_runtime_pm_get
	mov	x20, x0
	add	x21, x19, #4
Lloh2:
	adrp	x23, _FORCEWAKE_ALL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FORCEWAKE_ALL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_intel_uncore_forcewake_get
	add	x22, x19, #8
	mov	x0, x22
	bl	_intel_gt_is_wedged
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_intel_gt_unset_wedged
LBB0_2:
	mov	x0, x22
	mov	w1, #0
	bl	_intel_gt_sanitize
	ldr	w1, [x23]
	mov	x0, x21
	bl	_intel_uncore_forcewake_put
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_intel_runtime_pm_put
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_FORCEWAKE_ALL,4,2              ; @FORCEWAKE_ALL
.subsections_via_symbols
