	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_audio_dp_enable
_dce_v6_0_audio_dp_enable:              ## @dce_v6_0_audio_dp_enable
	.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
	movl	%esi, %ebx
	callq	_to_amdgpu_encoder
	movq	(%rax), %r14
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movq	_mmAFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rbx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_RREG32
	movq	_AFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AFMT_AUDIO_SAMPLE_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%rbx), %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmDP_SEC_TIMESTAMP@GOTPCREL(%rip), %rbx
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_RREG32
	movq	_DP_SEC_TIMESTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DP_SEC_TIMESTAMP_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%rbx), %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmDP_SEC_CNTL@GOTPCREL(%rip), %rax
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_RREG32
	movq	_DP_SEC_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_DP_SEC_ASP_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_DP_SEC_ATP_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_DP_SEC_AIP_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_DP_SEC_STREAM_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	%eax, %esi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movq	_mmDP_SEC_CNTL@GOTPCREL(%rip), %rax
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmAFMT_AUDIO_PACKET_CONTROL,8,3 ## @mmAFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,4,2  ## @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ## @AFMT_AUDIO_SAMPLE_SEND
	.comm	_mmDP_SEC_TIMESTAMP,8,3         ## @mmDP_SEC_TIMESTAMP
	.comm	_DP_SEC_TIMESTAMP,4,2           ## @DP_SEC_TIMESTAMP
	.comm	_DP_SEC_TIMESTAMP_MODE,4,2      ## @DP_SEC_TIMESTAMP_MODE
	.comm	_mmDP_SEC_CNTL,8,3              ## @mmDP_SEC_CNTL
	.comm	_DP_SEC_CNTL,4,2                ## @DP_SEC_CNTL
	.comm	_DP_SEC_ASP_ENABLE,4,2          ## @DP_SEC_ASP_ENABLE
	.comm	_DP_SEC_ATP_ENABLE,4,2          ## @DP_SEC_ATP_ENABLE
	.comm	_DP_SEC_AIP_ENABLE,4,2          ## @DP_SEC_AIP_ENABLE
	.comm	_DP_SEC_STREAM_ENABLE,4,2       ## @DP_SEC_STREAM_ENABLE
	.no_dead_strip	_dce_v6_0_audio_dp_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v6_0_audio_dp_enable
_dce_v6_0_audio_dp_enable:              ; @dce_v6_0_audio_dp_enable
	.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	_to_amdgpu_encoder
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _mmDP_SEC_CNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mmDP_SEC_CNTL@GOTPAGEOFF]
	cbz	w19, LBB0_2
; %bb.1:
Lloh2:
	adrp	x19, _mmAFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh3:
	ldr	x19, [x19, _mmAFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh4:
	adrp	x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AFMT_AUDIO_SAMPLE_SEND@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_WREG32
Lloh10:
	adrp	x19, _mmDP_SEC_TIMESTAMP@GOTPAGE
Lloh11:
	ldr	x19, [x19, _mmDP_SEC_TIMESTAMP@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh12:
	adrp	x8, _DP_SEC_TIMESTAMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DP_SEC_TIMESTAMP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DP_SEC_TIMESTAMP_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DP_SEC_TIMESTAMP_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_WREG32
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_RREG32
Lloh18:
	adrp	x19, _DP_SEC_CNTL@GOTPAGE
Lloh19:
	ldr	x19, [x19, _DP_SEC_CNTL@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh20:
	adrp	x8, _DP_SEC_ASP_ENABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DP_SEC_ASP_ENABLE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x19]
Lloh23:
	adrp	x8, _DP_SEC_ATP_ENABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DP_SEC_ATP_ENABLE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x19]
Lloh26:
	adrp	x8, _DP_SEC_AIP_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DP_SEC_AIP_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x19]
Lloh29:
	adrp	x8, _DP_SEC_STREAM_ENABLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DP_SEC_STREAM_ENABLE@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	b	LBB0_3
LBB0_2:
	mov	w1, #0
LBB0_3:
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x9]
	add	x0, x9, x8
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_mmAFMT_AUDIO_PACKET_CONTROL,8,3 ; @mmAFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_PACKET_CONTROL,4,2  ; @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AUDIO_SAMPLE_SEND,4,2     ; @AFMT_AUDIO_SAMPLE_SEND
	.comm	_mmDP_SEC_TIMESTAMP,8,3         ; @mmDP_SEC_TIMESTAMP
	.comm	_DP_SEC_TIMESTAMP,4,2           ; @DP_SEC_TIMESTAMP
	.comm	_DP_SEC_TIMESTAMP_MODE,4,2      ; @DP_SEC_TIMESTAMP_MODE
	.comm	_mmDP_SEC_CNTL,8,3              ; @mmDP_SEC_CNTL
	.comm	_DP_SEC_CNTL,4,2                ; @DP_SEC_CNTL
	.comm	_DP_SEC_ASP_ENABLE,4,2          ; @DP_SEC_ASP_ENABLE
	.comm	_DP_SEC_ATP_ENABLE,4,2          ; @DP_SEC_ATP_ENABLE
	.comm	_DP_SEC_AIP_ENABLE,4,2          ; @DP_SEC_AIP_ENABLE
	.comm	_DP_SEC_STREAM_ENABLE,4,2       ; @DP_SEC_STREAM_ENABLE
	.no_dead_strip	_dce_v6_0_audio_dp_enable
.subsections_via_symbols
