	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_vrr_infopacket_header_v1
_build_vrr_infopacket_header_v1:        ## @build_vrr_infopacket_header_v1
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_dc_is_hdmi_signal
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DC_HDMI_INFOFRAME_TYPE_SPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movabsq	$34359738369, %rax              ## imm = 0x800000001
	movq	%rax, 4(%r15)
	movl	$8, %eax
	jmp	LBB0_4
LBB0_2:
	movl	%ebx, %edi
	callq	_dc_is_dp_signal
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	$0, (%r15)
	movq	_DC_HDMI_INFOFRAME_TYPE_SPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movabsq	$17179869211, %rax              ## imm = 0x40000001B
	movq	%rax, 8(%r15)
	movl	$27, %eax
LBB0_4:
	movl	%eax, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_HDMI_INFOFRAME_TYPE_SPD,8,3 ## @DC_HDMI_INFOFRAME_TYPE_SPD
	.no_dead_strip	_build_vrr_infopacket_header_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function build_vrr_infopacket_header_v1
lCPI0_0:
	.long	1                               ; 0x1
	.long	8                               ; 0x8
lCPI0_1:
	.long	27                              ; 0x1b
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_build_vrr_infopacket_header_v1:        ; @build_vrr_infopacket_header_v1
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_dc_is_hdmi_signal
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DC_HDMI_INFOFRAME_TYPE_SPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_HDMI_INFOFRAME_TYPE_SPD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	w8, [x20], #4
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	w8, #8
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_dc_is_dp_signal
	cbz	x0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _DC_HDMI_INFOFRAME_TYPE_SPD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DC_HDMI_INFOFRAME_TYPE_SPD@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	wzr, w8, [x20], #8
Lloh8:
	adrp	x8, lCPI0_1@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	mov	w8, #27
LBB0_4:
	str	d0, [x20]
	str	w8, [x19]
LBB0_5:
	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 AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_HDMI_INFOFRAME_TYPE_SPD,8,3 ; @DC_HDMI_INFOFRAME_TYPE_SPD
	.no_dead_strip	_build_vrr_infopacket_header_v1
.subsections_via_symbols
