	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen10_is_valid_mux_addr
_gen10_is_valid_mux_addr:               ## @gen10_is_valid_mux_addr
	.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	%rsi, %r14
	callq	_gen8_is_valid_mux_addr
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_GEN10_NOA_WRITE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.2:
	movq	_OA_PERFCNT3_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	xorl	%ebx, %ebx
	cmpq	%r14, %rax
	jg	LBB0_4
## %bb.3:
	movq	_OA_PERFCNT4_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	xorl	%ebx, %ebx
	cmpq	%r14, %rax
	setge	%bl
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN10_NOA_WRITE_HIGH,4,2       ## @GEN10_NOA_WRITE_HIGH
	.comm	_OA_PERFCNT3_LO,4,2             ## @OA_PERFCNT3_LO
	.comm	_OA_PERFCNT4_HI,4,2             ## @OA_PERFCNT4_HI
	.no_dead_strip	_gen10_is_valid_mux_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen10_is_valid_mux_addr
_gen10_is_valid_mux_addr:               ; @gen10_is_valid_mux_addr
	.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, x1
	bl	_gen8_is_valid_mux_addr
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GEN10_NOA_WRITE_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN10_NOA_WRITE_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _OA_PERFCNT3_LO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OA_PERFCNT3_LO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.le	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_3
LBB0_6:
Lloh6:
	adrp	x8, _OA_PERFCNT4_HI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OA_PERFCNT4_HI@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	cset	w0, ge
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN10_NOA_WRITE_HIGH,4,2       ; @GEN10_NOA_WRITE_HIGH
	.comm	_OA_PERFCNT3_LO,4,2             ; @OA_PERFCNT3_LO
	.comm	_OA_PERFCNT4_HI,4,2             ; @OA_PERFCNT4_HI
	.no_dead_strip	_gen10_is_valid_mux_addr
.subsections_via_symbols
