	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function active_request_put
_active_request_put:                    ## @active_request_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %edx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_i915_request_wait
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movl	12(%rbx), %edx
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_GEM_TRACE
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GEM_TRACE_DUMP
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_intel_gt_set_wedged
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_i915_request_put
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s timed out waiting for completion of fence %llx:%lld\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_active_request_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function active_request_put
_active_request_put:                    ; @active_request_put
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w2, w8, w8, lsl #2
	mov	w1, #0
	bl	_i915_request_wait
	mov	w20, #0
	tbz	x0, #63, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	ldp	w3, w2, [x19, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GEM_TRACE
	bl	_GEM_TRACE_DUMP
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_intel_gt_set_wedged
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x19
	bl	_i915_request_put
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s timed out waiting for completion of fence %llx:%lld\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_active_request_put
.subsections_via_symbols
