	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_disable_plane
_decon_disable_plane:                   ## @decon_disable_plane
	.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), %r12
	cmpq	$0, 8(%r12)
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rsi), %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_decon_shadow_protect_win
	movq	(%r12), %r15
	movl	%r14d, %edi
	callq	_WINCON
	addq	%rax, %r15
	movq	%r15, %rdi
	callq	_readl
	movq	_WINCONx_ENWIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	(%r12), %r15
	movl	%r14d, %edi
	callq	_WINCON
	addq	%rax, %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_writel
	movq	_DECON_UPDATE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	_DECON_UPDATE_STANDALONE_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%rbx), %rsi
	addq	(%r12), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINCONx_ENWIN,4,2              ## @WINCONx_ENWIN
	.comm	_DECON_UPDATE,8,3               ## @DECON_UPDATE
	.comm	_DECON_UPDATE_STANDALONE_F,4,2  ## @DECON_UPDATE_STANDALONE_F
	.no_dead_strip	_decon_disable_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_disable_plane
_decon_disable_plane:                   ; @decon_disable_plane
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	ldr	w20, [x1]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_decon_shadow_protect_win
	ldr	x21, [x19]
	mov	x0, x20
	bl	_WINCON
	add	x0, x0, x21
	bl	_readl
Lloh0:
	adrp	x8, _WINCONx_ENWIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINCONx_ENWIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w21, w0, w8
	ldr	x22, [x19]
	mov	x0, x20
	bl	_WINCON
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x20, _DECON_UPDATE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DECON_UPDATE@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _DECON_UPDATE_STANDALONE_F@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DECON_UPDATE_STANDALONE_F@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINCONx_ENWIN,4,2              ; @WINCONx_ENWIN
	.comm	_DECON_UPDATE,8,3               ; @DECON_UPDATE
	.comm	_DECON_UPDATE_STANDALONE_F,4,2  ; @DECON_UPDATE_STANDALONE_F
	.no_dead_strip	_decon_disable_plane
.subsections_via_symbols
