	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_crtc_atomic_enable
_meson_crtc_atomic_enable:              ## @meson_crtc_atomic_enable
	.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	_to_meson_crtc
	movq	(%r15), %rbx
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %r14d
	movq	(%r12), %rbx
	movq	_VPP_POSTBLEND_H_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__REG
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movl	$11, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movl	%eax, %edi
	movl	$2303, %esi                     ## imm = 0x8FF
	callq	_FIELD_PREP
	movl	%eax, %r14d
	movq	(%r12), %rbx
	movq	_VPP_PREBLEND_VD1_V_START_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__REG
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	_VPP_POSTBLEND_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r12), %rbx
	movq	_VPP_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__REG
	addq	%rax, %rbx
	movl	%r14d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_writel_bits_relaxed
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_crtc_vblank_on             ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid crtc_state\n"

	.comm	_VPP_POSTBLEND_H_SIZE,4,2       ## @VPP_POSTBLEND_H_SIZE
	.comm	_VPP_PREBLEND_VD1_V_START_END,4,2 ## @VPP_PREBLEND_VD1_V_START_END
	.comm	_VPP_POSTBLEND_ENABLE,4,2       ## @VPP_POSTBLEND_ENABLE
	.comm	_VPP_MISC,4,2                   ## @VPP_MISC
	.no_dead_strip	_meson_crtc_atomic_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_crtc_atomic_enable
_meson_crtc_atomic_enable:              ; @meson_crtc_atomic_enable
	.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	_to_meson_crtc
	ldr	x20, [x19]
	ldr	x21, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w20, [x20]
	ldr	x22, [x21]
Lloh2:
	adrp	x8, _VPP_POSTBLEND_H_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VPP_POSTBLEND_H_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	__REG
	add	x1, x0, x22
	mov	x0, x20
	bl	_writel
	mov	w0, #11
	mov	w1, #0
	bl	_GENMASK
	mov	w1, #2303
	bl	_FIELD_PREP
	mov	x20, x0
	ldr	x22, [x21]
Lloh5:
	adrp	x8, _VPP_PREBLEND_VD1_V_START_END@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VPP_PREBLEND_VD1_V_START_END@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	__REG
	add	x1, x0, x22
	mov	x0, x20
	bl	_writel
Lloh8:
	adrp	x8, _VPP_POSTBLEND_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VPP_POSTBLEND_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	ldr	x21, [x21]
Lloh11:
	adrp	x8, _VPP_MISC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VPP_MISC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	__REG
	add	x2, x0, x21
	mov	x0, x20
	mov	x1, x20
	bl	_writel_bits_relaxed
	mov	x0, x19
	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	_drm_crtc_vblank_on
LBB0_2:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	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	_DRM_ERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid crtc_state\n"

	.comm	_VPP_POSTBLEND_H_SIZE,4,2       ; @VPP_POSTBLEND_H_SIZE
	.comm	_VPP_PREBLEND_VD1_V_START_END,4,2 ; @VPP_PREBLEND_VD1_V_START_END
	.comm	_VPP_POSTBLEND_ENABLE,4,2       ; @VPP_POSTBLEND_ENABLE
	.comm	_VPP_MISC,4,2                   ; @VPP_MISC
	.no_dead_strip	_meson_crtc_atomic_enable
.subsections_via_symbols
