	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v8_0_audio_set_dto
_dce_v8_0_audio_set_dto:                ## @dce_v8_0_audio_set_dto
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_to_amdgpu_encoder
	movq	(%rax), %r15
	movl	(%rbx), %edi
	callq	_to_amdgpu_crtc
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.3:
	movq	_mmDCCG_AUDIO_DTO_SOURCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	movq	_DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	callq	_WREG32
	movq	_mmDCCG_AUDIO_DTO0_PHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$24000, %esi                    ## imm = 0x5DC0
	callq	_WREG32
	movq	_mmDCCG_AUDIO_DTO0_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmDCCG_AUDIO_DTO_SOURCE,4,2    ## @mmDCCG_AUDIO_DTO_SOURCE
	.comm	_DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT,4,2 ## @DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT
	.comm	_mmDCCG_AUDIO_DTO0_PHASE,4,2    ## @mmDCCG_AUDIO_DTO0_PHASE
	.comm	_mmDCCG_AUDIO_DTO0_MODULE,4,2   ## @mmDCCG_AUDIO_DTO0_MODULE
	.no_dead_strip	_dce_v8_0_audio_set_dto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v8_0_audio_set_dto
_dce_v8_0_audio_set_dto:                ; @dce_v8_0_audio_set_dto
	.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
	mov	x20, x0
	bl	_to_amdgpu_encoder
	ldr	x21, [x0]
	ldr	w0, [x20]
	bl	_to_amdgpu_crtc
	cbz	x21, LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _mmDCCG_AUDIO_DTO_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmDCCG_AUDIO_DTO_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w1, w9, w10
	mov	x0, x8
	bl	_WREG32
Lloh6:
	adrp	x8, _mmDCCG_AUDIO_DTO0_PHASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmDCCG_AUDIO_DTO0_PHASE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #24000
	bl	_WREG32
Lloh9:
	adrp	x8, _mmDCCG_AUDIO_DTO0_MODULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mmDCCG_AUDIO_DTO0_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, 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
LBB0_3:
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmDCCG_AUDIO_DTO_SOURCE,4,2    ; @mmDCCG_AUDIO_DTO_SOURCE
	.comm	_DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT,4,2 ; @DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SOURCE_SEL__SHIFT
	.comm	_mmDCCG_AUDIO_DTO0_PHASE,4,2    ; @mmDCCG_AUDIO_DTO0_PHASE
	.comm	_mmDCCG_AUDIO_DTO0_MODULE,4,2   ; @mmDCCG_AUDIO_DTO0_MODULE
	.no_dead_strip	_dce_v8_0_audio_set_dto
.subsections_via_symbols
