	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce3_2_set_audio_packet        ## -- Begin function dce3_2_set_audio_packet
	.p2align	4, 0x90
_dce3_2_set_audio_packet:               ## @dce3_2_set_audio_packet
	.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	%rsi, %r14
	movq	_HDMI0_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	addq	%rsi, %r15
	movl	$1, %edi
	callq	_HDMI0_AUDIO_DELAY_EN
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_HDMI0_AUDIO_PACKETS_PER_LINE
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_AFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_AFMT_AUDIO_SAMPLE_SEND@GOTPCREL(%rip), %rax
	movq	_AFMT_60958_CS_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_WREG32
	movq	_HDMI0_INFOFRAME_CONTROL0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_HDMI0_AUDIO_INFO_SEND@GOTPCREL(%rip), %rax
	movq	_HDMI0_AUDIO_INFO_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_WREG32_OR
	movq	_HDMI0_INFOFRAME_CONTROL1@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movl	$2, %edi
	callq	_HDMI0_AUDIO_INFO_LINE
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_OR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI0_AUDIO_PACKET_CONTROL,8,3 ## @HDMI0_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,8,3  ## @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ## @AFMT_AUDIO_SAMPLE_SEND
	.comm	_AFMT_60958_CS_UPDATE,4,2       ## @AFMT_60958_CS_UPDATE
	.comm	_HDMI0_INFOFRAME_CONTROL0,8,3   ## @HDMI0_INFOFRAME_CONTROL0
	.comm	_HDMI0_AUDIO_INFO_SEND,4,2      ## @HDMI0_AUDIO_INFO_SEND
	.comm	_HDMI0_AUDIO_INFO_CONT,4,2      ## @HDMI0_AUDIO_INFO_CONT
	.comm	_HDMI0_INFOFRAME_CONTROL1,8,3   ## @HDMI0_INFOFRAME_CONTROL1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce3_2_set_audio_packet        ; -- Begin function dce3_2_set_audio_packet
	.p2align	2
_dce3_2_set_audio_packet:               ; @dce3_2_set_audio_packet
	.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
Lloh0:
	adrp	x8, _HDMI0_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI0_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x20, x8, x1
	mov	w0, #1
	bl	_HDMI0_AUDIO_DELAY_EN
	mov	x21, x0
	mov	w0, #3
	bl	_HDMI0_AUDIO_PACKETS_PER_LINE
	orr	w1, w0, w21
	mov	x0, x20
	bl	_WREG32
Lloh3:
	adrp	x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGEOFF]
	add	x0, x8, x19
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _AFMT_60958_CS_UPDATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AFMT_60958_CS_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_WREG32
Lloh12:
	adrp	x8, _HDMI0_INFOFRAME_CONTROL0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI0_INFOFRAME_CONTROL0@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _HDMI0_AUDIO_INFO_SEND@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HDMI0_AUDIO_INFO_SEND@GOTPAGEOFF]
	add	x0, x8, x19
Lloh17:
	ldr	w8, [x9]
Lloh18:
	adrp	x9, _HDMI0_AUDIO_INFO_CONT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HDMI0_AUDIO_INFO_CONT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_WREG32_OR
Lloh21:
	adrp	x8, _HDMI0_INFOFRAME_CONTROL1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDMI0_INFOFRAME_CONTROL1@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x19, x8, x19
	mov	w0, #2
	bl	_HDMI0_AUDIO_INFO_LINE
	mov	x1, x0
	mov	x0, 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	_WREG32_OR
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI0_AUDIO_PACKET_CONTROL,8,3 ; @HDMI0_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,8,3  ; @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ; @AFMT_AUDIO_SAMPLE_SEND
	.comm	_AFMT_60958_CS_UPDATE,4,2       ; @AFMT_60958_CS_UPDATE
	.comm	_HDMI0_INFOFRAME_CONTROL0,8,3   ; @HDMI0_INFOFRAME_CONTROL0
	.comm	_HDMI0_AUDIO_INFO_SEND,4,2      ; @HDMI0_AUDIO_INFO_SEND
	.comm	_HDMI0_AUDIO_INFO_CONT,4,2      ; @HDMI0_AUDIO_INFO_CONT
	.comm	_HDMI0_INFOFRAME_CONTROL1,8,3   ; @HDMI0_INFOFRAME_CONTROL1
.subsections_via_symbols
