	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_timing_generator_enable_reset_trigger ## -- Begin function dce110_timing_generator_enable_reset_trigger
	.p2align	4, 0x90
_dce110_timing_generator_enable_reset_trigger: ## @dce110_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_DCE110TG_FROM_TG
	movl	(%r14), %ebx
	movq	_mmCRTC_V_SYNC_A_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movq	_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	%r12d, %r12d
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r12b
	setne	%r15b
	movl	(%r14), %ebx
	movq	_mmCRTC_TRIGB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CRTC_TRIGB_CNTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_set_reg_field_value
	movq	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_POLARITY_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_FREQUENCY_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_CRTC_TRIGB_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r14), %r15d
	movq	_mmCRTC_TRIGB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movl	(%r14), %ebx
	movq	_mmCRTC_FORCE_COUNT_NOW_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_CRTC_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_CRTC_FORCE_COUNT_NOW_CNTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_CRTC_FORCE_COUNT_NOW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_CRTC_FORCE_COUNT_NOW_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r14), %r14d
	movl	(%r15), %edi
	callq	_CRTC_REG
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %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	_TRIGGER_SOURCE_SELECT_LOGIC_ZERO,4,2 ## @TRIGGER_SOURCE_SELECT_LOGIC_ZERO
	.comm	_mmCRTC_V_SYNC_A_CNTL,4,2       ## @mmCRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_CNTL,4,2         ## @CRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_POL,4,2          ## @CRTC_V_SYNC_A_POL
	.comm	_mmCRTC_TRIGB_CNTL,4,2          ## @mmCRTC_TRIGB_CNTL
	.comm	_TRIGGER_SOURCE_SELECT_GSL_GROUP0,4,2 ## @TRIGGER_SOURCE_SELECT_GSL_GROUP0
	.comm	_CRTC_TRIGB_CNTL,4,2            ## @CRTC_TRIGB_CNTL
	.comm	_CRTC_TRIGB_SOURCE_SELECT,4,2   ## @CRTC_TRIGB_SOURCE_SELECT
	.comm	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO,4,2 ## @TRIGGER_POLARITY_SELECT_LOGIC_ZERO
	.comm	_CRTC_TRIGB_POLARITY_SELECT,4,2 ## @CRTC_TRIGB_POLARITY_SELECT
	.comm	_CRTC_TRIGB_RISING_EDGE_DETECT_CNTL,4,2 ## @CRTC_TRIGB_RISING_EDGE_DETECT_CNTL
	.comm	_CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL,4,2 ## @CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL
	.comm	_CRTC_TRIGB_FREQUENCY_SELECT,4,2 ## @CRTC_TRIGB_FREQUENCY_SELECT
	.comm	_CRTC_TRIGB_DELAY,4,2           ## @CRTC_TRIGB_DELAY
	.comm	_CRTC_TRIGB_CLEAR,4,2           ## @CRTC_TRIGB_CLEAR
	.comm	_mmCRTC_FORCE_COUNT_NOW_CNTL,4,2 ## @mmCRTC_FORCE_COUNT_NOW_CNTL
	.comm	_CRTC_FORCE_COUNT_NOW_CNTL,4,2  ## @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	_dce110_timing_generator_enable_reset_trigger ; -- Begin function dce110_timing_generator_enable_reset_trigger
	.p2align	2
_dce110_timing_generator_enable_reset_trigger: ; @dce110_timing_generator_enable_reset_trigger
	.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	x19, x0
	bl	_DCE110TG_FROM_TG
	ldr	w20, [x19]
Lloh0:
	adrp	x8, _mmCRTC_V_SYNC_A_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmCRTC_V_SYNC_A_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x20
	bl	_dm_read_reg
Lloh3:
	adrp	x8, _CRTC_V_SYNC_A_CNTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _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	w21, ne
	cset	w22, eq
	ldr	w20, [x19]
Lloh9:
	adrp	x23, _mmCRTC_TRIGB_CNTL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _mmCRTC_TRIGB_CNTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x20
	bl	_dm_read_reg
	mov	x20, x0
Lloh11:
	adrp	x8, _TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRIGGER_SOURCE_SELECT_GSL_GROUP0@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x24, _CRTC_TRIGB_CNTL@GOTPAGE
Lloh15:
	ldr	x24, [x24, _CRTC_TRIGB_CNTL@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh16:
	adrp	x8, _CRTC_TRIGB_SOURCE_SELECT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CRTC_TRIGB_SOURCE_SELECT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	bl	_set_reg_field_value
Lloh19:
	adrp	x8, _TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRIGGER_POLARITY_SELECT_LOGIC_ZERO@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x24]
Lloh22:
	adrp	x8, _CRTC_TRIGB_POLARITY_SELECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CRTC_TRIGB_POLARITY_SELECT@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_set_reg_field_value
	ldr	w2, [x24]
Lloh25:
	adrp	x8, _CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CRTC_TRIGB_RISING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_set_reg_field_value
	ldr	w2, [x24]
Lloh28:
	adrp	x8, _CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_set_reg_field_value
	ldr	w2, [x24]
Lloh31:
	adrp	x8, _CRTC_TRIGB_FREQUENCY_SELECT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CRTC_TRIGB_FREQUENCY_SELECT@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x24]
Lloh34:
	adrp	x8, _CRTC_TRIGB_DELAY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CRTC_TRIGB_DELAY@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x24]
Lloh37:
	adrp	x8, _CRTC_TRIGB_CLEAR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CRTC_TRIGB_CLEAR@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w21, [x19]
	ldr	w0, [x23]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_dm_write_reg
	ldr	w20, [x19]
Lloh40:
	adrp	x21, _mmCRTC_FORCE_COUNT_NOW_CNTL@GOTPAGE
Lloh41:
	ldr	x21, [x21, _mmCRTC_FORCE_COUNT_NOW_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x20
	bl	_dm_read_reg
	mov	x20, x0
Lloh42:
	adrp	x22, _CRTC_FORCE_COUNT_NOW_CNTL@GOTPAGE
Lloh43:
	ldr	x22, [x22, _CRTC_FORCE_COUNT_NOW_CNTL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh44:
	adrp	x8, _CRTC_FORCE_COUNT_NOW_MODE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CRTC_FORCE_COUNT_NOW_MODE@GOTPAGEOFF]
Lloh46:
	ldr	w3, [x8]
	mov	w1, #2
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh47:
	adrp	x8, _CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CRTC_FORCE_COUNT_NOW_TRIG_SEL@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh50:
	adrp	x8, _CRTC_FORCE_COUNT_NOW_CLEAR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CRTC_FORCE_COUNT_NOW_CLEAR@GOTPAGEOFF]
Lloh52:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w19, [x19]
	ldr	w0, [x21]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	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	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.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	_mmCRTC_V_SYNC_A_CNTL,4,2       ; @mmCRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_CNTL,4,2         ; @CRTC_V_SYNC_A_CNTL
	.comm	_CRTC_V_SYNC_A_POL,4,2          ; @CRTC_V_SYNC_A_POL
	.comm	_mmCRTC_TRIGB_CNTL,4,2          ; @mmCRTC_TRIGB_CNTL
	.comm	_TRIGGER_SOURCE_SELECT_GSL_GROUP0,4,2 ; @TRIGGER_SOURCE_SELECT_GSL_GROUP0
	.comm	_CRTC_TRIGB_CNTL,4,2            ; @CRTC_TRIGB_CNTL
	.comm	_CRTC_TRIGB_SOURCE_SELECT,4,2   ; @CRTC_TRIGB_SOURCE_SELECT
	.comm	_TRIGGER_POLARITY_SELECT_LOGIC_ZERO,4,2 ; @TRIGGER_POLARITY_SELECT_LOGIC_ZERO
	.comm	_CRTC_TRIGB_POLARITY_SELECT,4,2 ; @CRTC_TRIGB_POLARITY_SELECT
	.comm	_CRTC_TRIGB_RISING_EDGE_DETECT_CNTL,4,2 ; @CRTC_TRIGB_RISING_EDGE_DETECT_CNTL
	.comm	_CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL,4,2 ; @CRTC_TRIGB_FALLING_EDGE_DETECT_CNTL
	.comm	_CRTC_TRIGB_FREQUENCY_SELECT,4,2 ; @CRTC_TRIGB_FREQUENCY_SELECT
	.comm	_CRTC_TRIGB_DELAY,4,2           ; @CRTC_TRIGB_DELAY
	.comm	_CRTC_TRIGB_CLEAR,4,2           ; @CRTC_TRIGB_CLEAR
	.comm	_mmCRTC_FORCE_COUNT_NOW_CNTL,4,2 ; @mmCRTC_FORCE_COUNT_NOW_CNTL
	.comm	_CRTC_FORCE_COUNT_NOW_CNTL,4,2  ; @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
