	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hdmi_compute_hdmi_infoframe
_intel_hdmi_compute_hdmi_infoframe:     ## @intel_hdmi_compute_hdmi_infoframe
	.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	$1, %eax
	cmpl	$0, 12(%rsi)
	je	LBB0_4
## %bb.1:
	movq	%rdx, %r15
	movq	(%rdx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	%rsi, %rbx
	leaq	8(%rsi), %r14
	movq	_HDMI_INFOFRAME_TYPE_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_intel_hdmi_infoframe_enable
	orl	%eax, 4(%rbx)
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_drm_hdmi_vendor_infoframe_from_display_mode
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_hdmi_vendor_infoframe_check
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_INFOFRAME_TYPE_VENDOR,4,2 ## @HDMI_INFOFRAME_TYPE_VENDOR
	.no_dead_strip	_intel_hdmi_compute_hdmi_infoframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_hdmi_compute_hdmi_infoframe
_intel_hdmi_compute_hdmi_infoframe:     ; @intel_hdmi_compute_hdmi_infoframe
	.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
	ldr	w8, [x1, #12]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x21, x2
	ldr	x8, [x2]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x20, x1
	add	x19, x1, #8
Lloh0:
	adrp	x8, _HDMI_INFOFRAME_TYPE_VENDOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_INFOFRAME_TYPE_VENDOR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_intel_hdmi_infoframe_enable
	ldr	w8, [x20, #4]
	orr	w8, w8, w0
	str	w8, [x20, #4]
	ldr	x1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_drm_hdmi_vendor_infoframe_from_display_mode
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_hdmi_vendor_infoframe_check
	bl	_WARN_ON
	cmp	x0, #0
	cset	w0, eq
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_INFOFRAME_TYPE_VENDOR,4,2 ; @HDMI_INFOFRAME_TYPE_VENDOR
	.no_dead_strip	_intel_hdmi_compute_hdmi_infoframe
.subsections_via_symbols
