	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce120_timing_generator_enable_reset_trigger ## -- Begin function dce120_timing_generator_enable_reset_trigger
	.p2align	4, 0x90
_dce120_timing_generator_enable_reset_trigger: ## @dce120_timing_generator_enable_reset_trigger
	.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, %rbx
	callq	_DCE110TG_FROM_TG
	movl	(%rbx), %edi
	movq	_mmCRTC0_CRTC_V_SYNC_A_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	callq	_dm_read_reg_soc15
	movq	_CRTC0_CRTC_V_SYNC_A_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CRTC_V_SYNC_A_POL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_get_reg_field_value
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%r14b
	sete	%bl
	movq	_TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_CRTC0_CRTC_TRIGB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
	movl	%eax, %r15d
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
	movl	%eax, %r12d
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
	movl	%eax, %r13d
	movq	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FD
                                        ## kill: def $eax killed $eax def $rax
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$7, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	$1
	pushq	%rax
	pushq	$0
	pushq	%r13
	pushq	$0
	pushq	%r12
	pushq	%r14
	pushq	%r15
	pushq	%rbx
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_CRTC_REG_UPDATE_N
	addq	$80, %rsp
	movq	_CRTC0_CRTC_FORCE_COUNT_NOW_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CRTC_FORCE_COUNT_NOW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CRTC_FORCE_COUNT_NOW_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	movl	$2, %edx
	movl	$1, %r8d
	pushq	$1
	callq	_CRTC_REG_UPDATE_3
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRIGGER_SOURCE_SELECT_LOGIC_ZERO,4,2 ## @TRIGGER_SOURCE_SELECT_LOGIC_ZERO
	.comm	_mmCRTC0_CRTC_V_SYNC_A_CNTL,4,2 ## @mmCRTC0_CRTC_V_SYNC_A_CNTL
	.comm	_CRTC0_CRTC_V_SYNC_A_CNTL,4,2   ## @CRTC0_CRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_POL,4,2          ## @CRTC_V_SYNC_A_POL
	.comm	_TRIGGER_SOURCE_SELECT_GSL_GROUP0,4,2 ## @TRIGGER_SOURCE_SELECT_GSL_GROUP0
	.comm	_CRTC0_CRTC_TRIGB_CNTL,4,2      ## @CRTC0_CRTC_TRIGB_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT
	.comm	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO,4,2 ## @TRIGGER_POLARITY_SELECT_LOGIC_ZERO
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR,4,2 ## @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR
	.comm	_CRTC0_CRTC_FORCE_COUNT_NOW_CNTL,4,2 ## @CRTC0_CRTC_FORCE_COUNT_NOW_CNTL
	.comm	_CRTC_FORCE_COUNT_NOW_MODE,4,2  ## @CRTC_FORCE_COUNT_NOW_MODE
	.comm	_CRTC_FORCE_COUNT_NOW_TRIG_SEL,4,2 ## @CRTC_FORCE_COUNT_NOW_TRIG_SEL
	.comm	_CRTC_FORCE_COUNT_NOW_CLEAR,4,2 ## @CRTC_FORCE_COUNT_NOW_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce120_timing_generator_enable_reset_trigger ; -- Begin function dce120_timing_generator_enable_reset_trigger
	.p2align	2
_dce120_timing_generator_enable_reset_trigger: ; @dce120_timing_generator_enable_reset_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
	bl	_DCE110TG_FROM_TG
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _mmCRTC0_CRTC_V_SYNC_A_CNTL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _mmCRTC0_CRTC_V_SYNC_A_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	w2, [x0]
	mov	x0, x8
	bl	_dm_read_reg_soc15
Lloh3:
	adrp	x8, _CRTC0_CRTC_V_SYNC_A_CNTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRTC0_CRTC_V_SYNC_A_CNTL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CRTC_V_SYNC_A_POL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CRTC_V_SYNC_A_POL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	cmp	x0, #0
	cset	w8, eq
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	cset	w19, ne
Lloh9:
	adrp	x8, _TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_FD
	mov	x22, x0
Lloh18:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_FD
	mov	x23, x0
Lloh21:
	adrp	x8, _TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPAGEOFF]
Lloh23:
	ldr	w24, [x8]
Lloh24:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_FD
	mov	x25, x0
Lloh27:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_FD
	mov	x26, x0
Lloh30:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_FD
	mov	x27, x0
Lloh33:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_FD
	mov	x28, x0
Lloh36:
	adrp	x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_FD
	mov	w8, #1
	stp	w0, w8, [sp, #24]
	stp	w28, wzr, [sp, #16]
	stp	w27, wzr, [sp, #8]
	stp	w26, w19, [sp]
	mov	x0, x21
	mov	w1, #7
	mov	x2, x22
	mov	x3, x20
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	ldr	w7, [sp, #44]                   ; 4-byte Folded Reload
	bl	_CRTC_REG_UPDATE_N
Lloh39:
	adrp	x8, _CRTC0_CRTC_FORCE_COUNT_NOW_CNTL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CRTC0_CRTC_FORCE_COUNT_NOW_CNTL@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _CRTC_FORCE_COUNT_NOW_MODE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CRTC_FORCE_COUNT_NOW_MODE@GOTPAGEOFF]
Lloh44:
	adrp	x9, _CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPAGE
Lloh45:
	ldr	x9, [x9, _CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	ldr	w3, [x9]
Lloh48:
	adrp	x8, _CRTC_FORCE_COUNT_NOW_CLEAR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CRTC_FORCE_COUNT_NOW_CLEAR@GOTPAGEOFF]
Lloh50:
	ldr	w5, [x8]
	mov	w2, #2
	mov	w4, #1
	mov	w6, #1
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_CRTC_REG_UPDATE_3
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRIGGER_SOURCE_SELECT_LOGIC_ZERO,4,2 ; @TRIGGER_SOURCE_SELECT_LOGIC_ZERO
	.comm	_mmCRTC0_CRTC_V_SYNC_A_CNTL,4,2 ; @mmCRTC0_CRTC_V_SYNC_A_CNTL
	.comm	_CRTC0_CRTC_V_SYNC_A_CNTL,4,2   ; @CRTC0_CRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_POL,4,2          ; @CRTC_V_SYNC_A_POL
	.comm	_TRIGGER_SOURCE_SELECT_GSL_GROUP0,4,2 ; @TRIGGER_SOURCE_SELECT_GSL_GROUP0
	.comm	_CRTC0_CRTC_TRIGB_CNTL,4,2      ; @CRTC0_CRTC_TRIGB_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_SOURCE_SELECT
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_POLARITY_SELECT
	.comm	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO,4,2 ; @TRIGGER_POLARITY_SELECT_LOGIC_ZERO
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_RISING_EDGE_DETECT_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_FREQUENCY_SELECT
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_DELAY
	.comm	_CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR,4,2 ; @CRTC0_CRTC_TRIGB_CNTL__CRTC_TRIGB_CLEAR
	.comm	_CRTC0_CRTC_FORCE_COUNT_NOW_CNTL,4,2 ; @CRTC0_CRTC_FORCE_COUNT_NOW_CNTL
	.comm	_CRTC_FORCE_COUNT_NOW_MODE,4,2  ; @CRTC_FORCE_COUNT_NOW_MODE
	.comm	_CRTC_FORCE_COUNT_NOW_TRIG_SEL,4,2 ; @CRTC_FORCE_COUNT_NOW_TRIG_SEL
	.comm	_CRTC_FORCE_COUNT_NOW_CLEAR,4,2 ; @CRTC_FORCE_COUNT_NOW_CLEAR
.subsections_via_symbols
