	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_stream_encoder_update_hdmi_info_packets
_dce110_stream_encoder_update_hdmi_info_packets: ## @dce110_stream_encoder_update_hdmi_info_packets
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_DCE110STRENC_FROM_STRENC
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_7
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.2:
	cmpq	$0, 112(%r14)
	je	LBB0_6
## %bb.3:
	movq	104(%r14), %r15
	movq	_AFMT_CNTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_REG
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r12), %edi
	movq	_AFMT_AUDIO_CLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
LBB0_5:
	movq	_AFMT_AVI_INFO0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_REG_WRITE
	movq	_AFMT_AVI_INFO1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	callq	_REG_WRITE
	movq	_AFMT_AVI_INFO2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	_REG_WRITE
	movq	_AFMT_AVI_INFO3@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	12(%r15), %esi
	callq	_REG_WRITE
	movl	(%r12), %edi
	movq	_AFMT_AVI_INFO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	96(%r14), %edx
	callq	_REG_UPDATE
	movq	_HDMI_INFOFRAME_CONTROL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HDMI_AVI_INFO_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_AVI_INFO_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	movl	$1, %r8d
	callq	_REG_UPDATE_2
	movq	_HDMI_INFOFRAME_CONTROL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HDMI_AVI_INFO_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VBI_LINE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	$2, %edx
	callq	_REG_UPDATE
	jmp	LBB0_7
LBB0_6:
	movq	_HDMI_INFOFRAME_CONTROL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HDMI_AVI_INFO_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_AVI_INFO_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_REG_UPDATE_2
LBB0_7:
	movq	(%rbx), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_9
## %bb.8:
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.10:
	leaq	72(%r14), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dce110_update_hdmi_info_packet
	leaq	48(%r14), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_dce110_update_hdmi_info_packet
	leaq	24(%r14), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_dce110_update_hdmi_info_packet
	movq	%rbx, %rdi
	movl	$3, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dce110_update_hdmi_info_packet ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFMT_CNTL,4,2                  ## @AFMT_CNTL
	.comm	_AFMT_AUDIO_CLOCK_EN,4,2        ## @AFMT_AUDIO_CLOCK_EN
	.comm	_AFMT_AVI_INFO0,4,2             ## @AFMT_AVI_INFO0
	.comm	_AFMT_AVI_INFO1,4,2             ## @AFMT_AVI_INFO1
	.comm	_AFMT_AVI_INFO2,4,2             ## @AFMT_AVI_INFO2
	.comm	_AFMT_AVI_INFO3,4,2             ## @AFMT_AVI_INFO3
	.comm	_AFMT_AVI_INFO_VERSION,4,2      ## @AFMT_AVI_INFO_VERSION
	.comm	_HDMI_INFOFRAME_CONTROL0,4,2    ## @HDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_AVI_INFO_SEND,4,2         ## @HDMI_AVI_INFO_SEND
	.comm	_HDMI_AVI_INFO_CONT,4,2         ## @HDMI_AVI_INFO_CONT
	.comm	_HDMI_INFOFRAME_CONTROL1,4,2    ## @HDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_AVI_INFO_LINE,4,2         ## @HDMI_AVI_INFO_LINE
	.comm	_VBI_LINE_0,4,2                 ## @VBI_LINE_0
	.comm	_HDMI_DB_CONTROL,4,2            ## @HDMI_DB_CONTROL
	.comm	_HDMI_DB_DISABLE,4,2            ## @HDMI_DB_DISABLE
	.no_dead_strip	_dce110_stream_encoder_update_hdmi_info_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_stream_encoder_update_hdmi_info_packets
_dce110_stream_encoder_update_hdmi_info_packets: ; @dce110_stream_encoder_update_hdmi_info_packets
	.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, x1
	bl	_DCE110STRENC_FROM_STRENC
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_7
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x21, [x19, #104]
Lloh0:
	adrp	x22, _AFMT_CNTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AFMT_CNTL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_REG
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _AFMT_AUDIO_CLOCK_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AFMT_AUDIO_CLOCK_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_REG_UPDATE
LBB0_5:
Lloh5:
	adrp	x8, _AFMT_AVI_INFO0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AFMT_AVI_INFO0@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_REG_WRITE
Lloh8:
	adrp	x8, _AFMT_AVI_INFO1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AFMT_AVI_INFO1@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x21, #4]
	bl	_REG_WRITE
Lloh11:
	adrp	x8, _AFMT_AVI_INFO2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AFMT_AVI_INFO2@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_REG_WRITE
Lloh14:
	adrp	x22, _AFMT_AVI_INFO3@GOTPAGE
Lloh15:
	ldr	x22, [x22, _AFMT_AVI_INFO3@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x21, #12]
	bl	_REG_WRITE
	ldr	w0, [x22]
Lloh16:
	adrp	x8, _AFMT_AVI_INFO_VERSION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AFMT_AVI_INFO_VERSION@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x19, #96]
	bl	_REG_UPDATE
Lloh19:
	adrp	x8, _HDMI_INFOFRAME_CONTROL0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDMI_INFOFRAME_CONTROL0@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _HDMI_AVI_INFO_SEND@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDMI_AVI_INFO_SEND@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _HDMI_AVI_INFO_CONT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HDMI_AVI_INFO_CONT@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	w2, #1
	mov	w4, #1
	bl	_REG_UPDATE_2
Lloh28:
	adrp	x8, _HDMI_INFOFRAME_CONTROL1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HDMI_INFOFRAME_CONTROL1@GOTPAGEOFF]
Lloh30:
	adrp	x9, _HDMI_AVI_INFO_LINE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HDMI_AVI_INFO_LINE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	ldr	w1, [x9]
Lloh34:
	adrp	x8, _VBI_LINE_0@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VBI_LINE_0@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	add	w2, w8, #2
	bl	_REG_UPDATE
	b	LBB0_7
LBB0_6:
Lloh37:
	adrp	x8, _HDMI_INFOFRAME_CONTROL0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HDMI_INFOFRAME_CONTROL0@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _HDMI_AVI_INFO_SEND@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HDMI_AVI_INFO_SEND@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x8, _HDMI_AVI_INFO_CONT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HDMI_AVI_INFO_CONT@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	bl	_REG_UPDATE_2
LBB0_7:
	ldr	x8, [x20]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_10
; %bb.8:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.9:
	add	x2, x19, #72
	mov	x0, x20
	mov	w1, #0
	bl	_dce110_update_hdmi_info_packet
	add	x2, x19, #48
	mov	x0, x20
	mov	w1, #1
	bl	_dce110_update_hdmi_info_packet
	add	x2, x19, #24
	mov	x0, x20
	mov	w1, #2
	bl	_dce110_update_hdmi_info_packet
	mov	x0, x20
	mov	w1, #3
	mov	x2, x19
	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
	b	_dce110_update_hdmi_info_packet
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_AFMT_CNTL,4,2                  ; @AFMT_CNTL
	.comm	_AFMT_AUDIO_CLOCK_EN,4,2        ; @AFMT_AUDIO_CLOCK_EN
	.comm	_AFMT_AVI_INFO0,4,2             ; @AFMT_AVI_INFO0
	.comm	_AFMT_AVI_INFO1,4,2             ; @AFMT_AVI_INFO1
	.comm	_AFMT_AVI_INFO2,4,2             ; @AFMT_AVI_INFO2
	.comm	_AFMT_AVI_INFO3,4,2             ; @AFMT_AVI_INFO3
	.comm	_AFMT_AVI_INFO_VERSION,4,2      ; @AFMT_AVI_INFO_VERSION
	.comm	_HDMI_INFOFRAME_CONTROL0,4,2    ; @HDMI_INFOFRAME_CONTROL0
	.comm	_HDMI_AVI_INFO_SEND,4,2         ; @HDMI_AVI_INFO_SEND
	.comm	_HDMI_AVI_INFO_CONT,4,2         ; @HDMI_AVI_INFO_CONT
	.comm	_HDMI_INFOFRAME_CONTROL1,4,2    ; @HDMI_INFOFRAME_CONTROL1
	.comm	_HDMI_AVI_INFO_LINE,4,2         ; @HDMI_AVI_INFO_LINE
	.comm	_VBI_LINE_0,4,2                 ; @VBI_LINE_0
	.comm	_HDMI_DB_CONTROL,4,2            ; @HDMI_DB_CONTROL
	.comm	_HDMI_DB_DISABLE,4,2            ; @HDMI_DB_DISABLE
	.no_dead_strip	_dce110_stream_encoder_update_hdmi_info_packets
.subsections_via_symbols
