	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdfld_limit
_mdfld_limit:                           ## @mdfld_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), %r15
	movq	8(%r15), %r14
	movq	_INTEL_OUTPUT_MIPI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_INTEL_OUTPUT_MIPI2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	je	LBB0_14
LBB0_2:
	movq	_ksel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_KSEL_CRYSTAL_19@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_KSEL_BYPASS_19@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.6:
	movq	_KSEL_BYPASS_25@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DSIPLL_25@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DSIPLL_19@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	jmp	LBB0_28
LBB0_8:
	movq	_KSEL_BYPASS_83_100@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.9:
	movl	(%r14), %eax
	cmpl	$100, %eax
	je	LBB0_13
## %bb.10:
	cmpl	$200, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$166, %eax
	jne	LBB0_27
## %bb.12:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DSIPLL_83@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_14:
	movq	_INTEL_OUTPUT_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gma_pipe_has_type
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:
	movq	_ksel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_KSEL_CRYSTAL_19@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movq	_KSEL_BYPASS_19@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.18:
	movq	_KSEL_BYPASS_25@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DPLL_25@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_13:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DSIPLL_100@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_26:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DPLL_19@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_20:
	movq	_KSEL_BYPASS_83_100@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.21:
	movl	(%r14), %eax
	cmpl	$100, %eax
	je	LBB0_25
## %bb.22:
	cmpl	$200, %eax
	je	LBB0_25
## %bb.23:
	cmpl	$166, %eax
	jne	LBB0_27
## %bb.24:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DPLL_83@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_25:
	movq	_mdfld_limits@GOTPCREL(%rip), %rcx
	movq	_MDFLD_LIMT_DPLL_100@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_MIPI,4,2          ## @INTEL_OUTPUT_MIPI
	.comm	_INTEL_OUTPUT_MIPI2,4,2         ## @INTEL_OUTPUT_MIPI2
	.comm	_ksel,8,3                       ## @ksel
	.comm	_KSEL_CRYSTAL_19,8,3            ## @KSEL_CRYSTAL_19
	.comm	_KSEL_BYPASS_19,8,3             ## @KSEL_BYPASS_19
	.comm	_mdfld_limits,8,3               ## @mdfld_limits
	.comm	_MDFLD_LIMT_DSIPLL_19,8,3       ## @MDFLD_LIMT_DSIPLL_19
	.comm	_KSEL_BYPASS_25,8,3             ## @KSEL_BYPASS_25
	.comm	_MDFLD_LIMT_DSIPLL_25,8,3       ## @MDFLD_LIMT_DSIPLL_25
	.comm	_KSEL_BYPASS_83_100,8,3         ## @KSEL_BYPASS_83_100
	.comm	_MDFLD_LIMT_DSIPLL_83,8,3       ## @MDFLD_LIMT_DSIPLL_83
	.comm	_MDFLD_LIMT_DSIPLL_100,8,3      ## @MDFLD_LIMT_DSIPLL_100
	.comm	_INTEL_OUTPUT_HDMI,4,2          ## @INTEL_OUTPUT_HDMI
	.comm	_MDFLD_LIMT_DPLL_19,8,3         ## @MDFLD_LIMT_DPLL_19
	.comm	_MDFLD_LIMT_DPLL_25,8,3         ## @MDFLD_LIMT_DPLL_25
	.comm	_MDFLD_LIMT_DPLL_83,8,3         ## @MDFLD_LIMT_DPLL_83
	.comm	_MDFLD_LIMT_DPLL_100,8,3        ## @MDFLD_LIMT_DPLL_100
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mdfld_limit Wrong display type.\n"

	.no_dead_strip	_mdfld_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdfld_limit
_mdfld_limit:                           ; @mdfld_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	x21, [x0]
	ldr	x20, [x21, #8]
Lloh0:
	adrp	x8, _INTEL_OUTPUT_MIPI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_MIPI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_gma_pipe_has_type
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _INTEL_OUTPUT_MIPI2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_OUTPUT_MIPI2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gma_pipe_has_type
	cbz	x0, LBB0_12
LBB0_2:
Lloh6:
	adrp	x8, _ksel@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ksel@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _KSEL_CRYSTAL_19@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KSEL_CRYSTAL_19@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _KSEL_BYPASS_19@GOTPAGE
Lloh13:
	ldr	x10, [x10, _KSEL_BYPASS_19@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _MDFLD_LIMT_DSIPLL_19@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MDFLD_LIMT_DSIPLL_19@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh20:
	adrp	x9, _KSEL_BYPASS_25@GOTPAGE
Lloh21:
	ldr	x9, [x9, _KSEL_BYPASS_25@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh23:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh24:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _MDFLD_LIMT_DSIPLL_25@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MDFLD_LIMT_DSIPLL_25@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	b	LBB0_18
LBB0_7:
Lloh28:
	adrp	x9, _KSEL_BYPASS_83_100@GOTPAGE
Lloh29:
	ldr	x9, [x9, _KSEL_BYPASS_83_100@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.8:
	ldr	w8, [x20]
	cmp	w8, #100
	b.eq	LBB0_15
; %bb.9:
	cmp	w8, #200
	b.eq	LBB0_15
; %bb.10:
	cmp	w8, #166
	b.ne	LBB0_17
; %bb.11:
Lloh31:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh32:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _MDFLD_LIMT_DSIPLL_83@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MDFLD_LIMT_DSIPLL_83@GOTPAGEOFF]
	b	LBB0_6
LBB0_12:
Lloh36:
	adrp	x8, _INTEL_OUTPUT_HDMI@GOTPAGE
Lloh37:
	ldr	x8, [x8, _INTEL_OUTPUT_HDMI@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gma_pipe_has_type
	cbz	x0, LBB0_16
; %bb.13:
Lloh39:
	adrp	x8, _ksel@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ksel@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _KSEL_CRYSTAL_19@GOTPAGE
Lloh43:
	ldr	x9, [x9, _KSEL_CRYSTAL_19@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
Lloh45:
	adrp	x10, _KSEL_BYPASS_19@GOTPAGE
Lloh46:
	ldr	x10, [x10, _KSEL_BYPASS_19@GOTPAGEOFF]
Lloh47:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_19
; %bb.14:
Lloh48:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh49:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
Lloh51:
	adrp	x9, _MDFLD_LIMT_DPLL_19@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MDFLD_LIMT_DPLL_19@GOTPAGEOFF]
	b	LBB0_6
LBB0_15:
Lloh53:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh54:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
Lloh56:
	adrp	x9, _MDFLD_LIMT_DSIPLL_100@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MDFLD_LIMT_DSIPLL_100@GOTPAGEOFF]
	b	LBB0_6
LBB0_16:
	ldr	w0, [x21]
Lloh58:
	adrp	x1, l_.str@PAGE
Lloh59:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_17:
	mov	x0, #0
LBB0_18:
	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
LBB0_19:
Lloh60:
	adrp	x9, _KSEL_BYPASS_25@GOTPAGE
Lloh61:
	ldr	x9, [x9, _KSEL_BYPASS_25@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
Lloh63:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh64:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
Lloh66:
	adrp	x9, _MDFLD_LIMT_DPLL_25@GOTPAGE
Lloh67:
	ldr	x9, [x9, _MDFLD_LIMT_DPLL_25@GOTPAGEOFF]
	b	LBB0_6
LBB0_21:
Lloh68:
	adrp	x9, _KSEL_BYPASS_83_100@GOTPAGE
Lloh69:
	ldr	x9, [x9, _KSEL_BYPASS_83_100@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.22:
	ldr	w8, [x20]
	cmp	w8, #100
	b.eq	LBB0_26
; %bb.23:
	cmp	w8, #200
	b.eq	LBB0_26
; %bb.24:
	cmp	w8, #166
	b.ne	LBB0_17
; %bb.25:
Lloh71:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh72:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh73:
	ldr	x8, [x8]
Lloh74:
	adrp	x9, _MDFLD_LIMT_DPLL_83@GOTPAGE
Lloh75:
	ldr	x9, [x9, _MDFLD_LIMT_DPLL_83@GOTPAGEOFF]
	b	LBB0_6
LBB0_26:
Lloh76:
	adrp	x8, _mdfld_limits@GOTPAGE
Lloh77:
	ldr	x8, [x8, _mdfld_limits@GOTPAGEOFF]
Lloh78:
	ldr	x8, [x8]
Lloh79:
	adrp	x9, _MDFLD_LIMT_DPLL_100@GOTPAGE
Lloh80:
	ldr	x9, [x9, _MDFLD_LIMT_DPLL_100@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_MIPI,4,2          ; @INTEL_OUTPUT_MIPI
	.comm	_INTEL_OUTPUT_MIPI2,4,2         ; @INTEL_OUTPUT_MIPI2
	.comm	_ksel,8,3                       ; @ksel
	.comm	_KSEL_CRYSTAL_19,8,3            ; @KSEL_CRYSTAL_19
	.comm	_KSEL_BYPASS_19,8,3             ; @KSEL_BYPASS_19
	.comm	_mdfld_limits,8,3               ; @mdfld_limits
	.comm	_MDFLD_LIMT_DSIPLL_19,8,3       ; @MDFLD_LIMT_DSIPLL_19
	.comm	_KSEL_BYPASS_25,8,3             ; @KSEL_BYPASS_25
	.comm	_MDFLD_LIMT_DSIPLL_25,8,3       ; @MDFLD_LIMT_DSIPLL_25
	.comm	_KSEL_BYPASS_83_100,8,3         ; @KSEL_BYPASS_83_100
	.comm	_MDFLD_LIMT_DSIPLL_83,8,3       ; @MDFLD_LIMT_DSIPLL_83
	.comm	_MDFLD_LIMT_DSIPLL_100,8,3      ; @MDFLD_LIMT_DSIPLL_100
	.comm	_INTEL_OUTPUT_HDMI,4,2          ; @INTEL_OUTPUT_HDMI
	.comm	_MDFLD_LIMT_DPLL_19,8,3         ; @MDFLD_LIMT_DPLL_19
	.comm	_MDFLD_LIMT_DPLL_25,8,3         ; @MDFLD_LIMT_DPLL_25
	.comm	_MDFLD_LIMT_DPLL_83,8,3         ; @MDFLD_LIMT_DPLL_83
	.comm	_MDFLD_LIMT_DPLL_100,8,3        ; @MDFLD_LIMT_DPLL_100
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mdfld_limit Wrong display type.\n"

	.no_dead_strip	_mdfld_limit
.subsections_via_symbols
