	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_setup_audio_dto
_dce110_setup_audio_dto:                ## @dce110_setup_audio_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	(%r14), %rbx
	movq	_SIGNAL_TYPE_HDMI_TYPE_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	addq	$24, %rbx
	cmpq	%r13, %rax
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, (%rdx)
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.7:
	leaq	-48(%rbp), %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_build_audio_output
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	movq	(%rdi), %rbx
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rcx
	callq	*(%rbx)
	movq	(%r15), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%r13d, %r13d
LBB0_8:
	cmpl	%eax, %r13d
	jne	LBB0_18
LBB0_10:
	testl	%eax, %eax
	jle	LBB0_18
## %bb.11:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	movslq	(%rax), %rax
	addq	$24, %r12
	cmpq	%rax, %rbx
	jge	LBB0_18
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r13
	movq	(%r13,%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 16(%r13,%r12)
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rax), %rdi
	callq	_dc_is_dp_signal
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 8(%r13,%r12)
	je	LBB0_17
## %bb.16:
	leaq	(%r12,%r13), %rsi
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_build_audio_output
	movq	(%r13,%r12), %rax
	movq	8(%r13,%r12), %rdi
	movq	(%rdi), %rbx
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rcx
	callq	*(%rbx)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,8,3    ## @SIGNAL_TYPE_HDMI_TYPE_A
	.no_dead_strip	_dce110_setup_audio_dto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_setup_audio_dto
_dce110_setup_audio_dto:                ; @dce110_setup_audio_dto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, #0
	ldr	x21, [x19]
Lloh0:
	adrp	x9, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	add	x21, x21, #24
	cmp	x8, x22
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x21, #16]
	cbnz	x11, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x21, #8]
	cbz	x10, LBB0_2
; %bb.7:
	add	x23, sp, #8
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_build_audio_output
	ldp	x8, x0, [x21]
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x1, [x8]
	orr	x2, x23, #0x4
	add	x3, sp, #8
	blr	x9
	ldr	x8, [x20]
	ldr	w8, [x8]
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	cmp	w22, w8
	b.ne	LBB0_18
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.11:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19]
	ldr	x8, [x21, x22]
	cbz	x8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x9, x21, x22
	ldr	x9, [x9, #16]
	cbnz	x9, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x8]
	bl	_dc_is_dp_signal
	cbz	w0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, x22
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_12
; %bb.17:
	add	x20, sp, #8
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_build_audio_output
	ldp	x8, x0, [x21]
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x1, [x8]
	orr	x2, x20, #0x4
	add	x3, sp, #8
	blr	x9
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,8,3    ; @SIGNAL_TYPE_HDMI_TYPE_A
	.no_dead_strip	_dce110_setup_audio_dto
.subsections_via_symbols
