	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_pipe_control_lock          ## -- Begin function dce_pipe_control_lock
	.p2align	4, 0x90
_dce_pipe_control_lock:                 ## @dce_pipe_control_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	xorl	%ebx, %ebx
	movq	(%rdi), %r13
	testl	%edx, %edx
	setne	%r12b
	je	LBB0_3
## %bb.1:
	movq	(%r15), %rdi
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	*%rax
	testq	%rax, %rax
	jne	LBB0_8
LBB0_3:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movb	%r12b, %bl
	movq	_BLND_V_UPDATE_LOCK@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_BLND_DCP_GRPH_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLND_SCL_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BLND_BLND_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_BLND_V_UPDATE_LOCK_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-44(%rbp), %r10
	leaq	-48(%rbp), %r11
	leaq	-60(%rbp), %rdx
	leaq	-56(%rbp), %r8
	pushq	%r10
	pushq	%rax
	pushq	%r11
	callq	_REG_GET_4
	addq	$32, %rsp
	movl	%eax, %r12d
	movl	%ebx, -60(%rbp)
	movl	%ebx, -56(%rbp)
	movl	%ebx, -48(%rbp)
	movl	%ebx, -44(%rbp)
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_BLND_DCP_GRPH_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BLND_SCL_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r12d, %esi
	movl	%ebx, %ecx
	movl	%ebx, %r9d
	callq	_REG_SET_2
	movq	8(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_BLND_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_BLND_BLND_V_UPDATE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx
	movq	_BLND_V_UPDATE_LOCK_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	-44(%rbp), %r9d
	movl	%r12d, %esi
	callq	_REG_SET_2
LBB0_5:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.6:
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.7:
	movq	_CRTC_H_BLANK_START_END@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_REG_READ
	movq	(%rbx), %rcx
	movq	(%r15), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	movl	%eax, %esi
	callq	_REG_WRITE
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLND_V_UPDATE_LOCK,8,3         ## @BLND_V_UPDATE_LOCK
	.comm	_BLND_DCP_GRPH_V_UPDATE_LOCK,4,2 ## @BLND_DCP_GRPH_V_UPDATE_LOCK
	.comm	_BLND_SCL_V_UPDATE_LOCK,4,2     ## @BLND_SCL_V_UPDATE_LOCK
	.comm	_BLND_BLND_V_UPDATE_LOCK,4,2    ## @BLND_BLND_V_UPDATE_LOCK
	.comm	_BLND_V_UPDATE_LOCK_MODE,4,2    ## @BLND_V_UPDATE_LOCK_MODE
	.comm	_CRTC_H_BLANK_START_END,8,3     ## @CRTC_H_BLANK_START_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_pipe_control_lock          ; -- Begin function dce_pipe_control_lock
	.p2align	2
_dce_pipe_control_lock:                 ; @dce_pipe_control_lock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x19, x1
	cmp	w2, #0
	cset	w21, ne
	ldr	x23, [x0]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
	cbnz	x0, LBB0_8
LBB0_3:
Lloh0:
	adrp	x24, _BLND_V_UPDATE_LOCK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BLND_V_UPDATE_LOCK@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x27, _BLND_DCP_GRPH_V_UPDATE_LOCK@GOTPAGE
Lloh3:
	ldr	x27, [x27, _BLND_DCP_GRPH_V_UPDATE_LOCK@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh4:
	adrp	x28, _BLND_SCL_V_UPDATE_LOCK@GOTPAGE
Lloh5:
	ldr	x28, [x28, _BLND_SCL_V_UPDATE_LOCK@GOTPAGEOFF]
	ldr	w3, [x28]
Lloh6:
	adrp	x25, _BLND_BLND_V_UPDATE_LOCK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _BLND_BLND_V_UPDATE_LOCK@GOTPAGEOFF]
	ldr	w5, [x25]
Lloh8:
	adrp	x26, _BLND_V_UPDATE_LOCK_MODE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _BLND_V_UPDATE_LOCK_MODE@GOTPAGEOFF]
	ldr	w7, [x26]
	add	x8, sp, #16
	str	x8, [sp]
	add	x2, sp, #28
	add	x4, sp, #24
	add	x6, sp, #20
	bl	_REG_GET_4
	mov	x22, x0
	stp	w21, w21, [sp, #24]
	stp	w21, w21, [sp, #16]
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w2, [x27]
	ldr	w4, [x28]
	mov	x1, x22
	mov	x3, x21
	mov	x5, x21
	bl	_REG_SET_2
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w2, [x25]
	ldp	w5, w3, [sp, #16]
	ldr	w4, [x26]
	mov	x1, x22
	bl	_REG_SET_2
LBB0_5:
	cbnz	w20, LBB0_8
; %bb.6:
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.7:
Lloh10:
	adrp	x20, _CRTC_H_BLANK_START_END@GOTPAGE
Lloh11:
	ldr	x20, [x20, _CRTC_H_BLANK_START_END@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_REG_READ
	mov	x1, x0
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_REG_WRITE
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BLND_V_UPDATE_LOCK,8,3         ; @BLND_V_UPDATE_LOCK
	.comm	_BLND_DCP_GRPH_V_UPDATE_LOCK,4,2 ; @BLND_DCP_GRPH_V_UPDATE_LOCK
	.comm	_BLND_SCL_V_UPDATE_LOCK,4,2     ; @BLND_SCL_V_UPDATE_LOCK
	.comm	_BLND_BLND_V_UPDATE_LOCK,4,2    ; @BLND_BLND_V_UPDATE_LOCK
	.comm	_BLND_V_UPDATE_LOCK_MODE,4,2    ; @BLND_V_UPDATE_LOCK_MODE
	.comm	_CRTC_H_BLANK_START_END,8,3     ; @CRTC_H_BLANK_START_END
.subsections_via_symbols
