	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_timing_generator_v_enable_advanced_request
_dce110_timing_generator_v_enable_advanced_request: ## @dce110_timing_generator_v_enable_advanced_request
	.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	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_mmCRTCV_START_LINE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rdi), %edi
	movl	%r15d, %esi
	callq	_dm_read_reg
	movl	%eax, %r12d
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	4(%r13), %eax
	addl	(%r13), %eax
	xorl	%edi, %edi
	cmpl	$4, %eax
	setl	%dil
	movq	_CRTCV_START_LINE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRTC_ADVANCED_START_LINE_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %esi
	subl	%edi, %esi
	movl	%r12d, %edi
	callq	_set_reg_field_value
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_2:
	movq	_CRTCV_START_LINE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRTC_ADVANCED_START_LINE_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movl	$1, %esi
LBB0_3:
	movq	_CRTCV_START_LINE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CRTC_LEGACY_REQUESTOR_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	callq	_set_reg_field_value
	movl	(%r14), %edi
	movl	%r15d, %esi
	movl	%r12d, %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	_mmCRTCV_START_LINE_CONTROL,4,2 ## @mmCRTCV_START_LINE_CONTROL
	.comm	_CRTCV_START_LINE_CONTROL,4,2   ## @CRTCV_START_LINE_CONTROL
	.comm	_CRTC_ADVANCED_START_LINE_POSITION,4,2 ## @CRTC_ADVANCED_START_LINE_POSITION
	.comm	_CRTC_LEGACY_REQUESTOR_EN,4,2   ## @CRTC_LEGACY_REQUESTOR_EN
	.no_dead_strip	_dce110_timing_generator_v_enable_advanced_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_timing_generator_v_enable_advanced_request
_dce110_timing_generator_v_enable_advanced_request: ; @dce110_timing_generator_v_enable_advanced_request
	.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	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _mmCRTCV_START_LINE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmCRTCV_START_LINE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w0, [x0]
	mov	x1, x19
	bl	_dm_read_reg
	mov	x21, x0
Lloh3:
	adrp	x24, _CRTCV_START_LINE_CONTROL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CRTCV_START_LINE_CONTROL@GOTPAGEOFF]
	cbz	w23, LBB0_2
; %bb.1:
	ldp	w8, w9, [x22]
	add	w8, w9, w8
	ldr	w2, [x24]
Lloh5:
	adrp	x9, _CRTC_ADVANCED_START_LINE_POSITION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CRTC_ADVANCED_START_LINE_POSITION@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x9]
	cmp	w8, #4
	mov	w8, #3
	cinc	w1, w8, ge
	mov	x0, x21
	bl	_set_reg_field_value
	mov	w1, #0
	b	LBB0_3
LBB0_2:
	ldr	w2, [x24]
Lloh8:
	adrp	x8, _CRTC_ADVANCED_START_LINE_POSITION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRTC_ADVANCED_START_LINE_POSITION@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #2
	bl	_set_reg_field_value
	mov	w1, #1
LBB0_3:
	ldr	w2, [x24]
Lloh11:
	adrp	x8, _CRTC_LEGACY_REQUESTOR_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRTC_LEGACY_REQUESTOR_EN@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_set_reg_field_value
	ldr	w0, [x20]
	mov	x1, x19
	mov	x2, x21
	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	_dm_write_reg
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCRTCV_START_LINE_CONTROL,4,2 ; @mmCRTCV_START_LINE_CONTROL
	.comm	_CRTCV_START_LINE_CONTROL,4,2   ; @CRTCV_START_LINE_CONTROL
	.comm	_CRTC_ADVANCED_START_LINE_POSITION,4,2 ; @CRTC_ADVANCED_START_LINE_POSITION
	.comm	_CRTC_LEGACY_REQUESTOR_EN,4,2   ; @CRTC_LEGACY_REQUESTOR_EN
	.no_dead_strip	_dce110_timing_generator_v_enable_advanced_request
.subsections_via_symbols
