	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zx_vou_layer_disable           ## -- Begin function zx_vou_layer_disable
	.p2align	4, 0x90
_zx_vou_layer_disable:                  ## @zx_vou_layer_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_to_zx_crtc
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_to_zx_plane
	movq	(%rax), %rax
	movq	_OSD_CTRL0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%r14), %rdi
	movl	(%rax), %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_zx_writel_mask                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSD_CTRL0,8,3                  ## @OSD_CTRL0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zx_vou_layer_disable           ; -- Begin function zx_vou_layer_disable
	.p2align	2
_zx_vou_layer_disable:                  ; @zx_vou_layer_disable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	bl	_to_zx_crtc
	ldr	x20, [x0]
	mov	x0, x19
	bl	_to_zx_plane
	ldr	x8, [x0]
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _OSD_CTRL0@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OSD_CTRL0@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x0, x10, x9
	ldr	w1, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zx_writel_mask
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OSD_CTRL0,8,3                  ; @OSD_CTRL0
.subsections_via_symbols
