	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_timing_generator_tear_down_global_swap_lock ## -- Begin function dce110_timing_generator_tear_down_global_swap_lock
	.p2align	4, 0x90
_dce110_timing_generator_tear_down_global_swap_lock: ## @dce110_timing_generator_tear_down_global_swap_lock
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_DCE110TG_FROM_TG
	movq	_mmDCP_GSL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DCP_REG
	movq	%rax, %r14
	movq	_DCP_GSL_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_DCP_GSL0_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DCP_GSL_MASTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DCP_GSL_HSYNC_FLIP_FORCE_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DCP_GSL_HSYNC_FLIP_CHECK_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	$6, %esi
	callq	_set_reg_field_value
	movl	(%r15), %ebx
	movq	_mmCRTC_V_TOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_dm_read_reg
	movl	(%r12), %edx
	movq	_DCP_GSL_SYNC_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_DCP_GSL_DELAY_SURFACE_UPDATE_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_dm_write_reg
	movq	_mmCRTC_GSL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRTC_REG
	movq	%rax, %r14
	movq	_CRTC_GSL_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_CRTC_GSL_CHECK_LINE_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_CRTC_GSL_FORCE_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmDCP_GSL_CONTROL,4,2          ## @mmDCP_GSL_CONTROL
	.comm	_DCP_GSL_CONTROL,4,2            ## @DCP_GSL_CONTROL
	.comm	_DCP_GSL0_EN,4,2                ## @DCP_GSL0_EN
	.comm	_DCP_GSL_MASTER_EN,4,2          ## @DCP_GSL_MASTER_EN
	.comm	_DCP_GSL_HSYNC_FLIP_FORCE_DELAY,4,2 ## @DCP_GSL_HSYNC_FLIP_FORCE_DELAY
	.comm	_DCP_GSL_HSYNC_FLIP_CHECK_DELAY,4,2 ## @DCP_GSL_HSYNC_FLIP_CHECK_DELAY
	.comm	_mmCRTC_V_TOTAL,4,2             ## @mmCRTC_V_TOTAL
	.comm	_DCP_GSL_SYNC_SOURCE,4,2        ## @DCP_GSL_SYNC_SOURCE
	.comm	_DCP_GSL_DELAY_SURFACE_UPDATE_PENDING,4,2 ## @DCP_GSL_DELAY_SURFACE_UPDATE_PENDING
	.comm	_mmCRTC_GSL_CONTROL,4,2         ## @mmCRTC_GSL_CONTROL
	.comm	_CRTC_GSL_CONTROL,4,2           ## @CRTC_GSL_CONTROL
	.comm	_CRTC_GSL_CHECK_LINE_NUM,4,2    ## @CRTC_GSL_CHECK_LINE_NUM
	.comm	_CRTC_GSL_FORCE_DELAY,4,2       ## @CRTC_GSL_FORCE_DELAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_timing_generator_tear_down_global_swap_lock ; -- Begin function dce110_timing_generator_tear_down_global_swap_lock
	.p2align	2
_dce110_timing_generator_tear_down_global_swap_lock: ; @dce110_timing_generator_tear_down_global_swap_lock
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_DCE110TG_FROM_TG
Lloh0:
	adrp	x8, _mmDCP_GSL_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmDCP_GSL_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DCP_REG
	mov	x20, x0
Lloh3:
	adrp	x22, _DCP_GSL_CONTROL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DCP_GSL_CONTROL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x8, _DCP_GSL0_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DCP_GSL0_EN@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh8:
	adrp	x8, _DCP_GSL_MASTER_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DCP_GSL_MASTER_EN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh11:
	adrp	x8, _DCP_GSL_HSYNC_FLIP_FORCE_DELAY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DCP_GSL_HSYNC_FLIP_FORCE_DELAY@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #2
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh14:
	adrp	x8, _DCP_GSL_HSYNC_FLIP_CHECK_DELAY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DCP_GSL_HSYNC_FLIP_CHECK_DELAY@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #6
	bl	_set_reg_field_value
	ldr	w21, [x19]
Lloh17:
	adrp	x8, _mmCRTC_V_TOTAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mmCRTC_V_TOTAL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_CRTC_REG
	mov	x1, x0
	mov	x0, x21
	bl	_dm_read_reg
	ldr	w2, [x22]
Lloh20:
	adrp	x8, _DCP_GSL_SYNC_SOURCE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DCP_GSL_SYNC_SOURCE@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh23:
	adrp	x8, _DCP_GSL_DELAY_SURFACE_UPDATE_PENDING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCP_GSL_DELAY_SURFACE_UPDATE_PENDING@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, #0
	bl	_dm_write_reg
Lloh26:
	adrp	x8, _mmCRTC_GSL_CONTROL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _mmCRTC_GSL_CONTROL@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_CRTC_REG
	mov	x20, x0
Lloh29:
	adrp	x21, _CRTC_GSL_CONTROL@GOTPAGE
Lloh30:
	ldr	x21, [x21, _CRTC_GSL_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh31:
	adrp	x8, _CRTC_GSL_CHECK_LINE_NUM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CRTC_GSL_CHECK_LINE_NUM@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x21]
Lloh34:
	adrp	x8, _CRTC_GSL_FORCE_DELAY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CRTC_GSL_FORCE_DELAY@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #2
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dm_write_reg
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmDCP_GSL_CONTROL,4,2          ; @mmDCP_GSL_CONTROL
	.comm	_DCP_GSL_CONTROL,4,2            ; @DCP_GSL_CONTROL
	.comm	_DCP_GSL0_EN,4,2                ; @DCP_GSL0_EN
	.comm	_DCP_GSL_MASTER_EN,4,2          ; @DCP_GSL_MASTER_EN
	.comm	_DCP_GSL_HSYNC_FLIP_FORCE_DELAY,4,2 ; @DCP_GSL_HSYNC_FLIP_FORCE_DELAY
	.comm	_DCP_GSL_HSYNC_FLIP_CHECK_DELAY,4,2 ; @DCP_GSL_HSYNC_FLIP_CHECK_DELAY
	.comm	_mmCRTC_V_TOTAL,4,2             ; @mmCRTC_V_TOTAL
	.comm	_DCP_GSL_SYNC_SOURCE,4,2        ; @DCP_GSL_SYNC_SOURCE
	.comm	_DCP_GSL_DELAY_SURFACE_UPDATE_PENDING,4,2 ; @DCP_GSL_DELAY_SURFACE_UPDATE_PENDING
	.comm	_mmCRTC_GSL_CONTROL,4,2         ; @mmCRTC_GSL_CONTROL
	.comm	_CRTC_GSL_CONTROL,4,2           ; @CRTC_GSL_CONTROL
	.comm	_CRTC_GSL_CHECK_LINE_NUM,4,2    ; @CRTC_GSL_CHECK_LINE_NUM
	.comm	_CRTC_GSL_FORCE_DELAY,4,2       ; @CRTC_GSL_FORCE_DELAY
.subsections_via_symbols
