	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrst_limit
_mrst_limit:                            ## @mrst_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	8(%r14), %r15
	movq	_INTEL_OUTPUT_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_INTEL_OUTPUT_MIPI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:
	movl	(%r15), %eax
	cmpl	$200, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$166, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$100, %eax
	jne	LBB0_12
## %bb.5:
	movq	_mrst_limits@GOTPCREL(%rip), %rcx
	movq	_MRST_LIMIT_LVDS_100L@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_mrst_limits@GOTPCREL(%rip), %rcx
	movq	_MRST_LIMIT_LVDS_100@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_mrst_limits@GOTPCREL(%rip), %rcx
	movq	_MRST_LIMIT_LVDS_83@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movq	_INTEL_OUTPUT_SDVO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_mrst_limits@GOTPCREL(%rip), %rcx
	movq	_MRST_LIMIT_SDVO@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	jmp	LBB0_13
LBB0_11:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ## @INTEL_OUTPUT_LVDS
	.comm	_INTEL_OUTPUT_MIPI,4,2          ## @INTEL_OUTPUT_MIPI
	.comm	_mrst_limits,8,3                ## @mrst_limits
	.comm	_MRST_LIMIT_LVDS_100L,8,3       ## @MRST_LIMIT_LVDS_100L
	.comm	_MRST_LIMIT_LVDS_83,8,3         ## @MRST_LIMIT_LVDS_83
	.comm	_MRST_LIMIT_LVDS_100,8,3        ## @MRST_LIMIT_LVDS_100
	.comm	_INTEL_OUTPUT_SDVO,4,2          ## @INTEL_OUTPUT_SDVO
	.comm	_MRST_LIMIT_SDVO,8,3            ## @MRST_LIMIT_SDVO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mrst_limit Wrong display type.\n"

	.no_dead_strip	_mrst_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrst_limit
_mrst_limit:                            ; @mrst_limit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x21, [x20, #8]
Lloh0:
	adrp	x8, _INTEL_OUTPUT_LVDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_LVDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_gma_pipe_has_type
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _INTEL_OUTPUT_MIPI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_OUTPUT_MIPI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gma_pipe_has_type
	cbz	x0, LBB0_8
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #200
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #166
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #100
	b.ne	LBB0_12
; %bb.5:
Lloh6:
	adrp	x8, _mrst_limits@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mrst_limits@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _MRST_LIMIT_LVDS_100L@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MRST_LIMIT_LVDS_100L@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh11:
	adrp	x8, _mrst_limits@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mrst_limits@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _MRST_LIMIT_LVDS_100@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MRST_LIMIT_LVDS_100@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _mrst_limits@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mrst_limits@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _MRST_LIMIT_LVDS_83@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MRST_LIMIT_LVDS_83@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh21:
	adrp	x8, _INTEL_OUTPUT_SDVO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INTEL_OUTPUT_SDVO@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gma_pipe_has_type
	cbz	x0, LBB0_11
; %bb.9:
Lloh24:
	adrp	x8, _mrst_limits@GOTPAGE
Lloh25:
	ldr	x8, [x8, _mrst_limits@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _MRST_LIMIT_SDVO@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MRST_LIMIT_SDVO@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	b	LBB0_13
LBB0_11:
	ldr	w0, [x20]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ; @INTEL_OUTPUT_LVDS
	.comm	_INTEL_OUTPUT_MIPI,4,2          ; @INTEL_OUTPUT_MIPI
	.comm	_mrst_limits,8,3                ; @mrst_limits
	.comm	_MRST_LIMIT_LVDS_100L,8,3       ; @MRST_LIMIT_LVDS_100L
	.comm	_MRST_LIMIT_LVDS_83,8,3         ; @MRST_LIMIT_LVDS_83
	.comm	_MRST_LIMIT_LVDS_100,8,3        ; @MRST_LIMIT_LVDS_100
	.comm	_INTEL_OUTPUT_SDVO,4,2          ; @INTEL_OUTPUT_SDVO
	.comm	_MRST_LIMIT_SDVO,8,3            ; @MRST_LIMIT_SDVO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mrst_limit Wrong display type.\n"

	.no_dead_strip	_mrst_limit
.subsections_via_symbols
