	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_mark_guilty
_context_mark_guilty:                   ## @context_mark_guilty
	.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, %r13
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_atomic_inc
	movq	%r13, %rdi
	callq	_i915_gem_context_is_bannable
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r13), %rdi
	movq	(%rdi), %r15
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	leaq	1(%rax), %rbx
	movq	8(%rdi,%rax,8), %rcx
	movq	%rcx, (%rdi,%rax,8)
	callq	_ARRAY_SIZE
	decl	%eax
	movslq	%eax, %rcx
	movq	%rbx, %rax
	cmpq	%rcx, %rbx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
LBB0_6:
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	%r13, %rdi
	callq	_i915_gem_context_is_recoverable
	testl	%eax, %eax
	sete	%bl
	movq	(%r12), %rdi
	movq	_CONTEXT_FAST_HANG_JIFFIES@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	%r15, %rsi
	callq	_time_before
	testq	%rax, %rax
	setne	%r12b
	orb	%bl, %r12b
	cmpb	$1, %r12b
	jne	LBB0_8
## %bb.7:
	movl	16(%r13), %r15d
	movq	%r14, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG_DRIVER
	movq	%r13, %rdi
	callq	_i915_gem_context_set_banned
LBB0_8:
	movl	8(%r13), %edi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	8(%r13), %edi
	movq	%r13, %rsi
	callq	_client_mark_guilty
LBB0_10:
	movzbl	%r12b, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_CONTEXT_FAST_HANG_JIFFIES,8,3  ## @CONTEXT_FAST_HANG_JIFFIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"context %s: guilty %d, banned\n"

	.no_dead_strip	_context_mark_guilty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_mark_guilty
_context_mark_guilty:                   ; @context_mark_guilty
	.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
	add	x20, x0, #12
	mov	x0, x20
	bl	_atomic_inc
	mov	x0, x19
	bl	_i915_gem_context_is_bannable
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x0, [x19]
	ldr	x22, [x0]
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lt	LBB0_5
; %bb.2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	add	x21, x8, #1
	add	x8, x0, x8, lsl #3
	ldr	x9, [x8, #8]
	str	x9, [x8]
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	cmp	x21, w8, sxtw
	mov	x8, x21
	b.lt	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	b	LBB0_10
LBB0_5:
	mov	x21, #0
LBB0_6:
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x19]
	str	x8, [x9, x21, lsl #3]
	mov	x0, x19
	bl	_i915_gem_context_is_recoverable
	mov	x21, x0
	ldr	x0, [x23]
Lloh2:
	adrp	x8, _CONTEXT_FAST_HANG_JIFFIES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CONTEXT_FAST_HANG_JIFFIES@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x1, x8, x22
	bl	_time_before
	cmp	x0, #0
	ccmp	w21, #0, #4, eq
	cset	w21, eq
	b.ne	LBB0_8
; %bb.7:
	ldr	w22, [x19, #16]
	mov	x0, x20
	bl	_atomic_read
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DRM_DEBUG_DRIVER
	mov	x0, x19
	bl	_i915_gem_context_set_banned
LBB0_8:
	ldr	w0, [x19, #8]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	w0, [x19, #8]
	mov	x1, x19
	bl	_client_mark_guilty
LBB0_10:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_CONTEXT_FAST_HANG_JIFFIES,8,3  ; @CONTEXT_FAST_HANG_JIFFIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"context %s: guilty %d, banned\n"

	.no_dead_strip	_context_mark_guilty
.subsections_via_symbols
