	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen7_is_valid_mux_addr
_gen7_is_valid_mux_addr:                ## @gen7_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, %rbx
	movq	_HALF_SLICE_CHICKEN2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	movl	$1, %r14d
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.1:
	movq	_MICRO_BP0_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpq	%rbx, %rax
	jg	LBB0_3
## %bb.2:
	movq	_NOA_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpq	%rbx, %rax
	jge	LBB0_7
LBB0_3:
	movq	_OA_PERFCNT1_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpq	%rbx, %rax
	jg	LBB0_5
## %bb.4:
	movq	_OA_PERFCNT2_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpq	%rbx, %rax
	jge	LBB0_7
LBB0_5:
	movq	_OA_PERFMATRIX_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	xorl	%r14d, %r14d
	cmpq	%rbx, %rax
	jg	LBB0_7
## %bb.6:
	movq	_OA_PERFMATRIX_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	xorl	%r14d, %r14d
	cmpq	%rbx, %rax
	setge	%r14b
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HALF_SLICE_CHICKEN2,4,2        ## @HALF_SLICE_CHICKEN2
	.comm	_MICRO_BP0_0,4,2                ## @MICRO_BP0_0
	.comm	_NOA_WRITE,4,2                  ## @NOA_WRITE
	.comm	_OA_PERFCNT1_LO,4,2             ## @OA_PERFCNT1_LO
	.comm	_OA_PERFCNT2_HI,4,2             ## @OA_PERFCNT2_HI
	.comm	_OA_PERFMATRIX_LO,4,2           ## @OA_PERFMATRIX_LO
	.comm	_OA_PERFMATRIX_HI,4,2           ## @OA_PERFMATRIX_HI
	.no_dead_strip	_gen7_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 gen7_is_valid_mux_addr
_gen7_is_valid_mux_addr:                ; @gen7_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
Lloh0:
	adrp	x8, _HALF_SLICE_CHICKEN2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HALF_SLICE_CHICKEN2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.ne	LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _MICRO_BP0_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MICRO_BP0_0@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.gt	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _NOA_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NOA_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.ge	LBB0_1
LBB0_5:
Lloh9:
	adrp	x8, _OA_PERFCNT1_LO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OA_PERFCNT1_LO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.gt	LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _OA_PERFCNT2_HI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OA_PERFCNT2_HI@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.ge	LBB0_1
LBB0_7:
Lloh15:
	adrp	x8, _OA_PERFMATRIX_LO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OA_PERFMATRIX_LO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	b.le	LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_2
LBB0_9:
Lloh18:
	adrp	x8, _OA_PERFMATRIX_HI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OA_PERFMATRIX_HI@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	x0, x19
	cset	w0, ge
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_HALF_SLICE_CHICKEN2,4,2        ; @HALF_SLICE_CHICKEN2
	.comm	_MICRO_BP0_0,4,2                ; @MICRO_BP0_0
	.comm	_NOA_WRITE,4,2                  ; @NOA_WRITE
	.comm	_OA_PERFCNT1_LO,4,2             ; @OA_PERFCNT1_LO
	.comm	_OA_PERFCNT2_HI,4,2             ; @OA_PERFCNT2_HI
	.comm	_OA_PERFMATRIX_LO,4,2           ; @OA_PERFMATRIX_LO
	.comm	_OA_PERFMATRIX_HI,4,2           ; @OA_PERFMATRIX_HI
	.no_dead_strip	_gen7_is_valid_mux_addr
.subsections_via_symbols
