	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_set_infoframes
_vlv_set_infoframes:                    ## @vlv_set_infoframes
	.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
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_to_intel_crtc
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_enc_to_intel_hdmi
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_VLV_TVIDEO_DIP_CTL
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_assert_hdmi_port_disabled
	movq	_VIDEO_DIP_SELECT_AVI@GOTPCREL(%rip), %rax
	movq	_VIDEO_DIP_FREQ_VSYNC@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	cmpl	$0, (%r13)
	movq	_VIDEO_DIP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_1
## %bb.3:
	orl	%ebx, %eax
	movq	_VIDEO_DIP_ENABLE_VENDOR@GOTPCREL(%rip), %rcx
	movq	_VIDEO_DIP_ENABLE_GAMUT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_VIDEO_DIP_ENABLE_GCP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%r15d, %edi
	callq	_I915_WRITE
	movl	%r15d, %edi
	callq	_POSTING_READ
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_intel_hdmi_set_avi_infoframe
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_hdmi_set_spd_infoframe   ## TAILCALL
LBB0_1:
	testl	%ebx, %eax
	je	LBB0_4
## %bb.2:
	notl	%eax
	andl	%eax, %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEO_DIP_SELECT_AVI,4,2       ## @VIDEO_DIP_SELECT_AVI
	.comm	_VIDEO_DIP_FREQ_VSYNC,4,2       ## @VIDEO_DIP_FREQ_VSYNC
	.comm	_VIDEO_DIP_ENABLE,4,2           ## @VIDEO_DIP_ENABLE
	.comm	_VIDEO_DIP_ENABLE_VENDOR,4,2    ## @VIDEO_DIP_ENABLE_VENDOR
	.comm	_VIDEO_DIP_ENABLE_GAMUT,4,2     ## @VIDEO_DIP_ENABLE_GAMUT
	.comm	_VIDEO_DIP_ENABLE_GCP,4,2       ## @VIDEO_DIP_ENABLE_GCP
	.no_dead_strip	_vlv_set_infoframes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlv_set_infoframes
_vlv_set_infoframes:                    ; @vlv_set_infoframes
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_to_intel_crtc
	mov	x21, x0
	mov	x0, x19
	bl	_enc_to_intel_hdmi
	mov	x22, x0
	ldr	w0, [x21]
	bl	_VLV_TVIDEO_DIP_CTL
	mov	x21, x0
	bl	_I915_READ
	mov	x23, x0
	mov	x0, x22
	bl	_assert_hdmi_port_disabled
Lloh0:
	adrp	x8, _VIDEO_DIP_SELECT_AVI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEO_DIP_SELECT_AVI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VIDEO_DIP_FREQ_VSYNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VIDEO_DIP_FREQ_VSYNC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w23
	orr	w8, w8, w9
	ldr	w10, [x22]
Lloh6:
	adrp	x9, _VIDEO_DIP_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VIDEO_DIP_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cbz	w10, LBB0_2
; %bb.1:
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _VIDEO_DIP_ENABLE_VENDOR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VIDEO_DIP_ENABLE_VENDOR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _VIDEO_DIP_ENABLE_GAMUT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VIDEO_DIP_ENABLE_GAMUT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh15:
	adrp	x10, _VIDEO_DIP_ENABLE_GCP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _VIDEO_DIP_ENABLE_GCP@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w1, w8, w9
	mov	x0, x21
	bl	_I915_WRITE
	mov	x0, x21
	bl	_POSTING_READ
	mov	x0, x19
	mov	x1, x20
	bl	_intel_hdmi_set_avi_infoframe
	mov	x0, x19
	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	_intel_hdmi_set_spd_infoframe
LBB0_2:
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	bic	w1, w8, w9
	mov	x0, x21
	bl	_I915_WRITE
	mov	x0, x21
	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
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEO_DIP_SELECT_AVI,4,2       ; @VIDEO_DIP_SELECT_AVI
	.comm	_VIDEO_DIP_FREQ_VSYNC,4,2       ; @VIDEO_DIP_FREQ_VSYNC
	.comm	_VIDEO_DIP_ENABLE,4,2           ; @VIDEO_DIP_ENABLE
	.comm	_VIDEO_DIP_ENABLE_VENDOR,4,2    ; @VIDEO_DIP_ENABLE_VENDOR
	.comm	_VIDEO_DIP_ENABLE_GAMUT,4,2     ; @VIDEO_DIP_ENABLE_GAMUT
	.comm	_VIDEO_DIP_ENABLE_GCP,4,2       ; @VIDEO_DIP_ENABLE_GCP
	.no_dead_strip	_vlv_set_infoframes
.subsections_via_symbols
