	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_timing_generator_set_drr ## -- Begin function dce110_timing_generator_set_drr
	.p2align	4, 0x90
_dce110_timing_generator_set_drr:       ## @dce110_timing_generator_set_drr
	.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, %rbx
	movq	%rdi, %r12
	callq	_DCE110TG_FROM_TG
	movq	_mmCRTC_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %r14d
	movq	_mmCRTC_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %r15d
	movq	_mmCRTC_V_TOTAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %r13d
	testq	%rbx, %rbx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rbx)
	jle	LBB0_4
## %bb.3:
	decl	%esi
	movq	_CRTC_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ecx, %edx
	callq	_set_reg_field_value
	movl	8(%rbx), %esi
	decl	%esi
	movq	_CRTC_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	%ecx, %edx
	callq	_set_reg_field_value
	movq	_CRTC_V_TOTAL_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_CRTC_V_TOTAL_MIN_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_V_TOTAL_MAX_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_FORCE_LOCK_ON_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movq	_CRTC_SET_V_TOTAL_MIN_MASK@GOTPCREL(%rip), %rbx
	movq	_CRTC_SET_V_TOTAL_MIN_MASK_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_CRTC_V_TOTAL_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_CRTC_SET_V_TOTAL_MIN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_V_TOTAL_MIN_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_V_TOTAL_MAX_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movq	_CRTC_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%ecx, %edx
	callq	_set_reg_field_value
	movq	_CRTC_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%ecx, %edx
	callq	_set_reg_field_value
	movq	_CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPCREL(%rip), %rbx
	movq	_CRTC_FORCE_LOCK_ON_EVENT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	%r14d, %r15d
	movq	_CRTC_V_TOTAL_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	(%rax), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r14), %edx
	movl	(%rbx), %ecx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movq	_mmCRTC_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_dm_write_reg
	movq	_mmCRTC_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_dm_write_reg
	movq	_mmCRTC_V_TOTAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	(%r12), %edi
	movl	%eax, %esi
	movl	%r13d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmCRTC_V_TOTAL_MIN,4,2         ## @mmCRTC_V_TOTAL_MIN
	.comm	_mmCRTC_V_TOTAL_MAX,4,2         ## @mmCRTC_V_TOTAL_MAX
	.comm	_mmCRTC_V_TOTAL_CONTROL,4,2     ## @mmCRTC_V_TOTAL_CONTROL
	.comm	_CRTC_V_TOTAL_MAX,4,2           ## @CRTC_V_TOTAL_MAX
	.comm	_CRTC_V_TOTAL_MIN,4,2           ## @CRTC_V_TOTAL_MIN
	.comm	_CRTC_V_TOTAL_CONTROL,4,2       ## @CRTC_V_TOTAL_CONTROL
	.comm	_CRTC_V_TOTAL_MIN_SEL,4,2       ## @CRTC_V_TOTAL_MIN_SEL
	.comm	_CRTC_V_TOTAL_MAX_SEL,4,2       ## @CRTC_V_TOTAL_MAX_SEL
	.comm	_CRTC_FORCE_LOCK_ON_EVENT,4,2   ## @CRTC_FORCE_LOCK_ON_EVENT
	.comm	_CRTC_FORCE_LOCK_TO_MASTER_VSYNC,4,2 ## @CRTC_FORCE_LOCK_TO_MASTER_VSYNC
	.comm	_CRTC_SET_V_TOTAL_MIN_MASK_EN,4,2 ## @CRTC_SET_V_TOTAL_MIN_MASK_EN
	.comm	_CRTC_SET_V_TOTAL_MIN_MASK,4,2  ## @CRTC_SET_V_TOTAL_MIN_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_timing_generator_set_drr ; -- Begin function dce110_timing_generator_set_drr
	.p2align	2
_dce110_timing_generator_set_drr:       ; @dce110_timing_generator_set_drr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x19, x0
	bl	_DCE110TG_FROM_TG
Lloh0:
	adrp	x24, _mmCRTC_V_TOTAL_MIN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _mmCRTC_V_TOTAL_MIN@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	bl	_dm_read_reg
	mov	x20, x0
Lloh2:
	adrp	x25, _mmCRTC_V_TOTAL_MAX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _mmCRTC_V_TOTAL_MAX@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	bl	_dm_read_reg
	mov	x21, x0
Lloh4:
	adrp	x26, _mmCRTC_V_TOTAL_CONTROL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _mmCRTC_V_TOTAL_CONTROL@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	bl	_dm_read_reg
	mov	x22, x0
Lloh6:
	adrp	x27, _CRTC_V_TOTAL_CONTROL@GOTPAGE
Lloh7:
	ldr	x27, [x27, _CRTC_V_TOTAL_CONTROL@GOTPAGEOFF]
	cbz	x23, LBB0_4
; %bb.1:
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	x9, [x23, #8]
	cmp	x9, #1
	b.lt	LBB0_4
; %bb.3:
	sub	w1, w8, #1
Lloh8:
	adrp	x8, _CRTC_V_TOTAL_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRTC_V_TOTAL_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x2
	bl	_set_reg_field_value
	ldr	w8, [x23, #8]
	sub	w1, w8, #1
Lloh11:
	adrp	x8, _CRTC_V_TOTAL_MIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRTC_V_TOTAL_MIN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x2
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh14:
	adrp	x8, _CRTC_V_TOTAL_MIN_SEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CRTC_V_TOTAL_MIN_SEL@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh17:
	adrp	x8, _CRTC_V_TOTAL_MAX_SEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CRTC_V_TOTAL_MAX_SEL@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh20:
	adrp	x8, _CRTC_FORCE_LOCK_ON_EVENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CRTC_FORCE_LOCK_ON_EVENT@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh23:
	adrp	x8, _CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
Lloh26:
	adrp	x23, _CRTC_SET_V_TOTAL_MIN_MASK@GOTPAGE
Lloh27:
	ldr	x23, [x23, _CRTC_SET_V_TOTAL_MIN_MASK@GOTPAGEOFF]
Lloh28:
	adrp	x8, _CRTC_SET_V_TOTAL_MIN_MASK_EN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CRTC_SET_V_TOTAL_MIN_MASK_EN@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	w2, [x27]
Lloh30:
	adrp	x8, _CRTC_SET_V_TOTAL_MIN_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CRTC_SET_V_TOTAL_MIN_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh33:
	adrp	x8, _CRTC_V_TOTAL_MIN_SEL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CRTC_V_TOTAL_MIN_SEL@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x27]
Lloh36:
	adrp	x8, _CRTC_V_TOTAL_MAX_SEL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CRTC_V_TOTAL_MAX_SEL@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
Lloh39:
	adrp	x8, _CRTC_V_TOTAL_MIN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CRTC_V_TOTAL_MIN@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x3, x2
	bl	_set_reg_field_value
Lloh42:
	adrp	x8, _CRTC_V_TOTAL_MAX@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CRTC_V_TOTAL_MAX@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x2
	bl	_set_reg_field_value
Lloh45:
	adrp	x23, _CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPAGE
Lloh46:
	ldr	x23, [x23, _CRTC_FORCE_LOCK_TO_MASTER_VSYNC@GOTPAGEOFF]
Lloh47:
	adrp	x8, _CRTC_FORCE_LOCK_ON_EVENT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CRTC_FORCE_LOCK_ON_EVENT@GOTPAGEOFF]
LBB0_5:
	ldr	w2, [x27]
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x27]
	ldr	w3, [x23]
	mov	x0, x22
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w0, [x24]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	mov	x2, x20
	bl	_dm_write_reg
	ldr	w0, [x25]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	mov	x2, x21
	bl	_dm_write_reg
	ldr	w0, [x26]
	bl	_CRTC_REG
	mov	x1, x0
	ldr	w0, [x19]
	mov	x2, x22
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dm_write_reg
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCRTC_V_TOTAL_MIN,4,2         ; @mmCRTC_V_TOTAL_MIN
	.comm	_mmCRTC_V_TOTAL_MAX,4,2         ; @mmCRTC_V_TOTAL_MAX
	.comm	_mmCRTC_V_TOTAL_CONTROL,4,2     ; @mmCRTC_V_TOTAL_CONTROL
	.comm	_CRTC_V_TOTAL_MAX,4,2           ; @CRTC_V_TOTAL_MAX
	.comm	_CRTC_V_TOTAL_MIN,4,2           ; @CRTC_V_TOTAL_MIN
	.comm	_CRTC_V_TOTAL_CONTROL,4,2       ; @CRTC_V_TOTAL_CONTROL
	.comm	_CRTC_V_TOTAL_MIN_SEL,4,2       ; @CRTC_V_TOTAL_MIN_SEL
	.comm	_CRTC_V_TOTAL_MAX_SEL,4,2       ; @CRTC_V_TOTAL_MAX_SEL
	.comm	_CRTC_FORCE_LOCK_ON_EVENT,4,2   ; @CRTC_FORCE_LOCK_ON_EVENT
	.comm	_CRTC_FORCE_LOCK_TO_MASTER_VSYNC,4,2 ; @CRTC_FORCE_LOCK_TO_MASTER_VSYNC
	.comm	_CRTC_SET_V_TOTAL_MIN_MASK_EN,4,2 ; @CRTC_SET_V_TOTAL_MIN_MASK_EN
	.comm	_CRTC_SET_V_TOTAL_MIN_MASK,4,2  ; @CRTC_SET_V_TOTAL_MIN_MASK
.subsections_via_symbols
