	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_enable_asle_pipestat
_i915_enable_asle_pipestat:             ## @i915_enable_asle_pipestat
	.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
	movq	%rdi, %rbx
	callq	_i915_has_asle
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	_PIPE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PIPE_LEGACY_BLC_EVENT_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_i915_enable_pipestat
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$4, %eax
	jl	LBB0_3
## %bb.2:
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_i915_enable_pipestat
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_PIPE_LEGACY_BLC_EVENT_STATUS,4,2 ## @PIPE_LEGACY_BLC_EVENT_STATUS
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.no_dead_strip	_i915_enable_asle_pipestat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_enable_asle_pipestat
_i915_enable_asle_pipestat:             ; @i915_enable_asle_pipestat
	.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
	mov	x19, x0
	bl	_i915_has_asle
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_spin_lock_irq
Lloh0:
	adrp	x8, _PIPE_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_B@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _PIPE_LEGACY_BLC_EVENT_STATUS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PIPE_LEGACY_BLC_EVENT_STATUS@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_i915_enable_pipestat
	mov	x0, x19
	bl	_INTEL_GEN
	cmp	w0, #4
	b.lt	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_i915_enable_pipestat
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irq
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_PIPE_LEGACY_BLC_EVENT_STATUS,4,2 ; @PIPE_LEGACY_BLC_EVENT_STATUS
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.no_dead_strip	_i915_enable_asle_pipestat
.subsections_via_symbols
