	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_timeline_read_hwsp       ## -- Begin function intel_timeline_read_hwsp
	.p2align	4, 0x90
_intel_timeline_read_hwsp:              ## @intel_timeline_read_hwsp
	.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	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	8(%rdi), %r15
	xorl	%edi, %edi
	cmpq	%r12, (%rsi)
	sete	%dil
	callq	_GEM_BUG_ON
	movq	_SINGLE_DEPTH_NESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mutex_lock_nested
	movq	%rbx, %rdi
	callq	_i915_request_completed
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_cacheline_ref
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	xorl	%edi, %edi
	cmpq	16(%r12), %r15
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r12), %rax
	jmp	LBB0_5
LBB0_4:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_i915_ggtt_offset
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_CACHELINE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptr_unmask_bits
	movq	_CACHELINE_BYTES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cltq
	imulq	%rcx, %rax
	addq	%rbx, %rax
LBB0_5:
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SINGLE_DEPTH_NESTING,4,2       ## @SINGLE_DEPTH_NESTING
	.comm	_CACHELINE_BITS,4,2             ## @CACHELINE_BITS
	.comm	_CACHELINE_BYTES,4,2            ## @CACHELINE_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_timeline_read_hwsp       ; -- Begin function intel_timeline_read_hwsp
	.p2align	2
_intel_timeline_read_hwsp:              ; @intel_timeline_read_hwsp
	.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	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldp	x19, x21, [x0]
	ldr	x8, [x1]
	cmp	x8, x19
	cset	w0, eq
	bl	_GEM_BUG_ON
Lloh0:
	adrp	x8, _SINGLE_DEPTH_NESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SINGLE_DEPTH_NESTING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mutex_lock_nested
	mov	x0, x23
	bl	_i915_request_completed
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_cacheline_ref
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x21, x8
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_i915_ggtt_offset
	mov	x22, x0
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _CACHELINE_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CACHELINE_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ptr_unmask_bits
                                        ; kill: def $w0 killed $w0 def $x0
Lloh6:
	adrp	x8, _CACHELINE_BYTES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CACHELINE_BYTES@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	sxtw	x9, w0
	madd	x8, x8, x9, x22
LBB0_5:
	mov	w23, #0
	str	x8, [x20]
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SINGLE_DEPTH_NESTING,4,2       ; @SINGLE_DEPTH_NESTING
	.comm	_CACHELINE_BITS,4,2             ; @CACHELINE_BITS
	.comm	_CACHELINE_BYTES,4,2            ; @CACHELINE_BYTES
.subsections_via_symbols
