	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hdmi_compute_spd_infoframe
_intel_hdmi_compute_spd_infoframe:      ## @intel_hdmi_compute_spd_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 8(%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	leaq	4(%rsi), %r14
	movq	_HDMI_INFOFRAME_TYPE_SPD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_intel_hdmi_infoframe_enable
	orl	%eax, (%rbx)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_hdmi_spd_infoframe_init
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movq	_HDMI_SPD_SDI_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_hdmi_spd_infoframe_check
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	jmp	LBB0_4
LBB0_1:
	movl	$1, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_INFOFRAME_TYPE_SPD,4,2    ## @HDMI_INFOFRAME_TYPE_SPD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Intel"

L_.str.1:                               ## @.str.1
	.asciz	"Integrated gfx"

	.comm	_HDMI_SPD_SDI_PC,4,2            ## @HDMI_SPD_SDI_PC
	.no_dead_strip	_intel_hdmi_compute_spd_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_spd_infoframe
_intel_hdmi_compute_spd_infoframe:      ; @intel_hdmi_compute_spd_infoframe
	.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
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	add	x19, x1, #4
Lloh0:
	adrp	x8, _HDMI_INFOFRAME_TYPE_SPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_INFOFRAME_TYPE_SPD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_intel_hdmi_infoframe_enable
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hdmi_spd_infoframe_init
	bl	_WARN_ON
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _HDMI_SPD_SDI_PC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_SPD_SDI_PC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	bl	_hdmi_spd_infoframe_check
	bl	_WARN_ON
	cmp	x0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_INFOFRAME_TYPE_SPD,4,2    ; @HDMI_INFOFRAME_TYPE_SPD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Intel"

l_.str.1:                               ; @.str.1
	.asciz	"Integrated gfx"

	.comm	_HDMI_SPD_SDI_PC,4,2            ; @HDMI_SPD_SDI_PC
	.no_dead_strip	_intel_hdmi_compute_spd_infoframe
.subsections_via_symbols
