	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gt_reset_trylock         ## -- Begin function intel_gt_reset_trylock
	.p2align	4, 0x90
_intel_gt_reset_trylock:                ## @intel_gt_reset_trylock
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	callq	_might_lock
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_might_sleep
	xorl	%eax, %eax
	callq	_rcu_read_lock
	leaq	4(%r12), %r13
	movq	_I915_RESET_BACKOFF@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	8(%r12), %ebx
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_test_bit
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%sil
	movl	%ebx, %edi
	callq	_wait_event_interruptible
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_lock
	jmp	LBB0_1
LBB0_5:
	movq	%r12, %rdi
	callq	_srcu_read_lock
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_6
LBB0_3:
	movq	_EINTR@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_RESET_BACKOFF,4,2         ## @I915_RESET_BACKOFF
	.comm	_EINTR,4,2                      ## @EINTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gt_reset_trylock         ; -- Begin function intel_gt_reset_trylock
	.p2align	2
_intel_gt_reset_trylock:                ; @intel_gt_reset_trylock
	.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, x1
	mov	x20, x0
	bl	_might_lock
	bl	_might_sleep
	bl	_rcu_read_lock
	add	x21, x20, #4
Lloh0:
	adrp	x23, _I915_RESET_BACKOFF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _I915_RESET_BACKOFF@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_rcu_read_unlock
	ldr	w22, [x20, #8]
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cmp	x0, #0
	cset	w1, eq
	mov	x0, x22
	bl	_wait_event_interruptible
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_rcu_read_lock
	b	LBB0_1
LBB0_4:
	mov	x0, x20
	bl	_srcu_read_lock
	str	w0, [x19]
	bl	_rcu_read_unlock
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EINTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_RESET_BACKOFF,4,2         ; @I915_RESET_BACKOFF
	.comm	_EINTR,4,2                      ; @EINTR
.subsections_via_symbols
