	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_hdmi_set_spd_infoframe
_vc4_hdmi_set_spd_infoframe:            ## @vc4_hdmi_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	-16(%rbp), %rdi
	callq	_hdmi_spd_infoframe_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_HDMI_SPD_SDI_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_vc4_hdmi_write_infoframe
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_ERROR
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Broadcom"

L_.str.1:                               ## @.str.1
	.asciz	"Videocore"

L_.str.2:                               ## @.str.2
	.asciz	"couldn't fill SPD infoframe\n"

	.comm	_HDMI_SPD_SDI_PC,4,2            ## @HDMI_SPD_SDI_PC
	.no_dead_strip	_vc4_hdmi_set_spd_infoframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_hdmi_set_spd_infoframe
_vc4_hdmi_set_spd_infoframe:            ; @vc4_hdmi_set_spd_infoframe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_hdmi_spd_infoframe_init
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _HDMI_SPD_SDI_PC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_SPD_SDI_PC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_vc4_hdmi_write_infoframe
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_ERROR
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Broadcom"

l_.str.1:                               ; @.str.1
	.asciz	"Videocore"

l_.str.2:                               ; @.str.2
	.asciz	"couldn't fill SPD infoframe\n"

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