	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_enable_timing_synchronization
_dcn10_enable_timing_synchronization:   ## @dcn10_enable_timing_synchronization
	.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	%rcx, %r12
	movl	%edx, %r15d
	movq	(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_DC_SYNC_INFO
	cmpl	$2, %r15d
	jl	LBB0_5
## %bb.1:
	movl	%r15d, %r15d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movl	8(%rcx), %esi
	callq	*8(%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_DC_SYNC_INFO
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_wait_for_reset_trigger_to_occur
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_DC_SYNC_INFO
	movq	8(%r12), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_wait_for_reset_trigger_to_occur
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DC_SYNC_INFO                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting up OTG reset trigger\n"

L_.str.1:                               ## @.str.1
	.asciz	"Waiting for trigger\n"

L_.str.2:                               ## @.str.2
	.asciz	"Sync complete\n"

	.no_dead_strip	_dcn10_enable_timing_synchronization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_enable_timing_synchronization
_dcn10_enable_timing_synchronization:   ; @dcn10_enable_timing_synchronization
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_SYNC_INFO
	cmp	w21, #2
	b.lt	LBB0_5
; %bb.1:
	mov	w21, w21
	lsl	x22, x21, #3
	mov	w23, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, x23]
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w1, [x9, #8]
	blr	x8
	add	x23, x23, #8
	cmp	x22, x23
	b.ne	LBB0_2
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_SYNC_INFO
	ldr	x8, [x19, #8]!
	ldr	x1, [x8]
	mov	x0, x20
	bl	_wait_for_reset_trigger_to_occur
	sub	x20, x21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19], #8
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	subs	x20, x20, #1
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_SYNC_INFO
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_wait_for_reset_trigger_to_occur
LBB0_6:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DC_SYNC_INFO
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting up OTG reset trigger\n"

l_.str.1:                               ; @.str.1
	.asciz	"Waiting for trigger\n"

l_.str.2:                               ; @.str.2
	.asciz	"Sync complete\n"

	.no_dead_strip	_dcn10_enable_timing_synchronization
.subsections_via_symbols
