	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_g4x_limit
_intel_g4x_limit:                       ## @intel_g4x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_INTEL_OUTPUT_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_intel_is_dual_link_lvds
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_intel_limits_g4x_single_channel_lvds@GOTPCREL(%rip), %r14
	jmp	LBB0_11
LBB0_4:
	movq	_INTEL_OUTPUT_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_pipe_has_type
	movq	_intel_limits_g4x_hdmi@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	movq	_INTEL_OUTPUT_ANALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	_INTEL_OUTPUT_SDVO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_intel_limits_g4x_sdvo@GOTPCREL(%rip), %r14
	jmp	LBB0_11
LBB0_2:
	movq	_intel_limits_g4x_dual_channel_lvds@GOTPCREL(%rip), %r14
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_INTEL_OUTPUT_DISPLAYPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_pipe_has_type
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_intel_limits_i9xx_sdvo@GOTPCREL(%rip), %r14
	jmp	LBB0_11
LBB0_9:
	movq	_intel_limits_g4x_display_port@GOTPCREL(%rip), %r14
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ## @INTEL_OUTPUT_LVDS
	.comm	_intel_limits_g4x_dual_channel_lvds,4,2 ## @intel_limits_g4x_dual_channel_lvds
	.comm	_intel_limits_g4x_single_channel_lvds,4,2 ## @intel_limits_g4x_single_channel_lvds
	.comm	_INTEL_OUTPUT_HDMI,4,2          ## @INTEL_OUTPUT_HDMI
	.comm	_INTEL_OUTPUT_ANALOG,4,2        ## @INTEL_OUTPUT_ANALOG
	.comm	_intel_limits_g4x_hdmi,4,2      ## @intel_limits_g4x_hdmi
	.comm	_INTEL_OUTPUT_SDVO,4,2          ## @INTEL_OUTPUT_SDVO
	.comm	_intel_limits_g4x_sdvo,4,2      ## @intel_limits_g4x_sdvo
	.comm	_INTEL_OUTPUT_DISPLAYPORT,4,2   ## @INTEL_OUTPUT_DISPLAYPORT
	.comm	_intel_limits_g4x_display_port,4,2 ## @intel_limits_g4x_display_port
	.comm	_intel_limits_i9xx_sdvo,4,2     ## @intel_limits_i9xx_sdvo
	.no_dead_strip	_intel_g4x_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_g4x_limit
_intel_g4x_limit:                       ; @intel_g4x_limit
	.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, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _INTEL_OUTPUT_LVDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_LVDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_intel_pipe_has_type
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_intel_is_dual_link_lvds
Lloh3:
	adrp	x8, _intel_limits_g4x_dual_channel_lvds@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intel_limits_g4x_dual_channel_lvds@GOTPAGEOFF]
Lloh5:
	adrp	x9, _intel_limits_g4x_single_channel_lvds@GOTPAGE
Lloh6:
	ldr	x9, [x9, _intel_limits_g4x_single_channel_lvds@GOTPAGEOFF]
LBB0_2:
	cmp	x0, #0
	csel	x0, x9, x8, eq
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x8, _INTEL_OUTPUT_HDMI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INTEL_OUTPUT_HDMI@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
	cbnz	x0, LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _INTEL_OUTPUT_ANALOG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INTEL_OUTPUT_ANALOG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
	cbz	x0, LBB0_7
LBB0_5:
Lloh13:
	adrp	x0, _intel_limits_g4x_hdmi@GOTPAGE
Lloh14:
	ldr	x0, [x0, _intel_limits_g4x_hdmi@GOTPAGEOFF]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh15:
	adrp	x8, _INTEL_OUTPUT_SDVO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INTEL_OUTPUT_SDVO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
	cbz	x0, LBB0_9
; %bb.8:
Lloh18:
	adrp	x0, _intel_limits_g4x_sdvo@GOTPAGE
Lloh19:
	ldr	x0, [x0, _intel_limits_g4x_sdvo@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
Lloh20:
	adrp	x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_pipe_has_type
Lloh23:
	adrp	x8, _intel_limits_g4x_display_port@GOTPAGE
Lloh24:
	ldr	x8, [x8, _intel_limits_g4x_display_port@GOTPAGEOFF]
Lloh25:
	adrp	x9, _intel_limits_i9xx_sdvo@GOTPAGE
Lloh26:
	ldr	x9, [x9, _intel_limits_i9xx_sdvo@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ; @INTEL_OUTPUT_LVDS
	.comm	_intel_limits_g4x_dual_channel_lvds,4,2 ; @intel_limits_g4x_dual_channel_lvds
	.comm	_intel_limits_g4x_single_channel_lvds,4,2 ; @intel_limits_g4x_single_channel_lvds
	.comm	_INTEL_OUTPUT_HDMI,4,2          ; @INTEL_OUTPUT_HDMI
	.comm	_INTEL_OUTPUT_ANALOG,4,2        ; @INTEL_OUTPUT_ANALOG
	.comm	_intel_limits_g4x_hdmi,4,2      ; @intel_limits_g4x_hdmi
	.comm	_INTEL_OUTPUT_SDVO,4,2          ; @INTEL_OUTPUT_SDVO
	.comm	_intel_limits_g4x_sdvo,4,2      ; @intel_limits_g4x_sdvo
	.comm	_INTEL_OUTPUT_DISPLAYPORT,4,2   ; @INTEL_OUTPUT_DISPLAYPORT
	.comm	_intel_limits_g4x_display_port,4,2 ; @intel_limits_g4x_display_port
	.comm	_intel_limits_i9xx_sdvo,4,2     ; @intel_limits_i9xx_sdvo
	.no_dead_strip	_intel_g4x_limit
.subsections_via_symbols
