	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_set_pipeconf
_ironlake_set_pipeconf:                 ## @ironlake_set_pipeconf
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	callq	_to_intel_crtc
	movq	%rax, %r13
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	callq	_I915_READ
	movq	_PIPECONF_BPC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	4(%r13), %eax
	addl	$-18, %eax
	rorl	%eax
	cmpl	$9, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_PIPECONF_6BPC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_8
LBB0_4:
	movq	_PIPECONF_8BPC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_PIPECONF_10BPC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_PIPECONF_12BPC@GOTPCREL(%rip), %rax
LBB0_7:
	orl	(%rax), %ebx
LBB0_8:
	movq	_PIPECONF_DITHER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PIPECONF_DITHER_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	notl	%eax
	andl	%ebx, %eax
	movq	_PIPECONF_DITHER_TYPE_SP@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%r12d, %r12d
	cmovel	%r12d, %ecx
	orl	%eax, %ecx
	movq	_PIPECONF_INTERLACE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r14), %ecx
	jne	LBB0_10
## %bb.9:
	movq	_PIPECONF_PROGRESSIVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_PIPECONF_INTERLACED_ILK@GOTPCREL(%rip), %rcx
LBB0_11:
	orl	(%rcx), %eax
	movq	_INTEL_MODE_LIMITED_COLOR_RANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%r14), %ecx
	movq	_PIPECONF_COLOR_RANGE_SELECT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, %edx
	orl	%eax, %edx
	notl	%ebx
	andl	%eax, %ebx
	testl	%ecx, %ecx
	cmovnel	%edx, %ebx
	movl	%r15d, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_PIPECONF_BPC_MASK,4,2          ## @PIPECONF_BPC_MASK
	.comm	_PIPECONF_6BPC,4,2              ## @PIPECONF_6BPC
	.comm	_PIPECONF_8BPC,4,2              ## @PIPECONF_8BPC
	.comm	_PIPECONF_10BPC,4,2             ## @PIPECONF_10BPC
	.comm	_PIPECONF_12BPC,4,2             ## @PIPECONF_12BPC
	.comm	_PIPECONF_DITHER_EN,4,2         ## @PIPECONF_DITHER_EN
	.comm	_PIPECONF_DITHER_TYPE_MASK,4,2  ## @PIPECONF_DITHER_TYPE_MASK
	.comm	_PIPECONF_DITHER_TYPE_SP,4,2    ## @PIPECONF_DITHER_TYPE_SP
	.comm	_PIPECONF_INTERLACE_MASK,4,2    ## @PIPECONF_INTERLACE_MASK
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_PIPECONF_INTERLACED_ILK,4,2    ## @PIPECONF_INTERLACED_ILK
	.comm	_PIPECONF_PROGRESSIVE,4,2       ## @PIPECONF_PROGRESSIVE
	.comm	_INTEL_MODE_LIMITED_COLOR_RANGE,4,2 ## @INTEL_MODE_LIMITED_COLOR_RANGE
	.comm	_PIPECONF_COLOR_RANGE_SELECT,4,2 ## @PIPECONF_COLOR_RANGE_SELECT
	.no_dead_strip	_ironlake_set_pipeconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_set_pipeconf
_ironlake_set_pipeconf:                 ; @ironlake_set_pipeconf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	bl	_to_intel_crtc
	mov	x22, x0
	ldr	w19, [x0]
	mov	x0, x19
	bl	_PIPECONF
	bl	_I915_READ
Lloh0:
	adrp	x8, _PIPECONF_BPC_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPECONF_BPC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w23, w0, w8
	ldr	w8, [x22, #4]
	sub	w8, w8, #18
	ror	w8, w8, #1
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _PIPECONF_6BPC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIPECONF_6BPC@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	bl	_BUG
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _PIPECONF_8BPC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PIPECONF_8BPC@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _PIPECONF_10BPC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PIPECONF_10BPC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _PIPECONF_12BPC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PIPECONF_12BPC@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_8:
Lloh13:
	adrp	x8, _PIPECONF_DITHER_EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PIPECONF_DITHER_EN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PIPECONF_DITHER_TYPE_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PIPECONF_DITHER_TYPE_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w9, w9, w8
	bic	w9, w23, w9
Lloh19:
	adrp	x10, _PIPECONF_DITHER_TYPE_SP@GOTPAGE
Lloh20:
	ldr	x10, [x10, _PIPECONF_DITHER_TYPE_SP@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	orr	w8, w10, w8
	cmp	w21, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _PIPECONF_INTERLACE_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PIPECONF_INTERLACE_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh25:
	adrp	x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _PIPECONF_PROGRESSIVE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _PIPECONF_PROGRESSIVE@GOTPAGEOFF]
Lloh30:
	adrp	x11, _PIPECONF_INTERLACED_ILK@GOTPAGE
Lloh31:
	ldr	x11, [x11, _PIPECONF_INTERLACED_ILK@GOTPAGEOFF]
	ldp	w12, w13, [x20]
	tst	w9, w12
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh32:
	adrp	x9, _INTEL_MODE_LIMITED_COLOR_RANGE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _INTEL_MODE_LIMITED_COLOR_RANGE@GOTPAGEOFF]
Lloh34:
	adrp	x10, _PIPECONF_COLOR_RANGE_SELECT@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PIPECONF_COLOR_RANGE_SELECT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	ldr	w10, [x10]
	orr	w11, w10, w8
	bic	w8, w8, w10
	tst	w9, w13
	csel	w20, w8, w11, eq
	mov	x0, x19
	bl	_PIPECONF
	mov	x1, x20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_PIPECONF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_PIPECONF_BPC_MASK,4,2          ; @PIPECONF_BPC_MASK
	.comm	_PIPECONF_6BPC,4,2              ; @PIPECONF_6BPC
	.comm	_PIPECONF_8BPC,4,2              ; @PIPECONF_8BPC
	.comm	_PIPECONF_10BPC,4,2             ; @PIPECONF_10BPC
	.comm	_PIPECONF_12BPC,4,2             ; @PIPECONF_12BPC
	.comm	_PIPECONF_DITHER_EN,4,2         ; @PIPECONF_DITHER_EN
	.comm	_PIPECONF_DITHER_TYPE_MASK,4,2  ; @PIPECONF_DITHER_TYPE_MASK
	.comm	_PIPECONF_DITHER_TYPE_SP,4,2    ; @PIPECONF_DITHER_TYPE_SP
	.comm	_PIPECONF_INTERLACE_MASK,4,2    ; @PIPECONF_INTERLACE_MASK
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_PIPECONF_INTERLACED_ILK,4,2    ; @PIPECONF_INTERLACED_ILK
	.comm	_PIPECONF_PROGRESSIVE,4,2       ; @PIPECONF_PROGRESSIVE
	.comm	_INTEL_MODE_LIMITED_COLOR_RANGE,4,2 ; @INTEL_MODE_LIMITED_COLOR_RANGE
	.comm	_PIPECONF_COLOR_RANGE_SELECT,4,2 ; @PIPECONF_COLOR_RANGE_SELECT
	.no_dead_strip	_ironlake_set_pipeconf
.subsections_via_symbols
