	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsw_is_valid_mux_addr
_hsw_is_valid_mux_addr:                 ## @hsw_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
	movl	%esi, %ebx
	callq	_gen7_is_valid_mux_addr
	leal	-151808(%rbx), %ecx
	movl	$1, %r14d
	cmpl	$44689, %ecx                    ## imm = 0xAE91
	jb	LBB0_5
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	_HSW_MBVID2_NOA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpl	%ebx, %eax
	jg	LBB0_4
## %bb.3:
	movq	_HSW_MBVID2_NOA9@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	cmpl	%ebx, %eax
	jge	LBB0_5
LBB0_4:
	movq	_HSW_MBVID2_MISR0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i915_mmio_reg_offset
	xorl	%r14d, %r14d
	cmpl	%ebx, %eax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HSW_MBVID2_NOA0,4,2            ## @HSW_MBVID2_NOA0
	.comm	_HSW_MBVID2_NOA9,4,2            ## @HSW_MBVID2_NOA9
	.comm	_HSW_MBVID2_MISR0,4,2           ## @HSW_MBVID2_MISR0
	.no_dead_strip	_hsw_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 hsw_is_valid_mux_addr
_hsw_is_valid_mux_addr:                 ; @hsw_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	_gen7_is_valid_mux_addr
	sub	w8, w19, #37, lsl #12           ; =151552
	sub	w8, w8, #256
	mov	w9, #44689
	cmp	w8, w9
	ccmp	x0, #0, #0, hs
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _HSW_MBVID2_NOA0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HSW_MBVID2_NOA0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	w0, w19
	b.gt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _HSW_MBVID2_NOA9@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HSW_MBVID2_NOA9@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	w0, w19
	b.ge	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _HSW_MBVID2_MISR0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HSW_MBVID2_MISR0@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_i915_mmio_reg_offset
	cmp	w0, w19
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HSW_MBVID2_NOA0,4,2            ; @HSW_MBVID2_NOA0
	.comm	_HSW_MBVID2_NOA9,4,2            ; @HSW_MBVID2_NOA9
	.comm	_HSW_MBVID2_MISR0,4,2           ; @HSW_MBVID2_MISR0
	.no_dead_strip	_hsw_is_valid_mux_addr
.subsections_via_symbols
