	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_enable_per_frame_crtc_position_reset
_dce110_enable_per_frame_crtc_position_reset: ## @dce110_enable_per_frame_crtc_position_reset
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	%r12, %rsi
	callq	*16(%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_DC_SYNC_INFO
	cmpl	$2, -44(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_12
## %bb.5:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %rdx
	movq	(%rdi), %rax
	movq	-80(%rbp), %rsi
	callq	*8(%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_6
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_DC_SYNC_INFO
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_wait_for_reset_trigger_to_occur
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DC_SYNC_INFO
	leaq	L_.str.1(%rip), %rdi
	callq	_DC_SYNC_INFO
	jmp	LBB0_11
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	callq	_DC_SYNC_INFO
LBB0_9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_10
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GSL: enabling trigger-reset\n"

L_.str.1:                               ## @.str.1
	.asciz	"GSL: waiting for reset to occur.\n"

	.no_dead_strip	_dce110_enable_per_frame_crtc_position_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_enable_per_frame_crtc_position_reset
_dce110_enable_per_frame_crtc_position_reset: ; @dce110_enable_per_frame_crtc_position_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x20, [x0]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	cmp	w1, #0
	b.le	LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	w22, w1
	mov	x23, x22
	mov	x24, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24], #8
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	add	x1, sp, #8
	blr	x8
	subs	x23, x23, #1
	b.ne	LBB0_2
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_SYNC_INFO
	cmp	w21, #2
	b.lt	LBB0_9
; %bb.4:
	add	x23, x19, #8
	sub	x21, x22, #1
	mov	x24, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23], #8
	ldp	x0, x2, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	x1, [sp, #8]
	blr	x8
	subs	x24, x24, #1
	b.ne	LBB0_5
; %bb.6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_SYNC_INFO
	add	x23, x19, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23], #8
	ldr	x1, [x8]
	mov	x0, x20
	bl	_wait_for_reset_trigger_to_occur
	subs	x21, x21, #1
	b.ne	LBB0_7
	b	LBB0_10
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_SYNC_INFO
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_SYNC_INFO
	b	LBB0_11
LBB0_9:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_SYNC_INFO
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19], #8
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	subs	x22, x22, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GSL: enabling trigger-reset\n"

l_.str.1:                               ; @.str.1
	.asciz	"GSL: waiting for reset to occur.\n"

	.no_dead_strip	_dce110_enable_per_frame_crtc_position_reset
.subsections_via_symbols
