	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce80_timing_generator_enable_advanced_request
_dce80_timing_generator_enable_advanced_request: ## @dce80_timing_generator_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, %r12
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_DCE110TG_FROM_TG
	movq	_mmCRTC_START_LINE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %r14d
	xorl	%esi, %esi
	testl	%r13d, %r13d
	sete	%sil
	movq	_CRTC_START_LINE_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_CRTC_LEGACY_REQUESTOR_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	callq	_set_reg_field_value
	movl	4(%r12), %eax
	addl	(%r12), %eax
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	cmpl	$4, %eax
	setge	%bl
	setl	%cl
	movl	$4, %esi
	subl	%ecx, %esi
	movl	(%r13), %edx
	movq	_CRTC_ADVANCED_START_LINE_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_PREFETCH_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_PROGRESSIVE_START_LINE_EARLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_INTERLACE_START_LINE_EARLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %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_START_LINE_CONTROL,4,2  ## @mmCRTC_START_LINE_CONTROL
	.comm	_CRTC_START_LINE_CONTROL,4,2    ## @CRTC_START_LINE_CONTROL
	.comm	_CRTC_LEGACY_REQUESTOR_EN,4,2   ## @CRTC_LEGACY_REQUESTOR_EN
	.comm	_CRTC_ADVANCED_START_LINE_POSITION,4,2 ## @CRTC_ADVANCED_START_LINE_POSITION
	.comm	_CRTC_PREFETCH_EN,4,2           ## @CRTC_PREFETCH_EN
	.comm	_CRTC_PROGRESSIVE_START_LINE_EARLY,4,2 ## @CRTC_PROGRESSIVE_START_LINE_EARLY
	.comm	_CRTC_INTERLACE_START_LINE_EARLY,4,2 ## @CRTC_INTERLACE_START_LINE_EARLY
	.no_dead_strip	_dce80_timing_generator_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 dce80_timing_generator_enable_advanced_request
_dce80_timing_generator_enable_advanced_request: ; @dce80_timing_generator_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	x19, x0
	bl	_DCE110TG_FROM_TG
Lloh0:
	adrp	x8, _mmCRTC_START_LINE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmCRTC_START_LINE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CRTC_REG
	mov	x20, x0
	ldr	w0, [x19]
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
	cmp	w23, #0
	cset	w1, eq
Lloh3:
	adrp	x23, _CRTC_START_LINE_CONTROL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CRTC_START_LINE_CONTROL@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh5:
	adrp	x8, _CRTC_LEGACY_REQUESTOR_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRTC_LEGACY_REQUESTOR_EN@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_set_reg_field_value
	ldp	w8, w9, [x22]
	add	w8, w9, w8
	cmp	w8, #3
	cset	w22, gt
	cmp	w8, #4
	mov	w8, #3
	cinc	w1, w8, ge
	ldr	w2, [x23]
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
	bl	_set_reg_field_value
	ldr	w2, [x23]
Lloh11:
	adrp	x8, _CRTC_PREFETCH_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRTC_PREFETCH_EN@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_set_reg_field_value
	ldr	w2, [x23]
Lloh14:
	adrp	x8, _CRTC_PROGRESSIVE_START_LINE_EARLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CRTC_PROGRESSIVE_START_LINE_EARLY@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x23]
Lloh17:
	adrp	x8, _CRTC_INTERLACE_START_LINE_EARLY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CRTC_INTERLACE_START_LINE_EARLY@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCRTC_START_LINE_CONTROL,4,2  ; @mmCRTC_START_LINE_CONTROL
	.comm	_CRTC_START_LINE_CONTROL,4,2    ; @CRTC_START_LINE_CONTROL
	.comm	_CRTC_LEGACY_REQUESTOR_EN,4,2   ; @CRTC_LEGACY_REQUESTOR_EN
	.comm	_CRTC_ADVANCED_START_LINE_POSITION,4,2 ; @CRTC_ADVANCED_START_LINE_POSITION
	.comm	_CRTC_PREFETCH_EN,4,2           ; @CRTC_PREFETCH_EN
	.comm	_CRTC_PROGRESSIVE_START_LINE_EARLY,4,2 ; @CRTC_PROGRESSIVE_START_LINE_EARLY
	.comm	_CRTC_INTERLACE_START_LINE_EARLY,4,2 ; @CRTC_INTERLACE_START_LINE_EARLY
	.no_dead_strip	_dce80_timing_generator_enable_advanced_request
.subsections_via_symbols
