	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_limit
_intel_limit:                           ## @intel_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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_HAS_PCH_SPLIT
	testq	%rax, %rax
	je	LBB0_1
## %bb.20:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_ironlake_limit           ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	callq	_IS_G4X
	testq	%rax, %rax
	je	LBB0_2
## %bb.21:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_g4x_limit                ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_IS_PINEVIEW
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_INTEL_OUTPUT_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_intel_limits_pineview_sdvo@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	movq	%r15, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	_INTEL_OUTPUT_ANALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_intel_limits_vlv_dac@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_4:
	movq	_intel_limits_pineview_lvds@GOTPCREL(%rip), %rax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	callq	_IS_GEN2
	movl	%eax, %ebx
	movq	_INTEL_OUTPUT_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_intel_pipe_has_type
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.16:
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:
	movq	_intel_limits_i8xx_dvo@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_9:
	movq	_INTEL_OUTPUT_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:
	movq	_intel_limits_vlv_dp@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_13:
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	movq	_intel_limits_i9xx_sdvo@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_intel_limits_i8xx_lvds@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_10:
	movq	_intel_limits_vlv_hdmi@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_14:
	movq	_intel_limits_i9xx_lvds@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ## @INTEL_OUTPUT_LVDS
	.comm	_intel_limits_pineview_lvds,4,2 ## @intel_limits_pineview_lvds
	.comm	_intel_limits_pineview_sdvo,4,2 ## @intel_limits_pineview_sdvo
	.comm	_INTEL_OUTPUT_ANALOG,4,2        ## @INTEL_OUTPUT_ANALOG
	.comm	_intel_limits_vlv_dac,4,2       ## @intel_limits_vlv_dac
	.comm	_INTEL_OUTPUT_HDMI,4,2          ## @INTEL_OUTPUT_HDMI
	.comm	_intel_limits_vlv_hdmi,4,2      ## @intel_limits_vlv_hdmi
	.comm	_intel_limits_vlv_dp,4,2        ## @intel_limits_vlv_dp
	.comm	_intel_limits_i9xx_lvds,4,2     ## @intel_limits_i9xx_lvds
	.comm	_intel_limits_i9xx_sdvo,4,2     ## @intel_limits_i9xx_sdvo
	.comm	_intel_limits_i8xx_lvds,4,2     ## @intel_limits_i8xx_lvds
	.comm	_intel_limits_i8xx_dvo,4,2      ## @intel_limits_i8xx_dvo
	.no_dead_strip	_intel_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_limit
_intel_limit:                           ; @intel_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	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_HAS_PCH_SPLIT
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	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
	b	_intel_ironlake_limit
LBB0_2:
	mov	x0, x20
	bl	_IS_G4X
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	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
	b	_intel_g4x_limit
LBB0_4:
	mov	x0, x20
	bl	_IS_PINEVIEW
	cbz	x0, LBB0_8
; %bb.5:
Lloh0:
	adrp	x8, _INTEL_OUTPUT_LVDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_LVDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
Lloh3:
	adrp	x8, _intel_limits_pineview_lvds@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intel_limits_pineview_lvds@GOTPAGEOFF]
Lloh5:
	adrp	x9, _intel_limits_pineview_sdvo@GOTPAGE
Lloh6:
	ldr	x9, [x9, _intel_limits_pineview_sdvo@GOTPAGEOFF]
LBB0_6:
	cmp	x0, #0
	csel	x0, x9, x8, eq
LBB0_7:
	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_8:
	mov	x0, x20
	bl	_IS_VALLEYVIEW
	cbz	x0, LBB0_11
; %bb.9:
Lloh7:
	adrp	x8, _INTEL_OUTPUT_ANALOG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INTEL_OUTPUT_ANALOG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
	cbz	x0, LBB0_12
; %bb.10:
Lloh10:
	adrp	x0, _intel_limits_vlv_dac@GOTPAGE
Lloh11:
	ldr	x0, [x0, _intel_limits_vlv_dac@GOTPAGEOFF]
	b	LBB0_7
LBB0_11:
	mov	x0, x20
	bl	_IS_GEN2
	mov	x20, x0
Lloh12:
	adrp	x8, _INTEL_OUTPUT_LVDS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INTEL_OUTPUT_LVDS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
Lloh15:
	adrp	x8, _intel_limits_i8xx_lvds@GOTPAGE
Lloh16:
	ldr	x8, [x8, _intel_limits_i8xx_lvds@GOTPAGEOFF]
Lloh17:
	adrp	x9, _intel_limits_i8xx_dvo@GOTPAGE
Lloh18:
	ldr	x9, [x9, _intel_limits_i8xx_dvo@GOTPAGEOFF]
Lloh19:
	adrp	x10, _intel_limits_i9xx_lvds@GOTPAGE
Lloh20:
	ldr	x10, [x10, _intel_limits_i9xx_lvds@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
Lloh21:
	adrp	x9, _intel_limits_i9xx_sdvo@GOTPAGE
Lloh22:
	ldr	x9, [x9, _intel_limits_i9xx_sdvo@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	cmp	w20, #0
	csel	x0, x8, x9, ne
	b	LBB0_7
LBB0_12:
Lloh23:
	adrp	x8, _INTEL_OUTPUT_HDMI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INTEL_OUTPUT_HDMI@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
Lloh26:
	adrp	x8, _intel_limits_vlv_hdmi@GOTPAGE
Lloh27:
	ldr	x8, [x8, _intel_limits_vlv_hdmi@GOTPAGEOFF]
Lloh28:
	adrp	x9, _intel_limits_vlv_dp@GOTPAGE
Lloh29:
	ldr	x9, [x9, _intel_limits_vlv_dp@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ; @INTEL_OUTPUT_LVDS
	.comm	_intel_limits_pineview_lvds,4,2 ; @intel_limits_pineview_lvds
	.comm	_intel_limits_pineview_sdvo,4,2 ; @intel_limits_pineview_sdvo
	.comm	_INTEL_OUTPUT_ANALOG,4,2        ; @INTEL_OUTPUT_ANALOG
	.comm	_intel_limits_vlv_dac,4,2       ; @intel_limits_vlv_dac
	.comm	_INTEL_OUTPUT_HDMI,4,2          ; @INTEL_OUTPUT_HDMI
	.comm	_intel_limits_vlv_hdmi,4,2      ; @intel_limits_vlv_hdmi
	.comm	_intel_limits_vlv_dp,4,2        ; @intel_limits_vlv_dp
	.comm	_intel_limits_i9xx_lvds,4,2     ; @intel_limits_i9xx_lvds
	.comm	_intel_limits_i9xx_sdvo,4,2     ; @intel_limits_i9xx_sdvo
	.comm	_intel_limits_i8xx_lvds,4,2     ; @intel_limits_i8xx_lvds
	.comm	_intel_limits_i8xx_dvo,4,2      ; @intel_limits_i8xx_dvo
	.no_dead_strip	_intel_limit
.subsections_via_symbols
