	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __i915_pmu_maybe_start_timer
___i915_pmu_maybe_start_timer:          ## @__i915_pmu_maybe_start_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_pmu_needs_timer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, 8(%rbx)
	addq	$4, %rbx
	movq	_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ns_to_ktime
	movq	_HRTIMER_MODE_REL_PINNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hrtimer_start_range_ns         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PERIOD,4,2                     ## @PERIOD
	.comm	_HRTIMER_MODE_REL_PINNED,4,2    ## @HRTIMER_MODE_REL_PINNED
	.no_dead_strip	___i915_pmu_maybe_start_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __i915_pmu_maybe_start_timer
___i915_pmu_maybe_start_timer:          ; @__i915_pmu_maybe_start_timer
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	mov	w20, #1
	mov	w1, #1
	bl	_pmu_needs_timer
	cbz	x0, LBB0_1
; %bb.3:
	str	w20, [x19]
	bl	_ktime_get
	str	w0, [x19, #8]
	add	x19, x19, #4
Lloh0:
	adrp	x8, _PERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERIOD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ns_to_ktime
	mov	x1, x0
Lloh3:
	adrp	x8, _HRTIMER_MODE_REL_PINNED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HRTIMER_MODE_REL_PINNED@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hrtimer_start_range_ns
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PERIOD,4,2                     ; @PERIOD
	.comm	_HRTIMER_MODE_REL_PINNED,4,2    ; @HRTIMER_MODE_REL_PINNED
	.no_dead_strip	___i915_pmu_maybe_start_timer
.subsections_via_symbols
